/* CSS Document */

div.town_selector_box
{
	margin: 0px;
	padding: 0px;
	font-size: 20px;
	text-align: center;
	margin: 0;
	display: inline-block;
	position: relative;
	width: 100%;
}

#town_selector
{
padding-top: 12px;
  border: 0;
  outline: none;
  font-size: 15px;
  line-height: 24px;
height: 44px;
}

.blocMap{max-width: 100%;
margin: auto;margin-bottom:0px;	height: 100%;}


div.town_selector_row
{
	 background-color: rgba(0,0,0,0.2);
	padding: 8px;
align-items: center;
width: 100%;
z-index: 2;
display: flex;
flex-direction: column;
	
}
#listeBtnEvt
{
	overflow-y:scroll;
	height:500px;
	width:100%;
	display:inline-block;
	float:left;
	background-color:#000;
	min-height: calc(100vh - 137px);
  height: calc(100vh - 137px);
  max-height: 100vh;
  padding-top: 20px;
}

  #listeBtnEvt .cta
{
	
}



@media only screen and (max-width: 650px) {#listeBtnEvt{height:auto;    padding-bottom: 50vh;}.blocMap{max-width: 100%;
margin: auto;margin-bottom:20px;}.pastevent-result,.list-event-past{display:none}
#event-dual-display-mode-icon{display:none;}

}

.blocMap{padding: 0;z-index: 1;
  position: relative;}


.blocMap .col-12 {padding: 0!important;}


div.bloc-list-result
{
	    display: inline-block;
    position: relative;
    float: left;
    width: 25%;

	background-color: #1a1b1b;

}
#mapEvt
{
	height: calc(100% - 68px);
	width:75%;
	display:inline-block;
	z-index: 50;
	background-color:#fff;

}
.cartouche-event-selector {display:none};
@media only screen and (max-width: 1080px) {.blocMap{width:100%;margin-left:0;display: inline-block;}}
@media only screen and (max-width: 1080px) {div.bloc-list-result{width:275px}#mapEvt{width:calc(100% - 275px);}}
@media only screen and (max-width: 650px) {#mapEvt,div.bloc-list-result{width:100%;position:relative;display:inline-block}.cartouche-event-selector {display:block};}






.list-event-past{background-color: #eee;}
.event-item .dist
	{display: inline-block;
  text-align: center;
  margin: auto;
	}
.event-item .dist .picto {
background-image: url(../images/pin-on.png);
  width: 14px;
  height: 20px;
  margin: 5px auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: inline-block;
  float: left;
}

.event-item .dist .picto-off {
	background-image: url(../images/pin-hover.png);
}
.event-item .dist .picto-on {
	background-image: url(../images/pin-on.png);
}
	
div.km
{
	font-size: 1rem;
  text-align: left;
  display: inline-block;
  width: auto;
  float: left;
  margin-left: 8px;
  margin-top: 7px;
}
result-search-event result-nbr,   .list-result .list-event .result-nbr {margin-right: 5px; color: #fff;font-size: 12px;}
result-search-event .result,    .list-result .list-event .result { margin: 0;padding: 9.5px 0;text-align: center;font-size: 12px;color: #fff;background: var(--primaryHover);}

.event-item
{
color: #fff;
  font-size: 1rem;
  font-style: normal;
  float: left;
  font-weight: 400;
  line-height: 120%;
  text-align: left;
  padding: 0;
  margin: 0;
    margin-right: 0px;
    margin-left: 0px;
  cursor: pointer;
  width: 100%;
}
div.event-item > .row
{
 padding: 13px;
  width: auto;
  background: rgba(0,0,0,0.5);
  margin: 0px;
}
  
.place-date {
color: #fff;
  line-height: 28px;
  margin-top: 0px;
  margin-bottom: 10px;padding: 0px 10px;
}
.place-name {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
	text-align:left;
	color: var(--primaryHover);
}
.place-name-resume {
    text-transform: uppercase;
	color:#000000;
}

.list-result .event-item:hover, .list-result .event-hover
{
	
}

.leaflet-popup-content
{
	text-align:center;
}
.MapEventLogo {
    margin: auto;
	margin-bottom:5px
}
.leaflet-container a.cta:hover {
  color: var(--primaryHover);
  text-decoration: underline;
  font-weight: 400;
  text-decoration: none;
  border-color: var(--primaryHover);
}
.leaflet-container  {
   font-family: DSAutomobilesPro,Arial,Helvetica,sans-serif; 
}

.leaflet-container {
}
a.MapEventName {
   width: 100%;
  display: inline-block;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--primaryHover);
}
a.MapEventAdresse {
    display: inline-block;
    width: 100%;
    font-size: 14px;
	color: #000;
}
a.town_selector_geoloc:hover
{
	
	background-position: 0 100%;

}
a.town_selector_geoloc
{
border-style: none;
padding: 0;
color: #fff;
font-size: 1.4rem;
font-weight: 700;
line-height: 1.15;
text-align: center;
background-position: 100% 100%;
transition: background-position .3s;
border: 0;
text-decoration: none;
cursor: pointer;
margin-right: 0;
display: inline-flex;
padding: 16px 24px 16px 48px;
text-transform: uppercase;
position: relative;
background-size: 200% 100%;

}


#town_selector_searchinput svg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #d86532;
    height: 100%;
    z-index: 3;
    width: 55px;
    right: 0;
    padding: 0 15px;
}

.MapEventLogo
{
	max-width: 150px;max-height: 70px;
}
#town_selector_searchinput  
{
	display:inline-block;
	text-align:left;
	background-color:#fff;
	max-width: 90%;
}

.form_town_selector .form_input:not(:placeholder-shown) + label {
  transform: translateY(-21%) scale(.6) !important;
  color: #333;
  transform-origin: center;
  margin-left: -6px;
}
#town_selector_searchinput label
{
	left: 3px;
	line-height: 3.5rem;
}
img.town_selector_geoloc {
  display: none;
}

.cartouche-event-selector-content > div {
  padding: 5px;
  margin: 0;
  display:inline-block;
  height: 68px;
}
.cartouche-event-selector-content {
width: 100%;
  margin: auto;
  display: inline-block;
  border: 1px solid #ccc;
  padding: 2px 10px;
  background: linear-gradient(#fff,#eee);
  box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
  max-width: 100%;height: 87px;
}
.cartouche-event-selector {
position: absolute;
  left: 0;
  width: 100%;
  z-index: 5;
  text-align: center;
  bottom: 0;
  height: 87px;
}

div.town_search_input
{
	overflow:hidden;
	 transition: width 2s;padding:0;
}
div.town_search_input.retracted {
 padding:0;
	width:0;
}
div.town_search_input.expand
{
	display:inline-block;
	width:180px;
}

.town_selector_geoloc {
  max-width: 100%;
  max-height: 100%;
  height: 20px;
  width: auto;
}

#town_selector_geoloc, #town_search, #town_selector_btn
{
	width: 40px;
  height: 44px;
  cursor: pointer;
  background-size: contain;
  background-position: center;
  padding: 0px;
  background-repeat: no-repeat;
  display: inline-block;
  padding: 5px;
  background-image: url(../images/geoloc.png);
  background-color: var(--primary);
  background-size: 40%;
  background-repeat: no-repeat;
  position: absolute;
  right: 0;
  top: 0px;

}
 .event-dual-display-mode-icon, .event-list-display-mode-icon, .event-map-display-mode-icon
{
	width: 40px;
  height: 40px;
  cursor: pointer;
  background-size: contain;
  background-position: center;
  padding: 0px;
  background-repeat: no-repeat;
  display: inline-block;
}
.event-dual-display-mode-icon.icon-on,.event-dual-display-mode-icon.icon-off:hover{background-image:url("../images/display-icon-dual-on.png");}
.event-list-display-mode-icon.icon-on,.event-list-display-mode-icon.icon-off:hover{background-image:url("../images/display-icon-list-on.png");}
.event-map-display-mode-icon.icon-on,.event-map-display-mode-icon.icon-off:hover{background-image:url("../images/display-icon-map-on.png");}
.event-dual-display-mode-icon.icon-off{background-image:url("../images/display-icon-dual-off.png");}
.event-list-display-mode-icon.icon-off{background-image:url("../images/display-icon-list-off.png");}
.event-map-display-mode-icon.icon-off{background-image:url("../images/display-icon-map-off.png");}

.mode-display-map #bloclisteBtnEvt {
  display: none;
}
.mode-display-map #mapEvt {
  width: calc(100% - 40px);
  margin: 20px;
  height: 60vh;
}
.mode-display-map #bloclisteBtnEvt {
  display: none;
}

.mode-display-list  #mapEvt{
display: none !important;
}


.mode-display-list  div.bloc-list-result {
    width: 100%;
}

.town_selector_geoloc.geoloc-loading
{
	background-image: url("../images/loading.webp");
}
#carousel-item-event {

  min-height: 400px;
  height: calc(100vh - 80px);

}
#bookingstep-event-bloc {
  height: calc(100% - 0px);
}
.town_selector_box_input {
  -ms-flex-align: center !important;
  align-items: center !important;
  display: flex;
}
.town_selector_box_label {
  background: var(--primary);
  color: #fff;
  width: 100%;
  font-size: 1rem;
  padding: 5px;
  display: none;
}
.form_town_selector
{
	width: 100%;
  float: left;
  max-width: 500px;
  border: 1px solid var(--primary);
  margin: auto;
    margin-bottom: auto;
  margin-bottom: 10px;
}
.place-btn {
  text-align: center;
}
#town_selector {
  width: 100% !important;
  background: #fff;
  display: inline-block;
  position: relative;
  max-width: none;
  float: none;
}
@media only screen and (max-width: 400px) {
	div.town_search_input.expand{width:100%}
.cartouche-event-selector-content > div {float:none; display:inline-block}

}

.blocMap-content {
  height: 100%;
}

.js-list-place-wrapper {
  -ms-flex-pack: center !important;
  justify-content: center !important;
 
}
@media (max-width: 600px) {
.mode-display-list  .event-item:nth-child(2n)  {
 
}
}

.js-list-place-wrapper
{padding-bottom: 200px;
	display:inline-block;
}

@media  (min-width: 600px) {
.mode-display-list  .js-list-place-wrapper
{display: flex;
    flex-wrap: wrap;
}

.mode-display-list .event-item
{
flex: 0 0 45%;
margin:2%;
height:100%;
}
}






@media only screen and (min-width: 1200px) {
.mode-display-list .event-item
{
flex: 0 0 45%;
margin:1%	
}
}

@media only screen and (min-width: 1600px) {
.mode-display-list .event-item
{
flex: 0 0 30%;
margin:1%	
}
}

.mode-display-list .place-adresse {
  width: 66%;
  display: inline-block;
  margin-top: 13px;
}

.mode-display-list .place-date-and-btn {
  display: inline-block;
  width: 32%;
  vertical-align: top;padding-top: 9px;
}

.mode-display-list .event-item {
  border: 1px solid var(--primaryHover);
  padding: 10px 10px;
}

.mode-display-list .event-item:hover {
  border: 1px solid var(--primaryHoverInvert);
}




.mode-display-dual .place-adresse {
  text-align: center;
}

.mode-display-dual .place-name {
  text-align: center;
}

.mode-display-dual .event-item {
  padding: 20px 0px;
  border-bottom: solid 1px var(--primaryHover);
}

.mode-display-list div.town_selector_box
{
	max-width: 400px; margin: auto;
}

.mode-display-list  .list-event.js-list-event {
  max-width: 400px;
  margin: auto;
}

@media  (min-width: 600px) and (max-width: 700px) {

 .mode-display-list .place-name,.mode-display-list  .place-adresse{width:100%;text-align:center;}
.mode-display-list .place-date-and-btn{width:100%;text-align:center;}
}

.leaflet-popup-content .place-date{color:var(--primary);}

@media only screen and (max-width: 470px) {

.mode-display-list .place-adresse
{
	width:100%;
	text-align:center !important;
}
	.mode-display-list .place-date-and-btn
	{
		width:100%;
	text-align:center !important;
		}
		
.mode-display-list 	.bloc-list-result .place-name
{
	width:100%;
	text-align:center !important;
}
		
		
		
}


.event-list-display-mode::after {
  display: block;
  content: "VUE LISTE";
  text-align: center;
  font-weight: 700;
}


.event-map-display-mode::after {
  display: block;
  content: "VUE CARTE";
  text-align: center;
  font-weight: 700;
}