/* В этом файле описываются стили на разных страницах */


/* ПЕРВАЯ СТРАНИЦА - login */
.login-background {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    background: url(/upload/images/site/login/bg-2.png) 50% 50% no-repeat;
    background-size: cover
}

.site-login {
    position: relative;
    text-align: center;
    color: white;
    padding-top: 4%
}

.site-login .login-row {
    width: 30%;
    min-width: 270px;
    margin: 30px auto 0;
    text-align: left
}

.site-login .has-error .form-control {
    border-color: transparent
}

.site-login .has-error .form-control:focus {
    border-color: transparent
}

.site-login .has-success .form-control {
    border-color: transparent
}

.site-login .has-success .form-control:focus {
    border-color: transparent
}

.site-login .has-success .checkbox {
    color: #FFF
}

.site-login .has-error .help-block {
    color: #FFF
}

.site-login .form-group {
    position: relative
}

.site-login #loginform-username {
    height: 44px;
    padding-left: 54px;
    border-radius: 8px
}

.site-login #loginform-password {
    height: 44px;
    padding-left: 54px;
    border-radius: 8px
}

.site-login .field-loginform-username:before {
    content: "";
    position: absolute;
    background: url(/upload/images/site/login/icon-man.png);
    left: 20px;
    top: 12px;
    width: 16px;
    height: 20px
}

.site-login .field-loginform-password:before {
    content: "";
    position: absolute;
    background: url(/upload/images/site/login/icon-lock.png);
    left: 20px;
    top: 12px;
    width: 16px;
    height: 20px
}

.btn-login {
    width: 100%;
    border-radius: 20px;
    height: 44px;
    border: none;
    font-weight: bold;
    font-size: 16px
}


/* ГЛАВНАЯ СТРАНИЦА - site/index */
/* Слайдер наверху */
.site-index .action-slider-container {
    display: flex;
}

.site-index .top-slider-menu {
    flex-basis: 270px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: #FFF;
}

.site-index .top-slider {
    width: 100%;
}

.site-index .action-slider-container .one-slide img {
    max-width: 100%;
    width: 100%;
}

@media screen and (max-width: 899px) {
    .site-index .action-slider-container .top-slider-menu {
        display: none
    }
}

.site-index .top-slider-menu .absolute {
    top: -2px;
    line-height: 18px
}

.top-slider-menu .header {
    font-size: 14px;
    font-weight: bold;
    cursor: default;
    margin: 0;
    padding: 10px 0;
    color: #252525
}

.top-slider-menu .item {
    display: block;
    color: #717171;
    text-transform: uppercase;
    margin: 0;
    padding: 0 0 5px
}

/* Слайдер для маленьких экранов */
.site-index .fullwidth-slider-container {
    margin: 0 -15px
}

@media screen and (min-width: 900px) {
    .site-index .fullwidth-slider-container {
        display: none
    }
}

.fullwidth-slider-container .image-wide {
    width: 900px;
    max-width: 100%
}

.fullwidth-slider-container .image-narrow {
    width: 640px;
    max-width: 100%;
    display: none
}

@media screen and (max-width: 639px) {
    .fullwidth-slider-container .image-wide {
        display: none
    }

    .fullwidth-slider-container .image-narrow {
        display: inherit
    }
}

/* Выбор слайдера */
.menu-select {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 37px 0 23px;
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #717171;
    line-height: 30px
}

.menu-select > li {
    padding: 0 30px
}

.menu-select > li span {
    display: inline-block;
    position: relative;
    padding: 15px 0;
    margin: -15px 0;
    white-space: nowrap;
    cursor: pointer
}

@media screen and (max-width: 639px) {
    .menu-select {
        font-size: 14px
    }

    .menu-select > li {
        padding: 0 15px
    }

    .menu-select > li span {
        padding: 10px 0;
        margin: -10px 0;
        cursor: pointer
    }
}

@media screen and (max-width: 419px) {
    .menu-select {
        font-size: 11px
    }

    .menu-select > li {
        padding: 0 5px
    }
}

.menu-select > li.active span, .site-index .menu-select li:hover span {
    color: #252525
}

.menu-select > li.active span:after, .site-index .menu-select li:hover span:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    height: 4px;
    background: #252525
}

.menu-select > li + li {
    border-left: 1px solid #CCC
}

.slider-header-italic {
    position: relative;
    display: block;
    text-align: center;
    font-size: 22px;
    text-transform: uppercase;
    line-height: 120%;
    padding: 0 10px;
    background: #fff;
    width: 100%;
    margin: 0 auto 10px ;
}

.slider-one .slider-header-italic {
    max-width: 300px;
}

.slider-two .slider-header-italic {
    max-width: 300px;
}

.vb-items-slider-title {
    position: relative;
}

.vb-items-slider-title:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    height: 1px;
    width: 100%;
    border-radius: 6px;
    background: #0f0f0f;
}

@media (max-width: 767px) {
    .site-index .slider-header-italic {
        max-width: 260px;
    }

    .slider-header-italic{
        font-size: 20px;
    }
}

@media (max-width: 500px) {
    .site-index .slider-header-italic {
        max-width: 210px;
    }

    .slider-header-italic{
        font-size: 17px;
    }
}

.site-index .slider-header-italic {
    margin-top: 0;
}

.item-slider-header {
    margin-bottom: 30px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase
}

.item-slider {
    white-space: nowrap;
    overflow: hidden;
    margin: 0 -15px 0 -14px
}

.item-slider .one {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    padding: 15px 0 30px
}

.site-index .item-slider .one {
    background: #FFF
}

.item-slider.pre-order .one {
    border: none
}

.item-slider .img {
    display: block;
    margin: 0 5% 20px;
    max-width: 380px
}

.item-slider .img .image {
    max-width: 90%;
    margin: 0 auto
}

.item-slider .pre-order {
    display: inline-block;
    margin: 0 auto 10px;
    padding: 9px 13px;
    line-height: 1;
    background: #5E9275;
    color: #FFF
}

.item-slider .name {
    display: block;
    margin: 5px auto;
    color: #717171;
    overflow: hidden;
    padding: 0 25px;
}

.item-slider .price {
    display: block;
    font-weight: bold
}

/* Блок новость и блог */
.site-index .new-blog-container {
    display: flex;
    align-items: flex-start;
    margin: 0;
}

.site-index .new-blog-container > div {
    flex-basis: 50%
}

.site-index .new-blog-container > div + div {
    margin-left: 25px
}

.site-index .new-blog-container .image {
    width: 100%
}

.site-index .new-blog-container .image.narrow {
    display: none
}

.site-index .new-blog-container .header {
    display: block;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    line-height: 1;
    margin-top: 16px
}

@media screen and (max-width: 999px) {
    .site-index .new-blog-container > div + div {
        margin-left: 20px
    }

    .site-index .new-blog-container .image.normal {
        display: none
    }

    .site-index .new-blog-container .image.narrow {
        display: block
    }
}

@media screen and (max-width: 639px) {
    .site-index .new-blog-container {
        flex-wrap: wrap
    }

    .site-index .new-blog-container > div {
        flex-basis: 100%;
        max-width: 100%;
    }

    .site-index .new-blog-container > div + div {
        margin-left: 0;
        margin-top: 30px;
    }

    /* .site-index .new-blog-container .image.normal { display: block } */
    /* .site-index .new-blog-container .image.narrow { display: none } */
}

/* Заголовок блока */
.block-header {
    position: relative;
    text-align: center
}

.block-header header {
    font-size: 22px;
    font-family: 'Times New Roman', sans-serif;
    line-height: 2
}

.block-header header.italic {
    font-style: italic
}

.block-header header.left {
    text-align: left
}

.block-header article {
    margin: 20px 10% 20px
}

.link {
    font-size: 13px;
    color: #717171
}

/* Блок Наши дизайнеры */
.site-index .block-designers-wrapper {
    overflow: hidden;
    padding: 30px 0
}

.site-index .block-designers {
    display: flex;
    align-items: stretch;
    margin-right: -30px
}

.site-index .block-designers .img {
    flex-basis: 40%;
    margin: -30px -30px -30px 0
}

.site-index .block-designers .img img {
    width: 100%
}

.site-index .block-designers .message {
    flex-basis: 60%;
    background: #F5F5F5;
    padding: 5%;
    line-height: 1.75
}

.site-index .block-designers .message header {
    position: relative;
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10%
}

.site-index .block-designers .message header:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100px;
    height: 4px;
    background: #252525
}

.site-index .block-designers .message article {
    text-align: justify
}

@media screen and (max-width: 999px) {
    .site-index .block-header header {
        font-size: 18px
    }

    .site-index .block-header article {
        margin: 20px 0
    }
}

@media screen and (max-width: 767px) {
    .site-index .block-designers {
        display: block;
        margin: 0
    }

    .site-index .block-designers .img {
        margin: 0;
        text-align: center
    }

    .site-index .block-designers .img img {
        width: auto;
        max-width: 100%
    }
}

@media screen and (max-width: 399px) {
    .site-index .block-designers .message header {
        font-size: 16px
    }

    .site-index .block-designers .message article {
        font-size: 13px
    }
}

/* Блок Последние события */
.site-index .post-slider .post-container {
    display: inline-block;
    position: relative;
    padding-bottom: 40px
}

.site-index .post-slider .post-container .img {
    width: 100%
}

.site-index .post-slider .post-container .text {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 80px;
    max-height: 80px;
    padding: 15px;
    background: #FFF;
    text-align: center;
    border-width: 0 1px;
    border-style: solid;
    border-color: #F8F8F8
}

.site-index .post-slider .post-container .index-0 {
    left: 30px;
    border-left: none
}

.site-index .post-slider .post-container .index-2 {
    right: 30px;
    border-right: none
}

.site-index .post-slider .post-container .name {
    font-weight: bold;
    max-height: 100%;
    overflow: hidden;
    line-height: 25px
}

@media screen and (max-width: 999px) {
    .site-index .post-slider .post-container .name {
        font-size: 12px
    }
}

@media screen and (max-width: 767px) {
    .site-index .post-slider .post-container .name {
        font-size: 11px
    }
}

/* Блок О компании */
.about-company {
    display: flex;
    justify-content: space-between;
    margin: 45px -15px 0
}

.about-company label {
    font-family: 'Times New Roman', sans-serif;
    font-size: 22px;
    font-style: italic;
    font-weight: normal;
    margin-bottom: 15px
}

.about-company article {
    color: #717171;
    margin: 0 10px 20px
}

.about-company .image {
    width: 100%
}

.about-company header {
    margin-top: 15px;
    text-align: center;
    text-transform: uppercase
}

.about-company .col1 {
    flex-basis: 750px
}

.about-company .col2 {
    flex-basis: 425px;
    margin-left: 25px;
    display: flex;
    flex-direction: column
}

.about-company .col1 .row1 {
    flex-basis: 50%;
    display: flex
}

.about-company .col1 .row1 .left {
    flex-basis: 60%;
    padding: 10px;
    text-align: center;
    background: #F3F3F3
}

.about-company .col1 .row1 .right {
    flex-basis: 40%;
    background-image: url(/upload/images/site/index/about-col1-row1-right.jpg);
    background-size: cover;
    background-position: 50% 50%
}

.about-company .col1 .row2 {
    flex-basis: 50%;
    margin-top: 25px
}

.about-company .col1 .row2 header {
    display: none
}

.about-company .col2 .row1 {
    flex-basis: 50%
}

.about-company .col2 .row2 {
    flex-basis: 50%;
    margin-top: 25px
}

@media screen and (max-width: 999px) {
    .about-company label {
        font-size: 18px
    }
}

@media screen and (max-width: 767px) {
    .about-company {
        display: block
    }

    .about-company .col2 {
        flex-direction: row;
        margin: 25px 0 0
    }

    .about-company .col2 .row2 {
        margin-top: 0;
        margin-left: 25px
    }
}

@media screen and (max-width: 639px) {
    .about-company .col1 .row1 .left {
        flex-basis: 100%
    }

    .about-company .col1 .row1 .right {
        display: none
    }
}

@media screen and (max-width: 479px) {
    .about-company .col1 .row2 header {
        display: block
    }

    .about-company .col2 {
        display: block
    }

    .about-company .col2 .row2 {
        margin: 25px 0 0
    }
}

/* Подписка */
.about-company .subscribe-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px 20px;
    margin: 0
}

.about-company .subscribe-container .col {
    flex-basis: 50%;
    list-style-type: none
}

.about-company .subscribe-container .col .email {
    font-style: italic
}

.about-company .subscribe-container .col .submit {
    width: 100%
}

.about-company .subscribe-hint {
    font-size: 12px;
    color: #717171
}

.about-company .subscribe-hint [read] {
    font-style: italic;
    border-bottom-color: #717171
}

@media screen and (max-width: 479px) {
    .about-company .subscribe-container {
        padding: 0 0 20px
    }
}

/* Блок Мы в социальных сетях */
.site-index .social-network-wrapper {
    overflow: hidden
}

.site-index .social-network-wrapper .social-network-container {
    display: flex
}

.site-index .social-network-wrapper .social-network-container .one {
    position: relative;
    flex-basis: 20%;
    flex-shrink: 0
}

@media screen and (max-width: 990px) {
    .site-index .social-network-wrapper .social-network-container .one {
        flex-basis: 25%
    }
}

@media screen and (max-width: 750px) {
    .site-index .social-network-wrapper .social-network-container .one {
        flex-basis: 33.3333%
    }
}

@media screen and (max-width: 510px) {
    .site-index .social-network-wrapper .social-network-container .one {
        flex-basis: 50%
    }
}

.site-index .social-network-wrapper .social-network-container .one .img-block {
    display: block;
    position: relative
}

.site-index .social-network-wrapper .social-network-container .one .img {
    width: 100%;
    cursor: pointer
}

.site-index .social-network-wrapper .social-network-container .one .icon {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 35px;
    height: 34px;
    background: url(/upload/images/site/index/icon-instagram.png) no-repeat
}

.site-index .social-network-wrapper .social-network-container .one .space {
    padding: 50% 0
}


/* СТРАНИЦА КОЛЛЕКЦИИ - collection/index */
/* Список коллекций */
.collection-list-container {
    position: relative;
    display: flex
}

.collection-list-container .image-container {
    flex-basis: 600px;
    flex-shrink: 0;
    max-width: 52%;
    min-width: 115px
}

.collection-list-container .image-container img {
    width: 100%
}

.collection-list-container .text-container {
    padding-left: 30px
}

.collection-list-container .text-container .link {
    display: block;
    text-decoration: none
}

.collection-list-container .name {
    font-size: 20px
}

.collection-list-container .sub-name {
    font-size: 14px
}

.collection-list-container .margin {
    height: 30px
}

.collection-list-container .content {
    text-align: justify
}

.collection-list-container .short-content {
    text-align: justify;
    font-size: 12px;
    display: none
}

@media screen and (max-width: 767px) {
    .collection-list-container .text-container {
        padding-left: 15px
    }

    .collection-list-container .name {
        font-size: 16px
    }

    .collection-list-container .sub-name {
        font-size: 12px
    }

    .collection-list-container .content {
        font-size: 12px
    }

    .collection-list-container .margin {
        height: 15px
    }
}

@media screen and (max-width: 639px) {
    .collection-list-container .content {
        display: none
    }

    .collection-list-container .short-content {
        display: block
    }
}

@media screen and (max-width: 419px) {
    .collection-list-container .name {
        font-size: 20px
    }

    .collection-list-container .sub-name {
        font-size: 14px
    }

    .collection-list-container .short-content {
        display: none
    }
}


/* СТРАНИЦА СОБЫТИЯ - post/index */
/* Последнее событие */
.post-list-current {
    margin: 10px 0 45px;
    text-align: center
}

.post-list-current .created {
    font-style: italic;
    color: #717171
}

.post-list-current .name {
    font-family: 'Times New Roman', sans-serif;
    font-size: 22px;
    margin: 20px 0 10px
}

.post-list-current article {
    margin: 10px 0
}

.post-list-current .link {
    font-style: italic;
    color: #717171;
    text-decoration: underline;
    margin: 20px 0
}

.post-list-current .image {
    max-width: 100%
}

/* Период */
.post-list-period {
    display: flex;
    align-items: center;
    margin-bottom: 30px
}

.post-list-period .hint {
    flex-basis: 100px;
    color: #717171;
    text-transform: uppercase
}

.post-list-period .select {
    flex-basis: 150px;
    border-bottom: 1px solid #717171
}

/* Список событий */
.post-list-container {
    position: relative;
    margin-left: -25px
}

.post-list-container > .one {
    float: left;
    max-width: 50%;
    overflow: hidden;
    padding-left: 25px;
    margin-bottom: 30px
}

.post-list-container .image {
    width: 100%
}

.post-list-container .date {
    color: #717171;
    margin-top: 10px
}

.post-list-container .name {
    display: block;
    text-transform: uppercase;
    margin-top: 10px
}

@media screen and (max-width: 767px) {
    .post-list-container .date {
        display: none
    }
}

@media screen and (max-width: 699px) {
    .post-list-container .name {
        text-transform: none
    }
}

@media screen and (max-width: 639px) {
    .post-list-container > .one {
        float: none;
        max-width: 100%
    }
}

/* Просмотр события - post/view */
.post-view .date {
    text-align: center;
    color: #717171;
    margin-bottom: 20px
}

.post-view .title {
    font-style: normal;
    text-transform: uppercase;
    margin-bottom: 15px
}

.text-content img {
    max-width: 100%;
    height: initial
}


/* СТРАНИЦА КОЛЛЕКЦИИ - collection/index */
/* Список коллекций */
.collection-list-container {
    position: relative;
    display: flex
}

.collection-list-container .image-container {
    flex-basis: 600px;
    flex-shrink: 0;
    max-width: 52%;
    min-width: 115px
}

.collection-list-container .image-container img {
    width: 100%
}

.collection-list-container .text-container {
    padding-left: 30px
}

.collection-list-container .text-container .link {
    display: block;
    text-decoration: none
}

.collection-list-container .name {
    font-size: 20px
}

.collection-list-container .sub-name {
    font-size: 14px
}

.collection-list-container .margin {
    height: 30px
}

.collection-list-container .content {
    text-align: justify
}

.collection-list-container .short-content {
    text-align: justify;
    font-size: 12px;
    display: none
}

@media screen and (max-width: 767px) {
    .collection-list-container .text-container {
        padding-left: 15px
    }

    .collection-list-container .name {
        font-size: 16px
    }

    .collection-list-container .sub-name {
        font-size: 12px
    }

    .collection-list-container .content {
        font-size: 12px
    }

    .collection-list-container .margin {
        height: 15px
    }
}

@media screen and (max-width: 639px) {
    .collection-list-container .content {
        display: none
    }

    .collection-list-container .short-content {
        display: block
    }
}

@media screen and (max-width: 419px) {
    .collection-list-container .name {
        font-size: 20px
    }

    .collection-list-container .sub-name {
        font-size: 14px
    }

    .collection-list-container .short-content {
        display: none
    }
}


/* СТРАНИЦА ПРАЙС-ЛИСТ - СПИСОК ЦЕН - pricelist/index */
.pricelist-setting {
    width: inherit;
    white-space: nowrap
}

.show-nested {
    display: inline-block;
    width: 10px;
    vertical-align: text-bottom;
    cursor: pointer
}

.show-nested:hover {
    text-decoration: none
}

.pricelist-setting .thin {
    font-weight: normal
}

.table-pricelist .catalog-name {
    font-size: 20px
}


/* СТРАНИЦА ВАШ МЕНЕДЖЕР - manager/index */
/* Фотография и приветствие */
.manager-index .manager-flex {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center
}

.manager-index .manager-flex .photo {
    flex-basis: 200px;
    flex-shrink: 0;
    padding: 15px 0
}

.manager-index .manager-flex .space {
    flex-basis: 45px;
    flex-shrink: 0
}

.manager-index .manager-flex .accost {
    flex-basis: 200px;
    flex-grow: 1;
    padding-bottom: 15px;
    line-height: 1.5;
    font-size: 12px
}

.manager-flex .manager-photo {
    max-width: 100%
}

.manager-flex .accost header {
    font-size: 16px;
    margin-bottom: 10px
}

/* Сводка */
.manager-resume td.icon {
    font-size: 20px;
    text-align: center
}

.manager-resume td.space {
    width: 30px
}

.manager-resume td.text {
    font-style: italic
}

/* Отправка сообщения */
.manager-message-form header {
    font-size: 12px
}

.manager-message-form .message {
    display: block;
    margin: 15px 0;
    width: 100%;
    height: 100px;
    padding: 12px 15px;
    border-color: #CCC;
    border-radius: 8px
}

.send-message {
    margin: 15px 0;
    max-width: 500px;
    border: 1px solid #CCC;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    border-radius: 8px
}

/* Переписка - manager/correspondence */
.correspondence {
    margin-right: 95px
}

@media screen and (max-width: 999px) {
    .correspondence {
        margin-right: 0
    }
}

.correspondence-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 25px
}

.correspondence .theirs {
    justify-content: flex-start
}

.correspondence .my {
    justify-content: flex-end
}

.correspondence .theirs-photo {
    flex-basis: 80px;
    flex-shrink: 0;
    margin-right: 15px
}

.correspondence .theirs-photo img {
    width: 100%
}

.correspondence .block {
    position: relative;
    padding: 15px;
    max-width: 50%
}

.correspondence .theirs .block {
    border-radius: 0 8px 8px 8px;
    background: #F5F5F5
}

.correspondence .theirs .block:before {
    content: "";
    position: absolute;
    left: -10px;
    top: 0;
    width: 10px;
    height: 10px;
    background: #F5F5F5
}

.correspondence .theirs .block:after {
    content: "";
    position: absolute;
    left: -20px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background: white
}

.correspondence .my .block {
    border-radius: 8px 0 8px 8px;
    background: #E0E0E0
}

.correspondence .my .block:before {
    content: "";
    position: absolute;
    right: -10px;
    top: 0;
    width: 10px;
    height: 10px;
    background: #E0E0E0
}

.correspondence .my .block:after {
    content: "";
    position: absolute;
    right: -20px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background: white
}

@media screen and (max-width: 767px) {
    .correspondence .block {
        max-width: 60%
    }
}

@media screen and (max-width: 639px) {
    .correspondence .block {
        max-width: 70%
    }
}

.correspondence .block .message {
    white-space: normal
}

.correspondence .block .date-time {
    position: absolute;
    right: 0;
    bottom: -20px;
    font-size: 12px;
    line-height: 1;
    color: #AAA
}


/* НАСТРОЙКИ SEO */
.seo-setting-container {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 2000;
    max-height: 100%;
    overflow: auto;
    box-shadow: 0 0 3px;
    background: #F5F5F5;
    opacity: 0.8;
    transition: 0.2s
}

.seo-setting-container:hover {
    opacity: 1
}

.seo-setting-close {
    float: right;
    color: #252525;
    cursor: pointer;
    margin-left: 5px
}

.seo-setting {
    display: none;
    width: 665px;
    padding: 15px
}

.seo-setting-data .value {
    font-weight: bold
}

.seo-setting-slide-up {
    float: right
}

/* Seo текст */
.seo-text {
    line-height: 1.5;
    margin-bottom: 13px;
}

.seo-text h1, .seo-text h2, .seo-text h3, .seo-text h4 {
    margin: 15px 0 15px;
    font-weight: bold
}

.seo-text header {
    margin: 30px 0 15px;
    font-size: 16px;
    font-weight: bold
}

.seo-text img, img.w100 {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    margin: 15px 0
}


/* АКЦИИ - action/index, site/index */
.action-list .block {
    margin: 0 0 45px;
    display: flex;
    justify-content: stretch
}

.action-list .img-part {
    flex-basis: 500px;
    flex-shrink: 0
}

.action-list .img-part .image {
    width: 100%
}

.action-list .message-part {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.action-list .name {
    font-weight: bold;
    text-transform: uppercase
}

.action-list .period {
    margin-top: 10px;
    color: #717171
}

.action-list .description {
    line-height: 1.75;
    flex-grow: 0.25
}

.action-list .link {
    display: inline-block;
    padding: 10px 0;
    font-style: italic
}

/*Скачать каталог с админки*/
.download-catalog-from-admin {
    position: relative;
    float: right;
    margin-right: 30px;
    top: -13px;
}

.download-catalog-from-admin > a {
    font-size: 14px;
    color: white;
    background: #252525;
    border-radius: 3px;
    /*padding-top: 5px;*/
    /*padding-bottom: 3px;*/
    padding: 6px 20px;
    width: 140px;
    transition: 0.3s;
    border: 1px solid #252525;
    text-decoration: none;
}

.download-catalog-from-admin > a:hover {
    background: #fff;
    color: #252525;
    text-decoration: none;
}

@media screen and (max-width: 999px) {
    .action-list .img-part {
        flex-basis: 50%
    }
}

@media screen and (max-width: 639px) {
    .action-list .block {
        display: block
    }

    .action-list .message-part {
        padding-left: 0;
        padding-top: 20px
    }
}

/* СТРАНИЦА ПРОСМОТР АКЦИИ - action/view */
.action-view .img-action {
    width: 100%;
    margin-bottom: 30px
}


/* ВСТАВКИ - insert/block */
.insert-container {
    display: flex;
    align-items: stretch;
    margin: 0 0 30px 15px
}

.insert-container .part-image {
    margin: auto
}

.insert-container .part-image .image {
    max-width: 100%
}

.insert-container .part-text {
    flex-basis: 270px;
    min-width: 270px;
    flex-grow: 1;
    padding: 15px;
    margin: auto
}

.insert-container .part-text .name {
    display: block;
    font-size: 22px;
    font-family: 'Times New Roman', sans-serif;
    line-height: 1;
    margin-bottom: 30px
}

.insert-container .part-text .subname {
    font-size: 14px;
    text-align: right
}

.insert-container .part-text .contents {
    text-align: left;
    font-size: 14px;
    line-height: 1.75
}

@media screen and (max-width: 999px) {
    .insert-container .part-text {
        min-width: 360px
    }

    .insert-container .part-text .name {
        font-size: 18px;
        margin-bottom: 20px
    }

    .insert-container .part-text .contents {
        font-size: 13px
    }
}

@media screen and (max-width: 767px) {
    .insert-container {
        flex-direction: column
    }

    .insert-container-image-right {
        flex-direction: column-reverse
    }

    .insert-container .part-text {
        flex-basis: auto;
        padding: 30px 15px;
        min-width: auto
    }
}


/* ДОСТАВКА - page/shipping */
/* Переключение разделов */
.page-shipping .section-table {
    display: flex;
    flex-wrap: nowrap
}

.page-shipping .section-table + .section-table {
    margin-top: 4px
}

.page-shipping .section-table .section-block {
    position: relative;
    flex-basis: 50%;
    border: 1px solid #BBB;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer
}

.page-shipping .section-table .section-block + .section-block {
    margin-left: 4px
}

.page-shipping .section-table .section-block:after {
    position: absolute;
    right: 4%;
    bottom: 20px;
    content: "\2192";
    font-size: 20px
}

.page-shipping .section-table .section-block:hover {
    background: #FDDF87;
    border-color: transparent
}

.page-shipping .section-table .icon {
    display: block;
    width: 100px;
    height: 36px;
    background: url(/upload/images/page/shipping/icon.png);
    margin: 15px auto 10px
}

.page-shipping .section-table .icon.moscow {
    background-position: -100px -32px
}

.page-shipping .section-table .icon.moscow-region {
    background-position: -200px -32px
}

.page-shipping .section-table .icon.other-region {
    background-position: -300px -32px
}

.page-shipping .section-table .icon.pickup {
    background-position: 0 -32px
}

.page-shipping .section-table header {
    color: #717171;
    margin-bottom: 10px
}

.page-shipping .section-table article {
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 15px
}

@media screen and (min-width: 556px) and (max-width: 699px) {
    .page-shipping .section-table .section-block:after {
        content: ""
    }
}

@media screen and (max-width: 349px) {
    .page-shipping .section-table .section-block:after {
        content: ""
    }
}

@media screen and (max-width: 555px) {
    .page-shipping .section-table {
        flex-wrap: wrap
    }

    .page-shipping .section-table .section-block {
        flex-basis: 100%
    }

    .page-shipping .section-table .section-block + .section-block {
        margin-left: 0;
        margin-top: 4px
    }
}

/* Разделы */
.page-shipping .section-container {
    display: none
}

.page-shipping header {
    margin: 30px 0
}

/* Поиск города */
.page-shipping .search-container {
    display: flex;
    max-width: 400px;
    margin: 0
}

.page-shipping .shipping-city {
    flex-basis: 300px;
    font-style: italic;
    vertical-align: bottom
}

.page-shipping .shipping-city-search {
    margin-left: 15px;
    flex-basis: 85px;
    min-width: 85px
}

/* Таблица цен */
.page-shipping .tariff-container {
    margin-top: 30px
}

.page-shipping .tariff-container .map {
    width: 100%;
    margin-left: -390px;
    padding-left: 390px;
    height: 394px;
    float: left
}

.page-shipping .tariff-container .table {
    width: 390px;
    height: 394px;
    padding-left: 15px;
    float: right
}

.page-shipping .tariff-table {
    width: 100%;
    margin-bottom: 5px
}

.page-shipping .tariff-table td {
    font-size: 14px;
    background: rgba(251, 249, 243, 0.7);
    width: 25%;
    vertical-align: middle;
    text-align: center;
    height: 24px
}

.page-shipping .tariff-table tr.active td {
    background: rgba(252, 223, 135, 0.7)
}

.page-shipping .tariff-table tr.hat td {
    background: #FCDF87
}

.page-shipping .tariff-container .table .description {
    background: rgba(251, 249, 243, 0.7);
    border: 1px solid rgba(33, 7, 11, 0.25);
    font-size: 12px;
    line-height: 1;
    text-align: justify;
    padding: 5px 10px;
    margin-top: 20px
}

@media screen and (max-width: 767px) {
    .page-shipping .tariff-container .map {
        margin-left: 0;
        padding-left: 0;
        float: none
    }

    .page-shipping .tariff-container .table {
        padding-left: 0;
        margin-top: 15px;
        max-width: 100%;
        float: none
    }
}

/* ОПЛАТА - page/payment */
.page-payment .payment-type .icon {
    float: left;
    width: 100px
}


/* КАРТА С БУТИКАМИ - используется в доставке самовывозом, магазинах, городах
/* Бутики самовывоза */
.shipping-switch-container .active {
    font-weight: bold
}

.boutique-container {
    margin: 0 0 30px -15px
}

.boutique-list {
    width: 270px;
    height: 400px;
    float: left
}

.boutique-map {
    width: 100%;
    height: 400px;
    margin-left: -270px;
    padding-left: 270px;
    float: right
}

@media screen and (max-width: 767px) {
    .boutique-container {
        margin-right: -15px
    }

    .boutique-map {
        margin-left: 0;
        padding-left: 0;
        float: none
    }

    .boutique-list {
        width: auto;
        height: auto;
        max-height: 50vh;
        margin-top: 15px;
        float: none
    }
}

.boutique-list .city2mark {
    padding-top: 10px;
    padding-bottom: 20px;
    text-align: right;
    font-size: 13px
}

.boutique-list .city2mark span {
    color: #A00000
}

.boutique-list .city2name {
    text-align: left;
    font-size: 24px;
    overflow-y: hidden
}

.boutique-list .city2address {
    text-align: left;
    font-size: 13px;
    padding-right: 20px;
    margin-bottom: 10px;
    max-width: 300px
}

.boutique-list .city2info {
    text-align: left;
    font-size: 13px;
    position: relative;
    margin-bottom: 10px
}

.boutique-list .city2address i, .boutique-list .city2info i {
    font-size: 20px;
    color: #A00000;
    width: 30px;
    vertical-align: bottom
}

.boutique-list .nearest_boutique {
    position: relative;
    padding: 15px;
    cursor: pointer
}

.boutique-list .nearest_boutique:hover {
    background: rgba(33, 7, 11, 0.05)
}


/* МАГАЗИНЫ - page/shop */
/* Алфавитный список городов */
.city-alphabetical-index {
    display: flex
}

.city-alphabetical-index .column {
    padding-left: 35px;
    flex-basis: 100%
}

.city-alphabetical-index .city-letter {
    padding-bottom: 30px
}

.city-alphabetical-index .city-letter label {
    font-size: 30px;
    font-weight: normal;
    line-height: 1;
    margin-bottom: 20px;
    width: 80px;
    position: relative
}

.city-alphabetical-index .city-letter label:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 4px;
    width: 50px;
    border-top: 2px solid #252525
}

.city-alphabetical-index .city {
    position: relative;
    line-height: 1
}

.city-alphabetical-index .supercity {
    font-weight: bold;
    font-style: italic;
    color: #A00000
}

.city-alphabetical-index .city.flag {
    margin-left: -35px
}

.city-alphabetical-index .city.flag:before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 15px;
    margin-right: 5px;
    vertical-align: middle;
    box-shadow: 0 0 2px rgba(33, 7, 11, 0.5)
}

.city-alphabetical-index .city.flag.byelorussia:before {
    background-image: url(/upload/images/page/shop/belarus.jpg)
}

.city-alphabetical-index .city.flag.kazakhstan:before {
    background-image: url(/upload/images/page/shop/kazakhstan.jpg)
}

.city-alphabetical-index .city.flag.estooonia:before {
    background-image: url(/upload/images/page/shop/estonia.jpg)
}

.city-alphabetical-index .city.flag.armenia:before {
    background-image: url(/upload/images/page/shop/armenia.jpg)
}

.city-alphabetical-index .city.flag.georgia:before {
    background-image: url(/upload/images/page/shop/georgia.jpg)
}

/* Геокодирование */
.geocode-input-container {
    display: flex;
    justify-content: flex-end;
    margin-top: -59px
}

.geocode-input-container .geocode-address {
    width: 200px
}

.geocode-input-container .geocode-search {
    width: 70px
}

@media screen and (max-width: 479px) {
    .geocode-input-container {
        margin-top: 0;
        justify-content: normal
    }
}


/* ГОРОД - page/city */
/* Список бутиков франчайзи */
.page-city h2 {
    margin: 30px -15px 45px;
    background: #252525;
    padding: 2%;
    color: white;
    font-size: 20px;
    text-align: center
}

.boutique-info-list .header {
    display: block;
    margin-bottom: 10px;
    font-size: 24px
}

.page-boutique .header {
    display: none
}

.boutique-info-list .slider-wrapper {
    margin-bottom: 15px
}

.boutique-info-slider {
    width: calc(100vw - 47px);
    max-width: 900px
}

.boutique-info-slider .image {
    max-width: 100%
}

.boutique-info-list .boutique-info-slider .image {
    display: none
}

.boutique-info-list .boutique-one {
    display: flex;
    margin-bottom: 15px
}

.boutique-info-list .part-info {
    flex-basis: 100%;
    padding-right: 15px;
    cursor: default
}

.boutique-info-list .icon {
    float: left;
    width: 24px;
    height: 24px;
    margin: 0 16px -5px 0;
    font-size: 20px;
    text-align: center;
    color: #A00000
}

.boutique-info-list .part-image {
    display: flex;
    flex-direction: row-reverse;
    line-height: 0;
    margin-bottom: 15px
}

.boutique-info-list .image-main {
    width: 400px;
    height: 250px;
    overflow: hidden
}

.boutique-info-list .image-main .image {
    width: 100%
}

.boutique-info-list .images-small {
    width: 206px;
    height: 250px;
    margin: -4px 4px 0 0
}

.boutique-info-list .image-small {
    width: 206px;
    height: 123px;
    margin-top: 4px
}

.boutique-info-list [scrollpoint] {
    cursor: pointer
}

.boutique-info-list [boutique-route] {
    cursor: help
}

.boutique-info-list [route-info] {
    display: none;
    line-height: 1.5
}

@media screen and (max-width: 999px) {
    .boutique-info-list .images-small {
        display: none
    }
}

@media screen and (max-width: 767px) {
    .page-city h2 {
        margin: 30px -15px;
        font-size: 16px
    }

    .boutique-info-list .boutique-one {
        flex-direction: row-reverse
    }

    .boutique-info-list .part-info {
        flex-basis: 50%;
        padding-right: 0
    }

    .boutique-info-list .part-image {
        flex-basis: 50%;
        margin-right: 15px
    }

    .boutique-info-list .image-main {
        width: 100%;
        height: auto
    }
}

@media screen and (max-width: 639px) {
    .boutique-info-list .header {
        font-size: 16px;
        font-weight: bold
    }

    .boutique-info-list .image-main .image {
        width: 150%;
        margin: 0 -25%
    }
}

@media screen and (min-width: 480px) {
    .boutique-info-list .slider-wrapper {
        display: none
    }
}

@media screen and (max-width: 479px) {
    .boutique-info-list .part-image {
        display: none
    }

    .boutique-info-list .part-info {
        flex-basis: 100%
    }

    .boutique-info-list .part-info .header {
        display: none
    }

    .boutique-info-list .part-info .icon {
        display: inline-block
    }
}

/* Карта */
#boutique-list-map {
    width: 100%;
    height: 400px;
    margin-bottom: 45px
}

/* Список оптовиков */
.boutique-info-list .opt-list-container {
    display: flex;
    flex-wrap: wrap;
    margin-left: -30px
}

.opt-list-container .boutique-opt {
    flex-basis: 33.3333%;
    padding: 0 0 30px 30px
}

@media screen and (max-width: 767px) {
    .opt-list-container .boutique-opt {
        flex-basis: 50%
    }
}

@media screen and (max-width: 479px) {
    .opt-list-container .boutique-opt {
        flex-basis: 100%
    }
}


/* КОНТАКТЫ - page/contact */
/* Контактная информация */
.page-contact .info-container {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px
}

.page-contact .info-block {
    width: 33.3333%;
    padding-left: 15px
}

.page-contact .red-icon {
    color: #A00000;
    width: 40px;
    float: left;
    margin-bottom: 10px
}

@media screen and (max-width: 767px) {
    .page-contact .info-block {
        width: 50%
    }
}

@media screen and (max-width: 479px) {
    .page-contact .info-block {
        width: 100%
    }
}

/* Реквизиты */
.page-contact .requisite-container {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px
}

.page-contact .requisite-block {
    width: 50%;
    padding-left: 15px
}

@media screen and (max-width: 767px) {
    .page-contact .requisite-block {
        width: 100%
    }
}

/* Форма */
.page-contact .contact-hint {
    color: #717171
}

/* Схема проезда */
.page-contact .schema-container {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px
}

.page-contact .schema-block {
    width: 50%;
    padding-left: 15px;
    margin-bottom: 15px
}

@media screen and (max-width: 767px) {
    .page-contact .schema-block {
        width: 100%
    }
}


/* МЕНЮ СТРАНИЦЫ - БОКОВОЕ */
.page-wrapper {
    /*display: flex;*/
    align-items: flex-start
}

.page-wrapper > *,
.page-wrapper .page-wrapper-element {
    flex-grow: 1
}

.page-menu {
    flex-basis: 300px;
    flex-shrink: 0;
    margin: 42px 60px 0 0;
    max-width: 300px;
    overflow: hidden;
    display: none;
}

.page-menu .block {
    border-bottom: 1px solid #E0E0E0
}

.page-menu .block header {
    position: relative;
    font-size: 14px;
    line-height: 1;
    padding: 15px 0;
    text-transform: uppercase;
    transition: 0.1s;
    cursor: pointer
}

.page-menu .block header:after {
    content: "";
    position: absolute;
    top: 20px;
    right: 10px;
    width: 6px;
    height: 6px;
    border-width: 1px 1px 0 0;
    border-style: solid;
    border-color: #717171;
    transform: rotate(45deg);
    transition: 0.3s
}

.page-menu .block.active header, .page-menu .block:hover header {
    text-shadow: 0.3px 0 #252525, -0.3px 0 #252525
}

.page-menu .block.active header:after {
    transform: rotate(135deg)
}

.page-menu .items-container {
    padding: 0 0 5px;
    list-style-type: none;
    display: none;
    overflow: hidden;
    cursor: default
}

.page-menu .block.active .items-container {
    display: block
}

.page-menu .item {
    position: relative;
    color: #717171;
    font-size: 13px;
    line-height: 1;
    padding: 7px 0 7px 20px
}

.page-menu .item:before {
    content: "\00B7";
    position: absolute;
    left: 10px;
    font-weight: bold;
    color: #252525
}

.page-menu .item.active, .page-menu .item:hover {
    color: #252525;
    text-shadow: 0.3px 0 #252525, -0.3px 0 #252525
}

.page-menu .link {
    display: block;
    padding: 7px 0;
    margin: -7px 0;
    color: inherit;
    text-decoration: none;
    cursor: inherit
}

.page-menu .link[href] {
    cursor: pointer
}

.page-menu .ask-block {
    margin-top: 40px;
    text-align: center
}

.page-menu .btn-ask-question {
    width: 75%
}

@media screen and (max-width: 1099px) {
    .page-menu {
        margin-right: 30px
    }
}

@media screen and (max-width: 999px) {
    .page-wrapper {
        display: block
    }

    .page-menu {
        display: none
    }
}

/* Навигация - page/navigation */
.pn-container {
    margin-left: -30px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: stretch
}

.pn-block {
    flex-basis: 25%;
    padding-left: 30px
}

.pn-block header {
    font-size: 14px;
    line-height: 1;
    padding: 15px 0;
    text-transform: uppercase;
    text-shadow: 0.3px 0 #252525, -0.3px 0 #252525
}

.pn-list {
    padding: 0 0 15px
}

.pn-item {
    position: relative;
    padding: 7px 0 7px 20px;
    color: #717171;
    font-size: 13px;
    line-height: 1;
    transition: 0.1s
}

.pn-item:before {
    content: "\00B7";
    position: absolute;
    left: 10px;
    font-weight: bold;
    color: #252525
}

.pn-item:hover {
    color: #252525;
    text-shadow: 0.3px 0 #252525, -0.3px 0 #252525
}

.pn-link {
    display: block;
    padding: 7px 0;
    margin: -7px 0;
    color: #717171
}

.pn-link:hover {
    text-decoration: none
}

@media screen and (max-width: 1099px) {
    .pn-block {
        flex-basis: 33%
    }
}

@media screen and (max-width: 767px) {
    .pn-block {
        flex-basis: 50%
    }
}

@media screen and (max-width: 639px) {
    .pn-block {
        flex-basis: 100%
    }
}

/* БОНУСНАЯ ПРОГРАММА - bonus-for-friends/index */
.bff-check-balance {
    cursor: pointer
}

/* До 500px шапка накладывается на заголовки */
@media (max-width: 500px) {
    .container-box {
        margin-top: 20px;
    }

    .a_card .container-box {
        margin-top: 0;
    }
}
