/* 
Theme Name: David And Son
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

:root{
	--fond-doux : #F1EFE7;
	--noir-david-son : #1B1B20;
	
}

.wrap-store-details{
	background: var(--fond-doux);
}

#yith-sl-results .get-direction,
#yith-sl-results .title,
.title-search-bar,
#yith-sl-show-all-stores{
	display : none !important;
}

#yith-sl-results * {
	font-family: "Outfit", Sans-serif;
	font-weight: 300;	
}

#yith-sl-results .wrap-store-details:hover {
    background-color: var(--fond-doux) !important;
}

#yith-sl-results .view-website,
#yith-sl-view-all{
	padding : 10px 20px;
	font-family: "Outfit", Sans-serif;
	font-weight: 300;	
	border : 1px solid var(--noir-david-son) !important;
	text-transform : uppercase;
}

#yith-sl-results .store-name .name{
	font-size : 20px;
	font-weight : 700;
	margin-bottom : 10px;
	display: block;
}

#yith-sl-results .opening,
#yith-sl-results .store-phone a{
	font-size : 16px;
}



#yith-sl-results .opening strong{
	font-weight : 500;
	color : var(--noir-david-son);
}

#yith-sl-results .store-phone a,
#yith-sl-results .store-address{
	font-weight : 400;
	font-size : 16px;
	margin-bottom : 0;
}
	

#yith-sl-view-all{
	color : #fff !important;
	background :var(--noir-david-son) !important;		
}

#yith-sl-results .view-website{
	color : var(--noir-david-son) !important;
	background :var(--fond-doux)!important;	
	position : relative;
	padding-right : 46px;
	text-align : left;
	max-width : 200px;
	float : right;
}
#yith-sl-results .view-website .rdv{
	display: inline-block;
	position : relative;
	right: -6px;
    top: 3px;
    width: 26px;
    height: 20px;
    background-color: var(--noir-david-son);
}

#yith-sl-results .view-website:hover .rdv{
	background-color: var(--fond-doux);
}



#yith-sl-results .view-website:hover{
	background : var(--noir-david-son) !important;
	color : var(--fond-doux)!important;	
	text-decoration : none;
}

#yith-sl-view-all:hover{
	background : var(--noir-david-son) !important;
	color : var(--fond-doux)!important;	
}


.foot-result,
.head-result{
	display : flex;
	gap : 15px;
	align-items: center;
	flex-wrap : wrap;
}
.foot-result .left,
.head-result .left{
	width : calc(60% - 15px);
}
.foot-result .right,
.head-result .right{
	width : calc(40%);
}
#yith-sl-search-icon{
	border : 1px solid var(--noir-david-son);
	border-radius : 4px;
	right : 0px;
	padding : 5px 15px;
	width : 40px;
	height : 40px;
	top : 0;
	background : var(--noir-david-son);
}

#yith-sl-search-icon span{
	width: 22px;
    height: 24px;
    display: inline-block;
    background: #fff;
    position: relative;
    left: -7px;
    top: 2px;
}

#yith-sl-geolocation{
	width : 40px;
	height : 40px;
	background-color : #fff !important;
	border : 1px solid var(--noir-david-son);
	padding : 0 0 0 0px !important;
	background-position-x: 7px;
}


#yith-sl-results .view-website{
	display : block;
	padding : 15px 10px 15px 10px;
	background : var(--noir-david-son);
	color : #fff;
	border-color : 1px solid var(--noir-david-son);
	text-transform : uppercase;	
	text-align : left;
	font-size : 18px;
	border-radius: 4px;
}

#yith-sl-search-stores{
	position : relative;
}

#yith-sl-wrap-search-bar input{
	border: 0 !important;
	border-bottom : 1px solid #F1F2F3 !important;
}

#yith-sl-wrap-search-bar{
	width : 100%;
}

.wrap-buttons{
	position : absolute;
	right : 50px;
	top : 0;
}

#yith-sl-geolocation{
	font-size : 0;
}


.additional-stores{
	margin-top : 20px !important;
}

.yith-sl-image-left #yith-sl-results .store-info, .yith-sl-image-right #yith-sl-results .store-info{
    width: calc(100%  - 150px);
	
}

.yith-sl-image-left #yith-sl-results .store-image, .yith-sl-image-right #yith-sl-results .store-image {
    width: 150px;
}


.icon-store{
	width : 30px;
	height : 30px;
	background : var(--noir-david-son);
	display : inline-block;
}
.icon-store.instagram{
	width: 34px;
    height: 34px;
}

.foot-result .right{
	justify-content : end;
	display : flex;
	gap : 10px;
	align-items: center;
}



.pin-modal-container{
	display : flex;
	flex-wrap : wrap;
	gap : 10px;
	
}
.pin-modal-container *{
	font-family: "Outfit", Sans-serif;
}

.pin-modal-container .store-image{
	width : 120px;
}

.pin-modal-container .store-image .right{	
    display: flex;
    align-items: anchor-center;
	gap: 10px;
}
.pin-modal-container a,
.pin-modal-container .store-image a{
	outline : none;
}

.pin-modal-container .store-info{
	width : calc(100%  - 130px);
}

.pin-modal-container .rdv-info{
	display : flex;
}

.yith-sl-pin-modal .store-address{
	margin-bottom : 0;
}
.rdv-info{
	gap : 15px;
}
.rdv-info a{
	font-weight: 300 !important;
	text-transform : uppercase;
	color : #000 !important;
	padding: 15px 10px 15px 10px;
	text-align: center;
}

.rdv-info a.view-website{
	padding: 15px 10px 15px 10px;
    border: 1px solid var(--noir-david-son) !important;
	border-radius: 4px;
	
}

#yith-sl-gmap .gm-style .gm-style-iw{
	max-width: 450px !important;
	width : 100% !important;
}

.yith-sl-pin-modal .custom-link{
	width: 50%;
}

@media(max-width : 1600px){
	#yith-sl-results .view-website{
		font-size : 15px;
		padding : 10px;
	}
	#yith-sl-results > span {
		width: 15px;
	}
	
}

@media(max-width : 1400px){
	#yith-sl-results .view-website{
		font-size : 13px;
	}
}


@media(max-width : 992px){
	#yith-store-locator .wrapper-main-sections{
		flex-wrap: wrap;
		display: flex !important;
	}
	.wrapper-main-sections #yith-sl-section-map{
		order : 1;
		width : 100%;
		display : none;
	}
	
	.wrapper-main-sections #yith-sl-section-results{
		order : 2;
		width : 100%;
		
	}
	
	#yith-sl-search-stores{
			display:  none;
	}
	
	.foot-result .right, .head-result .right,
	.foot-result .left, .head-result .left{
		/*width : 100%;*/
	}
	
	#yith-sl-results .view-website{
		margin-bottom : 10px;
		float : right;
	}
	
	#yith-sl-results .store-info .store-name, .yith-sl-pin-modal .store-name,
	#yith-sl-results .store-contact{
		margin-bottom : 0;
	}
	
	.foot-result .right{
		justify-content : end;
	}
}

@media(max-width : 768px){
	#yith-sl-results .view-website .rdv{
		display : none;
	}

}
@media(max-width : 550px){
	.yith-sl-image-left #yith-sl-results .store-image{
		display : none;
	}
	.yith-sl-image-left #yith-sl-results .store-info, .yith-sl-image-right #yith-sl-results .store-info{
		width : 100%;
	}
	
	#yith-sl-results .store-name .name {
		font-size: 16px;
	}
	#yith-sl-results .store-phone a, #yith-sl-results .store-address{
		font-size : 15px;
	}
	
	#yith-sl-results .store-info{
		padding-right: 0;
	}
}