/* ----- [START] Styles are taken from http://www.dvara.dhamma.org/ ----- */
#middle h1 {
    text-align: left;
    font-size: 1.2em;
}

#middle {
    text-align: left;
}

.news-list-item {
    background-color: #F7F7F7;
    padding-left: 7px;
}

#languageselectormenu div {
    font-size: 11px;
}

.news-list-item p {
    margin: 0;
}

#right .frame1 {
    background-color: #f2f2f2;
    font-size: 14px;
}

#content-1 {
    background-color: #f2f2f2;
}

h3.rgaccord1-toggle {
    background-color: #eaa53c;
    font-weight: 200;
    color: #fff;
    line-height: 23px;
    margin-right: 3px;
    font-size: 15px;
}

div.rgaccord1-nest {
    margin: 0;
}

#navright {
    font-size: 13px;
}

p {
    color: #424242;
}

li {
    color: #424242;
}

#nav li a {
    color: #2e2e2e;
}

#content-1 h3 {
    font-size: 1em;
}

#right h1 {
    font-size: 1em;
}

#hintergrund {
    background-color: #f2f2f2;
    border-bottom: 5px solid #e6e6e6;
    padding: 0 10px 0 10px;
}

div.rgaccord1-content {
    width: auto;
    border-left: 0 solid #ccc;
    border-right: 0 solid #ccc;
}
/* ----- [END] Styles are taken from http://www.dvara.dhamma.org/ ----- */
/* #footer {
   display: none;
} */
.news-single-item .news-single-rightbox, .news-single-item .news-single-backlink {
    display: none;
}
/* --- [START] Announcement on home page --- */
#middle .frame-custom-21 {
  padding: 10px;
  margin: 16px 0;
  background-color: lightgreen;
  border-radius: 8px;
}
#middle .frame-custom-21:first-child {
  margin-top: 0;
}
#middle .frame-custom-21 > header > h1 {
  font-size: 16px;
  color: #333 !important;  
}
#middle .frame-custom-21 > p {
  font-size: 13px;
  color: #333 !important;  
}
#middle .frame-custom-21 > p:first-child {
  margin-top: 0;
}
#middle .frame-custom-21 > p:last-child {
  margin-bottom: 0;
}
#middle .frame-custom-21 > ol {
  padding-left: 20px;
}
#middle .frame-custom-21 li {
  font-size: 13px;
  color: #333 !important;  
  margin-bottom: 0.5em;
}
#middle .frame-custom-21 a[href] {
  color: inherit !important;  
}
/* --- [END] Announcement on home page --- */

/* Coronavirus announcement */
#middle .frame-custom-21 {
  background-color: #fd8585 !important;
}
#middle .frame-custom-21 > header > h1 {
  color: #000 !important;  
}
#middle .frame-custom-21 > p {
  color: #000 !important;  
}
#middle .frame-custom-21 li {
  color: #000 !important;  
}

/* Open day announcement */
#c83770 {
  background-color: #bdddbc;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}
#c83770 h1 {
  font-size: 1.1em;
}
#c83770 p {
  font-size: 0.9em;
  line-height: 1.4;
}
#c83770 a[href] {
  color: #25331f;
  font-weight: 600;
}
#c83770 > :first-child {
  margin-top: 0; 
}
#c83770 > :last-child {
  margin-bottom: 0; 
}

/* Hide mobile application badges in footer. Google Play image is loaded from Google and it causes issues with page loading due to blocking */
#app-badges {
  display: none !important;
}
/* Images gallery */

.ce-gallery {
  display: grid;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
}

.ce-gallery[data-ce-columns="1"] {
  grid-template-columns: 1fr;
}

.ce-gallery[data-ce-columns="2"] {
  grid-template-columns: 1fr 1fr;
}

.ce-gallery[data-ce-columns="3"] {
  grid-template-columns: 1fr 1fr 1fr;
}

.ce-gallery[data-ce-columns="4"] {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.ce-outer {
  display: contents;
}

.ce-inner {
  display: contents;
}

.ce-row {
  display: contents;
}

.ce-column {
  margin: 0;
}

.ce-gallery img {
  object-position: center;
  object-fit: cover;
}


@media screen and (max-width: 767px) {
  .ce-gallery[data-ce-columns="3"] {
    grid-template-columns: 1fr 1fr;
  }

  .ce-gallery[data-ce-columns="4"] {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 479px) {
  .ce-gallery[data-ce-columns="2"] {
    grid-template-columns: 1fr;
  }

  .ce-gallery[data-ce-columns="3"] {
    grid-template-columns: 1fr;
  }

  .ce-gallery[data-ce-columns="4"] {
    grid-template-columns: 1fr;
  }
}


