@import url(https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/css/materialize.min.css);
@import url(https://cdn.jsdelivr.net/npm/@splidejs/splide@4.1.4/dist/css/splide.min.css);

:root {
    --clr-primary: #2e7d32;
    --clr-primary-hover: #3dac42;
    --clr-secondary: rgb(50, 50, 50);
}

body{    overflow-x: hidden; }

a.btn-custom{
    background-color: var(--clr-primary);
    border: 2px solid var(--clr-primary);
    border-radius: 30px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    padding: 10px 20px;
    text-transform: capitalize;
    transition: background-color .2s, color .2s;
}

a.btn-custom-alt, a.btn-custom-alt:hover{
    background-color: white;
    border: 2px solid white;
    border-radius: 30px;
    color: var(--clr-primary);
}

a.btn-custom:hover{
    background-color: white;
    color: var(--clr-primary);
}

a.btn-header{
    position: fixed;
    top: 10px;
    right: 15px;
}

body{    overflow-x: hidden; }

footer{
    background-color: rgb(245, 245, 245);
    background-image: url(../img/back/patterns-02.png);
    background-repeat: repeat;
    background-position: center;
    background-size: 300px 300px;
}

header{
    background-color: transparent;
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

img.footer-logo{
    height: 150px;
    width: auto;
}

input, textarea{
    background-color: transparent;
    border: none;
    border-radius: 3px;
    margin: 5px 0 0 0;
    outline: 1px solid #9e9e9e;
    padding: 15px 10px;
    transition: box-shadow .2s, outline .2s;
    width: 100%;
}

input:focus, textarea:focus{
    /*box-shadow: 2px 2px 4px rgba(0, 0, 0, .4);*/
    box-shadow: 6px 6px 0 var(--clr-primary);
    outline: 1px solid var(--clr-primary);
}

input:hover, textarea:hover{    outline: 1px solid var(--clr-primary); }

input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
}

label.req::before{
    content: "*";
    color: red;
    left: -8px;
    position: absolute;
}

textarea{
    min-height: 100px;
    resize: vertical;
}

p.social{
    display: flex;
    justify-content: center;
}

p.social a{
    align-items: center;
    clip-path: circle(40% at 50% 50%);
    color: white;
    display: flex;
    height: 50px;
    justify-content: center;
    margin: 5px;
    width: 50px;
    transition: background-color 0.2s, color 0.2s;
}

p.social a:hover{    text-decoration: none; }

p.social a::before{
    font-family: "Font Awesome 5 Brands";
    font-size: 20px;
    font-weight: 400;
}

p.social a.facebook{    background-color: #3b5998; }
p.social a.facebook::before{    content: '\f082'; }
p.social a.facebook:focus, p.social a.facebook:hover{    background-color: transparent; color: #3b5998 !important; }

p.social a.twitter{    background-color: #38A1F3; }
p.social a.twitter::before{    content: '\f081'; }
p.social a.twitter:focus, p.social a.twitter:hover{    background-color: transparent; color: #38A1F3 !important; }

p.social a.instagram{    background-color: #C13584; }
p.social a.instagram::before{    content: '\f16d'; }
p.social a.instagram:focus, p.social a.instagram:hover{    background-color: transparent; color: #C13584 !important; }

/*section{    border: 1px dashed tomato; }*/

ul.nav{    height: 90vh; }

ul.nav a{
    text-align: center;
    text-transform: uppercase;
    transition: color .2s, font-weight .2s;
}

ul.nav li > a:hover{
    background-color: transparent;
    color: var(--clr-primary-hover);
    font-weight: bold;
}

/* #modal-work-content{} */

#modal-work-content .modal-content{    padding: 0; }

#modal-work-content .modal-content > div{    padding: 24px; }

#modal-work-content .modal-content > div:first-of-type{
    background-attachment: fixed;
    background-color: rgb(245, 245, 245);
    background-image: url(../img/back/patterns-08.png);
    background-size: 400px 400px;
    height: 250px;
    padding-bottom: 12px;
    position: relative;
}

#modal-work-content h4{
    color: white;
    text-shadow: 0 0 2px black;
    /* text-shadow: 1px 1px 3px var(--clr-primary); */
}

#modal-work-content h6.event-date{
    background-color: var(--clr-primary);
    color: white;
    display: inline-block;
    margin: 0;
    padding: 10px 15px;
    position: absolute;
    top: 24px;
    right: 0;
}

#modal-work-content .gallery, #modal-work-content .sponsors{
    
}

#modal-work-content .gallery > li{
    background-position: center;
    background-size: 100% auto;
    flex-basis: 200px;
    height: 120px;
}

#modal-work-content .sponsors > li{
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    flex-basis: 150px;
    height: 80px;
}

#preloader{
    align-items: center;
    background: rgba(0, 0, 0, .5);
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999999999999999999999999999999999999999;
}

#sec-footer{
    margin-bottom: 0;
    margin-top: 0;
}

#sec-footer div{
    flex-basis: 250px;
    flex-grow: 1;
    flex-shrink: 0;
    padding: 15px 30px;
}

#sec-footer div:first-of-type{
    flex-basis: 350px;
    flex-grow: 0;
    flex-shrink: 0;
}

@media only screen and (max-width: 1141px){
    #sec-footer div:first-of-type{    flex-basis: 100%; }
}

/* @media only screen and (max-width: 950px) {
    #sec-footer div:first-of-type{    flex-basis: 100%; }
} */

#sec-header-about{
    background-color: rgb(245, 245, 245);
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url(../img/back_patterns/Patterns-09.png);
    background-repeat: repeat;
    background-position: center;
    background-size: 300px 300px;
}

#sec-header-calendar{
    background-image: url(../img/header-calendar.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1990px auto;
}

#sec-header-home{
    background-color: green;
    overflow: hidden;
    position: relative;
}

#sec-work, #sec-timeline{
    background-attachment: fixed;
    background-color: rgb(245, 245, 245);
    background-image: url(../img/back/patterns-08.png);
    background-size: 400px 400px;
    position: relative;
}

#sec-work > div{    position: relative; }

#sec-work > i{
    /* border: 1px dashed aqua; */
    height: 30px;
    position: absolute;
    top: 50%;
}

#sec-work > i:first-of-type{    left: 15px; }
#sec-work > i:last-of-type{    right: 15px; }

#sec-work .slide-container > div:last-of-type{    background-color: white; }

#sec-work .slide-container section{
    bottom: 0;
    display: inline;
    height: 10px;
    left: 0;
    position: absolute;
    width: 100%;
}

#sec-work .slide-container section > div{
    background-color: var(--clr-primary);
    height: 10px;
    /* transition: width 4s ; */
    width: 0%;
}

#sec-work .slide-container section > div.counting{
    animation-duration: 12s;
    animation-iteration-count: infinite;
    animation-name: slide-counter;
}

@keyframes slide-counter {
    from {    width: 0%; } 
    to {    width: 100%; }
}

.btn{
    background-color: var(--clr-primary);
    font-weight: bold;
}

.btn:hover{
    background-color: white;
    color: var(--clr-primary-hover);
}

.btn-floating:hover {
    background-color: var(--clr-primary-hover);
}

.clr-background-primary{    background-color: var(--clr-primary); }
.clr-background-primary-hover{    background-color: var(--clr-primary-hover); }

.clr-primary{    color: var(--clr-primary); }
.clr-primary-hover{    color: var(--clr-primary-hover); }

.cursor-pointer{    cursor: pointer; }

.flex{    display: flex; }

.flex.a-baseline{    align-items: baseline; }
.flex.a-center{    align-items: center; }
.flex.a-flex-end{    align-items: flex-end; }
.flex.a-flex-start{    align-items: flex-start; }
.flex.a-stretch{    align-items: stretch; }

.flex.d-col{    flex-direction: column; }

.flex.gap-5{    gap: 5px; }
.flex.gap-10{    gap: 10px; }
.flex.gap-15{    gap: 15px; }
.flex.gap-15-30{    gap: 15px 30px; }
.flex.gap-30{    gap: 30px; }
.flex.gap-60{    gap: 60px; }

.flex.j-center{    justify-content: center; }
.flex.j-flex-end{    justify-content: flex-end; }
.flex.j-flex-start{    justify-content: flex-start; }
.flex.j-space-between{    justify-content: space-between; }

.flex.wrap{    flex-wrap: wrap; }
.flex.wrap-rev{    flex-wrap: wrap-reverse; }

.flex-about-partners > li{
    flex-basis: 300px;
    flex-grow: 0;
    flex-shrink: 0;
}

.flex-about-partners > li > img{ height: 150px;}

.flex-difference > div{
    flex-basis: 450px;
    flex-grow: 1;
    flex-shrink: 0;
    padding: 30px;
}

.flex-difference > div:first-of-type{
    background-color: var(--clr-primary);
    box-shadow: 3px 3px 4px rgb(175, 175, 175);
    color: white;
}

.flex-difference > div:first-of-type a.btn{
    background-color: white;
    color: var(--clr-primary);
}

.flex-home-events{    margin-top: 60px; }

.flex-calendar{
    flex-wrap: wrap;
    gap: 30px;
}

.flex-calendar > li{
    align-items: flex-start;
    display: flex;
    flex-basis: 450px;
    flex-grow: 1;
    flex-shrink: 0;
}

.flex-calendar > li > div{
    outline: 1px solid var(--clr-primary);
    padding: 15px;
}

.flex-calendar > li > div:first-of-type{
    background-color: var(--clr-primary);
    flex-basis: 100px;
}

.flex-calendar > li > div:first-of-type p{
    color: white;
    font-size: smaller;
    font-weight: bolder;
    margin: 0;
    text-align: right;
}

.flex-calendar > li > div:last-of-type{
    background-color: rgb(245, 245, 245);
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url(../img/back_patterns/Patterns-09.png);
    background-repeat: repeat;
    background-position: center;
    /* background-attachment: fixed; */
    background-size: 300px 300px;
    box-shadow: 3px 3px 4px rgb(175, 175, 175);
}

.flex-calendar > li > div:last-of-type h6{
    color: var(--clr-primary);
    font-weight: bolder;
    margin: 0;
}

.flex-calendar > li > div:last-of-type p{
    font-size: smaller;
    line-height: 1.8;
}

.flex-contact > div{    flex-basis: 350px; }

.flex-contact > div, .flex-home-events > div{
    /*border: 1px dashed lime;*/
    flex-basis: 300px;
    flex-grow: 1;
    flex-shrink: 0;
    padding: 30px;
}

.flex-home-events > div:not(.flex-home-events > div:first-of-type){    border-left: 1px dashed gray; }

.flex-values-item{
    flex-basis: 350px;
    padding: 15px;
}

.flex-values-item > div{
    flex-grow: 0;
    flex-shrink: 0;
}

.flex-values-item > div:last-of-type{
    flex-basis: 300px;
    flex-grow: 1;
}

.flex-vmo{
    background-color: var(--clr-primary);
    color: white;
}

.flex-vmo > li{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* border: 1px dashed #C13584; */
    flex-basis: 30%;
    flex-grow: 1;
    flex-shrink: 1;
    min-height: 350px;
    padding: 60px;
}

.flex-vmo > li:nth-of-type(2){    background-image: url(../img/about/about-1.jpg); }
.flex-vmo > li:nth-of-type(4){    background-image: url(../img/about/about-2.jpg); }
.flex-vmo > li:nth-of-type(6){    background-image: url(../img/about/about-3.jpg); }

.flex-vmo > li ul > li{
    font-size: smaller;
    line-height: 1.8;
}

.flex-work{
    box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.603);
}

.flex-work > div{
    /* border: 1px dashed tomato; */
    flex-basis: 350px;
    flex-grow: 1;
    flex-shrink: 0;
}

.flex-work > div:first-of-type{
    flex-grow: 4;
    min-height: 500px;
}

.flex-work > div:first-of-type > div{
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 115%;
    height: 100%;
    width: 100%;
}

/* .flex-work > div:last-of-type{
    flex-basis: 350px;
    flex-grow: 0;
} */

/* .flex-work-timeline{} */

.flex-work-timeline > div{
    /* border: 1px dashed tomato; */
    display: flex;
    padding-left: 15px;
    padding-right: 15px;
}

.flex-work-timeline > div > div{
    /* border: 1px dashed aqua; */
    flex-grow: 1;
    flex-shrink: 1;
}

.flex-work-timeline > div > div:first-of-type, .flex-work-timeline > div > div:last-of-type{
    /* border: 1px dashed palevioletred; */
    flex-basis: 350px;
    padding: 15px;
}

.flex-work-timeline > div > div:first-of-type > div, .flex-work-timeline > div > div:last-of-type > div{
    background-color: white;
    box-shadow: 3px 3px 4px rgb(155, 155, 155);
    padding: 15px;
}

.flex-work-timeline > div > div:first-of-type > div > div, .flex-work-timeline > div > div:last-of-type > div > div{
    /* border: 1px dashed lime; */
    height: 250px;
    position: relative;
    background-size: cover;
}

.flex-work-timeline > div > div:first-of-type > div h6, .flex-work-timeline > div > div:last-of-type > div h6{
    background-color: var(--clr-primary);
    /* border: 1px dashed gold; */
    color: white;
    display: inline-block;
    margin: 0;
    padding: 10px 15px;
    position: absolute;
    right: 0;
    text-transform: uppercase;
    top: 0;
}

.flex-work-timeline > div > div:first-of-type > div p, .flex-work-timeline > div > div:last-of-type > div p{
    line-height: 1.6;
    font-size: smaller;
}

.flex-work-timeline > div > div:nth-of-type(2){
    align-items: center;
    display: flex;
    flex-basis: 50px;
    flex-direction: column;
    flex-grow: 0;
    flex-shrink: 0;
}

/* .flex-work-timeline > div > div:nth-of-type(2) > div{
    border: 1px dashed tomato;
} */

.flex-work-timeline .cont-rev > div:first-of-type{    order: 1; }

.flex-work-timeline .cont-rev > div:nth-of-type(2){    order: 2; }

.flex-work-timeline .cont-rev > div:last-of-type{    order: 3; }

.flex-work-timeline .hidden{    display: block; }

.font-size-smaller{    font-size: smaller; }

.font-wight-bolder{    font-weight: bolder; }

.hamburger{
    padding-top: 20px;
    position: fixed;
    top: 0;
    left: 0;
    background: white;
}

.hamburger:focus, .hamburger:active{    background: white; }

.hamburger-inner, .hamburger-inner:before, .hamburger-inner:after, .hamburger.is-active .hamburger-inner, .hamburger.is-active .hamburger-inner:before, .hamburger.is-active .hamburger-inner:after{
    background-color: var(--clr-primary);
    /* box-shadow: 0 0 2px rgba(0, 0, 0, 0.3); */
}

/*  .hamburger-box:hover .hamburger-inner, .hamburger-box:hover .hamburger-inner:before, .hamburger-box:hover .hamburger-inner:after, .hamburger-box:hover .hamburger.is-active .hamburger-inner, .hamburger-box:hover .hamburger.is-active .hamburger-inner:before, .hamburger-box:hover .hamburger.is-active .hamburger-inner:after{
    background-color: var(--clr-primary-hover);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
} */

.input-field{    margin: 20px auto 30px auto; }

.line-height-1-6{    line-height: 1.6; }
.line-height-1-8{    line-height: 1.8; }

.margin-center{
    margin-left: auto;
    margin-right: auto;
}

.margin-none{    margin: 0; }

.margin-5{    margin: 5px; }

.margin-v-none{
    margin-bottom: 0;
    margin-top: 0;
}

.margin-v-10{
    margin-bottom: 10px;
    margin-top: 10x;
}
.margin-v-15{
    margin-bottom: 15px;
    margin-top: 15px;
}
.margin-v-30{
    margin-bottom: 30px;
    margin-top: 30px;
}

.padding-7{    padding: 7px; }
.padding-10{    padding: 10px; }
.padding-15{    padding: 15px; }
.padding-30{    padding: 30px; }

.padding-h-5{
    padding-left: 5px;
    padding-right: 5px;
}
.padding-h-10{
    padding-left: 10px;
    padding-right: 10px;
}
.padding-h-15{
    padding-left: 15px;
    padding-right: 15px;
}
.padding-h-30{
    padding-left: 30px;
    padding-right: 30px;
}
.padding-h-60{
    padding-left: 60px;
    padding-right: 60px;
}

.padding-v-5{
    padding-bottom: 5px;
    padding-top: 5px;
}
.padding-v-10{
    padding-bottom: 10px;
    padding-top: 10px;
}
.padding-v-15{
    padding-bottom: 15px;
    padding-top: 15px;
}
.padding-v-30{
    padding-bottom: 30px;
    padding-top: 30px;
}
.padding-v-60{
    padding-bottom: 60px;
    padding-top: 60px;
}
.padding-v-90{
    padding-bottom: 90px;
    padding-top: 90px;
}
.padding-v-120{
    padding-bottom: 120px;
    padding-top: 120px;
}

.splide__slide > div{
    min-height: 600px;
    padding-bottom: 100px;
    padding-left:15%;
    padding-right: 15%;
}

.splide__slide:first-of-type > div{
    background-image: url(../img/home-wrapper-1.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
}

.splide__slide:nth-of-type(2) > div{
    background-image: url(../img/home-wrapper-2.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
}

.splide__slide:last-of-type > div{
    background-image: url(../img/home-wrapper-3.jpg);
    background-repeat: no-repeat;
    background-position: 50% 30%;
    background-size: 100% auto;
}

.splide__slide h4, .splide__slide p{
    background-color: var(--clr-primary);
    color: white;
    margin: 0;
    padding: 30px;
}

.splide__slide h4{
    display: inline;
    font-weight: bolder;
    padding-bottom: 10px;
    width: fit-content;
}

.text-hover{    color: var(--clr-primary); }
.text-hover:hover{    color: var(--clr-primary-hover); }

.upper{    text-transform: uppercase; }

.width-max{    width: 100%; }
.width-max-1400{    max-width: 1400px; }
.width-max-1200{    max-width: 1200px; }
.width-max-950{    max-width: 950px; }
.width-max-750{    max-width: 750px; }
.width-max-550{    max-width: 550px; }
.width-max-450{    max-width: 450px; }

@media only screen and (max-width: 1100px) {
    .flex-vmo > li{    flex-basis: 50%; }
    .flex-vmo > li:last-of-type{    order: 6; }
    .flex-vmo > li:nth-of-type(5){    order: 5; }
    .flex-vmo > li:nth-of-type(4){    order: 3; }
    .flex-vmo > li:nth-of-type(3){    order: 4; }
    .flex-vmo > li:nth-of-type(2){    order: 2; }
    .flex-vmo > li:first-of-type{    order: 1; }
}

@media only screen and (max-width: 900px) {
    .splide__slide > div{    background-size: auto 110% !important; }
}

@media only screen and (max-width: 899px) {
    .flex-home-events > div{
        flex-basis: 90%;
        flex-grow: 0;
    }
    .flex-home-events > div:not(.flex-home-events > div:first-of-type){    border-left: none; }
}

@media only screen and (max-width: 785px) {
    .flex-work-timeline .cont-rev > div:first-of-type{    order: 2; }
    
    .flex-work-timeline .cont-rev > div:nth-of-type(2){    order: 1; }

    .flex-work-timeline .hidden{    display: none; }
}

@media only screen and (max-width: 750px) {
    .flex-vmo > li{    flex-basis: 100%; }
    .flex-vmo > li:last-of-type{    order: 6; }
    .flex-vmo > li:nth-of-type(5){    order: 5; }
    .flex-vmo > li:nth-of-type(4){    order: 4; }
    .flex-vmo > li:nth-of-type(3){    order: 3; }
    .flex-vmo > li:nth-of-type(2){    order: 2; }
    .flex-vmo > li:first-of-type{    order: 1; }
}

@media only screen and (max-width: 601px) {
    .flex-about-partners{    gap: 30px; }
}

@media only screen and (max-width: 485px) {
    .flex-calendar > li{    flex-shrink: 1; }
}

@media only screen and (max-width: 480px) {
    .flex-difference > div{    flex-basis: 100%;}
    #sec-work{
        padding-left: 30px;
        padding-right: 30px;
    }
    .flex-work > div {
    flex-basis: 100%;
}
    .under img {
    max-width: 100%;
    height: auto;
}
}

@media only screen and (max-width: 419px) {
    img.footer-logo{
        height: auto;
        width: 99%;
    }

    .flex-values-item{    flex-basis: 100%; }
    
    .flex-values-item > div:last-of-type{    flex-basis: 90%; }
}

@media only screen and (max-width: 380px) {
    .flex-contact > div{    flex-basis: 100%; }
}

@media only screen and (max-width: 330px) {
    .flex-contact > div, .flex-home-events > div{    flex-basis: 100%; }
}