/**
Theme Name: Astra Child
Author: Hoop Communication
Author URI: https://www.hoopcommunication.it/
Description: Child theme for Astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


/* Search nad filter PRO widget */
.custom-search-filters .search-filter-disabled{
	position: relative;
}
.custom-search-filters .search-filter-disabled:after{
	content: url('ajax-loader.gif');
	position: absolute;
	bottom: 5px;
}
.custom-search-filters *:focus {
    outline: none;
}
.custom-search-filters ul{
	position: relative;
    margin: 0;
    padding: 0;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
}
.custom-search-filters ul li{
    margin: 0 20px;
    text-align: left;
}
.custom-search-filters ul li h4{
    color: #000000;
    font-weight: bold;
	padding-bottom: 0;
}
.custom-search-filters ul li label{
    width: 100%;
    
}
.custom-search-filters ul li select, .custom-search-filters ul li input[type=text]{
    color: #000000;
    width: 100%;
    background-color: transparent;
    border: 1px solid #c0c0c0;
    border-left-width: 0;
    border-right-width: 0;
    border-top-width: 0;
    border-radius: 0;
    padding-left: 0;
}
.custom-search-filters .search-filter-reset{
	text-transform: uppercase;
}
.custom-search-filters .search-filter-reset:after{
	content: 'x';
    margin-left: 6px;
    font-weight: 600;
}
.custom-search-filters form.searchandfilter{
	text-align: center;
}



@media screen and (max-width: 640px) {
    .custom-search-filters ul li {
        width: 80%;
    }
	
	.custom-search-filters .sf-field-reset{
		position: absolute;
		width: 70px;
		bottom: 10px;
		right: 0;
		padding: 0;
	}
}

@media screen and (min-width: 1024px) {
	.custom-search-filters .sf-field-reset{
		position: absolute;
		width: 70px;
		bottom: unset;
		top: 0;
	    right: 0;
		padding: 0;
	}
}

.custom-search-filters select:disabled{
	opacity: .5!important;
}

.custom-search-filters.filters-on-page .sf-field-reset{
	position: initial !important;		
	padding: 12px 0;
}

.custom-search-filters .sf-field-taxonomy-size .chosen-container{
	margin-top: 15px;
}

.custom-search-filters .sf-field-taxonomy-size .chosen-drop{
	background: #F4F4F4;
}

.custom-search-filters .sf-field-taxonomy-size .chosen-single{
	border-top: 0;
    border-right: 0;
    border-left: 0;
	border-bottom-color: #c0c0c0;
	background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding-bottom: 5px;
	
}

.custom-search-filters .sf-field-taxonomy-size .chosen-drop .chosen-results{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.custom-search-filters .sf-field-taxonomy-size .chosen-container .chosen-results li.highlighted{
	background-color: #000000;
	background-image: none;
}

/* End search and filter pro widget */


/* WP Store locator styling */              

#wpsl-gmap img[src*="red@2x"] {
	/* Hiding start marker */
    display: none !important;
}

#wpsl-wrap{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

#wpsl-wrap #wpsl-gmap{
	width: 100% !important;
	/*
	@media screen and (min-width: 768px) {
		flex-basis: 75%;
		border-right: 12px solid white;
		order: 1;
	}
	*/
}

#wpsl-wrap .wpsl-search, #wpsl-wrap #wpsl-result-list{
	display: none !important;
}

#wpsl-wrap .wpsl-search {
	margin: 0;
	background-color: #f2f2f2;
	@media screen and (min-width: 768px) {
		flex-basis: 25%;
		border-left: 18px solid white;
		order: 2;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: stretch;
	}
}

#wpsl-wrap .wpsl-search #wpsl-search-wrap{
	@media screen and (min-width: 768px) {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: stretch;
	}
}

#wpsl-wrap .wpsl-search #wpsl-search-wrap label{
	@media screen and (min-width: 768px) {
		color: #000000;
		text-transform: uppercase;
		font-weight: 600;
		display: block;
		width: 100%;
	}
	
}

#wpsl-wrap .wpsl-search #wpsl-search-wrap form{
	@media screen and (min-width: 768px) {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: stretch;
	}
}

#wpsl-wrap .wpsl-search #wpsl-search-wrap .wpsl-input{
	@media screen and (min-width: 768px) {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: stretch;
		margin: 0;
	}
}

#wpsl-wrap .wpsl-search #wpsl-search-wrap .wpsl-input > div{
	@media screen and (min-width: 768px) {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: stretch;
		margin: 0;
	}
}

#wpsl-wrap .wpsl-search #wpsl-search-wrap .wpsl-input input[type=text]{
	@media screen and (min-width: 768px) {
		display: block;
		width: 100%;
	}
}

#wpsl-wrap .wpsl-search #wpsl-search-wrap .wpsl-search-btn-wrap{
	margin: 0;
}

#wpsl-wrap .wpsl-search #wpsl-search-wrap #wpsl-search-btn{
	width: 100%;
	margin-top: 15px;
	background-color: #000000;
	background-image: none !important;
	border: none !important;
	color: #ffffff;
	text-transform: uppercase;
	font-weight: 600;
}

#wpsl-wrap #wpsl-result-list{
	flex-basis: 100%;
	margin: 30px 0 0 0;
	@media screen and (min-width: 768px) {
		order: 3;
	}
}
#wpsl-stores ul{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin-left: -15px !important;
	margin-right: -15px !important;|
}
#wpsl-wrap #wpsl-result-list #wpsl-stores ul li{
	flex-basis: 25%;
	padding: 0 15px !important;
	margin-bottom: 30px;
	border-bottom: none;
}

/* Store item in list */
.store-item{
	background-color: #f2f2f2;
	padding: 20px;
	display: flex;
    flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
    height: 100%;
}
.store-item__name{
	text-transform: uppercase;
}
.store-item__details{
	font-size: 14px;
}
.store-item__details p{
	margin-bottom: 0;
}
.store-item__details span{
	display: block;
}
.store-item__details--secondary{}

.store-item .secondary-name{
	font-weight: 600;
	text-transform: uppercase;
}
.store-item .secondary-mail{}
.store-item .secondary-tel{}

.store-item__tools{
	display: flex;
    flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	
}

.wpsl-showinmap{
	cursor: pointer;
	text-decoration: underline;
	font-weight: 500;
	margin-top: 20px;
}

/* Info window */
.wpsl-info-window{
	text-align: center;
}
.wpsl-info-window .country-name{
	font-size: 20px;
	text-transform: uppercase;
}
.wpsl-info-window .secondary-name{
	font-weight: 600;	
}
.wpsl-info-window__btns{
	margin-top: 8px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
}
.btn-contact{
	width: 100%;
	margin-bottom: 7px;
	background-color: #000000;
	color: #ffffff;
	padding-top: 6px;
	padding-bottom: 6px;
	text-align: center;
}
.btn-contact:hover, .btn-contact:link, .btn-contact:visited{
	color: #dddddd;
}
/* END WP Store locator styling */              


