/* home page styles */
@font-face{
    font-family: 'Archivo';
url('fonts/Archivo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face{
    font-family: 'Archivo';
url('fonts/Archivo-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
.main-banner{
    background: linear-gradient(72.65deg, #5540BF 0%, #A99AF5 100%), #614DC8;
    width: 100%;
    max-height: 600px;
    font-family: "Archivo", sans-serif;
    font-weight: bold;
}

.banner-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: auto;
    align-items: center;
    height: 100%;
    padding-left: 20px;
}
.banner-container .caption-block.container{
    padding-top: 100px!important;
}

.banner-container img{
    max-width: 60%;
}

.btn-place {
    display: block;
    background: url(/wp-content/uploads/2019/12/button_sprite.png) no-repeat 0% 0%;
    width: 210px;
    height: 50px;
}

.btn-place:hover{
    background-position-y: -50px
}

/*.caption-block{*/
/*    padding-top: 350px;*/
/*}*/

.caption-block p{
    font-family: "Archivo", sans-serif;
    font-weight: bold;
    font-size: 3vw;
    color: #ffffff;
    margin: 0 0 20px;
    padding: 0;
    line-height: 1.1;
}

.cta{
    text-align: left;
    background: url("/wp-content/uploads/2019/12/cta.png") no-repeat center;
    max-width: 846px;
    width: 100%;
    height: 310px;
}

.cta .btn-place{
    margin: 170px 0 0 75px;
    position: absolute;
}

.cta span{
    font-family: "Archivo", sans-serif;
    font-weight: bold;
    color: #fff;
    line-height: 40px;
    font-size: 30px;
    margin: 70px 0 0 75px;
    position: absolute;
}

.main-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
#sidebar{
    margin-top: 20px;
}

#sidebar a img{
    margin-bottom: 40px;
}

.contacts-block{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.mobile-adv{
    display: none;
}

@media (max-width: 1230px){
    .caption-block{
        padding-left: 20px!important;
    }
}

@media (max-width: 1180px){


    #sidebar{
        display: none;
    }
    .container{
        width: 100%;
    }
    .main-content{
        width: 100%;
        margin: auto;
        text-align: center;
    }
    .main-content div {
        margin: auto;
    }
}


@media (max-width: 1180px){
    .caption-block h1{
        font-size: 4.5vw;
    }
}
@media screen and (max-width: 767px){
    .home .container{
        width: 100%;
        padding: 0;
    }
}

@media screen and (max-width: 500px){
    .caption-block{
        align-self: flex-start;
        text-align: center;
        padding-top: 100px!important;
    }
    .caption-block .btn-place{
        margin: auto;
    }
    .caption-block h1{
        font-size: 40px;
    }
    .banner-container img{
        display: none;
    }
    .main-banner{
        background: url("/wp-content/uploads/2019/12/main-banner-mob.png") no-repeat center;
        height: 600px;
        background-size: 100%;
    }
    .mobile-adv{
        display: block;
        margin: auto;
    }
    .desktop-adv{
        display: none;
    }
}

@media screen and (max-width: 414px){
    .cta{
        background: url("/wp-content/uploads/2019/12/cta-mob.png") no-repeat center;
        background-size: 100%;
    }
    .cta span{
        font-size: 26px;
    }
    .cta span{
        margin-left: 40px;
    }

    .cta .btn-place{
        margin-left: 60px;
    }
}

.footer-post-links{
    padding-top: 40px;
}
.footer-post-links ul{
    margin: 0;
    list-style: none;
    text-align: center;
}
.footer-post-links ul li{
    margin-bottom: 10px;
}
.footer-post-links ul li:last-child{
    margin-bottom: 0;
}
.footer-post-links ul li a{
    color: #282828;
}
.footer-post-links ul li a:hover{
    text-decoration: underline;
}