/*
Theme Name: EltaMD
Description: Custom-made WordPress theme goodness.
Version: 2.1.0
Author: Atomic DC-Lauren Henry
Updated by: Atomic DC - Jonathan Freeman
Author URI: http://www.atomicdc.com/
*/


/* Store Locator */

#store_locator_address_field {
	width: 100%;
	padding: 10px 15px;
}

.store_locator_search_box .store-locator-row {
	margin-bottom: 10px;
}

.single_filter h5 {
	float: left;
	margin-top: 5px;
	margin-right: 5px;
}

#store_locator_get_my_position i {
	font-size: 12px;
	color: #AA0534;
}

.store-locator-radius-filter {
	min-height: 31px;
	margin-bottom: 10px;	
}

#store_locator_filter_open_close,
.single_filter_checkbox .control__indicator,
.store_locator_badges {
	display: none;
}
.store-locator-filters .single_filter_checkbox,
.store-locator-col-sm-12 .store_locator_result_list_description a {
	display: table;
	margin: 0;
	background: #AA0534;
	border-radius: 5px;
	padding:  5px 10px;
	text-decoration: none !important;
	color: #FFF !important;
	text-transform: uppercase;
	font-size: 14px;
	position: relative;
	float: left;
	text-shadow: none !important;
	font-weight: 700;
}
.store-locator-col-sm-12 .store_locator_result_list_description a {
	float: none !important;
}
@media (max-width: 415px){
	.store-locator-filters .single_filter_checkbox {
		font-size: 12px
	}
}
.store-locator-col-sm-12 .store_locator_result_list_description a {
	margin-top: 10px
}
.store-locator-filters .single_filter_checkbox:last-child {
	margin-left: 5px !important;
}
.store-locator-filters .single_filter_checkbox:hover {
	background: #d61a4c;
}
.store-locator-col-sm-12 .store_locator_result_list_description a:hover {
	background: #91042c;
}
.store-locator-filters .single_filter_checkbox.checked {
	background: #a3a3a3;
	opacity: .5;
}
.store-locator-filters .single_filter_checkbox.checked::before {
	content: url(/wp-content/uploads/2020/03/checked.png);
	display: inline-block;
	width: 15px;
	height: 18px;
	vertical-align: middle;
	margin-right: 5px;
	margin-bottom: 0px;
}
.store-locator-filters .single_filter_checkbox.checked:hover {
	background: #d61a4c;
	opacity: 1;
}
.store-locator-filters h5 {
	text-indent: -9999px;
}
.store-locator-filters h5:after {
	content: 'Select';
	text-indent: 0px;
	margin-right: 5px;
	margin-top: -19px;
	display: inherit;
	line-height: normal;
}

.store_locator_name {
	margin-left: 0 !important;
	color: #181818!important;
	line-height: normal;
}

.gm-style-iw.gm-style-iw-c .store-locator-col-sm-12 {
	padding-left: 5px !important;
	padding-right: 5px !important;
}

.store_locator_result_list_description {
	padding-left: 0 !important;
	margin-bottom: 15px;
}

.store_locator_actions a {
	margin-right: 1px;
}

.gm-style-iw, .store_locator_infowindow {
	white-space: inherit !important;
}

.store_locator_visit_store,
.store_locator_visit_buynow {
    background: #AA0534;
    color: #fff !important;
    text-shadow: none;
}
.store_locator_visit_store:hover,
.store_locator_visit_buynow:hover {
    background: #d61a4c;
}

.store_locator .select {
	height: 31px;
	width: 50%;
}
.fa-apple {
	top: 20px !important;
	right: 15px !important;
	z-index: 1 !important;
}
.fa-apple:before {
	background-image: url("/wp-content/uploads/2019/01/E-elite-logo-pin-md.png");
	content: " " !important;
	width: 40px;
	height: 40px;
	display: block;
}

#store_locator_result_list_box {
	padding: 0;
}
#store_locator_result_list .store_locator_result_list_item {
	padding: 0px;
	border-top: 1px solid #3d3d3d !important;
}
#store_locator_result_list .store_locator_result_list_item:first-child {
	border-top: 0 !important;
}

h2.store_modal_title {
	font-size: 12px;
	color: #444;
	letter-spacing: -0.03em;
	font-family:HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#store_locator_search_box {
	border: 2px solid #AF0935;
	padding: 15px;
}

#store_locator {
	padding-top: 3px;
}
#store_locator_sidebar {
}

#store_locator_result_list {
	top: 25px;
	position: relative;
	max-height: 585px !important;
	margin-bottom: -244px;
}

#store_locator_main {
	position: relative;
	top: 268px;
	margin-bottom: 268px;
}

@media (max-width: 768px){
	#store_locator_main {
		border-top: 1px solid #666;
		padding-top: 20px;
		padding-left: 0;
		padding-right: 0;
	}
	.gm-style-iw #main-content h3 {
		font-size: 18px;
		margin: 7px 0 0 7px
	}
	.gm-style-iw .store_locator_actions, .store_locator_description a {
		display: none;
	}
	.gm-style-iw, .store_locator_infowindow {
		max-width: 250px !important;
	}
}

.store_locator_contact {
	color: #fff;
	text-indent: -8px;
}

.store_locator_result_list_item .store-locator-is-premium {
	background: #ddd;
}
.store_locator_result_list_item .store-locator-is-premium:hover {
	background: #f2f2f2;
}

.store_locator_result_list_item .store_locator_details {
	padding: 20px 40px;
}

/* The Modal (background) */

#videoModalImg1, #videoModalImg2 {
	cursor: pointer;
}
.embed-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.videoModal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: hidden; /* Enable scroll if needed */
	background-color: rgb(0, 0, 0); /* Fallback color */
	background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.video-modal-container {
	display: flex;
	justify-content: space-around;
	margin-bottom: 50px;
}

/* Modal Content/Box */
.modal-content {
	background-color: #fefefe;
	margin: 30vh auto; /* 15% from the top and centered */
	padding: 20px;
	border: 1px solid #888;
	width: 50%; /* Could be more or less, depending on screen size */
}

@media (max-width: 959px){
	.modal-content {
		width: 100%; /* Could be more or less, depending on screen size */
	}
}

/* The Close Button */
.close {
	color: #aa0a33;
	float: right;
	font-size: 34px;
	font-weight: bold;
	margin-right: -22px;
	margin-top: -22px;
}

.close:hover,
.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

.video-modal-container div {
	height: 85px;
}

.video-modal-container div:after {
	content: '';
    background: url(https://eltamddev.wpengine.com/wp-content/uploads/2019/08/video-play-button-sprite-new.png);
    width: 50px;
    height: 50px;
    /* top: -72px; */
    /* right: -50px; */
    /* position: absolute; */
    display: flex;
    transform: scale(.8);
    margin: -70px auto 0;
}

.video-modal-container div:hover:after {
	background: url(https://eltamddev.wpengine.com/wp-content/uploads/2019/08/video-play-button-sprite-new.png) 50px;
}

/************************************************************************
								WooCommerce
************************************************************************/
	.product h2 {
		line-height: 1.2;
	}
	
	/* Give extra spacing for products with only 1 line of text - even out buttons */
		.woocommerce.columns-5 a[href$="/facial-cleanser/"] h2,
		.woocommerce.columns-5 a[href$="/lotion/"] h2,
		.woocommerce.columns-5 a[href$="/moisturizer/"] h2 {
			margin-bottom: 34px !important;
		}

	/* Product Filter */
		.woof_container.woof_container_select {
			width: 20% !important;
			margin-left: 25px;
			margin-right: 25px;
		}
		
		.filter-container {
			display: flex;
			align-items: baseline;
		}
		
		.filter-container .chosen-container {
			min-width: 180px;
		}
		
	/* Dropdowns */
		div.chosen-container-single a.chosen-single {
			border: 1px solid #E8E8E8;
			padding: 0 0 0 20px;
			background: none;
			box-shadow: none;
			height: 50px !important;
			line-height: 50px !important;
		}
		
		div.chosen-container-single .chosen-single div b {
			background-position: 0 15px !important;
		}
		
		/* Remove sort order */
			.woocommerce .woocommerce-ordering {
				display: none;
			}
			
	/* WooCommerce Details Button */
		.woocommerce a.button {
			display: flex !important;
			padding: 0 !important;
			background-color: #FFF !important;
			font-weight: normal !important;
			text-transform: uppercase;
			font-size: 12px !important;
		}
		
	/* WooCommerce Product Pages - Title Text */
	.woocommerce.columns-5 h2 {
		font-size: 13px !important;
		text-transform: uppercase;
		text-align: center;
	}
	.woocommerce.columns-5 h2 span:first-child{
		text-transform: none;
	}

	/* Product Comparison Plugin */
		/* Compare Button */
			.wooscp-btn {
				display: flex;
				justify-content: center;
				align-items: center;
				font-size: 100%;
				text-shadow: none;
				border: none;
				background: #DDD;
				margin-top: 5px;
				padding: 5px 2px;
				text-transform: uppercase;
				font-size: 9px !important;
				/* padding: 8px 10px; */
				font-weight: normal;
				/* width: 100%; */
			}
			.wooscp-btn:hover {
				background-color: #B20638;
				color: #FFF;
				border: none;
			}
			.wooscp-btn-added {
				background-color: #B20638;
				color: #FFF;
			}
			.single-product .wooscp-btn {
				display: inline-block;
				margin-top: 0;
				text-transform: uppercase;
				padding: 8px 18px;
				font-size: 11px;
				width: inherit;
			}
			.single-product .wooscp-btn:hover {
				border: none;
				box-shadow: 0 0 5px 1px #555;
			}
			
		/* Center Where To Buy Button In Product Table */
			.productWTB {
				display: flex;
				justify-content: center;
			}
			
		/* Product Search in bottom bar */
			.wooscp-search .wooscp-search-inner .wooscp-search-content .wooscp-search-content-inner .wooscp-search-input input {
				box-sizing: border-box;
			}
			
		/* Bottom Product Bar */
			.wooscp-area .wooscp-inner .wooscp-bar .wooscp-bar-items .wooscp-bar-item {
				background-color: #FFF !important;
			}
			
			.wooscp-area .wooscp-inner .wooscp-bar .wooscp-bar-items .wooscp-bar-item img {
				width: 30px !important;
				display: block;
				margin: 0 auto;
			}
			
		/* Popup */		
			/* Image */
				.wooscp-area .wooscp-inner .wooscp-table .wooscp-table-inner .wooscp-table-items table tbody tr.tr-image img {
					width: 35% !important;
					margin: 0 auto !important;
				}
				
			/* Table */
				.wooscp-area .wooscp-inner .wooscp-table {
					background-color: rgba(41, 42, 48, 0.8) !important;
					font-size: 15px !important;
				}
						
				.wooscp-area .wooscp-inner .wooscp-table .wooscp-table-inner {
					width: 55% !important;
					margin: 0 auto;
				}
				
				/* Close Button */
					#wooscp-table-close {
						background-color: #B20638;
					}
					.wooscp-area .wooscp-inner .wooscp-table .wooscp-table-inner .wooscp-table-close .wooscp-table-close-icon {
						min-width: 20px !important;
						min-height: 20px !important;
						background-color: #FFF !important;
						background-image: none !important;
						-webkit-mask: url('/wp-content/plugins/woo-smart-compare-premium/assets/images/remove-dark.svg') no-repeat 50% 50%;
					}
				
				/* First Column */
					.wooscp-area .wooscp-inner .wooscp-table .wooscp-table-inner .wooscp-table-items table tbody tr td:first-child {
						padding-left: 30px !important;
						font-weight: bold !important;
					}
				
				.wooscp-area .wooscp-inner .wooscp-table .wooscp-table-inner .wooscp-table-items table tbody tr td {
					padding: 10px 20px !important;
					border-right: 1px solid #eee !important;
				}
				
				.wooscp-area .wooscp-inner .wooscp-table .wooscp-table-inner .wooscp-table-items table thead tr th {
					text-align: center !important;
				}
				
				.tr-image td:first-child,
				.tr-cf_where_to_buy td {
					color: #FFF !important;
					background-color: #FFF !important;
				}
				
				/* Remove EltaMD from Product Names */
					#wooscp_table th a span {
						display: none;
					}
					
				/* Check Mark */
					/*.tr-pa_oil-free td:not(:first-child) {
						font-size: 25px;
						font-weight: bold;
					}*/
				
				/* Hover for Images, Where to Buy Button, Logo */
					.wooscp-area .wooscp-inner .wooscp-table .wooscp-table-inner .wooscp-table-items table tbody tr.tr-image:hover td,
					.wooscp-area .wooscp-inner .wooscp-table .wooscp-table-inner .wooscp-table-items table tbody tr.tr-cf_where_to_buy:hover td,
					tr.tr-cf_sun_care_logo_url td:hover {
						background-color: #FFF !important;
					}
				
				/* Hover for Rest of Table */
					.wooscp-area .wooscp-inner .wooscp-table .wooscp-table-inner .wooscp-table-items table tbody tr:hover td,
					.wooscp-area .wooscp-inner .wooscp-table .wooscp-table-inner .wooscp-table-items table tbody tr:nth-child(2n):hover td {
						background-color: #DDD !important;
					}
					
				/* Odd Table BG Color */
					.wooscp-area .wooscp-inner .wooscp-table .wooscp-table-inner div.wooscp-table-items table tbody tr:nth-child(2n) td {
						background-color: #EEE;
					}
					
				/* Horizontal Scrollbar */
					div.ps-theme-wpc > .ps-scrollbar-x-rail > .ps-scrollbar-x {
						height: 10px !important;
						border-radius: 10px !important;
					}
					
				/* Title Text */
					.wooscp-table-inner .wooscp_table thead tr th a span {
						text-transform: initial;
					}
		
	/* Product Titles */
		.woocommerce ul.products li.product .woocommerce-loop-product__title {
			padding: .5em 0;
			margin: 0;
			font-size: 1em;
			font-weight: 700;
			line-height: 21px;
			color: #666;
		}

	@media (max-width: 1000px) {
		.wooscp-area .wooscp-inner .wooscp-table .wooscp-table-inner {
			width: 100% !important;
		}
		
		.wooscp-area .wooscp-inner .wooscp-table {
			padding: 0 0 78px 0 !important;
		}
		
		.wooscp-table-inner {
			font-size: 12px;
		}
		
		.wooscp-area .wooscp-inner .wooscp-table .wooscp-table-inner .wooscp-table-items table tbody tr td {
			padding: 2px 10px !important;
		}
	}
	@media (min-width: 960px) {
		.woof_redraw_zone {
			display: flex;
		}
	}
	
	@media (max-width: 768px) {
		.woocommerce ul.products[class*=columns-] li.product:nth-child(2n), .woocommerce-page ul.products[class*=columns-] li.product:nth-child(2n) {
			float: none !important;
		}
		
		/* 2 Per Row Product Alignment */
			.woocommerce ul.products[class*=columns-] li.product:nth-child(2n), .woocommerce-page ul.products[class*=columns-] li.product:nth-child(2n) {
				float: right !important;
			}
			
			.woocommerce ul.products li.product .woocommerce-loop-product__title {
				min-height: 100px;
			}
			
			.bv_inline_hover_wrap_pdp {
				width: 180px !important;    
			}

			#main-content ul.products li {
				width: 150px !important;
			}
	}

/************************************************************************
								BazaarVoice
************************************************************************/

/* BV Custom Inline Ratings with hover */

.bv_inline_hover_wrap {
	display: block;
	position: relative;
	width:230px;
	height:210px;
	overflow: hidden;
}

.bv_inline_hover_wrap img {
	margin-left:40px;
	width:125px !important;
	display: block;
}

.bv_inline_popup_wrap {
	position: absolute;
	top:0;
	left:0;
	display: block;
	width:100%;
	height:410px;
}

.bv_inline_spacer {
	width:100%;
	height:210px;
	background:transparent;
}

.bv_inline_popup_inner_wrap {
	background:#fefefe;
	opacity: .8;
	padding:5px;
	border-radius: 4px;
}

.bv_inline_popup_wrap:hover {
	top:-150px;
}

.stars_spacer {
/*	margin:0 0 0 70px;*/
}

/* ================================= */

.bv_inline_hover_wrap_pdp {
	display: block;
	position: relative;
	width:230px;
	height:200px;
	overflow: hidden;
}

.bv_inline_hover_wrap_pdp img {
	display: block;
	margin-left:10px;
	margin: 0 auto !important;
}

.bv_inline_hover_wrap_pdp a img {
	max-width: 125px;
}

.bv_inline_popup_wrap_pdp {
	position: absolute;
	top:0;
	left:0;
	display: block;
	width:100%;
	height:630px;
}

.bv_inline_spacer_pdp {
	width:100%;
	height:410px;
	background:transparent;
}

.bv_inline_popup_inner_wrap_pdp {
	/*background:#fefefe;*/
	opacity: .8;
	padding:5px;
	border-radius: 4px;
}

.bv_inline_popup_wrap_pdp:hover {
	/*top:-320px;*/
}

.stars_spacer_pdp {
	/*margin:0 0 0 70px;*/
}

/************************************************************************
									Menu
************************************************************************/

#main-nav ul li:hover ul {
    overflow: visible;
}

#main-nav ul ul {
    width: 230px;
}

.sub-menu li {
	list-style: none
}

/************************************************************************
							Testimonials
************************************************************************/

.testimonialSection #readMore {
	display: none;
}

.testimonialSection p {
	margin: 0;
}

.testimonialSection .contentIntro {
	height: 250px;
}

.testimonialSection button {
	display: block;
	margin: 15px auto 0;
	background-color: #B2113C;
    padding: 10px 20px;
    border-radius: 5px;
	color: #FFF;
	font-weight: 100;
}

.pageContainer {
	width: 100%;
	margin: 0 auto;
}

.testimonialContainer {
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	flex-flow: row wrap;
	justify-content: space-around;
	margin: 50px 0 0;
}

.testimonialSection {
	display: flex;
    flex-direction: column;
    padding: 0 4% 25px;
    box-shadow: 0 0 8px 0px #BBB;
	align-items: center;
	width: 90%;
	margin-bottom: 100px;
	background: #FFC979;
	border-radius: 10px;
}

.testimonialSection h2 {
	text-transform: capitalize;
	text-align: center;
}

.testimonialImage {
    -webkit-border-radius: 50%;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 50%;
    -moz-background-clip: padding;
    border-radius: 50%;
    background-clip: padding-box;
    float: left;
    background-size: cover;
    background-position: center center;
}

.testimonialImageSize {
	width: 150px;
    height: 150px;
    margin: -75px auto 20px;
}

.testimonialPlaceholder {
	border-radius: 50%;
    background-color: #B2113C;
}

.testimonialContainer h5 {
	margin-bottom: 20px;
}

@media (min-width: 800px) {
	.testimonialSection {
		width: 45%;
	}
	
	.testimonialImageSize {
		width: 125px;
		height: 125px !important;
		margin: -65px auto 20px;
	}
}

@media (min-width: 1000px) {
	.pageContainer {
		width: 80%;
	}
}

@media (min-width: 1600px) {
	.pageContainer {
		width: 60%;
	}
	
	.testimonialSection {
		width: 30%;
	}
	
	.testimonialImageSize {
		width: 100px;
		height: 100px !important;
		margin: -50px auto 20px;
	}
}

/************************************************************************
							Product Pages
************************************************************************/
.whereToBuy {
	background-color: #FFBC38;
	border: none;
	margin: 0 15px 0 0;
	font-size: 11px;
	font-weight: 700;
	padding: 5px 10px;
	border-radius: 5px;
	text-decoration: none;
	color: #222;
	text-shadow: 0 1px rgba(255,255,255,.75);
	text-transform: uppercase;
}

.whereToBuy:hover {
	border: none;
	box-shadow: 0 0 5px 1px #555;
}

.single-product h2.title {
    margin-top: 20px;
}

/************************************************************************
				Zoom / Secondary Featured Product Image
************************************************************************/

.thumb-images{
	text-align: center;
	margin-right: 25%;
}
/*
#zoom01{
	margin-left: 35%;
}*/

/************************************************************************
							Store Locator Plus
************************************************************************/

#search_box #search_box_form #addy_in_address {
    flex: 0 0 100% !important;
}

#search_box #search_box_form #tagalong_category_selector {
	display: flex;
	flex: 1 1 auto;
}

/*****/

div.results_entry span.slp_result_address, div.results_entry div.results_row_right_column span {
    font-size: 14px !important;
}

#searchForm LABEL {
	text-align: left !important;
}

/** Show Scroll Bar on Mobile **/

	::-webkit-scrollbar {
		-webkit-appearance: none;
		width: 7px;
		height: 7px;
	}
	::-webkit-scrollbar-thumb {
		border-radius: 4px;
		background-color: rgba(0,0,0,.5);
		-webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
	}
	
/**** Layout ****/
	#results_box #results_box_output .results_row_left_column {
		width: 100% !important;
	}

	#results_box #results_box_output .results_row_right_column {
		display: block !important;
		width: 100% !important;
		vertical-align: bottom !important;
		text-align: left !important;
	}
	
	#results_box div.results_entry {
		padding: 10px !important; 
	}
	
	/* Elta Info Box */
		.eltaInfo {
			padding: 40px 30px 0px 30px;
		}
		
		.eliteContainer {
			display: flex;
			align-items: center;
		}
				

/**** Map ****/
    div#map.slp_map {
        height: 650px !important;
    }
    
    div#map {
        border: none !important;
        box-shadow: none !important;
    }

	/* Remove SLP Tagline */
		#slp_tagline {
			display: none;
		}

/**** Search Box ****/

	/* Remove thick red top and bottom border */
		#results_box #results_box_header, #search_box #search_box_header {
			display: none !important;
		}
		
	#search_box {
		margin-bottom: 25px;
	}
    
    #search_box #search_box_form .search_box {
        padding: 15px;
        border: 2px solid #AF0935;
        background: #FFF;
    }
	
	#search_box #search_box_form #tagalong_category_selector #tagalong_cascade_dropdowns {
		width: 40% !important;
	}
	
	/* Practices */
		#search_box #search_box_form #tagalong_category_selector {
			width: 47% !important;
		}
		
		#search_box #search_box_form #tagalong_category_selector LABEL {
			width: 60% !important;
		}	
    
	/* Submit */
        
        #search_box #search_box_form #radius_in_submit {
            flex: none !important;
            text-align: center !important;
        }
		
		#search_box #search_box_form #radius_in_submit input {
            background-color: #AF0935 !important;
			width: 100%;
			font-size: 16px;
			color: #FFF;
			padding: 12px 0;
			font-weight: normal;
			border: none;
			text-transform: uppercase;
        }
		
		#search_box #search_box_form #radius_in_submit input:hover {
			background-color: #d61a4c !important;
		}
		
    
        #search_box #search_box_form #tagalong_category_selector {
            display: flex !important;
        }

	/* Radius */
		#search_box #search_box_form #addy_in_radius {
			flex: 1 !important;
			/*width: 50% !important;*/
		}

	/* Radius Label */
		#search_box #addy_in_radius LABEL {
			width: 13% !important;
			margin-right: 40px;
		}

  /**** Results ****/
  
	div.results_entry span.location_name {
		color: #181818 !important;
		font-size: 16px;
		text-transform: uppercase;
		font-family: "Futura W01 Medium";
		font-weight: 600 !important;
	}
	  
    div#map_sidebar,
	div#slpw_resultsbox #slpw_results {
        background-color: #FFFFFF;
        height: 650px !important;
        overflow: auto;
        margin-top: 2px !important;
    }
	
	#results_box #results_box_output span.location_distance {
		display: inline-block !important;
	}
	
	#results_box #results_box_output .results_entry {
		border-bottom: 1px solid #3d3d3d !important;
	}
	
	#results_box #results_box_output {
		border-top: 1px solid #3d3d3d !important;
	}
		
	.slp_result_contact.slp_result_website {
		margin-left: 26px;
	}
	
	/* Address */
		.slp_result_address.slp_result_citystatezip {
			margin-bottom: 15px;
		}
		
	/* Description */
		.slp_result_address.slp_result_phone {
			margin-top: 15px;
		}
		
	/* Buy Now Button */
		/*.slpBuyNow {
			display: inline-block;
			margin: 0 0 5px;
			background: #A31F37;
			border-radius: 10px;
			padding: 10px 20px;
			text-decoration: none !important;
			color: #FFF !important;
			text-transform: uppercase;
			font-size: 14px;
		}*/
		
		.slpBuyNow {
			display: inline-block;
			margin: 0 0 5px;
			background: #A31F37;
			border-radius: 5px;
			padding: 1px 5px;
			text-decoration: none !important;
			color: #FFF !important;
			text-transform: uppercase;
			font-size: 14px;
			position: relative;
			left: 85px;
			top: 28px;
		}
		
		@media (max-width: 959px) {
			.slpBuyNow{
				position: initial;
			}
		}
		
		a.slpBuyNow:hover {
			background: #d61a4c;
		}
	
	/* Phone Icon */
		#results_box #results_box_output span.slp_result_phone::before,
		#results_box #results_box_output span.slp_result_fax::before,
		#slp_bubble_phone .location_detail_label::before {
			display: inline-block;
			width: 22px;
			height: 22px;
			content: url(/wp-content/uploads/2019/05/telephone_icon_22x22.png);
			vertical-align: middle;
			margin-right: 10px;
			margin-bottom: 5px;
		}
		
		#slp_bubble_fax .location_detail_label {
			margin-left: 32px;
		}
	
	/* Directions Icon */
		.slp_result_contact.slp_result_directions.location_distance::before {
			display: inline-block;
			width: 22px;
			height: 22px;
			content: url(/wp-content/uploads/2019/05/directions-icon.png);
			vertical-align: bottom;
		}
	
	/* Featured */
	
		.results_entry.featured .location_name {
			color: #AA0534 !important;
		}
	
		.results_entry.featured {
			background-color: #DDD;
		}
		
		/* Elite Icon */
		.results_line.location_iconarray {
			display: block;
			position: relative;
			right: -95px;
			bottom: -45px;
		}
		
		.results_entry.featured .results_row_right_column {
			margin-top: -30px;
		}
		
	/* Bubble */
		#slp_bubble_name {
			text-transform: uppercase;
			font-size: 14px;
		}

    /* Desktop */
		@media (min-width: 960px){
		
		/**** Layout ****/
			#results_box #results_box_output .results_row_left_column {
				width: 44% !important;
			}
			
			#results_box div.results_entry {
				padding: 40px 0 40px 20px !important; 
			}
			
		/* Elta Info Box */
			.eltaInfo {
				width: 56%;
				position: absolute !important;
				top: 713px;
				background: #ECECEC;
				right: 30px;
				padding: 60px 50px 52px 50px;
			}
			
			.eltaInfo .wpb_single_image {
				margin-bottom: 20px !important;
			}
			
			.eltaInfo .wpb_text_column {
				margin-bottom: 0 !important;
			}
			
			.eliteContainer div:first-child {
				margin-right: 20px;
			}
			
			#search_box {
				width: 44% !important;
			}
			
			#search_box #search_box_form #radius_in_submit input {
				width: 40%;
			}
			
		/* Practices */
			#search_box #search_box_form #addy_in_radius label {
				margin: 0 10px 0 48px;
			}
			
		/* Search Results */
			#results_box #results_box_output .results_row_right_column {
				display: inline-block !important;
				text-align: right !important;
				width: 35% !important;
			}
			
			div.results_entry span.location_name {
				font-size: 18px;
			}
			
			.slp_result_contact.slp_result_website {
				margin-left: 10px;
			}
			
			.results_entry.featured .results_row_right_column {
				margin-top: 0;
			}
			
			/* Elite Icon */
				.results_line.location_iconarray {
					right: 35px;
					bottom: 20px;
				}
		}	

/************************************************************************
							EltaMD Email Pop Up
************************************************************************/

.ui.form {
  width: 90%;
  padding: 20px;
  margin: 0 auto;
}
.column {
  padding:5px !important;
}
#EmmaSubmit {background-color: #D3D3D3; color: #000;}
.ui.form h3, .ui.form p {color: #000; font-size: 20px;}
/*.ui.small.modal.lb { margin-top: -5% !important; margin-left: -18% !important; }*/
.ui.modal { 
  background: transparent url("https://eltamd.com/wp-content/uploads/2018/06/GoldBeachWmn_v1.jpg") no-repeat top center;
  background-size: cover;
  border-radius:0;
  color:#000;
  text-align: center;
  object-fit: cover;
  overflow-x: hidden;
  overflow-y: hidden;
}
.dimmer {
  opacity: 0.2;
}
.b-close {
  cursor: pointer;
  font-family: verdana;
  font-size: 1em;
  font-style: normal;
  color: #000;
  position: absolute;
  right: 10px;
  top: 5px;
  z-index: 999;
}

#formHeaderSuccess .row, #formHeaderSuccess p{
	margin: 0;
}


  /* placeholder */
    ::-webkit-input-placeholder {
       text-align: left;
       color: #808080!important;
       font-size: 1em !important;
    }

    :-moz-placeholder { /* Firefox 18- */
       text-align: left;
       color: #808080!important;
       font-size: 1em !important;
    }

    ::-moz-placeholder {  /* Firefox 19+ */
       text-align: left; 
       color: #808080!important;
       font-size: 1em !important;
    }

    :-ms-input-placeholder {  
       text-align: left; 
       color: #808080!important;
       font-size: 1em !important;
    }

/************************************************************************
				Body - Margin Fix - Text Under Header
************************************************************************/

/* Moves page down from under header */
	@media (min-width: 960px){
		#main-content{
			margin-top: 182px;
		}
	}

/************************************************************************
						Tribe Events Calendar
************************************************************************/
	
/* 
These styles have been relocated to 
themes/eltamd/tribe-events/tribe-events.css
*/

/***********************************************************************/

.rev_slider .tp-mask-wrap h1.tp-caption {
    font-family: "Futura W01 Medium";
}
#main-content .rev_slider .tp-mask-wrap h3.tp-caption {
    font-family: "Futura W01 Light";
}

#location_search_zip_field,#location_search_city_field,#location_search_state_field{width:150px;}footer .gform_wrapper .top_label .gfield_label{color:#ffffff;}.gform_wrapper .top_label .gfield_label{color:#0098aa;}label{font-weight:700;}label span,legend span{font-size:18px!important;}.alignleft{float:left;}.alightright{float:right;}.blue-box{overflow:auto;}.six.columns{width:310px!important;}#login{width:250px;margin-left:200px;border:1px solid #ccc;padding:10px;}.loginFailed{width:250px;margin-left:200px;margin-bottom:20px;background:#ffebe8;border:1px solid red;border-radius:3px;-webkit-border-radius:3px;padding:10px;}.page-brand .entry,.page-id-909 .entry,.page-physician-login .entry,.page-id-5670 .entry{max-width:600px;float:left;}.entry-thankyou{float:middle;margin-top:160px;}.sidebarBrand{float:right;width:315px; margin-top:456px;}.sidebarBrand li{display:block;background:url(images/dotted-rule.png) repeat-y top left;min-height:70px;margin:0 0 50px;padding:25px 0;}.sidebarBrand .textwidget{margin-left:25px;}.sidebarBrand .textwidget h3 a{text-decoration:none;}.tabNavigation{overflow:auto;border-bottom:1px solid #ccc;}.tabNavigation li{width:auto!important;border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;padding:5px!important;}.page-brand .blue-box ul li{list-style:disc;}.page-logos-and-images .wp-caption{text-align:center;}.page-logos .wp-caption{text-align:center;}#location_search_widget_submit_field,input#location_search_submit_field.submit{background:url(images/physician-button.png);width:136px;height:29px;border:none;}#location_widget_search{margin-top:-10px;padding:0;}table.location_search tr{height:50px;}table.location_search tr td{padding:10px 0;}select#location_search_distance_field{position:relative;}table.location_search select#location_search_distance_field{width:75px;left:-20px;}footer .location_search_widget_zip_cell{text-indent:-9999px;}footer input#location_search_widget_zip_field{width:110px;}footer input#location_search_widget_submit_field.submit{position:relative;top:-51px;left:135px;}#location_widget_search_form{height:0;}#video .videoImage{float:left;text-align:center;margin:0 10px;}#video .videoTitle{text-align:center;margin-bottom:5px;font-size:13px;font-weight:700;}footer #top #second,footer #top #third{background:none;}footer #second.one-third.column{background:url(images/dotted-rule.png) repeat-y, url(images/dotted-rule.png) repeat-y!important;background-position:left, right!important;}footer #second{padding-left:20px;margin:0;}#jjlm-filter-select{border-radius:1px 1px 1px 1px;float:left;font-size:14px;width:160px;margin:20px -4px 30px 0;padding:1px;}.jjlm-filter-title h3{float:left;font-family:HelveticaNeue,"Helvetica Neue",Helvetica,Arial,sans-serif;padding:0;}.jjlm-filter-title{float:left;margin-right:20px;}.jjlm-filter-title > p{vertical-align:middle;}.jjlm-found{margin-left:30px;margin-top:15px;}.jjlm-lg-fix{text-transform:none;}html body .jjlm-filter-title h3{float:left;font-weight:100!important;text-transform:lowercase!important;font-family:HelveticaNeue,"Helvetica Neue",Helvetica,Arial,sans-serif !important;font-size:14px!important;padding:0;}#jjlm_product_filter{margin:0 0;padding:0;}#sl_div #searchForm .search_item{display:block;margin-left:10px;}#sl_div #radius_in_submit{display:block;margin-top:20px;}.sup{font-size:xx-small;vertical-align:top;}.lfb{margin-left:150px;}.chair-background{background-image:url(http://eltamd.com/development/wp-content/uploads/2014/04/chair-background.jpg);width:100%;height:349px;}.table-sweeps{width:65%;float:right;}.sweeps-teal{color:#fff;font-size:27px;margin-top:10px;}.sweeps-tan{font-size:22px;line-height:30px;text-align:left;margin-top:30px;}/*#wheretobuy{background-image:url(https://eltamd.com/wp-content/uploads/2013/07/where-to-buy2.jpg);display:block;float:left;width:77px;height:22px;}*/.soliloquy-slides,.soliloquy-item{margin:0!important;padding:0!important;}#product_custom_layout ul.products{float:none!important;}#product_custom_layout li{max-width:200px;}td.location_search_empty_cell,ul#bvseo-paginationSection{display:none;}.line,.six.columns.line h3{margin-left:40px;}@media only screen and (min-width:768px) and (max-width:959px){.page-brand .entry,.page-id-909 .entry,.page-physician-login .entry{max-width:100%;float:left;}.sidebarBrand{float:none;clear:both;margin:0 auto;}.sidebarBrand li{background:url(images/dotted-rule.png) repeat-y, url(images/dotted-rule.png) repeat-y;background-position:left, right;text-align:center;}.sidebarBrand li .textwidget{margin:0;}.sidebarBrand li .textwidget h3{margin-left:0!important;}.entry #login{margin:0 auto 50px;}footer #second{padding-left:15px;margin:0;}}@media only screen and (max-width:767px){.sidebarBrand{float:none;clear:both;margin:0 auto;}.sidebarBrand li{background:url(images/dotted-rule.png) repeat-y, url(images/dotted-rule.png) repeat-y;background-position:left, right;text-align:center;}.sidebarBrand li .textwidget{margin:0;}.sidebarBrand li .textwidget h3{margin-left:0!important;}.entry #login{margin:0 auto 50px;}html body .jjlm-filter-title h3{line-height:1;padding:0 0 0 30px;}#jjlm-filter-select{border-radius:1px 1px 1px 1px;float:left;font-size:14px;width:160px;margin:17px 0 30px;padding:1px;}.jjlm-found-link a{font-size:13px;}#jjlm_product_filter{margin:40px 0 0;padding:0;}footer #second.one-third.column{background:url(images/dotted-rule.png) repeat-x, url(images/dotted-rule.png) repeat-x!important;background-position:top, bottom!important;margin:10px 0;padding:10px 0;}}#main-content .digital-imagery-sidebar h3{font-size: 18px;text-transform: inherit;}#main-content .brand-sidebar h3{font-size: 18px;}.gfield_required {color:red;}

.page-id-5670 .sidebarBrand{margin-top:571px;}

footer #top.container {
    width: 1100px;
}
footer .container .one-third.column {
    width: 235px;
}
footer .container #first.one-third.column {
    width: 300px;
}
footer .one-third.column img {
    height: auto;
    max-width: 100%;
    -webkit-box-shadow: 0 0 10px 3px #ccc;
    -moz-box-shadow: 0 0 10px 3px #ccc;
    box-shadow: 0 0 10px 3px #ccc;
}
footer hr.top-footer, hr.related-taxonomies-hr {
    background: url("images/footer-line.png") no-repeat scroll center top;
}
footer #top #third {
    background: url("images/dotted-rule.png") repeat-y scroll right top;
    padding-right: 12px;
}
footer .one-third.column h5 {
    color: #717271;
    padding-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
    font-family: "Futura W01 Medium";
}
footer #fourth.one-third.column {
    display: inline;
    float: left;
    margin-left: 0;
    margin-right: 10px;
}
footer #second {
    padding-left: 12px;
    padding-right: 12px;
}
footer #first.one-third.column {
    margin-right: 12px;
}

#where-to-buy-form{
	float:right;
	margin-right:30px;
}

.buy-form{
	float:right;
	bottom:0;
	position:absolute;
	width:100%;
}

.address-bar {
    /*border-radius: 5px !important;*/
    /*float: right !important;*/
    margin-right: 0 !important;
    width: 115px !important;
    text-align: center;
	display:block  !important;
	float:none !important;
	margin-bottom:10px !important;
}
.find {
    width: 125px;
    margin-right: 8px;
    margin-bottom: 0;
    background: url("images/physician-button2.jpg") repeat scroll 0 0 !important;
	display:block !important;
	border-radius:0 !important;
}
#slpwidgetadvanced-2.widget_slpwidgetadvanced {
    bottom: 9px;
    padding-left: 5px;
    position: absolute;
}
#second.one-third.column {
    position: relative;
}
footer #top #second, footer #top #third {
    min-height: 240px;
}
#first img {
    height: 170px;
    max-width: 100%;
    width: auto;
}

#social .social-sep{
	padding:0 10px;
	display:none;
}

#social .aux-nav a{
	font-weight:bold;
	text-decoration:none;
	display:none;
}
#social .aux-nav a::before{
	content: "» ";
}

@media only screen and (max-width: 1200px) {
    footer #top.container {
        width: 900px;
    }
}

@media only screen and (max-width: 959px) {
    footer #top.container {
        width: 768px;
    }
    footer #top #second, footer #top #third, footer #top #first, footer #top #fourth {
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 767px) {
    footer #top.container {
        width: 420px;
    }
    footer #top #second, footer #top #third, footer #top #first, footer #top #fourth {
        background: none !important;
        margin-bottom: 15px;
    }
    #slpwidgetadvanced-2.widget_slpwidgetadvanced {
        bottom: 19px;
    }
	
	#social .social-sep{
		display:none;
	}
	
	#aux-nav .container .three.columns{display:none;}
	
	p.aux-nav{
		margin-bottom:10px;
	}
	
	#featured{
		margin: 0 auto;
	}
}

@media only screen and (max-width: 479px) {
    footer #top.container {
        width: 300px;
    }
    footer .container .one-third.column {
        width: 100% !important;
    }
    footer #first.one-third.column, footer #top #second, footer #top #third, footer #top #first, footer #top #fourth {
        margin-right: 0px;
    }
    footer #top #third {
        padding-right: 0px;
    }

    .results_entry.location_primary .results_row_left_column, .results_entry.location_primary .results_row_center_column.location_secondary, .results_entry.location_primary .results_row_right_column.location_tertiary {
        box-sizing: border-box;
        margin-bottom: 10px;
        padding: 0 10px;
        text-align: left;
        width: 100%;
    }
}

.home-column {
        width:30%!important;
}

@media only screen and (max-width: 767px) {
    .home-column {
        width:100%!important;
}
}

/* code by jeremy */

div.results_entry span.location_name {
    color: #181818!important;
    font-size: 21px;
    text-transform: uppercase;
    font-family: "Futura W01 Medium";
    font-weight: 500!important;
}


div.results_entry {
padding: 40px 0!important; 
}

#searchForm LABEL {
text-align:left!important;
}

.ingredients-finder .jjlm-found-link a {
    font-weight:bold;
    text-decoration:none;
}

.ingredients-finder .jjlm-found-link br {
    display:none;
}

.faq-tabs .vc_tta-tab > a, .faq-tabs .vc_tta-panel-title > a {
    background-color:#C4C4C4 !important;
    color:#000000 !important;
    font-family: "Futura W01 Medium" !important;
    font-size:16px;
    opacity:1;
    transition:opacity 0.3s ease;
}

.faq-tabs .vc_tta-tab.vc_active > a, .faq-tabs .vc_active .vc_tta-panel-title > a {
    background-color:#FFBB00 !important;
    color:#000000 !important;
}

.faq-tabs .vc_tta-tab > a:hover, .faq-tabs .vc_tta-panel-title > a:hover {
    opacity:0.8;
}

.faq-tabs .vc_tta-tabs-container {
    padding-left:10px !important;
}

.faq-tabs .vc_tta-panel-body {
    padding-left:10px !important;
    padding-right:10px !important;
    max-width:900px;
}

.faq-tabs .vc_tta-panel-body a {
    text-decoration:none;
    color:#A41E34;
    transition:opacity 0.3s ease;
    opacity:1;
}

.faq-tabs .vc_tta-panel-body a:hover {
    opacity:0.8;
}

.faq-tabs .vc_toggle {
    border-top:1px solid #ccc !important;
    margin:0 !important;
    padding:15px 0px 15px 0 !important;
}

.faq-tabs .vc_toggle_size_md.vc_toggle_arrow .vc_toggle_icon {
    right:10px !important;
    top:7px !important;
    position:absolute;
}

.faq-tabs .vc_toggle_size_md .vc_toggle_icon::after {
    display:none !important;
}

.faq-tabs .vc_toggle_arrow.vc_toggle_active .vc_toggle_icon::before {
    visibility:visible !important;
}

.faq-tabs .vc_toggle_size_md .vc_toggle_icon::before {
    height:12px !important;
    width:12px !important;
    border-width:6px !important;
    margin-top:0 !important;
    margin-left:0 !important;
}

.faq-tabs .vc_toggle_icon:before {
    border-color:#666;
    content:'';
    display:block;
    box-sizing:border-box;
    border-style:solid;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    border-width: 6px;
    border-bottom-color: transparent!important;
    border-right-color: transparent!important;
    border-left-color: transparent!important;
    -webkit-transform: translateY(25%);
    -ms-transform: translateY(25%);
    transform: translateY(25%);
    
}

.faq-tabs .vc-active .vc_toggle_icon:before, .faq-tabs .vc_toggle_arrow.vc_toggle_active .vc_toggle_icon:before {
    -webkit-transform: rotate(180deg) translateY(25%);
    -ms-transform: rotate(180deg) translateY(25%);
    transform: rotate(180deg) translateY(25%);
}

.faq-tabs .vc_toggle_title > h4 {
    padding-right:50px;
    display:inline-block;
    font-family:helvetica,arial,sans-serif;
    font-weight:bold;
    font-size:18px !important;
    line-height:1.3;
}

.faq-tabs .vc_toggle_content {
    margin-bottom:0 !important;
}

.ingredients-finder .jjlm-filter-title {
    margin-bottom:1rem;
}

.ingredients-finder .jjlm-found-link {
    position:relative;
}

.ingredients-finder .jjlm-found-link a {
    color:#A41E34;
}

.ingredients-finder .jjlm-found-link a:hover {
    opacity:0.7;
}