:root {
    --color-hover: rgba(60, 64, 67, .06);
    --color-dark-text: #202124;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    background-color: #F1F3F4;
}

a.blue {
    color:blue;
}

.glabel {
    color: #136a48;
    font-size: 14px;
}

h2 {
    margin: 10px 0 20px 0;
    font-size: 13pt;
}

h3 {
    margin: 10px 0 10px 0;
    font-size: 11pt;
}

h2.hd {
    margin: 20px 0 10px 0;
}

h2 span {
    padding-left: 30px;
    font-size: 0.8em;
}

.nowrap {
    white-space: nowrap;
}

table.grid_account .col-state {
    width: 5%;
}

table.grid_account .col-rfq {
    width: 10%;
    table-layout: auto;
}

table.grid_account .col-name {
    width: 25%;
    max-width: 260px;
    min-width: 260px;
}

table.grid_account .col-conditions {
    width: 15%;
}

table.grid_account .col-volume {
    width: 10%;
}

table.grid_account .col-buyer {
    width: 15%;
    min-width: 145px;
    max-width: 145px;
}

table.grid_account .col-num {
    width: 10%;
    text-align: center;
}

table.grid_account .col-date {
    width: 10%;
    text-align: center;
}

table.grid_account .col-left {
    width: 10%;
    text-align: right;
}

table.grid_account .col-dots {
    width: 5%;
}

.widjet {
    background: transparent;
    box-shadow: none;
    margin-bottom: 60px;
    margin-top: 14px;
}

.star_f, .star_h, .star_e, .star_fh, .star_fo {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-right: 0.3rem;
}

.firm-city, .dt-month {
    color: #666;
    font-size: 0.9em;
}

.grid_account .rfq-guest-auth-link,
.grid_account .rfq-guest-auth-link:hover {
    color: #176ec7;
}

.grid_account .rfq-guest-auth-link:hover {
    text-decoration: underline;
}

.prod-spec {
    color: #666;
    font-size: 0.8em;
}

.price-valute {
    color: #666;
    font-size: 0.8em;
}

.price-value, .dt-day {
    color: #000;
    font-size: 1.1em;
    font-weight: 500;
}

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

.btn-primary:hover {
    background-color: #008d81;
    border-color: #008d81;
}

a.btn.btn-primary:hover {
    color: #ffffff;
}

.btn .fa {
    font-family: 'Font Awesome 5 Solid';
    font-size: 100%;
}

.fal {
    font-size: 100%;
}

.prod-name {
    color: #444;
    font-weight: 400;
}

ul.sw-order {
    list-style: none;
    float: right;
    font-size: 1.1em;
}

ul.sw-order li {
    display: inline-block;
    padding: 0 0.5rem;
    color: #666;
    cursor: pointer;
}

ul.sw-order li.active {
    color: #000;
    cursor: default;
    font-weight: 500;
}

.sizes_orig {
    color: #888;
    font-size: 0.8em;
}

.details-container {
    padding: 0 1rem;
}

.form-panel {
    margin-bottom: 1rem;
    position: relative;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
}

.form-panel h2 {
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #212529;
}

.form-panel h4 {
    color: #546958;
    font-size: 13px;
    font-weight: normal;
    margin-bottom: 0;
}

#tr_details .firm-type {
    font-size: 0.9em;
    color: #000;
    flex-direction: column;
}

.form-panel .info {
    font-size: 0.875rem;
    color: #1a251b;
    margin-bottom: 1rem;
    flex-direction: column;
}

.form-panel .row {
    margin-bottom: .5rem;
}

.tbl_prices {
    margin-bottom: 0;
}

.tbl_prices table {
    width: 60%;
}

.tbl_prices table tr {
    border-bottom: 1px #ddd solid;
}

.tbl_prices table tbody tr:last-child {
    border-bottom: 0;
}

.tbl_prices table th {
    padding: 0.25rem;
    font-weight: normal;
    text-align: right;
}

.tbl_prices table td {
    padding: 0.25rem;
    text-align: right;
}

.form-panel .ava img {
    border-radius: 50%;
    max-width: 75px;
    padding: 8px 0 0 0;
}

.form-panel .uname {
    padding-top: 0.5rem;
    line-height: 18px;
}

.icn_left {
    margin-right: .6rem;
    margin-left: 0 !important;
}

.icn_right {
    margin-left: 1rem;
}

.icn_top {
    position: relative;
    vertical-align: middle;
}

.fa-angle-down {
    font-size: 120%;
}

.uname span, .firm-addr {
    font-size: 90%;
    color: #888;
}

.grid_account button.btn-offer-sent:hover {
    border-color: #ccc;
    background-color: transparent;
    color: #666;
    cursor: default;
}

.form-order {
    margin: 0 0 1rem auto;
}

.input-block {
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 0.5rem;
    background: #fff;
}

.rfq-offer-actions {
    justify-content: flex-end;
    display: flex;
}

.input-block .multiple {
    text-align: right;
    margin-right: 0.5rem;
}

.input-block .multiple .sel-item {
    display: inline-block;
    border: 1px solid #ced4da;
    padding: .375rem .75rem;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #f0f0f0;
    border-radius: .125rem;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

.input-block .multiple .sel-item:last-child {
    margin-right: 0;
}

.input-block .multiple i {
    margin-left: 0.5rem;
    cursor: pointer;
}

.input-group .custom-select {
    height: calc(2.25rem + 3px);
    border-radius: .25rem !important;
    z-index: 5;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.input-group .custom-select:focus {
    border-color: #69a28c;
}

.input-group .input-group-text {
    background: #fff;
    border-radius: .125rem;
    border: 0;
    color: #000;
}

.input-group-text {
    padding: .375rem .75rem 0 .75rem;
}

.input-block textarea {
    background: #fff;
    border-radius: .125rem;
    border: 0;
    color: #000;
    height: 176px;
}

.input-group .form-control {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    padding: .5rem .75rem 0rem .75rem;
    color: #333;
}

.input-group .form-control:focus {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid #444;
    box-shadow: none;
    color: #000;
}

.input-group .fld_icon {
    display: inline-block;
    width: 1.125rem;
    height: 1.125rem;
    margin-right: 0.7rem;
    background-repeat: no-repeat;
    margin-bottom: .3rem;
}

.input-group-wide .btn-outline-select, .input-group-wide .dropdown-menu {
    width: 280px;
    overflow: hidden;
}

.btn-outline-select.dropdown-toggle {
    font-size: .9rem;
    border: 1px solid #ced4da;
}

.btn-outline-select.dropdown-toggle:hover {
    border: 1px solid #008d81;
}

.dropdown-toggle::after {
    position: absolute;
    top: .8rem;
    right: 0.675rem;
}

.input-error {
    font-size: 0.8em;
    color: #fff;
    margin-bottom: 0.125rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: #ED4337;
    padding: .1rem .5rem;
    display: inline-block;
}

.dropdown-menu .dropdown-item {
    font-size: 0.9em;
    padding: .25rem 1rem;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #008d81;
    color: #fff;
}

.input-error:after {
    content: "|";
    opacity: 0;
}

.input-error.shown {
    opacity: 1;
}

.block-no-firm {
    text-align: center;
    max-width: fit-content;
    margin: 0 auto 1rem;
}

.rfq-directory-wrapper .rfq-filter-search-field {
    cursor: text;
}

.rfq-directory-wrapper .widjet {
	padding: 0;
	margin-bottom: 0;
}

.rfq-directory-wrapper .rfq-filter-items .cnt {
    color: #828282;
    margin-left: .25rem;
}

.rfq-directory-wrapper .filter-section-block .checkbox input {
    position: absolute;
    z-index: -1;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.rfq-directory-wrapper .filter-section-block .checkbox__text,
.rfq-directory-wrapper .filter-section-block .checkbox__label {
    position: relative;
    padding: 0 0 0 30px;
    cursor: pointer;
    line-height: 18px;
}

.rfq-directory-wrapper .filter-section-block .checkbox__text:before,
.rfq-directory-wrapper .filter-section-block .checkbox__label:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 18px;
    height: 18px;
    min-width: 15px;
    transform: translateY(-50%);
    border: 2px solid #989898;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    box-shadow: none;
}

.rfq-directory-wrapper .filter-section-block .checkbox__text:after,
.rfq-directory-wrapper .filter-section-block .checkbox__label:after {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 11px;
    height: 11px;
    transform: translateY(-50%);
    background: url(/assets/wide/icons/check.svg) no-repeat 50% 50%/contain;
    opacity: 0;
}

.rfq-directory-wrapper .filter-section-block .checkbox input:checked + .checkbox__text:before,
.rfq-directory-wrapper .filter-section-block .checkbox input:checked + .checkbox__label:before {
    background-color: #008d81;
    border-color: #008d81;
}

.rfq-directory-wrapper .filter-section-block .checkbox input:checked + .checkbox__text:after,
.rfq-directory-wrapper .filter-section-block .checkbox input:checked + .checkbox__label:after {
    opacity: 1;
}

.rfq-directory-wrapper .filter-section-block .ItemsList li.rfq-location-city {
    padding-left: 32px;
}

.rfq-directory-wrapper .directory-header-wrapper {
	margin: 0;
	position: relative;
	padding: 16px 16px 10px;
}

.rfq-directory-wrapper .list-title-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.rfq-directory-wrapper .rfq-marketplace-post-wrap {
    display: flex;
    align-items: center;
    align-self: stretch;
}

.rfq-directory-wrapper .rfq-marketplace-post {
    white-space: nowrap;
}

@media screen and (min-width: 769px) {
    .rfq-directory-wrapper .directory-header-wrapper {
        padding-right: 260px;
    }

    .rfq-directory-wrapper .rfq-marketplace-post-wrap {
        position: absolute;
        top: 50%;
        right: 16px;
        transform: translateY(-50%);
    }
}

.rfq-directory-wrapper .rfq-filter-chip {
    color: inherit;
    text-decoration: none;
}

.rfq-directory-wrapper .rfq-filter-chip:hover {
    color: inherit;
    text-decoration: none;
}

.rfq-directory-wrapper .rfq-detail-link,
.rfq-directory-wrapper .rfq-detail-link:hover {
    color: inherit;
}

.rfq-directory-wrapper .rfq-detail-link {
    text-decoration: none;
}

.rfq-directory-wrapper .rfq-detail-link:hover {
    text-decoration: underline;
}

.rfq-directory-wrapper #grid_directory {
	height: auto;
	overflow: hidden;
}

.rfq-directory-wrapper #grid_offers {
    position: relative;
}

.rfq-directory-wrapper #grid_offers .table-box {
	max-height: calc(100vh - 230px);
    overflow-y: auto;
    padding-bottom: 0;
    margin-bottom: 0;
}

.rfq-directory-wrapper #grid_offers_table {
    border-radius: 6px 6px 0 0;
}

.rfq-directory-wrapper #grid_offers_table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #fff;
}

.rfq-directory-wrapper #grid_offers_table .tbl_prices table th {
    position: static;
    top: auto;
    z-index: auto;
    background: transparent;
}

.rfq-directory-wrapper #grid_offers_table th,
.rfq-directory-wrapper #grid_offers_table td {
    height: 60px;
}

.rfq-directory-wrapper .grid_account__tr {
    cursor: pointer;
}

.rfq-directory-wrapper .grid_account__tr:hover td {
    background-color: #F7F8F9;
}

@media screen and (max-width: 768px) {
    .rfq-directory-wrapper .directory-header-wrapper {
        padding-right: 24px;
    }

    .rfq-directory-wrapper .list-title-wrap {
        flex-direction: column;
    }

    .rfq-directory-wrapper .rfq-marketplace-post-wrap {
        position: static;
        width: 100%;
        transform: none;
    }

    .rfq-directory-wrapper .rfq-marketplace-post {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 459px) {
    .btn {
        min-width: auto;
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
}

/* SEO: закрытая заявка и похожие RFQ */
.rfq-closed-notice {
	background: #fff7e6;
	border: 1px solid #f0d9a8;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 16px;
}
.rfq-closed-detail {
	margin-bottom: 20px;
}
.rfq-similar {
	margin-top: 20px;
}
.rfq-similar h2 {
	font-size: 18px;
	margin-bottom: 10px;
}
.rfq-similar ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.rfq-similar li {
	padding: 4px 0;
}
.rfq-similar-descr {
	color: #777;
	font-size: 13px;
	margin-left: 6px;
}

/* SEO: блоки перелинковки по категориям и странам */
.rfq-browse-wrap {
	margin: 12px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}
.rfq-browse {
	flex: 1 1 320px;
}
.rfq-browse h2 {
	font-size: 16px;
	margin-bottom: 8px;
}
.rfq-browse ul {
	list-style: none;
	padding: 0;
	margin: 0;
	columns: 2;
}
.rfq-browse li {
	padding: 2px 0;
	break-inside: avoid;
}
.rfq-browse-count {
	color: #999;
	font-size: 12px;
}

/* GEO: интро, статистика и FAQ на списке */
.rfq-seo-intro {
	margin: 4px 0 16px;
	color: #555;
	font-size: 14px;
	max-width: 900px;
}
.rfq-seo-stats {
	font-weight: 600;
	margin-bottom: 4px;
}
.rfq-seo-faq {
	margin: 24px 0;
	padding-bottom: 26px;
	max-width: 1200px;
	display: flex;
	gap: 42px;
}
.rfq-seo-faq details {
	border-bottom: 1px solid #eee;
	padding: 8px 0;
	width: 30%;
}
.rfq-seo-faq summary {
	cursor: pointer;
	font-weight: 500;
	list-style: none;
}
.rfq-seo-faq summary::-webkit-details-marker {
	display: none;
}
.rfq-seo-faq summary::before {
	content: "▶";
	display: inline-block;
	margin-right: 8px;
	font-size: 12px;
}
.rfq-seo-faq details[open] summary::before {
	transform: rotate(90deg);
}
.rfq-seo-faq p {
	margin: 8px 0 4px;
	color: #555;
}
.rfq-seo-faq a,
.rfq-seo-faq a:hover {
	color: #5469D4;
	font-weight: 500;
}
.rfq-seo-faq a:hover {
	text-decoration: underline;
}

/* SEO-текст островом в левой колонке под фильтрами */
.rfq-seo-island {
	background: #fff;
	border: 1px solid #dadce0;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0,0,0,.06);
	margin-top: 16px;
	padding: 14px 16px;
	width: 100%;
}
@media (min-width: 768px) {
	.rfq-seo-island {
		width: 260px;
	}
}
.rfq-seo-island .rfq-seo-intro {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: #555;
	max-width: none;
}
.rfq-seo-island .rfq-seo-stats {
	font-weight: 500;
	color: #333;
	margin: 0 0 12px;
	font-size: 15px;
	letter-spacing: .25px;
	line-height: 20px;
}
.rfq-seo-island p {
	margin: 0;
}
.rfq-seo-intro p {
	font-size: 14px;
	letter-spacing: .325px;
	line-height: 20px;
}
