/* app.css */

:root {
    --desktop-header-height: 66px;
    --desktop-bar-height: 60px;
    --default-color: #64666c;
    --button-border-radius: 6px;
    --border-color: #e5e5e5;
    --dark-gray: #64666c;
    --dark: #121212;
    --bg-light-gray: #f1f1f1;
}


body {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: 14px;
    /*color: #202020;*/
    color: #4a4a4a;
    background: #f3f4f9;
}

a {
    text-decoration: none;
}

button {
    background: unset;
    padding: unset;
    border: unset;
}

main {
    padding-top: var(--desktop-header-height);
}

/* Footer */
footer .content {
    color: #fff;
    background: #264760;
}

footer .credentials {
    background: #fff;
}

footer .social {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #264760;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

footer .social .icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: color .2s ease;
}

footer .info {
    border-top: 1px solid #264760;
}


/* Containers */
.container-fluid {
    --bs-gutter-x: 2rem;
}


/* Helpers */

.w-max {
    width: max-content;
}

.flex-1 {
    flex: 1 1 0%;
}

.text-10 {
    font-size: 10px;
}

.text-11 {
    font-size: 11px !important;
}

.text-12 {
    font-size: 12px !important;
}

.text-13 {
    font-size: 13px !important;
}

.text-14 {
    font-size: 14px;
}

.text-15 {
    font-size: 15px;
}

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

.text-18 {
    font-size: 18px;
}

.text-22 {
    font-size: 22px;
}

.line-height-1 {
    line-height: 1;
}

.line-height-md {
    line-height: 1.3;
}

.a-inherit {
    color: inherit;
    text-decoration: none;
}

.fit-cover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Colors */

.text-light-blue {
    color: #78c9f1;
}

.text-blue {
    color: #0669a2;
}

.text-dark-blue {
    color: #264760;
}

.text-gray {
    color: #939598;
}

.text-medium-gray {
    color: #707070;
}

.text-dark-gray {
    color: #363636;
}

.bg-dark-blue {
    background: #264760;
}

.bg-gray {
    background: #f3f4f9;
}


/* BUTTONS */
.btn {
    font-size: 14px;
}
.btn-default {
    background: #fff;
    border: 1px solid var(--border-color);
}

.btn-default:hover {
    background: var(--bg-light-gray);
    border: 1px solid var(--border-color);
}

.btn-primary {
    color: #fff;
    background: #264760;
    border: 1px solid #264760;
}

.btn-danger {
    background: #DD6C75;
    border-color: #DD6C75;
}

.btn-input-group, .btn-input-group:hover {
    border: 1px solid #dee2e6;
}

.btn-bar {
    background: #fff;
    border: 1px solid var(--border-color);
}

.btn-bar:hover {
    background: var(--bg-light-gray);
    border: 1px solid var(--border-color);
}

.btn-link {
    text-decoration: none;
    color: var(--default-color);
    border: unset;
}

.btn-link:hover {
    background: var(--bg-light-gray);
    border: unset;
}

.btn-option {
    color: #939598;
    background: #fff;
    border: 1px solid #939598;
}
.btn-option:hover {
    /*color: #035a8d;*/
    color: #0066A2;
    background: #fff;
    border: 1px solid #0066A2;
}

.btn-option.active {
    color: #fff;
    background: #0066A2;
    border: 1px solid #0066A2;
}

@media (max-width: 576px) {
    .btn-bar {
        height: 30px;
        font-size: 14px;
        padding: 5px 10px;
        /*border: none;*/
    }

    /*.btn-bar:hover {*/
    /*    background: var(--bg-light-gray);*/
    /*    border: none;*/
    /*}*/
}

.is-link {
    color: #78C9F1;
}

.label {
    font-size: 14px;
    color: #4a4a4a;
}

label.elegant {
    font-weight: bold;
}

.label-lg {
        font-weight: 600;
        color: #595757;
    }

.form-control {
    font-size: 14px;
}

.form-control.elegant {
    line-height: 1.3;
    box-shadow: none;
    border: none;
    border-radius: 12px;
}

.form-control.elegant::placeholder {
    color: #939598;
    opacity: 0.7;
}


/* PAGE */
.page-header {
    /*margin-top: 84px;*/
}

.page-title {
    font-size: 24px;
}


/* TABS */
.tabs {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs .tab {
    color: #414042;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    padding: 20px 5px;
}

.tabs .tab.active {
    color: #608ace;
    border-color: #608ace;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}


/* PANELS */

.panel {

}

.panel .panel-heading {

}

.panel .panel-body {
    background: #fff;
}

.panel-simple {
    background: #fff;
}

.panel.panel-gray {
    overflow: hidden;
}

.panel.panel-gray .panel-heading {
    background: #f3f4f9;
    margin-bottom: 2px;
}

.panel.panel-gray .panel-body {
    background: #f3f4f9;
}

.panel-pad {
    padding: 2rem;
}

/* CATEGORIES */
.category-box {
    color: #264760;
    /*background: #f3f4f9;*/
    border-radius: 10px;
}

.category-box .title {
    display: block;
    height: 50px;
    line-height: 1.2;
    text-decoration: none;
    color: inherit;
}

.category-box .total-ads {
    font-size: 0.9rem;
    /*color: #939598;*/
}

.category-box .more {
    font-size: 0.75rem;
}

.category-box.dark {
    color: #fff;
    background: #264760;
}

.category-box .angle-icon {
    width: 14px;
}


/* CATEGORY SEARCH */
.category-search {
    position: relative;
    width: 100%;
    /*margin-top: -61px;*/
    z-index: 999;
    transition: .2s all ease;
}

.category-search .container {
    max-width: 1030px;
}

.category-search .panel {
    background: transparent;
    -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, .2);
    box-shadow: 0 2px 3px rgba(0, 0, 0, .2);
}

.category-search .panel .panel-heading {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: none;
    padding: 0 30px;
}

.category-search .panel .panel-body {
    background: #fff;
    padding: 20px 30px;
}


/* TREE */
.nodes {
}

.nodes.root {
}

.nodes.children {
    padding-left: 20px;
}

.nodes .child {
    font-weight: 300;
}

/* ICONS */
.svg-icon.x10 {
    width: 10px;
    height: 10px;
}

.svg-icon.x14 {
    width: 14px;
    height: 14px;
}

.svg-icon.x16 {
    width: 16px;
    height: 16px;
}

.svg-icon.x18 {
    width: 18px;
    height: 18px;
}

.svg-icon.x20 {
    width: 20px;
    height: 20px;
}

.svg-icon.x32 {
    width: 32px;
    height: 32px;
}

.svg-icon {
    display: block;
    line-height: 1;
    margin: auto;
}

.svg-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}


/* ADS */

.products-list {
    margin-top: var(--desktop-header-height);
}

.products-page {
    margin-top: var(--desktop-header-height);
    position: relative;
    z-index: 0;
}

.products-side {
    width: 50%;
}

.map-side {
    position: sticky;
    top: 120px;
    width: 50%;
    height: calc(100vh - 120px);
    background: #ccc;
}


.product-item {
    position: relative;
    display: flex;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}


.product-item .product-image {
    position: relative;
    display: flex;
    width: 300px;
    max-height: 220px;
    background: var(--bg-light-gray);
    overflow: hidden;
}


.product-item .product-image img {
    object-fit: cover;
    width: 100%;
}

.product-item .product-inner {
    position: relative;
    /*flex: 1 1 0%;*/
    width: calc(100% - 300px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-item .product-content {
    padding: 15px 15px 0 15px;
}

.product-item .title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0;
}

.product-item .title-content {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.product-item .title-content:after {
    width: 20%;
    content: '';
    display: inline-block;
    position: absolute;
    bottom: 0;
    border-top: 1px solid #e3e3e3;
}

.product-item .title a {
    color: inherit;
    text-decoration: none;
}

.product-item .category {
    font-size: 14px;
}

.product-item .geo {
    font-size: 12px;
    font-weight: 300;
    margin-bottom: 5px;
}

.product-item .description {
    font-size: 14px;
    color: var(--dark-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.product-item .price {
    font-size: 18px;
    font-weight: 500;
    color: var(--dark);
    min-height: 27px;
    margin-bottom: 10px;
}

.product-item .logo {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 60px;
    height: 40px;
    display: flex;
    border-radius: 5px;
    overflow: hidden;
}

.product-item .logo img {
    object-fit: cover;
    /*width: 100%;*/
    /*height: auto;*/
    /*width: auto;*/
    height: 100%;
    margin: auto;
    display: block;
    border-radius: 5px;
}

.product-item .product-image .logo {
    width: 50px;
    height: 35px;
}

.product-item .attributes {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--dark-gray);
    margin-top: 10px;
}

.product-item .attributes .attribute {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    background: var(--bg-light-gray);
    border-radius: 20px;
    padding: 2px 10px;
}

.product-item .bottom-bar {
    padding: 0 15px 15px 15px;
}

.product-item.grid {
    flex-direction: column;
    margin: 15px 0;
}

.product-item.grid .product-image {
    width: 100%;
    height: 250px;
    max-height: unset;
    background: var(--bg-light-gray);
    overflow: hidden;
}

.product-item.grid .product-inner {
    width: 100%;
}

.product-item.compact .product-image {
    height: 165px;
}

.product-item.compact .price {
    margin-bottom: 0;
}


@media (max-width: 576px) {
    .product-item {
        flex-direction: column;
        margin: 15px 0;
    }

    .product-item .product-image {
        width: 100%;
        height: 250px;
        max-height: unset;
        background: var(--bg-light-gray);
        overflow: hidden;
    }

    .product-item .product-inner {
        width: 100%;
    }
}


/* AD DETAILS */

.post-cover {
    overflow: hidden;
    border-radius: 10px;
}

.post-top-map {
    width: 100%;
    height: 383px;
    border-radius: 10px;
    overflow: hidden;
}


.post-header {
    position: sticky;
    top: var(--desktop-header-height);
    display: flex;
    gap: 15px;
    background: #fff;
    border-bottom: 1px solid #d0d0d1;
    padding-top: 20px;
    padding-bottom: 20px;
    z-index: 5000;
}

.post-header .logo {
    width: 100px;
}

.post-header .title {
    font-size: 20px;
}

.post-header .price {
    /*min-height: 27px;*/
    font-size: 18px;
    font-weight: 500;
    color: #363636;
}

.post-header .attributes {
    display: flex;
    gap: 10px;
}

.post-header .attributes .attribute {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #363636;
    background: #f3f4f9;
    padding: 3px 12px;
    border-radius: 15px;
}

.post-header .post-button {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0066a2;
    width: 38px;
    height: 38px;
    border: 1px solid #efe5e4;
    border-radius: 50%;
    padding-left: 0;
    padding-right: 0;
}

.post-details {

}

.post-map {
    width: 100%;
    height: 400px;
    border: none;
}

.post-details .check-icon {
    color: #0066a2;
}

.post-report-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border: 1px solid #ccc;
    border-radius: 50%;
}

.tabs .tab.post-tab {
    position: relative;
    font-size: 18px;
    font-weight: 500;
    color: #939598;
    border: none;
}

.tabs .tab.post-tab.active {
    color: #0066a2;
}

.tabs .tab.post-tab:after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    left: 0;
    bottom: 5px;
    background: transparent;
    border-radius: 5px;
}

.tabs .tab.post-tab.active:after {
    background: #0066a2;
}


/* JOB ADS */
.job-post {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e5e5e5;
}

.job-post .job-post-heading {
    display: flex;
    gap: 10px;
    flex: 1;
}

.job-post .job-post-heading .image {
    width: 80px;
    /*height: 60px;*/
}

.job-post .job-post-heading .content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    /*min-height: 90px;*/
}

.job-post .job-post-heading .content .company-title {

}

.job-post .job-post-heading .content .title {
    font-size: 18px;
}

.job-post .job-post-body {
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 0;
}

.job-post .job-post-attributes {
    /*border-bottom: 1px solid #e5e5e5;*/
    padding: 15px 0;
    /*margin-bottom: 10px;*/
}

.job-post .job-post-footer {
    display: flex;
    justify-content: space-between;
}

.job-post .job-post-footer .price {
    font-size: 16px;
    font-weight: 600;
}

.post-item-attributes {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.post-item-attributes .attribute {
    background-color: #F3F4F9;
    color: #363636;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 52px;
}


/* PROFESSIONAL CARD */
.pro-card {
    /*width: 950px;*/
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin: auto;
}

.pro-card .pro-card-header {
    position: relative;
    height: 150px;
}

.pro-card .pro-card-body {
    position: relative;
    background: #fff;
    border: 1px solid #efe5e4;
    border-radius: 15px;
    margin-top: -10px;
}

.pro-card .pro-card-body .logo {
    width: 150px;
    height: 150px;
}

.pro-card .pro-card-body .title {
    font-size: 18px;
    font-weight: 500;
}

.pro-contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #363636;
    text-decoration: none;
}

.pro-description {
    font-size: 12px;
    line-height: 1.2;
    color: #363636;
}


/* ARTICLES */
.article-grid-item {
    border-radius: 10px;
    overflow: hidden;
}

.article-grid-item .article-heading {
    display: block;
    overflow: hidden;
    height: 210px;
}

.article-grid-item .article-content {
    background: #fff;
    padding: 20px
}

.article-grid-item .title {
    color: #b29df0;
}


/* PAGINATION */

.pagination .page-space {
    width: 30px;
    text-align: center;
    font-weight: bold;
    padding-top: 3px;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    text-align: center;
    height: 100%;
    padding: var(--bs-pagination-padding-y) 2px;
}

/* CONTAINERS */

@media (min-width: 1400px) {
    .container-large {
        max-width: 1474px;
    }
}

@media (max-width: 576px) {
    .hidden-sm {
        display: none !important;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 577px) and (max-width: 767px) {
    .hidden-sm {
        display: none;
    }
}

/* Medium devices (tablets, 768px and up) (col-sm) */
@media (min-width: 768px) and (max-width: 991px) {
    .hidden-md {
        display: none;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hidden-lg {
        display: none;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hidden-xl {
        display: none;
    }
}