input:focus-visible,
.btn:focus-visible,
.btn:focus  {
	outline:none;
}
.portfolio-list-wrap p{
	margin-bottom: 5px;
}
.ajax-overlay{
	display: block;
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0, 0.1);
	z-index: 1001;
	cursor: pointer
}
.fancybox {     
	position: fixed;
	padding: 35px 20px 15px;
	border: 4px solid rgba(0, 0, 0, .1);
	border-radius: 10px;	
	max-width: 90%;
	max-height: 90%;
	text-align: center;
	display: block;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	z-index: 10004;
	overflow: auto;
}
.fancybox-close{
	position: absolute;
	width: 30px;
	height: 30px;
	cursor: pointer;
	z-index: 111103;   
	text-align: center;
	right: 5px;
	top: 5px;   
	line-height: 30px
}
.fancybox-close:after, .fancybox-close:before{
	content: "";
	width: 20px;
	position: absolute;
	top: 50%;
	left: 16px;
	background: #84a6f8;
	height: 2px;   
}
.fancybox-close:hover:after, .fancybox-close:hover:before{
	background: rgba(50, 109, 220, 0.8);
}
.fancybox-close:before{	   
	margin-left: -10px;
	height: 2px;   
	transform: rotate(45deg);
}    
.fancybox-close:after{   
	margin-left: -10px;  
	border: 0;    
	transform: rotate(-45deg);
}

.fancybox img{
	display: block;
	position: relative;
	width: auto;	
	height: 100%;	
	margin: 0 auto;
}
.loader{
	display: block;
	position: absolute;
	width: 48px;
	height: 48px;
	background-image: url("../images/loader.gif");
	background-size: contain;
	top: 50%;
	left: 50%;
	margin-left: -24px;
	margin-top: -24px;
}
.portfolio-form-wrap{
	margin-bottom: 20px;
}
.portfolio-form-wrap .add-btn{
	margin-left: 10px;
}
.remove-btn{	
	margin: 0 10px;
	color: blue;
	cursor: pointer
}
.remove-btn:hover{
	
	opacity: 0.8
}
.portfolio-list-row{
	width: 100%;
	margin-bottom: 10px;
}
.portfolio-list-row .image-wrap > div{
	display: inline-block;
	float: left;
	width: 33%;
}
.portfolio-list-row.col-sm-3 .image-wrap  > div{
	display: block;
	width: 100%;	
}
.col-sm-3{	
	display: block;
/*	width: 33.333%;	*/
/*	width: 25%;*/
}
.col-sm-5{
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
/*	width: 49%;*/
float: left;
margin-right: 2%;
}
.col-sm-5:nth-child(2n + 2){
	margin-right: 0;
}
.col-sm-3:nth-child(3n + 3){
	margin-right: 0;
}

.flex-wrap{
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;	
	width: 100%;
	float: none;
}
.portfolio-list, .show-more-wrap{
	margin-bottom: 20px;
}
.grid-wrap .item{	
	padding: 5px;
	
}
.grid-wrap .item img{
	display: block;
	width: 100%;
}
.post-wrap{
	display: block;
	max-height: 100%;
	border: 1px solid rgba(0,0,0, 0.2);
	padding: 10px;
	overflow: hidden;
}
.list-wrap{
	height: auto !important;
	overflow: hidden;
}
.list-wrap .post-wrap > div, .list-wrap .post-wrap a > div{
	display: block;
	float: left;
}
.list-wrap .post-wrap .attachment-thumbnail, .list-wrap .post-wrap .post-thumbnail{
	width: 20%;
}
.list-wrap .post-wrap .post-title, .list-wrap .post-wrap .post-excerpt{
	width: 25%;
	padding: 0 10px;
}

.list-wrap .post-wrap .terms{
	width: 20%;
}
.list-wrap .item{
	position: relative !important;
	left: 0 !important;
	top: 0 !important;
	width: 100%;
	margin-bottom: 10px;
}
.post-wrap a{
	text-decoration: none;
}
.post-wrap a:hover .post-excerpt, .post-wrap a:hover .post-tag{
	color: #111
}
.tags-groups-wrap tr{	
	display: inline-block;
	width: 100%;
	height: 36px;
	line-height: 36px;
}
.filter-type{
	display: inline-block;
	overflow:hidden;
	box-sizing: border-box;
}
.filter-type .filter-or:before{
	display:inline-block;
	content: "OR"
}
.filter-type .filter-and:before{
	display:inline-block;
	content: "AND"
}
.filter-type span{
	display: inline-block;
	padding: 2px 6px;
	border: 1px solid rgba(0,0,0,0.2);
	cursor: pointer;
	box-sizing: border-box;
	border-radius: 4px;
	margin-right: 2px;
}
.filter-type span.selected, .filter-type span:hover{
	background-color: #2271b1;
	color: #fff;
}
.tags-list{
	display: block;
	overflow: hidden;
}
.tags-list .tag{
	float: left;
	display: flex;
	overflow: hidden;
	box-sizing: border-box;	
	border: 1px solid rgba(0,0,0,0.4);
	border-radius: 4px;
	padding: 2px 6px;
	margin-right: 4px;
	margin-bottom: 4px;
	line-height: 20px;
}
.button-primary {
	display: inline-block;
	min-width: 120px;
	
	text-align: center;
	margin: 10px 0;
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
	text-decoration: none;
	text-shadow: none;
	min-height: 30px;
	margin: 0;
	padding: 0 10px;
	cursor: pointer;
	border-width: 1px;
	border-style: solid;
	-webkit-appearance: none;
	border-radius: 3px;
	white-space: nowrap;
	box-sizing: border-box;
}
.portfolio-switch{
	padding: 10px 0;
	text-align: right;
	border-bottom: 1px solid rgba(0,0,0, 0.1);
	margin-bottom: 15px
}
.portfolio-switch div{
	display: inline-block;
	cursor: pointer
}
.portfolio-switch div:hover:before{
	color: #2271b1;
}
.portfolio-switch div.view-list:before {
	content: "\f163";
}
.portfolio-switch div.view-grid:before {
	content: "\f509";
}
.portfolio-switch div:before {
	color: #c3c4c7;
	display: inline-block;
	font: normal 20px/1 dashicons;
	speak: never;
	vertical-align: middle;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.portfolio-switch div.current:before {
	color: #2271b1;
}
ul.tags-group-filter{
	padding-left: 0;
}
.tags-group-filter li{
	display: block;	
	overflow: hidden;
	width: 100%;
	margin-bottom: 10px;
}
.tags-group-filter li > div{
	display: inline-block;
	vertical-align: middle;
}
.tags-group-filter li .group-name{
	width: 20%;
	padding-right: 10px;
}
.tags-group-filter li .group-tags-list{
	width: 80%;
}
.portfolio-filter-widget .tags-group-filter li > div{
	width: 100%;	
}

.tag{
	display: inline-block;
	overflow: hidden;
	box-sizing: border-box;
}
.tag-name, .post-tag{
	display: inline-block;
	padding: 2px 6px;	
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	margin: 0 15px 3px 3px;
}
.post-tag{
	margin: 3px;
}
.tag-name.selected, .tag-name:hover{	
	background: #2271b1;
	color: #fff;
}
.tag-dis{
	display: inline-block;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(0, 0, 0, .2);
	line-height: 34px;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
	border-radius: 100%;
	cursor: pointer;
	
}
.tag-dis.selected, .tag-dis:hover{
	background-color: rgba(0, 0, 0, .2);
}
.tag-group-filter{
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;	
	width: 100%;
	float: none;
}
.tag-dis.selected~.tag-name{
	background-color: rgba(0, 0, 0, .1);
}

.attachment-thumbnail{
	cursor: pointer;
}

/* Live search */
/*.search_site {
	width: 100%;
}*/

.search-form {
	display: flex;
	align-items: center;
	position: relative;
}

.search__results-wrap {
	position: relative;
}

.search__results {
	position: absolute;
	display: none;
	left: 0;
	right: 0;
	top: 0;
	padding: 15px;
	-webkit-box-shadow: 0px 10px 40px rgba(34, 34, 34, 0.1);
	box-shadow: 0px 10px 40px rgba(34, 34, 34, 0.1);
	border-radius: 4px;
	background: #fff;
	z-index: 99;
}

.search__results.active {
	display: block;
}

.search__result-title {
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 24px;
	color: #3C3C3B;
	text-transform: uppercase;
	border-bottom: solid 1px #C6C6C6;
}

.result__categories-list {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}
.result__categories-list a,
.result__products-list a {
	color: #3C3C3B!important;
}
.result__products-list a {
	font-weight: 400!important;
	text-transform: none!important;
}
.result__categories-list a:focus,
.result__categories-list a:active,
.result__products-list a:focus,
.result__products-list a:active  {
	color: #3C3C3B!important;
}
.result__categories-list .result__categories-item {
	margin:5px 0;
}

.result__products-item {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	padding: 8px;
	color: #222;
}

.result__products-item img {
	width: 50px;
	height: 50px;
	-o-object-fit: contain;
	object-fit: contain;
	margin-right: 12px;
	margin-left: 0;
}

.search__all {
	text-align: center;
}
.search__all a {
	color: #3C3C3B;
}
.result__products-item .result__item-price {
	color: #999;
}
img.size-woocommerce_thumbnail {
	height: auto;
	max-width: 100%;
}
/*.search-form input[type=submit] {
	display: none!important;
}*/
/*.product_type_variable, .add_to_cart_button {
	display: inline-block;
	margin: 10px 0!important;
	padding: 0.3em!important;
	border-radius: 2px!important;
}*/
.search-preloader {
	position: absolute;
	right: 45px;
}
.search-preloader i {
	color:#C6C6C6;
}

.search-preloader .icon-close,
.search-preloader .icon-load {
	display: none;
}

.search-preloader .icon-close.active,
.search-preloader .icon-load.active {
	display: inline-block;
}

.search_site .search-submit {
	/*cursor: pointer;
	width: auto;
	background-color: #333;
	color: #fff;
	transition: 250ms ease-in-out;
    text-transform: uppercase;
    border-radius: 0;
    padding: 0.5em!important;*/
    overflow: visible;
    position: absolute;
    border: 0;
    margin: 0;
    cursor: pointer;
    /*height: 40px;
    min-width: 50px;*/
    width: auto;
    line-height: 100%;
    min-height: 100%;
    right: 0;
    left: auto;
    top: 0;
    bottom: auto;
    color: #fff;
    transition: 250ms ease-in-out;
    text-transform: uppercase;
    background-color: #333;
    text-shadow: 0 -1px 0 rgba(0,0,0,.3);
    box-shadow: none;
}
.search_site .search-submit:before {
	content: '';
	position: absolute;
	border-width: 8px 8px 8px 0;
	border-style: solid solid solid none;
	border-color: transparent #333;
	top: 12px;
	left: -6px;
	-webkit-transition: 250ms ease-in-out;
	-moz-transition: 250ms ease-in-out;
	-ms-transition: 250ms ease-in-out;
	-o-transition: 250ms ease-in-out;
	transition: 250ms ease-in-out;
}
/*.search-list {
	padding: 20px 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
}*/
.prod_cat_search .search-taxes__name {
	color:#3C3C3B;
	text-decoration: underline;

}

.search__results .search-taxes-list {
	text-align: left;
}
.search-taxes-list {
	text-align: center;
}
.search-taxes-list .search-display a {
	color: #706F6F;
	padding: 5px;
	margin: 5px;
	display: inline-flex;
	border: solid #2cadff 1px;
}
.products__load-more,
.load-more-button {
	/* products more button styles */
	background-color: #fcb900;
	border-color: #fcb900;
	margin-top: 40px;
	color:#fff;
}
.products__load-more:hover,
.taxes__load-more:hover,
.products__load-more:focus,
.taxes__load-more:focus,
.load-more-button:focus {
	color:#fff!important;
}

.products__load-more.hide,
.load-more-button.hide {
	display: none;
}

.products__load-more:after {
	/* products loaded */
}

.products__load-more.loading:after {
	/* products loading */
}
.search_title {
	font-size: 18px!important;
	margin: 20px 0;
	padding: 0;
	text-transform: uppercase;
	color: #2cadff!important;
	text-align: center;
}
.taxes__load-more {
	/* taxes more button styles */
	background-color: #fcb900;
	border-color: #fcb900;
	margin-top: 20px;
	color:#fff;
}

.taxes__load-more.hide {
	display: none;
}

.taxes__load-more:after {
	/* taxes loaded */
}

.taxes__load-more.loading:after {
	/* taxes loading */
}
/* Search Filters */
.search-filters {
	background: #f8f8f8;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 15px;
	margin: 15px 0;
}
.search-filters label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 5px;
	color: #333;
}
.search-filters select,
.search-filters input[type="number"] {
	width: 100%;
	height: 34px;
	padding: 4px 8px;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-size: 14px;
	box-sizing: border-box;
}
.filter-price-inputs {
	display: flex;
	align-items: center;
	gap: 6px;
}
.filter-price-inputs input {
	flex: 1;
	min-width: 0;
}
.filter-price-inputs span {
	flex-shrink: 0;
	color: #999;
}
.filter-group {
	margin-bottom: 10px;
}
.filter-buttons {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 5px;
	padding-top: 5px;
}
.btn-filter-apply {
	background-color: #2ca2ae !important;
	border-color: #2ca2ae !important;
	color: #fff !important;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 3px;
	text-align: center;
	cursor: pointer;
	font-size: 14px;
	line-height: 1.5;
}
.btn-filter-apply:hover {
	background-color: #249aa5 !important;
	color: #fff !important;
}
.btn-filter-reset {
	background-color: transparent !important;
	border: 1px solid #999 !important;
	color: #666 !important;
	font-weight: 400;
	padding: 6px 12px;
	border-radius: 3px;
	text-align: center;
	cursor: pointer;
	font-size: 13px;
	line-height: 1.5;
	text-decoration: none !important;
}
.btn-filter-reset:hover {
	border-color: #666 !important;
	color: #333 !important;
}

@media (max-width: 767px) {
	.search-filters .row {
		display: flex;
		flex-direction: column;
	}
	.search-filters .col-sm-4,
	.search-filters .col-sm-3,
	.search-filters .col-sm-2 {
		width: 100%;
		padding: 0 15px;
	}
	.filter-buttons {
		flex-direction: row;
		padding-top: 10px;
	}
	.filter-buttons .btn {
		flex: 1;
	}
}

@media (max-width: 480px) {
	.asortinent-new .price {
		display: block;
		margin: 3px;
	}
}

/* Search badges (SALE / NEW) */
.search-badge {
	font-size: 9px;
	font-weight: 700;
	padding: 1px 5px;
	border-radius: 3px;
	text-transform: uppercase;
	margin-left: 6px;
	vertical-align: middle;
	display: inline-block;
	line-height: 1.4;
}
.search-badge--sale {
	background: #e74c3c;
	color: #fff;
}
.search-badge--new {
	background: #27ae60;
	color: #fff;
}

/* Search correction banner */
.search-correction-banner {
	background: #fff8e1;
	border: 1px solid #ffe082;
	border-radius: 4px;
	padding: 10px 15px;
	margin: 10px 0 15px;
	font-size: 14px;
	color: #333;
}
.search-correction-banner strong {
	color: #1a1a1a;
}
.search-correction-banner a {
	color: #2271b1;
	text-decoration: underline;
}
.search-correction-banner a:hover {
	color: #135e96;
}
.search-correction-sep {
	color: #999;
	margin: 0 4px;
}
