// Sidebar
//--------------------------------------------------
@media #{$min-xl} {
	.pxl-sidebar-sticky {
		position: -webkit-sticky;
		position: sticky;
		top: 120px;
	}
	.admin-bar .pxl-sidebar-sticky  {
		top: 150px;
	}
}

.pxl-sidebar-area:not(.pxl-sidebar-shop) .widget {
	margin-bottom: 30px;
	padding: 30px;
	border: 1px solid rgba(#132330, 0.1);
	border-radius: 6px;
	@media 	(max-width: 450px) {
		padding:30px 20px;
	}
	&:last-child {
		margin-bottom: 0;
	}
}
.comments-title {
	display: inline-block;
	position: relative;
	padding-bottom: 0 !important;
}
.widget:not(.woocommerce) {

	.widget-title, .comment-reply-title, .comments-title {
		color: $secondary_color;
		margin-bottom: 30px;
		text-transform: capitalize;
		font-size: 22px;
		line-height: 1.4;
		font-weight: 600;
		padding-bottom: 0;
		span {
			position: relative;
		}
	}	
}


.widget_search {
	border: none !important;
	.search-form {
		position: relative;
		.search-submit {
			padding: 0;
			border: none;
			line-height: 59px;
			height: 59px;
			position: absolute;
			top: 0px;
			right: 15px;
			color: $secondary_color;
			font-weight: 200;
			background-color:transparent;
			&:active {
				background-color: transparent;
				color: $secondary_color;
			}
			i {
				font-size: 13px;
				color: $secondary_color;
				line-height: 53px;
			}
			&:before, &:after {
				display: none;
			}
		}
		.search-field {
			position: relative;
			border: 1px solid #F9F9F9;
			padding: 18px 25px;
			width: 100%;
			color: $regular_color;
			font-size: 13px;
			border-radius: 6px;
			border: 1px solid rgba(#132330, 0.1) !important;
			&:focus{
				color: $secondary_color;
				border: 1px solid $primary_color !important;
			}
		}
	}
}

.widget_product_categories,
.widget_categories,
.widget_nav_menu,
.widget_pages,
.widget_archive,
.widget_meta,
.widget_recent_entries {
	ul {
		list-style: none;
		margin-top: -3px;
		margin-bottom: 0;
		padding: 0;
		li {
			a {
				color: #1b1b1b;
				display: block;
				font-size: 15px;
				font-weight: 700;
				line-height: 24px;
				padding: 12px 0;
				position: relative;
				position: relative;
				z-index: 1;
				@extend .ft-theme-default;
				&:before {
					content: "\f101";
					font-family: flaticon_meddox2 !important;
					margin-right: 8px;
					font-size:16px;
					font-weight: 900;
					position: relative;
					top: 3px;
					@include transition(all 0s ease);
				}
				.pxl-count {
					width: 27px;
					height: 27px;
					display: inline-block;
					text-align: center;
					line-height: 27px;
					font-size: 12px;
					background-color: $primary_color;
					color: #fff;
					@include transition(all .25s cubic-bezier(.645,.045,.355,1));
					position: relative;
					z-index: 1;
					&:before {
						z-index: -1;
						@include transition(all .25s cubic-bezier(.645,.045,.355,1));
						opacity: 0;
					}
				}
			}
			&.current-menu-item > a, &.current-cat > a, &.current-cat-parent > a, > a:hover {
				padding-left: 16px;
				.pxl-count {
					color: #fff;
					&:before {
						opacity: 1;
					}
				}
			}
			&:last-child > a {
				border-bottom: none;
			}
		}
	}
}
#pxl-main {
	.pxl-select {
		.pxl-select-options {
			max-height: 285px;
			overflow: auto;
			padding: 20px 20px;
			margin-top: 0;
			z-index: 9;
			li {
				padding: 10px 0;
				+ li {
					border-top: 1px solid #e4e4e4;
				}
			}
		}
	}
	.widget_categories,
	.widget_pages,
	.widget_nav_menu,
	.widget_meta,
	.widget_recent_entries {
		ul ul ul ul ul {
			padding-left: 0;
		}
	}

    // Categories widget
    //--------------------------------------------------
    .widget_product_categories,
    .widget_categories,
    .widget_nav_menu,
    .widget_pages,
    .widget_archive,
    .widget_meta,
    .widget_recent_entries {
    	margin-bottom: 50px;
    	ul li {
    		a {
    			color: $secondary_color;
    			font-size: 16px;
    			font-weight: 400;
    			line-height: 27px;
    			display: block;
    			padding: 10px 0;
    			position: relative;
    			z-index: 1;
    			@extend .ft-public-sans !important;
    			.count {
    				float: right;
    			}
    			&:hover {
    				padding-left: 18px;
    				.count {
    					color: $primary_color;
    				}
    				&:before {
    					width: 12px;
    					opacity: 1;
    					left: 0px;
    				}
    			}
    		}
    		+ li {
    			border-top: 1px solid #e7e7e7;
    		}
    		&.current-menu-item > a, &.current-cat > a, &.current-cat-parent > a, > a:hover {
    			color: $primary_color;
    		}
    		.sub-menu, .children {
    			padding-left: 15px;
    			border-top: 1px solid #e7e7e7;
    			> li {
    				> a {
    					&:before {
    						left: 0px;
    					}
    				}
    				.sub-menu, .children {
    					> li {
    						> a {
    							&:before {
    								left: 0px;
    							}
    						}
    						.sub-menu, .children {
    							> li {
    								> a {
    									&:before {
    										left: 0px;
    									}
    								}
    								.sub-menu, .children {
    									> li {
    										> a {
    											&:before {
    												left: 0px;
    											}
    										}
    										.sub-menu, .children {
    											> li {
    												> a {
    													&:before {
    														left: 0px;
    													}
    												}
    												.sub-menu, .children {
    													> li {
    														> a {
    															&:before {
    																left: 0px;
    															}
    														}
    														.sub-menu, .children {
    															> li {
    																> a {
    																	&:before {
    																		left: 0px;
    																	}
    																}
    																.sub-menu, .children {
    																	> li {
    																		> a {
    																			&:before {
    																				left: 0px;
    																			}
    																		}
    																		.sub-menu, .children {
    																			> li {
    																				> a {
    																					&:before {
    																						left: 0px;
    																					}
    																				}
    																				.sub-menu, .children {
    																					> li {
    																						> a {
    																							&:before {
    																								left: 0px;
    																							}
    																						}
    																					}
    																				}
    																			}
    																		}
    																	}
    																}
    															}
    														}
    													}
    												}
    											}
    										}
    									}
    								}
    							}
    						}
    					}
    				}
    			}
    		}
    	}
    	.nice-select ul li {
    		border: none;
    		font-size: 16px;
    		line-height: normal;
    		padding: 8px 24px;
    		font-weight: 500;
    	}
    }
}



.widget_pxl_recent_posts {
	.pxl-item--img {
		width: 80px;
		min-width: 80px;
		margin-right: 25px;
		max-height: 80px;
		overflow: hidden;
		border-radius: 50%;
		img{
		}
	}
	.pxl-item--title {
		color: $secondary_color;
		color: $secondary_color;
		font-size: 18px;
		font-weight: 700;
		line-height: 1.45;
		margin-bottom: 10px;
		overflow: hidden;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		a {
			color: $secondary_color;
			&:hover {
				color: $primary_color;
				text-decoration: underline;
			}
		}
	}
	.pxl-item--date {
		color: $regular_color;
		line-height: 1;
		display: block;
		padding-bottom: 8px;
		font-size: 16px;
		font-weight: 400;
		@extend .ft-public-sans;
		position: relative;
		padding-left: 28px;
		&:before{
			content: "";
			background-image: url(../img/icon-date.png);
			width: 18px;
			height: 18px;
			position: absolute;
			left: 0px;
			top: -2px;
			background-size: cover;
			background-repeat: no-repeat;
		}
	}
	.pxl--item {
		img {
			@include transition(all 250ms linear 0ms);
		}
		display: flex;
		align-items:center;
		flex-wrap: nowrap;
		padding-bottom: 19px;
		&:last-child {
			border-bottom: none;
			margin-bottom: 0;
			padding-bottom: 0;
		}
		&:hover {
			img {
				transform: scale(1.1);
			}
		}
	}
}

.gallery {
	margin: -10px -5px 0 !important;
	display: flex;
	flex-wrap: wrap;
	.gallery-item {
		padding: 0 12px;
		margin-top: 24px;
		margin-bottom: 0;

	}
	&.gallery-columns-2 .gallery-item {
		width: 50%;
	}
	&.gallery-columns-3 .gallery-item {
		width: 33.33%;
	}
	&.gallery-columns-4 .gallery-item {
		width: 25%;
	}
	&.gallery-columns-5 .gallery-item {
		width: 20%;
	}
}

.widget_media_gallery, .elementor-widget-wp-widget-media_gallery, .elementor-widget-image-gallery {
	.gallery {
		margin: -10px -5px 0 -5px;
		.gallery-item {
			padding: 0 5px;
			margin-top: 10px !important;
			margin-bottom: 0;
			img {
				@include border-radius(3px);
				width: 100%;
				border: none !important;
			}
			a {
				display: flex;
				position: relative;
				flex-wrap: wrap;
				&:before {
					content: '';
					position: absolute;
					top: 0;
					left: 0;
					width: 100%;
					height: 100%;
					background-color: rgba(#000, 0.67);
					@include transition(all 250ms linear 0ms);
					opacity: 0;
					z-index: 1;
				}
				&:after {
					content: "\f12c";
					font-size: 14px;
					font-family: "Caseicon";
					color: rgba(#fff, 1);
					z-index: 2;
					position: absolute;
					left: 50%;
					top: 50%;
					@include transform(translate(-50%, -50%));
					@include transition(all 250ms linear 0ms);
					opacity: 0;
				}
				&:hover {
					&:before, &:after {
						opacity: 1;
					}
				}
			}
		}
	}
}

.elementor-lightbox {
	.swiper-container {
		.elementor-lightbox-image {
			width: auto;
			height: auto;
		}
		.swiper-slide {
			background-color: transparent;
		}
	}
}

.pxl-gallery {
	margin: -8px -15px 50px -15px;
	display: flex;
	flex-wrap: wrap;
	img {
		width: 100%;
	}
	.pxl--item {
		padding: 30px 15px 0 15px;
	}
	.pxl--item-inner {
		@include border-radius(8px);
		overflow: hidden;
		position: relative;
		&.video-active:before {
			@extend .pxl-spill;
			background-color: rgba(#1b1b1b, 0.8);
		}
		.btn-video {
			position: absolute;
			top: 50%;
			left: 50%;
			@include transform(translate(-50%, -50%));
			z-index: 99;
		}
	}
	&.gallery-2-columns .pxl--item {
		width: 50%;
		@media #{$max-xs} {
			width: 100%;
		}
	}
	&.gallery-3-columns .pxl--item {
		width: 33.33%;
		@media #{$max-xs} {
			width: 100%;
		}
	}
	&.gallery-4-columns .pxl--item {
		width: 25%;
		@media #{$max-sm} {
			width: 50%;
		}
		@media #{$max-xs} {
			width: 100%;
		}
	}
	&.gallery-5-columns .pxl--item {
		width: 20%;
		@media #{$max-sm} {
			width: 50%;
		}
		@media #{$max-xs} {
			width: 100%;
		}
	}
}
.pxl-wg-bannerbox1 {
	background-position: top;
	min-height: 465px;
	position: relative;
	background-size: contain;
	background-repeat: no-repeat;
	.bg-image{
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: linear-gradient(180deg, rgba(19, 35, 48, 0) 0%, #132330 100%);
		z-index: -1;
	}
	.pxl-wg-bannerbox-inner{
		position: absolute;
		bottom: 90px;
		text-align: center;
		width: 320px;
		left: 50%;
		transform: translateX(-50%);
		.wg-description{
			color: #fff;
			font-size: 16px;
			font-weight: 700;
			line-height: 1;
			@extend .ft-theme-default;
		}
		.wg-title{
			color: #fff;
			font-size: 30px;
			font-weight: 700;
			line-height: 1;
			margin-bottom: 30px;
			@extend .ft-theme-default;

		}
	}
	.btn2{
		position: absolute;
		bottom: 40px;
		left: 50%;
		transform: translateX(-50%);
		i{
			font-size: 13px;
		}
		&:hover{
			color: #fff;
		}
	}
}

li cite {
	color: $secondary_color;
}
.widget_recent_entries, .widget_recent_comments {
	a {
		color: $secondary_color;
		&:hover {
			color: $primary_color;
		}
	}
	ul {
		list-style: none;
	}
}

.widget_recent_entries, .widget_recent_comments {
	ul {
		list-style: none;
		padding-left: 0;
		li {
			border-bottom: 1px solid #ececf0;
			padding-bottom: 10px;
			margin-bottom: 10px;
		}
	}
	.recentcomments {
		> a {
			font-size: 15px;
			font-weight: 600;
			line-height: normal;
			color: $secondary_color;
			display: block;
			&:hover {
				color: $primary_color;
			}
			&:before {
				content: '\A';
				white-space: pre;
			}
		}
	}
}

.widget_rss {
	ul {
		list-style: none;
		padding: 0;
	}

	li {
		margin-bottom: 16px;

		&:last-child {
			margin-bottom: 0;
		}
	}

	.rsswidget {
		font-weight: 700;
		display: inline-block;
	}

	.rss-date {
		font-size: 0.875em;
		font-style: italic;
		display: block;
	}

	cite {
		font-weight: 700;
		font-size: 0.875em;
	}
}

.widget_block label{
	font-weight: 700;
}

.widget_tag_cloud{
	.tagcloud a{
		display: inline-block;
		padding: 4px 10px;
		margin: 0 5px 5px 0;
		border: 1px solid rgba(#132330, 0.1);
		font-size: 13px !important;
		font-weight: 600;
		color: #A5A5A5;
		border-radius: 6px;
		text-transform: capitalize;
		margin-bottom: 10px;
		&:hover{
			background-color: $primary_color;
			color: #fff;
			border-color: $primary_color;
		}
	}
}

.widget {
	margin-bottom: 30px;
	padding: 30px;
	border: 1px solid rgba(#132330, 0.1);
	border-radius: 6px;
	@media #{$max-sm} {
		padding: 30px 15px;
		.widget-title{
			margin-bottom: 20px !important;
		}
	}
	&:last-child{
		margin-bottom: 0;
	}
}

.widget_search{
	padding: 0 !important;
	.search-form .searchform-wrap .search-submit{
		position: absolute;
		top: 2px; 
		right: 25px; 
		background-color: rgba(#fff, 0);
		border-radius: 5px !important;
		i{
			font-size: 16.5px;
			font-weight: 400;
			
		}
	}
}
.widget_product_search,
.widget_price_filter,
.widget_products,
.widget_product_categories,
.widget_top_rated_products{
	.widget-title {
		margin-bottom: 30px !important;
		span{
			text-transform: capitalize;
			font-size: 22px;
			line-height: 1.4;
			font-weight: 600;
		}
	}
	.product_list_widget{
		li:first-child{
			padding-top: 0 !important;
		}
		.wg-product-image{
			img{
				background-color: rgba(#EEE, 0.55);
			}
		}
		.product-title a{
			font-weight: 700 !important;
		}
	}
	.woocommerce-product-search{
		&:after{
			width: 45px !important;
			height: 45px !important;
		}
		.search-field{
			padding-right: 50px;
			font-size: 14px !important;
			&::-webkit-input-placeholder { /* Chrome/Opera/Safari */
				color: $secondary_color;
			}
			&:-moz-placeholder {
				color: $secondary_color;
			}
			&:-ms-input-placeholder { 
				color: $secondary_color;
			}
			&:-moz-placeholder {
				color: $secondary_color;
			}
		}
		button{
			border: none;
			outline: none;
			cursor: pointer;
			right: 0;
			background-color: #f9f9f9 !important;
			&:after{
				color: $primary_color !important;
			}
		}

	}
	.product-categories{
		li a {
			color: $regular_color !important;
			display: block;
			font-size: 14px !important;
			font-weight: 500 !important;
			line-height: 1;
			text-transform: capitalize;
			position: relative;
			@extend .ft-public-sans;
			&:before{
				top: 3px !important;
				transform: translateY(-58%) !important;
			}
			&:hover{
				color: $primary_color !important;
			}
		}
		li + li{
			a{
				&:before{
					transform: translateY(-58%) !important;
				}
			}
		}
	}
	.tagcloud{
		a{
			display: inline-block;
			padding: 4px 10px;
			margin: 0 5px 5px 0;
			border: 1px solid rgba(#132330, 0.1);
			font-size: 13px !important;
			font-weight: 600;
			color: #a5a5a5;
			border-radius: 6px;
			text-transform: capitalize;
			line-height: 55px;
			margin-bottom: 10px;
			&:hover{
				background-color: $primary_color;
				color: #fff;
			}
		}
	}
}

.widget_block .wp-block-latest-posts__list li a{
	&:hover{
		padding-left: 0 !important;
	}
	&:before{
		display: none;
	}

}

.widget_recent_entries, .widget_recent_comments {
	.widget-title {
		margin-bottom: 15px;
	}
	ul {
		list-style: none;
		margin: 0;
	}
}

.widget_recent_comments, .widget_recent_entries {
	.widget-title{
		margin-bottom: 15px !important;
	}
	ul li {
		position: relative;
		font-size: 16px;
		font-weight: 600;
		padding: 14px 0;
		border-bottom: 1px solid #ececf0;
		&:last-child {
			border-bottom: none;
		}
		a {
			color: $secondary_color;
			&:hover {
				color: $primary_color;
			}
			&:before{
				display: none;
			}
		}
		&.recentcomments{
			margin-bottom: 0 !important;
		}
	}
}
.widget_block .wp-block-latest-posts__list li a {
	font-size: 16px !important;
}

.wp-block-latest-comments__comment{
	margin-bottom: 0 !important;
	
	.wp-block-latest-comments__comment-meta a{
		font-size: 16px;
		font-weight: 600;
	}
}
.fa-thumb-tack{
	&:before{
		content: "\f11e";
		font-family: 'Caseicon';
		font-weight: 900;
		vertical-align: middle;
		font-size: 24px;
		margin-right: 10px;
		-webkit-transition: all 0.25s cubic-bezier(0.38, 0.17, 0.09, 0.99);
		-o-transition: all 0.25s cubic-bezier(0.38, 0.17, 0.09, 0.99);
		transition: all 0.25s cubic-bezier(0.38, 0.17, 0.09, 0.99);
	}
}

.widget_text{
	.textwidget{
		p{
			margin: 0;
			strong{
				margin-bottom: 10px;
				display: inline-block;

			}
			img{
				margin-bottom: 30px;
			}
		}
		
	}
}

.widget_nav_menu{
	.menu-item-has-children .menu-item-has-children:after{
		display: none;
	}
}