/*
Theme Name: Flatsome - shared on wplocker.com
Theme URI: http://flatsome.uxthemes.com/
Author: UX-Themes
Author URI: http://www.uxthemes.com/
Description: Multi-Purpose Responsive WooCommerce Theme
Version: 3.1.6
Text Domain: flatsome
License:
License URI:
*/


/*************** 
All custom CSS should be added to Theme Options > Custom CSS,
or in the style.css of a Child Theme.
***************/
/*---------------*/
/***** Sarah *****/
/*---------------*/

figure.effect-sarah {
	background: #42b078;
}

figure.effect-sarah img {
	max-width: none;
	width: -webkit-calc(100% + 20px);
	width: calc(100% + 20px);
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-10px,0,0);
	transform: translate3d(-10px,0,0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

figure.effect-sarah:hover img {
	opacity: 0.4;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-sarah figcaption {
	text-align: left;
}

figure.effect-sarah h4 {
	position: relative;
	overflow: hidden;
	padding: 0.5em 0;
background: #cc0001;
    font-size: 20px;
    color: #fff;
    text-align: center;
    display: inline-block;
}

figure.effect-sarah h4::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: #fff;
	content: '';
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(-100%,0,0);
	transform: translate3d(-100%,0,0);
}

figure.effect-sarah:hover h4::after {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}
figure.effect-sarah a {
color:#fff;
font-weight: 800;
}
figure.effect-sarah a:hover {
    color: #333 !important;
}
figure.effect-sarah p {
	font-size: 16px;
    text-transform: none;
       padding: 1em 0em 0em 1em;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(100%,0,0);
	transform: translate3d(100%,0,0);
}

figure.effect-sarah:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}
.grid {
display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.grid figure {
    position: relative;
    float: left;
    overflow: hidden;
    margin: 10px 1%;
min-width: 300px;
    max-width: 300px;
    max-height: 165px;
    background: #cc000196;
    text-align: center;
    cursor: pointer;
}
.grid figure figcaption, .grid figure figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.grid figure figcaption {
    padding: 0em 2em 2em 0em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.cat-sar img {
	height: 100%;
}
.cat-sar h4 {
	font-size: 15px !important;
	background: #ffff37!important;
	    color: #222!important;
}
.cat-sar {
	min-height: 165px;
    max-height: 165px;
    border-radius: 50px;
}
.cat-sar figcaption {
	padding: 0em 0em 2em 0em!important;
	   
}
figure.cat-sar h4::after {
	background: #555!important;
}
.cat-sar p{
padding: 1.5em 0em 0em 1em!important;
}
@media only screen and (min-device-width:480px) and (max-device-width:767px) {
.banner-grid {height:1000px !important}
}
@media only screen and (min-device-width:320px) and (max-device-width:480px) {
.banner-grid {height:1300px !important}
}
@media only screen and (min-device-width:768px) and (max-device-width:1024px) {
.banner-grid {height:800px !important}
}
.term-description {
	display: none!important;
}