﻿/* 
 Theme Name:     Sher Agency
 Author:         Sher Agency
 Author URI:     https://sheragency.com/
 Template:       Divi
 Version:        1.0
 Description:   A Child Theme built using the elegantmarketplace.com Child theme maker
Developed by Andrew Palmer for Elegant Marketplace www.elegantmarketplace.com Free to use and duplicate as many times as you like
 Wordpress Version: 5.7.5
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 
/*** Header ***/
.phone-wrap {
    display : inline-block;
}
.phone-number {
	position: absolute;
    display: inline-block;
    overflow: hidden;
	height: 32px;
	line-height: 32px;
    width: 0;
    vertical-align: top;
    margin-right: 0;
    right:0;
}
.phone-number .et_pb_text_inner {
	color: #000;
    position: absolute;
    text-align: center;
    left: 0;
    top: 0;
    right: 0;
	width: 150px;
}

/*** Home ***/
.home h1 span {
	font-family: 'Carrois Gothic',Helvetica,Arial,Lucida,sans-serif !important;
}

/*** Controllers ***/
.et-pb-controllers a {
	border: 2px solid #fff;
	margin-right: 20px;
	height: 12px;
	width: 12px;
}
.et-pb-controllers .et-pb-active-control {
	background-color: #000 !important;
}

/*** Button Hover Effect ***/
/* Effect 1 */
.single_add_to_cart_button,
.hvr-sweep-to-right,
.hvr-sweep-to-right-reverse {
	display: inline-block !important;
	vertical-align: middle;
	-webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	position: relative;
	-webkit-transition-property: color;
	transition-property: color;
	-webkit-transition-duration: 0.2s;
	transition-duration: 0.2s;
}
.single_add_to_cart_button:before,
.hvr-sweep-to-right:before,
.hvr-sweep-to-right-reverse:before {
	display: inline-block !important;
	content: "" !important;
	position: absolute;
	z-index: -1;
	top: 0;
	left: 31px;
	right: 0;
	bottom: 0;
	-webkit-transform: scaleX(0);
	transform: scaleX(0);
	-webkit-transform-origin: 0 50%;
	transform-origin: 0 50%;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transition-duration: 0.2s;
	transition-duration: 0.2s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}
.hvr-sweep-to-right:hover:before, .hvr-sweep-to-right:focus:before, .hvr-sweep-to-right:active:before,
.hvr-sweep-to-right-reverse:hover:before, .hvr-sweep-to-right-reverse:focus:before, .hvr-sweep-to-right-reverse:active:before {
	-webkit-transform: scaleX(1);
	transform: scaleX(1);
}

/* Effect 2 */
.hvr-shutter-out-horizontal {
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	position: relative;
	-webkit-transition-property: color;
	transition-property: color;
	-webkit-transition-duration: 0.2s;
	transition-duration: 0.2s;
}
.hvr-shutter-out-horizontal:before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 31px;
	right: 0;
	-webkit-transform: scaleX(0);
	transform: scaleX(0);
	-webkit-transform-origin: 50%;
	transform-origin: 50%;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transition-duration: 0.2s;
	transition-duration: 0.2s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}
.hvr-shutter-out-horizontal:hover, .hvr-shutter-out-horizontal:focus, .hvr-shutter-out-horizontal:active {
  color: white;
}
.hvr-shutter-out-horizontal:hover:before, .hvr-shutter-out-horizontal:focus:before, .hvr-shutter-out-horizontal:active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}
.et_pb_button.hvr-sweep-to-right:before,
.et_pb_button.hvr-sweep-to-right-reverse:before,
.et_pb_button.hvr-shutter-out-horizontal:before {
	opacity: 1 !important;
}
body #page-container .et_pb_section .et_pb_button.hvr-sweep-to-right:before,
body #page-container .et_pb_section .et_pb_button.hvr-sweep-to-right-reverse:before,
body #page-container .et_pb_section .et_pb_button.hvr-shutter-out-horizontal:before {
	display: inline-block !important;
}
.hvr-sweep-to-right:before {
	background: #c49a68 !important;
}
.hvr-sweep-to-right-reverse:before {
	background: #c49a68 !important;
}
.gform_wrapper .gform_footer input[type="submit"]:before,
.hvr-shutter-out-horizontal:before {
	background: #c49a68 !important;
}
/*** End of Button Hover Effect ***/

/*** Image Hover Effects ***/
.img-zoom {
	overflow: hidden !important;
}
.img-zoom img {
	top: 0 !important;
	left: 0 !important;
	transform: unset !important;
	transition: transform .5s ease !important;
}
.img-zoom:hover img {
	transform: scale(1.1) !important;
}

/*** Woocommerce ***/
p.woocommerce-result-count {
	color: #333;
}
.woocommerce-cart-form .button,
.woocommerce div.product form.cart .button,
.woocommerce .button {
	background-color: #B18857 !important;
	font-size: inherit !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	padding: 19px 40px !important;
}
.secure-notice,
.cfw-billing-address-description {
	font-family: inherit !important;
	font-weight: inherit !important;
}

/*** Filter ***/
.filter-title { display: none; }
.dp-dfg-skin-default .dp-dfg-filter a.active {
	background-color: #b18857 !important;
}

/*** Login ***/
.woocommerce form.login {
	max-width: 500px;
}

/*** Gravity Form ***/
.contact-form label {
	color: #fff !important;
}
.contact-form .gform_validation_errors > h2,
.contact-form .gform_legacy_markup_wrapper .validation_message,
.contact-form .gform_legacy_markup_wrapper .gfield_required {
	color: #B18857 !important;
}
.contact-form .gform_legacy_markup_wrapper div.validation_error {
	border-color: #B18857 !important;
	color: #B18857 !important;
}
.gform_wrapper .gform_footer input[type="submit"] {
	background-color: #c49a68 !important;
	color: #fff;
	border: 0 !important;
	padding: 19px 40px !important;
}
.gform_wrapper .gform_footer input[type="submit"]:hover {
	cursor: pointer;
	padding: 19px 40px !important;
}

/*** Form ***/
.gform_wrapper input[type="text"],
.gform_wrapper input[type="password"],
.gform_wrapper textarea {
	padding: 8px 14px !important;
}


/*** Responsive ***/
@media only screen and (min-width: 980px) {
	.cfw-place-order-wrap {
		width: 60%;
	}
	.btn-inline .et_pb_button_module_wrapper {
    display: inline-block;
	}
	.btn-inline .et_pb_button_module_wrapper:first-child {
		margin-right: 40px;
	}
}
@media all and (max-width: 980px) {
/*** wrap row in a flex box ***/
	.custom_row {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-wrap: wrap; /* Safari 6.1+ */
		flex-wrap: wrap;
	}
	 
	/*** custom classes that will designate the order of columns in the flex box row ***/
	.first-on-mobile {
		-webkit-order: 1;
		order: 1;
	}
	 
	.second-on-mobile {
		-webkit-order: 2;
		order: 2;
	}
	 
	.third-on-mobile {
		-webkit-order: 3;
		order: 3;
	}
	 
	.fourth-on-mobile {
		-webkit-order: 4;
		order: 4;
	}
	/*** add margin to last column ***/
	.custom_row:last-child .et_pb_column:last-child {
		margin-bottom: 30px;
	}	
	.phone-icon {
		position: relative;
		top: 4px;
	}
 
}