/*
 Theme Name:   Divi Child Theme
 Theme URI:    https://aswebstudio.se/
 Description:  Divi Child Theme
 Author:       AS webstudio
 Author URI:   https://aswebstudio.se/
 Template:     Divi
 Version:	   2.0 		
*/

.vertical-aligned { 
display: flex; 
flex-direction: column; 
justify-content: center;
}
/*--mega menu--*/
/*--not display images on mobile--*/
ul#mobile_menu.et_mobile_menu
li.mega-menu.menu-item
ul.sub-menu
.menu-item a img{
display:none!important;
}
/*--for 5 columns in mega menu---*/
#top-menu li.mega-menu > ul > li:nth-of-type(5n) {
clear: none;
}
#top-menu li.mega-menu > ul > li:nth-of-type(6n) {
clear: none;
}
#top-menu li.mega-menu > ul > li {
width: 20%;
margin: 0;
}
/*--end for 5 columns in mega menu---*/

ul#top-menu.nav
.mega-menu
ul.sub-menu{
padding:20px 10px 20px 10px;
}
/*--not change active menu parent color--*/
ul#top-menu.nav
.mega-menu
ul.sub-menu li.current-menu-parent a{

}
ul#top-menu.nav
li.mega-menu.menu-item li a{
border-bottom:0px solid #fff;
font-size:16px;
}
ul#top-menu.nav
li.mega-menu.menu-item.menu-item-has-children
ul.sub-menu
li.menu-item.menu-item-has-children
ul.sub-menu li{
line-height:1.1!important;
}
ul#top-menu.nav
li.mega-menu.menu-item.menu-item-has-children
ul.sub-menu
li.menu-item.menu-item-has-children
ul.sub-menu li a{
color:#81AB35!important;
font-weight:600!important;
text-transform:none!important;
margin-left:0px!important;
padding-left:10px!important;  
font-size:16px!important;
}
ul#top-menu.nav
li.mega-menu.menu-item.menu-item-has-children
ul.sub-menu
li.menu-item.menu-item-has-children
ul.sub-menu li a:before{

color:#333;
}

ul#top-menu.nav
li.mega-menu.menu-item.menu-item-has-children
ul.sub-menu
li.menu-item.menu-item-has-children
ul.sub-menu li.bigtext a{
color:#333!important;
font-weight:600!important;
text-transform:uppercase!important;
margin-left:0px!important;
font-size:16px!important;
}
div#et-top-navigation
nav#top-menu-nav
ul#top-menu.nav
li.mega-menu.menu-item.menu-item-has-children
ul.sub-menu
li.menu-item.menu-item-has-children
ul.sub-menu li.bigtext.withborder a{

}
ul#top-menu.nav
li.mega-menu.menu-item.menu-item-has-children
ul.sub-menu
li.menu-item.menu-item-has-children
ul.sub-menu li.bigtext a:before{
display:none!important;
}
/* Search Box   */
.newsearch div#search-5{
min-width:100%!important;
background:none!important;
}
.newsearch div#search-5 form#searchform input#s{
font-size:20px;
padding:3px 5px;
color:#333;
background:#fff!important;
border:1px solid #e5e0c9!important;
border-radius:5px!important;
}
.newsearch div#search-5 form#searchform input#searchsubmit{
background:#e5e0c9!important;
border:0px solid #dbc8b8!important;
color:#222;
font-weight:600;
border-radius:0px 5px 5px 0px!important;
margin-top:1px!important;
}
/*--search in sidebar widget--*/
div#search-4.et_pb_widget.widget_search{
background:none!important;
}
div#search-4 form#searchform input#s{
background:rgba(255,255,255,1.0)!important;
border:1px solid #f5f1df!important;
border-radius:5px!important;
color:#222;
letter-spacing:1px;
}
div#search-4 form#searchform input#searchsubmit{
background:#f5f1df!important;
border:0px solid #f5f1df!important;
color:#222;
text-transform:uppercase!important;
letter-spacing:1px;
font-weight:600;
border-radius:0px 5px 5px 0px!important;
margin-top:1px!important;
}

header#main-header{
box-shadow:none!important;
}
/*--home page---*/

.style_shadow,
.product-category{
  -moz-box-shadow:    1px 1px 1px 2px #dbd5ba;
  -webkit-box-shadow: 1px 1px 1px 2px #dbd5ba;
  box-shadow:         1px 1px 1px 2px #dbd5ba;
}

@media screen and ( max-width: 979px ){
.home .style_shadow{
margin-bottom:30px!important;
}
}

.style_shadow:hover,
.product-category:hover{
 -webkit-box-shadow: 5px 15px 15px rgba(219, 213,186, 1.0) !important;
 -moz-box-shadow: 5px 15px 15px rgba(219, 213,186, 1.0) !important;
 box-shadow: 5px 15px 15px rgba(219, 213,186, 1.0) !important;
 -webkit-transition: all 0.1s linear;
 -o-transition: all 0.1s linear;
 -moz-transition: all 0.1s linear;
 -ms-transition: all 0.1s linear;
 -kthtml-transition: all 0.1s linear;
 transition: all 0.1s linear;
}
 
/* Effect */
.home .et_pb_blurb{
 padding: 33px;
 font-size: 35px;
 position: relative;
 z-index: 1;
 color: #fff !important;
 -webkit-transition: all 0.1s linear;
 -o-transition: all 0.1s linear;
 -moz-transition: all 0.1s linear;
 -ms-transition: all 0.1s linear;
 -kthtml-transition: all 0.1s linear;
}

/*--woocommerce--*/
.woocommerce-result-count {
color:#333!important;  
}
.woocommerce-ordering{
display:none; 
} 
/*--single product---*/

.single-product h1{
text-transform:none!important;
}
.single-product .entry-summary ul li {
list-style:disc;
list-style-position:inside;

}

.single-product .product_meta{
padding-top:5px!important;
padding-bottom:5px!important; 
font-size:13px!important;
letter-spacing:1px!important;
font-weight:600!important;
text-transform:uppercase!important;
color:#282828!important;
border-top:none!important;
line-height:1.3!important;  
}
.single-product .product_meta a{
font-size:13px!important;
letter-spacing:1px!important;
font-weight:600!important;
text-transform:uppercase!important;
color:#87AF3F!important;
border-top:none!important;
padding:0px!important;
}


/*--facebook stream --*/

.fts-jal-fb-group-header-desc{
display:none!important
}
div.fts-jal-fb-header
h1{
display:none!important
}
div.fts-jal-fb-top-wrap
span.fts-jal-fb-user-name{
font-weight:400;
font-size:14px;
}

/*--end facebook stream --*/

/*--product page--*/
.woocommerce-breadcrumb{
font-size:13px!important;
line-height:1.2!important;
letter-spacing:1px!important;
font-weight:600!important;
text-transform:uppercase!important;
color:#282828!important;
margin-bottom:0px!important;
}
.woocommerce-breadcrumb a{
color:#87AF3F!important;
}
.woocommerce-breadcrumb a:hover{
color:#87AF3F!important;
text-decoration:underline!important;
}


div#et-top-navigation
a.et-cart-info{
display:none;
}



/*--table products--*/

.naringstabell table{
font-size:14px;
width:100%;
}
@media screen and ( max-width: 782px ) {
.naringstabell table{
font-size:13px;
}
}
.naringstabell table th{
background:#F5F1DF;
color:#444;
padding:1% 2%;
font-weight:600;
border:1px solid #dae5c5;
line-height:1.4;
}
.naringstabell table td{
background:#fff;
padding:1% 3%;
font-weight:600;
border:1px solid #dae5c5;
line-height:1.3;
}

/*--blog--*/
.post-meta{
font-weight:600;
color:#81AB35;
}
@media only screen and (min-width:481px){
.single-post div.et_post_meta_wrapper img,
.single-post .et_pb_post.post a img,
.news .et_pb_post.post a img{
height: auto!important;
float: right!important;
max-width: 300px!important;
padding-left: 20px;
padding-top:40px;
}
}

/*--sidebar--*/
/*--sidebar general--*/
#main-content .container:before {
width:0!important;
}
.et_pb_widget{
background:#F5F1DF;
padding:10px;
}
.et_pb_widget ul li{
font-size:16px;
line-height:1.5;
letter-spacing:1px;
}
.et_pb_widget ul li a{
color:#111!important;
font-weight:400!important;
}
h4.widgettitle{
text-align:center;
letter-spacing:1px;
font-size:15px;
border-bottom:3px solid #fff;
padding-top:3px;
margin-bottom:20px;

}

/*--footer--*/
p#footer-info{
letter-spacing:1px;
line-height:1.3;
}
p#footer-info
span.websiteby{
font-size:0.75em!important;
}
p#footer-info
span.websiteby a{
color:#888;
}

/*--search result--*/
body.search.search-results
.et_pb_post {
max-width:220px;
min-height:270px;  
float:left;
margin:3%;  
}
body.search.search-results
.et_pb_post p{
display:none;  
}

body.search.search-results .et_pb_post h2 {
font-size:15px;

}
body.search.search-results
.et_pb_post .entry-featured-image-url {
max-width:220px;

}

@media only screen and (max-width:481px){
body.search.search-results
.et_pb_post {
max-width:300px;
min-height:310px;
margin:0 auto!important;
float:none!important;
}
}
/*--shop page--*/
.allproducts_cat .product-category {
background:#fff;  
}
.allproducts_cat .product h2{
text-align:center;
}
.allproducts_cat .product a{
font-size:14px; 
}
.allproducts_cat mark{
background:none;  
}

