@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700,800i,900|Oswald|PT+Serif|Roboto&display=swap');

@font-face {
    font-family: 'Highliner';
    src: url(../fonts/Highliner/Highliner-light.otf) format("opentype");
    font-weight: lighter;
}

@font-face {
    font-family: 'Highliner';
    src: url(../fonts/Highliner/Highliner-regular.otf) format("opentype");
    font-weight: normal;
}

@font-face {
    font-family: 'Highliner';
    src: url(../fonts/Highliner/Highliner-bold.otf) format("opentype");
    font-weight: bold;
}

@font-face {
    font-family: 'DINPro';
    src: url(../fonts/DIN/DINPro.woff) format("opentype");
    font-weight: lighter;
}

@font-face {
    font-family: 'DINPro';
    src: url(../fonts/DIN/DINPro-Medium.woff) format("opentype");
    font-weight: normal;
}


/*
font-family: 'Roboto', sans-serif;
font-family: 'Montserrat', sans-serif;
font-family: 'Oswald', sans-serif;
font-family: 'PT Serif', serif;
*/
body {
    padding-top: 2em;
    overflow-x: hidden;
}

h2 {
    font-family: 'Highliner', sans-serif;
    font-size: 7.5em;
    display: inline-block;
    padding-bottom: 0.1em;
}

.header {
    font-family: 'DINpro'
}

.header a {
    color: #000 !important;
}

.header__contacts p {
    margin: 0;
}

h2.h2__line-right {
    position: relative;
    margin-top: -1em;
}

h2.h2__line-right::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 90px;
    position: absolute;
    top: 74px;
    right: -15px;
    background-color: #df2f41;
    z-index: 1;
}

.header__phone {
    text-align: center;
}

.header__phone .phone {
    font-size: 2em;
    font-weight: 500;
}

.header__city {
    padding-left: 1.5em;

}

.header__city::before {
    content: '';
    display: inline-block;
    width: 2px;
    left: 0;
    height: 105%;
    position: absolute;
    top: -2em;
    background-color: #000;
    z-index: -1;
}

.header__city p:first-child {
    margin-bottom: 0.2em;
}

.header__city p:first-child::before {
    content: '';
    background-image: url(../img/tick.png);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    display: inline-block;
    left: 0em;
    top: 0.3em;
    position: relative;
}

.header__phone p {
    color: #ed2024;
    line-height: 0.2;
}

.header__contacts .whats::before {
    content: '';
    background-image: url(../img/whats.png);
    width: 24px;
    background-position: center;
    background-size: contain;
    height: 24px;
    background-repeat: no-repeat;
    display: inline-block;
    left: 0em;
    top: 0.3em;
    position: relative;
}

.header__contacts .work_tm::before {
    content: '';
    background-image: url(../img/time.png);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    display: inline-block;
    left: 0em;
    top: 0.3em;
    position: relative;
}
.header__contacts .email{
    position: relative;
}
.header__contacts .email::before {
    content: '';
    background-image: url(../img/email.png);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    display: inline-block;
    left: -19px;
    top: 3px;
    position: absolute;
}

.header__contacts {
    text-align: right;
}

.first-screen {
    background-image: url(../img/bg.jpg);
    height: 550px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
    margin-bottom: 1.5em;
    box-shadow: 0 42px 37px -8px inset white, 0 -51px 37px -8px inset white;
}

.header__phone .btn.btn-primary.btn_shadow.btn-block {
    width: 60%;
    margin: 0 auto;
    color: #fff !important;
    padding: 0.3em;
    margin-bottom: 1.5em;
}

.offer__title {
    font-family: 'Highliner', sans-serif;
    text-transform: uppercase;
}

.offer {
    margin-top: 10%;
}

.offer__title h1 {
    font-size: 8.5em;
    line-height: 0.3;
}

.offer__title .description {
    font-size: 4.6em;
    padding: 0.2em 0 0.01em;
    line-height: 1.2;

}

.offer__text {
    font-weight: 500;
    font-size: 1.1em;
    margin-bottom: 2.7em;
}

.btn:focus,
.btn:active {
    box-shadow: none !important;
    outline: none !important;
}

.btn {
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    border-radius: 0;
    transition: 0.3s;
    font-size: 1.1em;
    border: none;
    padding: 1em .5em;
}

.btn.btn-primary {
    background: #df2f41;
}

.btn-secondary {
    background: #6f7489;
}

.btn_shadow {
    position: relative
}

.btn-secondary.btn_shadow:after {
    box-shadow: 0 0px 15px 0.45em rgba(69, 69, 69, 0.71);
}

.btn-secondary.btn_shadow:hover:after {
    box-shadow: 0 0px 15px 0.45em rgba(52, 52, 52, 0.71);
}

.btn_shadow:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 1em;
    right: 1em;
    height: 0px;
    box-shadow: 0 0px 15px 0.45em rgba(223, 47, 65, .71);
    transition: .3s;
}



.btn_shadow:focus:after,
.btn_shadow:hover:after {
    box-shadow: 0 0px 15px 0.45em rgba(223, 47, 65, 1);
}

.btn.btn-primary:focus,
.btn.btn-primary:hover {}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
    background: #bc2030;
}

.button {
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    -webkit-box-shadow: -9px 31px 16px -20px rgba(223, 47, 65, 0.71);
    -moz-box-shadow: -9px 31px 16px -20px rgba(223, 47, 65, 0.71);
    box-shadow: -9px 31px 16px -20px rgba(223, 47, 65, 0.71);
    background: #df2f41;
    padding: 1em 3em;
    font-size: 1.2em;
}

.button a:hover {}

.first-screen a {}

.header .navbar {
    text-align: justify;
}

.header .navbar .navbar-collapse a {
    font-size: 1.05em;
    color: #000;
    font-weight: 500;
    display: inline-block;
    text-align: left;
    margin-right: 2.5em;
}

.navbar.navbar-expand-lg {
    padding: 0;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding: 0;
}

.uslugi_bg {
    /*    background-image: url(../img/bg_pict.png);*/
    position: relative;
    padding-bottom: 100px;
    box-shadow: 0 42px 37px -8px inset white, 0 -51px 37px -8px inset white;
}

.uslugi_bg:before,
.uslugi_bg:after {
    content: '';
    position: absolute;
    z-index: -1;
}

.uslugi_bg:before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%), url(../img/bg_pict.png);
    top: 0;
    left: 0;
    bottom: 30%;
    right: 30%;
}

.uslugi_bg:after {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 60%, rgba(255, 255, 255, 0) 100%), url(../img/bg_3.png);
    top: 30%;
    left: 30%;
    bottom: 0;
    right: 0;
}


.tails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: row dense;
}

.tail:hover {
    transform: scale(1.05);
    z-index: 3;
    box-shadow: 0 0 15px 5px rgba(0, 0, 0, .5);
}

.tail.color-w {
    color: #fff;
}

.tail.color-b {
    color: #000;
}

.tail {
    background: gray;
    padding-bottom: 100%;
    height: 0;
    transition: all 1s ease;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
}

.tail > * {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.tail .tails__content__title {
    text-transform: uppercase;
    padding: 2.2em 2em 0.8em;
    font-size: 1.5em;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.tail .tails__content__text {
    padding: 0 4.3em 0;
    width: 70%;
    font-family: 'DINpro';
    position: relative;
}

.tail .tails__content__text::before {
    content: '';
    display: inline-block;
    width: 5px;
    left: 13%;
    height: 100%;
    position: absolute;
    top: 0;
    background-color: #df2f41;
    z-index: 1;
}

.tail_tall {
    grid-row: span 2;
    padding-bottom: 200%;
}

.tail_wide {
    grid-column: span 2;
    padding-bottom: 50%;
}

.tail_wide.tail_tall {
    padding-bottom: 100%;
}

.tail_big {
    grid-row: span 2;
    grid-column: span 2;
}

.overflow-x_hidden {
    overflow-x: hidden !important
}

.advantage {
    background-image: url(../img/home-priimhestvo.png);
    background-size: cover;
    height: 100%;
    padding-top: 3em;
}

.advantage__paragraph {
    margin-bottom: 2.5em;
}

.advantage__paragraph_title {
    text-transform: uppercase;
    font-size: 4.7em;
    font-family: 'Highliner', sans-serif;
    line-height: 0.7;
    padding-bottom: 0.3em;
    letter-spacing: 2px;
}

.advantage__paragraph_text {
    font-weight: 500;
    line-height: 1.3;
}

.advantage__paragraph_text span {
    color: #ff0000;
}

.steps {
    margin-top: 4em;
}

.steps__block {
    text-align: center;
}


.steps__block_number {
    font-family: 'Highlight';
    font-size: 2em;
}

.steps__block {
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    color: #fff;
}

.steps__block_number {
    font-family: 'Highliner';
    font-size: 8em;
    line-height: 0.7;
}

.steps__block_title {
    font-size: 3.5em;
    font-family: 'Highliner';
    font-weight: normal;
    letter-spacing: 2px;
    line-height: .6;
}

.steps__block_text {
    line-height: 1.2;
    padding-bottom: 1em;
    font-weight: 600;
}

.h2__two-lines {
    position: relative;
}

.h2__two-lines:before,
.h2__two-lines:after {
    content: '';
    height: 5px;
    background: #6f7489;
    display: block;
    position: absolute;
    width: 100vw;
}

.h2__two-lines:before {
    content: '';
    right: 102%;
    top: .4em;
}

.h2__two-lines:after {
    left: 101%;
    bottom: .35em;
}



.news-advertising__item {
    width: 75%;
    margin-bottom: 1.5em;
    display: block;
    color: #000;

}

.news-advertising__item:hover {
    color: #000;
    text-decoration: none;
}

.news-advertising__content {
    position: relative;
    left: 25%;
    background: #fff;
    box-shadow: -1em 1em 0 #e6e6e8;
    margin-top: -7em;
    padding-left: 1.5em;
    padding-top: 1.5em;
    font-family: 'DINpro', sans-serif;
    padding-bottom: 1em;
}

.news-advertising__header {
    font-weight: bold;
    padding-bottom: 1em;
}

.news-advertising__text {}

.news-advertising__date {
    font-weight: bold;
    font-family: 'Highliner', sans-serif;
    font-size: 3em;
    position: absolute;
    bottom: -0.33em;
    right: 0;
    background: #fff;
    padding-left: .3em;
    line-height: .5;
    font-weight: 500;
}




.h2__line-long {
    position: relative;
    top: -0.5em;
}

.h2__line-long::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 276%;
    position: absolute;
    top: 74px;
    right: -15px;
    background-color: #df2f41;
    z-index: -1;
}

.clients {
    margin-top: 5em;
}

.clients__img-block {
    margin: 1em 0;
    transition: transform 0.3s;
    box-shadow: 0 15px 35px rgba(50, 50, 93, .1), 0 5px 15px rgba(0, 0, 0, .07);
}

.clients__img-block img {
    margin: 0 auto;
    display: block;
}

.reviews {
    margin-top: 3.5em;
    margin-bottom: 6em;
}

.reviews .owl-stage-outer {
    box-shadow: 0 15px 35px rgba(50, 50, 93, .1), 0 5px 15px rgba(0, 0, 0, .07);
}

.reviews .item img {
    display: block;
    box-shadow: 0 15px 35px rgba(50, 50, 93, .1), 0 5px 15px rgba(0, 0, 0, .07);
}

.reviews .owl-carousel .owl-nav .owl-prev {
    background: none;
    background-image: url('../img/prev.png');
    width: 48px;
    height: 53px;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    top: 40%;
}

.reviews .owl-carousel .owl-nav .owl-next {
    background: none;
    background-image: url('../img/next.png');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: 40%;
    width: 48px;
    height: 53px;
}

.reviews .owl-prev:focus,
.reviews .owl-next:focus {
    outline: none;
}

.owl-theme .owl-dots {
    display: none;
}

.form-bottom {
    background-image: url(../img/bg-form.jpg);
    background-size: cover;
    background-position: center;
    padding-bottom: 3em;
}
.form-bottom p{
    font-size: 0.7em;
    color: #fff;
    line-height: 1.3;
    padding-top: 1em;
}
.form-bottom p a{
    color:#fff;
}
.form-bottom form {
    font-family: 'DINpro';
}

.form-bottom .form-bottom__input::placeholder {
    color: #000;
}

.form-bottom .form-bottom__input {
    width: 100%;
    padding: 0.5em 0.6em;
    color: #000;
    font-size: 1.2em;
}

.form-bottom .form-bottom__input:not(:last-child) {
    margin-bottom: 0.8em;
}

.form-bottom__h2 {
    color: #fff;
}

.footer {
    background: #f6f6f6;
    padding-top: 3em;
    padding-bottom: 3em;
    font-family: 'DINPro';
}

.footer-dark {
    background: #c5c5c7;
    font-family: 'DINPro';
    padding: 1.5em 0;
    font-weight: 500;
    font-size: 0.9em;
}

.footer-dark__social_a {
    background: #6f7489;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.footer-dark__docs {
    color: #6f7489;
}

.footer-dark__docs:hover {
    color: #df2f41;
}

.footer__text {
    line-height: 1.5;
    font-weight: 500;
    font-size: 0.99em;
    padding-top: 2em;
}

.footer__menu {
    margin: 0;
}

.footer__menu-item {
    text-decoration: none;
    list-style: none;
    padding-bottom: 0.3em;
}

.footer__menu-item a {
    color: #000;
}

.footer__contacts_title {
    font-weight: 600;
    font-size: 1.3em;
    text-transform: uppercase;
}

.footer__contacts_phone {
    margin-bottom: 1em;
}

.footer a {
    color: #000;
}

.footer__contacts_phone a {
    display: block;
    color: #000;
    font-weight: 500;
    font-size: 1.5em;
}

.footer__contacts_email,
.footer__contacts_address,
.footer__contacts_work-time {
    margin-left: 0.5em;
}

.footer__contacts_address a {
    color: #df2f41;
}

.footer__contacts_address {
    line-height: 1.2;
}

.footer__contacts_email::before {
    content: '';
    background-image: url(../img/email.png);
    width: 18px;
    height: 15px;
    background-repeat: no-repeat;
    display: inline-block;
    left: -0.3em;
    top: 0.1em;
    position: relative;
}

.footer__contacts_address::before {
    content: '';
    background-image: url(../img/tick_red.png);
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    display: inline-block;
    left: -0.3em;
    top: 0.1em;
    position: relative;
}

.footer__contacts_work-time::before {
    content: '';
    background-image: url(../img/time.png);
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    display: inline-block;
    left: -0.3em;
    top: 0.25em;
    position: relative;
}

.footer-dark__social_a {
    background: #6f7489;
    border-radius: 50%;
    height: 35px;
    width: 35px;
    margin-right: 0.4em;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
}

.footer-dark__social_a:hover {
    -webkit-box-shadow: 0px 0px 26px 6px rgba(255, 255, 255, 1);
    -moz-box-shadow: 0px 0px 26px 6px rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 26px 6px rgba(255, 255, 255, 1);
}

.footer-dark__social_vk {
    background-image: url(../img/vk.png);
}

.footer-dark__social_fb {
    background-image: url(../img/fb.png);
}

.footer-dark__social_ok {
    background-image: url(../img/ok.png);
}

.footer-dark__social_inst {
    background-image: url(../img/inst.png);
}

.footer-dark__social_yt {
    background-image: url(../img/yt.png);
}



.footer-dark__social_vk:hover {
    background-color: #4a76a8;
}

.footer-dark__social_fb:hover {
    background-color: #4267b2;
}

.footer-dark__social_ok:hover {
    background-color: #ee8208;
}

.footer-dark__social_inst:hover {
    background-color: #d92e7c;
}

.footer-dark__social_yt:hover {
    background-color: #ff0000;
}




@media(min-width: 320px) and (max-width: 768px) {
    .offer__title h1 {
        font-size: 5.5em;
        line-height: 0.7;
    }
    .first-screen{
        margin-bottom: 4.5em;
    }
    .header .navbar .navbar-collapse a {
        line-height: 1.8;
        margin-right: 0;
    }
    .header__phone .btn.btn-primary.btn_shadow.btn-block{
        width: 80%;
    }
    .header__contacts{
        font-size: 0.96em;
    }
    .tail {
        padding-bottom: 0 !important;
        height: auto;
    }

    .tail > * {
        position: relative;
    }

    .offer__title .description {
        font-size: 4em;
        line-height: 0.7;
    }

    .offer__text {
        margin-bottom: 2em;
    }

    h2.h2__line-right::after {
        display: none;
    }

    .advantage__paragraph_title {
        padding-bottom: 0;
        font-size: 4em;
    }

    .advantage__paragraph {
        margin-bottom: 1.5em;
    }

    .news-advertising__item {
        width: 100%;
        margin-bottom: 4.5em;
    }

    .news-advertising__content {
        width: 90%;
        left: 5.4%;
        margin-top: -0.99em;
    }

    .h2__line-long::after {
        display: none;
    }

    .h2__line-long {
        position: static;
        line-height: 0.8;
    }

    .footer__logo {
        text-align: center;
    }

    .form-bottom__h2 {
        line-height: 0.6;
        font-size: 4.5em;
        padding: 0.5em 0;
    }

    .form-bottom .form-bottom__input {
        font-size: 1em;
    }

    .form-bottom .form-bottom__input:last-child {
        margin-bottom: 0.8em;
    }

    .header__city {
        margin-top: 1.3em;
        margin-bottom: 1.3em;
        text-align: center;
        font-size: 0.94em;
    }

    .header__city::before {
        display: none;
    }

    .header__phone p {
        line-height: 0.6;
    }


    .header__city p {
        display: inline;
        font-size: 0.9em;

    }

    .header__phone {
        margin-top: 0.5em;
    }

    .header__city br {
        display: none;
    }

    body {
        padding-top: 0;
    }

    .tail .tails__content__text {
        display: none;
    }

    .tail .tails__content__text::before {
        display: none;
    }

    .tail .tails__content__title {
        padding: 1.3em 1.3em 0.8em;
        font-size: 1.4em;
    }

    .tail.tail_tall {
        padding-bottom: 100%;
    }

    .h2__two-lines::before,
    .h2__two-lines::after {
        display: none;
    }

    h2 {
        line-height: 0.5;
        font-size: 7.5em;
        padding-top: 0.5em;
        padding-bottom: 0.4em;
    }

    .clients {
        margin-top: 0;
    }

    .footer__menu {
        padding: 0;
    }

    .footer-dark__social {
        margin-top: 1em;
    }



}



@media (min-width: 425px) and (max-width: 768px) {
    .header__contacts {
        padding-right: 5em;
        padding-top: 1.5em;
    }
}



@media (max-width: 991px) {
    .header__phone .btn.btn-primary.btn_shadow.btn-block{
        width:80%;
    }
    .uslugi_bg::after,
    .uslugi_bg::before {
        display: none;
    }

    .first-screen {
        background-image: url(../img/bg1.png);
        height: 500px;
    }

    .tail .tails__content__text {
        width: 90%;
    }

    .tail .tails__content__title {
        font-size: 1.2em;
    }

    .steps__block {
        margin-bottom: 1em;
    }

    .h2__line-long::after {
        display: none;
    }



    .form-bottom .form-bottom__input:last-child {
        margin-bottom: 0.8em;
    }

    .footer__contacts_address {
        font-size: 0.96em;
    }

    .footer-dark__social {
        margin-top: 1em;
    }

}

@media (max-width: 1299px) {
    .advantage {
        /*background: #d2d7d9;*/
		background-position: 30% 0px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .steps__block_number {
        font-size: 6em;
        line-height: 0.7;
    }

    .header__contacts,
    .header__city {
        font-size: 0.95em;
    }

    .header .navbar .navbar-collapse a {
        font-size: 1em;
    }
    .header .navbar .navbar-collapse a{
        margin-right: 1.6em;
    }
    .tail .tails__content__text {
        width: 90%;
    }

    .tail .tails__content__title {
        font-size: 1.3em;
        padding: 2.2em 1.2em 0.8em;
    }

    .h2__line-long {
        line-height: 0.6;
    }

    .steps__block_title {
        font-size: 3em;
    }

    .steps__block_text {
        font-size: 0.9em;
    }

    .footer__contacts_address {
        font-size: 0.96em;
    }
}

@media (min-width: 969px) {
    .header .navbar-brand {
        display: none;
    }
}



@media (max-width: 575px) {
	/*
    .tails {
        grid-template-columns: repeat(1, 1fr);
    }

    .tail_big,
    .tail_tall,
    .tail_wide,
    .tail_tall.tail_wide {
        grid-column: span 1;
        grid-row: span 1;
    }
	*/
}

@media (min-width: 576px) and (max-width: 767px) {
    .tails {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .tails {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    .tails {
        display: flex;
        flex-wrap: wrap;
    }

    .tail {
        width: 25%;
        flex: none;
        height: auto;
        min-height: 200px;
        padding-bottom: 0;

    }
}
