.mfp-hide {
  display: none !important; 
}


@media (min-width: 768px){
    .shmantend {
        background: white;
        /*width: 60%;*/
        padding: 10px 40px 40px;
    }
}

@media (max-width: 768px){
    .shmantend {
        background: white;
        padding: 10px 40px 40px;
    }
    .form .form_body {
        padding: 10px;
    }
    .black-text {
        padding-right: 10px;
    }
    form .licence_block.filter {
        padding-left: 10px;
    }
    .zalaz_demo.SIMPLE_FORM_13 .form_footer input.button {
        margin-bottom: 20px;
    }
}

@media (min-width: 768px){
.mfp-content {
    /*background: white!important;*/
    width: 680px!important;
    /*padding: 40px;*/
}
/*div#popup {
    padding: 40px;
}*/
}
@media (max-width: 600px){
.mfp-content {
    /*background: white!important;
    width: 80% !important;
    padding: 40px;*/
}
}

@media (min-width: 768px){
    .form_zakaz_gif {
        /* float: none; */
        width: 48%;
        margin-top: 15px;
        margin-left: 10px;
        display: inline-block;
    }
    .h2_popup{
        margin-top: 10px;
        margin-left: 10px;
    }
    .zalaz_demo.SIMPLE_FORM_13 {
        width: 40%;
        float: none;
        display: inline-block;
    }
}

@media (max-width: 768px){
    .form_zakaz_gif {
        /* float: none; */
        /*width: 48%;*/
        margin-top: 15px;
        margin-left: 10px;
        /*display: inline-block;*/
    }
    .h2_popup{
        margin-top: 10px;
        margin-left: 10px;
    }
    .zalaz_demo.SIMPLE_FORM_13 {
        /*width: 40%;*/
        float: none;
        /*display: inline-block;*/
    }
}


@media (min-width: 768px){
.text-popup{
    width:45%
}
}

@media (min-width: 768px){
.green-text{
font-size:16px;color:green;padding-bottom:10px
}
}

@media (max-width: 768px){
.green-text{
font-size:16px;color:orange;padding-bottom:10px
}
}

.black-text{
font-size:16px;color:#999999;padding-bottom:10px
}

@media (min-width: 768px){
.black-text-2{
font-size:16px;color:#999999;padding-bottom:10px
}
}

@media (max-width: 768px){
.black-text-2{
display:none;
}
}

@media (min-width: 768px){
.link{
font-size:16px
}
}

@media (max-width: 768px){
.link{
display:none;
}
}

@media (min-width: 768px){
#form-zakaz{
width:50%;
padding-left:10px;
}
}

@media (min-width: 768px){
hr {
    border: none; /* Убираем границу для браузера Firefox */
    color: blue; /* Цвет линии для остальных браузеров */
    background-color: blue; /* Цвет линии для браузера Firefox и Opera */
    height: 2px; /* Толщина линии */
    margin-bottom: 20px;
    margin-left: -40px;
    margin-right: -40px;
}
}

@media (max-width: 768px){
hr {
    display: none;
}
}

@media (min-width: 768px){
.hidden-link {
display:none;
}}

.zalaz_demo.SIMPLE_FORM_13 .form_footer input.button {
    margin-left: 10px !important;
    /* align-items: center; */
}
.mfp-content {
    position: relative;
    display: inline-block!important;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
}
.mfp-auto-cursor .mfp-content {
    cursor: auto;
    /*background: white;*/
}