/*
 Theme Name:     Divi Child Theme
 Theme URI:      https://hypmarketing.dk
 Description:    Divi Child Theme
 Author:         Jacob Juul
 Author URI:     
 Template:       Divi
 Version:        1.0.0
*/
 
@import url("../Divi/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */

img#logo {
    padding: 22px;
    background-color: #30520F;
    position: absolute;
    transition: none;
    -webkit-transition: none;
}

p {
    font-weight: 400;
}

h2 {
    padding-bottom: 25px;
}

.hyp_ekstra_bold {
    font-weight: 900;
}

.et_pb_button {
    min-width: 300px;
    text-align: center;
    padding: 12px 50px;
    font-weight: 300;
}

.et_pb_button:hover {
    padding: 12px 50px !important;
	background-color: #3d6615 !important;
}

.et_pb_scroll_top.et-pb-icon {
    background: #31540f;
}

.hyp_breadcrumbs {
    font-size: 11px;
    font-weight: 600;
}

#hyp_top_search {
	width: 300px;
    float: right;
    top: -15px;
    position: relative;
	margin-left: 25px;
}

#main-header .nav li ul {
    background-color: #30520f;
}

#main-header .nav li ul, .et-search-form, #main-header .et_mobile_menu {
    background-color: rgb(48 82 15) !important;
}

#main-header .nav li ul a {
    color: #FFF !important;
}

#top-menu li.mega-menu>ul {
    top: 104px;
}

.et-fixed-header #top-menu li.mega-menu>ul {
    top: auto;
}

#top-menu li.mega-menu>ul>li>a:first-child {
    font-weight: 200;
}


/* WooCommerce */

.hyp_product_categories .product-category.product {
    height: 420px;
}

.hyp_product_categories .product-category.product a {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.hyp_product_categories h2.woocommerce-loop-category__title {
    position: absolute;
}

.hyp_product_categories .product-category.product img {
    height: 100% !important;
    object-fit: cover;
}

.hyp_product_categories .woocommerce ul.products li.product a img, .hyp_product_categories .woocommerce-page ul.products li.product a img {
	margin-bottom: 0px !important;
}

li.product.type-product {
    background-color: #F9F9F9;
}

li.product.type-product h2.woocommerce-loop-product__title {
    padding: 15px 25px !important;
}

a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    height: 375px;
    display: block;
}

.product .related h2 {
    padding-bottom: 65px;
}

li.product.type-product, a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    min-height: 450px !important;
}

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

.woocommerce-LoopProduct-link .price {
    padding-bottom: 30px;
}

h2.woocommerce-loop-product__title {
    min-height: 75px;
}

.hyp_product_categories .product-category.product a:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #30520f91;
}

.hyp_product_categories h2 {
    color: white;
}

.woocommerce-loop-category__title mark.count {
    background-color: transparent;
    color: white;
}

.wfpTitle {
    font-size: 13px !important;
}

button.wpfFilterButton.wpfButton {
    font-size: 13px;
}

#wpfBlock_1, #wpfBlock_2 {
    background-color: #F8F8F8;
    padding: 25px;
    border-radius: 3px;
	margin-bottom: 20px;
	color: #30520F;
}

.wpfFilterTaxNameWrapper {
    font-size: 13px !important;
	margin-left: 0px;
}

.hyp_stand {
	background-color: #30520f;
    color: white;
    padding: 5px 25px;
    font-size: 14px;
    position: absolute;
    top: -37px;
}

.woocommerce form .form-row input.input-text {
	color: #30520f;
}

.woocommerce span.onsale, .woocommerce-page span.onsale {
    z-index: 2;
    background: #30520f !important;
    border-radius: 3px !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    color: #fff;
    font-size: 14px;
    font-weight: 500 !important;
    left: 10px !important;
    line-height: inherit !important;
    margin: 0 !important;
    min-height: 0 !important;
    min-width: 0 !important;
    padding: 6px 18px !important;
    position: absolute;
    text-shadow: none !important;
    top: 0px !important;
}

.woocommerce ul.products li.product .onsale, .woocommerce-page ul.products li.product .onsale {
	left: 0px !important;
}

span.price {
    display: flex !important;
    flex-direction: column;
}

small.woocommerce-price-suffix {
    font-size: 12px;
    color: black;
    font-weight: 400;
}



/* CF7 Kontaktformular */

.hyp_size_50 {
    width: 48%;
    margin-bottom: 20px;
}

.hyp_size_50.hyp_left {
    float: left;
}

.hyp_size_50.hyp_right {
    float: right;
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required, textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required, input.wpcf7-form-control.wpcf7-number {
    -webkit-appearance: none;
    background-color: #eee;
    width: 100%;
    border-width: 0;
    border-radius: 0;
    color: #999;
    font-size: 14px;
    padding: 16px;
}

input.wpcf7-form-control.wpcf7-submit {
    min-width: 250px;
    text-align: center;
    padding: 14px 25px;
    float: right;
    cursor: pointer;
    color: white;
    background-color: #30520f;
    font-size: 14px;
    line-height: 1.7em;
	border: none;
}

input.wpcf7-form-control.wpcf7-submit:hover {
    background-color: #3d6615;
    color: white;
}


/* Tablet */

@media only screen and (max-width: 850px) {
	img#logo {
    	padding: 20px;
	}
	
	#logo {
    	max-height: none;
	}
	
	.et_pb_svg_logo #logo {
		height: 125px;
	}
	
	.et_header_style_left #et-top-navigation .mobile_menu_bar {
		padding-bottom: 0px;
		background-color: #30520f;
	}
	
	.et_pb_button, input.wpcf7-form-control.wpcf7-submit {
		width: 100%;
	}
	
	.hyp_size_50 {
		margin-bottom: 5px;
	}
	
	input.wpcf7-form-control.wpcf7-submit {
    	min-width: 150px;
	}
	
	.hyp_size_50 {
		width: 100%;
	}
	
	.hyp_left, .hyp_right {
		float: none;
	}
	
	.hyp_size_50.hyp_right {
		margin-bottom: 25px;
	}
	
	.et_pb_map {
		height: 450px !important;
	}
	
	.mobile_menu_bar:before {
		color: white !important;
	}
	
	#mobile_menu {
		background-color: #30520F !important;
	}
	
	.woocommerce-page ul.products li.product:nth-child(n) {
		margin: 0 2% 2% 0!important;
		width: 48%!important;
		clear: none;
		float: left !important;
	}
	
	.et_header_style_left .et-fixed-header #et-top-navigation, .et_header_style_left #et-top-navigation {
    	display: flex;
	}
	
	#hyp_top_search {
		top: -6px;
		margin-right: 25px;
	}
	
}


/* Mobil */

@media only screen and (max-width: 450px) {

	.et_pb_svg_logo #logo {
		height: 90px;
	}
	
	img#logo {
    	padding: 10px;
	}
	
	li.product.type-product, a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
		min-height: 250px !important;
	}
	
	.hyp_product_categories ul.products li.product:nth-child(n) {
		margin: 0 0 2% 0!important;
		width: 100%!important;
	}
	
	#hyp_top_search {
		position: absolute;
		top: 105px;
		margin-right: 0px;
		margin-left: 0px;
		width: 100%;
		left: 0px;
	}
	
}