@font-face {
    font-family: "GothamPro-Bold";
    src: url("/wp-content/themes/agromash/fonts/GothamPro/GothamPro-Bold.eot");
    src: url("/wp-content/themes/agromash/fonts/GothamPro/GothamPro-Bold.eot?#iefix")format("embedded-opentype"),
    url("/wp-content/themes/agromash/fonts/GothamPro/GothamPro-Bold.woff") format("woff"),
    url("/wp-content/themes/agromash/fonts/GothamPro/GothamPro-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}



@font-face {
    font-family: "GothamPro-Medium";
    src: url("/wp-content/themes/agromash/fonts/GothamPro/GothamPro-Medium.eot");
    src: url("/wp-content/themes/agromash/fonts/GothamPro/GothamPro-Medium.eot");
    src: url("/wp-content/themes/agromash/fonts/GothamPro/GothamPro-Medium.eot?#iefix")format("embedded-opentype"),
    url("/wp-content/themes/agromash/fonts/GothamPro/GothamPro-Medium.woff") format("woff"),
    url("/wp-content/themes/agromash/fonts/GothamPro/GothamPro-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}





body{
    font-family: "GothamPro-Medium" !important;
    font-size: 20px !important;
    line-height: 26px !important;
    letter-spacing: .9px !important;
}





.logo-head{
    font-family: "GothamPro-Bold";
    text-transform: uppercase;
    font-size: 50px;
    line-height: 56px;
}

.phone{
     font-family: "GothamPro-Bold";
     font-size: 34px;
     line-height: 36px;
 }

.phone span{
    font-family: "GothamPro-Medium" !important;
}

.phone img{
    width: 20px;
    margin-right: 16px;
}

.pay-block-prefix{
    font-family: "GothamPro-Medium" !important;
    font-size: 14px;
    line-height: 18px;
    padding-right: 20px;
}

.pay-block:hover .pay-block-prefix{
    color: #fff !important;
}

.mail{
    margin-top: 20px;
}

.mail img{
    width: 20px;
    margin-right: 16px;
}

.prof-block{
    text-align: center;
    margin: 15px 0px 15px 0px;
}

.prof-img img{
    width: 80px;
    margin-bottom: 10px;
}


.header{
    background: #fff;
    border-bottom: solid #E1E1E1 2px;
    position: fixed;
    z-index: 4;
    width: 100%;
}

.pay-block-btn{
    background: #FFD800;
    display: inline-block;
    padding: 10px 20px;
    margin-top: 14px;
    color: #000;

    font-size: 16px;
    line-height: 16px;
}

.h150{
    height: 150px;
}

.head-block{
    background: #FFD800;
    width: 100%;
    padding: 40px 0px;
}

.addr{
    font-size: 24px;
    line-height: 28px;
}


.btn-popup{
    background: red;
    padding: 10px 10px;
    color: #fff;
    text-align: center;
    width: 100%;
}

.btn-popup:hover{
    opacity: .7;
    cursor: pointer !important;
}


.head-block-title{
font-family: "GothamPro-Bold";
font-size: 40px;
line-height: 44px;
}

.title{
    text-align: center;
    margin: 30px 0px 20px 0px;
    font-family: "GothamPro-Bold";
    font-size: 40px;
    line-height: 44px;
    padding: 0px 80px;

}

.content-title .title{
    padding: 0px;
    text-align: left;
    color: red;
}

.contact-block{
    background: #EFEFEF;
    padding: 10px 30px 30px 30px;
}

.cb-title{
    font-family: "GothamPro-Bold";
    margin-bottom: 2px;
    margin-top: 20px;
}

.breadcrumbs{
    width: 100%;
    background: #EFEFEF;
    padding: 20px 15px;
    text-align: center;
    font-size: 16px;
    line-height: 20px;
}

.breadcrumbs a{
    color: #ACACAC;
    border-bottom: 1px dotted #ACACAC;
}

.breadcrumbs a:hover{
    color: #000;
    border-bottom: 1px dotted #000;
    text-decoration: none;
    border-bottom: 0px dotted #ACACAC;
}

.yellow{
    padding: 30px;
    background: #FFD800;
    margin: 20px 0px;
}



.head-serv{
    font-family: "GothamPro-Bold";
    font-size: 26px;
    line-height: 30px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.sidebar-yellow-title{
    font-family: "GothamPro-Bold";
    font-size: 26px;
    line-height: 30px;
    margin-bottom: 10px;
}

.sidebar-yellow{
    padding: 30px 30px 20px 30px;
    background: #FFD800;
}

.sidebar-yellow a{
    color: #000;
    font-size: 16px;
    line-height: 16px;
    text-decoration: underline;
}

.sidebar-yellow a:hover{
    color: #000;
    border-bottom: 0px dotted #ACACAC;
    text-decoration: none;
}

.sidebar-yellow-service{
    margin-bottom: 10px;
}

.cb-contact{
    font-size: 26px;
    line-height: 30px;
}

.contact-block-info{
    margin-top: 16px;
    font-size: 14px;
    line-height: 18px;
}

.footer{
    margin: 40px 0px;
}

.logo img{
    width: 100%;
}

.siteinfo{
    text-align: center;
    font-size: 14px;
    line-height: 18px;
}

.footer a{
    color: #ACACAC;
}

.footer a:hover{
    color: #000;
    text-decoration: none;
}

.make{
    text-align: right;
    font-size: 14px;
}


.pay-block:hover a{
    color: #000;
}

.pay-block{
    height: 280px;
    overflow: hidden;
    position: relative;
    width: 100%;
    border-radius: 10px;
    margin: 15px 0px;
}


.pay-block::after {
    background: transparent;
    background: -moz-linear-gradient(top, rgba(0,0,0,0.2) 0%, rgba(0,0,0,1) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.2) 0%,rgba(0,0,0,1) 100%);
    background: linear-gradient(to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
    content: "";
    display: block;
    height: 280px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}


.pay-block img{
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;

    -webkit-transition: all 0.3s ease;;
    -moz-transition: all 0.3s ease;;
    -o-transition: all 0.3s ease;;
    transition: all 0.3s ease;
}


.pay-block:hover img{
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);

}


.pay-block-info{
    z-index: 2;
    position: absolute;
    left: 30px;
    bottom: 30px;
}

.serv a{
    color: #fff;
}

.pay-block-title{
    padding-right: 15px;
}

.pay-block:hover .pay-block-title{
    color: #FFD800;
}

.pay-block:hover{
    cursor: pointer;
}

.title-content{
    text-align: center;
    margin-bottom: 10px;
}

.error a{
    font-size: 30px;
    line-height: 32px;
    margin: 0px 0px 30px 0px;
    display: block;
    text-decoration: underline;
}

.error a:hover{
    color: #000;
    text-decoration: none;
}

.error{
    text-align: center;
}


.content-page{
    margin-top: 100px;
}

@media screen and (max-width: 1200px) {
    .logo-head {
        font-size: 30px;
        line-height: 32px;
    }

    .phone {
        font-size: 20px;
        line-height: 24px;
    }
    .addr {
        font-size: 20px;
        line-height: 24px;
    }

    .mail{
        font-size: 16px;
    }
    .title {
        padding: 0px 200px;
        font-size: 30px;
        line-height: 34px;
    }

    .wpcf7-submit {
        font-size: 12px !important;
        line-height: 20px !important;
    }


    .form-block {
        padding: 8px;
    }
}



@media screen and (max-width: 768px) {


    .header .logo img{
        display: none;
    }

    .h150{
        height: 180px;
    }

    .header{
        padding: 10px 0px;
    }

    .phone {
        font-size: 16px;
        line-height: 20px;
    }
    .phone img{
       display: none;
    }

    .addr {
        font-size: 14px;
        line-height: 18px;
        margin: 10px 0px;
    }

    .mail{
        font-size: 14px;
        line-height: 18px;
    }
    .title {
        padding: 0px 200px;
        font-size: 30px;
        line-height: 34px;
    }

    .logo-head {
        font-size: 20px;
        line-height: 22px;
    }

    .head-block-title {
        font-family: "GothamPro-Bold";
        font-size: 24px;
        line-height: 26px;
    }

    .head-block-list{
        margin-top: 20px;
        font-size: 16px;
        line-height: 20px;
    }

    .title {
        padding: 0px 10px;
        font-size: 22px;
        line-height: 24px;
    }

    body{
        font-size: 16px !important;
        line-height: 20px !important;
    }

    .cb-contact {
        font-size: 20px;
        line-height: 22px;
    }

    .siteinfo{
        margin: 10px 0px;
    }

    .make{
        text-align: center;
    }

    .sidebar-yellow{
        display: none;
    }

.content-column{
    margin-bottom: -10px !important;
}

.form-block{
    height: 300px;
}

.logo img{
    padding: 0px 40px;
}
.breadcrumbs{
    margin-top: 10px;
}

    .modalform {
        padding: 10px !important;
    }

}






.w-20 {
    padding: 0px 15px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
}

@media (min-width: 576px) {
    .w-sm-20 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (min-width: 768px) {
    .w-md-20 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (min-width: 992px) {
    .w-lg-20 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (min-width: 1200px) {
    .w-xl-20 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}







.modalform{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #fff;
    border-radius: 10px;
    max-width: 90%;
    width: 400px;
    padding: 30px;
    z-index: 10;
    transition: 200ms ease-in-out;

}


.modalform.active{
    transform: translate(-50%, -50%) scale(1);
}


#overlay{
    position: fixed;
    opacity: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
    pointer-events: none;
    transition: 200ms ease-in-out;
    z-index: 9;
}

#overlay.active{
    opacity: 1;
    pointer-events: all;
}

.close-button{
    z-index: 2;
    display: block;
    margin-bottom: 30px;
    position: absolute;
    top: 3%;
    right: 3%;
    width: 50px;
    height: 50px;
    -webkit-transition: -webkit-transform .2s ease-in-out;
    transition: transform .2s ease-in-out;
}

.close-button:hover{
    -webkit-transform: rotate(90deg) scale(1.3);
    transform: rotate(90deg) scale(1.3);
    cursor: pointer;
}









.wpcf7-not-valid-tip {
    font-size: 12px !important;
    line-height: 14px !important;
    color: #fff !important;
    background: red !important;
    padding: 5px 2px !important;
    text-align: left !important;
    margin-left: 10px !important;
    display: inline-block !important;
}


.wpcf7-mail-sent-ok{
    font-size: 12px !important;
    line-height: 14px !important;
    color: #fff !important;
    background: green !important;
    padding: 5px 2px !important;
    text-align: left !important;
    margin: 0px !important;
    display: inline-block !important;
}




#modalform .wpcf7-form{
    display: block;
    height: 220px;
}

.wpcf7-form{
    display: block;
    height: 90px;
}

.content-column{
    padding: 10px;
    display: block !important;
}


.form-block{
    padding: 20px;
    background: #FFD800;
}



input:focus {
    outline: none !important;
    border-color: #fff !important;
    color: #000 !important;
}

input{
    display: block !important;
    background: none !important;
    border: #000 2px solid !important;
    box-shadow: none !important;
    padding: 24px 20px !important;
    letter-spacing: .6px !important;
    color: #000 !important;
    margin: 10px 10px !important;
    width: 100% !important;
    border-radius: 0px !important;
    margin-left: 0px !important;
}


input::-webkit-input-placeholder{color:#000 !important;}
input::-moz-placeholder{color:#000 !important; }
textarea::-webkit-input-placeholder{color:#000 !important;}
textarea::-moz-placeholder{color:#000 !important; }
textarea, body input{color:#000 !important; }

.modal-body-title{
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

#modalform input{
    color: #000 !important;
    margin-left: 0px !important;
    margin-bottom: -10px !important;
}

#modalform input:focus {
    outline: none !important;
    border-color: #FFD800 !important;
    color: #000 !important;
}

#modalform input::-webkit-input-placeholder{color:#000 !important;}
#modalform input::-moz-placeholder{color:#000 !important; }
#modalform textarea::-webkit-input-placeholder{color:#000 !important;}
#modalform textarea::-moz-placeholder{color:#000 !important; }
#modalform textarea, body input{color:#000 !important; }


#modalform .wpcf7-submit{
    color: #fff !important;
}

#modalform .wpcf7-submit:hover{
    border-color: #FFD800 !important;
    color: #000 !important;
    background: #FFD800 !important;
}


.wpcf7-submit{
    background: red !important;
    border-radius: 0px !important;
    width: 100%;
    padding: 12px 20px !important;
    letter-spacing: 1.2px !important;
    color: #fff !important;
    font-size: 16px;
    line-height: 22px;
    border: red 2px solid !important;

}

.wpcf7-submit:hover{
    opacity: .7 !important;
}