/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@font-face {
    font-family: 'Campton';
    src: url('fonts/Campton-Book.eot');
    src: url('fonts/Campton-Book.eot?#iefix') format('embedded-opentype'),
    url('fonts/Campton-Book.woff2') format('woff2'),
    url('fonts/Campton-Book.woff') format('woff'),
    url('fonts/Campton-Book.ttf') format('truetype'),
    url('fonts/Campton-Book.svg#Campton-Book') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Campton';
    src: url('fonts/Campton-ExtraLight.eot');
    src: url('fonts/Campton-ExtraLight.eot?#iefix') format('embedded-opentype'),
    url('fonts/Campton-ExtraLight.woff2') format('woff2'),
    url('fonts/Campton-ExtraLight.woff') format('woff'),
    url('fonts/Campton-ExtraLight.ttf') format('truetype'),
    url('fonts/Campton-ExtraLight.svg#Campton-ExtraLight') format('svg');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Campton';
    src: url('fonts/Campton-Bold.eot');
    src: url('fonts/Campton-Bold.eot?#iefix') format('embedded-opentype'),
    url('fonts/Campton-Bold.woff2') format('woff2'),
    url('fonts/Campton-Bold.woff') format('woff'),
    url('fonts/Campton-Bold.ttf') format('truetype'),
    url('fonts/Campton-Bold.svg#Campton-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'VeraHumana95';
    src: url('fonts/VeraHumana95.eot');
    src: url('fonts/VeraHumana95.eot?#iefix') format('embedded-opentype'),
    url('fonts/VeraHumana95.woff2') format('woff2'),
    url('fonts/VeraHumana95.woff') format('woff'),
    url('fonts/VeraHumana95.ttf') format('truetype'),
    url('fonts/VeraHumana95.svg#VeraHumana95') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'VeraHumana95';
    src: url('fonts/VeraHumana95Bold.eot');
    src: url('fonts/VeraHumana95Bold.eot?#iefix') format('embedded-opentype'),
    url('fonts/VeraHumana95Bold.woff2') format('woff2'),
    url('fonts/VeraHumana95Bold.woff') format('woff'),
    url('fonts/VeraHumana95Bold.ttf') format('truetype'),
    url('fonts/VeraHumana95Bold.svg#VeraHumana95Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'VeraHumana95';
    src: url('fonts/VeraHumana95BoldItalic.eot');
    src: url('fonts/VeraHumana95BoldItalic.eot?#iefix') format('embedded-opentype'),
    url('fonts/VeraHumana95BoldItalic.woff2') format('woff2'),
    url('fonts/VeraHumana95BoldItalic.woff') format('woff'),
    url('fonts/VeraHumana95BoldItalic.ttf') format('truetype'),
    url('fonts/VeraHumana95BoldItalic.svg#VeraHumana95BoldItalic') format('svg');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'VeraHumana95';
    src: url('fonts/VeraHumana95Italic.eot');
    src: url('fonts/VeraHumana95Italic.eot?#iefix') format('embedded-opentype'),
    url('fonts/VeraHumana95Italic.woff2') format('woff2'),
    url('fonts/VeraHumana95Italic.woff') format('woff'),
    url('fonts/VeraHumana95Italic.ttf') format('truetype'),
    url('fonts/VeraHumana95Italic.svg#VeraHumana95Italic') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

.banner h1, .banner h2 {
    font-family: 'VeraHumana95', 'Times New Roman', Times, serif;
    font-weight: normal;
}

.absolute-footer {
    display: none !important;
}

.product-small .box .box-text {
    padding-left: 15px;
    padding-right: 15px;
}

.product-small .col-inner {
    -webkit-box-shadow: 0 1px 4px -1px rgb(0 0 0 / 16%);
    box-shadow: 0 1px 4px -1px rgb(0 0 0 / 16%);
    margin-bottom: 16px;
    transition: 0.3s all;
    height: 100%;
}

.button, button, input[type=button], input[type=reset], input[type=submit] {
    font-weight: normal;
}

.product-small .price-wrapper .price {
    font-size: 18px;
}

.product-small .box-text .product-cat {
    font-size: 14px;
}

.product-small .box-text .product-title {
    font-size: 20px;
}

.center-mobile .text-right, .center-mobile > .text-left {
    text-align: center !important;
}

.nav-pagination > li > a, .nav-pagination > li > span {
    border-color: transparent;
    border-radius: 10px !important;
}

.off-canvas-left .mfp-content, .off-canvas-right .mfp-content {
    background-color: #FFF;
}

.ellipsis-vinar-desc {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.off-canvas .nav-vertical > li > a {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    text-transform: none;
}

.off-canvas .nav-vertical > li .toggle i {
    font-size: 1.2em;
    top: 0;
}

#main-menu .nav-slide {
    padding-top: 0;
}

.nav.nav-vertical li.wpml-ls-item {
    width: auto;
}

.off-canvas .nav-vertical li li.wpml-ls-item > a:first-child {
    padding-left: 0;
}

.off-canvas .nav-vertical .wpml-ls-legacy-list-horizontal {
    padding-left: 0 !important;
}

.form-flat input:not([type=submit]), .form-flat select, .form-flat textarea {
    border-radius: 0;
    background-color: initial;
}

.nav-sidebar.nav-vertical > li + li {
    border-top: 1px solid #f3f3f3;
}

.dark .nav-vertical li li.menu-item-has-children > a, .dark .nav-vertical-fly-out > li > a, .dark .nav-vertical > li > ul li a, .dark .nav > li.html, .dark .nav > li > a, .nav-dark .is-outline, .nav-dark .nav > li > a, .nav-dark .nav > li > button, .nav-dropdown.dark .nav-column > li > a, .nav-dropdown.dark > li > a {
    color: #FFFFFF;
}

.transparent-btn {
    background-color: rgb(0 0 0 / 8%);
    backdrop-filter: blur(10px);
    border: 2px solid #C6D64E;
}

.select-resize-ghost, .select2-container .select2-choice, .select2-container .select2-selection, input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    box-shadow: none;
}

aside .searchform .button.icon {
    background: none;
    color: #cadb59;
    border: none;
    margin-left: -40px;
}
.cart-icon strong{
    color: #cadb59;
    border: 2px solid var(--fs-color-secondary);
}
.cart-icon strong:after {
    border: 2px solid var(--fs-color-secondary);
}
.cart-icon:hover strong, .current-dropdown .cart-icon strong {
    background-color: var(--fs-color-secondary);
}
.button:hover, .dark .button.is-form:hover, input[type=button]:hover, input[type=reset]:hover, input[type=submit]:hover {
    box-shadow: none;

}

.category-page-title {
    margin-top: 30px;
}

.category-page-title .woocommerce-breadcrumb {
    display: none !important;
}

.shop-category-section .woocommerce-breadcrumb {
    font-weight: bold;
    font-size: 1.8em;
}

.crnobela-galerija img {
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
    filter: grayscale(1); /* Microsoft Edge and Firefox 35+ */
}

.yith-wcwl-add-to-wishlist .yith-wcwl-add-button {
    align-items: flex-start !important;
}

/*Pozicioniranje slike na strani produkta na center*/
.product-main .product-gallery-slider .woocommerce-product-gallery__image {
    text-align: center;
}

.product-main .product-gallery-slider img {
    width: auto;
    max-height: 700px;
}

.custom-product-page .product-gallery-slider .woocommerce-product-gallery__image {
    text-align: center;
}

.custom-product-page .product-gallery-slider img {
    width: auto;
    max-height: 700px;
}

/*END Pozicioniranje slike na strani produkta na center*/

.sticky-add-to-cart--active {
    background-color: white;
}

.slider-nav-reveal button, .slider-nav-reveal button:not(.icon) {
    border-radius: 0 !important;
}

.custom-product-page .product-title {
    margin-bottom: 0;
}

.custom-product-page .stock.in-stock {
    display: none;
}

.product-attributes-table table tr.hide {
    display: none;
}

.product-attributes-table table .tr-prikazi-vse td {
    border-bottom: none;
}

.product-attributes-table table {
    font-size: 14px;
}

.product-attributes-table h3 {
    border-bottom: 1px solid #ececec;
    padding-bottom: 10px;
    margin-bottom: 0px;
}

.polja-po-meri {
}

/*.polja-po-meri ul{
    display: flex;
    flex-wrap: wrap; !* Omogoča prelom vrstic, če elementi ne morejo stati v eni vrstici *!
    list-style: none; !* Odstrani oznake seznamov *!
    padding: 0;
    margin: 0;
}
.polja-po-meri ul li{
    flex: 1; !* Vsi elementi imajo enako širino *!
    display: flex; !* Uporabi Flexbox na posameznih elementih za centriranje vsebine *!
    flex-direction: column; !* Poravnava vsebine vertikalno *!
    justify-content: flex-start; !* Vertikalno centriranje *!
    align-items: center; !* Horizontalno centriranje *!
    background-color: #eff1dd; !* Primer ozadja - prilagodite po potrebi *!
    padding: 20px; !* Prostor znotraj elementov *!
    text-align: center; !* Centriranje besedila *!
    box-sizing: border-box; !* Za pravilen izračun širine in višine *!
}*/
.polja-po-meri ul {
    list-style: none; /* Odstrani oznake seznamov */
    padding: 0;
    margin: 0;
}

.polja-po-meri ul li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ebebeb;
    margin-left: 0;
}

.polja-po-meri ul li:last-child {
    margin-bottom: 30px;
}

.polja-po-meri ul li img {
    flex: 0 0 15%; /* Prvi element (slika) zasede 20% širine */
    max-width: 15%; /* Prilagodi velikost slike glede na širino */
    height: auto; /* Ohrani pravilne razmerje slike */
    padding: 15px;
}

.polja-po-meri ul li h4 {
    flex: 0 0 30%; /* Drugi element (naslov) zasede 40% širine */
    margin: 0; /* Odstrani privzete robove naslova */
    text-align: left; /* Poravnava besedila na levo */
    padding: 15px;
    color: #000000;
}

.polja-po-meri ul li .acf-vrednost {
    flex: 0 0 55%; /* Tretji element (vsebina) zasede 40% širine */
    text-align: left; /* Poravnava besedila na levo */
    padding: 15px;
}

.polja-po-meri ul li .acf-vrednost p:last-child {
    margin-bottom: 0;
}

.vinar-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.vinar-term {

}

.vinar-term img {
    width: 100%;
    height: auto;
}

.vinar-term .img-with-title {
    position: relative;
    margin-bottom: 20px;
    transition: 0.3s all;
}

.vinar-term .img-with-title:hover {
    opacity: 0.8;
}

.vinar-term .img-with-title h2 {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
    background: #0000008a;
    width: auto;
    margin-bottom: 0;
    color: #FFFFFF;
}

.header-cart-title span.amount {
    font-weight: 500;
}

.footer-socials a {
    display: inline-block;
    margin-right: 15px;
    font-size: 24px;
}

.footer-socials a:last-child {
    margin-right: 0;
}

.footer-socials a img {
    width: auto;
    height: 24px;
}

.menu-vina-col > .col {
    display: flex;
}

.menu-vina-col > .col > .col-inner {
    display: flex;
    flex-direction: column;
}

.menu-vina-col .row-push-bottom {
    align-items: flex-end;
    flex-grow: 1;
}

/*Skrijem Nakategorizirano med kategorijami izdelkov*/
aside .cat-item-15, aside .cat-item-940, aside .cat-item-939 {
    display: none !important;
}

.more-less-category {
    color: #cadb59;
}

.widget_layered_nav li.hidecat {
    display: none;
}

.widget_layered_nav li.hidecat[style*="display: list-item"] {
    display: flex !important;
}

.term-description {
    padding: 20px;
    border-radius: 6px;
    background: #f9f9f9;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 4px 8px 0px hsl(0deg 0% 0% / 6%);
}

.term-description p:last-child {
    margin-bottom: 0;
}

.term-description .vinar-name {
    position: absolute;
    font-size: 100px;
    line-height: 80px;
    text-transform: uppercase;
    left: -15px;
    font-weight: bold;
    top: -15px;
    color: #00000008;
}

aside.widget_layered_nav_filters {
    background: #cadb59;
    padding: 15px;
    border-radius: 6px;
}

.mfp-bg.mfp-ready {
    opacity: .9;
}

.mfp-bg {
    background: #13152C;
}

.mfp-content .dark .form-flat input:not([type=submit]) {
    background-color: #FFF !important;
    color: #13152C !important;
}

.mfp-content .dark .form-flat input:not([type=submit])::placeholder {
    color: #aaaaaa !important;
}

.footer-mailerlite {
}

.footer-mailerlite .ml-form-formContent.horozintalForm .ml-form-horizontalRow .ml-button-horizontal {
    background: none;
}

.footer-mailerlite .ml-form-formContent.horozintalForm .ml-form-horizontalRow .horizontal-fields {
    padding-right: 0;
}

.footer-mailerlite .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow input {
    border-right: none !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    height: auto;
}

.footer-mailerlite .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow button {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}
/*SL ID*/
.footer-mailerlite #mlb2-6072143.ml-form-embedContainer .ml-form-embedWrapper{
    background: none;
}
.footer-mailerlite #mlb2-6072143.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody, .footer-mailerlite #mlb2-6072143.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody{
    padding: 0;
}
.footer-mailerlite #mlb2-6072143.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow label p{
    color: #FFF !important;
}
.footer-mailerlite #mlb2-6072143.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow label a{
    color: #FFF;
}
.footer-mailerlite #mlb2-6072143.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow input[type=checkbox]:checked~.label-description::before{
    border-color: #cadb59 !important;
    background-color: #cadb59 !important;
}
/*EN ID*/
.footer-mailerlite #mlb2-6075483.ml-form-embedContainer .ml-form-embedWrapper{
    background: none;
}
.footer-mailerlite #mlb2-6075483.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody, .footer-mailerlite #mlb2-6075483.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody{
    padding: 0;
}
.footer-mailerlite #mlb2-6075483.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow label p{
    color: #FFF !important;
}
.footer-mailerlite #mlb2-6075483.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow label a{
    color: #FFF;
}
.footer-mailerlite #mlb2-6075483.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow input[type=checkbox]:checked~.label-description::before{
    border-color: #cadb59 !important;
    background-color: #cadb59 !important;
}
/*DE ID*/
.footer-mailerlite #mlb2-6075481.ml-form-embedContainer .ml-form-embedWrapper{
    background: none;
}
.footer-mailerlite #mlb2-6075481.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody, .footer-mailerlite #mlb2-6075481.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody{
    padding: 0;
}
.footer-mailerlite #mlb2-6075481.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow label p{
    color: #FFF !important;
}
.footer-mailerlite #mlb2-6075481.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow label a{
    color: #FFF;
}
.footer-mailerlite #mlb2-6075481.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-checkboxRow input[type=checkbox]:checked~.label-description::before{
    border-color: #cadb59 !important;
    background-color: #cadb59 !important;
}


.searchform-wrapper .autocomplete-suggestions {
    background: #13152C;
}
.searchform .flex-row .flex-col{
    padding-right: 6px !important;
}

.wpml-ls-legacy-dropdown {
    width: auto;
    max-width: 100%;
}
.wpml-ls-legacy-dropdown a{
    border: none;
    background: none;
    text-align: center;
}
.wpml-ls-legacy-dropdown .wpml-ls-sub-menu a{
    background: #FFF;
}
.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle::after {
    color: #FFF;
}
.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
    margin-bottom: 0 !important;
}
.crnobela-galerija .flickity-slider{
    display: flex;
    align-items: center;
}
.crnobela-galerija .flickity-prev-next-button {
    margin-top: 0 !important;
    top:0 !important;
}
.under-desc-btns{
    display: block;
    margin-top: 25px;
}
.autocomplete-suggestion .search-name .search-vinar{
    display: block;
    font-size: 52%;
    line-height: initial;
    margin-bottom: -10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #cadb59;
    font-style: italic;
}
.col .live-search-results, .header .search-form .live-search-results, .header-block .live-search-results {
    background-color: #FFFFFF;
}

.flipContainer .flip-page-one {
    box-shadow: 20px 0px 15px 0px #00000038;
}
.flipContainer .flip-page-two > .product-info{
    padding-left: 60px;
}
.flipContainer .is-divider {
    background-color: rgb(202 219 89);
}
.flipContainer .flickity-page-dots, .flipContainer .product_meta{
    display: none;
}
.flipContainer.slider-nav-circle .flickity-prev-next-button .arrow, .flipContainer.slider-nav-circle .flickity-prev-next-button svg{
    background-color: #CADB59;
    border-color: #CADB59;
    fill: #ffffff;
}
.flipContainer .flickity-prev-next-button{
    width: 56px;
}
.slider:hover.flipContainer .flickity-prev-next-button{
    opacity: 1;
}
.flipContainer.slider-nav-circle .flickity-prev-next-button:hover .arrow, .flipContainer.slider-nav-circle .flickity-prev-next-button:hover svg{
    background-color: #13152C;
    border-color: #13152C;
}

@media screen and (min-width: 850px) {
    .single-product .product_cat-degustacije .large-8 {
        flex-basis: 58%;
        max-width: 58%;
    }
    .single-product .product_cat-degustacije .large-4 {
        flex-basis: 42%;
        max-width: 42%;
    }
}

@media only screen and (min-width: 550px) {
    .eq-img-sizes .product-small .box-image {
        position: relative;
        width: 100%;
        height: 320px;
        background: #FFF;
    }

    /* .eq-img-sizes .product-small .box-image {
         position: relative;
         width: 100%;
         height: 100%;
         background: #FFF;
     }*/
    .eq-img-sizes .product-small .box-image::before {
        content: "";
        display: block;
        padding-bottom: 100%;
    }

    .eq-img-sizes .product-small .box-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 320px;
        object-fit: contain;
    }

    /*.eq-img-sizes .product-small .box-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }*/

}

@media only screen and (max-width: 850px) {
    .flipContainer .flip-page-one {
        margin-bottom: 25px;
    }
    .flipContainer .flip-page-two > .product-info{
        padding-left: 30px;
    }
}
@media only screen and (max-width: 550px) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .center-mobile .text-right .is-divider, .center-mobile .text-right .is-star-rating, .center-mobile .text-right .star-rating, .center-mobile .text-right > div, .center-mobile .text-right > div > div {
        margin-left: auto;
        margin-right: auto;
    }

    .center-mobile .text-left .is-divider, .center-mobile .text-left .is-star-rating, .center-mobile .text-left .star-rating, .center-mobile .text-left > div, .center-mobile .text-left > div > div {
        margin-left: auto;
        margin-right: auto;
    }

    .product-small .box-text .product-cat {
        font-size: 12px;
    }

    .product-small .box-text .product-title {
        font-size: 18px;
    }

    .polja-po-meri ul li img {
        padding: 0;
        max-width: 50%;
        margin-bottom: 20px;
        width: 56px;
    }

    .polja-po-meri ul li h4 {
        padding: 0;
        margin-bottom: 10px;
    }

    .polja-po-meri ul li .acf-vrednost {
        padding: 0;
    }

    .polja-po-meri ul li {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    .eq-img-sizes .box-image {
        background: #FFF;
        text-align: center;
    }
    .eq-img-sizes .box-image img {
        width: auto;
        height: 400px;
    }
    .eq-img-sizes .product-small .col-inner {
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    .eq-img-sizes .product-small .box .box-text {
        padding-left: 0;
        padding-right: 0;
    }
}
@media only screen and (max-width: 400px) {
    .footer-mailerlite .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow input {
        border-right: 1px solid #CCC !important;
        border-top-right-radius: 8px !important;
        border-bottom-right-radius: 8px !important;
    }
}