/*------------------------------------*\
    Topbar
\*------------------------------------*/
.wrapper-container{
    position: relative;
	overflow: hidden;
	&.v8 {
		margin-top: 0 !important;
	}
} 
.#{$app-prefix}-topbar{
    padding:$topbar-padding;
    background: $topbar-bg;
    color: $topbar-color;
    @include font-size(font-size, $topbar-font-size);
    font-weight: 400;
    line-height: normal;
    border-bottom: 1px solid $border-color;
    a{
        color: $topbar-link-color;
        &:hover{
            color: $topbar-link-hover-color;
        }
    }

    .fa {
        font-size: 14px;
        line-height: 30px;
        display: block;
        position: relative;
    }
    .icons {
        color: #00f2bc;
        font-size: 14px;
        margin-right: 5px;
        display: inline-block;
        vertical-align: middle;
        margin-top: -2px;
        &.icon-basket {
            color: #fff;
            font-size: 16px;
        }
    }
    ul{
        margin:0;
        list-style: none;
        padding: 0;
        li{
            display: block;
            padding: 4px 0;
			padding-right: 15px;
            font-size: 13px;
            font-weight: bold;
            line-height: 2.14;
            &:last-child{
                border:none;
            }
            
        }
    }
	#recentcomments > li {
		color: #fff;
	}
	.top-contact .textwidget ul,
	ul.list-inline	{
		li {
			display: inline-block;
		}
	}
    .user-login{
        li {
            border: none;
        }
    }

    .widget-woocommerce-currency-switcher{
        margin:0;
        .dd-options{
            background: $topbar-bg !important;
            padding:0 0 8px;   
        }
        .dd-option{
            border:none;
            background: $topbar-bg !important;
        }
        .dd-select{
            background: transparent !important;
            color: $topbar-color;
        }
        .dd-selected{
            color: #fff;
        }
    }
    .user-login ,
    .wrapper-topmenu{
    }
}
.top-cart-wishlist {
    border-radius: 4px;
    background-color: #0b6baa;
    padding: 3px 0 2px;
	padding-right: 10px;
	padding-left: 28px;
    .wishlist-icon {
        position: relative;
        margin-right: 22px;
        display: block;
        .count_wishlist {
            position: absolute;
            top: 0px;
            left: -10px;
			right: auto;
            background: #009aff;
            min-width: 16px;
            line-height: 16px;
            border-radius: 50%;
            text-align: center;
            font-size: 12px;
            font-weight: bold;
            color: #fff;
            h1 {
                display: none;
            }
        }
    }
    .fa {
        font-size: 14px;
        line-height: 30px;
        display: block;
        position: relative;
        color: #fff;
    }
    .icons {
        color: #00f2bc;
        font-size: 14px;
        margin-right: 5px;
        display: inline-block;
        vertical-align: middle;
        margin-top: -2px;
        &.icon-basket {
            color: #fff;
            font-size: 16px;
        }
    }
}
/*------------------------------------*\
    tbay-topbar
\*------------------------------------*/
.tbay-topbar{
    .widget:last-child{
        margin: 0;
    }
}
/*------------------------------------*\
    Header
\*------------------------------------*/

/*Fix stick in admin*/
.admin-bar {
    ##{$app-prefix}-header{
        &.sticky-header {
            top: 32px;
        }
    }
}
.searchformshow .modal-content {
    top: 100px;
}

##{$app-prefix}-header{
    margin: $header-margin;
    padding:$header-padding;
    z-index: 999;
    // Menu Fixed
    .menu_fixed{
        position: fixed;
        top: 0;
        z-index: 9999;
        background: $white;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: $container-large-desktop;
        padding: 0 ($grid-gutter-width + 10);
        @include transition(all 0.2s ease 0s);
    }
    .wpb_single_image .vc_single_image-wrapper {
    	border: 0 !important;
    }
    .tbay-megamenu{
        margin-bottom: 0;
        position: static;;
    }
    .logo.logo-theme{
        line-height: 36px;
        text-align: left;
    }
    .logo img{
        @include transition(all 0.2s ease 0s);
    }
    // search
    .search-form{
        max-width: 250px;
        margin-right: 5px;
        > form{
            border:none;
        }
        .btn{
            font-size: 16px;
            padding: 0;
            position: relative;
            z-index: 9;
            border: none;
            height: 36px;
            width: 36px;
            background: #009aff;
            border-radius: 8px;
            color: #fff;
        }
        .form-control{
            @include opacity(0);
            position:absolute;
            width:0;
			top:0;
            right: 0;
			left: auto;
            height: 36px;
            border: 1px solid #eee;
            border-radius: 8px;
            @include transition(all 0.2s ease-in-out 0s);
            padding:5px;
        }
        &:hover{
            .form-control{
                @include opacity(1);
                width:200px;
            }
        }
    }
	.widget_search {
		.search-form .form-control {
			@include opacity(1);
			width: 200px;
			position: relative;
		}
		.input-group {
			display: block;
		}
	}
    &.sticky-header{
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        @include transition(all 0.2s ease 0s);
        -webkit-animation: fadeInDown 800ms ease-in-out;
        -moz-animation: fadeInDown 800ms ease-in-out;
        -o-animation: fadeIown 800ms ease-in-out;
        -ms-animation: fadeInDown 800ms ease-in-out;
        animation: fadeInDown 800ms ease-in-out;
        border: 0;
    }
    .header-inner{position: relative;}
	.container {
		position: relative;
	}
	.products.owl-carousel .owl-item .item:hover .product-block {
		@include box-shadow(none);
	}
    &.header-default{
        .header-main{
            padding: 30px 0 18px;
        }
		.tbay-topbar {
			background: #2b87c3;
			color: #fff;
			a {
				color: #fff;
			}
			.widget .widget-title, .widget .widgettitle, .widget .widget-heading{
				color: #fff;
			}
		}
		
        .tbay-mainmenu{
            z-index: 100;
            position: relative;
            width: 100%;
        } 
        .tbay-megamenu{
            margin-bottom: 0;
            float: left;
        }
        .header-inner{
            position: relative;
			z-index: 500;
        }
        .main-content{
            position: static;
            margin:35px 0 0;
            @include transition(all 0.2s ease 0s);
            .mega-menu-wrap,
            .mega-menu-megamenu,
            .mega-menu{
                position: static !important;
            }
        }
		
        &.sticky-header{
            background: #fff;
            padding: 10px 0 !important;
            border-bottom: 1px solid #eee;
            .main-content{
                margin:21px 0 0;
            }
			.header-main {
				display: none;
			}
			.tbay-topbar {
				color: #333;
				a {
					color: #333;
				}
			}
			#tbay-topbar {
				position: absolute;
				top: 0;
				z-index: 200;
				width: 100%;
				border: 0;
				background: transparent;
				.container {
					position: relative;
				}
				.topbar-inner {
					z-index: 9000;
					position: absolute;
					top: 0;
					right: 15px;
				}
				.top-contact,.list-inline.acount {
					display: none;
				}
				.top2 {
					position: absolute;
					top: 10px;
					right: 0;
				}
				.top-cart-wishlist {
					margin-top: 10px;
					z-index: 1000;
				}
			}
			#tbay-mainmenu {
				.top-offer {
					display: none !important;
				}
			}
        }
    }
    &.header-v1{
        .header-setting{
            margin: 5px 0 0;
        }
        .tbay-megamenu {
            min-height: 30px;
            border: none;
            .navbar-collapse.collapse {
            	padding-left: 0;
            }
        }
    }
    &.header-v2{
        #tbay-topbar {
            color: #999;
            background-color: #fafafa;
            border: 0;
        }
        .search-form {
            max-width: 50px;
        }
        .header-main{
            border-bottom: 2px solid #f0f0f0;
            line-height: normal;
        }
        .logo ,
        .header-setting{
            margin: 4px 0 0;
        }
        .header-inner{
            margin: 20px 0 0;
			position: static;
        }
        a {
            color: #999;
        }
        .top-cart-wishlist {
            background: #fafafa;
            #cart .mini-cart, #cart .icons.icon-basket,.wishlist-icon, .fa {
                font-weight: bold;
                color: #222;  
            }
            .wishlist-icon .count_wishlist {
                color: #fff;
            }
            #cart .mini-cart .sub-title {
                color: #3b3b3b;
                .amount {
                    color: #009aff;
                }
            }
        }
        .tbay-megamenu {
            min-height: 30px;
            border: none;
            .nav {
                > li > a {
                    color: #333;
                    text-transform: uppercase;
                    font-size: 13px;
                    padding: 31px 13px 32px;
                    &:hover, &:active {
                        color: #fff;
                    }
                }
                > li.active >a {
                    color: #fff;
                }
            }
			@media (max-width: $screen-lg){
				.nav {
					> li {
						padding: 0 5px;
						> a {
							padding: 31px 8px 32px;
							text-transform: none;
						}
					}
				}
			}
        }

        .widget_tbay_socials_widget .social li {
            border-right: none;
            a{
                background-color: transparent;
                margin-right: 5px;
                &:hover{
                    background-color: #222;
                }
            }
        }
        .top-shipping2 {
            font-size: 13px;
            text-align: center;
            p {
                margin-bottom: 0;
                line-height: 35px;
                strong {
                    font-weight: 700;
                    color: #000;
                }
            }
        }
		&.sticky-header{
            background: #fff;
            padding: 0;
			z-index: 555;
            .main-content{
                margin:21px 0 0;
            }
			#tbay-topbar,.search-form-modal {
				display: none;
			}
			.header-main {
				border-bottom: 1px solid $border-color;
			}
			.logo img {
				@include transform(none);
			}
        }
		
    }
	&.header-v3{
		.header-main {
			padding: 20px 0 16px;
			background: #0b6baa;
			color: #fff;
		}
		.list-inline {
            margin: 4px 15px 0 0;
            line-height: 36px;
            font-weight: 700;
            a {
                color: #fff;
            }
			i {
				margin-right: 5px;
			}
        }
		.tbay-search-form {
			border: 0;
			.button-group {
				background: #00f2bc;
			}
			.select-category select {
				height: 44px;
			}
			.tbay-search {
				height: 44px;
			}
			.select-category.input-group-addon:after {
				top: 7px;
			}
		}
		#tbay-mainmenu {
		    background: #2b87c3;
		    color: #fff;
		    .top-cart-wishlist {
		        margin-top: 4px;
		        line-height: normal;
		    }
		    .navbar {
		    	min-height: 44px;
		    }
		    .navbar-nav.megamenu {
		        text-align: left;
		        > li {
		            > a {
                        border-radius: 0;
                        padding: 14px 13px;
                        color: #fff;
						@media (max-width: $screen-lg){
							padding: 14px 7px;
						}
		            }
		        }
		    }
		    .navbar-collapse {
		        padding: 0 !important;
		    }
		}
		.top-shipping3 {
            font-size: 14px;
            text-align: center;
			i {
				font-size: 18px;
				margin-right: 10px;
				color: #00f2bc;
				display: inline-block;
				vertical-align: middle;
			}
            p {
                margin-bottom: 0;
                line-height: 44px;
                strong {
                    font-weight: 700;
                    color: #000;
                }
            }
        }
		&.sticky-header{
            padding: 0;
			z-index: 555;
			.header-main {
				display: none;
			}
        }
	}
    &.header-v4{
        margin-bottom: 30px;
		.logo-in-theme {
			margin-right: 20px;
		}
		@media (max-width: $screen-md){
			margin-bottom: 0;
		}
        .header-main{
            margin: 0;
			padding: 16px 0 0;
			border-bottom: 2px solid #f5f5f5;
            .top-cart {
                position: relative;
				line-height: normal;
            }
        }
		.top-menu,.user-menu {
			margin-left: 5px;
			text-transform: capitalize;
			i {
				font-size: 20px;
				line-height: 36px;
				font-weight: bold;
			}
			.dropdown.menu{
				.dropdown-menu {
				    top: 54px;
				}			    
				&:hover {
					.dropdown-menu {
						display: none;
					}
				}
				&.open {
					.dropdown-menu {
						display: block !important;
					}
				}
			}
		}
		.user-menu {
			margin-left: 25px;
			.dropdown-menu {
				padding: 10px 30px;
				min-width: 200px;
			}
			i {
				font-size: 16px;
			    line-height: 33px;
			    display: inline-block;
			}
		}
		.search-form {
			max-width: 50px;
		}
		.top-cart-wishlist {
			background: transparent;
			color: #000;
		}
		#cart .mini-cart .sub-title,
		.top-cart-wishlist .fa,
		.top-cart-wishlist .icons.icon-basket {
			color: #000;
			font-weight: bold;
		}
		#cart .mini-cart .sub-title .amount {
			color: #009aff;
		}
		.header-inner {
			position: static;
		}
		.navbar-nav.megamenu {
			> li{
				> a {
					text-transform: uppercase;
					padding: 19px 13px;
				}
			}
		}
		&.sticky-header{
            padding: 0;
			z-index: 555;
			background: #fff;
			border-bottom: 1px solid #eee;
			.top-slider, .search-form-modal {
				display: none;
			}
			.header-main {
				border-bottom: 0;
			}
        }
		@media (max-width: $screen-lg){
			.logo-in-theme {
				display: none;
			}
			.navbar-nav.megamenu > li {
				padding: 0 5px;
			}
		}
    }
    .widget:last-child{
        margin-bottom: 0;
    }
	
	&.header-v5{
		.header-main {
			background: #2b87c3;
			color: #fff;
			padding: 30px 0 0;
		}
		.main-menu {
			position: static;
		}
		.top-ship {
			background: url(../images/bg_shipping_layout3.png) no-repeat 0 6px;
			padding-left: 75px !important;
			p,strong {
				color: rgba(255, 255, 255, 0.65);
				margin-bottom: 0;
			}
			h3 {
				color: #fff;
			}
		}
		.header-inner {
			position: static;
		}
		.navbar-nav.megamenu {
			> li{
				>a {
					text-transform: uppercase;
					color: rgba(255, 255, 255, 0.7);
					padding: 15px 10px 36px;
					&:hover, &:active {
						background: transparent;
						color: #fff;
					}
				}
				&.active,&:hover {
					> a {
						background: transparent;
						color: #fff;
					}
				}
			}
		}
		#tbay-mainmenu {
			padding-top: 11px;
			border-bottom: 2px solid #eee;
		}
		.category-inside .category-inside-title {
			line-height: 54px;
		}
		.top-cart-wishlist {
			line-height: normal;
			border: 2px solid #eee;
			background: transparent;
			padding: 6px 10px 4px 28px;
			@media (max-width: $screen-lg){
				padding: 6px 10px 4px;
			}
		}
		#cart .mini-cart .sub-title,
		.top-cart-wishlist .fa,
		.top-cart-wishlist .icons.icon-basket {
			color: #000;
			font-weight: bold;
		}
		#cart .mini-cart .sub-title .amount {
			color: #009aff;
		}
		.user-menu {
			margin-right: 25px;
			.dropdown-menu {
				padding: 10px 30px;
				min-width: 200px;
			}
			i {
				font-size: 16px;
				line-height: 33px;
				font-weight: bold;
				color: #000;
				cursor: pointer;
			}
		}
		.tbay-search-form .button-group {
			background: #00f2bc;
		}
		&.sticky-header{
            padding: 0;
			z-index: 555;
			#tbay-mainmenu {
				position: absolute;
				top: 0;
				z-index: 1000;
				width: 100%;
				border: 0;
				background: transparent;
				.container {
					position: relative;
				}
				.category-inside,.tbay-search-form {
					display: none;
				}
				.top-cart-wishlist {
					position: absolute;
					top: 20px;
					right: 0;
					a,#cart .mini-cart .sub-title, .fa, .icons.icon-basket,.user-menu i,#cart .mini-cart .sub-title .amount {
						color: #fff !important;
					}
					.top-cart .dropdown-menu .product-details .product-name,
					.top-cart .dropdown-menu .remove {
						color: #333 !important;
					}
				}
			}
			.header-main {
				.top-shipping {
					display: none !important;
				}
			}
        }
	}
	
	&.header-v6{
		background: #0b6baa;
		color: #fff;
		.header-main {
			padding: 30px 0 18px;
		}
		.tbay-topbar {
			background: #262626;
			color: #aaaaaa;
			border-bottom: 0;
			.top-cart-wishlist {
				background: #3a3a3a;
			}
			a {
				color: #fff;
				&:hover {
					color: $theme-color;
				}
			}
		}
		&.sticky-header{
			padding: 10px 0  0!important;
			.tbay-topbar {
				color: $white;
				a {
					color: $white;
				}
			}
			#tbay-topbar .top-cart-wishlist {
				margin-top: 7px;
			}				
		} 
		
		.tbay-search-form {
			border: 0;
			.button-group {
				background: #00f2bc;
			}
			.select-category select {
				height: 44px;
			}
			.tbay-search {
				height: 44px;
			}
			.select-category.input-group-addon:after {
				top: 7px;
			}
		}
		.top-ship {
			background: url(../images/bg_shipping_layout3.png) no-repeat 0 6px;
			padding-left: 75px !important;
			p,strong {
				color: #6ec2fa;
				margin-bottom: 0;
			}
			h3 {
				color: #fff;
			}
		}
		.top-offer {
			color: #fff;
			padding-left: 30px;
			position: relative;
			line-height: 30px;
			font-weight: normal;
			&:after {
				content: "";
				position: absolute;
				top: 0;
				left: 0;
				width: 1px;
				height: 30px;
				background: rgba(110, 194, 250, 0.4);
			}
			.color {
				color: #fff;
			}
		}
		.navbar-nav.megamenu {
			> li{
				>a {
					text-transform: uppercase;
					color: rgba(255, 255, 255, 0.7);
					&:hover, &:active {
						background: transparent;
						color: #fff;
					}
				}
				&.active {
					> a {
						background: transparent;
						color: #fff;
					}
				}
			}
		}
		&.sticky-header{
            padding: 10px 0;
			background: #0b6baa;
			#tbay-topbar .top2 {
				position: relative;
				top: auto;
			}
		}
	}
	&.header-v7{
		.tbay-topbar ul li {
			font-weight: normal;
		}
        #tbay-topbar {
            color: #fff;
            background-color: #0b6baa;
            border: 0;
        }
        .search-form {
            max-width: 50px;
        }
        .header-main{
			background: #2b87c3;
            line-height: normal;
        }
        .logo ,
        .header-setting{
            margin: 4px 0 0;
        }
        .header-inner{
            margin: 21px 0 0;
        }
        a {
            color: #999;
        }
		.header-inner {
			position: static;
		}
        .tbay-megamenu {
            min-height: 30px;
            border: none;
            .nav {
                > li > a {
                    color: #333;
                    text-transform: uppercase;
                    font-size: 13px;
                    padding: 31px 13px 32px;
                    &:hover, &:active {
                        color: #fff;
                    }
					
                }
				> li {
					&:hover {
						>a {
							background: transparent;
							color: #fff;
						}
					}
				}
                > li.active >a {
                    color: #fff;
                }
            }
			@media (max-width: $screen-lg){
				.nav {
					> li {
						padding: 0 2px;
						> a {
							padding: 31px 8px 32px;
							text-transform: none !important;
						}
					}
				}
			}
        }

        .widget_tbay_socials_widget .social li {
            border-right: none;
            a{
                background-color: transparent;
                margin-right: 5px;
                &:hover{
                    background-color: #222;
                }
            }
        }
        .top-shipping2 {
            font-size: 13px;
            text-align: center;
            p {
                margin-bottom: 0;
                line-height: 35px;
                strong {
                    font-weight: 700;
                    color: #fff;
                }
            }
        }
		.tbay-topbar ul.acount li {
			color: rgba(255, 255, 255, 0.7);
			a {
				color: rgba(255, 255, 255, 0.7);
			}
		}
		.navbar-nav.megamenu {
			> li{
				>a {
					text-transform: uppercase;
					color: rgba(255, 255, 255, 0.7);
					&:hover, &:active {
						background: transparent;
						color: #fff;
					}
				}
				&.active {
					> a {
						background: transparent;
						color: #fff;
					}
				}
			}
		}
		.search-form .btn {
			 background: #00f2bc;
		}
		&.sticky-header{
            padding: 0;
			z-index: 555;
			#tbay-topbar, .search-form-modal {
				display: none;
			}
			.header-main {
				border: 0;
			}
			.logo img {
				@include transform(none);
			}
        }
    }
	&.header-v8{
		.logo.logo-theme {
			margin-top: 5px;
		}
		ul,ol {
			margin-bottom: 0;
		}
		.top-right {
			color: #333;
			float: right;
			width: auto;
			i {
				color: #00f2bc;
				font-size: 15px;
				margin-right: 5px;
			}
		}
		ul.acount , ul.acount a{
			color: #009aff;
			font-size: 13px;
			font-weight: bold;
		}
		.header-main {
			padding: 30px 0 15px;
			border-bottom: 2px solid #f2f2f2;
			@media (max-width: 1400px){
				float: left;
				width: 100%;
			}
		}
		.tbay-topbar.fixed {
			position: fixed;
			height: 100vh;
			top: 0;
			left: 0;
			z-index: 100;
			width: 100px;
			background: #2b87c3;
			padding: 10px;
			
			.middle {
				position: absolute;
				top: 35%;
				width: 80px;
				left: 10px;
				.top-cart-wishlist {
					padding: 25px 0;
					text-align: center;
					.search-form {
						max-width: 36px;
						margin: 0;
						display: inline-block;
					}
				}
				.block {
					margin-bottom: 30px;
					&:last-child{ 
						margin-bottom: 0;
					}
				}
			}
			.footer {
				position: absolute;
				bottom: 0;
				width: 80px;
				left: 10px;
				color: rgba(255, 255, 255, 0.7);
				text-align: center;
				a {
					color: rgba(255, 255, 255, 0.7);
					&:hover {
						color: #fff;
					}
				}
			}
			ul{
				&.acount {
					color: rgba(255, 255, 255, 0.7);
				}
				li {
					padding: 0;
				}
			}
			@media (max-width: 1400px){
				position: relative;
				height: auto;
				width: 100%;
				float: left;
				.active-mobile {
					width: 30%;
				}
				.middle {
					position: relative;
					top: auto;
					width: 40%;
					left: auto;
					float: left;
					.top-cart-wishlist {
						padding: 10px 0;
						.block {
							display: inline-block;
							margin: 0 20px;
							vertical-align: middle;
						}
						.fa,i {
							line-height: 36px;
						}
					}
				}
				.footer {
					position: relative;
					top: auto;
					width: 30%;
					left: auto;
					float: right;
					padding: 15px;
				}
			}
		}
		
		.search-form .form-control {
			right: auto;
			left: 0;
			padding-left: 45px;
		}
		.wishlist-icon {
			display: inline-block;
			margin-right: 0;
		}
		.top-cart-wishlist .fa ,.top-cart-wishlist .icons.icon-basket{
			font-size: 20px;
		}
		#cart .mini-cart {
			padding-right: 0;
			.sub-title {
				display: none;
			}
			.mini-cart-items {
				left: auto;
				right: -8px;
			}
		}
		.top-cart-wishlist .wishlist-icon .count_wishlist {
			left: auto;
			right: -10px;
		}
		
		@media (min-width: 1400px){
			.topbar-mobile .top-cart .dropdown-menu {
				left: 100px;
				right: 0;
				top: -150px;
				&:after, &:before {
					display: none;
				}
			}
		}
		.active-mobile {
			width: 100%;
		}
		.btn-offcanvas {
			width: 100%;
			background: transparent;
			border: 0;
			font-size: 50px;
			text-align: center;
			font-weight: lighter;
			@media (max-width: 1400px){
				font-size: 33px;
				font-weight: normal;
			}
		}
		
		&.sticky-header{
			position: relative !important;
			@include transition(none);
			-webkit-animation: none;
			-moz-animation: none;
			-o-animation: none;
			-ms-animation: none;
			animation: none;
			@include box-shadow(none);
			top: 0;
			z-index: 10000;
		}
	}
	&.header-v9{
		.header-main {
			padding: 30px 0 15px;
		}
		.logo.logo-theme {
			margin-top: 5px;
		}
		
		ul,ol {
			margin-bottom: 0;
		}
		.top-right {
			color: #333;
			float: right;
			width: auto;
			i {
				color: #00f2bc;
				font-size: 15px;
				margin-right: 5px;
			}
		}
		ul.acount , ul.acount a{
			color: #009aff;
			font-size: 13px;
			font-weight: bold;
		}
		#tbay-search {
			position: relative;
			text-align: center;
			margin-bottom: 4px;
			.tbay-search-form {
				display: inline-block;
				max-width: 570px;position: relative;
				z-index: 10;
				.button-group {
					background: #00f2bc;
				}
				.select-category select {
					height: 44px;
				}
				.tbay-search {
					height: 44px;
				}
				.select-category.input-group-addon:after {
					top: 7px;
				}
				
			}
			&:after {
				position: absolute;
				top: 49%;
				left: 0;
				width: 100%;
				height: 2px;
				background: #eee;
				content: "";
			}
		}
		.navbar-nav.megamenu > li > a {
			text-transform: uppercase;
			font-weight: 400;
		}
		.top-cart-wishlist {
			line-height: normal;
			border: 2px solid #eee;
			background: transparent;
			padding: 6px 10px 4px 28px;
			margin-top: -11px;
		}
		#cart .mini-cart .sub-title,
		.top-cart-wishlist .fa,
		.top-cart-wishlist .icons.icon-basket {
			color: #000;
			font-weight: bold;
		}
		#cart .mini-cart .sub-title .amount {
			color: #009aff;
		}
		&.sticky-header{
            padding: 0;
			z-index: 555;
			background: #fff;
			border-bottom: 1px solid $border-color;
			.header-main,#tbay-search {
				display: none;
			}
			#tbay-mainmenu {
				padding-top: 20px;
			}
        }
		@media (max-width: $screen-lg){
			.nav {
				> li {
					padding: 0 2px;
					> a {
						padding: 15px 8px 16px;
						text-transform: none !important;
					}
				}
			}
			.top-cart-wishlist {
				margin-top: 0;
			}
		}
	}
	&.header-v10{
		.header-main {
			padding: 8px 0 0;
			background: #2b87c3;
		}
		.navbar-nav.megamenu {
			> li{
				>a {
					color: rgba(255, 255, 255, 0.7);
					padding: 18px 13px;
					&:hover, &:active {
						background: transparent;
						color: #fff;
					}
				}
				&.active,&:hover {
					> a {
						background: transparent;
						color: #fff;
					}
				}
			}
		}
		.logo {
			padding: 20px 27px 10px;
			background: #0b6baa;
			border-radius: 4px;
			position: relative;
			margin-bottom: -31px;
		}
		.user-menu {
			margin-right: 25px;
			.dropdown-menu {
				padding: 10px 30px;
				min-width: 200px;
			}
			i {
				font-size: 16px;
				line-height: 33px;
				font-weight: normal;
				color: #fff;
			}
		}
		.top-cart-wishlist {
			line-height: normal;
			padding: 7px 10px 7px 28px;
			margin-bottom: 8px;
		}
		.header-inner {
			position: static;
		}
		#tbay-category-image {
			padding: 28px 0 35px;
		}
		&.sticky-header{
			z-index: 555;
			#tbay-category-image {
				display: none;
			}
        }
		@media (max-width: $screen-lg){
			.logo-in-theme {
				width: 100%;
				margin-bottom: 8px;
			}
			.logo.logo-theme {
				margin: 0;
				padding: 15px;
				text-align: center;
			}
		}
	}
	.tbay-category-menu-image {
		.navbar-nav.megamenu {
			> li {
				margin: 0 15px;
				> a {
					padding: 0;
					text-align: center;
					color: #bbbbbb;
					text-transform: none;
					.fa, img {
						display: block;
						font-size: 28px;
						margin: 0 0 7px 0;
						max-width: 100%;
					}
					&:hover, &:active {
						background: transparent;
						color: #000;
					}
				}
				&.active {
					> a {
						background: transparent;
						color: #000;
					}
				}
			}
		}
	}
}

@media (max-width: $screen-lg){
	.wpb_single_image.full-mobile {
		.vc_figure {
			display: block;
			a {
				display: block;
				img {
					width: 100%;
				}
			}
		}
	}
	.archive-shop {
		margin-bottom: 30px;
	}
	.bread-title {
		padding: 20px 0 20px 20px;
		font-size: 20px;
	}
}

/*------------------------------------*\
    Main menu for Home 8
\*------------------------------------*/
.wrapper-container{
	.tbay-offcanvas.v8 {
		width: 70%;
		@include transition(all 0.7s);
		display: block !important;
		max-width: 300px;
	}
	&.active {
		.tbay-offcanvas.v8 {
			@include box-shadow(rgba(0, 0, 0, 0.176) 0px 3px 4px);
			.bg-primary {
				background-color: #666;
			}
			@media (max-width: $screen-md){
				position: fixed;
				top: 0;
				.bg-primary .btn-toggle-canvas {
					display: inline-block;
				}
			}
		}
	}
}



/*------------------------------------*\
    Category menu
\*------------------------------------*/
.category-inside {
    width: 270px;
    background: #009aff;
    border-radius: 8px 8px 0 0;
    position: relative;
    margin-right: 15px;
    margin-left: 0;
    .category-inside-content {
        display: none;
        position: absolute;
        width: 100%;
        top: 100%;
        left: 0;
        background: #fff;
        padding: 15px 20px;
		z-index: 1000;
        @include box-shadow(0 2px 16px rgba(0, 0, 0, 0.06));
        .list-inline > li {
            display: block;
			background: none;
			padding: 3px 0;
            &.dropdown{
                > .hitarea {
                    margin-top: 8px;
                }
                > a {
                    margin-right: 13px;
                }
            }
            > a {
                background: transparent;                
            }
            li {
                background: none;
				padding-left: 25px;
            }
			i {
				margin-right: 10px;
				min-width: 15px;
			}
			.caret {
				display: none;
			}
        }
    }
    .category-inside-title {
        margin-bottom: 0;
        line-height: 47px;
        font-size: 14px;
        font-weight: bold;
        cursor: pointer;
        padding: 0 5px 0 20px;
        color: #fff;
        margin-top: 0;
        &:before {
            display: block;
            float: left;
            content: "\e601";
            color: #fff;
            text-align: center;
            font-family: 'simple-line-icons';
            font-size: 16px;
            font-weight: 900;
            margin-right: 11px;
            min-width: 14px;
        }
    }
}
.treeview {
    li {
		position: relative;
		background: none !important;
        .hitarea {
            background: transparent;
			z-index: 100;
			float: right;
			margin-right: -5px;
            &:after {
                content: '\e615';
                font-family: simple-line-icons;
				color: #333;
				font-size: 17px;
            }
            &.expandable-hitarea:after {
                content: '\e095';
                font-family: simple-line-icons;
				font-size: 17px;
            }
        }
    }
}
.navbar-offcanvas .sub-menu {
    margin: 0;
    border: 0;
    border-top: 1px solid #eee;
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    background: #fafafa;
    -webkit-box-shadow: none;
	box-shadow: none;
	.sub-menu {
		a {
			padding-left: 30px;
		}
		.sub-menu {
			a {
				padding-left: 40px;
			}
		}
	}
}
/*------------------------------------*\
    Offer
\*------------------------------------*/
.top-offer {
    line-height: 47px;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    span {
    	font-weight: 500;
    }
}

/*------------------------------------*\
    Shipping
\*------------------------------------*/
.top-shipping {
	.top-ship {
		background: url(../images/bg_shipping.png) no-repeat 0 6px;
		padding-left: 70px !important;
		padding-top: 3px;
		float: right !important;
		width: auto !important;
	}
    h1,h2,h3,h4 {
        margin: 0;
        font-size: 13px;
        text-transform: uppercase;
        color: #2b87c3;
    }
    p {
        color: #999;
    }
    strong {
        color: #000;
    }
}

/*------------------------------------*\
    Slide Show
\*------------------------------------*/
.rev_slider_wrapper{
    cursor: pointer;
    .persephone.tparrows {
        width: 50px;
        height: 50px;
        border-radius: 8px;
        background-color: #ffffff;
        border: solid 2px #eeeeee;
        &:before {
            font-size: 16px;
            text-align: center;
            color: #cccccc;
            line-height: 50px;
            font-weight: bold;
        }
        &:hover,&:focus {
            background: $theme-color;
            border-color: $theme-color;
            &:before {
                color: $white;
            }
        }
        @media (max-width: $screen-lg){
			display: none;
		}
    }
}

/*------------------------------------*\
    Breadcrumb
\*------------------------------------*/
.#{$app-prefix}-breadcrumb{
    @include box-size($breadcrumb-layout-bg, $breadcrumb-padding-top, $breadcrumb-padding-bottom);
    @include border-radius(0);
    margin: $breadcrumb-margin;
    text-align: $breadcrumb-alignment;
    font-size: $breadcrumb-font-size ;
    .breadcrumb-title{
        color: $breadcrumb-color;
        margin: 0;
        font-weight: $breadcrumb-title-font-weight;
        @include font-size(font-size, $breadcrumb-title-font-size);
    }
    nav{
		text-align: left;
        line-height: $breadcrumb-line-height;
        a{
            color: $breadcrumb-link-color;
        } 
    }
}

/*------------------------------------*\
    Container
\*------------------------------------*/
.#{$app-prefix}-mainbody{
    @include box-size($container-bg, $container-padding-top, $container-padding-bottom);
}
/*------------------------------------*\
    Content
\*------------------------------------*/
.#{$app-prefix}-content{
    background: $content-bg;
    @include clearfix();
}

/*------------------------------------*\
    Pagination
\*------------------------------------*/
.pagination,
.#{$app-prefix}-pagination{
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    padding: 15px 0 ;
    margin-bottom: 0px;
    text-align: center;
    display: block;
    ul.page-numbers{
        margin: 0;
        padding:0;
        list-style: none;
        li{
            display: inline-block;
        }
    }
    span,a{
        padding: 10px 15px;
        border:1px solid $border-color;
        line-height: 1;
        background: #fff;
        display: inline-block;
        margin: 0 2px;
		@include border-radius(4px);
        &.current{
            background: $theme-color;
            border-color: $theme-color ;
            color: #ffffff;
        }
    }
    a{
        color: $link-color;
        cursor: pointer;
        &:hover{
            background: $theme-color;
            border-color: $theme-color ;
            color: #ffffff;
            text-decoration: none;
        }
		&.next, &.prev {
			/*rtl:raw:
			transform: rotate(180deg);
			*/
		}
    }
}
/*------------------------------------*\
    Footer
\*------------------------------------*/
.#{$app-prefix}-footer{
    background: $footer-bg;
    padding:0;
    position: relative;
    color: $footer-color;
    border-bottom: $footer-border;
    font-size: $footer-font-size - 1;   
    .footer-main{
        padding:$footer-padding;
    }
} 
/*------------------------------------*\
    Copyright
\*------------------------------------*/
.#{$app-prefix}-copyright{
    color: $copyright-color;
    font-size: $copyright-font-size;
    font-weight: $copyright-font-weight;
    @include box-size($copyright-bg, $copyright-padding-top, $copyright-padding-bottom);
    a{
        color: $copyright-link-color;
        &:hover{
            text-decoration: underline;
        }
    }
    ul{
        margin: 0;
		padding: 0;
		list-style-position: inside;
    }
	.text-copyright,.widget_archive {
		margin-bottom: 15px;
	}
	.widget_archive:last-child{
		margin-bottom: 0;
	}
    .widget,
    .wpb_content_element{
        margin: 0;
    }
	@media (max-width: $screen-sm){
		text-align: center;
		.vc_align_right, .separator_align_right {
			text-align: center !important;
		}
		.row {
			>div {
				margin-bottom: 15px;
				&:last-child{
					margin-bottom: 0;
				}
			}
		}
	}
}
/*------------------------------------*\
    Top bar
\*------------------------------------*/
.tbay-offcanvas {
    .tbay-offcanvas-body{
        position: relative;
    }
    visibility:hidden;
    @include translateX(-100%);
    @include transition(all 0.2s  ease-in-out 0s);
    position: fixed;
    top:0;
    left:0;
    z-index: 1200;
    min-width:200px;
    width: 70%;
    background: #fff;
    height: 100vh;
    overflow-y: auto;
    .offcanvas-head {
		padding: 15px 0 15px 30px;
		line-height: 40px;
		background-color: #666;
        .btn-toggle-canvas{
            padding: 10px 15px;
			margin-right: 15px;
			float: right;
			background-color: $theme-color;
			border-color: $theme-color;
        }
    }
}

body.admin-bar {
	.tbay-offcanvas {
		top: 32px;
		@media screen and (max-width: 782px) {
			top: 0;
			&.offsetop {
				top: 46px;
			}
		}
	}
}

.wrapper-container.active{
    .tbay-offcanvas{
        @include translateX(0);
        @include opacity(1);
        visibility:visible;
		@include box-shadow(rgba(0, 0, 0, 0.176) 0px 3px 4px);
    }
}
@media(max-width:991px){
    .topbar-mobile  {
		padding-top: 30px; 
		padding-bottom: 30px;
		.dropdown {
			.dropdown-menu {
				left: auto;
				right: 0;
			}
		}
        .btn{
            margin-right: 10px;
            padding: 6px 10px;
            border-color: $theme-color-hover;
            border-width: 1px;
			height: 40px;
			width: 40px;
			&.btn-offcanvas {
				background: #00f2bc;
				border-color: #00f2bc;
			}
            &:hover,&:focus,&.active {
            	background-color: $theme-color;
            	border-color: $theme-color;
            }
        }
        .top-cart .dropdown-menu{
            left: -242px;
            right: inherit;
            min-width: 280px;
            &:after,
            &:before{
                display: none;
            }
        }
		.searchformshow {
			.modal-content {
				text-align: center;
				.btn {
					border: 0;
				}
			}
		}
    }
    .topbar-mobile-right {
        > div {
            display: inline-flex;
			vertical-align: top;
			i,span {
				font-size: 18px;
				line-height: 24px;
			}
        }
        .topbar-inner {
            > * {
                display: inline-flex;
				margin-right: 4px;
            }
        }
    }
    .logo-in-theme{
        float: none!important;
        text-align: center;
        width: 100%;
    }
}

@media(max-width:479px){
    .topbar-mobile  {	
        .top-cart .dropdown-menu{
            left: -182px;
            right: inherit;
            min-width: 280px;
        }
    }
    .topbar-mobile-right > div {
		margin: 0 5px;
	}
	.topbar-mobile-right .topbar-inner > * {
	    margin-right: 10px;
	    margin-left: 0;
	}
	.popup-cart .gr-buttons {
		margin: 10px 0 0;
	}
	.popup-cart .total {
		text-align: center;
		margin-top: 25px;
	}
	.popup-cart .gr-buttons a {
		display: block;
		margin-bottom: 10px;
		float: none !important;
	}
	.woocommerce-page table.cart td.actions .coupon,
	.woocommerce-cart table.cart td.actions .coupon .input-text,
	.woocommerce-page table.cart td.actions .coupon input	{
		float: none !important;
		width: 100%;
	}
	.woocommerce-cart table.cart .actions .pull-right {
		float: none !important;
	}
	.woocommerce-cart table.cart .actions input,
	.woocommerce-cart .wc-proceed-to-checkout a.checkout-button	{
		width: 100%;
		display: block;
	}
	.widget.upsells .owl-carousel .owl-controls .owl-nav .owl-prev,
	.widget.related .owl-carousel .owl-controls .owl-nav .owl-prev,
	.widget.upsells .owl-carousel .owl-controls .owl-nav .owl-next,
	.widget.related .owl-carousel .owl-controls .owl-nav .owl-next	{
		top: 50px;
	}
}

/* Demos */
.tbay-demo {
	position: fixed;
    right: 0;
	left: auto;
    top: 0;
    z-index: 9409;
    min-height: 100%;
    width: 0;
    @include transition(width .5s);
	.tbay-switch {
		display: block;
		position: absolute;
		left: -50px;
		right: auto;
		top: 200px;
		width: 50px;
		background: #ffffff;
		cursor: pointer;
		@media (max-width: 1400px){
			top: 120px;
		}
		a {
			padding: 12px;
			display: block;
			text-align: center;
			i {
				font-size: 20px;
				display: block;
				color: #fff;
				&.icon-settings {
					padding-bottom: 15px;
					color: #fff;
				}
			}
			&.demo-switch {
				padding-bottom: 0;
				background: rgb(45, 74, 104);
			}
			&.demo-pay {
				background: #ff3f1d;
				color: #fff;
				text-transform: uppercase;
				text-align: center;
				font-weight: bold;
			}
		}
	}
	&.active {
		width: 400px;
		a i {
			color: #333;
		}
	}
	.tbay-demo-content {
		position: absolute;
		width: 400px;
		height: 100%;
		overflow: auto;
		background: #ffffff;
		padding: 25px 16px 5px 17px;
		text-align: center;
		.box-title {
			color: $theme-color;
			font-size: 20px;
			text-transform: uppercase;
		}
		.box-title-sub {
			margin-bottom: 30px;
		}
		.demo-thumb {
			position: relative;
			border: 2px solid #ccc;
			display: block;
			@include transition(all .3s);
			margin-bottom: 20px;
			img,span {
				@include transition(all .3s);
			}
			span {
				position: absolute;
				@include opacity(0);
				top: 44%;
				left: 0;
				width: 100%;
				font-size: 20px;
				color: #fff;
				z-index: 10;
			}
			&:after {
				position: absolute;
				content: "";
				@include opacity(0);
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
				@include transition(all .2s);
				background: #000;
			}
			&:hover {
				&:after {
					@include opacity(0.7);
				}
				span {
					@include opacity(1);
				}
			}
		}
	}
	@media (max-width: $screen-sm){
		.tbay-switch {
			display: none !important;
		}
	}
}