.mobile-only{
display: none;
}
.cover {
position: relative;
min-height: 670px;
}
.cover .wave{
background-position: bottom;
position: absolute;
bottom:0;
right: 0;
width: 100%;
height: 8rem;
background-size:cover;
background-repeat: no-repeat;
z-index: 9;
filter:drop-shadow(0 -1.1rem 10px rgba(0, 0, 0, 0.2));
}

@media (min-width: 992px) {
.cover {
height: 87vh;
}
}



.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: 225px;
right: 25px;
background: none;
border: 1px solid var(--site3);
width: 40px;
height: 40px;
border-radius: 20px;
background-color: rgba(255,255,255,0.5);
}
.cover .toggle-slick:hover{
background-color: rgba(255,255,255,1);
}




.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;
}





/**/
.events .container{
width: 100%;
min-width:unset;
max-width:1705px;
max-width:89.35%;
}
.events h2{
font-size: 2.4rem;
margin-bottom: 3.5rem;
font-weight: 700;
}
.events .grade {
position: absolute;
height: 100%;
width: 100%;
inset: 0;
margin: auto;
background: linear-gradient(0deg, rgba(32, 29, 30, 1) 0%, rgba(255, 255, 255, 0) 70%);
transition: all 0.2s ease-in;
}    
.events .div-1 {
height: 790px;
position: relative;
}
.events .div-1 .grade{
background: linear-gradient(180deg, rgba(32, 29, 30, 1) 0%, rgba(255, 255, 255, 0) 100%);

}
.events .div-1 .info {
margin-top: unset;
padding-right: 85px;
max-width:70%;
}
.events .info {
padding: 2rem 2.4rem;
max-width: 670px;
height: min-content;
border-radius: 40px;
backdrop-filter: blur(1px);
color: #fff;
margin-top: auto;
z-index: 1;
}
.events .div-1 a{
padding: 88px;
}
.events .info h3{
width: 100%;
position: relative;
margin-bottom: 1.5rem;
font-weight: 300;
line-height: 1.1;
text-shadow:3px 3px 5px rgba(0, 0, 0, 0.82);
}

.events .info h3::after{
content: '';
position: absolute;
bottom: -1rem;
width: 100%;
right:0;
height: 2px;
border-radius: 2px;
}
.events .div-2 .info h3::after{
background-color: var(--site4);
}
.events .div-3 .info h3::after{
background-color: var(--site6);
}
.events .div-1 h3{
font-size: 2.55rem;
font-weight: 300;
line-height: 1.1;
margin-bottom: 0;
} 
.events .div-1 h3::after{
content:none;
}
.events .div-1 .wrap{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-right: 2rem;
}

.events .times{
font-size:1.5rem;
font-weight: 300;
line-height: 1;
text-shadow:3px 3px 5px rgba(0, 0, 0, 0.82);
}

.events .goto{
display: flex;
justify-content: flex-end;
position: relative;
}
.events .goto a{
position: absolute;
background-image: url(./images/ev_bg.png?v=1);
background-size: 65%;
background-repeat: no-repeat;
background-position: center;
border-radius: 40px;
height: 180px;
width: auto;
z-index: 3;
top:-167px;
left: -88px;
display: flex;
justify-content: center;
align-items: flex-end;
color: #fff;
font-weight: 300;
text-align: center;
padding-bottom: 1rem;
font-size: 1.2rem;
}
.events .goto .wrap{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 160px;
height:125px;
background-color: var(--site2);
border-radius: 20px;
}
.events .goto img{
width: 42px;
margin-bottom: 0.75rem;
}
.events .goto a:hover .wrap{
text-decoration: none;
background-color: var(--site1);
}

.events .info{
background-repeat: no-repeat;
background-position: right 40px;
background-size: 60px;
}

.events a{
    background-size: cover;
    background-position: center;
    display: flex;
    height: 100%;
    width: 100%;
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    }

@media (min-width: 992px) {

.services {
position: relative;
margin-top: -25px;
width: 100%;
background: linear-gradient(0deg, rgba(var(--creamRGB),1) 45%, rgba(255,255,255,1) 65%);
}

.events .row {
display: grid;
grid-template-columns: repeat(2, 1.275fr) 1fr;
grid-template-rows: repeat(2, 1fr);
grid-column-gap: 40px;
grid-row-gap: 40px;
}

.events .div-1 {
grid-area: 1 / 1 / 3 / 3;
}

.events .div-2  {
grid-area: 1 / 3 / 2 / 4;
z-index: 4;
}

.events .div-3  {
grid-area: 2 / 3 / 3 / 4;
z-index: 4;
}


.events a:hover{
text-decoration: none;
}
.events .div-1 a:hover .grade{
background: linear-gradient(200deg, rgba(32, 29, 30, 1) 20%, rgba(255, 255, 255, 0) 100%);
}
.events a:hover .grade{
background: linear-gradient(0deg, rgba(32, 29, 30, 1) 20%, rgba(255, 255, 255, 0) 100%);
filter: drop-shadow(2px 4px 6px #000000ca);
}
}

.services-slick {
padding: .5rem 1rem;
margin: 0 1rem;
}

.service {
text-align: center;
display: block;
margin: 1rem;
padding: 1rem;
}
.service:hover img{
transform: scale(1.05);
}
.service:hover{
text-decoration: none;
}
.service .icon img {
display: block;
margin: 0 auto;
margin-bottom: 1.5rem;
height: 100px;
transition: all 0.3s ease-in;
}

.service figcaption{
margin: auto;
line-height:1.2;
color: var(--text);
font-size: 1.2rem;
width: 100%;
max-width: 75%;
text-align: center;
}

/* Articles */

.articles {
padding: 3rem 2rem;
}
.articles h2 {
font-weight: bold;
margin-bottom: 2rem;
}
.articles article {
display: block;
height: 100%;
}
.articles .row > div {
margin-bottom: 30px;
}
.article {
display: block;
background: #fff;
color: #000;
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 h3 {
font-weight: bold;
}
.article .date {
padding-bottom: 56.25%;
position: relative;
background: rgb(206 189 111);
background: linear-gradient(45deg, rgb(246 183 77) 0%, rgb(160 183 132) 50%, rgb(121 204 200) 100%);
}
.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;
}
.read-more {
background: #fff;
display: inline-block;
padding: .25rem .75rem;
font-weight: bold;
color: inherit;
border: 1px solid #ddd;
}

/**/

.events {
background-color: var(--cream);
}

.events h2{
color: var(--site6);
}


.linkers {
padding-top:6rem;
background: linear-gradient(180deg, rgba(var(--creamRGB),1) 45%, rgba(255,255,255,1) 65%);
margin-bottom: 6rem;
}
.linkers .row{
justify-content: center;
gap:3rem;
align-items: center;
}
.linkers a:nth-child(1) img{
height: 70px;
}
.linkers a:nth-child(2) img{
height: 63px;
}
.linkers a:nth-child(3) img{
height: 50px;
}
.linkers a:hover{
transform: scale(1.1);
}
/* News * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.news {
padding: 1rem;
background: #fff;
}

.news .content {
position: relative;
}

.news .buttons {
position: absolute;
top: 1.9rem;
left: 1.9rem;
}

.news a {
color: #000;
display: block;
}

@media (min-width: 768px) {
.news a {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}

.news h2 {
background: #111;
color: #fff;
font-size: 1.2rem;
font-weight: bold;
position: absolute;
top: 0;
right: 0;
padding: .219rem .75rem;
margin: 0;
border-radius: 2rem;
z-index: 5;
}

.news h2 a {
color: inherit;
}





@media (min-width: 992px) {
.bn-news {
padding-right: 100px;
}
}

.bn-news ul li a {
font-size: 1.2rem;
line-height: 1.2rem;
padding: .36rem 0;
color: inherit;
}

.bn-news ul li a:hover {
color: #000;
}

.bn-effect-scroll .bn-news ul li {
padding: 0 1rem;
}

.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: #111;
color: #fff;
padding: 0;
margin-right: 5px;
}

.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: #111;
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%);
}
}


@media (min-width:992px) and (max-width:1600px){
.events .row{
grid-template-columns: repeat(2, 0.9fr) 1fr;
grid-column-gap: 20px;
grid-row-gap:20px;
}
.events .div-1{
height: 600px;
}
}

@media (min-width:992px) and (max-width:1500px){
.events .div-1 .info{
max-width:95%;
padding-right: 65px;
}
.events .div-1 h3{
font-size: 2.3rem;
}
.events .info{
background-size: 45px;
}
.events .goto a{
transform: scale(0.9);
top:-159px;
left: -97px;
}
.events .div-1{
height: auto;
}
}






/**/



/* 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) {
.mobile-only{
display: block;
}
.desktop{
display: none;
}
.cover {
padding: 15px;
padding-top: 125px; /* header height + padding */
min-height: 320px;
}
.cover .toggle-slick {
display: none;
}
video, #toggle-video {
display: none;
}
.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: .5rem 0;
}

.smart-nav-submit {
margin: 0 auto;
}
main{
overflow-x: clip;
}
.service{
margin: 1.5rem 0;
padding: 1rem 0;
display: flex;
position: relative;
border-bottom: 2px solid #eee;
}

.service figure{
display: flex;
gap:1rem;
}
.service figcaption{
max-width: 100%;
text-align: right;
}
.service figcaption{
font-size: 1.5rem;
color: var(--site1);
}
.service .icon img{
height: 75px;
margin-bottom: 0;
}
.events{
    position: relative;
}
.events .slick-slide a{
aspect-ratio: 3 / 2;
}
button.slick-arrow{
position: absolute;
bottom: -5rem;
top:auto;
width: 70px;
height: 70px;
border:2px solid var(--site2);
border-radius: 8px;
z-index: 50;
display: flex;
align-items: center;
justify-content: center;
}
button.slick-arrow.slick-next{
    right: 5.5rem;
    left: auto;
}
[dir='rtl'] .slick-arrow:before{
    color: var(--site2);
    font-size: 2rem;
}
[dir='rtl'] .slick-next:before{
    content: '\f060';
}
[dir='rtl'] .slick-prev:before{
    content: '\f061';
}
.events .all{
    display: flex;
    position: relative;
   margin-top: 0.5rem;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: flex-end;
}
.events .all a{
    background-color: var(--site2);
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    line-height: 1.1;
    text-align: center;
}
}

@media (max-width:600px){
.events .info{
padding: 2rem;
}
.events .times{
font-size: 1.2rem;
}
.events .info h3{
font-size: 1.3rem;
font-weight: 700;
}
.footer .symbols{
    flex-direction: column;
}
.footer .info{
    margin-left: 0;
}
}

@media (max-width:400px){
    button.slick-arrow{
        width: 50px;
    }
    .events .info{
        padding: 1rem;
    }
    button.slick-arrow.slick-next{
        right: 4rem;
    }
    .events .all a{
        font-size: 1.35rem;
    }
    .events .info h3{
        margin-bottom: 1.25rem;
    }
}
