.cover {
  position: relative;
  overflow: hidden;

  background-size: cover;
  /* background-attachment: fixed; */
}

.cover:before {
  height: 150px;
  background: rgb(255, 255, 255);
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.7511379551820728) 100%
  );
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  content: "";
  display: block;
  z-index: 9;
}

@media (min-width: 1120px) {
  .cover {
    height: 100vh;
    padding-bottom: 170px;
  }
}

@media (min-width: 1120px) and (max-height: 630px) {
  .cover {
    padding-bottom: 100px;
  }
}

.cover-slick {
  width: 100%;
  height: 100%;
}

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

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

@media (min-width: 1120px) {
  .cover-content {
    position: absolute;
    bottom: 100px;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, 0);
    z-index: 99;
    text-align: center;

    width: 80%;
  }
}

@media (max-height: 630px) {
  .cover-content {
    bottom: 20px;
  }
}

/* @media (min-width: 1120px) and (max-height: 630px) {
	.cover-content {
		bottom: -50px;
	}
} */

@media (max-width: 1119px) {
  .cover-content {
    padding: 15px;
    text-align: center;
    padding-bottom: 100px;
  }

  .cover {
    padding: 150px 0;
  }

  .cover .col-lg-4 {
    flex: none;
    max-width: 100%;
  }
}

.cover-content .circle {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(0, 179, 238, 0.58);
  margin: 0 auto;
  padding: 50px;
  color: #fff;
}

.cover-content .circle p {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  margin-top: 5px;
  padding-top: 5px;
}

.cover-content .circle h2 {
  font-weight: bold;
}

.cover-content .circle a {
  color: #fff;
}

.cover-content .circle a {
  text-shadow: 1px 1px 10px #000000;
}

@media (max-width: 576px) {
  .cover-content .circle p {
    display: none;
  }

  .cover-content .circle {
    width: 320px;
    height: 320px;
    background: rgba(0, 179, 238, 0.58);
    padding: 53px;
    color: #fff;
    clip-path: ellipse(35% 17% at 50% 22%);
    margin-bottom: -173px;
  }
}

.cover-content .col-lg-4:nth-child(2) .circle {
  background: rgba(155, 192, 50, 0.66);
}

.cover-content .col-lg-4:nth-child(3) .circle {
  background: rgba(211, 169, 15, 0.58);
}

.cover-content .col-lg-4:nth-child(1) .circle {
  background: rgb(0 104 139 / 90%);
  background: rgb(103 196 205 / 95%);
}

.cover-content .col-lg-4:nth-child(2) .circle {
  background: rgb(72 98 0 / 90%);
  background: rgb(255 205 43 / 95%);
}

.cover-content .col-lg-4:nth-child(3) .circle {
  background: rgb(118 91 0 / 90%);
  background: rgb(48 73 112 / 95%);
}

.services {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  background: #fff;

  z-index: 99;
}

.service {
  text-align: center;
  display: block;
  height: 170px;
  color: #333;

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

  position: relative;

  border-bottom: 4px solid #d4a810;
  border-bottom: 4px solid #67c4cd;
}

@media (max-height: 630px) {
  .service {
    height: 100px;
  }
}

.slick-slide:nth-child(2n) .service {
  background: #f8f8f8;
}

.slick-slide:nth-child(5n + 2) .service {
  border-bottom: 4px solid #96b241;
  border-bottom: 4px solid #ffcd2b;
}

.slick-slide:nth-child(5n + 3) .service {
  border-bottom: 4px solid #09a7db;
  border-bottom: 4px solid #304970;
}

.slick-slide:nth-child(5n + 4) .service {
  border-bottom: 4px solid #09a7db;
  border-bottom: 4px solid #02b793;
}

.slick-slide:nth-child(5n + 5) .service {
  border-bottom: 4px solid #09a7db;
  border-bottom: 4px solid #ef3a4b;
}
.slick-slide:nth-child(5n + 6) .service {
  border-bottom: 4px solid #09a7db;
  border-bottom: 4px solid #f38aad;
}
.slick-slide:nth-child(5n + 7) .service {
  border-bottom: 4px solid #09a7db;
  border-bottom: 4px solid #217ec2;
}
.slick-slide:nth-child(5n + 8) .service {
  border-bottom: 4px solid #09a7db;
  border-bottom: 4px solid #f47c48;
}

/*
.slick-slide:nth-child(8) .service {
	border-bottom: 4px solid #d23232;
	border-bottom: 4px solid #217ec2;
}
*/
.service:hover {
  text-decoration: none;
}

.service figure {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
}

.service .icon {
  margin-bottom: 0.5rem;
}

.service .icon img {
  display: block;
  margin: 0 auto;
}

@media (max-height: 630px) {
  .service .icon img {
    height: 50px;
  }
}

/**/

.articles article {
  display: block;
}

.articles article:hover {
  background: rgba(255, 255, 255, 0.15);
}

.articles article a {
  display: block;
  position: relative;
  color: inherit;

  padding: 50px 30px;
  isolation: isolate;
}
.articles article a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-image: url(images/box.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  height: 100%;
  width: 100%;
  z-index: -1;
}
.box {
  border-radius: 1rem;

  width: 100%;
  height: 100%;

  margin: 1rem auto;
}

.articles article a:hover,
.articles article a:focus {
  text-decoration: none;
}

.articles article img {
  display: block;
  width: 100%;
}

.articles article .info {
  margin-block: 1rem;
  display: flex;
  flex-direction: column;
}

.articles article h3 {
  font-size: 1.3rem;
  flex: 99;
}

.events-and-articles {
  background: url(images/bg.jpg);
  padding: 5rem 0;
}

.events-and-articles h2 {
  text-align: center;
  color: #354449;
}

.events-and-articles h2 span {
  color: #00b1f0;
}
.events-and-articles h2 span {
  color: #00516e;
}

.calendar-holder h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.calendar-holder {
  /* padding-top: 1rem; */
}

.tinyCalc {
  border-spacing: 10px;
  border-collapse: separate;
  margin: 0 auto;
}

.tinyCalc th {
  text-align: center;
  width: 34px;
  height: 34px;
  background: #96b240;
  background: #16b793;
  border-radius: 50%;
  color: #fff;
}

.tinyCalc td.tinyCalcDay {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.tinyCalc td > div > a {
  display: block;
  text-align: center;
  color: #333;
}

.tinyCalc td.hasEvents > div > a {
  background: #ed384e;
  color: #fff;
  border-radius: 50%;
  height: 31px;
  padding-top: 5px;
}

.tinyCalc td .day-content {
  position: absolute;
  top: 0;
  right: 100%;
  display: none;
  background: rgba(214, 69, 69, 0.8);
  padding: 1rem;
  width: 250px;
  z-index: 999;
}

.tinyCalc td > div {
  position: relative;
}

.tinyCalc td > div:hover .day-content {
  display: block;
}

.tinyCalc td:hover .day-content a {
  color: #fff;
}

.bottom-row {
  background: #fff;
  padding: 5rem 0;
}

.bottom-row h2 {
  text-align: center;
  color: #354449;
  margin-bottom: 3rem;
}

.bottom-row h2 span {
  color: #00b1f0;
}
.bottom-row h2 span {
  color: #00516e;
}

/**/

.big-col-content {
  max-width: 800px;
  margin: 0 auto;
}

.facebook-plugin {
  background: url(images/fb-bg.png);
  width: 373px;
  height: 465px;
  margin: 0 auto;
  padding: 25px 15px;
}

.instagram-plugin {
  background: url(images/inta-bg.png);
  width: 373px;
  height: 465px;
  margin: 0 auto;
  padding: 25px 15px;
  color: #fff;
}

/**/

.pirs-2 > div {
  margin-top: 1.9rem;
}

/**/

.read-more {
  text-align: left;
}

.read-more a {
  color: #333;
}

.read-more a em {
  color: #00b1f0;
}

@media (max-width: 1419px) {
  .box {
    width: 100%;
    background-size: 100% 100%;
  }

  .pirs-2 {
    margin-bottom: 4rem;
  }

  .pirs-2 img {
    max-width: 100%;
  }

  .facebook-plugin {
    width: 100%;
    background-size: 100% 100%;
  }

  .instagram-plugin {
    width: 100%;
    background-size: 100% 100%;
  }
}

video {
  /*position: absolute;
	top: 0;
	right: 0;
	min-width: 100%;
	min-height: 100%;
	background-size: cover;
	transition: 1s opacity;
	*/

  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  /* min-height: 100%; */
  height: calc(100% - 170px);
  background-size: cover;
  transition: 1s opacity;
  object-fit: cover;
}

/*@media (max-width: 1199px) {
	video {
		display: none;
	}
}*/

.video-toggles {
  position: absolute;
  bottom: 180px;
  right: 15px;

  z-index: 99;
}

@media (min-width: 1120px) and (max-height: 630px) {
  .video-toggles {
    bottom: 115px;
  }
}
@media (max-width: 991px) {
  .articles article a {
    background-color: #fff;
    border-radius: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .articles article a::after {
    content: none;
  }
  .big-col-content {
    margin-top: 3rem;
  }
}
#toggle-video {
  background: #99ca3c;
  color: #fff;
  border: 0;
  padding: 10px 15px;
  cursor: pointer;

  width: 44px;

  margin-top: 15px;

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

  z-index: 9;

  display: block;
}

#toggle-video:hover,
#toggle-video:focus {
  background: rgba(0, 0, 0, 0.8);
}

@media (max-width: 767px) {
  #toggle-video {
    display: none;
  }
}

.credit {
  position: absolute;
  bottom: 185px;
  left: 1rem;
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, 1);

  background: rgba(0, 0, 0, 0.9);
}

@media (min-width: 1120px) and (max-height: 630px) {
  .credit {
    bottom: 115px;
  }
}

.dark-contrast .circle {
  background: #111 !important;
}

.dark-contrast .service figcaption {
  background: #111 !important;
  color: #fff !important;
}

/**/
.events {
}
.slick-events {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
/* .events h2,
.articles h2 {
  font-size: calc(2vw + 16px);
  margin-block: 3rem;
  color: var(--prime1);
  font-weight: 800;
} */

.events h2 {
  margin-bottom: 2rem;
}
.events .dates.square {
  z-index: 1;
  background-color: var(--prime1);
}
.events .read-more {
  border: none;
  border-radius: 50px;
}
.events .read-more:hover {
  text-decoration: none;
}
/** EVENTS NEW */
.event-promo {
  background-color: #fff;
}
.event-promo:hover {
  text-decoration: none;
}
.event-promo:hover .details .icon {
  background-color: var(--prime2b);
}
.event-promo:hover .read-more-btn {
  background-color: var(--prime2b);
}
.event-promo:hover .dates.square {
  background-color: var(--prime2b);
}
.event-promo {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  display: block;
  color: inherit;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.event-promo .pic {
  background-color: #f9f9f9;
  padding-bottom: 72%;
  overflow: hidden;
  position: relative;
}

.event-promo .pic img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-promo .details {
  padding: 1rem;
  color: var(--text);
  font-size: 1.15rem;
  display: flex;
  flex-direction: column;
  height: inherit;
}
.event-promo .details .name {
  font-weight: 700;
  font-size: calc(0.47vw + 16px);
  min-height: 4rem;
  line-height: 1.2;
  color: currentColor;
  position: relative;
}
.events article {
  height: 100%;
  /* width: 45%; */
}
.events article a {
}

.events .container-fluid {
  @media (max-width: 1200px) {
    max-width: 90vw;
  }
}
.events .row > div {
  @media (max-width: 1200px) {
    margin-block: 1rem;
  }
}
@media (max-width: 1200px) {
  .events .slick-prev,
  .events .slick-next {
    border-radius: 100vw;
    width: 50px;
    height: 50px;
    background-color: var(--prime4);
    transform: translateY(-50%);
    top: 50%;
  }
  .events .slick-prev::before,
  .events .slick-next::before {
    color: var(--prime1);
  }

  .events .slick-prev {
    right: -20px;
  }

  .events .slick-next {
    left: -20px;
  }
}
.event-promo .read-more-btn {
  text-align: left;
  position: relative;
  padding: 2px 10px;
  margin-right: auto;
  width: fit-content;
  border-radius: 0 1rem 1rem 0;
  background-color: var(--prime1);
  border-color: var(--prime1);
  color: #fff;
  left: -1rem;
  margin-top: auto;
}

.event-promo .details .icon {
  background-color: currentColor;
  margin-right: -1rem;
  border-radius: 1rem 0 0 1rem;
  display: inline-block;
  width: 40px;
  text-align: center;
  padding: 2px 0;
  color: #fff;
}
