@font-face {
    font-family: 'Mipgost';
    src: url('/fonts/Mipgost.ttf');
}

@font-face {
    font-family: 'GOSTTypeA';
    src: url('/fonts/GOSTTypeA.woff');
}

@font-face {
    font-family: 'ACBoucle';
    src: url('/fonts/ACBoucle.woff');
}

body {
    background: #3d3d3d;
    font-family: GOSTTypeA;
    color: #fff;
    font-size: 24px;
}

.modal {
    color: #3d3d3d;
}

::placeholder {
    color: #9d9b9b !important;
}

.required {
    position: relative;
}

.required:before {
    content: "*";
    color: red;
    position: absolute;
    top: 8px;
    left: 2px;
}

header {
    min-height: 670px;
    background: url("/img/header.jpg");
    background-size: cover;
}

.logo {
    display: inline-block;
    padding: 8px 8px 8px 0px;
    height: auto;
}

.logo img {
}

.bg-dark {
    border-radius: 0px;
    background: #181818;
    min-height: 100px;
}

.before-naw, .before-naw a {
    font-size: 24px;
    height: 50px;
    color: #ffe000;
    line-height: 2.5em;
}

.before-naw span img {
    margin-top: -5px;
}

.before-naw .phones span:first-child {
    margin-right: 40px;
}

.navbar-nav > li > a {
    font-size: 24px;
    line-height: 2.86;
}

header .header-text {
    font-family: ACBoucle;
    color: #f3f3f2;
}

header .header-text h1, header .header-text h2 {
    margin: 0;
    color: #f3f3f2;
}

header .header-text h1 {
    font-size: 50px;
    margin-top: 55px;
}

header .header-text h2 {
    font-size: 38px;
}

header .header-text h1 span {
    font-size: 55px;
    text-transform: uppercase;
}

header .header-text p {
    margin-top: 30px;
}

header .header-text p:nth-child(3) {
    font-size: 30px;
    line-height: 1.3em;
}

header .header-text p:nth-child(4) {
    font-size: 36px;
    margin-top: 23px;
}

.btn {
    border-radius: 0;
    text-transform: uppercase;
}

.btn-warning {
    background: #ffe000;
    color: #000;
}

header .btn-lg {
    margin-top: 20px;
    font-size: 36px;
    padding: 8px 54px 8px 54px;
    line-height: normal;
}

.section1 .container {
    background: url("/img/section1-bg.png");
    background-position: center;
    padding-top: 50px;
    background-size: contain;
}

section h2 {
    text-transform: uppercase;
    text-decoration: underline;
    color: #ffe000;
    margin-bottom: 35px;
}

.section1 div.img {
    height: 90px;
}

.section1 h3 {
    color: #ffe000;
    text-transform: uppercase;
    font-size: 24px;
    margin-bottom: 22px;
}

.section1 .col-md p {
    font-size: 20px;
}

.section1 .container div.row:nth-child(2) {
    margin-bottom: 35px;
}

.section1 .container div.row:nth-child(3) {
    font-size: 24px;
    line-height: 1.25em;
}

.section1 .container {
    padding-bottom: 30px;
}
/*
.section2 {
    line-height: 1.25em;
}

.section2 p {
    margin-bottom: 25px;
}

.section2 .container {
    background: url("/img/section2-bg.png");
    color: #3d3d3d;
    padding: 50px 36px 50px 45px;
    box-shadow: #000 2px 2px 30px;
}

.section2 img {
    width: 100%;
}

.section2 .row div:last-child {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section2 ul, .section3 ul {
    list-style-position: inside;
    padding: 0;
    letter-spacing: -0.5pt;
}
*/

/************* Начало моих правок - дублировал с .section1 ***************/


.section2 .container {
    background: url("/img/section2-bg.png");
    background-position: center;
    padding-top: 50px;
    background-size: contain;
}

section h2 {
    text-transform: uppercase;
    text-decoration: underline;
    color: #ffe000;
    margin-bottom: 35px;
}

.section2 div.img {
    height: 90px;
}

.section2 h3 {
    color: #ffe000;
    text-transform: uppercase;
    font-size: 24px;
    margin-bottom: 22px;
}

.section2 .col-md p {
    font-size: 20px;
}

.section2 .container div.row:nth-child(2) {
    margin-bottom: 35px;
}

.section2 .container div.row:nth-child(3) {
    font-size: 24px;
    line-height: 1.25em;
}

.section2 .container {
    padding-bottom: 30px;
}

/************* Конец моих правок - дублировал с .section1 ***************/

.section3 {
    margin-top: 80px;
}

.section3 .row:nth-child(3) {
    margin-top: 50px;
}

.section3 h2 {
    display: inline-block;
}

.section3 .row:first-child {
    font-size: 23px;
}

.section3 form {
    background: #f8f7f3;
    box-shadow: #000 2px 2px 30px;
    padding: 35px;
    color: #3d3d3d;
}

.section3 .col-sm-9 {
    padding: 0;
}

.form-control {
    border-radius: .1rem;
    box-shadow: rgba(158, 156, 156, 0.39) 2px 2px 20px inset;
    border: 1px #cfcecc solid;
}

.section3 .col-sm:last-child h3:nth-child(5) {
    margin-top: 35px;
}

.section3 form button {
    font-size: 22px;
    font-weight: 600;
}

.section4 .row:nth-child(2) [class^="col"] .wrap {
    background: #ededed;
    padding: 20px;
    margin: 27px;
    height: 80%;
    color: #3d3d3d;
    font-size: 24px;
    letter-spacing: -1pt;
}

.section4 .info {
    padding: 30px 8px;
    line-height: 1.2em;
}

.section4 .info p, .section4 .info h3 {
    margin-bottom: 1.4rem;
}

.section5 {
    background: #181818 url("/img/engine.png") no-repeat;
    background-position: 10% 50%;
    position: relative;
    padding-top: 30px;
}

.section5 a {
    color: #fff;
}

#map {
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
}

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.yellow {
    color: #ffe000;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }

    .section2 .container {
        max-width: 1230px;
    }
}

@media (max-width: 748px) {
    #map {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: 300px;
    }

    .logo {
        width: 70%;
    }
    .logo img{
        width: 100%;
    }

    .before-naw {
        height: auto;
        padding: 10px;
        word-wrap: break-word;
    }

    .before-naw .phones,
    .before-naw .email {
        text-align: center !important;
    }

    .before-naw .phones span:first-child{
        margin-right: 5%;
    }

    header .btn-lg {
        padding: 5px 15px;
        margin-bottom: 20px;
    }
}