/*shop product*/
.shop-main{
    .woof{
        width:100%;
        padding-left:0;
        padding-right:0;
        margin-bottom:30px;
        padding: 0;
        .woof_redraw_zone{
            width:100%;
            font-size: 14px;
            .woof_container{
                display: inline-block;
                width: 50% !important;
                padding-left:15px;
                padding-right:15px;
                margin-bottom:15px;
                @media (max-width:1199px){
                    width:100% !important;
                }
                .woof_container_inner{
                    background:#f7f7f7;
                    padding: 10px 15px;
                    .woof_list,
                    .woof_childs_list{
                        padding-left:0;
                    }
                    .woof_list{
                        li{
                            padding-bottom:0 !important;
                            label{
                                padding-top:6px;
                                padding-bottom:6px;
                                text-transform: capitalize;
                            }
                        }
                    }
                    .woof_childs_list{
                        margin-right:15px !important;
                        margin-top:0 !important;
                    }
                    .chosen-container{
                        width:100% !important;
                        .chosen-drop {
                            .chosen-results{
                                .highlighted{
                                    background-image:none;
                                }
                            }
                        }
                    }
                }
                > .woof_container_inner{
                    &::-webkit-scrollbar {
                        width: 5px;
                    }
                    &::-webkit-scrollbar-track {
                        box-shadow: inset 0 0 5px #e4e4e4; 
                        border-radius: 5px;
                    }
                    &::-webkit-scrollbar-thumb {
                        background: #bebebe; 
                        border-radius: 5px;
                    }
                    &::-webkit-scrollbar-thumb:hover {
                        background: #dddddd; 
                    }
                }
                input{
                    vertical-align: middle;
                    white-space: normal;
                    &.woof_add_query_save{
                        padding:5px;
                        &:hover{
                            color:#fff;
                        }
                    }
                    &#woof_add_subscr{
                        &:hover{
                            color:#fff;
                        }
                    }
                }
                img{
                    vertical-align: middle;
                }
                .woof_query_save_list,
                .woof_subscr_list{
                    ul{
                        padding-left:0;
                    }
                }
                .woof_subscr_list{
                    .woof_tooltip{
                        display:none;
                        vertical-align: middle;
                        .woof_icon_subscr{
                            background-image:none;
                            text-align: center;
                            &:after{
                                content:'\e808';
                                font-family: 'fontello';
                            }
                        }
                        .woof_tooltip_data{
                            white-space: nowrap;
                            padding:5px;
                            left:50%;
                            transform: translateX(-50%);
                        }
                        &:hover{
                            .woof_tooltip_data{
                                margin-left:0;
                            }
                        }
                    }
                    .woof_remove_subscr{
                        img{
                            display: none;
                        }
                        &:after{
                            content:'\ea0d';
                            font-family: 'fontello';
                        }
                    }
                }
                .woof_query_save_list{
                    .woof_tooltip{
                        display:none;
                        .woof_icon_save_query{
                            background-image: none;
                            font-size:16px;
                            font-weight:bold;
                            vertical-align: inherit;
                            &:after{
                                content:'\e812';
                                font-family: 'fontello';
                            }
                        }
                        .woof_tooltip_data{
                            white-space: nowrap;
                            padding:5px;
                            left:50%;
                            transform: translateX(-50%);
                        }
                        &:hover{
                            .woof_tooltip_data{
                                margin-left:0;
                            }
                        }
                    }
                    .woof_remove_query_save{
                        img{
                            display: none;
                        }
                        &:after{
                            content:'\ea0d';
                            font-family: 'fontello';
                        }
                    }
                }
                &.woof_container_product_cat{
                    ul{
                        padding-top:2px;
                        li{
                            display: block;
                            overflow: hidden;
                            padding-bottom:0 !important;
                            label{
                                padding-top:6px;
                                padding-bottom:6px; 
                                text-transform: capitalize;
                            }
                        }
                    }
                }
                &.woof_container_image{
                    .woof_tooltip{
                        display: inline-block;
                        margin-bottom:0;
                        span.checkbox{
                            width: 50px;
                            height:50px;
                            margin: 0 3px 3px 0;
                            background-size: 100% 100%;
                            background-clip: content-box;
                            border: 2px solid #e2e6e7;
                            padding: 2px;
                            color: #292f38;
                            font-size: 0;
                            text-align: center;
                            cursor: pointer;
                            border-radius: 5px;
                            transition: border-color .35s ease;
                        }
                        .woof_tooltip_data{
                            top: 0;
                            bottom: auto;
                            max-width:none;
                            min-width:auto;
                            padding: 3px 8px;
                            font-size:14px;
                            border-radius: 5px;
                            white-space: nowrap;
                            left:50%;
                            transform: translateX(-50%);
                            margin-left:0;
                        }
                    }
                }
                &.woof_price_filter{
                    span.irs-with-grid{
                        span.irs-slider{
                            border: 1px solid rgb(153, 164, 172);
                            background: rgb(255, 255, 255);
                            border-radius: 30px;
                            &:after{
                                content: '';
                                position: absolute;
                                width: 8px;
                                height: 8px;
                                left: 50%;
                                background-color: rgb(153, 164, 172);
                                border-radius: 30px;
                                top: 50%;
                                transform: translateX(-50%) translateY(-50%);
                            }
                        }
                    }
                    .woof_checkbox_authors_container {
                        .woof_container_inner{
                            padding:0;
                            .woof_authors {
                                padding-left:0;
                            }
                        }
                    }
                    >.woof_container_inner{
                        overflow-x:visible !important;
                        .price_slider_amount{
                            overflow:hidden;
                        }
                        .woof_price_filter_txt_container{
                            display: flex;
                            justify-content: space-between;
                            input{
                                width: calc(50% - (0.5 * 30px)) !important;
                                border-style: dashed;
                                background: #f7f7f7;
                                padding-left: 10px;
                            }	
                        }
                        .woof_list{
                            .woof_radio_price_reset{
                                vertical-align: middle;
                                img{
                                    display: none;
                                }
                                &:after{
                                    content:'\ea0d';
                                    font-family:'fontello';
                                    font-size:15px;
                                }
                            }
                        }
                    }
                }
                &.woof_products_messenger_container{
                    input{
                        line-height: 24px;
                        padding:10px;
                    }
                }
                &.woof_author_search_container,
                &.woof_container_select,
                &.woof_container_mselect,
                &.woof_container_select_hierarchy,
                &.woof_container_select_radio_check,
                &.woof_by_rating_container{
                    .woof_container_inner{
                        overflow: visible !important;
                    }
                }
                &.woof_author_search_container{
                    .woof_container{
                        top:auto !important;
                        left:0 !important;
                        width:100% !important;
                        .woof_container_inner{
                            padding-top:0;
                            ul.woof_authors {
                                padding-left:0;
                                li{
                                    margin-top:0;
                                    label{
                                        padding-top:6px;
                                        padding-bottom:6px;
                                        text-transform: capitalize;
                                    }
                                }
                            }
                        }
                    }
                }
                &.woof_container_label{
                    ul.woof_list{
                        li{
                            position: relative;
                            span{
                                &.checkbox{
                                    width: auto;
                                    min-width: 35px;
                                }
                                &.woof_label_count{
                                    right:0;
                                }
                            }
                        }
                    }
                }
                &.woof_container_slider{
                    span.irs-with-grid{
                        span.irs-slider{
                            border: 1px solid rgb(153, 164, 172);
                            background: rgb(255, 255, 255);
                            border-radius: 30px;
                            &:after{
                                content: '';
                                position: absolute;
                                width: 8px;
                                height: 8px;
                                left: 50%;
                                background-color: rgb(153, 164, 172);
                                border-radius: 30px;
                                top: 50%;
                                transform: translateX(-50%) translateY(-50%);
                            }
                        }
                    }
                }
                &.woof_container_color{
                    .woof_tooltip{
                        .woof_color_term{
                            border-style:solid;
                        }
                    }
                }
                .woof_sku_search_go,
                .woof_text_search_go{
                    background-image:none !important;
                    top:7px;
                    &:after{
                        content:'\e812';
                        font-family: 'fontello';
                        font-weight: bold;
                    }
                }
            }
            .woof_submit_search_form_container{
                padding-left:15px;
                button:last-child{
                    margin-right:15px;
                }
            }
        }
        .woof_list{
			span{
				&.woof_is_closed{
					background:none;
					&:after{
						content:'\e80b';
						font-family: 'fontello';
					}
				}
				&.woof_is_opened{
					background:none;
					&:after{
						content:'\e80c';
						font-family: 'fontello';
					}
				}
			}
			a{
				&.woof_radio_term_reset{
					float:right;
					margin-top:5px;
					&:after{
						content:'\ea0d';
						font-family: 'fontello';
						font-size: 12px;
					}
					img{
						display: none;
					}
				}
				&.woof_childs_list_opener{
					margin-top:6px;
                    float:right;
                    text-align: right;
				}
			}
        }
        .woof_edit_view{
            display: none;
        }
        .chosen-single{
			border-radius:2px;
			box-shadow: none;
			background-image:none;
			background-color:#fff;
			span{
				font-size:13px;
				text-transform: capitalize;
			}
		}
    } 
    .woof_products_top_panel{
        ul{
            overflow: hidden;
            border-radius:5px;
            border:1px dashed #aaa;
            display: inline-block;
            li{
                margin:10px !important;
                a{
                    display: block;
                    padding: 0 10px;
                    color: #fff;
                    border-radius:3px;
                    span{
                        background-image:none;
                        padding-right:0;
                        &:after{
                            content:'\ea0d';
                            font-family: 'fontello';
                            margin-left: 10px;
                        }
                    }
                }
            }
        }
    }
    .woocommerce.woof_shortcode_output{
        width: 100%;
        #woof_results_by_ajax{
            width: 100%;
            .woocommerce-result-count{
                float:left;     
                opacity: 0;
            }
            .woocommerce-ordering{
                float:right;
                margin-bottom:30px;
            }
        }
        .products{
            clear:both;
        }
    }
    > .woof_sid_auto_shortcode{
        border-radius:5px;
        border-style: dashed;
        border-width: 0;

        &.hide_filter {
            visibility: hidden;
            opacity: 0;
            height: 0;
            margin: 0;
            padding: 0;
            overflow: hidden;
            // transition: all 0.5s;
        }
        &.show_filter {
            height: 100%;
            transition: all 0.5s;
            position: fixed;
            top: 0;
            z-index: 99999999;
            left: 0;
            overflow: scroll;
        }

        .filter_bar_header {
            display: flex;
            padding: 15px;
        }

        .filter_bar_header span {
            flex: 0 0 50%;
            max-width: 50%;

            &.filter_bar_title {
                font-weight: bold;
                font-size: 20px;
            }

            &.filter_bar_close_btn {
                text-align: right;
                cursor: pointer;

                &:after {
                    content: '\a907';
                    font-family: fontello;
                    margin-left: 10px;
                }
            }
        }
    }
    .woof_filter_button_wrap {
        display: block;
        text-align: right;
        margin-bottom: 30px;

        span {
            width: 200px;
            height: 40px;
            line-height: 36px;
            text-align: center;
            cursor: pointer;

            &:before {
                content: '\a906';
                font-family: 'fontello';
                margin-right: 10px;
            }
        }
    }

    @include media-breakpoint-up(lg){
        .woof_filter_button_wrap {
            display: none;
        }
    }
}


/* woof widget */

.widget.WOOF_Widget{
	h3.widget-title{
		padding-bottom: 15px;
		margin-bottom: 20px;
	}
	.woof{
		h4{
			text-transform: capitalize;
		}
		ul{
			li{
				border-bottom:none;
				margin-top:0;
				margin-bottom:0;
				padding-top:0;
				padding-bottom:0;
				label{
					padding-top:8px;
					padding-bottom:8px;
				}
				input[type=\"checkbox\"]{
					margin-bottom:5px;
				}
			}
		}
		.chosen-single{
			border-radius:2px;
			box-shadow: none;
			background-image:none;
			background-color:#fff;
			span{
				font-size:13px;
				text-transform: capitalize;
			}
		}
		.woof_price_filter{
			span.irs-with-grid{
				span.irs-slider{
					border: 1px solid rgb(153, 164, 172);
					background: rgb(255, 255, 255);
					border-radius: 30px;
					&:after{
						content: '';
						position: absolute;
						width: 8px;
						height: 8px;
						left: 50%;
						background-color: rgb(153, 164, 172);
						border-radius: 30px;
						top: 50%;
						transform: translateX(-50%) translateY(-50%);
					}
				}
			}
			.woof_authors {
				.woof_list{
					margin-bottom: 0;
				}
			}
			.woof_price_filter_txt_container{
				display: flex;
				justify-content: space-between;
				input{
					width: calc(50% - (0.5 * 30px)) !important;
					border-style: dashed;
					background: #f7f7f7;
					padding-left: 10px;
				}	
			}
			.woof_list{
				.woof_radio_price_reset{
					vertical-align: middle;
					img{
						display: none;
					}
					&:after{
						content:'\ea0d';
						font-family:'fontello';
						font-size:15px;
					}
				}
			}
		}
		.woof_container{
			padding-top:5px;
			margin-bottom:9px;
			&:not(:first-of-type){
				background-color:#f7f7f7;
				padding-left:10px;
				padding-right:10px;
				.woof_list{
					li{
						padding-bottom: 0 !important;
						border-bottom :none;
						.woof_childs_list{
							margin-top:0 !important;
							margin-right: 15px !important;
							border-top: 1px solid #e6e6e6;
						}
					}
					.woof_childs_list_opener {
						span:hover{
							background-size: auto;
						}
					}
					.woof_radio_term_reset{
						img{
							vertical-align: middle;
						}
					}
				}
				.chosen-container{
					width:100% !important;
					.chosen-choices{
						padding-top:2px;
						border-radius:2px;
                    }
                    .chosen-drop{
                        .chosen-results{
                            .active-result{
                                padding:7px;
                            }
                            .highlighted{
                                background-image:none;
                            }
                        }
                    }
				}
			}
			&.woof_container_image{
				.woof_tooltip{
					display: inline-block;
					margin-bottom:0;
					span.checkbox{
						width: 50px;
						height:50px;
						margin: 0 3px 3px 0;
						background-size: 100% 100%;
						background-clip: content-box;
						border: 2px solid #e2e6e7;
						padding: 2px;
						color: #292f38;
						font-size: 0;
						text-align: center;
						cursor: pointer;
						border-radius: 5px;
						transition: border-color .35s ease;
					}
					.woof_tooltip_data{
						top: 0;
						bottom: auto;
						max-width:none;
						min-width:auto;
						padding: 3px 8px;
						font-size:14px;
						border-radius: 5px;
						white-space: nowrap;
						left:50%;
						transform: translateX(-50%);
						margin-left:0;
					}
				}
			}
			&.woof_price5_search_container{
				.woof_authors {
					margin-top:0;
					margin-bottom:0;
				}
			}
			&.woof_container_label{
				ul.woof_list{
					li{
						position: relative;
						span{
							&.checkbox{
                                width:auto;
                                min-width:35px;
							}
							&.woof_label_count{
								right:0;
							}
						}
					}
				}
			}
			&.woof_container_slider{
				span.irs-with-grid{
					span.irs-slider{
						border: 1px solid rgb(153, 164, 172);
						background: rgb(255, 255, 255);
						border-radius: 30px;
						&:after{
							content: '';
							position: absolute;
							width: 8px;
							height: 8px;
							left: 50%;
							background-color: rgb(153, 164, 172);
							border-radius: 30px;
							top: 50%;
							transform: translateX(-50%) translateY(-50%);
						}
					}
				}
			}
			&.woof_author_search_container{
				.woof_container{
					padding-top:0;
					margin-bottom:0;
					padding-bottom:0;
				}
			}
			&.woof_container_mselect{
				.woof_container_inner{
					.chosen-container{
						ul.chosen-choices{
							li{
								&.search-choice{
									margin: 3px 0 3px 5px;
									padding: 3px 20px 3px 5px;
									border: 1px solid #aaa;
								}
							}
						}
						.chosen-drop{
							ul.chosen-results{
								li{
									padding: 5px 6px;
								}
							}
						}
					}
				}
            }
            &.woof_container_color{
                .woof_tooltip{
                    .woof_color_term{
                        border-style:solid;
                    }
                }
            }
            &.woof_by_rating_container{
                .woof_container_inner{
                    .chosen-results{
                        li{
                            padding: 5px 6px;
                            border-bottom:1px solid;
                        }
                    }
                }
            }
			input{
				vertical-align: middle;
				&.woof_add_query_save{
					padding:5px;
				}
			}
			.woof_add_subscr_cont{
				#woof_add_subscr{
					padding:10px;
					white-space: normal;
				}
			}
			.woof_sku_search_go,
			.woof_text_search_go{
				background-image:none !important;
				top:7px;
				&:after{
					content:'\e812';
					font-family: 'fontello';
					font-weight: bold;
				}
			}
			label{
				font-size:14px;
				text-transform: capitalize;
			}
			.woof_subscr_list{
				.woof_tooltip{
					display:none;
					vertical-align: middle;
					.woof_icon_subscr{
						background-image:none;
						text-align: center;
						&:after{
							content:'\e808';
							font-family: 'fontello';
						}
					}
					.woof_tooltip_data{
						white-space: nowrap;
						padding:5px;
						left:50%;
						transform: translateX(-50%);
					}
					&:hover{
						.woof_tooltip_data{
							margin-left:0;
						}
					}
				}
				.woof_remove_subscr{
					img{
						display: none;
					}
					&:after{
						content:'\ea0d';
						font-family: 'fontello';
					}
				}
			}
			.woof_query_save_list{
				.woof_tooltip{
					display:none;
					.woof_icon_save_query{
						background-image: none;
						font-size:16px;
						font-weight:bold;
						vertical-align: inherit;
						&:after{
							content:'\e812';
							font-family: 'fontello';
						}
					}
					.woof_tooltip_data{
						white-space: nowrap;
						padding:5px;
						left:50%;
						transform: translateX(-50%);
					}
					&:hover{
						.woof_tooltip_data{
							margin-left:0;
						}
					}
				}
				.woof_remove_query_save{
					img{
						display: none;
					}
					&:after{
						content:'\ea0d';
						font-family: 'fontello';
					}
				}
			}
		}
		.woof_submit_search_form_container{
			.woof_submit_search_form{
				margin-right:15px;
			}
			button{
				display: block;
                padding:5px;
                width:100%;
            }
            .woof_reset_search_form {
                margin-bottom: 15px;
            }
		}
		.woof_list{
			span{
				&.woof_is_closed{
					background:none;
					&:after{
						content:'\e80b';
						font-family: 'fontello';
					}
				}
				&.woof_is_opened{
					background:none;
					&:after{
						content:'\e80c';
						font-family: 'fontello';
					}
				}
			}
			a{
				&.woof_radio_term_reset{
					float:right;
					margin-top:5px;
					&:after{
						content:'\ea0d';
						font-family: 'fontello';
						font-size: 12px;
					}
					img{
						display: none;
					}
				}
				&.woof_childs_list_opener{
					margin-top:7px;
					float:right;
				}
			}
		}
		#woof_add_subscr:hover,
		input.woof_add_query_save:hover{
			color:#fff;
		}
	}
}
#woof_add_subscr,
input.woof_add_query_save,
.woof_list_label li .woof_label_term{
	background-color:#fff;
}

@include media-breakpoint-down(md){
    .widget.WOOF_Widget {
        display: none;
    }
}

html.no_scroll {
    overflow: hidden;
    height: 100%;
}