/* The page is split between map and sidebar - the sidebar gets 1/3, map
gets 2/3 of the page. You can adjust this to your personal liking. */





.pad2 {
  padding: 20px;
  color:#404040;
 
 
}

.map {   
  top: 0;
  right: 0; 
  height: 100%;
  position: absolute;
  visibility: hidden;
}

.map button {
  min-width: auto !important;
}

.heading {
  background: #fff;
  border-bottom: .2rem solid #eee;  
}

.heading > h2 {  
  font-size: 2.4rem;
  margin: 0; 
}



.listings .item {
  flex-direction: column;
  border-bottom: 1px solid #eee;
  padding: 1rem 1rem 1rem 0;
  text-decoration: none;
}

.listings .item:last-child { border-bottom: none; }

.listings .item .title {
  display: block;
  font-weight: 700;
  /*color: #1a2b3c;*/
  color: #DC1F31;
  text-decoration: none; 
}

.listings .item .title small { font-weight: 400; }

.listings .item.active .title,
.listings .item .title:hover { color: #24445c; }

.listings .item.active {
  background-color: #f8f8f8;
}


.opening {font-size:1.2rem;}

::-webkit-scrollbar {
  width: 3px;
  height: 3px;
  border-left: 0;
  background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background: #6f6f6e;
  border-radius: 0;
}

.listings .details {padding-top:.8rem; text-align: right;}
label.carrier + input[type="radio"] {display: none;}
.clearfix { display: block; }

.clearfix::after {
  content: '.';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/*Override css mapbox-gl.css line 1 */

.mapboxgl-map {
    font-size: inherit;
    font-family: inherit;
    
}
.mapboxgl-ctrl-bottom-right {
   font-size: .9rem;
}
/* Marker tweaks */
.mapboxgl-popup {
  padding-bottom: 50px;
}
.mapboxgl-popup-close-button {
  display: none;
}

.mapboxgl-popup-content {
  
  padding: 0;
  width: auto;
}

.mapboxgl-popup-content-wrapper {
  padding: 1%;
}


.mapboxgl-popup-content h4 {
  background: #DC1F31;
  color: #FFFFFF;    
  display: block;
  padding: 1rem;
  border-radius: 3px 3px 0 0;  
  margin-top: -15px;
}


.mapboxgl-popup-content p {
  margin: 0;
  display: block;
  padding: 0 1rem 1rem;
  line-height: inherit;
}

.mapboxgl-popup-content div {
  padding: 10px;
}

.mapboxgl-container .leaflet-marker-icon {
  cursor: pointer;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-content {
  margin-top: 15px;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-tip {
  border-bottom-color: #ffffff;
}

.marker-chrono-relais {
  border: none;
  cursor: pointer;
  height: 4rem;
  width: 4rem;
  background-image: url('/css/markers/chrono-relais.png');
  background-size: contain;
  background-color: rgba(0, 0, 0, 0);
}
.mapboxgl-ctrl-geocoder {
  border: 0;
  border-radius: 0;
  position: relative;
  top: 0;
  width: 800px;
  margin-top: 0;
}

.mapboxgl-ctrl-geocoder > div {
  min-width: 100%;
  margin-left: 0;
}

@media only screen and (min-width: 1024px) {
  .map-container {
  margin:2.4rem 0;
  height: 45rem;
  position: relative;
}
.listings {
  height: 100%;
  overflow: auto;
  padding-bottom: 60px;
}
  .sidebar {
    height: 100%;
    overflow: hidden;
    padding-right: 1.6rem;
  }
  .map {visibility: visible;}
  
}

