

/* Start:/bitrix/templates/torgprofinew/components/bitrix/news.list/exchange/style.css?179015819216612*/
.exchange-filter {
    margin: 25px 0 35px;
    padding: 20px;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
}

.exchange-filter form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.exchange-filter select,
.exchange-filter input {
    height: 44px;
    padding: 0 12px;
    border: 1px solid #d6d6d6;
    background: #fff;
    font-size: 14px;
    box-sizing: border-box;
}

.exchange-filter select {
    min-width: 180px;
}

.exchange-filter input[name="LOCATION"] {
    min-width: 180px;
}

.exchange-filter input[name="PRICE_FROM"],
.exchange-filter input[name="PRICE_TO"] {
    width: 130px;
}

.exchange-filter button {
    height: 44px;
    padding: 0 24px;
    border: 0;
    background: #e31e24;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.exchange-filter button:hover {
    background: #c9171c;
}

.exchange-filter-reset {
    height: 44px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d6d6d6;
    color: #555;
    text-decoration: none;
    background: #fff;
}

.exchange-filter-reset:hover {
    color: #e31e24;
    border-color: #e31e24;
}


.exchange-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0 0 40px;
}


.exchange-card {
    display: flex;
    flex-direction: column;

    border: 1px solid #e5e5e5;
    background: #fff;

    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.exchange-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.09);
    transform: translateY(-2px);
}


.exchange-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f7f7f7;
}

.exchange-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.exchange-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


.exchange-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px;
}

.exchange-info h3 {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
}

.exchange-info h3 a {
    color: #222;
    text-decoration: none;
}

.exchange-info h3 a:hover {
    color: #e31e24;
}

.exchange-info > div {
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.exchange-info .price {
    margin: 8px 0 14px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #222;
}


.exchange-info .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;
    margin-top: auto;
    padding: 11px 20px;

    background: #e31e24;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.exchange-info .btn:hover {
    background: #c9171c;
    color: #fff;
}


@media (max-width: 1000px) {

    .exchange-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 650px) {

    .exchange-filter {
        padding: 15px;
    }

    .exchange-filter form {
        display: block;
    }

    .exchange-filter select,
    .exchange-filter input,
    .exchange-filter button,
    .exchange-filter-reset {
        width: 100% !important;
        margin-bottom: 10px;
    }

    .exchange-list {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .exchange-image {
        height: 220px;
    }

}


.exchange-badge-row {
    margin-bottom: 10px;
}

.exchange-badge {
    display: inline-flex;
    align-items: center;

    padding: 5px 10px;

    border-radius: 3px;

    font-size: 12px;
    line-height: 1;
    font-weight: 600;
}


.exchange-badge-sell {
    background: #fce8e9;
    color: #c9161d;
}

.exchange-badge-buy {
    background: #eeeeee;
    color: #333;
}

.exchange-badge-default {
    background: #eeeeee;
    color: #333;
}

.exchange-condition {
    margin-bottom: 10px;

    font-size: 13px;
    color: #777;
}

.exchange-price {
    margin-top: 6px;
    margin-bottom: 8px;

    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    color: #222;
}


.exchange-location {
    margin-bottom: 18px;

    font-size: 14px;
    color: #666;
}


.exchange-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;

    margin-top: auto;
    padding: 10px 20px;

    background: #e31e24;
    color: #fff;

    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    transition: background 0.2s ease;
}

.exchange-more:hover {
    background: #c9171c;
    color: #fff;
}


.exchange-intro {
    margin: 10px 0 45px;
}

.exchange-intro-text {
    max-width: 780px;
    margin-bottom: 28px;
}

.exchange-intro-text h1 {
    margin: 0 0 12px;
    font-size: 36px;
    line-height: 1.2;
}

.exchange-intro-text p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: #666;
}


.exchange-audience {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.exchange-audience-card {
    padding: 28px;
    border: 1px solid #e5e5e5;
    background: #fff;
}

.exchange-audience-label {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #e31e24;
}

.exchange-audience-card h2 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.25;
}

.exchange-audience-card p {
    max-width: 520px;
    margin: 0 0 22px;
    line-height: 1.55;
    color: #666;
}

.exchange-audience-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


.exchange-action-primary,
.exchange-action-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.exchange-action-primary {
    background: #e31e24;
    color: #fff;
    border: 1px solid #e31e24;
}

.exchange-action-primary:hover {
    background: #c9171c;
    border-color: #c9171c;
    color: #fff;
}

.exchange-action-secondary {
    background: #fff;
    color: #333;
    border: 1px solid #d5d5d5;
}

.exchange-action-secondary:hover {
    border-color: #e31e24;
    color: #e31e24;
}


.exchange-offers-heading {
    margin: 0 0 18px;
    scroll-margin-top: 100px;
}

.exchange-offers-heading h2 {
    margin: 0 0 5px;
    font-size: 28px;
}

.exchange-offers-heading p {
    margin: 0;
    color: #777;
}

.exchange-condition {
    margin-bottom:8px;
    color:#333;
}

.exchange-condition-label {
    color:#777;
    margin-right:4px;
}

.exchange-badge-row {
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    align-items:center;
}

.exchange-badge-reserved {
    background:#555;
    color:#fff;
}


/* ==========================================
   ВНУТРЕННИЙ БЛОК ПРОВЕРКИ АКТУАЛЬНОСТИ
   ========================================== */

.exchange-check-block {
    margin:35px 0 45px;
    padding:25px;

    background:#fff8e6;

    border:1px solid #ead394;
}


.exchange-check-heading {
    margin-bottom:22px;
}


.exchange-check-heading h2 {
    margin:0 0 8px;

    font-size:26px;
    line-height:1.3;
}


.exchange-check-heading p {
    margin:0;

    color:#666;

    line-height:1.5;
}

.exchange-check-success {
    margin:25px 0;

    padding:15px 18px;

    background:#f3f8f1;
    border:1px solid #cbdcc5;

    color:#333;
}

@media (max-width: 700px) {

    .exchange-intro-text h1 {
        font-size: 30px;
    }

    .exchange-audience {
        grid-template-columns: 1fr;
    }

    .exchange-audience-card {
        padding: 20px;
    }

    .exchange-audience-actions {
        display: block;
    }

    .exchange-action-primary,
    .exchange-action-secondary {
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 8px;
    }
}

#pagetitle {
    margin-top: 22px !important;
    margin-bottom: 12px !important;
}

.exchange-intro {
    margin-top: 0;
    margin-bottom: 40px;
}

.exchange-intro-text {
    margin-bottom: 24px;
}

.exchange-intro-text p {
    margin-top: 0;
}

/* ==========================================
   АДМИНИСТРАТИВНАЯ ПАНЕЛЬ БИРЖИ
   ========================================== */

.exchange-admin-panel {
    margin:35px 0;

    padding:25px;

    background:#f7f7f7;

    border:1px solid #ddd;
}


.exchange-admin-panel-heading {
    margin-bottom:20px;
}


.exchange-admin-panel-heading h2 {
    margin:0 0 6px;

    font-size:26px;
    line-height:1.3;
}


.exchange-admin-panel-heading p {
    margin:0;

    color:#777;
}


/* Сетка */

.exchange-admin-stats {
    display:grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap:15px;
}


/* Один показатель */

.exchange-admin-stat {
    display:flex;

    justify-content:space-between;
    align-items:center;

    gap:15px;

    padding:18px;

    background:#fff;

    border:1px solid #e2e2e2;
}


.exchange-admin-stat-title {
    color:#555;

    font-size:15px;
}


.exchange-admin-stat-count {
    font-size:28px;
    line-height:1;

    font-weight:600;

    color:#222;
}


/* Требуют проверки */

.exchange-admin-stat-warning {
    background:#fff8e6;

    border-color:#e5cf8c;
}


.exchange-admin-stat-warning
.exchange-admin-stat-count {
    color:#d18b00;
}


/* МОБИЛЬНАЯ ВЕРСИЯ */

@media (max-width:767px) {

    .exchange-admin-stats {
        grid-template-columns:1fr;
    }


    .exchange-admin-panel {
        padding:18px;
    }

}



/* ==========================================
   КЛИКАБЕЛЬНАЯ ПАНЕЛЬ
   ========================================== */

a.exchange-admin-stat {
    text-decoration:none;
    color:inherit;
    cursor:pointer;
}

a.exchange-admin-stat:hover {
    border-color:#aaa;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
}


/* ==========================================
   СПИСОК ПО ВЫБРАННОМУ СТАТУСУ
   ========================================== */

.exchange-admin-results {
    margin:25px 0 35px;
    padding:25px;

    background:#f7f7f7;
    border:1px solid #ddd;
}


.exchange-admin-results-heading {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;

    margin-bottom:20px;
}


.exchange-admin-results-heading h2 {
    margin:0;

    font-size:24px;
}


.exchange-admin-results-close {
    color:#777;
    text-decoration:none;
}


.exchange-admin-results-close:hover {
    color:#ed1c24;
}


.exchange-admin-result-card {
    display:flex;
    justify-content:space-between;
    gap:25px;

    margin-bottom:12px;
    padding:18px;

    background:#fff;
    border:1px solid #e5e5e5;
}


.exchange-admin-result-main {
    flex:1;
}


.exchange-admin-result-card h3 {
    margin:10px 0 15px;

    font-size:19px;
}


.exchange-admin-result-badges {
    display:flex;
    flex-wrap:wrap;
    gap:8px;

    align-items:center;
}


.exchange-admin-result-badge {
    padding:4px 8px;

    background:#ed1c24;
    color:#fff;

    font-size:12px;
}


.exchange-admin-result-active {
    color:#777;
    font-size:12px;
}


.exchange-admin-result-row {
    display:flex;
    justify-content:space-between;
    gap:20px;

    max-width:500px;

    padding:5px 0;
}


.exchange-admin-result-row span {
    color:#777;
}


.exchange-admin-result-actions {
    display:flex;
    align-items:center;
}


.exchange-admin-result-button {
    display:inline-block;

    padding:10px 15px;

    background:#ed1c24;
    color:#fff;

    text-decoration:none;
    font-weight:600;
}


.exchange-admin-result-button:hover {
    color:#fff;
    opacity:.9;
}


.exchange-admin-results-empty {
    padding:20px;

    background:#fff;
    color:#777;
}

@media (max-width:1100px) {

    .exchange-admin-stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width:767px) {

    .exchange-admin-result-card {
        display:block;
    }

    .exchange-admin-result-actions {
        margin-top:15px;
    }

    .exchange-admin-result-button {
        display:block;
        width:100%;
        box-sizing:border-box;
        text-align:center;
    }

}


/* Новые необработанные заявки */

.exchange-admin-stat-new {
    background:#eef6ff;
    border-color:#bfd6ee;
}

.exchange-admin-stat-new .exchange-admin-stat-count {
    color:#2f6fa3;
}

/* ==========================================
   БЫСТРЫЕ ДЕЙСТВИЯ В АДМИН-ПАНЕЛИ
   ========================================== */

.exchange-admin-result-actions {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
}


.exchange-admin-action-form {
    margin:0;
}


/* На проверку */

.exchange-admin-action-review {
    display:inline-block;

    padding:10px 15px;

    background:#fff;
    color:#555;

    border:1px solid #bbb;

    font-family:inherit;
    font-size:14px;
    font-weight:600;

    cursor:pointer;
}


.exchange-admin-action-review:hover {
    border-color:#777;
    color:#222;
}


/* Опубликовать */

.exchange-admin-action-publish {
    display:inline-block;

    padding:10px 15px;

    background:#ed1c24;
    color:#fff;

    border:1px solid #ed1c24;

    font-family:inherit;
    font-size:14px;
    font-weight:600;

    cursor:pointer;
}


.exchange-admin-action-publish:hover {
    opacity:.9;
}


/* Редактировать */

.exchange-admin-result-button-secondary {
    display:inline-block;

    padding:10px 15px;

    background:#fff;
    color:#555;

    border:1px solid #ccc;

    text-decoration:none;
    font-size:14px;
    font-weight:600;
}


.exchange-admin-result-button-secondary:hover {
    color:#ed1c24;
    border-color:#ed1c24;
}


/* Ошибка */

.exchange-admin-error {
    margin:20px 0;

    padding:15px 18px;

    background:#fff2f2;
    border:1px solid #e4bcbc;

    color:#9d2525;
}


@media (max-width:767px) {

    .exchange-admin-result-actions {
        display:block;
    }


    .exchange-admin-action-form {
        width:100%;
        margin-bottom:8px;
    }


    .exchange-admin-action-review,
    .exchange-admin-action-publish,
    .exchange-admin-result-button-secondary {
        display:block;

        width:100%;
        box-sizing:border-box;

        margin-bottom:8px;

        text-align:center;
    }

}


.exchange-admin-result-card {
    flex-wrap: wrap;
}


.exchange-admin-result-main {
    flex: 1 1 55%;
}


.exchange-admin-result-actions {
    flex: 0 0 auto;
}


.exchange-admin-history {
    flex: 0 0 100%;
    width: 100%;
    margin-top: 20px;
    box-sizing: border-box;
}


.exchange-admin-history-list {
    margin-top: 15px;
}


.exchange-admin-history-item {
    padding: 8px 10px;
    margin-bottom: 6px;
    background: #fff;
    border-left: 3px solid #ed1c24;
}


/* ==========================================
   ЦВЕТА КАРТОЧЕК ПО СТАТУСАМ
   ========================================== */

.exchange-admin-result-card {
    border-left:4px solid #ddd;
}


/* Новая заявка */
.exchange-status-draft {
    border-left-color:#2f6fa3;
}


/* На проверке */
.exchange-status-review {
    border-left-color:#d18b00;
    background:#fffdf5;
}


/* Опубликовано */
.exchange-status-published {
    border-left-color:#3b8d3b;
}


/* Забронировано */
.exchange-status-reserved {
    border-left-color:#555;
    background:#fafafa;
}


/* Продано */
.exchange-status-sold {
    border-left-color:#888;
    background:#f6f6f6;
    opacity:.85;
}


/* Просрочено */
.exchange-status-expired {
    border-left-color:#ed1c24;
    background:#fff7f7;
}


/* Архив */
.exchange-status-archived {
    border-left-color:#aaa;
    background:#fafafa;
}


/* Метка статуса */

.exchange-admin-status-label {
    display:inline-flex;
    align-items:center;
    padding:5px 10px;
    font-size:12px;
    font-weight:600;
    background:#eee;
    color:#333;
}

.exchange-status-label-published {
    background:#eaf6ea;
    color:#267326;
}

.exchange-status-label-review {
    background:#fff0c7;
    color:#a36b00;
}

.exchange-status-label-reserved {
    background:#eeeeee;
    color:#333;
}

.exchange-status-label-sold {
    background:#e5e5e5;
    color:#555;
}

.exchange-status-label-expired {
    background:#ffe2e2;
    color:#c00000;
}

.exchange-status-label-draft {
    background:#e8f2ff;
    color:#24609a;
}

/* End */
/* /bitrix/templates/torgprofinew/components/bitrix/news.list/exchange/style.css?179015819216612 */
