.cover {
  position: relative;
  overflow: hidden;
}
.cls-2 {
  fill: #00b15c !important;
}
.cls-3 {
  fill: #144f2e !important;
}
@media (min-width: 992px) {
  .cover:before {
    content: "";
    display: block;
    padding-bottom: 30%;
  }

  .cover-slick {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 991px) {
  .cover-slick {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
}

@media (min-width: 992px) {
  .cover {
    height: 100vh;
  }
}

@media (max-width: 991px) {
  .cover {
    padding-top: 150px;
    padding-bottom: 800px;
  }
}

.cover-slick div {
  height: 100%;
  background-size: cover;
  background-position: center;
}

@media (min-width: 992px) {
  .cover-content {
    position: absolute;
    top: 100px;
    right: 0;
    width: 65%;
    padding: 5rem;
  }
}

/**/

.services section {
  position: relative;
  margin: 30px 15px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
  background: #333;
}

@media (max-width: 991px) {
  .services section {
    margin: 0 -15px;
  }
}

@media (min-width: 992px) {
  .services section:before {
    display: block;
    content: "";
    padding-bottom: 100%;
  }

  .services section > div {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding-top: 76px;
  }
}

@media (max-width: 991px) {
  .services section > div {
    padding-top: 76px;
  }
}

.services section h2 {
  background: rgba(0, 0, 0, 0.1);
  padding: 1rem;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 99;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.4rem;
  font-weight: bold;
}

.services section h2 button {
  background: none;
  border: 0;
  color: inherit;
}

.services section a {
  color: inherit;
}

.services section a:hover {
  color: inherit;
  text-decoration: none;
}

/* News */

.news {
  background: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
  position: relative;
  padding-left: 0;
  border-radius: 9px;
}

.news-toggle {
  position: absolute;
  top: 2.5rem;
  left: 3.5rem;
  background: rgba(255, 255, 255, 0.5);
  padding: 0.75rem 1rem;
  border-radius: 50%;
  font-size: 1rem;
  border: 0;
}

.news h2 {
  padding-inline: 2rem;
  font-size: 2rem;
  position: relative;
  display: flex;
  align-items: center;
}

.news h2 span {
  color: #000;
}

.news h3 {
  font-weight: bold;
}

.news button {
  position: absolute;
  top: -2px;
  left: 2rem;
  background: none;
  color: #111;
  border: 0;
}

.news-marquee {
  height: 368px;
  overflow: hidden;
  background: rgba(235, 230, 226, 0.9);
  padding: 1rem;
  border-right: 6px solid #095030;
}

.news-marquee a {
  display: block;
  color: #000;
  padding: 1rem;
}

.news-marquee p {
  margin: 0;
}

.news .read-more {
  display: inline-block;
  padding: 0 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  margin-top: 1rem;
}

/* Service */

.service-body {
  padding: 0.75rem 0.5rem;
  font-size: 1.2rem;
}

.service-body ul {
  list-style: none;
  padding: 0 0.75rem;
  margin: 0;

  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.service-body ul.opened {
  height: auto;
}

.service-body ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.service-body ul a {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-body .modal a {
  font-size: 1.2rem;
}

.service-body .close {
  float: left;
  margin: -15px;
}

.service-body ul a:before {
  font-family: "FontAwesome";
  content: "\f104";
  margin-left: 0.3rem;
}

.service-body a.more {
  margin: 0 0.75rem;
}

.service-body a.more:before {
  font-family: "FontAwesome";
  content: "\f104";
}

.service .modal {
  color: #000;
}

/**/

.galleries {
  background: #333;
  color: #fff;
  padding: 3rem 1rem;
}

.galleries h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.galleries a {
  color: #fff;
}

.gallery-slick > div {
  float: right;
  width: 20%;
}

.gallery-slick > div:nth-child(1) {
  float: right;
  width: 40%;
}

.gallery-slick figure {
  position: relative;
  overflow: hidden;
  margin: 0.5rem;
}

.gallery-slick figure:before {
  padding-bottom: 75%;
  display: block;
  content: "";
}

.gallery-slick figcaption {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);

  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.gallery-slick a:hover figcaption {
  background: rgba(0, 0, 0, 0.5);
}

.gallery-slick figcaption span {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%) scale(1.2);
  font-size: 3rem;
  opacity: 0;

  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.gallery-slick a:hover figcaption span {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.gallery-slick img {
  width: 100%;
  position: absolute;
  top: 0;
  right: 0;

  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.gallery-slick a:hover img {
  transform: scale(1.2);
}

/**/

.cube-section {
  position: relative;
  margin: 0 -15px;
}

@media (min-width: 992px) {
  .cube-section:before {
    display: block;
    content: "";
    padding-bottom: 75%;
  }

  .cube-section .section-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }
}

/**/

.birthdays {
  background: rgba(235, 230, 226, 0.9);
  position: relative;
  padding: 0.9rem;
  font-size: 1.2rem;
  cursor: pointer;
}

.birthdays:before {
  width: 86px;
  height: 101px;
  background: url(images/balloons.png);
  position: absolute;
  top: -16px;
  right: -15px;
  content: "";
}

.birthdays h2 {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.7rem;
  color: #55462b;
  padding: 0.75rem;
  font-weight: bold;
  background: #dedbd6;
}

.birthdays-marquee {
  overflow: hidden;
  text-align: center;
}

.birthdays-toggle {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgb(107, 93, 70);
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 50%;
  font-size: 0.75rem;
  border: 0;
}

/**/
.articles {
  right: 77px;
  width: 100%;
  z-index: 999;
  background: #e7e0db00;
  margin-top: 2rem;
}

@media (min-width: 991px) {
  .articles {
    right: 77px;
    width: 63%;
    z-index: 999;
    background: #e7e0db00;
    margin-top: 2rem;
  }
}

/**/

.polls {
  background: url(images/polls.jpg);
  background-size: cover;
}

.polls .section-content {
  padding: 30px 20%;
  text-align: center;
}

.polls .questions {
  text-align: right;
}

.polls h2 {
  margin-bottom: 2rem;
}

/* Events */

.events {
  position: relative;
}

.to-all-events {
  position: absolute;
  top: 5px;
  left: 0;
}

.events a {
  color: inherit;
}

.events h2 {
  font-size: 1.5rem;
  position: relative;
  margin: 0 0 1rem 0;
}

.events h2 span {
  background: rgb(0 177 92);
  color: #000;
}

.event {
  display: block;
  background: rgba(235, 230, 226, 0.9);
  border-right: 6px solid rgba(226, 229, 39, 0.5);
  padding: 1rem;
  position: relative;
  margin-bottom: 1.5rem;
  padding-right: 4rem;
}

.event .date {
  position: absolute;
  top: 10px;
  right: -15px;
  background: #00b15c;
  padding: 1rem;
  color: #000;
  text-align: center;
}

.event .date > div:nth-child(1) {
  font-size: 2rem;
  line-height: 2rem;
}

.event .date > div:nth-child(2) {
  font-size: 1rem;
  line-height: 1rem;
}

/**/

.gallery {
  position: absolute;
  bottom: 0;
  left: 0;
}

.gallery svg {
  display: block;
}

.to-all-galleries {
  position: absolute;
  bottom: 30px;
  left: -1.5rem;
  background: #111;
  color: #fff;
  border-radius: 2rem;
  padding: 0.5rem 1rem;
  padding-left: 3rem;
}

.to-all-galleries:hover {
  background: #8cc43f;
  color: #000;
  text-decoration: none;
}

/**/

.about {
  background: rgba(255, 255, 255, 0.5);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  position: absolute;
  bottom: 380px;
  left: 40px;
  text-align: center;
  overflow: hidden;
}

.about img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.about h2 {
  font-size: 1.2rem;
  font-weight: bold;
}

.about h2 span {
  display: inline-block;
  background: #6e5434;
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
}

a.down {
  position: absolute;
  right: 50%;
  bottom: 20px;
  font-size: 3rem;
  color: #fff;
}

/* articles slick*/

.articles-slick button {
  color: #000 !important;
}

.article-section {
  border-top: 2px solid #fff;
  padding-top: 1rem;
  margin-top: 1rem;
  padding: 1.5rem;
}

.article-section figure {
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}
.article-section figure figcaption {
  padding: 1rem;
  min-height: 92px;
}

.about2 {
  background: rgba(255, 255, 255, 0.6);
  width: 100%;
  max-width: 400px;
  height: 320px;
  border-radius: 9px;
  position: absolute;
  bottom: 460px;
  left: 40px;
  text-align: center;
  overflow: hidden;
}
.about2 h2 {
  text-align: right;
  padding-right: 2rem;
}
.bdays {
  position: relative;
  z-index: 1;
  background: white;
  width: 440px;
  height: 500px;
  border-radius: 1rem;
  position: absolute;
  bottom: initial;
  left: 40px;
  text-align: right;
  overflow: hidden;
}

.bdays {
  margin-bottom: 2rem;
  position: relative;
  padding-right: 2.5rem;
}

.bdays-toggle {
  position: absolute;
  top: 5px;
  left: 3.5rem;
  background: transparent;
  padding: 0.5rem 0.8rem;
  border-radius: 50%;
  font-size: 1rem;
  border: 0;
}

.bdays h2 {
  font-size: 1.5rem;
  position: relative;
  margin: 0 0 1rem 0;
}

.bdays h2 span {
  background: rgba(0, 126, 61, 0.8);
  color: #fff;
}

.bdays h3 {
  font-weight: bold;
}

.bdays button {
  position: absolute;
  top: -2px;
  left: 2rem;
  background: none;
  color: #2c2c2c;
  border: 0;
  padding: 0.2rem;
}

.bdays-marquee {
  height: 368px;
  overflow: hidden;
  background: rgba(235, 230, 226, 0.9);
  padding: 1rem 2.5rem;
  border-right: 6px solid #007e3d;
}

.bdays-marquee a {
  display: block;
  color: #000;
  padding: 1rem;
}
.btn-primary {
  color: #fff;
  background-color: #144f2e;
  border-color: #144f2e;
}
.bdays-marquee p {
  margin: 0;
}

.bdays .read-more {
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem 1.5rem;
  background: #144f2e;
  color: #fff;
  margin-top: -6.25rem;
  position: relative;
  z-index: 1;
}
.bdays .read-more a {
  color: #fff;
  font-weight: bold;
}
.bdays .bday-emp {
  padding-block: 1rem;
}

.bdays .bday-emp.today {
  background-color: #cbe14a;
  font-size: 1.3rem;
}

@media (max-width: 991px) {
  .bdays .read-more {
    justify-content: center;
  }
}
@media (max-width: 450px) {
  .header .logo-text {
    font-size: 1.2rem;
  }
  .header .logo-text > span {
    width: min-content;
    line-height: 1.1;
  }
}
