/*
 Theme Name:   Kogovsek Trzin
 Description:  Woodmart Child Theme
 Author:       Davor Dragic
 Author URI:   http://200.si
 Template:     woodmart
 Version:      2.1.1
 Text Domain:  woodmart
*/

.blog-design-meta-image .wd-meta-author {
    display: none;
}

.woocommerce-mini-cart__buttons.buttons .btn-cart,
.cart-totals-inner .shipping-calculator-form .button {
    color: var(--wd-text-color);
}

.whb-main-header .wd-header-html {
    width: 100%;
}

.whb-main-header .searchform input[type=text] {
    max-width: 200px;
    min-width: 150px;
    border-radius: 50px;
}

.custom-query-maker {
    display: flex;
    align-items: center;
    width: 100%;
}

@media only screen and (max-width: 767px)
{
    .custom-maker-text {
        display: none;
    }
}

.custom-maker-text {
    white-space: nowrap;
}

.custom-maker-form {
    position: relative;
    display: flex;
    width: 100%;
    overflow: hidden;
}

.custom-maker-form.loading::after {
    content: '';
    display: block;
    position: absolute;
    left: -100%;
    top: 0;
    height: 100%;
    width: 50%;
    background: linear-gradient(to right, rgba(48, 43, 43, 0.2), rgba(48, 43, 43, 0.4), rgba(48, 43, 43, 0.2));
    animation: load 1.5s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
    border-radius: 100px;
}

@keyframes load {
    from {
        left: -150px;
    }
    to   {
        left: 100%;
    }
}

.custom-query-maker div {
    flex-grow: 1;
    margin-left: 5px;
    margin-right: 5px;
}

.custom-query-maker select {
    border-radius: 25px;
    background-color: white;
    color: var(--e-global-color-secondary);
}

@media only screen and (max-width: 767px) {
    .custom-query-maker {
        flex-direction: column;
    }

    .custom-query-maker div {
    }
}

.wp-caption .wp-caption-text, .wp-caption-dd {
    margin-top: -40px;
    position: absolute;
    width: 100%;
}

.tabs-layout-accordion .wd-scroll-content {
    max-height: 500px;
}

/**
 * Out Of Stock Inqury
 */
.woo-product-out-of-stock-inquiry {
    border-radius: var(--btn-shop-brd-radius);
    color: var(--btn-accented-color);
    box-shadow: var(--btn-accented-box-shadow);
    background-color: var(--btn-accented-bgcolor);
    cursor: pointer;
}
.woo-product-out-of-stock-inquiry:hover {
    color: var(--btn-accented-color-hover);
    box-shadow: var(--btn-accented-box-shadow-hover);
    background-color: var(--btn-accented-bgcolor-hover);
}

.woo-product-out-of-stock-inquiry > p {
    margin-bottom: 0px;
}

.woo-product-ofs-form {
    display: none;
    padding-bottom: 20px;
    margin: 20px;
}

.woo-product-ofs-form input[type=number],
.woo-product-ofs-form input[type=text],
.woo-product-ofs-form input[type=tel],
.woo-product-ofs-form input[type=email] {
    margin: 5px 0;
    padding: 0 15px;
    border: 1px solid var(--wd-form-brd-color);
    text-align: left;
}

.hidden-fields-container {
	display: none;
}

/**
 * Bundle products
 */
.bundle_form {
	.bundled_product_summary {
		padding-bottom: 10px !important;
    	margin-bottom: 10px !important;
	}
	
	.bundled_product_title {
		font-size: 20px !important;
    	margin-bottom: 5px !important;
	}
}

/**
 * WooCommerce badges
 */
span.out-of-stock.product-label,
span.new.product-label{
    display: none !important;
}

/**
 * Header
 */
.wd-header-html p {
    margin: 0;
}

@media (min-width: 1025px) {
    .whb-main-header .whb-top-bar-inner {
        height: auto;
        max-height: 100%;
        padding: 5px 0;
    }  
}

@media (max-width: 1024px) {
    .whb-main-header .whb-top-bar-inner {
        height: auto;
        max-height: 100%;
        padding: 2px 0;
    }  
}

/**
 * Cookies
 */
.moove-gdpr-branding-cnt {
    display: none;
}

/**
 * Električni vitli
 */
.text-padding-left-15 .wp-caption .wp-caption-text {
    padding-left: 15px;
}

/**
 * ContactForm7 error styles
 */
span .wpcf7-not-valid {
    border: 1px solid #ff0000 !important;
}

span.wpcf7-not-valid-tip {
    display: none;
}

div.wpcf7-validation-errors {
    background: #ffe2e2;
    border: 1px solid #ff0000;
    color: #C10000;
}

div.wpcf7-response-output {
    margin: 2em 0;
    border-radius: 5px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;	
}

div.wpcf7-validation-errors {
    display: none !important;
}

.wpcf7-spam-blocked {
    background: #e2e2e2;
    border: 1px solid #bcbcbc !important;
    color: #383838;
}

.wpcf7-mail-sent-ng {
    background: #fcf8e3;
    border: 1px solid #ac9163 !important;
    color: #8a6d3b;
}

.wpcf7-mail-sent-ok {
    background: #dff0d8;
    border: 1px solid #3c763d !important;
    color: #3c763d;
}

/* fix */
div.wpcf7-response-output {
	display: none;
}

form:is(.sent,.invalid,.unaccepted,.spam,.failed,.aborted) div.wpcf7-response-output {
    display: block;
}

/**
 * Force Remove background
 */
.page .main-page-wrapper, 
.woodmart-archive-shop .main-page-wrapper,
.single-product .main-page-wrapper,
.woodmart-archive-blog .main-page-wrapper,
.single-post .main-page-wrapper {
	background-image: none !important;
}

/**
 * reCAPTCHA (v3) hide badge
 */
.grecaptcha-badge {
    visibility: hidden;
}

/**
 * GTranslate dropdown menu
 */
 @media (min-width: 1025px) {
    .dropdown-menu.sub-menu {
        overflow: hidden;
        /* display: none; */
        position: absolute;
        list-style: none;
        padding-left: 0;
        visibility: hidden;
    }
    
    .dropdown-menu.sub-menu.active {
        visibility: visible;
    }
 }

/**
 * WooCommerce widgets
 */
.woocommerce {
	.sidebar-container {
		.widget-area #block-16 {
			.woodmart-woocommerce-layered-nav:nth-child(2) {
				.widgettitle {
					color: white;
					background-color: rgba(48, 43, 43, 1);
					padding: 5px 10px;
					margin-bottom: 0px;
				}
				
				.wd-scroll {
					background-color: rgba(186, 191, 194, 1);
					padding: 5px 10px;
					
					.wd-scroll-content {
						max-height: 100%;
					}
					
					a {
						color: white;
					}
					
					.count {
						border-color: white;
						color: white;
					}
				}
			}
		}
	}
}

/**
 * CF7 multifile
 */
.codedropz-upload-handler {
	.codedropz-upload-container {
		padding: 0px;
	}
	
	.codedropz-upload-inner {
		h3, span, div {
			display: inline-block;
			font-size: 15px;
            font-weight: normal;
		}
	}
}

/**
 * Blog
 */
.wd-meta-author,
.wd-post-reply {
	display: none !important;
}