/* import Google fonts locally */
/*@import url('https://fonts.googleapis.com/css?family=Roboto');
*/

.cta-red {
	padding: 2em;
	background-color: #efc2c2;
	border: 2px solid #d72525;
	border-radius: 5px;
}
.cta-green {
	padding: 2em;
	background-color: #c3f0c9;
	border: 2px solid #3a8a1c;
	border-radius: 5px;
}

div.placewrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  /* repeat = as many times as you can fit */
  /* auto-fit = fit as many items on the line as possible, go bigger if you need to */
  /*minmax = (min size, max size) = the minimum size the column should be is 200px, but if there's space then give them all 1fr of that width. */
  grid-gap: 10px;
 /* grid-template-columns: 33.33% 33.33% 33.33%;*/
 // grid-gap: 0;
/*  background-color: #fff;
  color: #444;
*/}

div.place {
  padding: 0;
  background-color: #C9E8E7;
  color: #000000;
  position: relative;
  min-height: 240px;
}

div.place > div {
  position: absolute;
  bottom: 0;
  width: 100%;
}

div.place.beerstation {
  background-color: #C97932;
}

div.place.ruche {
  background-color: #3979CD;
}

div.place.recircle {
  background-color: #3979CD;
}

div.place.partner {
  background-color: #DA6967;
}

div.place.bgimg {
  background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

/*.mapgreybg {
  background-color: #F3F1ED;
}*/

/* Override Facet Styles */
.facetwp-facet {
  margin-bottom: 0.5em !important;
}

.facetwp-type-fselect .fs-wrap,
.facetwp-type-fselect .fs-dropdown {
  width: 90% !important;
}

.fs-dropdown {
  width: 90% !important;
}

.place h4 {
  font-weight: bold;
 /* padding: 10px;*/
  margin-bottom: 60px;
}

.place h4, .place div {
  padding: 10px;
  background-color: rgba(255,255,255,0.5);
}
.place.bgimg h4, .place.bgimg div {
 background-color: rgba(255,255,255,0.75);
}

.place.recircle, .place.ruche, .place.beerstation {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
}

.place.recircle {
  background-image: url(/wp-content/plugins/zerowaste-plugin/img/logo_recircle.svg);
}
.place.beerstation {
  background-image: url(/wp-content/plugins/zerowaste-plugin/img/logo_beerstation.png);
/*  background-size: cover;
*/}
.place.ruche {
  background-image: url(/wp-content/plugins/zerowaste-plugin/img/logo_ruche.svg);
}

.acf-map {
  width: 100%;
  height: 400px;
  border: #ccc solid 1px;
  margin: 20px 0;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}

/*.place.beerstation h4 {
 background-image: url(/wp-content/plugins/zerowaste-plugin/img/logo_beerstation.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center top;
  padding-top: 1em;
  background-color: transparent;
}
.place.beerstation h4 a {
  background-color: rgba(255,255,255,0.5);
  display:block;
}*/
/*.place.recircle h4, .place.ruche h4 {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
}

.place.recircle h4 {
  background-image: url(/wp-content/plugins/zerowaste-plugin/img/logo_recircle.svg);
}
.place.ruche h4 {
  background-image: url(/wp-content/plugins/zerowaste-plugin/img/logo_ruche.svg);
}*/

/*#cmsms_row_5a57dadd13ae7 .cmsms_row_inner {
  background-color: #F3F1ED;
}*/

.poi-info-window {
  color: #333;
/*  font-family: Roboto,Arial !important;
*/}

.poi-info-window .title {
  font-weight: 700;
}


.poi-info-window div.logo {
  float: right;
  width: 50px;
  height: 50px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

/*div.place div {
}
*/
/*div.place {
	padding: 1em;
	border: 1px solid gray;
	display: inline-table;
}

@media screen and (min-width: 810px) {
  div.place {
    float: left;
    display: block;
    margin-right: 2.35765%;
    margin-bottom: 1em;
    width: 22.64235%;
  }
  div.place.beerstation {
    background-color: #F5F6AB;
  }
  div.place.partner {
    background-color: #A4F5F5;
  }
  div.place:nth-child(4n+1) {
    clear: left;
  }
  div.place:nth-child(4n) {
    margin-right: 0;
  }
}*/

.facetwp-pager {
	clear: both;
}