:root {
  --green1: #3a6c55;
  --green2: #217950;
  --orange: #feca2c;
  --link-hover: #90cbf3;
  --darktext: #314655;
  --darkblue: #306689;
  --ocean: #5f9697;
  --blueocean: #4a859e;
  --purple: #9d7190;
  --textgreen: #2f796c;
}
.cover {
  position: relative;
  min-height: 670px;
}

@media (min-width: 992px) {
  .cover {
    height: 100vh;
    width: 100%;
    display: flex;
    position: relative;
  }
}

.andwrapper {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-evenly;
  flex:1;
  width: 100%;
}
.side-banners.side-banners-right .andwrapper .andright {
  max-width: 15rem;
    flex-basis: 48%;
    flex-grow: 1;
    margin-bottom: 5px;
    margin-inline:1px;
}
.cover .overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  background: rgb(255, 255, 255);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(0, 0, 0, 0.8) 90%
  );
  bottom: 0;
}

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

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

.cover .toggle-slick {
  position: absolute;
  top: 125px;
  right: 15px;
  background: none;
  border: 0;
}

.cover-content {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  z-index: 99;
  text-align: center;

  max-width: 600px;
  margin-top: -60px;
}

/**/

video {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  transition: 1s opacity;
  object-fit: cover;
  z-index: -1;
}

#toggle-video {
  position: absolute;
  top: 125px;
  right: 15px;
  background: none;
  border: 0;
}

/**/
.services .wrap {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  margin: auto;
}
@media (min-width: 992px) {
  .services {
    position: relative;
    bottom: 0;
    right: 0;
    width: 100%;
    margin-top: 8.5rem;
  }
}
.services h2 {
  display: flex;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  background-color: var(--blueocean);
  padding: 0.5rem 2rem;
  width: fit-content;
  margin: 0 auto;
  border-radius: 8px;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.services-slick {
  padding: 0.5rem 1rem;
  margin: 0 1rem;
}

.service {
  text-align: center;
  display: block;
  background: rgba(255, 255, 255, 0.8);
  margin: 1rem;
  padding: 1rem;
  width: 100%;
  width: 11.5rem;
  aspect-ratio: 3 / 2;
  border: 3px solid var(--blueocean);
  border-radius: 16px;
  transform: all 0.3s ease-in;
  outline: none;
}
.service:hover {
  background: rgba(255, 255, 255, 1);
  border: 3px solid var(--green2);
  outline: none;
}

.service:hover figcaption {
  color: var(--green2);
}

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

.service figcaption {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.1em;
  color: var(--textgreen);
  max-width: 83%;
  margin: auto;
}

/* Articles */

.articles {
  padding: 0 2rem;
  background-color: rgba(33, 33, 33, 0.85);
  border-radius: 20px;
  position: relative;
  max-height: 12.5rem;
  max-width: 26rem;
}
.articles h2 {
  font-weight: bold;
  margin-bottom: 2rem;
}

.articles article {
  display: block;
  height: 100%;
  background-color: transparent;
}
.articles .row > div {
  margin-bottom: 30px;
}
.article {
  display: block;
  background: transparent;
  color: #fff;
  /* box-shadow: 0 0 25px rgba(0,0,0,0.1); */
  position: relative;
  height: 100%;
}
.article img {
  display: block;
  width: 100%;
}
.article .info {
  padding: 1rem;
}
.article .info > span {
  font-weight: bold;
}
.article h3 {
  font-weight: bold;
  color: #feca2c;
  font-size: 1.5rem;
  display: block;
  max-height: 4rem;
  overflow: hidden;
}
.article .m-0 {
  max-height: 3rem;
  overflow: hidden;
}
.article .date {
  position: relative;
  background: var(--green2);
  width: 6rem;
  height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.events {
  max-width: 26rem;
}
.event article .info {
  color: #212121;
}
.event:first-of-type .date {
  background: var(--green1);
}
.event article a {
  display: block;
}
.event {
  display: flex;
  background-color: rgba(255, 255, 255, 0.75);
  margin: 1rem 0 0;
  border-radius: 18px;
  overflow: hidden;
}
.events .event:last-of-type {
  margin: 2rem 0 0;
}

.article .date > div {
  font-size: 2.7rem;
  color: #fff;
  text-align: center;
  font-weight: bold;
  line-height: 0.8em;
  padding: 0.5rem;
}
.article .month {
  font-size: 1.2rem;
  display: block;
  font-weight: normal;
}
.event article a {
  display: flex;
  padding: 0;
}
.article a:hover,
.article a:focus {
  color: var(--link-hover);
  text-decoration: none;
}
.articles .link-all {
  position: absolute;
  left: 0;
  bottom: 0;
}
.col-lg-8 .link-all a.read-more {
  color: #fff;
  border: none;
  font-size: 0.95rem;
  text-align: left;
}
.col-lg-8 .link-all a.read-more:hover {
  text-decoration: none;
  color: var(--link-hover);
}
.read-more {
  background: #fff;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-weight: bold;
  color: inherit;
  border: 1px solid #ddd;
}

/**/

.ribbon-date {
  position: absolute;
  top: 0;
  left: 15px;
  background: #fff;
  color: #000;
  padding: 0.5rem 1rem;
}
.ribbon-date span {
  display: block;
}
.ribbon-date span:nth-child(1) {
  font-weight: bold;
  font-size: 1.5rem;
}

/* News * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.news {
  padding: 1rem;
  width: 100%;
  margin-top: auto;
  border-top: 3px solid rgba(255, 255, 255, 0.25);
  z-index: 1;
}

.news .container {
  min-width: 96%;
}

.news .content {
  position: relative;
}

.news .buttons {
  position: absolute;
  top: 1.9rem;
  left: 1.9rem;
}

.news a {
  color: #000;
  display: block;
}

.news li {
  display: relative;
}
.news li:after {
  content: "//";
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5rem;
  color: var(--purple);
}
@media (min-width: 768px) {
  .news a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.news h2 {
  background: var(--purple);
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.319rem 0.85rem;
  margin: 0;
  border-radius: 0.4rem;
  z-index: 5;
}

.news h2 a {
  color: inherit;
}

@media (min-width: 992px) {
  .bn-news {
    padding-right: 100px;
    margin: 0 8rem 0 0.8rem;
  }
}

.bn-news ul li a {
  font-size: 1.2rem;
  line-height: 1.2rem;
  padding: 0.36rem 0;
  color: #fff;
}

.bn-news ul li a:hover {
  color: var(--link-hover);
}

.bn-effect-scroll .bn-news ul li {
  padding: 0 2rem;
}

.news .date {
  font-weight: bold;
}

.news .date:after {
  content: " | ";
  margin: 0 10px;
}

.news-toggle {
  width: 26px;
  height: 26px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #111;
  color: #fff;
  background: none;
  font-size: 14px;
}

.bn-controls {
  left: 0;
  right: auto;
}

.bn-controls button {
  border: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  padding: 0;
  margin-right: 5px;
  border: 2px solid #fff;
}

.bn-arrow {
  top: -1px;
}

.bn-pause::before,
.bn-pause::after {
  background-color: #fff;
}
.bn-play::after {
  border-left-color: #fff;
}

.bn-controls button:hover {
  background-color: var(--purple);
  color: #fff;
  /* box-shadow: 0 0 5px rgb(255 255 0 / 90%); */
}

/**/

@media (min-width: 992px) {
  .centered {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
  }
}

/**/

/* Fast Nav */

.fast-navigation {
  z-index: 2;
  max-height: 4.65rem;
  color: #fff;
  width: 100%;
  position: absolute;
  margin-top: 105px;
  display: flex;
  background-color: var(--darkblue);
}

.fast-navigation:after {
  clear: both;
  display: block;
  content: "";
}

.fast-navigation .title {
  padding: 1rem;
  background-color: var(--ocean);
  color: #fff;
  width: 100%;
  max-width: 20rem;
  font-size: 1.75rem;
  font-weight: 600;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
.fast-navigation .title a {
  color: #fff;
}
.fast-navigation .fast-form {
  display: flex;
  padding: 1rem 0;
  margin: 0 auto;
  width: 100%;
  max-width: 65%;
}

.fast-navigation .smart-nav-sub-select {
  max-width: 18rem;
  margin-left: 1rem;
}

.fast-navigation .smart-nav-sub {
  flex: 1;
}

.fast-navigation label {
  background: var(--darktext);
  border-radius: 2rem;
  padding: 0 10px;
  border: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 1.25rem;
  font-weight: bold;
}
.fast-navigation label:first-of-type {
  max-width: 10rem;
  margin-left: 1rem;
}
.fast-navigation select {
  background: #fff;
  border: none;
  border-radius: 2rem;
  padding: 5px 10px;
  font-size: 1.2rem;
  width: 100%;
}

.fast-navigation select#smart_nav_select {
  max-width: 18rem;
  margin-left: 1rem;
}

.fast-navigation .smart-nav-submit {
  background: var(--darktext);
  border: 0;
  border-radius: 2rem;
  padding: 5px 10px;
  color: #fff;
  font-weight: bold;
  width: 6rem;
  font-weight: bold;
}

@media (min-width: 992px) {
  .fast-navigation > label,
  .fast-navigation > select,
  .fast-navigation > span {
    float: right;
    display: block;
  }
  .fast-navigation .smart-nav-sub > label,
  .fast-navigation .smart-nav-sub > select,
  .fast-navigation .smart-nav-sub > button {
    float: right;
    display: block;
  }
}

/**/

@media (min-width: 992px) {
  .side-banners {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
  }
  .side-banners.side-banners-right {
    right: 0;
  }
  .side-banners.side-banners-left {
    left: 0;
  }
}

.side-banners a {
  display: block;
  padding: 1rem;
  margin: 0.4rem;
}

.side-banners a.service {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.side-banners.side-banners-right a {
  margin: 0;
  background-color: transparent;
}

.side-banners.col-lg-8 {
  display: flex;
  margin-top: 4rem;
}

.andright {
  background-position: top;
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  max-width: 22rem;
  aspect-ratio: 1;
}

.colr {
  margin-left: 2rem;
}

@media (max-width: 1350px) {
  .header nav > ul > li > span > a {
    font-size: 1.05em;
  }
  .service {
    max-width: 10.5rem;
  }
}

@media (min-width: 1200px) {
  .services .wrap {
    max-width: 25rem;
  }
}

@media (max-width: 1199px) {
  .cover {
    flex-direction: column;
    height: auto;
    min-height: 100%;
  }
  .side-banners {
    position: relative;
    top: auto;
    transform: none;
  }
  .col-lg-8,
  .col-lg-4 {
    flex: 0 0 99.666667%;
    max-width: 99.666667%;
  }
  .fast-navigation label:first-of-type {
    max-width: 8rem;
    font-size: 1.15rem;
  }
  .fast-navigation select#smart_nav_select {
    max-width: 16rem;
  }
  .services {
    margin-top: 1rem;
  }
  .services .wrap {
    justify-content: center;
  }
  .side-banners.col-lg-8 {
    margin-top: 14rem;
    justify-content: center;
  }
  .fast-navigation .title {
    max-width: 14rem;
    font-size: 1.15rem;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
  }
  .fast-navigation .fast-form {
    max-width: 75%;
  }
}

@media (max-width: 991px) {
  .side-banners.side-banners-right .andwrapper .andright {
    flex-basis: 51%;
  }
  .news h2 {
    display: none;
  }
  .cover {
    padding-top: 90px; /* header height + padding */
  }
  .cover .toggle-slick {
    display: none;
  }
  video,
  #toggle-video {
    display: none;
  }
  .centered {
    text-align: center;
  }
  .centered-banner img {
    max-width: 100%;
  }
  .fast-navigation > label,
  .fast-navigation > select,
  .fast-navigation > span {
    display: block;
    border-radius: 2rem;
    width: 100%;
  }

  .fast-navigation .smart-nav-sub > label,
  .fast-navigation .smart-nav-sub > select,
  .fast-navigation .smart-nav-sub > button {
    display: block;
    border-radius: 2rem;
  }

  .fast-navigation .smart-nav-sub > select {
    width: 100%;
    margin: 0.5rem 0;
  }

  .smart-nav-submit {
    margin: 0 auto;
  }
  .fast-navigation {
    flex-direction: column;
    margin-top: 0;
    max-height: none;
  }
  .fast-navigation .title {
    display: none;
    /* padding:0.1rem;
		max-width: 100%;
		border-radius:0;
		display: flex;
		justify-content: center;
		align-items: center; */
  }
  .fast-navigation .fast-form {
    flex-direction: column;
    align-items: center;
    max-width: 90%;
    padding: 0.2rem 0;
  }
  .fast-navigation label:first-of-type {
    padding: 0.15rem;
    font-size: 1rem;
    margin-bottom: 0;
    background-color: transparent;
  }
  .fast-navigation .smart-nav-submit {
    width: 8rem;
    margin: 0.5rem;
  }
  .smart-nav-sub-select option {
  }
  .side-banners.col-lg-8 {
    margin-top: 5rem;
    flex-direction: column;
    align-items: center;
  }
  .colr {
    margin: auto;
    display: flex;
    flex-direction: column;
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .cover .overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 15%,
      rgba(0, 0, 0, 0.7959558823529411) 100%
    );
  }
  .articles {
    max-height: 17.5rem;
  }
  .article h3 {
    max-height: 5.8rem;
  }
  ul.slick-dots {
    justify-content: flex-start;
    margin-right: -2rem;
  }
  .article .info {
    padding: 0 0 1rem 0;
  }
  .article h3 {
    font-size: 1.2rem;
  }
  .article .m-0 {
    display: none;
  }
  .article .side-banners a {
    padding: 1rem 0.4rem;
  }
  .event .info {
    padding: 1rem 0.5rem;
  }
  .article .date {
    width: 5rem;
  }
  .article .date > div {
    font-size: 2rem;
  }
  .service {
    width: 6.3rem;
  }
  .side-banners a.service {
    padding: 0.5rem 0.1rem;
    margin: 0.3rem;
  }
  .service .icon img {
    max-width: 3rem;
  }
  .service figcaption {
    font-size: 0.9rem;
  }
}

@media only screen and (max-height: 860px) and (min-width: 991px) {
  .services .wrap {
    max-width: 36rem;
  }
  .service {
    width: 7rem;
    aspect-ratio: 1;
  }
  .service .icon img {
    max-width: 4rem;
  }
  .side-banners a.service {
    padding: 0.6rem;
  }
  .service figcaption {
    font-size: 1rem;
    max-width: 99%;
  }
  .side-banners a {
    margin: 0.3rem;
  }
        .side-banners.side-banners-right .andwrapper .andright {
    max-width: 13rem;
    margin:1px;
  }
}




.events a.read-more {
    font-size: 1.2rem !important;
    float: left !important;
    border: 1px solid #fff !important;
    padding: 10px !important;
    border-radius: 20px !important;
	margin-top: 15px !important;
}



.service figcaption {
    max-width: 100%;
}

.service .icon img {
    height: 50px;
}