/* SLIDER */
.fGallery.slider .fwrap {
	position:relative;
	overflow:hidden;
}
.fGallery.slider .fimages {
	position:relative;
	display:flex;
	transition:transform 1s;
}

.fGallery.slider .fimages > .fimage {
	position:relative;
	min-width:100%;
}

.fGallery.slider .fimages > .fimage > .finner-link {
	display:flex;
	align-items:center;
	position:absolute;
	bottom:0;
	left:0;
	right:0;
	height:40px;
	z-index:3;
	padding:0 10px;
	background-color:rgba(0,0,0,.5);
}

/* Arrow */
.fGallery.slider .fwrap > .fnav {
	display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: calc(50% - 20px);
	width: 40px;
	height:40px;
	background-color:rgba(0,0,0,.6);
    color: #fff;
    z-index: 2;
}
.fGallery.slider .fwrap > .fnav.prev {
	left:10px;
}
.fGallery.slider .fwrap > .fnav.next {
	right:10px;
}

/* sidebar */
.fGallery.slider.side > .fwrap {
	display:inline-block;
	width:calc(100% - 205px);
}
.fGallery.slider.side > .fsidebar {
	display:inline-block;
	width:200px;
	height:400px;
	vertical-align: top;
	overflow:hidden;
}
.fGallery.slider:not(.side) .fsidebar {
	padding: 15px 0;
}
.fGallery.slider .fsidebar {
    position: relative;
	overflow:hidden;
}
.fGallery.slider:not(.side) .fsidebar .fswrap {
	display: flex;
	transition: transform 1s;
}
.fGallery.slider .fsidebar .fslide {
	min-width:16.6667%;
}
.fGallery.slider.side .fsidebar .fslide {
	min-width:100%;
}
.fGallery.slider.side .fsidebar > .fswrap {
	width: calc(100% + 17px);
	height:100%;
	overflow-y:visible;
	overflow-x:hidden;
}
.fGallery.slider .fsidebar .fslide > .finner {
	position:relative;
	width:100%;
	height:0;
	overflow:hidden;
	padding-top:56.25%;
	border:1px solid rgba(0,0,0,.3);
	opacity:.5;
	transform: scale(.88);
	transition:.4s;
}
.fGallery.slider .fsidebar .fslide.active > .finner,
.fGallery.slider .fsidebar .fslide:hover > .finner {
	opacity:1;
	transform: scale(.99);
}
.fGallery.slider .fsidebar .fslide a {
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-size:cover;
	background-repeat:no-repeat;
	background-position:center;
}

/* GRID */
.fGallery[class*='grid-'] .fimages {
	display:flex;
	flex-wrap:wrap;
}
.fGallery[class*='grid-'] .fimage {
	position:relative;
	overflow:hidden;
	transition:2s;
}
.fGallery[class*='grid-'] .fimage.off {
	transform:scale(0);
	width:0;
	padding:0;
	opacity:0;
}
.fGallery[class*='grid-'] .finner-image > a {
	background-size:cover;
	background-repeat:no-repeat;
	background-position:center;
} 
.fGallery[class*='grid-'] .finner-image {
	box-shadow:0 0 5px rgba(0,0,0,.5);
}
/* Filter */
.fGallery .fGallery-filter {
	padding:5px;
}
.fGallery .fGallery-filter > a {
	color:#fff;
	background-color:#1f75fe;
	padding:3px 10px;
	margin-right:5px;
	opacity:.4;
	transition:.4s;
}

.fGallery .fGallery-filter > a:hover,
.fGallery .fGallery-filter > a.on {
	opacity:1;
}

/* Column */
.fGallery.grid-1  .fimage {width:100%;}
.fGallery.grid-2  .fimage {width:50%;}
.fGallery.grid-3  .fimage {width:33.33334%;}
.fGallery.grid-4  .fimage {width:25%;}
.fGallery.grid-5  .fimage {width:20%;}
.fGallery.grid-6  .fimage {width:16.66667%;}
.fGallery.grid-8  .fimage {width:12.5%;}
.fGallery.grid-10 .fimage {width:10%;}

/* Ratio */
.fGallery[class*='grid-'][class*='ratio'] .fimage {
	transform:scale(.96);
}
.fGallery[class*='ratio'] .finner-image {
	position:relative;
	width:100%;
	height:0;
	overflow:hidden;
}
.fGallery[class*='ratio'] .finner-image > a {
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
}
.fGallery.ratio-1 .finner-image {padding-top:100%;}
.fGallery.ratio-2 .finner-image {padding-top:56.25%;}
.fGallery.ratio-3 .finner-image {padding-top:75%;}
.fGallery.ratio-4 .finner-image {padding-top:66.66667%;}
.fGallery.ratio-5 .finner-image {padding-top:62.5%;}
.fGallery.ratio-6 .finner-image {padding-top:50%;}

.fGallery[class*='grid-'] .fimages .finner-link {
	display:flex;
	align-items:center;
	position:absolute;
	left:0;
	right:0;
	bottom:-30px;
	height:30px;
	padding:3px 6px;
	color:#fff;
	font-size:14px;
	background-color:rgba(0,0,0,.4);
	overflow:hidden;
	transition:.4s;
}

.fGallery[class*='grid-'] .fimages .fimage:hover .finner-link {
	bottom:0;
}

/* CAROUSEL */
.fGallery.carousel .fwrap {
	position:relative;
	overflow:hidden;
}
.fGallery.carousel .fimages {
	display:flex;
}
.fGallery.carousel .fimages:not(.noanim) {
	transition:.4s;
}
.fGallery.carousel .fimage {
	position:relative;
	transform:scale(.98);
}
.fGallery.carousel .fimage .finner-image {
	border:1px solid rgba(0,0,0,.5);
}
.fGallery.carousel .fimage .finner-image > a {
	background-size:cover;
	background-repeat:no-repeat;
	background-position:center;
}
.fGallery.carousel .finner-link {
	position:absolute;
	left:0;
	right:0;
	bottom:0;
	padding:0 10px;
	background-color:rgba(0,0,0,.4);
}

/* arrow */
.fGallery.carousel .fwrap > .fnav {
	display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: calc(50% - 20px);
	width: 40px;
	height:40px;
	background-color:rgba(0,0,0,.6);
    color: #fff;
	opacity:0;
    z-index: 2;
	transition:.4s;
}
.fGallery.carousel .fwrap:hover > .fnav {
	opacity:1;
}
.fGallery.carousel .fwrap > .fnav.prev {
	left:10px;
}
.fGallery.carousel .fwrap > .fnav.next {
	right:10px;
}

/* POSTS */
.fGallery.posts .fcategories {
	padding-top:10px;
	height:35px;
	overflow:hidden;
}
.fGallery.posts .fcategories > a {
	font-size:13px;
}
.fGallery.posts .ftitle > h3 {
	font-size: 20px;
    line-height: 1;
    margin: 10px 0;
    height: 58px;
    overflow: hidden;
}
.fGallery.posts .ftitle > h3 > a {
	color:#313131;
}
.fGallery.posts .fdesc > p {
	height:75px;
	overflow:hidden;
}
.fGallery.posts .flink > a {
	display:inline-block;
	padding:5px 10px;
	border:1px solid #1f75fe;
	border-radius:3px;
	color:#1f75fe;
	transition:.4s;
}
.fGallery.posts .flink > a:hover {
	background-color:#1f75fe;
	color:#fff;
}

.fGallery.posts.slider .fimage > div:not(.finner-image) {
	position:absolute;
	left:8%;
	z-index:4;
}
.fGallery.posts.slider .fimage > .finner-image > a {
	background-size:cover;
	background-position:center;
	background-position:absolute;
}
.fGallery.posts.slider .fimage > .finner-image:before {
	content:'';
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-color:rgba(0,0,0,.4);
	z-index:1;
}
.fGallery.posts.slider .fimage > .ftitle {
	top:calc(50% - 120px);
	right:8%;
	overflow:hidden;
}
.fGallery.posts.slider .fimage > .ftitle > h3 {
	height: 26px;
	padding:0 5px;
	font-size:26px;
	color:#000;
	text-shadow:1px 1px 3px #fff, -1px 1px 3px #fff, 1px -1px 3px #fff, -1px -1px 3px #fff;
}
.fGallery.posts.slider .fimage > .fcategories {
	top: calc(50% - 75px);
    background-color: #000;
    height: 26px;
    padding: 0 5px;
}
.fGallery.posts.slider .fimage > .fdesc {
	top:calc(50% - 30px);
}
.fGallery.posts.slider .fimage > .fdesc > p {
	width:50%;
	height:80px;
	padding:5px 10px;
	background-color:rgba(255,255,255,.8);
	color:#000;
}
.fGallery.posts.slider .fimage > .flink {
	top:calc(50% + 60px);
}
.fGallery.posts.slider .fimage > .flink > a {
	background-color:rgba(255,255,255,.8);
}
.fGallery.posts.slider .fimage > .flink > a:hover {
	background-color:#1f75fe;
}

/* PRODUCTS */
.fGallery.products .fimage {
	margin-bottom:50px;
}
.fGallery.products .fimage.processing {
	position:relative;
}
.fGallery.products .fimage.processing:before {
	content:'';
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-color:rgba(0,0,0,.7);
	z-index:10;
}
.fGallery.products .fimage > div {
	text-align:center;
}
.fGallery.products .fcategories {
	margin-top:30px;
	height:25px;
	overflow:hidden;
}
.fGallery.products .fcategories a {
	color:#1f75fe;
}
.fGallery.products .flabels .onsale,
.fGallery.products .flabels .outofstock {
	position: absolute;
    top: 20px;
    left: calc(50% - 60px);
    width: 120px;
    z-index: 2;
   
    padding: 0 14px;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
}
.fGallery.products .flabels .onsale {
	background-color: #1f75fe;
}
.fGallery.products .flabels .outofstock {
	background-color: #e5000b;
}
.fGallery.products .ftitle > h3 {
	margin:5px 0;
	font-size:16px;
	line-height:1.2;
	height:38px;
	overflow:hidden;
}
.fGallery.products .fprice > del > span {
	color:#000;
	font-size:14px;
}
.fGallery.products .fprice > ins {
	text-decoration:none;
}
.fGallery.products .fprice > ins > span {
	color:#1f75fe;
	font-weight:bold;
	font-size:18px;
}
.fGallery.products .fcart {
	margin:20px 0 10px 0;
}
.fGallery.products .fcart > a {
	position:relative;
	color:#1f75fe;
	border:1px solid #1f75fe;
	padding:6px 15px;
	border-radius:4px;
}
.fGallery.products .fcart a > i {
	transition:0s;
	vertical-align: sub;
}
.fGallery.products .fcart > a:hover {
	color:#fff;
	background-color:#1f75fe;
}
.fGallery.products .fcart > .quantity {
	position:relative;
	display:inline-block;
}
.fGallery.products .fimage.added .fcart > .addtocart:before, 
.fGallery.products .fimage.error .fcart > .addtocart:before {
	position: absolute;
    left: -30px;
    bottom: 0;
	font-family: dashicons;
    display: inline-block;
    line-height: 1;
    font-weight: 400;
    font-style: normal;
    speak: none;
    text-decoration: inherit;
    text-transform: none;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 20px;
    height: 20px;
    font-size: 20px;
    vertical-align: top;
    text-align: center;
    transition: color .1s ease-in;
}
.fGallery.products .fimage.added .fcart > .addtocart:before {
	content: "\f147";
	color:#1f75fe;
}
.fGallery.products .fimage.error .fcart > .addtocart:before {
	content: "\f335";
	color:#e5000b;
}
.fGallery.products .fcart > .quantity > input {
	background-color:#fff;
	height:32px;
	width:55px;
	padding:0 20px 0 5px;
	border-radius:4px;
}
.fGallery.products .fcart > .quantity > a {
	display: flex;
    align-items: center;
    justify-content: center;
	position: absolute;
    right: 2px;
    width: 15px;
    height: 15px;
    font-size: 12px;
    border-radius: 3px;
    color: #000;
}
.fGallery.products .fcart > .quantity > a.max {
	top:1px;
}
.fGallery.products .fcart > .quantity > a.min {
	bottom:0;
}
.fGallery.products .fchoose:not(.on) + .fcart {
	display:none;
}
.fGallery.products .fchoose {
	position:relative;
    padding: 20px 0 10px 0;
}
.fGallery.products .fchoose > span {
    color: #1f75fe;
    border: 1px solid #1f75fe;
    padding: 6px 15px;
    border-radius: 4px;
	cursor:pointer;
	transition:.4s;
}
.fGallery.products .fchoose:hover > span {
	 background-color: #1f75fe;
	 color: #fff;
}
.fGallery.products .fchoose .fvariations {
	position: absolute;
    bottom: 0;
    width: 90%;
    left: 5%;
    background: #f8f9fa;
    padding: 20px 10px;
    box-shadow: 0 0 1px rgba(0,0,0,.3);
    border-radius: 5px;
	opacity:0;
	visibility:hidden;
    z-index: 10;
	transition:.4s;
}
.fGallery.products .fchoose:hover .fvariations {
	bottom: 52px;
	opacity:1;
	visibility:visible;
}
.fGallery.products .fchoose .fvariations .fselect:not(:last-of-type) {
	margin-bottom:15px;
}
.fGallery.products .fchoose .fvariations select {
	width:90%;
	height:32px;
}
