/**
 * Contains the styling for the the elements plugin
 *
 * @author Pix & Hue
 */

 /* -------------------------------  Theme Widgets ------------------------------- */

 /* ------- About Me Widget ------- */
.everleigh_about_widget,
.elementor-widget-wp-widget-everleigh_about_widget .everleigh-about-widget-caption {
	text-align: center;
} 
.everleigh-about-img {
	line-height: 1;
}
.everleigh-about-widget-caption {
	background: #EFE9E8;
	padding: 22px 20px 27px;
	margin: 8px 0 0 0;
}
.widget .everleigh-about-widget h4 {
	margin: 0 0 8px 0;
}
.elementor-widget-wp-widget-everleigh_about_widget h4 {
	margin: 0 0 8px 0;
	font-size: 19px;
	letter-spacing: 1px;
}
.everleigh-about-widget p {
	font-size: 12.5px;
	margin: 0;
}
.everleigh-about-social-icons {
	line-height: 1;
	padding: 14px 0 0 0;
}
.everleigh-about-social-icons a {
	color: #222222;
	font-size: 12px;
	padding-right: 12px;
}
.everleigh-about-social-icons a:hover {
	color: #BBBBBB;
}
.everleigh-about-social-icons a:last-of-type {
	padding: 0;
}

 /* ------- Map Widget ------- */
.everleigh_map_widget,
.elementor-widget-wp-widget-everleigh_map_widget {
	padding: 0;
	text-align: center;
	background: #F0F0F0;
}
.everleigh-map-widget {
	padding-bottom: 27.5px;
}
.everleigh-map-widget h4 {
	margin: 0;
	font-size: 18px;
}
.everleigh-map-widget h6, 
.everleigh-map-widget .fa-map-marker-alt {
	display: inline-block;
}
.everleigh-map-widget .fa-map-marker-alt {
	font-size: 24px;
	color: #333333;
	margin: 0 0 7px;
}
.everleigh-map-widget h6 {
	font-family: 'Raleway', sans-serif;
	font-weight: 300;
	font-size: 12.5px;
	letter-spacing: .5px;
	color: #333333;
	margin-bottom: 0px;

}
.everleigh-map-widget img {
	width: 400px;
	max-width: 400px !important;
	margin: -15px 0 0 -50px;
}

/* ------- Latest Product Widget ------- */
.everleigh-latest-products-widget {
	border: 2px solid #E5E5E5;
	padding: 35px 60px;
	text-align: center;
	box-sizing: border-box;
	height: 660px;
	overflow: scroll;
}
.widget .everleigh-latest-products-widget h4,
.elementor-widget-wp-widget-everleigh_latest_products_widget h5 {
	margin: 0 0 30px 0;
	position: relative;
	display: inline-block;
	color: #222222 !important;
}
.everleigh-latest-products-widget h4:after,
.elementor-widget-wp-widget-everleigh_latest_products_widget h5:after {
	position: absolute;
	content: '';
	background: #EFE9E8;
	width: calc(100% + 10px);
	left: -5px;
	bottom: 0px;
	height: 8.5px;
	z-index: -1;
}
.everleigh-latest-product-item {
	text-align: center;
	margin: 0 0 35px 0;
}
.everleigh-product-image {
	width: 130px;
	margin: 0 auto;
	line-height: 1;
}
.everleigh-latest-product-title {
	font-size: 12.5px;
	color: #222222;
	padding: 8px 0 0 0;
	margin: 0;
}

/* ------- Custom List Widget ------- */
.everleigh-custom-list-widget {
	background: #EFE9E8;
	padding: 30px 22px 28px;
	text-align: center;
}
.everleigh-custom-list-item p {
	margin: 0 0 8px 0;
	padding: 0 0 8px 0;
	border-bottom: 1px solid #FFFFFF;
	line-height: 1.3;
}
.everleigh-custom-list-item a {
	color: #222222;
	font-size: 12.5px;
	letter-spacing: 1px;
}

/* ------- Custom Image List Widget ------- */
.everleigh-custom-image-list-item {
	position: relative;
	display: table;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	height: 175px;
	width: 100%;
	margin: 0 0 18px 0;
	background-color: #f3f3f3;
}
.everleigh_custom_image_list_widget a:last-of-type .everleigh-custom-list-item,
.elementor-widget-wp-widget-everleigh_custom_image_list_widget a:last-of-type .everleigh-custom-list-item {
	margin: 0;
}
.everleigh-custom-image-item-overlay {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}
.everleigh-custom-image-list-title {
	display: inline-block;
	margin: 0 15px;
	background: #FFFFFF;
	font-size: 11px;
	letter-spacing: 1px;
	color: #222222;
	text-transform: uppercase;
	padding: 7px 14px;
}

/* ------- Recent Posts Widget ------- */
.everleigh-recent-posts-widget,
.elementor-widget-wp-widget-everleigh_recent_posts_widget  {
	text-align: center;
}
.everleigh-recent-posts-widget .widget-title,
.elementor-widget-wp-widget-everleigh_recent_posts_widget h5 {
	position: relative;
	margin: 0 0 27px 0;
	display: inline-block;
	color: #222222 !important;
}
.everleigh-recent-posts-widget .widget-title:after,
.elementor-widget-wp-widget-everleigh_recent_posts_widget h5:after {
	position: absolute;
	content: '';
	background: #EFE9E8;
	width: calc(100% + 10px);
	left: -5px;
	bottom: 0px;
	height: 8.5px;
	z-index: -1;	
}
.everleigh-page-wrapper ul.everleigh-side-newsfeed,
.everleigh-post-wrapper ul.everleigh-side-newsfeed {
	padding: 0;
	margin: 0;
	list-style: none;
}
.everleigh-page-wrapper ul.everleigh-side-newsfeed > li,
.everleigh-post-wrapper ul.everleigh-side-newsfeed > li {
	margin-bottom: 25px;
}
.everleigh-page-wrapper ul.everleigh-side-newsfeed > li:last-of-type,
.everleigh-post-wrapper ul.everleigh-side-newsfeed > li:last-of-type {
	margin-bottom: 0px;
}
.everleigh-side-item {
	overflow: hidden;
	line-height: 1;
	border-bottom: 1px solid #e5e5e5;
}
.everleigh-side-image {
	width: 125px;
	margin-right: 10px;
	display: inline-block;
	float: left;
	line-height: 1;
	margin-bottom: -2px;
}
.everleigh-side-item-text {
	display: inline-block;
	text-align: left;
	margin: -2px 0 0 0;
	width: 165px;
}
.everleigh-side-no-thumbnail {
	width: 100% !important;
	margin: 0 0 12px 0;
}
.widget h4.everleigh-side-title, 
.elementor-widget-wp-widget-everleigh_recent_posts_widget h4.everleigh-side-title {
	margin: 0;
	line-height: 12.5px;
	font-weight: 300;
	font-family: 'Raleway', sans-serif;
	text-align: left;
}
.everleigh-side-title a {
	color: #333333;
	font-size: 12.5px;
	letter-spacing: 1px;
	text-align: left;
	display: inline-block;
	line-height: 1.55;
}
.everleigh-side-item-date {
	display: inline-block;
	color: #888888;
	font-size: 10px;
	text-transform: uppercase;
	margin-top: 6px;
}

/* ------- Latest Video Widget ------- */
.everleigh-latest-video-widget {
	text-align: center;
}
.everleigh-latest-video-widget .widget-title,
.elementor-widget-wp-widget-everleigh_latest_video_widget h5 {
	position: relative;
	display: inline-block;
	margin: 0 0 24px 0;
	color: #222222 !important;
}
.everleigh-latest-video-widget .widget-title:after,
.elementor-widget-wp-widget-everleigh_latest_video_widget h5:after {
	position: absolute;
	content: '';
	background: #EFE9E8;
	width: calc(100% + 10px);
	left: -5px;
	bottom: 0px;
	height: 8.5px;
	z-index: -1;	
}
.everleigh-latest-video-img {
	position: relative;
}
.everleigh-latest-video-img a {
	display: block;
	line-height: 0;
}
.everleigh-video-play {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 35px;
	height: 50px !important;
	border-radius: 50% !important;
	border: 1px solid #ffffff !important;
	padding: 10px 15px;
}
.everleigh-video-play:hover {
	opacity: .5;
	cursor: pointer;
	-webkit-transition: all .3s ease 0s;
	-moz-transition: all .3s ease 0s;
	-o-transition: all .3s ease 0s;
}
.everleigh-latest-video-description {
	font-size: 12.5px;
}
.everleigh-latest-video-description p {
	margin: 14.5px 20px 18px;
}
.everleigh-latest-video-description a p {
	color: #222222;
}
.everleigh-subscribe-link {
	display: block;
	background: #EFE9E8;
	line-height: 1;
	padding: 17px 12px 19px;
}
.everleigh-subscribe-text {
	color: #222;
	text-transform: uppercase;
	font-size: 11.5px;
	letter-spacing: 1px;
	font-weight: 400;
	}

/* ------- Facebook Widget ------- */
.everleigh_facebook_widget,
.elementor-widget-wp-widget-everleigh_facebook_widget {
	text-align: center;
}
.everleigh_facebook_widget .widget-title, 
.everleigh_facebook_widget.widget h4,
.everleigh-custom-sidebar .elementor-widget.elementor-widget-wp-widget-everleigh_facebook_widget h5 {
	margin-bottom: 12px;
	color: #222222;
	position: relative;
	display: inline-block;
}
.everleigh_facebook_widget .widget-title:after, 
.everleigh_facebook_widget.widget h4:after,
.everleigh-custom-sidebar .elementor-widget.elementor-widget-wp-widget-everleigh_facebook_widget h5:after {
	position: absolute;
	content: '';
	background: #EFE9E8;
	width: calc(100% + 10px);
	left: -5px;
	bottom: 0px;
	height: 8.5px;
	z-index: -1;
}

/* -------------------------------  Social Media ------------------------------- */

/* ------- Share Buttons ------- */
.everleigh-share-icon {
	padding-left: 8px;
	display: table-cell;
	vertical-align: middle;
	width: 15px;
	text-align: right;
}
.everleigh-share-buttons,
.everleigh-share-close-icon {
   	display: none;
}
.everleigh-share-buttons {
	position: absolute;
	right: 0px;
	bottom: 9px;
	background: #FFFFFF;
	line-height: 1;
}
.everleigh-share-buttons i {
	color: #222222;
	margin-left: 15px;
	font-size: 12px;
}
.everleigh-share-close-icon {
	position: absolute;
	bottom: 1.5px;
	right: 102px;
}
.everleigh-share-close-icon .fa-times {
	color: lightgrey;
	font-size: 15px;
}
.everleigh-share-close-icon:hover .fa-times {
	cursor: pointer;
	color: grey;
	-webkit-transition: all .3s ease 0s;
	-moz-transition: all .3s ease 0s;
	-o-transition: all .3s ease 0s;
}

 /* ------- Block Layout ------- */
.everleigh-block-share-buttons {
	margin-top: 10px;
}
.everleigh-block-share-buttons i {
	color: #222222;
	margin-left: 10px;
	font-size: 12px;
}
.everleigh-block-share-buttons a:first-of-type i {
	margin-left: 0px;
}

 /* ------- Single Post / Show Full Blog Content ------- */
 .everleigh-single-post-footer-sm-wrapper {
 	display: table-cell;
 	vertical-align: middle;
 	width: 50%;
 }
.everleigh-single-share-label {
	display: inline-block;
	text-transform: uppercase;
	font-size: 12px;
	margin-right: 7px;
	letter-spacing: 1px;
}
.everleigh-single-post-footer-sm-wrapper .everleigh-block-share-buttons {
	margin: 0;
	display: inline-block;
}
 .everleigh-blog-show-full-content .everleigh-post-footer.everleigh-post-footer-no-comments .everleigh-single-post-share-buttons {
 	width: 100%;
 	float: none;
 }

 /* -------------------------------  Affiliate Links ------------------------------- */
.everleigh-blog-show-full-content.everleigh-product-slider .everleigh-post-footer,
.everleigh-blog-show-full-content.everleigh-aff-code .everleigh-post-footer,
.everleigh-blog-show-full-content.everleigh-aff-shortcode .everleigh-post-footer,
.everleigh-blog-show-full-content.everleigh-aff-link .everleigh-post-footer,
.everleigh-full-width .everleigh-blog-show-full-content.everleigh-product-slider .everleigh-post-footer,
.everleigh-full-width .everleigh-blog-show-full-content.everleigh-aff-code .everleigh-post-footer,
.everleigh-full-width .everleigh-blog-show-full-content.everleigh-aff-shortcode .everleigh-post-footer,
.everleigh-full-width .everleigh-blog-show-full-content.everleigh-aff-link .everleigh-post-footer,
.everleigh-single-post.everleigh-aff-link.everleigh-post-has-tag .everleigh-affiliate-section {
	margin: 0;
}
.everleigh-blog-show-full-content.everleigh-product-slider .everleigh-affiliate-section {
	padding: 35px 0;
	margin: 35px 0 0 0;
}
.everleigh-blog-show-full-content.everleigh-product-slider.everleigh-post-has-no-tags .everleigh-affiliate-section,
.everleigh-blog-show-full-content.everleigh-aff-code.everleigh-post-has-no-tags .everleigh-affiliate-section,
.everleigh-blog-show-full-content.everleigh-aff-shortcode.everleigh-post-has-no-tags .everleigh-affiliate-section,
.everleigh-blog-show-full-content.everleigh-product-slider.everleigh-post-no-tags .everleigh-affiliate-section,
.everleigh-blog-show-full-content.everleigh-aff-code.everleigh-post-no-tags .everleigh-affiliate-section,
.everleigh-blog-show-full-content.everleigh-aff-shortcode.everleigh-post-no-tags .everleigh-affiliate-section {
	margin: 45px 0 0 0;
}
.everleigh-blog-show-full-content.everleigh-product-slider .everleigh-post-footer.everleigh-post-footer-no-comments.everleigh-post-footer-no-sm,
.everleigh-blog-show-full-content.everleigh-aff-code .everleigh-post-footer.everleigh-post-footer-no-comments.everleigh-post-footer-no-sm,
.everleigh-blog-show-full-content.everleigh-aff-shortcode .everleigh-post-footer.everleigh-post-footer-no-comments.everleigh-post-footer-no-sm {
	margin: 0;
}
.everleigh-single-post.everleigh-aff-link.everleigh-post-has-no-tags .everleigh-affiliate-section,
.everleigh-full-width .everleigh-single-post.everleigh-aff-link.everleigh-post-has-no-tags .everleigh-affiliate-section {
	margin-top: 25px;
}

/* ---- Custom Product Slider  ----- */
.everleigh-blog-item.everleigh-product-slider{
	padding-bottom: 35px;
}
.everleigh-blog-item.everleigh-aff-code,
.everleigh-blog-item.everleigh-aff-shortcode {
	padding-bottom: 0;
}
 .everleigh-affiliate-section {
 	margin: 32px 0 0 0;
 	padding: 35px 0 0 0;
 	border-top: 1px solid #e5e5e5;
 }
 .everleigh-full-width .everleigh-affiliate-section {
 	margin: 40px 0 0 0;
 }
 .everleigh-affiliate-title {
 	font-family: 'Raleway', sans-serif;
 	font-size: 11.5px;
 	font-weight: 300;
 	line-height: 1;
 	margin: 0 0 35px 0;
 	color: #999999;
 	text-transform: uppercase;
 }
 .everleigh-aff-code .everleigh-affiliate-title,
 .everleigh-aff-shortcode .everleigh-affiliate-title {
	margin: 0;
 }
 .everleigh-custom-product-slider .everleigh-product-image {
	width: auto;
 }
.everleigh-custom-product-slider .bx-wrapper {
	margin: 0 auto;
}
.everleigh-custom-product-slider .bx-controls {
	position: relative;
}
.everleigh-custom-product-slider .bx-wrapper .bx-prev,
.everleigh-custom-product-slider .bx-wrapper .bx-next {
	margin-top: -65px;
}
.everleigh-custom-product-slider .bx-wrapper .bx-prev {
	left: -82px;
}
.everleigh-custom-product-slider .bx-wrapper .bx-next {
	right: -102px;
}
.everleigh-custom-product-slider .bx-prev img, 
.everleigh-custom-product-slider .bx-next img {
	width: 11px;
}
.everleigh-custom-product-slider .bx-prev:hover img, 
.everleigh-custom-product-slider .bx-next:hover img {
	cursor: pointer;
	opacity: .7;
	-webkit-transition: all .3s ease 0s;
	-moz-transition: all .3s ease 0s;
	-o-transition: all .3s ease 0s;	
}

/* -- Single Affiliate Link + Image -- */
.everleigh-aff-link.everleigh-blog-item {
	padding-bottom: 45px;
}
.everleigh-blog-item.everleigh-aff-link .everleigh-post-excerpt {
	margin: 20px 0 0 0;
}
.everleigh-aff-link .everleigh-post-container,
.everleigh-aff-link .everleigh-affiliate-section {
	float: left;
	display: inline-block;
}
.everleigh-aff-link .everleigh-post-container {
	position: relative;
	width: 68%;
	padding-right: 40px;
}
.everleigh-aff-link .everleigh-post-container:after {
	position: absolute;
	content: '';
	right: 0;
	top: 25px;
	height: 100%;
	width: 1px;
	border-right: 1px solid #E5E5E5;
}
.everleigh-aff-link .everleigh-affiliate-section {
	border-top: 0px;
	margin: 20px 0 0 0;
	padding: 0 20px;
	width: 22.4%;
	text-align: center;
}
.everleigh-aff-link .everleigh-affiliate-title {
	margin: 0 0 20px 0;
}
.everleigh-blog-item.everleigh-aff-link.everleigh-no-post-thumbnail .everleigh-post-header,
.everleigh-blog-item.everleigh-aff-code.everleigh-no-post-thumbnail .everleigh-post-header,
.everleigh-blog-item.everleigh-aff-shortcode.everleigh-no-post-thumbnail .everleigh-post-header {
	margin: 0;
}
.everleigh-blog-item.everleigh-aff-link.everleigh-blog-show-full-content .everleigh-post-tags {
	margin-bottom: 35px;
} 

/* -- Single Affiliate Link + Image (Show Full Post Content) -- */
.everleigh-blog-item.everleigh-blog-show-full-content.everleigh-aff-link {
	padding: 0;
}
.everleigh-blog-show-full-content .everleigh-affiliate-section,
.everleigh-blog-show-full-content.everleigh-aff-link .everleigh-affiliate-section,
.everleigh-full-width .everleigh-blog-show-full-content.everleigh-aff-link .everleigh-affiliate-section {
	border-top: 1px solid #E5E5E5;
	width: 100%;
	padding: 35px 0;
	margin: 15px 0 0 0;
}
.everleigh-blog-show-full-content .everleigh-affiliate-section .everleigh-affiliate-item {
	line-height: 1;
}
.everleigh-blog-show-full-content.everleigh-aff-link .everleigh-affiliate-title {
	text-align: left;
}

/* -- Full Width -- */
.everleigh-full-width .everleigh-aff-link .everleigh-post-container {
	width: 72.7%;
}
.everleigh-full-width .everleigh-aff-link .everleigh-affiliate-section {
	width: 20.6%;
}

 /* -------------------------------  Affiliate Links (Block Layout) ------------------------------- */
.everleigh-block-item .everleigh-affiliate-section,
.everleigh-block-item.everleigh-aff-link .everleigh-affiliate-section {
	margin: 35px 0 0 0;
	padding: 35px 0 0 0;
}
.everleigh-block-item .everleigh-affiliate-title {
	margin: 0 0 30px 0;
}
.everleigh-block-item.everleigh-aff-code .everleigh-affiliate-title,
.everleigh-block-item.everleigh-aff-shortcode .everleigh-affiliate-title {
 	margin: 0;
}
.everleigh-block-item .everleigh-custom-product-slider .bx-prev {
	left: -70px;
}
.everleigh-block-item .everleigh-custom-product-slider .bx-next {
	right: -70px;
}
.everleigh-full-width .everleigh-aff-link.everleigh-block-item .everleigh-affiliate-section,
.everleigh-full-width .everleigh-aff-link.everleigh-block-item .everleigh-post-container {
	width: 100%;
	display: block;
	float: none;
}
.everleigh-full-width .everleigh-aff-link.everleigh-block-item .everleigh-post-container {
	padding: 0;
}
.everleigh-full-width .everleigh-aff-link.everleigh-block-item .everleigh-affiliate-section {
	border-top: 1px solid #E5E5E5;
	margin: 35px 0 0 0;
}
.everleigh-aff-link.everleigh-block-item .everleigh-post-container::after {
	display: none;
}

 /* -------------------------------  Responsive Styles ------------------------------- */
@media only screen and (max-width: 1100px) {
	#everleigh-sidebar #everleigh-searchform input[type="text"],
	.everleigh-custom-sidebar #everleigh-searchform input[type="text"] {
		width: 405px;
	}
	.everleigh-map-widget img {
		width: 480px;
		max-width: 480px !important;
		margin: 0 auto;
	}
	.everleigh-map-widget span {
		display: block;
		clear: both;
	}
	.everleigh-custom-image-list-item {
		height: 280px;
	}
	.everleigh-side-image {
		width: 200px;
		margin-right: 15px;
	}
	.everleigh-side-item-text {
		width: 265px;
	}
}

@media only screen and (max-width: 650px) {
	#everleigh-sidebar #everleigh-searchform input[type="text"],
	.everleigh-custom-sidebar #everleigh-searchform input[type="text"] {
		width: 340px;
	}
	.everleigh-map-widget img {
		margin: -15px 0 0 -32.5px;
	}
	.everleigh-custom-image-list-item {
		height: 240px;
	}
	.everleigh-side-image {
		width: 140px;
		margin-right: 10px;
	}
}	

@media only screen and (max-width: 500px) {

	#everleigh-sidebar #everleigh-searchform input[type="text"],
	.everleigh-custom-sidebar #everleigh-searchform input[type="text"] {
		width: 250px;
	}
	.everleigh-map-widget img {
		width: 425px;
		max-width: 425px !important;
	}	
	.everleigh-map-widget img {
		margin: -15px 0 0 -50px;
	}
	.everleigh-custom-image-list-item {
		height: 190px;
	}
	.everleigh-side-image {
		width: 125px;
	}
	.everleigh-side-item-text {
		width: 190px;
	}	
}