
/* search template */ 

:root {
    --main-color: #222;
    --main-back-color: #fc2863;
}
.search_stick_box{
	background-color: #f7f7f7;
}
#search-template{
    position: relative; 
	padding-top: 1rem;
}
.search-results-header{
    position: absolute;
    top: 44px;
    left: 3rem;
}
#search-template .seach-box .search-header>div {
    background-color: var(--main-back-color);
    padding: 1rem 2rem;
    color: #fff;
    cursor: pointer;
    font-size: 19px;
    text-align: center;
}

#search-template .seach-box .search-header>div.active {
    background-color: #fff;
    color: var(--main-color);
}

#search-template .seach-box .search-header>div.secondaire {
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    width: 405px; 
}

#search-template .seach-box .search-header>div.locatif {
    border-top-right-radius: 10px;
    width: 280px;
    height: 58px;
    border-top-left-radius: 10px;

}

#search-template .seach-box .search-content { 
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 0;
    height: 62px;
    transition: .5s;
}
#search-template .seach-box .search-content .custom-search.checkbox label{
    position: relative;
    font-size: 14px;
    display: flex;
    padding-left: 30px;
    align-items: center;
}
#search-template .seach-box .search-content.active{
    height: 260px;
}
#search-template .seach-box .search-content .custom-search.col3{
    display: none;
}
#search-template .seach-box .search-content .custom-search.col3.active{
    display: flex;
	margin-top: 1.3rem;
}

#search-template ul.transports li span{
    margin-right: .6rem;
    margin-bottom: .6rem;
}

#search-template .seach-box .search-content .custom-search:last-child{
    margin-bottom: 0px!important;
}
#search-template .seach-box .search-content .custom-search>div {
    margin-right: 1.3rem;
    position: relative;
}

#search-template .seach-box .search-content .custom-search>div:last-child {
    margin-right: 0rem;
}

#search-template .seach-box .search-content .custom-search>div>p {
    color: #999;
    margin-bottom: .5rem;
}

#search-template .seach-box .search-content .custom-search.checkbox label{
    position: relative;
    padding-left: 30px;
}

#search-template .seach-box .search-content .custom-search.checkbox input{
    width: 20px;
    position: absolute;
    left: 0;
    margin-right: 1rem;
    height: 20px;
}
#search-template .seach-box .search-content .custom-search>div.ville input {
    height: 47px;
    width: 400px;
    padding-left: 3rem;
    font-size: 14px;
    color: var(--main-color);
    background-image: url(../img/option-ville.svg);
    background-position: 17px center;
    background-repeat: no-repeat;
    background-size: 15px;
}
#search-template .seach-box .search-content .custom-search>div.ville input{
    outline: none;
}


#search-template .seach-box .search-content .custom-search>div.ville input::-webkit-input-placeholder {
    color: var(--main-color);
}

.archive .select2-container--open .select2-dropdown,
.single .select2-container--open .select2-dropdown{
    /* top: 30px!important; */
}

#search-template .seach-box .search-content .custom-search>div select ,
#programmesBox .result-ville select{
    width: 180px;
    font-size: 14px;
    padding: 13.5px;
    cursor: pointer;
    /* 清除默认的箭头样式 */
    appearance: none;
    outline: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    /* 右侧添加⼩箭头的背景图 */
    background-image: url(../img/select-icon.svg);
    background-repeat: no-repeat;
    background-position: 90% center;
    background-size: 12px
}
#programmesBox .result-ville select{
    width: 280px;
}
#programmesBox .result-ville p{
    color: #999;
    margin-bottom: 0.5rem;
    text-align: right;
}

.select2-container .select2-search--inline .select2-search__field{
    font-family: 'Open Sans', sans-serif;
}
.select2-container .select2-search--inline .select2-search__field::placeholder {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}
#search-template .seach-box .search-content .custom-search>div select[name='livraison']{
    width: 277px;
}

/* #search-template .seach-box .search-content .custom-search>div select[multiple]{
    visibility: hidden;
} */

.images_list_block_pdf  .images_list_pdf {
    display: flex;
}

#search-template .seach-box .search-content .custom-search>div.results p {
    visibility: hidden;
} 

#search-template .select2-container--default .select2-selection--single .select2-selection__arrow{
    height: 47px !important; 
}

#search-template .select2-container--default .select2-selection--single .select2-selection__arrow b{
    display: none!important;
}


#search-template .select2-container .select2-selection--single{
    height: 47px !important;
    line-height: 47px !important;
    border: 1px solid #eee !important;
}
 
#search-template .select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 47px !important;
    padding-left: 16px!important;
    font-size: 14px!important;
    color: #222;
    background-image: url(../img/select-icon.svg);
    background-repeat: no-repeat;
    background-position: 90% center;
    background-size: 12px;

}

#search-template .seach-box .search-content .custom-search>div.results button {
    border: none;
    display: block;
    text-indent: 999999px;
    overflow: hidden;
    width: 47px;
    border-radius: 5px;
    height: 47px;
    background-color: var(--main-back-color);
    background-image: url(../img/submit-search.svg);
    background-position: center;
    background-size: 45%;
    background-repeat: no-repeat;
    transition: .2s;
}

#search-template .seach-box .search-content .custom-search>div.results button.plus-search{
	text-indent: 0px;
	background-color: #fff; 
	margin-right: .8rem;
	font-size: 14px; 
    padding-left: 2.8rem;
    padding-right: 1.5rem;
	position: relative;
	min-width: 115.2px;
	width: max-content;
	color: #333;
	font-family: 'Open Sans', sans-serif;
}

#search-template .seach-box .search-content .custom-search>div.results button.plus-search::after {
    content: "";
    display: block;
    background-image: url(../img/monespace/icon-plus.svg);
    background-repeat: no-repeat;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 17px;
    left: 23px;
}

#search-template .seach-box .search-content .custom-search>div.results button.submit-search:hover {
    background-color: #fff;
    background-image: url(../img/submit-search-active.svg);
    border: var(--main-back-color) solid 1px;
} 
#search-template .seach-box .search-footer {
    justify-content: center;
}

#search-template .seach-box .search-footer>div {
    display: flex;
    justify-content: center;
}

#search-template .seach-box .search-footer>div button {
    border: none;
    background-color: #fff;
    width: 175px;
    height: 35px;
    overflow: hidden;
    text-indent: 9999px;
    background-image: url(../img/search-footer-up.svg);
    background-position: center;
    background-size: 10%;
    background-repeat: no-repeat;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
#search-template .seach-box .search-footer>div button.active{
    transform: rotate(180deg);
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#search-template input, #search-template select {
    font-family: 'Open Sans', sans-serif;
    padding: .72rem;
    border-radius: 5px;
    border: 1px solid #eeeeee;
}



.select2-container{
    font-size: 16px;
    cursor: pointer;
}
#search-template .select2-container--default .select2-selection--multiple .select2-selection__choice{
    background-color: transparent;
    border: none;
    /* display: flex; */
}

#search-template .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
    border-right: none;
    color: #333;
    /* order: 2!important; */
}
#search-template .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{
    background-color: transparent;
    border: none;
}

#search-template .select2-container--default .select2-selection--multiple .select2-selection__choice__display{
    /* order: 1!important; */
}
#search-template .select2-container--default.select2-container--focus .select2-selection--multiple{
    border: 1px solid #eeeeee;
    display: flex;
	overflow: hidden;
}
#search-template .select2-container--default .select2-search--inline .select2-search__field::-webkit-input-placeholder {
    color: var(--main-color)!important;
}
#search-template .select2-container .select2-search--inline .select2-search__field{
    margin-top: 0px;
	height: 21px;
}
#search-template .select2-container .select2-search--inline .select2-search__field::placeholder{
    font-size: 14px;
}
#search-template .select2-container--default .select2-selection--multiple .select2-selection__rendered{
    display: flex;
}
#search-template .select2-container--default .select2-selection--multiple{
    padding: .72rem;
    border: 1px solid #eeeeee;
    height: 47px;
}

#search-template .select2-container--default .select2-selection--multiple{
    background-image: url(../img/select-icon.svg);
    background-repeat: no-repeat;
    background-position: 90% center;
    background-size: 12px;
}

#search-template .select2-container--default .select2-selection--multiple .select2-selection__choice{
    margin-top: 0;
}

 
#search-template .seach-box .search-content .custom-search.active{
    margin-bottom: 1.5rem;
}
#search-template .seach-box .search-content .custom-search>div.transport{
    width: 617px;
}
#search-template .seach-box .search-content .custom-search>div .ville-results{
    position: absolute;
    background-color: #fff;
    padding: 1rem;
    max-height: 400px;
    width: 400px;
    overflow: auto;
    display: none;
    z-index: 9999;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 6px 24px 0px;
}  
#search-template .seach-box .search-content .custom-search>div .ville-results ul{
    width: 100%;
}
#search-template .seach-box .search-content .custom-search>div .ville-results ul li{
    width: 100%;
}

#search-template .seach-box .search-content .custom-search>div .ville-results::-webkit-scrollbar-track
{
    background-color: #F5F5F5;
    -webkit-box-shadow: inset 0 0 0px rgb(0 0 0 / 22%);
}
/*定义滚动条高宽及背景*/
#search-template .seach-box .search-content .custom-search>div .ville-results::-webkit-scrollbar
{
    width: 10px;
    background-color: rgba(0, 0, 0, 0.34);
}
/*定义滚动条*/
#search-template .seach-box .search-content .custom-search>div .ville-results::-webkit-scrollbar-thumb
{
    background-color: #9b9b9b;
    border-radius: 10px;
}

#search-template .seach-box .search-content .custom-search>div .ville-results li {
    padding: 1rem .5rem;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    gap: 1rem;
    align-items: center;
    border-bottom: 1px solid #eee;
}
#search-template .seach-box .search-content .custom-search>div .ville-results li:hover{
    background-color: rgb(249, 250, 254)
} 
#search-template .seach-box .search-content .custom-search>div .ville-results ul li span.svg_icon svg {
    width: 14px;
    height: 20px;
    fill: #f01d5c;
}
#search-template .seach-box .search-content .custom-search>div .ville-results li div span{
	font-size: 14px;
    color: #666;
}
#search-template .seach-box .search-results-header {
    overflow: auto;
    width: 100%;
    padding: 1rem;
    overflow-y: hidden;
    position: absolute;
    top: 6rem;
    z-index: 999;
    left: 0rem;
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 6px 24px 0px;
    overflow: hidden;
    z-index: -1;
    opacity: 0;
    transition: all .3s;
}
#search-template .seach-box .search-results-header.active {
    top: 3rem;
    opacity: 1;
    z-index: 999;
}
#search-template .seach-box .search-results-header ul {
    flex-wrap: wrap;
    gap: .5rem;
}
#search-template .seach-box .search-results-header ul li {
    padding: .3rem .5rem;
    white-space: nowrap;
    border-radius: 5px;
    background-color: #f01d5c;
    color: #fff;
    display: flex;
    align-items: center;
    font-size: 12px;
}
#search-template .seach-box .search-results-header ul li:first-child {
    margin-left: 0rem;
}
#search-template .seach-box .search-results-header ul li .delete {
    padding-left: .5rem;
    cursor: pointer;
    font-size: 18px;
}
#search-template .seach-box .search-results-header .head {
    margin-bottom: 1rem;
}
#search-template .seach-box .search-results-header .head span {
    font-size: 18px;
    cursor: pointer;
    display: block;
}
#search-template .seach-box .search-results-header .head strong {
    font-weight: 500;
} 
 

@media only screen and (min-width: 769px) and (max-width: 1210px) {
	#search-template .seach-box .search-content .custom-search:nth-child(1){
		display: block;
	}
	#search-template .seach-box .search-content .custom-search:nth-child(1)>div:last-child{
		position: absolute;
		right: 0;
		top: 0;
	}
	#search-template .seach-box .search-content .custom-search>div.ville input{
		width: 100%;
		background-size: 17px;
	}

	#search-template .seach-box .search-content .custom-search>div.type,
	#search-template .seach-box .search-content .custom-search>div.typo,
	#search-template .seach-box .search-content .custom-search>div.price
	{
		display: none;
		width: 31.33%;
		margin-top: 1rem;
	}
	 
	#search-template .seach-box .search-content .custom-search>div.price
	{
		margin-right: 0px;
	}

	#search-template .seach-box .search-content .custom-search.active>div.type,
	#search-template .seach-box .search-content .custom-search.active>div.typo,
	#search-template .seach-box .search-content .custom-search.active>div.price
	{
		display: inline-block;
	} 

	#search-template .seach-box .search-content .custom-search>div.type select,
	#search-template .seach-box .search-content .custom-search>div.typo select,
	#search-template .seach-box .search-content .custom-search>div.price select{
		width: 100%;
	}
	
	#search-template .seach-box .search-content.active {
		height: 410px; 
	}
	#search-template .seach-box .search-content .custom-search.col3.active{
		flex-wrap: wrap;
		gap: .5rem;
	}

	#search-template div.type .select2-container,
	#search-template div.typo .select2-container
	{
		width: 100%!important;
	}

	#search-template .seach-box .search-content .custom-search>div.results button{
		height: 42px;
	}
	#search-template .seach-box .search-content .custom-search:nth-child(1)>div:last-child{
		right: 40px;
        top: 18px;
	}
	#search-template .seach-box .search-content .custom-search:last-child{
		padding-bottom: 2rem;
	}
    #search-template .seach-box .search-content .custom-search>div.results button.plus-search::after{
        top: 14px;
        left: 27px;
    }
}

@media only screen and (max-width: 768px) {
	#search-template{
		top: 1rem;
		padding: 1.2rem;
		padding-top: 0px;
	} 
	#search-template .seach-box .search-content .custom-search>div.type,
	#search-template .seach-box .search-content .custom-search>div.typo,
	#search-template .seach-box .search-content .custom-search>div.fiscal,
	#search-template .seach-box .search-content .custom-search>div.price
	{
		display: none; 
	} 
	#search-template .seach-box .search-content .custom-search.active>div.type,
	#search-template .seach-box .search-content .custom-search.active>div.typo,
	#search-template .seach-box .search-content .custom-search.active>div.fiscal,
	#search-template .seach-box .search-content .custom-search.active>div.price
	{
		display: inline-block;
        width: 48%;
		margin-top: .8rem;
	}
    #search-template .seach-box .search-content .custom-search.active div.rayon,
	#search-template .seach-box .search-content .custom-search.active div.livraison{
        width: 48%;
    }
    #search-template .seach-box .search-content .custom-search .rayon_livraison_box{
        gap: 5px;
    }
    #search-template .seach-box .search-content .custom-search.col3.active{
        margin-top: .9rem;
    }
    #search-template .seach-box .search-content div.rayon p,
    #search-template .seach-box .search-content div.livraison p
    {
        display: none;
    } 
    #search-template .seach-box .search-content .custom-search.active{
        margin-bottom: 0;
    }
    #search-template .seach-box .search-content .custom-search.active.col3:nth-child(2){
        flex-direction: column-reverse;
        display: flex!important;
    }
	
	#search-template .seach-box .search-content.active {
		height: 550px;
		max-height: max-content;
	}

	#programmesList article .stock-header .stock-info-list li strong,
    #programmesList article .stock-header .stock-info-list li a{
        font-size: 14px;
    }

	#search-template .select2-container{
		width: 100%!important;
	}

    #search-template .seach-box .search-content .custom-search{
        display: block;
    }

    #search-template .seach-box .search-header>div.secondaire{
        width: 360px;
    }

    #search-template .seach-box .search-header>div{
        font-size: 15px;
        padding: 0.5rem 0.7rem;
        text-align: left;
        line-height: 24px;
        height: 70px!important;
    }	 
	
	#search-template .seach-box .search-content .custom-search>div.ville input{
		height: 50px;
        background-size: 4%;
        width: 100%;
		padding-right: 10rem;
		font-size: 14px;
    }
	
    #search-template .seach-box .search-content .custom-search>div>p{
        font-size: 14px;
        margin-top: .5rem;
    }
	#search-template ul.transports li span{
		display: block;
		float: unset;
		width: 1.4rem;
		height: 1.4rem;
	}
	#search-template ul.transports li {
		display: flex;
		flex-wrap: wrap; 
        width: 100%;
	}
	
    #search-template .seach-box .search-content .custom-search>div{
        margin-right: 0px;
    }
    #search-template .seach-box .search-content .custom-search>div .ville-results{
        width: 100%;
    }

    #search-template .seach-box .search-content .custom-search>div select{
        width: 100%;
		font-size: 14px;
    }
	 
    #search-template .seach-box .search-content .custom-search>div.results p{
        display: none;
    }
    #search-template .seach-box .search-content .custom-search.col3.active{
        display: block;
    }
	#search-template .select2-container .select2-search--inline .select2-search__field::placeholder{
		font-size: 14px;
	}
    #search-template .seach-box .search-content .custom-search>div select[name='livraison']{
        width: 100%;
    }
	#search-template .seach-box .search-content .custom-search.checkbox input{
		width: 18px;
		height: 18px;
	}
	#search-template .seach-box .search-content .custom-search.checkbox label{
		align-items: center;
		display: flex;
		font-size: 14px;
	}
	#search-template .select2-container--default .select2-selection--multiple{
		height: 50px;
		padding: .8rem;
	}
    #search-template .seach-box .search-content .custom-search>div.transport{
        width: 100%;
    }
	#search-template .seach-box .search-content .custom-search>div.results{
		position: absolute; 
		right: 1.2rem;
		top: 2px;
	} 
	#search-template .seach-box .search-content .custom-search>div.results button{
		width: 46px;
		height: 46px;
	}
	#search-template .seach-box .search-content{
		height: 65px;
	}
	#search-template .seach-box .search-content .custom-search:last-child{
		padding-bottom: 2rem !important;
	}
	#search-template .seach-box .search-content .custom-search>div.results button.plus-search{
		min-width: 90px;
		font-size: 14px; 
		margin-right: 0px;
		margin-left: 0rem;
		padding-right: 0rem;
		padding-left: 1.3rem;
	} 
	#search-template .seach-box .search-content .custom-search>div.results button.plus-search::after{
		top: 18px;
		left: 19px;
		width: 12px;
    	height: 12px;
	}
	#search-template .seach-box .search-content .custom-search>div.results button.submit-search{
		width: 38px;
        height: 38px;
        margin-top: 4px;
	}
	.custom-search>div.results > div.flex{
		flex-direction: row-reverse;
	}

}

.leaflet-top, .leaflet-bottom, .leaflet-pane{
	z-index: 10!important;
}

.leaflet-popup-content {
    margin: 13px 24px 13px 13px !important;
}
#map .map_programme {
    padding-top: 0rem;
}
.map_programme a .header {
    border-radius: 5px;
    min-height: 75px;
}