/* block */
.#{$block-selector} {
    margin-bottom: $block-module-margin-bottom;
    position: relative;
    padding: $block-module-padding;
    background: transparent;
	clear: both;
    .#{$block-heading-selector}{
        font-size: 18px;
        font-weight: 900;
        margin:0 0 20px;
        position: relative;
        padding: 0;
		color: #222;
		text-transform: uppercase;
		@media (max-width: $screen-md){
			font-size: 16px;
			text-transform: none;
		}
    }
	&.widget-categoriestabs {
		 .#{$block-heading-selector}{
			margin:0 0 7px;
		}
	}
    &.widget-text-heading {
        margin-bottom: 20px;
    }
	&.woocommerce {
		u, ins {
			text-decoration: none;
		}
		.woocommerce-Price-amount {
			font-weight: bold;
			color: $theme-color;
		}
		del  .woocommerce-Price-amount {
			color: #aaa;
		}
	}
	&.widget_tbay_posts {
		.entry-title {
			font-weight: 400;
		}
		p span {
			padding: 0 10px;
			border-right: 1px solid #aaa;
			font-size: 12px;
			color: #aaa;
			&:first-child {
				padding-left: 0;
			}
			&:last-child {
				border-right: 0;
			}
			a {
				color: #aaa;
			}
		}
	}
	&.widget-brands {
		.widget-content {
			border: 2px solid #eee;
			@include border-radius(4px);
			>.row {
				margin: 0;
				padding: 30px 20px 0;
				>div {
					margin-bottom: 36px;
				}
				img {
					min-height: 80px;
					@media (max-width: $screen-lg){
						min-height: 65px;
					}
				}
			}
		}
		margin-bottom: 0;
		.owl-carousel .owl-controls .owl-nav {
			.owl-prev {
				left: -10px !important;
				right: auto !important;
				font-size: 20px;
				line-height: 30px;
				color: #aaa;
				width: 46px;
				border: 2px solid #eee;
				background: #fff;
				@include border-radius(8px);
				&:hover {
					background: #00f2bc;
					color: #fff;
					border-color: #00f2bc;
				}
			}
			.owl-next {
				right: -10px !important;
				font-size: 20px;
				line-height: 30px;
				color: #aaa;
				width: 46px;
				border: 2px solid #eee;
				background: #fff;
				@include border-radius(8px);
				&:hover {
					background: #00f2bc;
					color: #fff;
					border-color: #00f2bc;
				}
			}
		}
	}
}
.woocommerce .widget_layered_nav_filters ul li a {
    margin-right: 10px;
}
.wpb_heading{
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin:0 0 20px;
    letter-spacing: 1px;
    display: inline-block;
    position: relative;
    padding: 0 3px;
    &:before{
        position: absolute;
        @include size(100%, 1px);
        background-color: $theme-color;
        content: "";
        bottom: 1px;
		left: 0;
		right: auto;
    }
}
.title-md{
    font-size: 36px !important;
    font-weight: 700 !important;
}
.title-lg{
    font-size: 55px !important;
    font-weight: 700 !important;
}

.wpb_video_widget .video-description{
    padding: 10px;
}

.list-categories {
	background: #fff;
	@include border-radius(8px);
	padding: 20px;
	min-height: 433px;
	h3 {
		margin: 0;
		font-size: 14px;
		text-transform: uppercase;
		color: #000;
		margin-bottom: 15px;
	}
	ul {
		padding: 0;
		list-style: none;
		li {
			margin-bottom: 3px;
			a {
				color: #666;
				&:hover,&:focus {
					color: $theme-color;
				}
			}
		}
	}
	@media (max-width: $screen-md){
		min-height: 10px;
	}
}

.tbay_custom_menu.treeview-menu{
    .widget {
        .widgettitle {
            margin-bottom: 0;
            line-height: 47px;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
            padding: 0 5px 0 20px;
            color: #fff;
            margin-top: 0;
            background: #009aff;
            display: block;
            border-radius: 8px 8px 0 0;
            text-transform: none;
            letter-spacing: 0;
            &:before {
                display: block;
                float: left;
                content: "\f0c9";
                color: #fff;
                text-align: center;
                font-family: "FontAwesome";
                font-size: 16px;
                font-weight: 900;
                margin-right: 11px;
                min-width: 14px;
                position: relative;
                left: auto;
                bottom: auto;
                height: auto;
                width: auto;
            }
        }
        .menu.treeview {
            @include box-shadow(0 2px 16px rgba(0, 0, 0, 0.06));
            padding: 20px;
            li {
                padding: 0;
                border: 0;
                background: none;
                ul {
                    border: 0;
                    padding-top: 0;
                }
            }
        }
    }
}

// header
.header-setting{
    .button-setting,
    .cart-icon{
        color: #3b3b3b;
        font-size: 18px;
        padding:0;
        display: inline-block;
        background: transparent;
    }
    > *{
        .top-cart-wishlist {
            height: auto;
            padding: 4px 10px 2px 28px;
        }
    }
    .tbay-menu-top{
        padding: 10px 30px;
        list-style: none;
        margin: 0;
    }
    .dropdown.menu {
        height: 28px;
        line-height: 28px;
        cursor: pointer;
        .dropdown-menu{
            margin: 0;
        }
        &:hover{
            .dropdown-menu{
                display: block;
            }
        }
    }
}

ul.list-category {
    padding: 31px 30px 30px;
    border: 2px solid #f5f5f5;
    @include transition(all 0.2s ease-in-out 0s);
	/*rtl:begin:ignore*/
	text-align:left;
	/*rtl:end:ignore*/
    &:hover {
        border-color: $theme-color;
    }
    li {
        list-style: none;
        a {
            color: #666;
            font-size: 13px;
            display: block;
            line-height: 25px;
            @media (max-width: $screen-xs){
                line-height: 30px;
            }
            &:hover {
                color: #009aff;
            }
        }
        &:first-child {
            a {
                font-size: 14px;
                font-weight: bold;
                color: #000;
                padding: 8px 0;
                text-transform: uppercase;
            }
        }
    }
	@media (min-width: $screen-md) and (max-width: $screen-lg){
		padding: 10px 15px 12px;
		li {
			a {
				line-height: 24px;
			}
		}
	}
}


// footer
#tbay-footer{
    margin-top: 50px;
    .widget{
        margin-bottom: 0;
		position: relative;
		padding: 0px;
		background: transparent;
		clear: both;
		&:last-child{
			margin-bottom:0;
		}
        &.widget-text-heading {
            text-align: left;
        }
    }
    .wpb_single_image img {
        @include box-shadow(none);
    }
    // menu
    .menu{
        li{
            border:none;
            padding: 0;
            line-height: 2.6;
            a{
                @include transition(all 0.3s ease-out 0s);
				text-transform: capitalize;
            }
            &:hover{
                a{
					padding-left: 8px;
                    @include transition(all 0.3s ease-out 0s);
                }
            }
        }
    }
    .tagcloud{
        a{
            border: 1px solid $border-color;
            padding:5px 12px;
			margin-right: 6px;
            margin-bottom:6px;
            font-size: 13px!important;
             background-color: transparent;
            &:hover{
                background: #2e2e2e;
                color: #fff;
            }
        }
    }
    .social{
		margin-right: 10px;
    }
    .bank{
        margin: 3px 0 0;
    }
    h3.widget-title,.widgettitle {
        text-transform: uppercase;
        font-size: 14px;
        margin: 0 0 10px 0;
        &:before {
            display: none;
        }
    }
    .wpb_single_image.widget .vc_single_image-wrapper,
    .wpb_single_image.widget .vc_single_image-wrapper:hover {
        @include box-shadow(none);
        border: none !important; 
    }
    .wpb_content_element {
        margin-bottom: 0;
    }
    .widget.widget_layered_nav ul li ul, .widget.widget_nav_menu ul li ul, .widget.widget_product_categories ul li ul {
        padding-left: 0;
        padding-top: 0px;
        border-top: 0;
    }
    strong {
        color: #000;
    }
    .btn-default, .btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open > .btn-default.dropdown-toggle {
        background-color: #009aff;
        border-color: #009aff;
        margin: 0;
        text-transform: none;
        padding: 13px;
        width: auto !important;
        border-radius: 0 8px 8px 0 !important;
    }
}

body.single-product #tbay-footer{
    margin-top: 0;
}
#tbay-footer{
    > .vc_row {
        margin: 0;
    }
}