* {
    margin: 0;
    padding: 0;
}
body {
    font-family: Arial;
    font-size: 13px;
    color: #fff;
    position: relative;
    background: #3556a6;
    margin: auto;
    padding:0;
}
@media (min-width: 1000px) {
    body {
        max-width: 1151px;
    }
}

ul, ul li {
    list-style: none;
    list-style-image: none;
    list-style-type: none;
}

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

td {
    vertical-align: top;
    padding: 0px;
}

tbody {
    border: none;
}

a {
    color: #fff;
    outline: none;
}

a:hover {
    text-decoration: none;
}

img, a img {
    border: 0;
}

.clear {
    clear: both;
}

fieldset {
    border: none;
    overflow: hidden;
    position: relative;
}

fieldset a {
    color: #fff;
}

fieldset .tips {
    font-size: 10px;
}

.bg {
    width: 100%;
    margin: 0 auto;
    position: relative;
}
.logo a {
    position: absolute;
    height: 89px;
    width: 158px;
    left: 0;
    top: 48px;
    background: url(../img/logo.png) no-repeat 0 0;
}

.header {
    background: #3556a6 url(../img/header.jpg) no-repeat;
    background-size:cover;
    background-position:center;
    height: 209px;
}

.phone {
    position: absolute;
    padding: 13px;
    right: 0;
    border-radius: 10px;
    top: 48px;
    background: url(../img/rep.png) repeat 0 0;
}

.nomber {
    color: #ffffff;
    font-size: 22px;
}

a.callorder {
    height: 39px;
    line-height: 39px;
    color: #17447d;
    width: 128px;
    display: block;
    text-decoration: none;
    padding: 0 0 0 50px;
    margin: 10px 0 0 0;
    background: url(../img/callorder.png) no-repeat 0 0;
}

a.callorder:hover {
    background: url(../img/callorder_h.png) no-repeat 0 0;
}

.mainmenu {
    height: 42px;
    background: url(../img/mm.png) repeat-x 0 0;
}

.content {
    min-height: 500px;
    padding: 30px;
}

.front-page-box {
    background: url(../img/auto2.jpg) no-repeat 0 30px;
    margin: 30px 0;
    position: relative;
}

.f-p-b-r {
    height: 297px;
    float: right;
    width: 494px;
    margin-right: -40px;
    background: url(../img/fpbr.png) no-repeat 0 0;
}

.padd-1 {
    padding: 67px 0 0 79px;
}

.f-p-b-r h3 {
    font-size: 17px;
    color: #388fe9;
    margin: 0 0 20px 0;
}

.f-p-b-r ul {
    padding: 0;
    margin: 0;
}

.f-p-b-r ul li a {
    color: #000;
    display: block;
    padding: 0 0 0 12px;
    margin: 10px 0;
    text-decoration: none;
    background: url(../img/arrow.png) no-repeat 0 5px;
}

.f-a-1 {
    position: absolute;
    top: 124px;
    left: 0;
}

.f-a-2 {
    position: absolute;
    top: 230px;
    left: 190px;
}

.f-a-3 {
    position: absolute;
    top: 236px;
    left: 359px;
}

.f-a-4 {
    position: absolute;
    top: 94px;
    left: 494px;
}

.content p {
    padding: 15px 0;
    width:100%;
}

.content h1 {
    font-size: 18px;
    margin: 0 0 20px 0;
}

.footer {
    height: 129px;
    background: #293a61;
}

.copirit {
    position: absolute;
    top: 60px;
    left: 0;
}

.footermenu {
    position: absolute;
    top: 32px;
    background: url(../img/d.png) repeat-y center 0;
    width: 235px;
    left: 361px;
}

.footermenu ul li {
    float: left;
    width: 50%;
}

.footermenu ul li a {
    margin: 3px 0 3px 15px;
    display: block;
    color: #fff;
}

.soc {
    position: absolute;
    top: 33px;
    right: 0;
}

.rsform-block {
    margin: 10px 0;
}

.clearfixline {
    border-bottom: 1px dashed #fff;
    padding: 10px 0;
    margin: 10px 0;
}

h2 a {
    color: #fff;
}

.rsform-input-box {
    width: 240px;
    padding: 0 10px;
    border: 1px solid #224393;
    height: 40px;
    border-radius: 10px;
}

.rsform-text-box {
    width: 300px;
    border: 1px solid #224393;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid #224393;
}

.rsform-submit-button {
    height: 40px;
    background: #ffdf00;
    width: 260px;
    color: #000;
    border: none;
    font-weight: bold;
    border-radius: 10px;
}

.img-teaser {
    width: 180px;
}

.img-teaser-title a {
    margin: 0 0 10px 0;
    display: block;
    text-align: center;
    color: #fff;
    font-size: 16px;
}

.img-teaser-img img {
    border: 3px solid #224393;
    border-radius: 10px;
}

#callback-panel-1 {
    /* position: fixed; */
    position: fixed;
    width: 352px;
    height: 250px;
    top: 250px;
    left: -290px;
    overflow: hidden;
    z-index: 101;
    background: url('/images/callback-background.png') no-repeat;
}

#callback-panel-1 #callback-panel-content {
    width: 230px;
    height: 100px;
    float: left;
    text-align: justify;
    font-size: 16px;
    padding: 5px 12px;
    margin: 18px 0 15px 55px;
}

#callback-panel-1 .text {
    position: relative;
    top: -10px;
    left: -40px;
    color: #000;
    text-align: center;
}

#callback-panel-1 #callback-panel-content p {
    margin: 2px auto;
}

#callback-panel-1 #callback-panel-sticker {
    float: right;
    position: absolute;
    right: 0;
    top: 0;
    height: 272px;
    width: 45px;
    display: block;
    padding: 10px 5px 15px;
    margin: 10px 10px 15px;
    cursor: pointer;
}

#callback-panel-1 #callback-panel-content #callback_form {
    position: relative;
    top: 5px;
    left: -45px;
}

#callback-panel-1 #callback-panel-content #callback_form input[type="text"] {
    border: 1px solid #beb79c;
    margin-bottom: 10px;
    background-size: 104%;
    height: 33px;
    width: 232px;
    font-size: 18px;
    padding-left: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#callback-panel-1 .cb-submit {
    width: 164px;
    margin: 0 auto;
    display: block;
    height: 45px;
    background-color: #FFC803;
    border: 0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size: 19px;
    text-transform: uppercase;
    font-family: tahoma;
    font-weight: bold;
    color: #3C3C3C;
    cursor: pointer;
    outline: none;
}

#callback-panel-1 #callback_submit {
    background: url('/images/callback_submit_1.png') no-repeat;
    border: 0px;
    width: 246px;
    height: 45px;
    text-indent: -9999px;
    cursor: pointer;
    outline: none;
}

ul#topnav {
    list-style: none;
    padding: 0 0px 0 8px;
    color: #fff;
    text-align: center;
}

ul#topnav:after {
    width: 100%;
    display: inline-block;
    content: ".";
    visibility: hidden;
}

@media (min-width: 1000px) {
    ul#topnav li {
        padding: 10px 20px 10px;
        display: inline-block;
    }
}

ul#topnav li: last-child {
    padding: 10px 0px 10px 11px;
}

ul#topnav li a {
    color: #fff;
    display: block;
    float: left;
    padding: 0px 0px;
    text-decoration: none;
    white-space: nowrap;
}

ul#topnav li:hover {
    z-index: 1600;
    position: relative;
}

ul#topnav li:hover a {
    /*color: #000;*/
}

ul#topnav li.dropdown:hover a {}

ul#topnav > li.current-menu-item > a, ul#topnav > li.current-menu-parent >a {
    /*color: #000*/
}

ul#topnav ul.nav-child {
    position: absolute;
    line-height: 20px;
    display: none;
    width: 179px;
    top: 35px;
    left: 0;
    z-index: 9998;
    padding: 0 0 20px 0;
    background: url('/images/back_drop.png') 0 100% no-repeat;
    float: left;
}

ul#topnav ul.nav-child2 {
    position: absolute;
    display: none;
    width: 179px;
    top: 0px;
    left: 178px;
    z-index: 9999;
    padding: 0px 0px 20px 0px;
    margin: 0;
    background: url('/images/back_drop.png') bottom left no-repeat;
    float: left;
}

ul#topnav ul.nav-child li {
    float: left;
    clear: both;
    height: auto;
    border-bottom: 1px dotted #666;
    position: relative;
    margin: 0;
    padding: 0;
}

ul#topnav ul.nav-child a, ul#topnav li:hover ul.nav-child a {
    display: block;
    width: 160px;
    height: auto;
    padding: 7px 4px 7px 15px;
    float: left;
    font-size: 12px;
    font-weight: normal;
    background: none;
    text-align: left;
    text-transform: none;
    color: #f1f1f1;
    border: none;
    margin: 0;
}

ul#topnav ul.nav-child a:hover, ul#topnav li:hover ul.nav-child li {
    background: none;
}

ul#topnav ul.nav-child li.dropdown, ul#topnav li:hover ul.nav-child li.dropdown {
    background: url(/images/nav_arrow2.png) top right no-repeat;
}

ul#topnav ul.nav-child li a:hover {
    background: none;
    background-color: #f1f1f1;
    color: #333;
}

.questions {
    height: auto;
    text-align: center;
    background-color: #293A61;
    margin: 20px 0 50px;
    padding: 15px;
}

.questions .text {
    margin: 20px 0 15px;
    font-size: 28px;
    line-height: 28px;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 2px 2px 0px rgba(77, 77, 77, 1);
}

.questions input[type="text"] {
    border: 1px solid #beb79c;
    background-size: 104%;
    height: 33px;
    width: 235px;
    font-size: 18px;
    padding-left: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    position: relative;
    outline: 0;
}

.questions input[type="submit"] {
    width: 164px;
    margin: 0px auto 0;
    /* display: block; */
    height: 38px;
    background-color: #FFC803;
    border: 0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size: 19px;
    text-transform: uppercase;
    font-family: tahoma;
    font-weight: bold;
    color: #3C3C3C;
    cursor: pointer;
    outline: none;
}

.side-form {
    float: right;
    width: 274px;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    padding: 20px 7px;
    margin-left: 15px;
    position: relative;
    top: -20px;
    overflow: hidden;
    border: 1px solid #38A5D8;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    background: -webkit-linear-gradient(-90deg, rgba(0, 150, 255, 1) 0, rgba(14, 90, 255, 1) 100%);
    background: -moz-linear-gradient(180deg, rgba(0, 150, 255, 1) 0, rgba(14, 90, 255, 1) 100%);
    background: linear-gradient(180deg, rgba(0, 150, 255, 1) 0, rgba(14, 90, 255, 1) 100%);
    background-position: 50% 50%;
    -webkit-background-origin: padding-box;
    background-origin: padding-box;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-background-size: auto auto;
    background-size: auto auto;
    -webkit-box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, 0.3);
}

.side-form strong {
    text-transform: uppercase;
    font-size: 15px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

/*#formwithfile {
    margin-top: 10px;
}

#formwithfile input[type="text"] {
    display: block;
    border: 1px solid #beb79c;
    margin: 0px auto 10px;
    background-size: 104%;
    height: 36px;
    width: 235px;
    font-size: 18px;
    padding-left: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin-top: -2px;
    position: relative;
    top: -1px;
    outline: 0;
}

#formwithfile textarea {
    display: block;
    border: 1px solid #beb79c;
    margin: 0px auto 10px;
    background-size: 104%;
    height: 86px;
    font: normal normal normal 13.3333330154419px/normal Arial;
    width: 235px;
    font-size: 18px;
    padding-left: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin-top: -2px;
    position: relative;
    top: -1px;
    outline: 0;
}

#formwithfile input[type="submit"] {
    width: 164px;
    margin: 0px auto 0;
     display: block; 
    height: 38px;
    background-color: #FFC803;
    border: 0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size: 19px;
    text-transform: uppercase;
    font-family: tahoma;
    font-weight: bold;
    color: #3C3C3C;
    cursor: pointer;
    outline: none;
}*/
#formwithfile input{
    display: block;
    margin-bottom: 5px;
}
@media (min-width: 1000px) {
    #main-banner {
        position: relative;
        background-color: #4A69B1;
        height: 280px;
    }
}

#main-banner .inner {
    padding: 55px 0 0;
    display: block;
    width: 1024px;
    margin: 0 auto;
}

#main-banner .inner .h, #main-banner .inner h1 {
    text-align: center;
    font-size: 50px;
    text-transform: uppercase;
    font-weight: bold;
    color: #FFC803;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 0px rgba(77, 77, 77, 1);
}

#main-banner .inner .sh {
    text-align: center;
    margin: 9px;
    font-size: 25px;
    line-height: 22px;
}

#main-banner input[type="text"] {
    border: 1px solid #beb79c;
    margin-bottom: 10px;
    background-size: 104%;
    height: 36px;
    width: 235px;
    font-size: 18px;
    padding-left: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin-top: -2px;
    position: relative;
    top: -1px;
    outline: 0;
}

#main-banner input[type="submit"] {
    width: 164px;
    margin: 0px auto 0;
    /* display: block; */
    height: 38px;
    background-color: #FFC803;
    border: 0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size: 19px;
    text-transform: uppercase;
    font-family: tahoma;
    font-weight: bold;
    color: #3C3C3C;
    cursor: pointer;
    outline: none;
}

#main-banner form {
    margin: 30px auto;
    width: 700px !important;
    text-align:center;
}

.ph_inner {
    width: 900px;
    margin: 0 auto;
    clear: both;
    height: 230px;
}
.ph_ph {
    width: 30%;
    float: left;
}
@media (min-width: 1000px) {
    .photo_av {
        width: 61%;
        float: right;
    }
}
.ph_ph img {
    width: 382px;
}
.photo_av strong {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
    color: #FFC803;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 0px rgba(77, 77, 77, 1);
}
.photo_av span {
    font-size: 18px;
    margin-bottom: 10px;
    display: block;
}
.width-200 {
    width: 250px;
}
form#formwithfile {
    width: 100%;
    margin: 0 auto;
}

.photo_calc {
    padding: 10px;
    background-color: #4a69b1;
    position: relative;
    margin-bottom: 15px;
    /* border: 1px solid; */
}
.f-a-1, .f-a-2, .f-a-3, .f-a-4 {
    display:none;
}

/* Styles for mobile */
@media (max-width: 1000px) {
    html, body {
        overflow-x: hidden;
    }
    .mainmenu {
        position:fixed;
        z-index:10000;
        top:10px;
        left:10px;
    }
    .mainmenu ul {
        margin:0;
        padding:0;
    }
    ul#topnav {
        background:rgba(0,0,0,.8);
        text-align:left;
    }
    ul#topnav:before {
        content:'Меню';
        line-height:40px;
        padding:30px 20px 0 10px;
        font-weight:bold;
    }
    ul#topnav li {
        padding:0;
        display:blink;
        height:auto;
    }
    ul#topnav li a {
        font-size:0 !important;
        float:none;
        height:0;
    }
    ul#topnav li a {
        font-size:0 !important;
        float:none;
        height:0;
        padding:0;
        margin-top:-20px;
    }
    ul#topnav:hover {
        width:250px;
    }
    ul#topnav:hover li a {
        font-size:21px !important;
        font-weight:normal;
        height:auto;
        padding:10px 20px;
        margin-top:0;
    }
    ul#topnav ul.nav-child, ul#topnav ul.nav-child {
        margin-left:-8000px;
        display:none;
    }
    ul#topnav ul.nav-child a, ul#topnav li:hover ul.nav-child a {
        width: 280px;
        background:rgba(0,0,0,.7);
        color:#fff;
    }
    ul#topnav:hover li:first-child a {
        padding-top:20px
    }
    
    .logo a {
        top:0;
        right:20px;
        left:auto;
    }
    .header {
        background: #3556a6 url(../img/header2.jpg) no-repeat;
        background-size:cover;
        background-position:center;
        height: 210px;
    }
    .phone {
        top:130px;
        right:20px;
    }
    .content {
        width:85%;
        margin:0;
        padding:30px 0 20px 0;
        margin:auto;
    }
    .bx-viewport {
        display:none;
    }
    .footer {
    	height:auto;
        padding: 0 20px;
    }
    .footermenu {
        width:100%;
    }
    .copirit, .soc {
        display:none;
    }
    .footermenu {
        left:0;
        top:20px;
        font-size:21px;
        margin-bottom:40px;
    }
    .footermenu ul li {
        width:100%;
        line-height:24px;
    }
    .footermenu ul li a:hover {
        background:transparent;
    }
        
    .front-page-box {
        background: url(../img/auto2.jpg) no-repeat;
        background-size:contain;
    }
    .f-p-b-r {
        width:100%;
        float:none;
        margin:0;
        padding-top:20vw;
        font-size:21px;
        line-height:24px;
        background:transparent;
        height:auto;
    }
    .f-p-b-r ul li a:hover {
        background:transparent;
    }
    .f-p-b-r ul li a {
        color:#fff;
    }
    .f-p-b-r ul li {
        background:rgba(255,255,255,.1);
        padding:7px;
    }
    .padd-1 {
        width:100%;
        margin:auto;
        padding:30px 0 0 0;
    }
    
    .questions {
        width:90vw;
        height:auto;
        text-align:center;
        background-color:#293A61;
        margin:20px 0;
        padding:15px;
    }
    .questions input[type="text"] {
        width:80%;
        margin:7px auto;
    }
    
    #main-banner {
        width:88vw !important;
        height:auto !important;
    }
    #main-banner .inner, #main-banner form {
        width: 100% !important;
    }
    #main-banner .inner .h, #main-banner .inner h1 {
        font-size:35px;
        line-height:35px;
    }
    img, a img {
        margin-left:0;
        margin-right:0;
        
    }
    #callback-panel-1 {
        top:auto;
        bottom:0;
        display:none;
    }
    #main-banner input[type="text"] {
        display:block;
        width:90%;
    }
    #main-banner form {
        width:100% !important;
    }
    .ph_ph img {
        display:none;
    }
    .ph_inner {
        width:100%;
        height:auto;
    }
    
    .jbzoo .width25, .img-teaser {
       width:90%;
    }    
    #gallery-1, .img-teaser-img, .img-teaser-title, .jbgallery > img {
       width:100%;
    }
    .img-teaser
        width:auto;
    }
    .item-page {
        width:95%;
    }
}