/*
 Theme Name:     BDK Child Theme
 Theme URI:      https://www.bording.dk
 Description:    BDK Child Theme
 Author:         Bording Danmark
 Author URI:     https://www.bording.dk
 Template:       Divi
 Version:        1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */
#screenshot {
    width: 1200px;
    height: 900px;
    background: url('screenshot.png') no-repeat center center;
    background-size: cover;
}
/* =Theme Admin customization ends here
------------------------------------------------------- */

/* home page products menu */
.product-menu .et_pb_main_blurb_image{
	margin-bottom: 20px !important;
}
.et-pb-active-slide
.et_pb_slide_description {
  animation-name: fadeInRight;
  animation-duration: 1.0s;
}
.et-pb-active-slide
.et_pb_slide_image, .et-pb-active-slide .et_pb_slide_vide {
  animation-name: fadeIn;
  animation-duration: 1.0s;
}
.product-menu span.et_pb_image_wrap.et_pb_only_image_mode_wrap {
    width: 100% !important;
    height: 65px !important;
}
ul#mobile_menu1 {
    margin-top: 14px;
}
@media (max-width: 480px){
	.product-menu .et_pb_column{
		width: 50% !important;
	}
	ul#mobile_menu1 {
		width: 100% !important;
	}
}
@media (max-width: 980px){
	ul#mobile_menu1 {
    width: 50%;
    right: 0 !important;
    left: auto;
	}
}

body .gform_wrapper h2.gform_title, .gform_description {
    display: none !important;
}
input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
	background:#f7f7f7;border: #f7f7f7;
}
body .gform_wrapper .gform_footer input.button, body .gform_wrapper .gform_footer input[type=submit] {
	color:#000;
	font-size:14px;
	padding-top:6px;
	padding-bottom:6px;
	padding-left:15px;
	padding-right:15px;
	border: 2px solid #FB991A;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	background-color: #fff;
}
	body .gform_wrapper .gform_footer input.button:hover,
	body .gform_wrapper .gform_footer input[type=submit]:hover {
		background-color: #FB991A;
	}

/* remove unwanted description */
.desciption-wrap p, .desciption-wrap h3, .desciption-wrap h4 {display: none !important;}
.desciption-wrap table tbody tr:nth-child(n+7),
.desciption-wrap table tbody tr:nth-child(1) {
	display:none !important;
}
tr, td {border: none !important;}
.entry-content tr td {padding: 6px 8px;}
/* table styling*/
.desciption-wrap table tbody tr td {
	color: #000;
	background-color: #fff;
	border-color: #2B4669!important;
	text-align: left !important;
	text-transform: capitalize !important;
}
.desciption-wrap {padding: 10px; background: #fff;}
.desciption-wrap table {margin: 0px !important;}
/* product styling */
.woocommerce-loop-product__title {text-align: center;}
table.variations > tboby > tr {border: 0 !important;}
.woocommerce ul.products li.product a img, .woocommerce-page ul.products li.product a img {margin: 0px !important;}

.woocommerce ul.products li.product a .woocommerce-loop-product__title::before {content: 'Varenr.: ';font-weight: lighter;}
.product-en .woocommerce ul.products li.product a .woocommerce-loop-product__title::before {content: 'Item no.: ' !important;}
.product-en .woocommerce ul.products li.product a .woocommerce-loop-product__title::before {content: 'Item no.: ' !important;}
body.page-id-681 .woocommerce ul.products li.product a .woocommerce-loop-product__title::before,
body.page-id-903 .woocommerce ul.products li.product a .woocommerce-loop-product__title::before {content: none !important;}


body.lang-da .woocommerce-variation.single_variation .woocommerce-variation-description::before {content: 'Varenr. for farve: ';font-size: 30px; line-height:32px;color:#2b4669;}
body.lang-en .woocommerce-variation.single_variation .woocommerce-variation-description::before {content: 'Item no. for color: ';font-size: 30px; line-height:32px;color:#2b4669;}

/* fjerne description fra uønskede sider */
body.page-id-704 .desciption-wrap,
body.page-id-694 .desciption-wrap,
body.page-id-699 .desciption-wrap,
body.page-id-681 .desciption-wrap,
body.page-id-582 .desciption-wrap,
body.page-id-1114 .desciption-wrap,
body.page-id-903 .desciption-wrap,
body.page-id-882 .desciption-wrap,
body.page-id-923 .desciption-wrap,
body.page-id-916 .desciption-wrap {display: none !important;}

@media screen and (max-width: 650px) {
    #page-container #main-content .woocommerce .product {
        width: 100%!important;
    }
}

body.single-product .et_pb_wc_description tr, 
body.single-product .et_pb_wc_description td {border-top: 1px solid rgb(158 158 158 / 34%) !important; padding: 6px 24px;}
body.et_divi_theme.et-tb-footer-disabled {padding: 0px !important;}

/* Custom menu style */
.open-submenu-floats a::before,
.open-submenu-bobbin a::before,
.open-submenu-basket a::before,
.open-submenu-codendring a::before,
.open-submenu-spinner a::before,
.open-submenu-netnedless a::before,
.open-submenu-danfender a::before
{
    display: block;
    text-align: center;
    height: 35px;
    margin: 10px 0px;
}
.open-submenu-floats a::before{
	content: url("/wp-content/uploads/2023/11/floats.png");
}
.open-submenu-bobbin a::before{
	content: url("/wp-content/uploads/2023/11/bobbins.png");
}
.open-submenu-basket a::before{
	content: url("/wp-content/uploads/2023/11/baskets.png");
}
.open-submenu-codendring a::before{
	content: url("/wp-content/uploads/2023/11/rings.png");
}
.open-submenu-spinner a::before{
	content: url("/wp-content/uploads/2023/11/spinners.png");
}
.open-submenu-netnedless a::before {
	content: url("/wp-content/uploads/2023/11/net-needles.png");
}
.open-submenu-danfender a::before {
	content: url("/wp-content/uploads/2023/11/danfender.png");
}

li.open-submenu-floats.current-menu-item.current_page_item,
li.open-submenu-bobbin.current-menu-item.current_page_item,
li.open-submenu-basket.current-menu-item.current_page_item,
li.open-submenu-codendring.current-menu-item.current_page_item,
li.open-submenu-spinner.current-menu-item.current_page_item,
li.open-submenu-netnedless.current-menu-item.current_page_item,
li.open-submenu-danfender.current-menu-item.current_page_item
{
    background-color: #90AAD3;
	padding: 0px 20px;
}
.open-submenu-floats,
.open-submenu-bobbin,
.open-submenu-basket,
.open-submenu-codendring,
.open-submenu-spinner,
.open-submenu-netnedless, 
.open-submenu-danfender
{
	padding: 0px 20px !important;
}
/* submenu show-hide */ 
.submenu-inactive{
	display:none !important;
}
.submenu-bg {
	background-color: #90AAD3 !important;
}

/* end */
