@import url('https://fonts.googleapis.com/css?family=Roboto:100i,300i&subset=cyrillic');
body {
    font-family: "Theano Modern", Arial, sans-serif;
    font-size: 18px;
}

input, button, button:hover, button:focus, button:active, textarea, textarea:hover, textarea:focus, textarea:active {outline: none;}
a {color: #000;}
a:hover, a:focus, a:active {
    color: #000;
    outline: none;
    text-decoration: none;
}
a.white {color: #fff;}
a.white:hover, a.white:focus, a.white:active {
    color: #fff;
    outline: none;
    text-decoration: none;
}
p, label {margin-bottom: 0px;}
.site_box {
    padding-left: 6vw;
    padding-right: 6vw;
}

/* Текстовые стили */
h1 {
    font-family: "FoglihtenNo06";
    color: #fff;
    font-size: 4em;
    margin: .75em 0 1em;
}
h2 {
    font-family: "Century";
    color: #623015;
    font-size: 2.4em;
    margin-bottom: .5em;
}
h3 {
    font-family: "Century";
    color: #623015;
    font-size: 1.7em;
    margin-bottom: .75em;
    text-align: center;
}
h4 {
    font-family: "Century";
    color: #623015;
    font-size: 1.5em;
    margin-bottom: .75em;
    margin-top: 2em;
    text-align: center;
}

.fog {font-family: "FoglihtenNo06";}
.pfd {font-family: "pfd";}
.theano {font-family: "Theano Modern";}
.cen {font-family: "Century";}

.f_09 {font-size: 0.9em;}
.f_11 {font-size: 1.1em;}
.f_12 {font-size: 1.2em;}
.f_14 {font-size: 1.4em;}
.f_15 {font-size: 1.5em;}
.f_17 {font-size: 1.7em;}
.f_20 {font-size: 2em;}
.f_21 {font-size: 2.1em;}
.f_22 {font-size: 2.2em;}
.f_24 {font-size: 2.4em;}
.f_25 {font-size: 2.5em;}
.f_30 {font-size: 3em;}
.f_33 {font-size: 3.3em;}
.f_37 {font-size: 3.7em;}
.f_40 {font-size: 4em;}
.white {color:#fff;}
.blue {color: #1954a5;}
.tr_black {color: rgba(0,0,0,0.5);}
.light_brown {color: #ad6841;}
.brown {color: #623015;}

.bold {font-weight: bold;}
.itlc {font-style: italic;}
.tt_up {text-transform: uppercase;}
.td_lth {text-decoration: line-through;}
.t_ind {text-indent: 2em;}
.lh_n {line-height: normal;}
.lh_12 {line-height: 1.2em;}
.bb_1 {border-bottom: 1px solid;}
.box_shd {box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);}

/* placeholder stylization */
input:-moz-placeholder {color: rgba(255,255,255,0.5);}
input::-moz-placeholder {color: rgba(255,255,255,0.5);}
input::-webkit-input-placeholder {color: rgba(255,255,255,0.5);}
input:-ms-input-placeholder {color: rgba(255,255,255,0.5);}
input::-ms-input-placeholder {color: rgba(255,255,255,0.5);}
input::placeholder {color: rgba(255,255,255,0.5);}

input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    width: 100%;
    padding: 0 .5em;
}
input.simple, textarea.simple {
    border: none;
    border-radius: 0;
    background-color: #fefdfe;
    box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.15) inset;
    padding: 0.4em .6em;
    line-height: normal;
}

input.simple:-moz-placeholder, textarea.simple:-moz-placeholder {font-family: 'Roboto'; font-weight: 100; font-style: italic; color: #9c9c9c;}
input.simple::-moz-placeholder, textarea.simple::-moz-placeholder {font-family: 'Roboto'; font-weight: 100; font-style: italic; color: #9c9c9c;}
input.simple::-webkit-input-placeholder, textarea.simple::-webkit-input-placeholder {font-family: 'Roboto'; font-weight: 100; font-style: italic; color: #9c9c9c;}
input.simple:-ms-input-placeholder, textarea.simple:-ms-input-placeholder {font-family: 'Roboto'; font-weight: 100; font-style: italic; color: #9c9c9c;}
input.simple::-ms-input-placeholder, textarea.simple::-ms-input-placeholder {font-family: 'Roboto'; font-weight: 100; font-style: italic; color: #9c9c9c;}
input.simple::placeholder, textarea.simple::placeholder {font-family: 'Roboto'; font-weight: 100; font-style: italic; color: #9c9c9c;}

.btn_light {
    border-radius: 0;
    border: 2px solid #ffffff;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    text-transform: uppercase;
    line-height: normal;
    padding: 0.5em 3em 0.3em;
    max-width: 100%;
    text-align: center;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
.btn_dark {
    border-radius: 0;
    border: 1px solid #845118;
    background-color: rgba(98, 48, 21, 0.05);
    color: #000;
    text-transform: uppercase;
    line-height: normal;
    padding: 0.5em 3em 0.3em;
    max-width: 100%;
    text-align: center;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
.btn_text {
    border: none;
    background-color: transparent;
    padding: unset;
    margin: unset;
    cursor: pointer;
}

/* Шапка */
header {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    z-index: 5;
    position: relative;
}
.top {
    background-color: #000;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: .25em;
    padding-bottom: .25em;
}
.header_logo_box {
    text-align: center;
    background: url(../images/bg2.jpg) no-repeat center;
    background-size: cover;
    padding: .5em 1em;
}
.header_logo_box img {}

/* Меню */
nav {
    padding: 0px !important;
    border-top: 1px solid #dcdcdc;
    position: relative;
}
.navbar-nav {
    width: 100%;
    justify-content: space-evenly;
}
.nav-link {
    font-family: "FoglihtenNo06";
    text-transform: lowercase;
    font-size: 1.3em;
}
.navbar-toggler .navbar-toggler-icon {
    display: block;
    height: 3px;
    margin-top: 5px;
    margin-bottom: 5px;
    background-color: #623015;
}

/* Основной блок */
.banner {
    background: url(../images/bg1.jpg) no-repeat top center;
    background-size: contain;
    padding-top: 1em;
    padding-bottom: 1em;
    margin-bottom: 2em;
}
.banner_logo {width: 200px;}

#about {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    margin-top: 2em;
}
#about>img {
    width: 48%;
}
#about>div {
    width: 40%;
}
.img_fl_left {
    float: left;
}
.sign {
    margin-top: 2em;
    margin-bottom: 2em;
}
.sign .name{
    padding-left: 3rem;
    font-size: 4em;
    line-height: 1em;
    margin-bottom: -.2em;
    color: #623015;
}
.sign .post {
    margin-left: 8rem;
    line-height: normal;
}


/* Услуги */
#services {
    position: relative;
    margin-bottom: 5em;
}
#service_slider {
    width: 100%;
}
.serv {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
    align-items: flex-start;
}
.serv_title {
    width: 40%;
    text-align: center;
    position: relative;
    margin-top: 2em;
}
.serv_title::after {
    content: "";
    position: absolute;
    top: 4em;
    right: -1.5em;
    width: 9em;
    height: 1px;
    background-color: #000;
}
.serv_main {
    width: 50%;
    padding: .5em;
}
.serv_main img {
    height: 33vw;
    width: 100%;
    object-fit: cover;
    margin-bottom: 3em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.carousel-control-next, .carousel-control-prev {
    width: 1.3em;
}
.carousel-control-next img, .carousel-control-prev img {
    width: 100%;
}
#service_slider .carousel-control-next {
    right: -1.3em;
}
#service_slider .carousel-control-prev {
    left: unset;
    right: 50%;
}

#service_slider .carousel-indicators {
    position: absolute;
    top: 34.5vw;
    right: 0;
    left: unset;
    bottom: unset;
    margin: 0;
    width: 50%;
}
#service_slider .carousel-indicators li {
    width: 14px;
    height: 14px;
    background-color: transparent;
    border: 2px solid rgba(173, 104, 65, 0.3);
    border-radius: 50%;
    box-sizing: border-box;
}
#service_slider .carousel-indicators .active {
    background-color: rgba(173, 104, 65, 0.3);
    border: none;
}

#material_slider {
    position: absolute;
    bottom: 0;
    left: 12vw;
    width: 26%;
    background: url(../images/materials.png) no-repeat;
    background-size: auto 45%;
    background-position: 100% 90%;
}
#material_slider .carousel-indicators {
    bottom: 1.5em;
    margin: 0.5em;
}
#material_slider .carousel-indicators li {
    width: 14px;
    height: 14px;
    background-color: transparent;
    border: 2px solid rgba(173, 104, 65, 0.7);
    border-radius: 50%;
    box-sizing: border-box;
}
#material_slider .carousel-indicators .active {
    background-color: rgba(173, 104, 65, 0.7);
    border: none;
}
#material_slider .carousel-item {
    padding: 5% 7% 5% 5%;
}
.material {
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Портфолио */
#portfolio {margin: 3em 0;}
#portfolio .container {position: relative;}
.img_pf {
    width: 100%;
    margin-bottom: 1.2em;
    height: 16em;
    object-fit: cover;
}
.pf_all {
    position: absolute;
    top: .6em;
    right: 15px;
}
.pf_all img {
    vertical-align: text-bottom;
    width: 1.2em;
}

/* Акции */
#sale {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-items: stretch;
    margin: 2em 0;
}
.sale_item {
    position: relative;
    width: 31%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 1em;
}
.sale_item_full {
    position: relative;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin: 1em;
}
.sale_item img {
    height: 20vw;
    width: 100%;
    opacity: .6;
}
.sale_item_full img {
    height: 20vw;
    width: 100%;
}
.sale_text {
    position: absolute;
    top: .75em;
    bottom: .75em;
    left: .75em;
    right: .75em;
    border: 1px solid #6a381b;
    color: #000;
    padding: .5em;
}


.si_left {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
.si_center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.si_top {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
}
.si_bottom {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
}
.si_bottom_left {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}
.si_center>p {
    text-align: center;
    font-size: 4em;
}
.si_left>p {
    writing-mode: vertical-rl;
    margin: 0;
    font-size: 1.8em;
    transform: rotate(180deg);
}
.si_bottom_left>p {
    font-size: 2.5em;
}


/* Отзывы */
#reviews {
    margin-bottom: 4em;
    position: relative;
}
#reviews_slider {
    width: 72%;
    margin: 0 auto 2em;
}
.review {
    text-align: center;
    padding: 0 8%;
    font-size: 1.2em;
}
.rv_foto {
    width: 6em;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 1em;
}
.rv_bg {
    z-index: -1;
    background-color: #f7f7f7;
    position: absolute;
    left: 0;
    width: 100%;
    top: 6%;
    bottom: 6%;
}


/* Контакты */
#address {
    position: relative;
    margin-top: 3em;
}
.map {width: 100%;}
.contacts {
    position: absolute;
    top: -1.5em;
    right: 6vw;
    background-color: #fff;
    z-index: 5;
    width: 43%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    padding: 1.5em 2em 1em;
    background: url(../images/bg2.jpg) no-repeat center;
    background-size: cover;
}
p.social img {
    width: 1.5em;
    margin-right: .5em;
}


/* Подвал */
footer {
    background: url(../images/bg2.jpg) no-repeat center;
    background-size: cover;
    padding-top: 2em;
    position: relative;
    overflow: hidden;
}
hr.shadow_top {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    margin: 0px;
    border: none;
    height: 0px;
    box-shadow: 0px 0px 12px 1px rgba(0, 0, 0, 0.3);
}
.footer_menu {
    list-style: none;
    padding-left: 0;
    font-family: "FoglihtenNo06";
    line-height: 2em;
}
.footer_categories {
    list-style: none;
    padding-left: 0;
    line-height: normal;
}
.footer_categories>li {
    margin-bottom: .75em;
}
.footer_menu>li>a, .footer_categories>li>a {
    font-size: 1.2em;
}

.footer_contact {
    text-align: right;
}
.footer_contact hr {
    width: 50%;
    background-color: #000;
    border: none;
    height: 1px;
    margin: 2em 0 1em auto;
}
div.social img {
    width: 2em;
    margin-left: .5em;
}

.footer_bottom {
    background-color: #000;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    padding-top: .25em;
    padding-bottom: .25em;
}
.footer_bottom p {
    font-family: "GothamPro";
    margin-bottom: 0em;
    font-size: 16px;
    line-height: 1em;
}


/* ASM */
.developers {text-align: right;}
.developers a>p {
    font-family: "coco", Arial, sans-serif;
    color: #fff;
    font-size: 19px;
    line-height: 1em;
    display: inline-block;
    vertical-align: middle;
    margin: 0 .5em 0 0;
    width: fit-content;
}
.developers img {max-width: 60px;}


/************ ВНУТРЕННИЕ СТРАНИЦЫ *************/
/* О компании */
#history {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(28, 1fr);
    grid-template-rows: repeat(12, 1fr);
    height: 50vw;
    justify-items: stretch;
    align-items: stretch;
    grid-auto-flow: dense;
    position: relative;
    margin: 2em 0;
}
.history_title {
    color: rgba(173, 104, 65, 0.3);
    font-family: "Century";
    position: absolute;
    top: 0;
    height: 100%;
    left: 0.5em;
    transform: rotate(180deg);
    writing-mode: vertical-rl;
    font-size: 1.8em;
    margin: 0;
    text-align: center;
}
#history div{
    display: flex;
    align-items: center;
    justify-content: center;
    height: fit-content;
}
.text_block {
    border: 2px solid #ad6841;
    background-color: #fff;
    text-align: center;
    line-height: 1.2em;
    padding: .6em .3em .1em .5em;
    z-index: 2
}
.text_block p {
    border: 1px solid #ae8c64;
    padding: .5em;
}
.block {
    grid-column: 4/27;
    grid-row: 6/7;
}
.date_1 {
    grid-column: 4/7;
    grid-row: 7/8;
    height: 100% !important;
    align-items: flex-start !important;
}
.date_2 {
    grid-column: 10/13;
    grid-row: 5/6;
    height: 100% !important;
    align-items: flex-end !important;
}
.date_3 {
    grid-column: 14/17;
    grid-row: 7/8;
    height: 100% !important;
    align-items: flex-start !important;
}
.date_4 {
    grid-column: 18/21;
    grid-row: 5/6;
    height: 100% !important;
    align-items: flex-end !important;
}
.date_5 {
    grid-column: 24/27;
    grid-row: 7/8;
    height: 100% !important;
    align-items: flex-start !important;
}
.date_1, .date_2, .date_3, .date_4, .date_5 {
    font-family: "Century";
    font-size: 1.3em;
}
.block_1 {
    grid-column: 3/8;
    grid-row: 8/10;
}
.block_2 {
    grid-column: 8/13;
    grid-row: 3/5;
}
.block_3 {
    grid-column: 13/18;
    grid-row: 8/11;
}
.block_4 {
    grid-column: 17/22;
    grid-row: 3/5;
}
.block_5 {
    grid-column: 22/28;
    grid-row: 8/11;
}

.foto_1 {
    grid-column: 1/7;
    grid-row: 9/13;
}
.foto_2 {
    grid-column: 3/9;
    grid-row: 1/5;
}
.foto_31 {
    grid-column: 9/14;
    grid-row: 8/11;
}
.foto_32 {
    grid-column: 16/21;
    grid-row: 9/12;
}
.foto_41 {
    grid-column: 14/19;
    grid-row: 1/4;
}
.foto_42 {
    grid-column: 21/26;
    grid-row: 1/4;
}
.foto_5 {
    grid-column: 23/29;
    grid-row: 9/13;
}
.foto_1, .foto_2, .foto_31, .foto_32, .foto_41, .foto_42, .foto_5 {
    border: 1px solid #623015;
    padding: .7em .6em .5em 1em;
}
.foto_1 img, .foto_2 img, .foto_31 img, .foto_32 img, .foto_41 img, .foto_42 img, .foto_5 img {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#in_numbers {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 55vw;
    background-color: #f7f7f7;
    border-top: 1px solid #b8b8b8;
    border-bottom: 1px solid #b8b8b8;
}
.inn_title {
    color: rgba(173, 104, 65, 0.3);
    font-family: "Century";
    position: absolute;
    top: 0;
    height: 100%;
    left: 0.5em;
    transform: rotate(180deg);
    writing-mode: vertical-rl;
    font-size: 1.8em;
    margin: 0;
    text-align: center;
}
.inn_1, .inn_2, .inn_3, .inn_4, .inn_5, .inn_6, .inn_7, .inn_8, .inn_9 {
    position: absolute;
}
.inn_1 {
    top: 20%;
    left: 6vw;
}
.inn_2 {
    top: 5%;
    left: 35%;
}
.inn_3 {
    top: 10%; 
    right: 6vw; 
}

.inn_6 {
    bottom: 18%;
    left: 6vw;
}
.inn_7 {
    bottom: 12%;
    left: 45%;
}
.inn_9 {
    bottom: 30%;
    right: 6vw;
}

.inn_4 {
    left: 10%;
    top: 40%;
}
.inn_5 {
    right: 10%;
    top: 35%;
}
.inn_8 {
    right: 27%;
    bottom: 30%;
}

#in_numbers div {
    width: 20%;
    line-height: normal;
    text-align: center;
}
#in_numbers>img {
    margin-top: -10%;
    width: 23%;
}
#in_numbers p {line-height: normal;}
.num {
    font-family: "FoglihtenNo06";
    font-size: 4em;
    color: #623015;
}
.scale_12 {transform: scale(1.2);}
.scale_08 {transform: scale(0.8);}

/* Раздел о сотрудниках */
#shop {
    position: relative;
    margin: 2em 0;
}
.employees {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: flex-start;
    margin-bottom: 2em;
}
.employee {width: 18%;}
.shop_title {
    color: rgba(173, 104, 65, 0.3);
    font-family: "Century";
    position: absolute;
    top: 0;
    height: 100%;
    left: 0.5em;
    transform: rotate(180deg);
    writing-mode: vertical-rl;
    font-size: 1.8em;
    margin: 0;
    text-align: center;
}

.pos_rel {position: relative;}
.swiper_foto {
    overflow: hidden;
}
.foto {
    width: 100%;
    height: 18vw;
    object-fit: cover;
}
.master {
    position: absolute;
    left: 4vw;
    top: 0;
    font-family: "Century";
    transform: rotate(180deg);
    writing-mode: vertical-rl;
    margin: 0;
    line-height: 1em;
    padding-bottom: 35px;
    font-size: 1.1em;
}
.master:after {
    content: "";
    width: 30px;
    height: 20px;
    display: inline-block;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    vertical-align: text-bottom;
    position: absolute;
    bottom: 10px;
    right: 10px;
}
.swiper-button-prev, .swiper-button-next {
    background-image: none;
    bottom: 0.5em;
    top: unset;
    opacity: .3;
    width: 1.5em;
}
.swiper-button-prev img, .swiper-button-next img {width: 100%;}
.swiper-button-prev:hover, .swiper-button-next:hover, .swiper-button-prev:active, .swiper-button-next:active {opacity: 1;}
.swiper-button-prev {left:4vw;}
.swiper-button-next {right:4vw;}


#about_page_text {
    border-top: 1px solid #b8b8b8;
    margin-top: 2em;
    margin-bottom: 3em;
    padding-top: 2em;
}
#about_page_text .sign .name {padding-left: 0;}
#about_page_text .sign .post {margin-left: 5rem;}

/* Контакты */
.block_connection {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: stretch;
    margin: -300px 12vw 2em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 4;
}
.contacts_2 {
    width: 60%;
    background: url(../images/bg2.jpg) no-repeat center;
    background-size: cover;
    padding: 2em;
}
.callback {
    width: 40%;
    background: url(../images/bg3.jpg) no-repeat center;
    background-size: cover;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}
.callback form {
    padding-left: 1.5em;
}

/* Услуги */
#uslugi {
    margin-top: 3em;
    margin-bottom: 2em;
}
.nav-tabs {
    border-bottom: none;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 2em;
}
.nav-tabs .nav-item {
    border: none;
    border-left: 1px solid #000;
    border-radius: 0;
    padding: .2em .75em 0;
    line-height: 1em;
}
.nav-tabs .nav-item:first-child {
    border-left: none;
}
.nav-tabs .nav-link {
    padding: 0;
    border: none;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    font-weight: bold;
    border-bottom: 1px solid #000;
}

.service_info {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
}

#slider_usluga, #slider_usluga_1, #slider_usluga_2, #slider_usluga_3, #slider_usluga_4 {
    position: relative;
    width: 100%;
    padding-top: 3em;
}
#slider_usluga::before, #slider_usluga_1::before, #slider_usluga_2::before, #slider_usluga_3::before, #slider_usluga_4::before {
    content: "";
    position: absolute;
    top: -1em;
    left: 10%;
    height: 5em;
    width: 1px;
    background-color: #000;
    z-index: 10;
}
.carousel-control-next, .carousel-control-prev {
    width: 1.2em;
    bottom: .5em;
    top: unset;
}
.carousel-control-prev {left: -1.2em;}
.carousel-control-next {right: -1.2em;}
.carousel-indicators li {
    width: 14px;
    height: 14px;
    background-color: transparent;
    border: 2px solid rgba(173, 104, 65, 0.4);
    border-radius: 50%;
    box-sizing: border-box;
}
.carousel-indicators .active {
    background-color: rgba(173, 104, 65, 0.4);
    border: none;
}
.carousel-item {
    padding: .5em;
}
.usluga_img {
    width: 100%;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.3);
}

.swiper_simple {
    overflow: hidden;
    margin: 1em 0 3em;
}
.swiper-slide {
    padding: 0em;
}
.swiper_simple .swiper-button-prev, .swiper_simple .swiper-button-next {
    bottom:.5em;
}

/* Портфолио */
.portfolio_block {
    position: relative;
}
.portfolio_block .pf_all {right: 6vw;}
.portfolio {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
}
.pf_item {
    width: 19%;
    margin: .5em .5%;
}
.pf_item img {
    width: 100%;
    margin-bottom: .5em;
    height: 13vw;
    object-fit: cover;
}
.pf_item p {
    line-height: 20px;
    height: 40px;
    overflow: hidden;
}

.designers_block {margin: 2em 0 3em;}
.designers_block hr {
    background-color: #ad6841;
    height: 1px;
    width: 13em;
    border: none;
    margin: 0 auto 2em;
}
.swiper_designers {
    position: relative;
    overflow: hidden;
    padding: 2em 16vw 3em;
    margin-bottom: 3em; 
}
.swiper_designers .swiper-slide {
    padding: 2em;
    background-color: #fcfcfd;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}
.designer_foto {
    width: 100%;
    max-height: 25vw;
    object-fit: contain;
}
.swiper-container-horizontal>.swiper-scrollbar {
    left: 25%;
    height: 2px;
    width: 50%;
    background-color: #ad6841;
    bottom: 10px;
}
.swiper-container-horizontal>.swiper-scrollbar::before {
    content: "";
    position: absolute;
    top: -6px;
    left: -12px;
    width: 14px;
    height: 14px;
    border: 2px solid #ad6841;
    border-radius: 50%;
}
.swiper-container-horizontal>.swiper-scrollbar::after {
    content: "";
    position: absolute;
    top: -6px;
    right: -12px;
    width: 14px;
    height: 14px;
    border: 2px solid #ad6841;
    border-radius: 50%;
}
.swiper-scrollbar-drag {
    background: #6a381b;
    height: 5px;
    border-radius: 0;
}
.swiper_simple2 {
    position: relative;
    overflow: hidden;
}
.swiper_simple2 .swiper-slide {padding: 0;}
.swiper_simple2 .swiper-button-prev {left: 0;}
.swiper_simple2 .swiper-button-next {right: 0;}
.ss2_img {
    width: 100%;
    height: 10vw;
    object-fit: cover;
}

/* Нумерация страниц */
.pagination {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}
.pagination .page-item:first-of-type {margin-right: 3em;}
.pagination .page-item:last-of-type {margin-left: 3em;}
.page-link {
    border: 0;
    color: #623015;
    font-size: 1.2em;
    padding: 0;
    margin: 0 10px;
    text-align: center;
    line-height: 1em;
}
.page-link:hover {
    color: #623015;
    background-color: transparent;
}
.page-link.active {
    font-size: 1.7em;
    border-bottom: 1px solid;
}

/* Отзывы */
.review_page {
    margin-top: 2.5em;
    margin-bottom: 2.5em;
}
.review_full {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0 14vw 2em;
    margin-bottom: 2em;
    position: relative;
}
.review_full img {
    margin-right: 2em;
}
.review_full:first-of-type {margin-top: 2em;}
.review_full::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 35%;
    width: 30%;
    height: 1px;
    background-color: rgba(173, 104, 65, 0.3);
}

/* Вопрос - ответ */
.block_answer {margin: 3em 0;}
.question {
    background: url(../images/icons/open.png) no-repeat right center;
    background-size: 1em;
    cursor: pointer;
    padding-left: 15vw;
    padding-right: 15vw;
    margin-bottom: 2em;
    font-weight: bold;
    font-size: 1.3em;
    color: #623015;
    line-height: normal;
    position: relative; 
}
.question::before {
    content: "";
    position: absolute;
    top: .6em;
    left: 0;
    width: 14vw;
    height: 1px;
    background-color: #000;
}
.answer {
    display: none;
    margin-bottom: 2em;
    line-height: normal;
    font-size: 1.1em;
    text-indent: 2em;
    padding: 0 35vw 1em 20vw;
    position: relative;
    text-align: justify;
}
.answer::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 43vw;
    width: 15vw;
    height: 1px;
    background-color: #000;
}
.answer>p{margin-bottom: .5em;}
.answer_show {display: block;}


#Modal_cb .modal-dialog {
    width: 65%;
    max-width: unset;
}
#Modal_cb .modal-content {
    background: url(../images/bg_callback_modal.jpg) no-repeat center;
    background-size: cover;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.close {
    float: right;
    font-size: 2em;
    font-weight: 700;
    line-height: 1em;
    color: #605a56;
    text-shadow: unset;
    opacity: 1;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
}
.close:hover {
    color: #623015;
    opacity: 1;
}