*{
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
}

html,body{
    height: 100%;
}

.wrapper{
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.main{
    flex: 1 1 auto;
}

.container{
    display: flex;
    flex-direction: column;
    max-width: 1160px;
    width: 100%;
    margin: 0 auto;
    /*overflow: hidden;*/
}
.preheader{
    height: 60px;
    display: flex;
    flex-direction: row;
}

.logo{
    margin-top: 7px;
}

.min-logo{
    display: none;
}

.preheader-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.preheader-nav{
    max-width: 250px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-height: 40px;
    height: 100%;
    align-self: center;
    align-content: center;
}

.phone-img{width: 35px;}

.header-button,.min-header-button{}

.language{
    margin-top: 9px;
}

.language-menu{
    position: absolute;
    z-index: 100;
    background: linear-gradient(85.75deg, #18A0FB 12.48%, #1E73AC 100.43%);
    width: 40px;
    border-radius: 6%;
    margin-left: -4px;
    /*padding-bottom: 10px;*/
    /*max-height: 154px;*/
    max-height: 51px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    font-weight: 500;
}

.language-item{
    text-decoration: none;
}


.language-item a{
    text-decoration: none;
}

.langs{
    transition: 0.5s ease-in-out;
    font-size: 20px;
    margin-left: 5px;
    color: white;
    text-decoration: none;
}
.langs:hover{
    color: #1655A2;
}

.min-header-button{
    display: none;
}

/*________________________________________________________________________________________________________________________*/
.header{
    background: url("../images/header-mask.svg") no-repeat top center,linear-gradient(76.8deg, #82B9DF 15.63%, #1655A2 77.03%);
    background-size: cover;
    margin: 0 auto;
    height: 710px;
    width: 100%;
}

.main-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.main-header-img{
    overflow: hidden;
    position: absolute;
    margin-left: 500px;
}

.hardhat{
    overflow: hidden;
}

.main-title{
    max-width: 600px;
    width: 100%;
    min-height: 300px;
    height: 100%;
}

.main-header-block{
    margin-top: 75px;
    display: flex;
    flex-direction: column;
}

h2{
    font-size: 52px;
    font-weight: bold;
    color: #CCFF00;
    letter-spacing: 0;
    text-shadow: 0 3px 4px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
}

h1{
    font-size: 78px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 84px;
    color: white;
    text-shadow: 0 3px 4px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
}

h4{
    font-size: 30px;
    font-weight: bold;
    color: white;
    line-height: 35px;
    text-shadow: 0 3px 4px rgba(0, 0, 0, 0.25);
    max-width: 465px;
    height: 105px;
}

/* From cssbuttons.io by @westitan */
.title-button{
    margin-top: 60px;
    width: 200px;
    height: 65px;
    box-shadow: 0 0 10px 10px #BBFF00, 0 0 10px 10px #BBFF00;
    animation: loop 5s linear infinite;
}

button {
    position: relative;
    padding: 19px 36px;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    border-radius: 40px;
    border: none;

}

button span {
    position: relative;
    color: #fff;
    z-index: 1;
    font-weight: bold;
    text-shadow: 1px 0 1px #000,
    0 1px 1px #000,
    -1px 0 1px #000,
    0 -1px 1px #000;
}

button .liquid {
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 200px;
    background: #BBFF00;
    /*box-shadow: inset 0 0 50px rgba(0, 0, 0, .5);*/
    transition: .5s;

}



button .liquid::after,
button .liquid::before {
    content: '';
    width: 200%;
    height: 200%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -75%);
    background: #fff;
}

button .liquid::before {
    border-radius: 45%;
    /*background: rgba(20, 20, 20, 1);*/
    background: #fff;
    animation: animate 5s linear infinite;
}

button .liquid::after {
    border-radius: 40%;
    background: #BBFF00A1;
    animation: animate 10s linear infinite;
}

button:hover .liquid {
    top: -120px;
}

@keyframes animate {
    0% {
        transform: translate(-50%, -75%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -75%) rotate(360deg);
    }
}
/*_________________________________________________________________________________________________________________*/
.refresher-courses{
    background: url("../images/courses-background.svg") no-repeat top center;
    background-size: cover;
    margin: 0 auto;
}

.courses-title{
    font-weight: 700;
    font-size: 36px;
    line-height: 39px;
    margin: 120px auto;
}

.courses-cards{
    display: flex;
    flex-direction: column;
    max-height: none;
    overflow: hidden;
    padding-bottom: 10px;
}

.auto{
    max-height: 770px;
    height: 100%;
}

.courses-row{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
}

.courses-item{
    max-width: 360px;
    max-height: 360px;
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    background: white;
    position: relative;
}

.courses-item-img{
    overflow: hidden;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    max-width: 360px;
    width: 100%;
}

.courses-item-title{
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0;
    text-align: center;
    width: 330px;
    margin: 10px auto;
    height: 77px;
}
.more{
    display: flex;
    text-align: center;
    flex-direction: column;
    padding-bottom: 10px;
    cursor: pointer;
 }
 .more-img{
     width: 21px;
     margin: 0 auto;
 }

 .more-text{
     font-size: 13px;
     font-style: normal;
     font-weight: 400;
     line-height: 14px;
     letter-spacing: 0;
     text-align: center;
     color: #7B7B7B;
 }

 .item-number{
     position: absolute;
     right: 5px;
     bottom: 2px;
     overflow: hidden;
 }

 .row2,
 .row3,
 .row4,
 .row5,
 .row6{
     margin-top: 40px;
 }

.view-all{
    margin: 60px auto;
    text-align: center;
    cursor: pointer;

}

.view-text{
    font-size: 21px;
    font-style: normal;
    font-weight: 300;
    line-height: 23px;
    color: #1655A2;
    padding-bottom: 3px;
}

.hide-text{
    font-size: 21px;
    font-style: normal;
    font-weight: 300;
    line-height: 23px;
    color: #1655A2;
    padding-bottom: 3px;
}

.hide{
    display: none;
}

.rotate{
    transform: rotate(180deg);
}

/*_______________________________________________________________________________________________________________________*/

.services{
    background: url("../images/services-background.svg") no-repeat top center;
    background-size: cover;
    margin: 0 auto;
    padding-bottom: 150px;
}

.services-title{
    font-weight: 700;
    font-size: 36px;
    line-height: 39px;
    margin: 120px auto;
}

.services-cards{
    display: flex;
    flex-direction: column;
}

.services-row{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
}

.s-row2{
    margin-top: 40px;
    justify-content: space-evenly;
}

.services-item{
    max-width: 360px;
    height: 360px;
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    background: white;
    position: relative;
}

/*_______________________________________________________________________________________________________________________*/

.about{
    margin: 0 auto;
    padding-bottom: 50px;
    background: url("../images/about-background.svg") no-repeat top center;
    background-size: cover;
}

.about-title{
    font-weight: 700;
    font-size: 36px;
    line-height: 39px;
    margin: 120px auto;
}

.about-text{
    text-align: center;
}

/*-------------------------------------------------------------------------------------------------------------------------*/

.footer{
    background: linear-gradient(89.54deg, #A9CFEA 20.09%, #1E73AC 98.18%);
    display: flex;
}
.footer-wrapper{
    display: flex;
    justify-content: space-between;
}

.footer-block{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 30px;
    max-width: 654px;
    width: 100%;
}

.footer-rows{
    display: flex;
    flex-direction: column;
    max-width: 655px;
    width: 100%;
}

.footer-row1{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 654px;
    width: 100%;
}

.footer-col1{
    display: flex;
    flex-direction: column;
    text-align: left;
}

.col1-title,.col2-title{
    font-size: 21px;
    font-style: normal;
    font-weight: 600;
    line-height: 23px;
    letter-spacing: 0;
    text-align: left;
    color: white;
    padding-bottom: 22px;
}
.col1-list{
    font-size: 21px;
    font-style: normal;
    font-weight: 500;
    line-height: 23px;
    letter-spacing: 0;
    text-align: left;
    padding-bottom: 22px;
    text-decoration: none;
    color: white;
}

.col1-list:hover{
    color: #7B7B7B;
}

.footer-col2{
    display: flex;
    flex-direction: column;
    text-align: right;
}

.col2-num{
    font-family: "Arial", sans-serif;
    text-decoration: none;
    color: white;
    padding-bottom: 22px;
}

.col2-num:hover{
    color: #7B7B7B;
}

.col2-email{
    font-size: 21px;
    font-style: normal;
    font-weight: 500;
    line-height: 23px;
    letter-spacing: 0;
    color: white;
    padding-bottom: 22px;
}

.col2-address{
    padding-bottom: 22px;
    font-size: 21px;
    font-style: normal;
    font-weight: 500;
    line-height: 23px;
    letter-spacing: 0;
    color: white;
}

.line{
    height: 1px;
    background-color: white;
}

.footer-row2{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.name,.private-policy,.link{
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 13px;
    letter-spacing: 0;
    margin-top: 27px;
    text-decoration: none;
    color: white;
}

.private-policy{
    display: none;
}


#myModal{
    width: 480px;
    height: 440px;
    /*padding: 20px;*/
    padding-top: 40px;
    /*border: 1px solid;*/
    border-radius: 20px;
    border-image-source: linear-gradient(90deg, #D9560E 0%, #F0AC11 100%);
    box-shadow: 0 4px 32px 0 #000000BF;
    background: #fafafa;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: none;
    opacity: 0;
    z-index: 38;
    text-align: center;
}

#myModal #myModal__close{
    width: 21px; height: 21px;
    position: absolute;
    font-size: 29px;
    top: 1px; right: 11px;
    cursor: pointer;
    display: block;
    color: #7B7B7B;
}


#myOverlay {
    z-index: 37;
    position: fixed;
    background: rgba(0,0,0,.7);
    width: 100%; height: 100%;
    top: 0; left: 0;
    cursor: pointer;
    display: none;
}

.inputs{
    display: flex;
    flex-direction: column;
}

label{
    text-align: left;
    padding-left: 80px;
    padding-bottom: 5px;
}

#name,#number{
    width: 340px;
    margin: 0 auto 30px;
    height: 40px;
    border-radius: 10px;
    border: 1px #1655A2 solid;
    padding-left: 20px;
}

.modal-text{
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0;
    padding-bottom: 20px;
    color: #1655A2;
}

.modal-button{
    position: relative;
    top: 40px;
    margin: 0 auto;
    width: 150px;
    height: 21px;
    background: linear-gradient(180deg, #1AA3FF 0%, #0978C2 100%);
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: 4px;
    text-align: center;
}

.modal-wrapper{
    margin-top: 40px;
}

#myModalSecond{
    width: 750px;
    height: 500px;
    padding: 40px;
    border: 1px solid;
    border-radius: 20px;
    border-image-source: linear-gradient(90deg, #D9560E 0%, #F0AC11 100%);
    box-shadow: 0 4px 32px 0 #000000BF;
    background: #fafafa;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: none;
    opacity: 0;
    z-index: 38;
    text-align: left;
}

#myModalSecond #myModal__closeSecond{
    width: 21px; height: 21px;
    position: absolute;
    font-size: 29px;
    top: 1px; right: 11px;
    cursor: pointer;
    display: block;
    color: #7B7B7B;
}

.pop-title{
    font-size: 23px;
    font-style: normal;
    font-weight: 500;
    line-height: 25px;
    text-align: center;
    padding-bottom: 23px;
}

.pop-count{
    font-size: 21px;
    font-style: normal;
    font-weight: 300;
    line-height: 23px;
    text-align: left;
    margin-bottom: 13px;
}

.pop-hours{
    margin-bottom: 13px;
    font-weight: 400;
}

.pop-text{
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 23px;
    text-align: left;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@media screen and (max-width: 1455px){
    .main-header-img{
        transform: scale(0.8);
    }
}

@media screen and (max-width: 1300px){
    .main-header-img{
        transform: scale(0.65);
    }
}

@media screen and (max-width: 1175px){

    .container{
        max-width: 975px;
    }
    .main-header-img{
        display: none;
    }
    .courses-item,.services-item{
        max-width: 250px;
        max-height: 230px;
    }
    .courses-item-title{
        font-size: 12px;
        width: auto;
        line-height: 12px;
    }
    .more{
        transform: scale(0.8);
        margin-top: -55px;
    }
}

@media screen and (max-width: 1000px){
    .container{
        max-width: 875px;
    }
}

@media screen and (max-width: 1000px){
    .container{
        max-width: 875px;
    }
}

@media screen and (max-width: 875px){
    .container{
        max-width: 768px;
    }

    .main-header-block{
        padding-left: 25px;
        padding-right: 25px;
    }

    .courses-title,.services-title,.about-title{
        font-size: 24px;
        line-height: 26px;
    }
    .footer-logo{
        display: none;
    }
    .footer-block{
        margin: 25px auto;
    }
}

@media screen and (max-width: 768px){
    .container{
        max-width: none;
    }
    #myModal{
        width: 240px;
        height: 218px;
    }
    .modal-button{
        top: 5px;
    }
    #name,#number{
        width: 200px;
        margin: 0 auto 5px;
        height: 30px;
        border-radius: 10px;
        border: 1px #1655A2 solid;
    }
    label{
        margin: 0;
        padding-left: 20px;
        font-size: 10px;
    }
    .modal-text{
        font-size: 12px;
        line-height: 14px;
    }
}

@media screen and (max-width: 767px){
    .container{
        max-width: 500px;
    }
    .preheader{
        height: 36px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .preheader-nav{
        max-width: 130px;
    }
    .language{}
    .language-menu{
        width: 25px;
        height: 88px;
        margin-left: 3px;
    }
    .language-menu .language-item a p{
        font-size: 12px;
    }
    .logo{
        display: none;
    }
    .min-logo{
        display: block;
        margin-top: 6px;
    }
    .phone-img{
        display: none;
    }
    .header-button{
        display: none;
    }
    .min-header-button{
        display: block;
        margin-top: 7px;
    }
    .header{
        background: url("../images/min-header-background.svg") no-repeat top center,linear-gradient(76.8deg, #82B9DF 15.63%, #1655A2 77.03%);
        background-size: cover;
        height: 768px;
    }
    .main-title{
        text-align: center;
        margin-top: 120px;
    }

    h2{
        font-size: 30px;
        text-align: center;
    }
    h1{
        font-size: 36px;
        line-height: 40px;
    }
    h4{
        text-align: center;
        font-size: 20px;
        line-height: 22px;
        margin-top: -140px;
    }

    .title-button{
        margin: 20px auto;
    }

    .courses-row{
        flex-direction: column;
        margin: 0 auto;
    }

    .services-row{
        flex-direction: column;
        margin: 0 auto;
    }

    .courses-title,.services-title,.about-title{
        text-align: center;
        padding: 0;
        margin-top: 15px;
        margin-bottom: 0;
        font-size: 18px;
        line-height: 20px;
}
    .services-item,.courses-item{
        margin-top: 27px;
    }

    .about-text{
        font-size: 10px;
        margin-top: 20px;
        padding: 15px;
    }
    
    .col2-title{
        text-align: right;
    }
    .col1-title,.col2-title,.col1-list,.col2-email,.col2-num,.col2-address{
        font-size: 12px;
        line-height: 14px;
    }

    .name,.private-policy{
        font-size: 10px;
        line-height: 12px;
    }

    .footer{
        padding-left: 10px;
        padding-right: 10px;
    }

    .modal-wrapper{
        margin: 0;
    }

    #myModalSecond{
        width: 280px;
        overflow-x: scroll;
        height: auto;
    }

}

.technical-support,.mapgraph ,.business{}


