/*
 * Custom code goes here.
 */

/* openservis - begin */
body#checkout div.shaim_heureka_checkbox {
    margin-left: 0 !important;
}

/* openservis - end */

/* hide firstname and lastname alerts in checkout form */
#customer-form input[name="firstname"] + span.form-control-comment, #customer-form input[name="lastname"] + span.form-control-comment {
    display: none;
}

/* fix for Chrome image rendering */
img {
    image-rendering: -webkit-optimize-contrast;
}


tr#shaim_cks_main > td > p {
    display: inline;
}

@media (min-width: 1200px) {
    #header .search-widget form button[type=submit] {
        text-transform: uppercase;
        font-size: 12px;
    }
}


#header .search-widget form button[type=submit]:hover {
    background: #733C35;
}

#header .header-top #_desktop_top_menu a[data-depth="0"] {
    text-transform: uppercase;
    font-weight: 600;
}

#_desktop_top_menu .top-menu a[data-depth="0"] {
    padding: 1rem 1.25rem 0.9rem 1.25rem;
}

.search-widget form input[type=text] {
    box-shadow: none;
}

.search-widget form input[type=text] {
    border: 1px solid #CDCBC6;
}

#slideshow {
    background: #ECEAE6;
    border-top: 0;
    border-bottom: 0;
}


.product-information div[id^=product-description-short] h2, .product-information div[id^=product-description-short] p {
    text-align: left !important;
}

.product-information div[id^=product-description-short] {
    margin-bottom: 20px;
    margin-top: 0;
}


.block-categories .collapse-icons i {
    background: #919191;
    color: #ffffff;
}

.block-categories .collapse-icons .add:hover, .block-categories .collapse-icons .remove:hover {
    color: #ffffff;
}


/* faceted */

.active_filters {
    background: #fff;
    padding: 12px 18px 5px 18px;
    border: 1px solid #eee;
    margin-bottom: 0px;
}

.active_filters .filter-block {
    color: #333333;
    border: 1px dotted #ccc;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 0.3125rem 0.625rem;
    display: inline-block;
    font-size: 0.6875rem;
    box-shadow: none;
}


@media (min-width: 768px) {

    #_desktop_search_filters_clear_all {
        width: 100%;
        color: #000;
    }

    #main #search_filters_wrapper {
        background: #fff;
        border: 1px solid #eee;
        padding: 10px;
        margin: 15px 0px;
        display: inline-block;
        width: 100%;
    }

    #main #search_filters .facet ul {

    }

    #main #search_filters .facet ul > li {
        min-width: 20%;
    }

    #search_filters .facet, #search_filters_brands .facet, #search_filters_suppliers .facet {
        padding: 5px 7px;
        margin: 0;
        position: relative;
        padding: 5px 7px;
        width: 33%;
    }

    #search_filters, #search_filters_brands, #search_filters_suppliers {
        display: flex;
        flex-flow: wrap;
    }

    #search_filters .facet .facet-title, #search_filters_brands .facet .facet-title, #search_filters_suppliers .facet .facet-title {
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
        margin-bottom: 5px;
    }

    #search_filters > p.h6, .page-content.page-cms #search_filters > ul.h6 {
        font-size: 14px;
        display: none;
    }

}


@media (max-width: 767px) {
    #category #search_filters .facet ul li {
        border-top: 1px solid #f1f1f1;
        padding: 0.625rem;
    }

    #category #search_filters .facet ul {
        margin-bottom: 0;
    }

    #category #search_filters .facet {
        padding-top: 0;
        border-bottom: 1px solid #f1f1f1;
    }

    #category #search_filters {
        margin-bottom: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
        padding: 0;
        border: 1px solid #f1f1f1;
    }

    #category #search_filters .facet .h6 {
        margin-bottom: 0;
        padding: 1rem 0.625rem;
        display: inline-block;
    }

    #category #search_filter_controls {
        text-align: center;
        margin-bottom: 1rem;
    }

    #category #search_filter_controls button {
        margin: 0 0.5rem;
        padding: 5px;
    }


}


@media (min-width: 1200px) {
    #search_filters .facet .facet-label a {
        white-space: normal;
    }

    #search_filters .facet .facet-label {
        display: flex;
        flex-flow: wrap;
    }

    #wrapper #search_filters .facet .facet-label .custom-checkbox, #wrapper #search_filters .facet .facet-label .custom-radio {
        top: 9px;
    }

    .active_filters {
        margin-bottom: 16px;
    }

}


@media (min-width: 768px) {
    #search_filters .facet ul, #search_filters_brands .facet .collapse, #search_filters_suppliers .facet .collapse {
        max-height: 148px;
        padding-bottom: 9px;
        overflow-x: auto;
    }
}

body#category div#category-description strong {
    font-weight: 700;
}


.faceted-slider {
    width: 93%;
}

@media (min-width: 992px) {
    #wrapper .products-sort-order .select-list {
        padding: 1rem 1rem;
    }
}

#wrapper #poll_block_center.sidebar-block p.h6 {
    border-top: 0;
}

.unit-price-cart {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 400;
    margin-top: 6px;
}

ul.anktety li label {
    font-weight: 400;
}

p.shaim_ankety_btn {
    border-top: 0 !important;
    padding-top: 0 !important;
}


p.shaim_ankety_btn input {
    cursor: pointer;
    background: #A75F56;
    border: 0;
    color: #fff;
    padding: 10px;
}

p.shaim_ankety_btn input:hover {
    background: #733C35;
}

@media (min-width: 1200px) {
    .wp-switcher {
        display: flex;
        align-items: center;
        gap: 28px;
    }

    .user-info svg {
        margin-right: 11px;
    }
}

.wp-switcher {
    display: flex;
    justify-content: flex-end;
}

.user-info svg {
    max-width: 32px;
    margin-right: 11px;
    vertical-align: -4px;
}

.header .fa-shopping-cart:before {
    font-size: 26px;
}

#_desktop_user_info .user-info {
    line-height: 10px;
}

#_desktop_user_info .user-info > a {
    display: flex;
    align-items: center;
    position: relative;
}


.wp-same-coffee {
    position: absolute;
    top: -27px;
    width: 282px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    padding: 10px 15px;
    border-radius: 4px;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.1);
    font-weight: 300;
    text-align: left;
    font-size: 12px;
}

.wp-same-coffee::after {
    content: "";
    width: 12px;
    height: 12px;
    position: absolute;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: #fff;
    bottom: -6px;
    left: 50%;
    margin-left: -6px;
}


@media (min-width: 1200px) {
    .header-top > .container > .row {
        padding-top: 19px;
    }
}

@media (max-width: 1199px) {
    #header .header-nav .user-info {
        margin-top: 0;
        margin-left: 10px;
        margin-right: 5px;
    }
}


@media (min-width: 992px) {
    .header-top .search-widget form {
        margin-bottom: 3px;
    }
}

body.lang-sk .wp-same-coffee {
    width: 296px;
}


.thumbnail-container .product-description {
    width: 100%;
}

#_desktop_user_info .user-info {
    display: flex;
}

#_desktop_user_info a.logout.hidden-lg-down {
    margin-right: 10px;
}

@media (min-width: 1200px) and (max-width: 1350px) {
    main #header .header-top #_desktop_top_menu a[data-depth="0"] {
        font-size: 13px;
        padding: 1rem 9px .9rem 8px;
    }
}


@media (min-width: 1351px) and (max-width: 1433px) {
    main #header .header-top #_desktop_top_menu a[data-depth="0"] {
        font-size: 14px;
        padding: 1rem 14px .9rem 14px;
    }
}

@media (min-width: 768px) {
    #js-product-list-top .filter-button {
        float: left;
        margin-right: 10px;
    }
}

@media (min-width: 768px) {
    #main #search_filters_wrapper {
        display: none;
    }
}


#search_center_filter_toggler {
    background: #A75F56;
    padding: 8px 18px;
    outline: none;
}

#search_center_filter_toggler:hover {
    background: #733C35;
}

#grid_list {
    display: none;
}

.wp-home-reviews {
    text-align: center;
    position: relative;
    border: 1px solid #f0f0f0;
    padding: 50px 80px 60px 80px;
    margin-top: 4rem;
    margin-bottom: 3rem;
}

.wp-heureka-global-rating {
    width: 56px;
    height: 56px;
    position: absolute;
    left: 50%;
    margin-left: -28px;
    top: -28px;
    background-color: #efefef;
    border-radius: 12px;
    line-height: 56px;
    font-size: 24px;
    font-weight: 400;
}

.wp-heureka-wrap {
    margin-top: 56px;
}

.wp-heureka-items {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px;
}

.wp-heureka-item-wrap {
    width: 25%;
    padding: 0 20px 64px 20px;
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    position: relative;
    flex-flow: column-reverse;
    align-self: baseline;
}

span.wp-heureka-user svg {
    max-width: 29px;
    margin-right: 6px;
}

.wp-heureka-header {
    display: flex;
    align-items: center;
}

.wp-home-reviews h3 {
    font-size: 24px;
}

.wp-heureka-link {
    text-decoration: underline;
}

.wp-heureka-link:hover {
    text-decoration: none;

}

.wp-heureka-rating span.stars {
    margin-right: 5px;
}

span.wp-heureka-username {
    font-weight: 600;
    padding-bottom: 4px;
}

.wp-heureka-rating span.star-on, .wp-heureka-rating span.star-hover, .wp-rate-star-wrap a.star.star-on {
    color: #FFC500;
    display: inline-block;
    font-size: 16px;
    width: 14px;
    height: 14px;
    margin: 0;
    line-height: 1;
    vertical-align: middle;
    position: relative;
    overflow: hidden;
}

.wp-heureka-rating span.star-on:before, .wp-rate-star-wrap a.star.star-on:before {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "FontAwesome";
    content: "\f005";
}


span.wp-heureka-info {
    display: flex;
    flex-flow: column;
}

.wp-heureka-img img {
    max-width: 42px;
    margin-left: 14px;
    margin-top: -24px;
}

@media (min-width: 1200px) {
    .wp-heureka-text {
        min-height: 105px;
    }
}


@media (max-width: 991px) {

    .wp-home-reviews {
        padding: 20px;
    }

    .wp-heureka-item-wrap {
        width: 100%;
        padding: 0 20px 0px 20px;
    }

    .wp-heureka-wrap {
        margin-top: 36px;
    }

    .wp-home-reviews h3 {
        font-size: 22px;
        padding-top: 31px;
    }
}


@media (min-width: 992px) and  (max-width: 1500px) {

    .wp-home-reviews {
        padding: 50px 40px 60px 40px;
    }
}

@media (min-width: 992px) and  (max-width: 1400px) {

    .wp-heureka-item-wrap {
        width: 50%;
    }
}


/* CMS recenze */

@media (min-width: 1200px) {
    body#cms.cms-id-23 h1 {
        font-size: 30px;
    }

}

body#cms.cms-id-23 .wp-heureka-wrap {
    display: flex;
    flex-flow: wrap;
    margin: 0 -10px;
    clear: both;
}

body#cms.cms-id-23 .wp-heureka-item-wrap {
    border: 1px solid #ebebeb;
    width: calc(50% - 20px);
    padding: 24px 24px 56px 24px;
    margin: 0 10px 20px 10px;
    position: relative;
}

body#cms.cms-id-23 span.wp-heureka-rating {
    display: flex;
    flex-flow: column;
}

body#cms.cms-id-23 span.wp-heureka-rating span.vote-time {
    padding-top: 12px;
}

body#cms.cms-id-23 .wp-heureka-item-wrap .vote-content p {
    margin-bottom: 7px;
}


body#cms.cms-id-23 .wp-heureka-link {
    text-decoration: underline;
    text-align: center;
    display: block;
    margin: 30px auto;
    font-size: 16px;
}

body#cms.cms-id-23 .wp-heureka-link:hover {
    text-decoration: none;
}


div.rate-average-inner {
    flex-flow: column;
}


div.rate-average-inner, .wp-rate-perc {
    width: 160px;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #e8eee8;
    padding: 23px;
}

.wp-rate-perc {
    flex-flow: column;
    text-align: center;
}

span.wp-rate-average {
    font-size: 30px;
    font-weight: 700;
}

.wp-rate-perc strong {
    font-size: 30px;
    font-weight: 700;
    padding-bottom: 18px;
}


.wprate-wrap {
    margin-bottom: 35px;
    display: flex;
    gap: 22px;
}


body#cms.cms-id-23 span.wp-rate-star-wrap {
    padding-top: 20px;
}


@media (min-width: 1200px) {
    body#cms.cms-id-23 h1 {
        padding-top: 41px;
        padding-bottom: 40px;
    }

    body#cms.cms-id-23 #main .page-content {
        padding-top: 1.563rem;
        position: relative;
    }

    .wprate-wrap {
        position: absolute;
        right: 0;
        top: 0px;
        margin-top: -153px;
        padding-bottom: 44px;
    }


}

@media (max-width: 1199px) {
    #header {
        box-shadow: 0 0 4px 1px rgba(0, 0, 0, .1);
    }
}

body.category-id-72 #left-column #poll_block_center {
    display: none;
}

.coffee-type {
    margin-top: 21px;
    margin-bottom: 42px;
}

.coffee-type ul {
    display: flex;
    gap: 17px
}

.coffee-type ul {
    list-style-type: none;
}

.coffee-type ul li svg {
    margin-right: 3px;
}


@media (max-width: 600px) {
    .coffee-type ul {
        flex-flow: wrap;
    }
}

@media (min-width: 601px) and (max-width: 1400px) {
    .coffee-type ul {
        flex-flow: wrap;
    }

}

@media (min-width: 1600px) {
    .product-cover {
        padding: 0px 120px;
    }
}

.product-information .coffee-type ul li:before {
    content: none;
}


.copy-logo-icon {
    display: flex;
    justify-content: end;
    align-items: center;
}

.wplogobio, .wplogobiocz {
    margin-right: 25px;
    text-align: center;
}

.wplogobio img, .wplogobiocz img {
    max-height: 63px;
    width: auto;
}

.wplogobio p, .wplogobiocz p {
    font-size: 13px;
    padding-top: 4px;
    margin-bottom: 0;
}


@media (max-width: 600px) {

    .wplogobio, .wplogobiocz {
        margin-right: 16px;
        text-align: center;
    }

    .copy-logo-icon {
        justify-content: center;
    }

    span.wplogobio img, span.wplogobiocz img {
        max-height: 63px;

    }

    .wplogobio p, .wplogobiocz p {
        font-size: 10px;
    }

}


#custom-text .btn {
    background: none;
    border: 1px solid #444;
    margin-top: 14px;
    font-weight: 600;
    padding: 14px 18px;
}

#custom-text .btn:hover {
    background: #444;
    color: #fff;
}

#custom-text .row {
    display: flex;
    flex-flow: wrap;
    align-items: center;
}

@media (min-width: 1200px) {

    #custom-text h1 {
        padding-bottom: 24px;
    }

    #custom-text .btn {
        font-size: 18px;
    }
}

@media (max-width: 1200px) {
    #custom-text {
        padding-top: 1rem;
    }

    #custom-text h1 {
        padding-top: 28px;
        padding-bottom: 12px;
    }
}

/* openservis - shaim - begin */
@media (max-width: 768px) {
    #main #poll_block_center {
        display: block !important;
    }

}

.checkout-block .cart-detailed-totals {
    left: 0;
    width: 100%;
}
/* openservis - shaim - end */


p.wpwaitsup {
    color: #dd661e;
    font-weight: 600;
}
.pb-right-column p.wpwaitsup {
    font-size: 16px;
    display: block;
    margin-top: 13px;
}

.donate-charity {
    background: #f1f3c8;
    padding: 18px  20px 10px 20px;
}


ul.donate-buttons {
    display: flex;
    gap: 20px;
    flex-flow: wrap;
}



.shaim-cust-group,
.shaim-cust-reduction {
    width: calc(50% - 20px);
    margin-bottom: 10px;
}

.shaim-cust-group {
    margin-right: 10px;
    margin-left: 15px;
}

.shaim-cust-group, .shaim-cust-reduction {
    background: #f5f5f5;
    padding: 10px;
     font-size: 16px;
    font-weight: 600;
        margin-bottom: 20px;

}

.shaim-cust-group span, .shaim-cust-reduction span  {
    font-weight: 400;
    margin-left: 4px;
}


@media (max-width: 640px) {
  .shaim-cust-group,
  .shaim-cust-reduction {
         width: 100%;
        margin: 3px 15px;
  }
  .shaim-cust-reduction {
    margin-bottom: 15px;
  }
}