/* *** Fonts *** */

@font-face {
    font-family: Roboto;
    src: url(../font/Roboto/Roboto-Regular.ttf),
    url(../font/Roboto/roboto-regular_[allfont.ru].eot),
    url(../font/Roboto/Roboto-Regular.svg),
    url(../font/Roboto/Roboto-Regular.woff);
}

/* *** Main Styles *** */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
    background: #ffffff;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

html {
    min-height: 100%;
    /*min-width: 1090px;*/
}

body {
    background: #fff;
}

.pop_up_box {
    display: block;
    width: 950px;
    margin: 0 auto;
    text-align: center;
}

.pop_up_box .tel {
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.6);
    text-align: center;
}

.pop_up_box .tel a {
    font-family: Roboto;
    font-size: 35px;
    color: #fff;
    text-decoration: none;
    background: url(../img/phon.png) no-repeat right;
    padding-right: 55px;
}

.pop_up_box > img {
    width: 30%;
    margin-top: 20px;
    margin-bottom: 40px;
}

.pop_up_box .slide {
    min-height: 460px;
    overflow: hidden;

    /* Стили, меняющие ширину карусели */

    width: 640px;
    display: block;
    margin: 0 auto;
}

.pop_up_box p {
    color: #333333;
    padding-top: 50px;
    width: 660px;
    font-family: Roboto;
    font-size: 16px;
    line-height: 25px;
    margin: 0 auto;
    padding-bottom: 65px;
}

.pop_up_box h2 {
    font-family: Roboto;
    font-size: 22px;
    color: rgba(0, 0, 0, 0.7);
    padding-bottom: 70px;
}

.pop_up_box .order {
    margin: 0 auto;
    width: 650px;
    border: 2px solid #0e63af;
    padding-bottom: 20px;
}

.pop_up_box .order h3 {
    margin-top: -15px;
    display: inline-block;
    padding: 0px 20px;
    background: #FFFFFF;
    font-family: Roboto;
    font-size: 32px;
    color: #0e63af;
    padding-bottom: 20px;
}

.pop_up_box .order h4 {
    font-family: Roboto;
    font-size: 22px;
    font-weight: bold;
    color: #0e63af;
    padding-bottom: 35px;
}

.pop_up_box h3 {
    font-family: Roboto;
    font-size: 32px;
    color: rgba(0, 0, 0, 0.7);
    margin-top: 60px;
    padding-bottom: 20px;
}

.pop_up_box form .bott input[type="text"] {
    font-family: Roboto;
    margin-right: 10px;
    color: #4d4d4d;
    font-size: 12px;
    padding: 15px 10px;
    border: 2px solid #9b9b9b;
    border-radius: 5px;
    width: 170px;
}

.pop_up_box .order form .btn_submit {
    border: none;
    background: rgb(14, 99, 175);
    /*background: -moz-linear-gradient(270deg, rgb(14, 99, 175) 31%, rgb(73, 137, 195) 80%);*/
    /*background: -webkit-linear-gradient(270deg, rgb(14, 99, 175) 31%, rgb(73, 137, 195) 80%);*/
    /*background: -o-linear-gradient(270deg, rgb(14, 99, 175) 31%, rgb(73, 137, 195) 80%);*/
    /*background: -ms-linear-gradient(270deg, rgb(14, 99, 175) 31%, rgb(73, 137, 195) 80%);*/
    /*background: linear-gradient(0deg, rgb(14, 99, 175) 31%, rgb(73, 137, 195) 80%);*/

    font-family: Roboto;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    padding: 9px 39px;
    border-radius: 50px;
}

.pop_up_box span {
    color: #333333;
    width: 650px;
    font-family: Roboto;
    font-size: 16px;
    line-height: 25px;
    margin: 0 auto;
}

.pop_up_box .map {
    margin-top: 35px;
    height: 310px;
    width: 100%;
    overflow: hidden;
}

.pop_up_box .owl-item img {
    width: 100%;
}

.pop_up_box .owl-buttons {
    position: absolute;
    width: 100%;
    top: 40%;
}

.pop_up_box .owl-buttons div {
    position: absolute;
    font-size: 40px;
    color: rgba(51, 51, 51, 0.7);
    background: rgba(221, 221, 221, 0.7);
    padding: 30px 20px;
}

.pop_up_box .owl-buttons div:hover {
    color: rgba(11, 120, 185, 0.7);
}

.pop_up_box .owl-buttons .owl-prev {
    left: 0;
}

.pop_up_box .owl-buttons .owl-next {
    right: 0;
}

.pop_up_box .owl-pagination {
    margin-top: 15px;
}

.pop_up_box .owl-page {
    display: inline-block;
    margin-right: 5px;
}

.pop_up_box .owl-carousel span {
    width: 15px;
    font-size: 16px;
    line-height: 25px;
    margin: 0 auto;
    height: 15px;
    background: #D7D7DA;
    display: inline-block;
    border-radius: 1000px;
}

.pop_up_box .owl-pagination .active span {
    background: #24BFF0
}

/* *** Media Rules *** */

@media (max-width: 768px) {

    .pop_up_box{
        width: 100% !important;
    }

    .pop_up_box p {
        width: auto !important;
        padding: 10px 20px !important;
    }

    .pop_up_box .order {
        width: 90% !important;
    }

    .pop_up_box form .bott input[type="text"] {
        width: 75% !important;
        margin: 10px 0px !important;
    }

    .pop_up_box .map {
        margin-top: 18px;
    }
}

@media (max-width: 425px) {
    .pop_up_box .slide {
        width: 100%;
        min-height: initial;
        padding-bottom: 30px;
    }

    .pop_up_box .map {
        height: 200px;
    }

    .pop_up_box > img {
        width: 80%;
    }

    .pop_up_box .owl-buttons {
        top: 30%;
    }

    .dg-container {
        width: 100% !important;
        height: 310px !important;
    }

    .dg-wrapper {
        width: 100% !important;
        height: 100% !important;
    }

    .dg-wrapper a {
        width: 100% !important;
        height: 93% !important;
    }
}

@media (max-width: 375px) {
  .dg-container {
    height: 280px !important;
  }
    .pop_up_box .owl-carousel .owl-item img {
        width: 338px;
    }
}

@media (max-width: 320px) {
    .pop_up_box .tel a {
        font-size: 30px;
    }

    .pop_up_box span {
        font-size: 14px;
    }

    .pop_up_box h2 {
        font-size: 18px;
        padding-top: 20px;
        padding-bottom: 50px;
    }

    .pop_up_box .order h3 {
        font-size: 25px;
    }

    .pop_up_box .order h4 {
        font-size: 15px;
    }

    .pop_up_box h3 {
        margin-top: 50px;
        font-size: 27px;
    }

    .pop_up_box p {
        font-size: 14px;
    }

    .pop_up_box .owl-carousel .owl-item img {
        width: 290px;
    }

    .pop_up_box .owl-buttons {
        top: 23%;
    }

    .dg-wrapper {
      height: 83% !important;
    }
}