/* row with 4 items for min-width: 1200px */
@media (min-width: 1200px) {
    .n-row {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr;
        gap: 10px 10px;
        grid-template-areas: ". . . .";
    }
}
/* row with 3 items for min-width: 992px */
@media (min-width: 992px) and (max-width: 1199px) {
    .n-row {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr;
        gap: 10px 10px;
        grid-template-areas: ". . .";
    }
}
/* row with 2 items for min-width: 768px */
@media (min-width: 768px) and (max-width: 991px) {
    .n-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        gap: 10px 10px;
        grid-template-areas: ". .";
    }
}
/* row with 1 item for max-width: 767px */
@media (max-width: 767px) {
    .n-row {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        gap: 10px 10px;
        grid-template-areas: ".";
    }
}

.n-card {
    background-color: white;
    box-shadow: 0px 2px 0.5px 0px rgba(117,134,148,0.07);
    padding: 1rem;
    margin: 1rem 0;
}

.n-item {
    background-color: white;
    box-shadow: 0px 2px 0.5px 0px rgba(117,134,148,0.07);
    cursor: pointer;
}
.n-item:hover {
    box-shadow: 0px 0px 5px 5px rgba(117,134,148,0.2);
}

.n-image {
    height: 300px;
    overflow: hidden;
}

.n-image > img.n-picture {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.3s;
}

/* zoom effect on hover and on leave */
.n-image:hover img.n-picture {
    transform: scale(1.1);
}

.n-image-cover {
    /* cover the image with a gradient from transparent to black vertically --> */
    position: relative;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0), 85%, rgba(0,0,0,0.85));
}

.n-item-title {
    text-overflow: ellipsis;
}

.n-body {
    padding: 10px;
}

.n-item-position {
    color: #757E8B;
}

.n-category {
    display: block;
    position: relative;
    top: 15px;
    left: 15px;
    height: 0;
    overflow: visible;
    z-index: 1;
}

.n-category span {
    color: white;
    background-color: #B73B7DFF;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    text-transform: uppercase;
}

.n-price {
    font-weight: bold;
}

.n-icons {
    display: block;
    position: relative;
    top: 265px;
    left: 15px;
    height: 0;
    overflow: visible;
    z-index: 1;
}

.n-item-icon {
    filter: invert(100%);
}

.n-item-icon-wrapper {
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.n-item-icon-wrapper span {
    margin-right: 15px;
}



.wpb_text_column ul li:before {
    display: none !important;
}

.splide__slide {
    display: flex;
}

.splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    block-size: auto;
    /*object-fit: contain;*/
    /*margin-top: -50%;*/
}

.n-detail-page .n-header {
    margin-top: 16px;
}
.n-detail-page .n-item-icon-wrapper {
    color: black;
}

.n-detail-page .n-item-icon {
    filter: initial;
}

.n-detail-page .n-splide-wrapper {
    background-color: white;
    box-shadow: 0px 2px 0.5px 0px rgba(117,134,148,0.07);
    padding: 16px;
}

@media screen and (max-width: 767px) {
    .n-detail-page .n-splide-wrapper {
        padding: 0;
    }
}

.n-detail-page .n-card-form {
    background-color: white;
    box-shadow: 0px 2px 0.5px 0px rgba(117,134,148,0.07);
    padding: 1rem;
    margin-top: 0;
    margin-bottom: 16px;
}

.n-detail-page .n-card-form input, .n-detail-page .n-card-form textarea {
    border: 1px solid #dadada;
}

.n-card .title-h4 {
    margin-top: 0;
}
.n-features .n-features-list .n-features-item {
    border-bottom: 1px solid #dadada;
    padding: 10px 0;
}

.n-features .n-features-list .n-features-item:last-child {
    border-bottom: none;
}

.n-features .n-features-list .n-features-item .n-features-item-title {
    width: 150px;
    display: inline-block;
}

@media (min-width: 768px) {
    .n-features .n-features-list .n-features-item .n-features-item-title {
        width: 250px;
    }
}

.n-features .n-features-list .n-features-item .n-features-item-value {
    font-weight: bold;
}

.n-energy .n-detail-energy {
    font-size: 2.5rem;
    font-weight: bold;
    padding: 2rem;
    display: inline-block;
    color: white;
}

@media (min-width: 768px) {
    .n-detail-page .n-card-form {
        width: calc(33.33333333% - 21px);
    }
}

.n-filter {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.n-filter .n-select, .n-filter .n-reference {
    flex: 1;
    height: 40px;
}

.n-filter .n-reference
{
    padding: 4px 10px;
    min-height: 38px !important;
    max-height: 38px !important;
    width: 100%;
}

.n-button {
    flex: 1;
    background-color: var(--thegem-to-widget-hover-link_color, #00BCD4);
    color: white;
    padding: 7px;
    border: none;
    cursor: pointer;
}

.n-button:hover {
}

.select2.select2-container.select2-container--default {
    flex: 1;
}

.title-not-found {
    border: 4px solid;
}

@media (max-width: 767px) {
    .n-filter {
        flex-direction: column;
    }

    .select2.select2-container.select2-container--default {
        width: 100% !important;
    }

    .n-button {
        width: 100%;
    }

    .select2-dropdown.select2-dropdown--below {
        margin-top: 2px !important;
    }
}

.select2-container .select2-selection--single {
    border-radius: 0 !important;
    border-color: transparent !important;
}

@media (min-width: 768px) {
    .select2-dropdown.select2-dropdown--below {
        margin-top: 2px !important;
    }
}

.select2-dropdown.select2-dropdown--below {
    border-radius: 0 !important;
    border: none !important;
}

.select2-results__option {
    margin: 5px;
}

.select2-results__option.select2-results__option--highlighted {
    background-color: #b73b7d !important;
}
/*
.n-filter select {
    padding: 10px;
    border: 1px solid #dadada;
    width: 20%;
}

.n-filter select option .n-filter-option {
    padding: 10px;
}
*/

.gem-divider {
    /*border: none;*/
}
