/* Фикс мин.ширины экрана для корректного отображения и масштаба */

/* Фикс синей полосы орга сверху */
.header-top.overall_header_body_before .header-menu a {
    padding: 1.2em 10px;
}

/* фикс ширины отчета орга */
.icon-middle {
    max-width: unset !important;
}

.block_foto a.foto_item, .block_foto img.foto  {
    width: 32%;
}

.block_foto .product-item img.foto  {
    width: initial;
}

@media (max-width: 700px) {
    .wrap_forum .wrap {
        padding: 0 5px !important;
    }
}

@media (max-width: 750px) {
     /* Избранные закупки */
     .orders-page .border-block  {
        width: 100% !important;
        overflow-x: hidden;
    }
    /* Список желаний */
    .orders-page .order-vars-select {
        max-width: 200px;
    }
    /* Авторизация */
    .register-form__inputs-container {
        padding: 35px;
    }

    /* активные закупки */
    .mobile_block_foto {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: baseline;
    }

    .block_foto {
        height: unset !important;
        min-height: 170px;
    }

    .product-vis-title {
        position: static !important;
    }

    .product-wrap {
        width: 95px !important;
    }

    .mobile_block_foto .foto {
        margin: 0 auto;
        max-height: 95px !important;
        max-width: 95px !important;
    }

    .category--item {
        white-space: unset !important;
        margin-bottom: 5px;
    }

    .mobile_block_foto .baner {
        max-width: 100% !important;
    }

    .register-form__inputs-container {
        max-width: 95%;
        margin: 0 auto !important;
    }

    .register-form h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    div#wish-list-row-value {
        width: 100% !important;
    }

    div#wish-list-col-wog-right {
        width: unset !important;
    }

    .orders-page .purchase-title .name-purchase {
        height: unset !important;
    }

    .bs .nav > li > a {
        padding: 10px 5px;
    }

    .catalogpage .compare-nav a.back-to-old-design {
        margin-right: 10px;
    }

    #purchase_list .purchase_state b {
        margin-right: 0 !important;
    }

    #purchase_list a.topictitle.mobile {
        word-break: break-all;
    }

    /* конец активные закупки*/

    /* первый пост */
    .b-main-aitem .jcarousel {
        min-width: unset !important;
    }

    .first_post {
        min-width: unset !important;
    }

    .wrap_forum h1 {
        margin-right: unset !important;
        padding: 0 15px;
    }

    .wrap_forum h4{
        padding: 0 15px;
    }

    .main-content .link-list a.region{
        padding-left:10px
    }

    /* конец первый пост */

    /* каталоги */
    .col-wog-left {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .item-params-block ul.params-list {
        margin: unset !important;
    }

    .row-catalog-search .search-props {
        padding-left: unset !important;
    }

    .bs .pagination > li > a,
    .bs .pagination > li > span {
        padding: 6px 11px !important;
    }

    .modal-item .item-list-info {
        min-width: 380px;
    }

    .modal-item .item-list-info * {
        backface-visibility: hidden;
    }

    .modal-item-carousel .carousel-inner img {
        max-width: 100%;
    }

    .catalogpage {
        width: 100%;
    }

    jdiv.wrap_mW {
        bottom: 90px !important;
    }

    .catalogpage .add-to-order {
        white-space: nowrap;
    }

    .catalog-filters-block .accept-filter-button {
        right: -70px !important;
    }

    .items-sort .modal-sort-btn {
        top: 150px !important;
        right: -25px !important;
        margin: unset !important;
    }

    img {
        backface-visibility: hidden;
    }

    .catalogpage .catalog-item-towcol .item-of-grid {
        display: block !important;
    }

    /* конец каталоги */

    /* поиск */
    .item-list-entry__wrapper {
        display: flex;
        flex-direction: column;
    }

    .main_header--row[aria-hidden="false"] {
        min-width: unset !important;
    }
    /* конец поиска */

    /* cтат страницы (частые вопросы) */
    .main-content {
        padding-left: 0;
    }
    /* конец стат. страницы */

    /* имя пользователя в хедере */
    .main_header--user {
        display: flex;
        align-items: center;
    }

    .username-coloured {
        max-width: 100px;
        overflow: hidden;
        white-space: nowrap;
    }

    .wrap_forum input,
    .wrap_forum select {
        max-width: 100%;
    }

    #account {
        overflow-x: auto;
    }

    .bs input {
        max-width: 100%;
    }

    .edit-mode-table-wrapper {
        display: flex;
        flex-direction: column;
    }

    /*  */
    /*  */
    /*  */
    /*  */
    /*  */
    /*  */
    /*  */
    /*  */
    /*  */
    html,
    body {
        min-width: 320px;
        width: 100%;
        margin-bottom: 60px;
    }

    *,
    *:after,
    *:before {
        box-sizing: border-box;
    }

    .main_suggestions .b-main-aitem .jcarousel img {
        width: 100vw;
    }

    .main_suggestions img {
        max-height: unset;
    }

    .main_suggestions .b-main-aitem .jcarousel {
        min-width: 300px;
    }

    .b-main-aitem .jcarousel {
        width: 100%;
        height: auto;
    }

    .b-main-aitem {
        min-width: 300px;
    }

    .main_advantage {
        padding: 0px 0 40px 0;
    }

    .main_about--h1 {
        font-size: 16px;
    }

    .main_about--text {
        font-size: 12px;
    }

    .main_about--h2 {
        font-size: 14px;
    }

    .main_about--list li {
        font-size: 12px;
    }

    .main_footer--copyright {
        padding-left: 0px;
        width: 100%;
        text-align: center;
        padding: 10px 0 5px 0;
    }

    .main_footer-after .main_footer--links {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0px 15px;
        flex-wrap: wrap;
    }

    .main_footer-after .main_footer--links .main_footer--link {
        margin: 5px;
        padding: 0;
        margin: 0 auto;
    }

    .menu_categories--item {
        font-size: 16px;
    }

    .mobile_overlay--menu_fast .button {
        font-size: 16px;
    }

    .mobile_overlay[aria-hidden="false"] {
        min-width: 300px;
    }

    .mobile_overlay--menu_item {
        font-size: 16px;
    }

    .mobile_overlay--menu_fast .button {
        width: 150px;
        margin: 3px 5px;
        height: 32px;
        line-height: unset;
    }

    .main_footer--menu,
    .main_footer--menu-first {
        min-width: 160px;
    }

    .main_advantage--item {
        width: 173px;
    }

    .main_advantage--label {
        width: 110px;
    }

    .main_advantage {
        max-height: unset;
    }

    .b-relevant {
        margin-top: 0px !important;
    }

    .main_about {
        padding: 28px 20px 35px;
    }
}

@media (max-width: 1152px) and (min-width: 750px) {
    .main_advantage {
        width: 400px;
    }
}

/* правка календаря */
.calendar,
.monthyear,
.dayheaders {
    min-width: 225px;
}

.wrap_forum .calendar.navbar {
    padding: 3px 6px !important;
}
/* конец правка календаря */
.main_advantage--label {
    line-height: 1.5em;
}

.main_advantage--item {
    display: flex;
    align-items: center;
}

.seo-link {
    color: #318cca !important;
    text-decoration: underline !important;
    font-weight: 400;
}

.seo-link:hover,
.seo-link:active {
    color: #0069b1 !important;
    text-decoration: none !important;
}

.main_about--registration {
    text-align: center;
    margin: 0 auto;
    font-weight: 400;
    background-color: #e9f4fb;
    padding: 20px 0 40px;
}

.main_about--registration .text {
    color: #318cca;
    margin-bottom: 15px;
    margin-top: 15px;
    font-size: 17px;
    font-weight: 600;
}

.main_about--registration .link {
    padding: 11px 48px;
    font-size: 16px;
    color: white;
    background-color: #318cca;
    border-radius: 60px;
    display: inline-block;
    text-decoration: none;
    margin: 10px 0 0;
}
.main_about--registration .link:hover {
    color: white;
}


@media screen and (max-width: 767px) {
    .catalogpage .catalog-item-grid .item-image-thumb {
        max-width: 100% !important;
        min-height: unset !important;
    }
    .catalogpage .catalog-item-towcol .item-image-thumb {
        max-width: 100% !important;
    }

    .main_about--registration .link:hover {
        color: white;
    }
}

@media screen and (min-width: 768px) {
    .main_about {
        padding: 28px 40px 35px;
    }
}

.main_footer {
    margin-top: 0;
}

.main_about--content {
    text-align: justify;
}

@media (max-width: 520px) {
    .main_footer-after .main_footer--links {
        display: block;
    }

    .main_footer-after .main_footer--links .main_footer--link {
        display: block;
        padding: 5px;
    }

    .main_about--registration .text {
        font-size: 16px;
    }

    .main_about--registration .link {
        font-size: 15px;
    }
}

@media (max-width: 549px) {
    .wrap_forum a.purchase_topic {
        max-width: 108px;
        min-width: 108px;
        height: 26px;
        margin: 5px 8px 0 0;
        padding: 7px 10px;
        font-size: 10px;
        white-space: nowrap;
    }

}

@media (min-width: 550px) {
    .wrap_forum a.purchase_topic {

        margin: 5px 0 0 0;
    }

    .catalogpage .item-of-grid {
        padding: 10px 5px;

    }
}

@media (min-width: 550px) and (max-width: 992px) {
    .wrap_forum a.purchase_topic {
        padding: 8px 14px;
    }
}

@media (min-width: 992px) {
    .wrap_forum a.purchase_topic {
        padding: 9px 18px;
        font-size: 15px;
    }
}

/* Конец фикса мин.ширины экрана для корректного отображения на устройствах apple */
