.widget {
	margin: 0 0 30px;
	&:first-of-type {
		padding-top: 0;
	}
    .widget-title {
    	margin-top: 0;
	    border-bottom: 1px solid;
	    padding-bottom: 15px;
	    margin-bottom: 20px;
		position: relative;
		text-transform: uppercase;
		font-size: 20px;
	    &:before {
	    	width: 60px;
		    height: 3px;
		    content: '';
		    position: absolute;
		    bottom: -1px;
	    }
    }

	/* Make sure select elements fit in widgets. */
	select {
		max-width: 100%;
	}
	ul {
		list-style-type: none;
		padding-left: 0;
		> li {
			&:not(:last-of-type) {
				border-bottom: 1px solid;
			}
			> a {
				display: inline-block;
			}
		}
		.children {
			padding-left: 15px;
		}
		li {
			margin-bottom: 10px;
			padding-top: 8px;
			padding-bottom: 8px
		}
	}
	tbody th, tbody td {
		border-bottom: 1px solid;
		padding-bottom: 5px;
		padding-top: 5px;
	}
	thead, tbody {
		text-align: center;
	}
	&.widget_tag_cloud {
		&:before, &:after {
			content: "";
			display: table;
		}
		&:after {
			clear: both
		}
	}
	.tagcloud a {
		float: left;
		font-size: 12px !important;
		margin: 0 8px 8px 0;
		padding: 5px 10px;
		border: 1px solid;
		border-radius: 5px;
		&:hover {
			color: #fff;
		}
	}
	&.widget_nav_menu {
		.menu-item-has-children {
			position: relative;
			cursor: pointer;
			&:after {
				font-family: 'fontello';
				content: '\f107';
				position: absolute;
				right: 0;
				top: 8px;
			}
			&.active:after {
				content: '\f106';
			}
		}
		.sub-menu {
			//display: none;
			padding-left: 15px;
		}
	}

	a:focus {
		outline: none;
	}
	table {
		caption {
			margin-bottom: 10px;
		}
	}
	.sidebar-policy{
		.clear{
			display: flex;
			border-bottom:0;
			padding-top:0;
			padding-bottom:0;
			.sidebar-top-icon{
				height: 30px;
				flex: 0 0 30px;
				background-color: red;
				display: flex;
				justify-content: center;
				align-items: center;
				margin-right:15px;
				border-radius: 5px;
				i{
					color:#fff;
				}
			}
			p{
				margin-bottom:0;
				a{
					font-size:13px;
					display: block;
					line-height:17px;
				}
			}
			&:nth-of-type(2n+1){
				i{
					font-size:12px;
					background-color:#fff;
					border-radius:50px;
					padding:4px;
				}
			}
			&.widget_categories{
				ul{
					.cat-item{
						text-align: right;
						a{
							text-transform: uppercase;
							font-size: 14px;
							float:left;
							&:before{
								content:'\f1db';
								font-family: 'fontawesome';
								font-size: 8px;
								margin-right:20px;
								vertical-align: middle;
							}
						}
					}
				}
			}
			&.widget_search{
				.icon-search{
					display: flex;
					justify-content: center;
				}
			}
		}
	}
	&.page-sidebar,&.service-sidebar{
		.widget-title{
			font-size:24px;
		}
		.menu{
			.menu-item{
				border-bottom:none;
				margin-bottom:0;
				padding:6px 15px;
				a{
					display: block;
					font-size:18px;
				}
				&.current-menu-item{
					a{
						font-weight: 600;
					}
				}
			}
		}
	}
	&.service-sidebar{
		.textwidget {
			p{
				font-size:14px;
				line-height: 30px;
			}
			>a{
				display:block;
				padding:10px;
				border-radius:5px;
				text-align:center;
				color:#fff;
				margin-top:40px;
				margin-bottom:40px;
			}
		}
		.service-info{
			li{
				font-weight: 600;
				font-size: 20px;
				color:#333;
				border-bottom:none;
				margin-bottom:0;
				i{
					width:20px;
					height:20px;
					display: inline-block;
					margin-right:20px;
				}
			}
		}
	}
	.opacity{
		opacity: 1 !important;
	}
	&.shop-sidebar{
		h3.widget-title{
			border-bottom:none;
			margin-bottom:0;
			padding-bottom:0;
			padding:5px 10px;
			text-transform: uppercase;
			font-size:18px;
			color:#fff;
			font-weight:500;
			&:before{
				display: none;
			}
		}
		ul.menu{
			background-color: #f7f7f7;
			margin-top:0;
			.menu-item-has-children{
				padding:0px;
				margin-bottom:0;
				border-bottom-color:#f1f1f1;
				z-index:2;
				>a{
					color:#444444;
					font-size:16px;
					font-weight: 700;
					display: block;
					padding:8px 15px;
					&:after {
						font-family: 'fontello';
						content: '\e80b';
						font-size:14px;
						color:#888888;
						z-index:-1;
						position: absolute;
						right: 15px;
						top: 10px;
					}
				}
				&.dot{
					>a:after{
						content: '\e80c';
					}
				}
				&:after{
					display:none;
				}
				.sub-menu {
					display: none;
					padding-left:0;
					> li.menu-item{
						padding-left: 30px;
						padding-right: 30px;
						margin-bottom: 0;
						border-bottom-color: #f1f1f1;
					}
				}
				&.current-menu-parent{
					.sub-menu{
						display: block;
					}
				}
			}
		}
		::-webkit-scrollbar {
			width: 3px;
		}

		/* Track */
		::-webkit-scrollbar-track {
			background: #f1f1f1;
		}

		/* Handle */
		::-webkit-scrollbar-thumb {
			background: rgba(197, 196, 196, 0.897);
		}

		/* Handle on hover */
		::-webkit-scrollbar-thumb:hover {
			background: rgba(197, 196, 196, 0.897);
		}
		.product-filter{
			max-height: 300px;
			overflow-x: auto;
			padding: 0px 5px;
			
			// style scrollbar 
			/* width */
			&.attribute-label{
				.product-attr{
					font-weight: 600;
				}
			}
			.product-attr-list{
				.circle{
					width: 25px;
					height: 25px;
					border-radius: 50%;
					float: left;
					opacity: 0.5;
					margin-right: 10px;
					transition: all .2s;
				}
				.remove-filter{
					float: right;
					&:before{
						content: "\a907";
						font-family: 'fontello';
						font-style: normal;
						font-size: 11px;
					}
				}
				&:hover{
					cursor: pointer;
					.circle{
						opacity: 0.7;
					}
				}
				.product_brand{
					position: relative;
					display: block;
					border-radius: 50%;
					background-position: center center;
					background-size: contain;
					background-repeat: no-repeat;
					vertical-align: middle;
					height: 80px;	
				}
			}
			.product-attr-list{
				&:hover{
					cursor: pointer;
				}
			}.product-brand-list{
				width: 50%;
				float: left;
				margin: 0;
				.circle{
					width: 50%;
					float: none;
					margin-right: 0;
				}
				.product-attr{
					display: none;
				}
				.remove-filter{
					display: none;
				}
			}
			
		}
		#price_slider_wrapper{
			input[type = "text"]{
				border: 0;
				width: 25%;
				&:focus{
					outline: none;
				}
			}
			#slider-range{
				margin: 30px 0px;
				cursor: pointer;
			}
			.ui-widget.ui-widget-content{
				height: 3px;
				border: none;
				background-color: rgba(196, 191, 191, 0.842);
				.ui-state-default{
					outline: none;
					width: 2px;
					margin: 0;
					top: -8px;
					border: none;
					cursor: w-resize !important
				}
				.ui-state-focus{
					cursor: w-resize !important
				}
			}
		}
		
	}
}


/*Custom widget*/
.nb_latest_post{
    .nb_latest_item{
        display: flex;
        flex-direction: row;
        padding-top: 10px;
        padding-bottom: 10px;
        .nb_post_thumb{
            flex: 0 0 30%;
            padding-right: 15px;
            img{
                @include border-radius(3);
            }
        }
        .nb_post_desc{
            p{
                margin: 0;
            }
        }
        .nb_post_title{
            margin-bottom: 5px;
            > a{
                font-weight: bold;
            }
        }
    }
}

#secondary{
	z-index:0;
	&.dokan-store-sidebar{
		.widget{
			.widget-title{
				font-size:16px;
			}
			#cat-drop-stack{
				margin-top:-10px;
				ul{
					margin:0;
				}
				li{
					margin-bottom:0;
					border-bottom:none;
					padding:0;
					a{
						padding-top:5px;
						padding-bottom:5px;
						display: flex;
						justify-content: space-between;
						border-bottom:none !important;
						font-size:14px;
						font-weight: 500 !important;
						span{
							width:24px;
							text-align:center;
						}
					}
					ul{
						border-top:1px solid #dcdcdc;
						li{
							list-style-type: disc;
							list-style-position: inside;
							a{
								display: inline-block;
							}
						}
					}
				}
			}
			&.background{
				background-color:#f7f7f7;
				padding:15px;
			}
		}
	}
	&.shop-sidebar{
		margin-bottom:60px;
	}
}
#dokan-primary{
	.profile-frame{
		.profile-info-box{
			>img{
				display: block;
			}
			.profile-info-summery{
				.store-name{
					font-size:35px;
				}
				.profile-info{
					ul{
						li{
							font-size: 14px;
						}
					}
				}
			}
		}
	}
	.dokan-store-tabs{
		li{
			a{
				font-size:14px;
			}
		}
	}
	.seller-items{
		.product-image{
			border:1px solid #eeeeee;
		}
		.price{
			span{
				font-weight:bold;
				font-size:18px;
			}
		}
	}
}
.widget{
	.wpml-ls{
		width:100%;
		a{
			display: block;
			padding: 8px;
		}
		ul.wpml-ls-sub-menu{
			li:not(:last-child){
				a{
					border-bottom:none;
				}
			}
		}
	}
}