
body {
background-color: var(--white);
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cover {
position: absolute;
  top: 140px;
  left: 0;
  width: 100%;
  min-height: 77%;
  z-index: -1;
}
main .overlay {
position: absolute;
  bottom: 0;
right: 0;
  height: 50px;
  width: 100%;
background: rgba(255, 255, 255, 0.7);
}

@media (min-width: 992px) {
main {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
  }

main .container {
  max-width: 1862px;
}

.cover {
  height: 74vh;
}
}

.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;
}
.wraplength {
width: clamp(430px, 90%, 300px);
}
.wraplength h2 {
font-family: "Rubik", arial, sans-serif;
  color: var(--white);
  font-weight: bold;
  font-size: 2rem;
  text-shadow: var(--swamp) 1px 0 1px;
  line-height: 1;
}

.search-wrapper {
margin-top: 1.05rem;
}

.search-wrapper form {
position: relative;
  display: inline-flex;
  width: 100%;
}
.search-wrapper button {
border: 0;
  background: none;
  position: absolute;
  top: 50%;
  left: 0;
  height: inherit;
  transform: translate(0, -50%);
}
.search-wrapper .icon-btn {
background-color: var(--white);
  background-repeat: no-repeat;
  border-radius: var(--border9);
  background-position: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: inherit;
  aspect-ratio: 1;
  position: absolute;
  inset: 0;
  margin: auto auto auto 9px;
}

.search-wrapper [type="text"] {
height: 60px;
  border-radius: var(--border9);
  width: 100%;
  font-size: 1.5rem;
  padding-right: 1.25rem;
  border: 1px solid rgba(49, 53, 73, 0.2);
  color: var(--swamp);
}

/**/

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 {
z-index: 1;
}
.services figcaption {
color: var(--swamp);
  font-weight: bold;
}

.link-all{
display: flex;
  justify-content: flex-end;
  z-index: 9;
}
.read-more{
font-size: 0.9rem;
  border-radius: 10px;
  padding: 0.2rem 0.35rem;
background-color: rgba(var(--greenRGB), 0.7);
  color: var(--white);
}
.read-more:hover{
color: var(--white);
  background-color: var(--lgreen);
}

.slick-arrow{
background-color: var(--lgreen);
  border-radius: 50px;
  display: flex;
  justify-content: center;
    align-items: center;
  aspect-ratio: 1;
}
/**/

@media (min-width: 992px) {
.services {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
  }

.services figcaption {
  font-size: 1.18rem;
}

.services .slick-slider {
  width: 99%;
  margin-inline: auto;
}

.service {
  margin: 0;
  padding-bottom: 0.5rem;
  width: 8rem;
  max-width: 10rem;
}
}
.service .icon {
background-color: var(--white);
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.services .slick-slide {
display: flex;
  justify-content: center;
}
.services .slick-slide .services-slick {
padding: 0.5rem 1rem;
  margin: 0 1rem;
}

.service {
text-align: center;
  display: block;
}

.service:hover {
text-decoration: none;
  /* background-color: rgba(var(--whitergb), 0.25); */
}
.slick-slide:nth-child(1) .service .icon{
border: 5px solid #188a94;
}
.slick-slide:nth-child(2) .service .icon{
border: 5px solid #d16d30;
}
.slick-slide:nth-child(3) .service .icon{
border: 5px solid #86435a;
}
.slick-slide:nth-child(4) .service .icon{
border: 5px solid #456986;
}
.slick-slide:nth-child(5) .service .icon{
border: 5px solid #37715a;
}
.slick-slide:nth-child(6) .service .icon {
border: 5px solid #188a94;
}

.slick-slide:nth-child(7) .service .icon {
border: 5px solid #d16d30;
}
.service .icon img {
display: block;
  margin: 0 auto;
  margin-bottom: 0;
  max-width: 70px;
}

.slick-slide .service:hover .icon{
border: 5px solid var(--lgreen);
}
.service:hover .icon img {
filter: hue-rotate(280deg);
}

/* Articles */
.article-item {
position: relative;
}
.articles {
padding: 0;
}
.articles h2 {
font-weight: bold;
  margin-bottom: 2rem;
}
.articles article {
display: block;
  height: 100%;
}
.articles .row > div {
margin-bottom: 30px;
}
.article {
position: relative;
  margin-top: 2.2rem;
  display: block;
  background: rgba(var(--swamprgb), 0.82);
  color: #000;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
  position: relative;
  height: 100%;
  border-radius: 9px;
}
.article:hover {
text-decoration: none;
  background: rgba(var(--swamprgb), 0.98);
}
.article img {
display: block;
  width: 100%;
}
.article .info {
padding: 1rem;
}
.article .rm {
margin-top: 0.5rem;
  color: var(--white);
  display: inline-block;
  font-size: 0.82rem;
}
.article .rm:hover {
text-decoration: underline;
}
.article h3 {
font-size: 1.1rem;
  font-weight: bold;
  color: var(--lblue);
}
.article p {
color: var(--white);
  line-height: 1.2;
}

.article .date > div {
position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);

font-size: 3rem;
  color: #fff;
  text-align: center;
  font-weight: bold;
}
.article .date > div > span:nth-child(2) {
font-size: 1.5rem;
  display: block;
}
.rmore {
background: var(--swamp);
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-weight: bold;
  color: var(--white);
  border-radius: 50px;
  font-size: 0.8rem;
  position: absolute;
  bottom: 0.7rem;
  left: 0.7rem;
}

.rmore em {
margin-right: 1px;
}

/**/



.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: 0.2rem;
  background: rgba(37, 52, 60, 0.87);
  position: absolute;
  top: 100px;
  width: 100%;
  z-index: 9;
  height: 40px;
}

.news .content {
position: relative;
}

.news .buttons {
position: absolute;
  top: 1.9rem;
  left: 1.9rem;
}

.news a {
color: var(--white);
  display: block;
}

@media (min-width: 768px) {
.news a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.news h2 {
background: var(--green);
  color: #fff;
  font-size: 1.05rem;
  font-weight: normal;
  position: absolute;
  top: 5px;
  right: 1.4rem;
  padding: 2px 10px;
  margin: 0;
  border-radius: var(--border9);
  z-index: 5;
}

.news h2 a {
color: inherit;
}
.news h2:hover{background-color: var(--lgreen);}

.news h2 a:hover {
color: #fff !important;
}

@media (min-width: 992px) {
.bn-news {
    padding-right: 100px;
    right: 7rem;
  }
}

@media (max-width: 1800px) {
.services figcaption {}
}
.bn-news ul li a {
font-size: 1rem;
  line-height: 1.2rem;
  padding: 0.36rem 0;
  color: var(--white);
}
span.fa.fa-plus-circle.bn-next {
color: var(--tealas);
}
.bn-news ul li a:hover {
color: var(--lgreen);
}

.bn-effect-scroll .bn-news ul li {
padding: 0 2.5rem 0 1.7rem;
  position: relative;
}

.bn-effect-scroll .bn-news ul li:after {
content: "//";
  margin: 0 5px;
  right: -4px;
  position: absolute;
  top: 0;
  width: 10px;
  height: inherit;
  color: #fff;
}

.news .date {
font-weight: bold;
  font-size: 0.95rem;
}

.news .date:after {
content: "";
  margin: 0 5px;
}

.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;
  background-color: var(--green);
}
.bn-direction-rtl .bn-controls {
display: flex;
  align-items: center;
  padding-right: 5px;
  border-radius: 100px;
}
.bn-controls:hover{
background-color: var(--lgreen);
}
.bn-controls button {
border: 0;
  border-radius: 50%;
  color: #fff;
  padding: 0;
  border: 2px solid var(--white);
  margin-right: 5px;
  background-color: transparent;
}
.bn-direction-rtl .bn-controls button {
border: none;
}
.bn-direction-rtl .bn-controls button {
border: none;
  /* border-right: 2px solid var(--white);
border-left: 2px solid var(--white);
  */
}
.bn-controls button.play {
height: 16px;
  width: 16px;
  display: flex;
  place-content: center;
}
.bn-direction-rtl .bn-controls button.nxt {
border: none;
}
.bn-arrow {
top: -1px;
}
.bn-pause {
height: 11px;
  left: 0;
  top: 2px;
  width: 0;
}
.bn-pause::before,
.bn-pause::after {
height: 100%;
}
.bn-pause::before {
left: 1px;
}
.bn-pause::before,
.bn-pause::after {
width: 3px !important;
}
.bn-pause::after {
left: -5px;
}
.bn-play::after {
border-width: 6px;
  margin-top: -6px;
}
.bn-pause::before,
.bn-pause::after {
background-color: var(--white);
}
.bn-play::after {
border-left-color: var(--white);
}

.bn-controls button:hover {
background-color: transparent;
  color: #fff;
  box-shadow: none;
}
.events {
position: relative;
  z-index: 9;
}
.event {
display: flex;
  padding: 0;
  margin-block: 1rem;
background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  overflow: hidden;
}


.event:first-of-type .date{
background: rgba(var(--greenRGB1), 0.8);
}
.event:first-of-type:hover .date,
.event:last-of-type:hover .date
{
background: var(--lgreen);
}

.event .date {
position: relative;
background: rgba(var(--greenRGB), 0.8);
  min-width: 6rem;
  height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.event .date > div {
font-size: 1.7rem;
  color: #fff;
  text-align: center;
  font-weight: bold;
  line-height: 0.8em;
  padding: 0.5rem;
}
.event .month {
font-size: 1.2rem;
  display: block;
  font-weight: normal;
}
.event .info{
font-weight: bold;
color: var(--darktext);
  padding: 1rem;
}
/**/

@media (min-width: 992px) {
.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
  }
}
.commune {
display: none;
}
/**/
@media (max-width: 1199px) {
.commune {
    margin-block: 2rem;
    display: flex;
    justify-content: flex-start;
  }

.commune a {
  color: var(--dgreen);
  background-color: var(--lgreen);
  border-radius: var(--border9);
  font-size: 1.65rem;
  padding: 5px 15px;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.commune span {
  font-family: "Rubik", sans-serif;
}
}
/* Fast Nav */

.fast-navigation {
padding: 1rem 0;
  border-radius: 0 0 2rem 2rem;
  color: #fff;
  width: fit-content;
  margin: 0 auto;
}

.fast-navigation:after {
clear: both;
  display: block;
  content: "";
}

@media (min-width: 992px) {
.fast-navigation > label,
  .fast-navigation > select,
  .fast-navigation > span {
    float: right;
    display: block;
  }
}

.fast-navigation label {
background: #0372ac;
  border-radius: 0 2rem 2rem 0;
  padding: 5px 10px;
  border: 0;
  margin: 0;
}

.fast-navigation select {
background: #fff;
  border: 0;
  border-radius: 0;
  padding: 5px 10px;
  border-right: 1px solid #ddd;
  border-left: 1px solid #ddd;
}

.fast-navigation button {
background: #0372ac;
  border: 0;
  border-radius: 2rem 0 0 2rem;
  padding: 5px 10px;
  color: #fff;
  font-weight: bold;
}

@media (min-width: 992px) {
.fast-navigation .smart-nav-sub > label,
  .fast-navigation .smart-nav-sub > select,
  .fast-navigation .smart-nav-sub > button {
    float: right;
    display: block;
  }
}

@media (max-width: 991px) {
main .row {
    margin-left: auto;
    margin-right: auto;
  }
main .overlay {
  bottom: 0;
  height: 245px;
  z-index: -1;
}

.search-wrapper .icon-btn {
  margin-left: 0;
}

.commune {
  justify-content: center;
}

.bn-direction-rtl .bn-controls {
  display: none;
}

.bn-news {
  left: 0 !important;
}

body {
  /* padding-bottom: 0; */
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 2;
}

main .container {
margin-top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.search-wrapper button {
  left: 5px;
}

.search-wrapper [type="text"] {
  height: 40px;
}

.search-wrapper .icon-btn {
  width: 30px;
  height: 30px;
  background-size: 80%;
}
.event .info {
  padding: 0.5rem;
  font-size: 0.9rem;
}

video,
#toggle-video {
  display: none;
}

.cover .toggle-slick {
  display: none;
}

.cover {
top: 35px;
position: inherit;
position: relative;
  min-height: auto;
  height: auto;
height: 320px;
  padding: 15px;
padding-top: 125px;
  /* header height + padding */
}

.news h2 {
  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;
}
.service {
  width: 6rem;
}

.service .icon img {
  max-width: 50px;
}

.service figcaption {
  line-height: 1;
  font-weight: bold;
  font-size: 1.15rem;
}

.article h3 {
  font-size: 0.9rem;
}

.article p {
  font-size: 0.85rem;
}

.wraplength h2 {
  font-size: 1.2rem;
}

/* .rmore {
font-size: 0.7rem;
} */
.article p {
  max-height: 34px;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}

.article p::after {
  content: "...";
  position: absolute;
  left: 5px;
  bottom: 0;
  font-size: 18px;
  bottom: 0;
  color: inherit;
  width: 10px;
}
.service .icon {
  margin-bottom: 0;
}

.services-slick > div {
  margin: auto;
  width: 48%;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.services-slick > div:nth-child(odd):not(:last-child) {
  border-left: 1px solid #7676767d;
}
}

/**/

@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 {
background-color: #fff;
  display: block;
  padding: 1rem;
  margin: 1rem 0;
}



@media (max-width: 480px) {
.article-item {
    display: none;
  }
}
@media (max-width: 375px) {
.wraplength h2 {
    font-size: 1.1rem;
  }
}

@media (max-height:720px){
.link-all {
    justify-content: flex-start;
  }
}