/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.mfp-container {
  position: fixed;
  background: white;
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 10vh;
  max-height: 80vh;
  overflow-y: scroll;
  width: 80vw !important;
  z-index: 3;
}

.map_filter,
#map {
  transition: all 1s;
}

.map_filter.loading {
  pointer-events: none !important;
  opacity: 0.8;
  transition: all 1s;
}

#map.loading {
  pointer-events: none !important;
  opacity: 0.7;
  transition: all 1s;
}

.map-popup img {
  max-width: 100%;
}

.info_window img {
  width: 100%;
}

.info_window h1 {
  margin: 1rem !important;
  font-size: 3rem;
}

#map {
  height: 60vh;
}

/* The container */

.checkmark_container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.province_toggle {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-left: -15px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

/* Hide the browser's default checkbox */

.checkmark_container input,
.province_toggle input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */

.checkmark_container:hover input ~ .checkmark,
.province_toggle:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */

.checkmark_container input:checked ~ .checkmark,
.province_toggle input:checked ~ .checkmark {
  background-color: #532a72;
}

/* Create the checkmark/indicator (hidden when not checked) */

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */

.checkmark_container input:checked ~ .checkmark:after,
.province_toggle input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */

.checkmark_container .checkmark:after,
.province_toggle .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.form-field-group {
  justify-content: left;
}

.info_window h1,
.map-popup h1 {
  color: #282762;
  font-size: 48px;
  line-height: 100px;
  letter-spacing: 1px;
}

.map-popup h2 {
  color: #000000;
  font-size: 20px;
  margin: 25px 0 5px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: 1px;
}

.map_filter > div {
  display: flex;
  flex-wrap: wrap;
}

.map_filter > div > label {
  margin-right: 25px;
}

.map_filter > div > .filter_header > strong {
  margin-right: 25px;
  font-size: 20px;
  width: 100%;
  margin-bottom: 8px;
}

form.map_filter {
  display: flex;
  border: 1px solid black;
  /*justify-content: space-between;*/
  margin-bottom: 30px;
}

form.map_filter {
  /*padding: 29px 16px 29px 30px;*/
  cursor: pointer;
  font-weight: 600;
  font-size: 20px;
  line-height: 20px;
  color: #929292;
}

form.map_filter > div {
  position: relative;
  padding: 30px;
  width: 100%;
}

form.map_filter > div > .options {
  position: absolute;
  z-index: 9;
  margin-top: 50px;
  background: white;
  padding: 30px;
  /*margin-left: -31px;*/
  border: 1px solid black;
  border-top: none;
  width: 100%;
  left: 0;
}

form.map_filter > div > .options {
  display: none;
}

form.map_filter > div.open > .options {
  display: block;
}

.map_filter > div.seperator {
  border-left: 1px solid black;
  padding: 0;
  width: 0;
}

form.map_filter .years,
form.map_filter .province,
form.map_filter .lang_stream {
  width: 100%;
}

.map_filter .clear-filter {
  color: #292763;
  margin-bottom: 30px;
  font-size: 16px;
  cursor: pointer;
  display: inline-block;
}

form.map_filter .filter_header {
  display: flex;
  width: 100%;
}

form.map_filter i {
  color: #05bbb7;
  font-size: 1em;
}

@media only screen and (max-width: 1000px) {
  form.map_filter {
    flex-direction: column;
  }
  form.map_filter > div:not(:last-child) {
    border-bottom: 1px solid black;
  }
}
