﻿/*
theme-x.css
:root {
    --theme1_bg: #0c5e6f;
    --theme1_cl: #fff;
    --border-color: #e1e3e1;
    --border-color2: #00bcd4;
    --color2: #00bcd4;
}
*/
body {
    background: #fafafa;
}
.header {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content:space-between;
    padding-top: .6rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid var(--border-color2);
    color: var(--theme1_cl);
    background-color: var(--theme1_bg);
}
.header-search{
    flex:auto;
}
a {
    color: inherit;
    text-decoration: none;
}
.header-nav > ul > li > a {
    display: flex;
    gap:5px;
    align-items: center;
    color: var(--theme1_cl);
}
    .header-nav > ul > li > a:hover,
    .header-nav > ul > li > a:focus {
        color: var(--color2);
    }
.btn-header {
    background-color: transparent;
    color: currentColor;
    border:1px solid #fff;
}
    .btn-header:hover {
        color: currentColor;
        background-color: var(--color2);
    }
.btn-primary {
    color: var(--theme1_cl);
    background-color: var(--theme1_bg);
    border-color: var(--theme1_bg);
}
    .btn-primary:hover {
        background-color: var(--color2);
        border-color: var(--color2);
    }
.content {
    display: flex;
}
.badge{
    padding:.45rem 1rem;
    word-break:break-all;
    max-width:100%;
    white-space:normal;
}
.badge > button:hover {
    color:#fff !important;
}
.grid-card {
    display:block;
}
    .grid-card .grid-image {
        width: 100%;
    }
    .grid-card .grid-body {
        width: 100%;
        padding:15px;
        background-color:#fff;
    }
.card-img-top {
    height: 300px;
    width: 100%;
    object-fit: cover;
    background: #dfdfdf;
}
.card-img-product {
    height: 100%;
    width: 100%;
    object-fit: contain;
    /*background: #f4f4f4;*/
}
.card-description {
    height: 187px;
    overflow-y: auto;
    padding: 8px;
    background-color: #dfdfdf;
}
.card-img-popup {
    height: 100%;
    width: 100%;
    object-fit: contain;
}
.product-modal{
    position:fixed;
    left:0;
    top:0;
    width:100vw;
    height:100vh;
    max-width:100%;
    background:#000;
    z-index:5;
}
.product-modal > .row {
    width: 100vw;
    height: 100vh;
}
.pm-left {
    overflow-y: auto;
    max-height: 100%;
}
.pm-right {
    background: #333;
    max-height: 100%;
}
.pm-right-scroll {
    overflow-y: auto;
    max-height: calc(100% - 60px);
}
body.product-modal-open {
    overflow: hidden;
}
body:not(.product-modal-open) .product-modal {
    display: none;
}
.card-pbtn {
    right: 0;
    bottom: 0;
    border:1px solid rgba(0,0,0,.125);
    border-right:none;
    border-bottom:none;
}
.p-slider {
    border-bottom: 1px solid rgba(0,0,0,.125);
}
.border-radius-0 {
    border-radius: 0;
}
.pm-slider .slick-slider {
    height:calc(-150px + 100vh);
}
.pd-slider .slick-slider {
    height: 51vh
}
.card {
   /* border-color: var(--theme1_bg);*/
}
.card-header {
    background-color: var(--theme1_bg);
    color: var(--theme1_cl);
    font-weight: 600;
}
.flex-auto{
    flex:auto;
}
.like-btn{
    color:#ddd;
    background:none;
}
    .like-btn:hover,
    .like-btn.active {
        color: #fab005;
    }
.w-initial {
    width: initial;
}
.info {
    display: flex;
    gap: 5px;
    align-items: center;
}
    .info > input,
    .info > select,
    .info > div {
        flex: auto;
        align-self: center;
        width: initial;
    }
.info-btn {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    padding: .375rem .75rem;
    font-size:1rem;
    line-height:1.5rem;
}
    .info-btn .fa-regular,
    .info-btn .fa-solid {
        line-height: 1.5rem !important;
    }
.info-btn:hover {
    border-color:#333;
}
.info-label {
    width: 160px;
    border: 1px solid #b8d5dd;
    padding: 5px 6px;
    background-color: #b8d5dd;
    word-wrap: break-word;
    flex-shrink: 0;
}
.modal-header {
    padding: .5rem 1rem;
}
.pagination .page-item{
    margin-bottom:.5rem;
}
.filter-ul{
    max-height:200px;
    overflow-y:auto;
}
.no-result {
    border: 1px dashed #ccc;
    background-color: #fff;
    padding: 1rem;
    margin: 0 0 1.5rem 0;
    text-align: center;
}
.list-group-item.active {
    background-color: var(--theme1_bg);
    border-color: var(--theme1_bg);
}
.fs-7{
    font-size:0.9rem;
}
.cookie{
    background-color:var(--theme1_bg);
}
.page-item.active .page-link{
    background-color: var(--theme1_bg);
    border-color: var(--theme1_bg);
}
.page-link {
    color: var(--theme1_bg);
}
.beta {
    border: 1px dashed #7a1b3b;
}
.contact {
    background-color: var(--bgcolor2);
}
.fflex2 a:hover{
    color:var(--color2);
}
.hbox {
    border: 1px solid #cdcdcd;
    background-color: #fff;
    width: 100%;
    height: 100%;
    border-radius: .5rem;
    overflow: hidden;
    position: relative;
}

    .hbox picture {
        display: block;
        height: 226px;
    }

        .hbox picture > img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

.hbox-texts {
    margin: .5rem 0;
    display: flex;
    flex-direction: column;
    flex: 1 1;
    position: relative;
}

    .hbox-texts > div {
        padding: 0 .5rem;
    }

.hbox-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hbox-location, .hbox-category {
    color: #7e7e7e;
    font-size: .8rem;
    position: relative;
    padding: 0 0 0 1.6rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .hbox-location i, .hbox-category i {
        position: absolute;
        left: .5rem;
        top: 5px;
    }

    .hbox-location i {
        left: .6rem;
    }

.hbox-bookmark {
    position: absolute;
    right: .5rem;
    top: .5rem;
    border: none;
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    color: #ddd;
    text-align: center;
	padding:0;
}

    .hbox-bookmark.active {
        color: #fab005;
    }

.hbox-tags {
    position: absolute;
    left: .5rem;
    top: .5rem;
}

    .hbox-tags > * {
        border-radius: .3rem;
        padding: .1rem .3rem;
    }

.hbox-price {
    background-color: rgba(255,255,255,0.8);
    font-weight: 600;
}

.more-btn {
    width: 49%;
}

.pbig img {
    width: 100%;
    aspect-ratio: 360 / 220;
    object-fit: contain;
    background-color: #dfdfdf;
}

.psmall img {
    width: 100px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
/*X-Small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
}

/*Small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) {
    
}

/*Medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {
    .header {
        flex-wrap:wrap;
    }
    .header-search{
        width:100% !important;
        order:10;
    }
    .grid-card {
        grid-template-areas:
            "image image"
            "body body";
    }
    .product-modal > .row {
        width:initial;
        height:initial;
    }
    .pm-left{
        padding:0 1.5rem;
    }
    .info {
       flex-wrap:wrap;
    }
    .info-label{
        width:100%;
    }
    .fflex2 {
        order:100;
        width:100%;
    }
}

/*Large devices (desktops, less than 1200px)*/
@media (max-width: 1199.98px) {
    
}

/*X-Large devices (large desktops, less than 1400px)*/
@media (max-width: 1399.98px) {
    
}