/*
Theme Name: Divi child theme
Template: Divi
*/

@import url("../Divi/style.css");

/* YOUR CSS EDITS GO BELOW THIS LINE AND AND CSS RULES YOU MAKE HERE WILL OVERIDE THE MASTER DIVI THEME CSS RULES */

@font-face {
    font-family: seravek-light;
    src: url('fonts/seravek-light-webfont.ttf') format('truetype');
}

@font-face {
    font-family: seravek-regular;
    src: url('fonts/seravek-regular-webfont.ttf') format('truetype');
}

@font-face {
    font-family: seravek-regularitalic;
    src: url('fonts/seravek-regularitalic-webfont.ttf') format('truetype');
}

@font-face {
    font-family: seravek-medium;
    src: url('fonts/seravek-medium-webfont.ttf') format('truetype');
}

@font-face {
    font-family: seravek-bold;
    src: url('fonts/seravek-bold-webfont.ttf') format('truetype');
}

body,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: seravek-regular!important;
    letter-spacing: 0.1em;
    color: #333;
}

img.attachment-shop_single.size-shop_single.wp-post-image {
    height: auto!important;  
}

.woocommerce ul.products li.product a img, .woocommerce-page ul.products li.product a img {
    max-width: auto!important;
    margin-left: 50%!important;
    transform: translateX(-50%);
}

.woocommerce ul.products li.product a img {
    width: auto!important;
    height: 280px!important;
    display: block;
    margin: 0 0 1em;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.et_shop_image, .et_portfolio_image {
    text-align: center;
    height: 300px!important;
    width: auto!important;    
    
}

a.et-cart-info {
    display: none;
}

small.count::before {
    content: ' ';
}

small.count {
    color: #7c1827;
}

.et_pb_sum,
.et_pb_pricing li a,
.et_pb_pricing_table_button,
.et_overlay:before,
.et_pb_member_social_links a:hover,
.woocommerce-page #content input.button:hover .et_pb_widget li a:hover,
.et_pb_bg_layout_light .et_pb_promo_button,
.et_pb_bg_layout_light.et_pb_module.et_pb_button,
.et_pb_bg_layout_light .et_pb_more_button,
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active,
.et_pb_filterable_portfolio .et_pb_portofolio_pagination ul li a.active,
.et_pb_gallery .et_pb_gallery_pagination ul li a.active,
.et_pb_contact_submit,
.et_pb_bg_layout_light .et_pb_newsletter_button {
    color: #7c1827;
}

p.price {
    margin: 10px 0;
}

img.attachment-shop_catalog.size-shop_catalog.wp-post-image {
    height: 300px!important;
    width: auto!important;
}

.woocommerce ul.products li.product a img {
    display: inline-block;
}

.et_shop_image,
.et_portfolio_image {
    text-align: center;
}

a.yith-wcan-reset-navigation.button {
    font-size: 15px;
}

img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image.active {
    height: 80%!important;
    width: auto;
}

.et_pb_slide_image {
    height: 100%;
}

.et_pb_slide_image {
    display: flex!important;
    align-items: center;
    justify-content: center;
}

.et_pb_slide_image,
.et_pb_slide_video {
    width: 30.25%;
    margin-right: 5.5%;
}

.et_pb_slide_with_image .et_pb_slide_description {
    width: 63.25%;
}

.et_pb_slide_description,
.et_pb_slider_fullwidth_off .et_pb_slide_description {
    padding-top: 7%;
    padding-bottom: 7%;
}

.skyggeboks,
.container.clearfix.et_menu_container {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

body.custom-background {
    background-size: initial!important;
    background-repeat: repeat!important;
}

div#et-top-navigation {
    background: #303235;
    background: -moz-linear-gradient(top, #303235 0%, #282828 46%, #34363a 100%);
    background: -webkit-linear-gradient(top, #303235 0%, #282828 46%, #34363a 100%);
    background: linear-gradient(to bottom, #303235 0%, #282828 46%, #34363a 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#303235', endColorstr='#34363a', GradientType=0);
}

.container.clearfix.et_menu_container {
    background: #7a0012;
    background: -moz-linear-gradient(top, #7a0012 0%, #7a212e 46%, #6b242c 100%);
    background: -webkit-linear-gradient(top, #7a0012 0%, #7a212e 46%, #6b242c 100%);
    background: linear-gradient(to bottom, #7a0012 0%, #7a212e 46%, #6b242c 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#7a0012', endColorstr='#6b242c', GradientType=0);
}

a.woocommerce-LoopProduct-link {
    text-align: center;
}

#top-menu>li::before {
    content: '|';
    color: #a0a0a0;
    position: absolute;
    line-height: 50px;
    margin-left: -14px;
    font-family: raleway;
    font-weight: 100;
}

#top-menu>li:first-of-type::before {
    content: '';
}

.logo_container a {
    float: left;
    margin-top: 15px;
}

.yith-ajaxsearchform-container {
    width: 50%;
    margin: 0;
    float: right;
    margin-top: 30px;
}

form#yith-ajaxsearchform>div {
    text-align: right;
}

.autocomplete-suggestions {
    right: 39px;
}

input#yith-s {
    width: 250px;
    border: 1px solid #333;
    height: 30px;
    border-radius: 3px;
}

input#yith-searchsubmit {
    background-color: #fff;
    height: 30px;
    border: 1px solid #333;
    top: -2px!important;
    padding: 0 15px;
    font-size: 13px;
    border-radius: 3px;
}

label.screen-reader-text {
    display: none;
}

.autocomplete-suggestion {
    border-bottom: 1px solid #d0d0d0;
}

.autocomplete-suggestion:last-child {
    border-bottom: none;
}

.page-id-175 div#sidebar,
.page-id-175 #main-content .container:before,
.single div#sidebar,
.single #main-content .container:before {
    display: none;
}

.page-id-175 div#left-area,
.single div#left-area {
    padding: 0!important;
    width: 100%!important;
}

.leftsider {
    float: left;
    width: 48%;
}

.woocommerce div.product div.images {
    width: 100%;
}

#main-content {
    background-color: transparent;
}

.leftsider .images {
    background-color: #fff;
}

.et_pb_widget {
    width: 100%;
}

.gm-style-iw {
    color: #000;
}

#main-footer .footer-widget h4 {
    color: #fff!important;
}

.et_pb_widget ul li {
    margin-bottom: 0;
}

.tekst-under-boks {
    position: absolute;
    background: rgba(122, 15, 31, 0.75);
    bottom: 27px;
    width: 31.333%;
    font-weight: 600!important;
    color: #fff;
    padding: 10px 15px;
    pointer-events: none;
}

.et_pb_column_1_3 .skyggeboks {
    margin-bottom: -27px!important;
}

.et_pb_image.skyggeboks {
    height: 260px;
    overflow: hidden;
    cursor: pointer;
    transition: all .1s ease-in-out;
}

.et_pb_image.skyggeboks:hover {
    box-shadow: 0 0 15px 2px rgba(0, 0, 0, 0.7);
}

.et_pb_image.skyggeboks img {
    max-width: 200%;
    min-height: 100%;
    max-height: 2200%;
    min-width: 100%;
    height: auto;
    width: 100%;
}

span.et_shop_image {
    background: #fff;
    border: 1px solid #dedede;
}

.home span.et_shop_image {
    border: none;
}

mark {
    background-color: transparent;
    color: #777777;
}

.leftsider h1.product_title.entry-title {
    display: none;
}

.leftsider>div:nth-child(2) {
    display: none;
}

.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
    padding: 1em!important;
}

.footer-widget {
    width: 25%;
}

.circle img {
    border-radius: 50%;
    width: 70%;
}

span.kontaktinfo {
    color: #fff;
    float: right;
    line-height: 50px;
}

span.kontaktinfo a {
    color: #fff;
}

.et_pb_slide_image img {
    max-height: 250px!important;
}


/***************Tablet styles*********************/

@media (max-width: 980px) {
    .woocommerce-tabs.wc-tabs-wrapper {
        width: 48%;
        float: right;
        clear: none!important;
    }
    .woocommerce div.product div.images {
        width: 48%;
        clear: none;
        float: left!important;
    }
    .leftsider {
        width: 100%;
    }
    .leftsider h1.product_title.entry-title {
        display: block;
        text-align: center;
    }
    .leftsider>div:nth-child(2) {
        display: block;
        text-align: center;
    }
    .single-product.woocommerce .woocommerce-breadcrumb {
        text-align: center;
    }
    .woocommerce div.product div.summary {
        width: 100%;
    }
    .summary h1.product_title.entry-title {
        display: none;
    }
    .summary>div:nth-child(2) {
        display: none;
    }
    .tax-product_cat div#content-area {
        display: table;
        width: 100%;
    }
    .tax-product_cat div#left-area {
        display: table-footer-group;
    }
    .tax-product_cat div#sidebar {
        display: table-header-group;
    }
    .logo_container {
        text-align: center;
    }
    span.logo_helper,
    nav#top-menu-nav,
    div#et-top-navigation {
        height: 0!important;
    }
    .logo_container a {
        float: none;
        display: block;
    }
    orm#yith-ajaxsearchform>div {
        text-align: center;
    }
    .autocomplete-suggestions {
        left: 50%;
        margin-left: -154px;
    }
    .yith-ajaxsearchform-container {
        width: 100%;
        margin-bottom: 30px;
    }
    form#yith-ajaxsearchform>div {
        text-align: center;
    }
    .mobile_menu_bar:before {
        color: #fff!important;
        font-size: 40px;
    }
    span.mobile_menu_bar.mobile_menu_bar_toggle {
        position: absolute;
        top: -130px;
        right: 30px;
    }
    input#yith-s {
        max-width: 70%;
    }
    input#yith-searchsubmit {
        max-width: 25%;
    }
    #main-header .et_mobile_menu {
        background-color: #333333!important;
    }
    .tekst-under-boks {
        width: 100%;
    }
    .et_pb_row.et_pb_row_1 {
        height: 260px;
    }
    .et_pb_column.et_pb_column_4_4.et_pb_column_0 {
        margin: 0!important;
    }
    span.kontaktinfo {
        width: 100%;
        background-color: #333333;
        display: block;
        margin: 0 auto;
        text-align: center;
    }
    nav#top-menu-nav {
        width: 100%!important;
    }
    .et_pb_column_1_3 .skyggeboks {
        margin-bottom: 50px!important;
    }
    .et_pb_row .et_pb_column .et_pb_module:last-child,
    .et_section_specialty .et_pb_row .et_pb_column .et_pb_module:last-child {
        bottom: -30px;
    }
    .skyggeboks.et_pb_row.et_pb_row_2 {
        margin-top: 63px!important;
    }
}

#top-menu .menu-item-has-children > a:first-child:after,
#et-secondary-nav .menu-item-has-children > a:first-child:after {
    right: -10px;
    top: 50%;
    margin-top: -10px;
}

#top-menu li.menu-item-has-children {
    padding-right: 32px;
}

.related.products {
    clear: both;
}


/***************Mobile styles*********************/

#yith-woo-ajax-navigation-6 a.minusalle::after {
    content: ' lande';
}

#yith-woo-ajax-navigation-7 a.minusalle::after {
    content: ' områder';
}

#yith-woo-ajax-navigation-8 a.minusalle::after {
    content: ' distrikter';
}

#yith-woo-ajax-navigation-2 a.minusalle::after {
    content: ' årgange';
}

#yith-woo-ajax-navigation-4 a.minusalle::after {
    content: ' druer';
}

#yith-woo-ajax-navigation-5 a.minusalle {
    font-size: 0;
}

#yith-woo-ajax-navigation-5 a.minusalle::after {
    content: 'Volume';
    font-size: 14px;
    line-height: 14px;
    vertical-align: middle;
}

#yith-woo-ajax-navigation-3 a.minusalle {
    font-size: 0;
}

#yith-woo-ajax-navigation-3 a.minusalle::after {
    content: 'Alkohol procent';
    font-size: 14px;
    line-height: 14px;
    vertical-align: middle;
}


/***************Mobile styles*********************/

@media (max-width: 750px) {
    .woocommerce div.product div.images {
        width: 100%;
    }
    .woocommerce-tabs.wc-tabs-wrapper {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .et_pb_slide_image img {
        max-height: 200px!important;
        height: 200px!important;
        width: auto!important;
    }
    .et_pb_slide_image {
        margin: 20px auto 0 auto!important;
    }
    .et_pb_slide_with_image .et_pb_slide_description {
        width: 80%;
        padding-bottom: 0!important;
        margin-bottom: 30px;
    }
}

@media (max-width: 440px) {
    .autocomplete-suggestions {
        left: 50%;
        margin-left: -47%;
    }
}


/********************Rettelser til produkter********************/

.woocommerce span.onsale,
.woocommerce-page span.onsale {
    background: #7A1E2B!important;
}

.leftsider .price {
    display: none;
}

.thumbnails.columns-3 a,
.thumbnails.columns-3 img {
    max-height: 200px;
    width: auto!important;
}

.thumbnails.columns-3 {
    padding: 0 20px 20px 20px;
    border-top: 1px solid #efefef;
    margin-top: 25px;
}

.woocommerce div.product div.images {
    border: 1px solid #dcdcdc;
}


/********************tekst i slider********************/

.et_pb_slide_description,
.et_pb_slide_description h2,
.et_pb_slide_description .et_pb_slide_content {
    text-align: center!important;
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
    max-width: 200%;
    margin-left: 50%!important;
    transform: translateX(-50%);
}

span.et_shop_image {
    overflow: hidden;
}

.et_left_sidebar.woocommerce-page ul.products li.product:nth-child(3n) {
    margin: 0 3.8% 2.992em 0!important;
}

.et_left_sidebar.woocommerce-page ul.products li.product:nth-child(4n) {
    margin-right: 0!important;
}

.et_left_sidebar.woocommerce-page ul.products li.product:nth-child(3n+1) {
    clear: none;
}

.et_left_sidebar.woocommerce-page ul.products li.product:nth-child(4n+1) {
    clear: both;
}

@media screen and (max-width: 980px) {
    .et_left_sidebar.woocommerce-page ul.products li.product:nth-child(2n) {
        margin-right: 0!important;
    }
    .et_left_sidebar.woocommerce-page ul.products li.product:nth-child(2n+1) {
        clear: both;
    }
    .et_left_sidebar.woocommerce-page ul.products li.product:nth-child(3n) {
        margin: 0 7.5% 7.5% 0 !important;
    } 
    

}


.et_pb_gutters2.et_left_sidebar.woocommerce-page ul.products li.product{
    width: 30.64%;
    margin-right: 2.2%!important;
}

woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    float: left;
    margin: 0 3.8% 9.0% 0!important;
    padding: 0;
    position: relative;
    width: 22.05%!important;
    margin-left: 0;
}

span.et_shop_image {
    padding-top: 10px;
}

h4.widgettitle {
    font-size: 14px;
    margin-bottom: -20px;
    margin-top: -10px;
}

.et_bloom .image_right .et_bloom_form_text,
.et_bloom .split .et_bloom_form_text {
    display: flex!important;
    clear: none;
    flex-direction: column;
    height: 280px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.et_header_style_left #et-top-navigation nav > ul > li > a {
    padding-bottom: 20px!important;
}

.post-type-archive-tribe_events #main-content .container:before {
    display: none;
}

.post-type-archive-tribe_events div#left-area {
    width: 100%!important;
    padding: 0!important;
}

.post-type-archive-tribe_events div#sidebar {
    display: none!important;
}

#stornyhed .image_right .et_bloom_form_text {
    height: 600px;
}
/*        sh work    */
/*.leftsider h1.product_title.entry-title {display: block !important;}*/
.woocommerce div.product div.images img {    max-height: 500px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    }
    
  /*  .leftsider {
    float: left;
    width: 100% !important;}
    .leftsider .images{
        max-width:35% !important;
        float:left
        }*/
  
   .entry-summary{
     display:block !important;        
      float:left !important;
      margin-top:20px;
        }
   .sh_class{
       padding-left:10px;
   padding-right:10px;
   }     
  .entry-summary p.price span{
       font-size:40px !important;
       }
/* WooCommerce søgning i header */
.woocommerce-product-search {
    width: 50%;
    margin: 0;
    float: right;
    margin-top: 30px;
    text-align: right;
}

.woocommerce-product-search input[type="search"] {
    width: 250px;
    border: 1px solid #333;
    height: 30px;
    border-radius: 3px;
    padding: 0 8px;
    box-sizing: border-box;
}

.woocommerce-product-search button {
    background-color: #fff;
    height: 30px;
    border: 1px solid #333;
    padding: 0 15px;
    font-size: 13px;
    border-radius: 3px;
}