@import url('https://fonts.googleapis.com/css?family=Open+Sans:subset=cyrillic');

body {
    padding: 0px;
    margin: 0px;
    font-family: "Open Sans";
    font-size: 15px;
    color: #000000;
    background-color: #ffffff;
    min-width: 480px;
}

.inline > * {
    display: inline-block !important;
    vertical-align: middle;
}

.navbar-default .socials a {
    padding: 9px 0px 9px 9px;
}

.socials a {
    height: 50px;
}

.navbar-default {
    -webkit-transition: ease .2s;
    transition: ease .2s;
}
.nav-first {
    background-color: #292929;
}
@media (min-width: 768px) {
    .navbar-default.affix {
        margin-top: -51px;
        -webkit-transition: ease .2s;
        transition: ease .2s;
        background-color: #292929;
    }
    .nav-first {
        background-color: transparent;
    }
}

a,
a:focus,
.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > li > a:focus {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
}

a:hover,
.navbar-default .navbar-nav > li > a:hover {
    color: red;
    text-decoration: none;
}

.navbar-agency {
    background-color: transparent;
    border-style: none;
}

.nav-first {
    border-width: 0px 0px 1px 0px;
    border-style: solid;
    border-color: #ffffff;
}

.brand {
    padding-right: 15px;
    padding-top: 0px;
    padding-bottom: 8px;
}

.nav-second {
    margin-top: 5px;
    margin-bottom: 5px;
}

.navbar-default .nav-second .brand-title {
    max-width: 300px;
    font-weight: 600;
    color: white;
    border-left: 1px solid rgba(255, 255, 255, 0.7);
    padding-left: 10px;
    margin-top: 8px;
    margin-left: 10px;
}

nav span a {
    font-size: 20px;
    font-weight: 700;
}

.btn {
    padding: 10px 10px;
    text-transform: uppercase;
    background-image: none;
}

.btn.btn-5agency {
    background-color: #f00;
    border: 0;
    color: white;
    font-weight: 600;
    border-bottom: 4px solid #9e0000;
    -webkit-transition: ease .2s;
    transition: ease .2s;
}

.nav-second .btn {
    margin-left: 30px;
}

.nav-second a {
    margin-left: 15px;
}

.btn.btn-5agency:hover,
.btn.btn-5agency:focus {
    background-color: #cc0000;
    border-bottom: 4px solid #7a0000;
}
.btn.btn-5agency.disabled {
    opacity: .5;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: white;
}

.navbar-default .navbar-brand {
    color: #ffffff;
}

button.navbar-toggle {
    border-style: none;
    margin-top: 12px;
    margin-bottom: 12px;
    width: 40px;
    height: 40px;
}

.text-white {
    color: white;
}

section {
    padding-top: 60px;
    padding-bottom: 60px;
}

section#top {
    padding-top: 0px;
    padding-bottom: 0px;
    position: relative;
}


#top {
    color: #ffffff;
}

#top .promo {
    z-index: 2;
    position: absolute;
    top: 55%;
    left: 0;
    right: 0;
    padding-left:20px;
    padding-right: 20px;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    text-align: center;
}

.gotop {
    display: none;
    position: fixed;
    bottom: 8%;
    left: 6%;
    width:40px;
    height:40px;
}

a.gotop-button {
    font-size: 40px;
    color: darkgray;
}
a.gotop-button:hover {
    font-size: 40px;
    color: red;
}


.video-div {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #000000;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-block, .video-block iframe{
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

@media (min-aspect-ratio: 16/9) {
    .video-block {
        height: 300%;
        top: -100%;
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-block {
        width: 300%;
        left: -100%;
    }
}

.img-covered {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
}

.header-bg {
    background-image: url('../img/header-bg.jpg');
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    text-transform: uppercase;
}

h1 {
    font-size: 32px;
    font-weight: 700;
}

h2 {
    font-size: 28px;
    margin: 0px 0px 60px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 20px;
    margin-top: 30px;
}

h6 {
    font-size: 16px;
}

@media (max-width: 768px) {
    section,
    footer,
    header {
        padding-left: 20px;
        padding-right: 20px;
    }

    section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    h1 {
        font-size: 22px;
    }
    h2 {
        font-size: 19px;
    }

    h6 {
        font-size: 16px;
    }

    h5 {
        font-size: 14px;
    }

    #reviews p {
        font-size: 13px;
    }

    fieldset > legend {
        font-size: 19px;
    }

    #we p {
        font-size: 16px;
    }

    #top p {
        font-size: 15px;
        font-weight: normal;
    }

    .btn.btn-5agency {
        font-size: 15px;
    }
    .btn.btn-5agency.btn-big {
        font-size: 18px;
    }

    footer span {
        font-size: 11px;
    }

}

footer .citata {
    padding-top: 20px;
}

nav a.brand {
    padding-top:12px;
}

nav a img:hover {
    opacity: 0.5;
}

p.p1 {
    font-size: 18px;
    font-style: normal;
}

p.p2 {
    font-size: 21px;
}

button.btn-big {
    font-size: 21px;
    font-weight: 600;
    padding: 11px;
}

#site {
    background-image: url(../img/site-bg.png);
    background-repeat: repeat;
}

#site div.row {
    background-color: #292929;
}

#site span.glyphicon {
    margin-top: 78px;
    font-size: 22px;
    color: #8e8e8e;
}

@media (max-width: 992px) {
    #site div.row {
        margin-bottom: 20px;
    }
}

#site p {
    font-size: 16px;
    font-style: normal;
    margin-bottom: 30px;
}
.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

.digit {
    font-family: "Open Sans Light";
    font-size: 60px;
    color: #555555;
    margin: 10px 0px;
    margin-left: 15px;
}

.carousel-cnt {
    color: darkgray;
    font-size: 32px;
    border: 3px solid darkgray;
    width: 40px;
    height: 40px;
    text-align: center;
    margin: 0 5px;
}

.carousel-cnt:hover {
    color: red;
    border-color: red;
}

#we {
    background-image: url('../img/we-bg.jpg');
}

#we p {
    font-size: 18px;
}

fieldset {
    border-width: 3px;
    border-style: solid;
    border-color: #ffffff;
    padding: 30px 60px;
}

#reviews fieldset {
    padding: 10px 15px;
}

legend {
    color: #ffffff;
    font-family: "Open Sans Semibold";
    font-size: 28px;
    text-transform: uppercase;
    width: auto;
    margin: 0px auto;
    padding: 0px 20px;
    border-width: 0px;
}

#seo a {
    color: red;
    text-transform: none;
}

#seo a:hover {
    text-decoration: underline;
}

#reviews {
    background-image: url('../img/reviews-bg.jpg');
}

#reviews div.item {
    height: 300px;
    width: 100%;
    margin:0;
}

.col-in-center {
    height: 100%;
}

.v-center {
    position: relative;
    top:50%;
    transform: translate(0,-50%);
}

#car-left {
    float: left;
    position: relative;
    top: -166px;
    left: -42px;
}

#car-right {
    float: right;
    position: relative;
    top: -166px;
    left: 42px;
}

#reviews .carousel-cnt {
    background: white;
    border-style: none;
    height: auto;
    padding-bottom: 2px;
    padding-top: 2px;
}


@media (max-width: 992px) {
    #reviews div.item {
        height: 460px;
    }

    #reviews .col-in-center {
        height: 50%;
    }

    #reviews div.col-in-center.review-image {
        height: 150px;
    }
    #car-left {
        top: -246px;
    }
    #car-right {
        top: -246px;
    }
}

#siteCarousel .row {
    margin-left: 0px;
    margin-right: 0px;
}

#portfolio a {
    color: red;
}

#portfolio a:hover {
    text-decoration: underline;
    cursor: pointer;
}

.table>tbody>tr>td {
    vertical-align: middle;
}

table td {
    width: 25%;
    text-align: center;
    background: #f0f0f0;
    border: solid 10px white;
}
td.t-active {
    background: #ffd6d6;
}

td p {
    margin: 0;
}

td.t-head {
    background: #b7b7b7;
}

td.t-head h6 {
    text-transform: uppercase;
    color: white;
    font-weight: 700;
    line-height: normal;
}

.table>tbody>tr>td {
    line-height: normal;
}

td.t-head.t-active {
    background: red;
}

#main-form button.btn.btn-5agency.btn-big {
    width: 100%;
}

@media (max-width: 768px) {
    td.t-head h6 {
        font-size: 7px;
    }
    td p {
        font-size: 9px;
    }

    #main-form button.btn.btn-5agency.btn-big {
        font-size:15px;
        width: 100%;
    }

    #main-form fieldset {
        padding: 30px;
    }
}

#myCarousel .item .row div.col-md-6 {
    height: 480px;
}

#main-form {
    background-color: #b80000;
    background-image: -webkit-radial-gradient(#b80000, #660000);
    background-image: radial-gradient(#b80000, #660000);
    color: white;
}

#main-form fieldset {
    background: #dd7070;
}

#main-form input {
    color:  black;
}

#main-form input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #b80000;
}
#main-form input::-moz-placeholder { /* Firefox 19+ */
    color: #b80000;
}
#main-form input:-ms-input-placeholder { /* IE 10+ */
    color: #b80000;
}
#main-form input:-moz-placeholder { /* Firefox 18- */
    color: #b80000;
}

#main-form .btn.btn-5agency {
    box-shadow:0px 0px 35px white;
}

#main-form p {
    margin: 0;
}

#main-form .p1 {
    font-size: 35px;
    font-weight: 700;
}
#main-form .p2 {
    font-size: 29px;
    font-weight: 700;
}
#main-form .p3 {
    font-size: 18px;
    font-weight: 600;
}
#main-form .p4 {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 8px;
}
#main-form .digits {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    margin-right: 15px;
}

#main-form .digits span {
    font-size: 47px;
    font-weight: bold;
    display: block;
}

#main-form .digits:after {
    position: absolute;
    content: ':';
    font-size: 47px;
    font-weight: bold;
    display: block;
    top: -3px;
    right: -16px;
}

#main-form .digits:last-child:after {
    display: none;
}

.form-group div{
    position:relative;
}
.form-group div:after{
    position:absolute;
    content:'*';
    color:red;
    right:5px;
    top:0;
}

footer#contacts {
    background-image: url('../img/footer-bg.jpg');
    padding-top: 60px;
    padding-bottom: 60px;
}

#contacts .socials {
    padding-top: 12px;
    padding-left: 12px;
}

#contacts .col-xs-6.inline {
    padding-top: 10px;
    padding-bottom: 10px;
}

#go5 {
    background: red;
}

#go5 a:hover {
    color: white;
    text-decoration: underline;
}

.modal h5 {
    padding: 0 20px;
}