@font-face {
  font-family: "Lato";
  src: url("./fonts/Lato/Lato-Regular.ttf") format("truetype"),
    url("./fonts/Lato/Lato-Black.ttf");
}

* {
  box-sizing: border-box;
  /*font-family: "Lato";*/
}

.copyright-text {
  font-size: 13px;
  color: #737373;
  text-align: center;
  transform: translateY(-5px);
  text-decoration: none;
}

select {
  /* styling */
  background-color: white;
  border: 1px solid rgb(11, 11, 87);
  border-radius: 4px;
  display: inline-block;
  font: inherit;
  line-height: 1.5em;
  padding: 0.5em 3.5em 0.5em 1em;

  /* reset */
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, gray 50%, transparent 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position: calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
  background-size: 5px 5px, 5px 5px, 1px 1.5em;
  background-repeat: no-repeat;
}

.mapBarWrapper {
  margin-bottom: 2%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.mapSearchBar {
  padding: 8px 8px;
  color: grey;
  border-radius: 5px;
  border: 2px solid lightgrey;
  margin: 20px 0;
  width: 49%;
}

.containerDiv {
  background-color: white;
  display: flex;
  justify-content: space-between;
}

.mapLeftWrapper {
  /* ShipAny */
  width: 98%;
  height: 400px;
  display: flex;
  flex-flow: column;
}

.mapFiltersWrapper {
  display: flex;
  width: 100%;

  justify-content: space-between;
  align-items: center;
  margin-bottom: 1%;
}

.mapFilter {
  width: 30%;
  height: 100%;
  padding: 8px 8px;
  color: grey;
  font-size: 1vw;
  border-radius: 5px;
  border: 1px solid rgb(218, 218, 218);
  -webkit-appearance: none;
}

.containerParentTextDiv {
  width: 100%;
  /* height: 400px; */
  flex: 1;
  overflow-y: scroll;
}

.mapBox {
  /* ShipAny */
  /* width: 49%; */
  display: none;
  height: 400px;
}

.contentCityDropdown {
  color: grey;
  font-size: 1rem;
}

.loader {
  margin: auto;
  position: relative;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border: 10px solid #f3f3f3;
  border-radius: 50%;
  /* ShipAny */
  border-top: 10px solid #18a085;
  width: 40px;
  height: 40px;
  z-index: 10;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.containerChildTextDiv {
  /* margin: 20px; */
  /* padding-left: 30px; */
  /* background-color: chocolate; */
  padding: 10px 20px;
  display: flex;
  justify-content: start;
  align-items: center;
  border-bottom: 1px solid lightgrey;
  cursor: pointer;
}

.containerChildTextDiv p {
  margin: 2px 0;
}

.contentAddress,
.operatingTime,
.howToGetThere,
.contentLocationType {
  display: none;
  color: grey;
  font-size: 0.9vw;
}

.howToGetThere {
  align-items: flex-start;
}

.locationName {
  font-size: 1.1vw;
}

.contentCity {
  display: block;
  font-size: 0.9vw;
}

.shipany-label {
  display: flex !important;
  justify-content: start;
  align-items: center;
  padding: 2px 10px 2px 1.5em;
  flex: 1;
  cursor: pointer;
  font-size: medium !important;
  font-weight: normal !important;
  line-height: unset !important;
  color: unset !important;
  text-align: left !important;
  white-space: unset !important;
  vertical-align: unset !important;
  border-radius: unset !important;
  background-color: unset !important;
}

.searchBar {
  width: 100%;
  margin-bottom: 10px;
  height: 25px;
}

.selected-background {
  background: rgba(0, 0, 0, 0.1);
}

.display-block {
  display: block;
}

.display-none {
  display: none;
}

.display-flex {
  display: flex;
}
.containerChildTextDiv input[type="radio"]{
  background-color: initial;
  cursor: default;
  appearance: auto;
  box-sizing: border-box;
  margin: 3px 3px 0px 5px;
  padding: initial;
  border: initial;
  width: 13px;
  height: 13px;;
}
/*
.containerChildTextDiv input[type="radio"]:after {
  width: 15px;
  height: 15px;
  border-radius: 15px;
  top: -6px;
  left: -1px;
  position: relative;
  background-color: #d1d3d1;
  content: "";
  display: inline-block;
  visibility: visible;
  border: 2px solid white;
  cursor: pointer;
  opacity: 1;
}

.containerChildTextDiv input[type="radio"]:checked:after {
  width: 15px;
  height: 15px;
  border-radius: 15px;
  top: -6px;
  left: -1px;
  position: relative;
  background-color: grey;
  content: "";
  display: inline-block;
  visibility: visible;
  border: 2px solid white;
  cursor: pointer;
}
*/

.containerChildTextDiv input[type="radio"]:focus {
  outline: none;
}

#dropdown {
  width: 100%;
  -webkit-appearance: none;
}

/* Modal styling */
.shipany-woo-plugin-modal {
  background-color: white;
  /*background-color: rgba(0, 0, 0, 0);*/ /* Black w/ opacity */
  position: absolute;
  z-index: 1000;
  /* ShipAny */
  width: 40%;
  transform: translate(-50%, -50%);
  top: -400px;
  left: 50%;
  box-shadow: 5px 0px 15px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;

  transition: top 0.3 ease-in-out;
}

.shipany-woo-plugin-showModal {
  position: fixed;
  top: 50%;
  left: 50%;
  right: 50%;
  transform: translate(-50%, -50%);
}

.shipany-woo-plugin-modal .modalTopBar {
  padding: 20px 20px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5%;
}

.shipany-woo-plugin-modal .modalCloseBtn {
  cursor: pointer;
  color: grey;
  position: absolute;
  right: 15px;
}

.shipany-woo-plugin-modal .mapWrapper {
  width: 100%;
  position: relative;
  padding: 0 4%;
  box-sizing: border-box;
}

.shipany-woo-plugin-modal .modalConfirmBtnWrapper {
  text-align: center;
  margin: 3% auto;
}

.shipany-woo-plugin-modal .modalConfirmBtn {
  color: white;
  background: #000;
  /*background: rgb(12, 0, 117);*/
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  padding: 1% 3%;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}

.locationList {
  box-sizing: border-box;
  padding: 0;
  position: absolute;
  /* height: 0%;  */
  width: 100%;
  background: white;
  top: 0;
  left: 0;
  transition: height 0.3s ease-in-out;
  overflow-y: hidden;
}

.locationListToggleBtn {
  padding: 15px 0;
  background: lightgrey;
  text-align: center;
  cursor: pointer;
}

/* dropdown */
.dropDownMenu {
  padding: 8px 8px;
  color: grey;
  border-radius: 5px;
  border: 2px solid lightgrey;
  -webkit-appearance: none;
}

/* popup css */
.ol-attribution.ol-logo-only,
.ol-attribution.ol-uncollapsible {
  max-width: calc(100% - 3em) !important;
  height: 1.5em !important;
}

.ol-control button,
.ol-attribution,
.ol-scale-line-inner {
  font-family: "Lucida Grande", Verdana, Geneva, Lucida, Arial, Helvetica,
    sans-serif !important;
}

.ol-popup {
  font-family: "Lucida Grande", Verdana, Geneva, Lucida, Arial, Helvetica,
    sans-serif !important;
  font-size: 12px;
  position: absolute;
  background-color: white;
  -webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -50px;
  min-width: 100px;
}

/* popup styles */
.ol-popup:after,
.ol-popup:before {
  top: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.ol-popup:after {
  border-top-color: white;
  border-width: 10px;
  left: 48px;
  margin-left: -10px;
}

.ol-popup:before {
  border-top-color: #cccccc;
  border-width: 11px;
  left: 48px;
  margin-left: -11px;
}

.ol-popup-closer {
  text-decoration: none;
  position: absolute;
  top: 2px;
  right: 8px;
}

.ol-popup-closer:after {
  content: "✖";
  color: #c3c3c3;
}

/* Custom dropdown */
.customDropDown {
  width: 100%;
  position: relative;
}

.customDropDown p {
  margin: 0;
}

.customDropDownSelect {
  box-sizing: border-box;
  width: 100%;
  padding: 8px 8px;
  color: grey;
  border-radius: 5px;
  border: 1px solid lightgrey;
  cursor: pointer;
  -webkit-appearance: none;
}

.customDropDownContainer {
  position: absolute;
  top: 35px;
  max-height: 300px;
  height: 0;
  background: white;
  width: 100%;
  z-index: 1;
  cursor: pointer;
  overflow-y: hidden;
}

.customDropDownOpen {
  height: 300px;
  padding: 8px 0px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border: 2px solid lightgrey;
  border-top: none;
}

.customDropDownBox {
  overflow-y: scroll;

  max-height: inherit;
}

.customDropDownItem {
  padding: 15px 35px;
  border-bottom: 2px solid lightgrey;
}

.customDropDownItemSelected {
  background: lightgrey;
}

.customDropDownItem:hover {
  background: lightgrey;
}

.customDropDownItemLocationName {
  font-size: 1.5rem;
}

.customDropDownItemLocationTypeCity {
  color: grey;
  font-size: 1rem;
}

.typeFilterTitle,
.districtFilterTitle,
.regionFilterTitle,
.areaFilterTitle {
  display: none;
}

@media only screen and (max-width: 800px) {
  #shipany-woo-plugin-modal{
    height: 100vh;
    z-index: 99999;
    width: 100vw;
    display: flex;
    flex-direction: column;
  }
  .mapLeftWrapper{
    height: 80vh;
    overflow-y: scroll;
  }
  .modalConfirmBtn{
    width: 32vw;
  }
  .mapBox {
    display: none;
  }
  .mapLeftWrapper {
    width: 100%;
    flex-direction: column;
  }
  /* ShipAny */
  .shipany-woo-plugin-modal {
    width: 90%;
  }

  .containerDiv {
  }

  .containerParentTextDiv {
    height: 100%;
  }

  .containerChildTextDiv {
    border-radius: 5px;
    border: 1px solid lightgrey;
    margin-bottom: 5px;
  }

  .mapFiltersWrapper {
    flex-direction: column;
  }
  .typeFilter,
  .districtFilter,
  .regionFilter,
  .areaFilter {
    margin: 5px;
    width: 100%;
  }

  .typeFilterTitle,
  .districtFilterTitle,
  .regionFilterTitle,
  .areaFilterTitle {
    width: 100%;
    margin: 1px;
    font-size: 2vw;
    display: inline-block;
  }

  .locationName {
    font-size: 2.4vw;
    /* font-size: 1rem; */
  }

  .contentAddress,
  .operatingTime,
  .howToGetThere,
  .contentLocationType {
    color: grey;
    font-size: 2vw;
    /* font-size: 0.8rem;    */
  }

  .contentCity {
    display: block;
    font-size: 2vw;
    /* font-size: 0.8rem;   */
  }

  .mapFilter {
    font-size: 2vw;
    height: 100%;
  }
}

@media only screen and (max-width: 550px) {
  .typeFilterTitle,
  .districtFilterTitle,
  .regionFilterTitle,
  .areaFilterTitle {
    width: 100%;
    margin: 1px;
    font-size: 3vw;
    display: inline-block;
  }

  .locationName {
    font-size: 3vw;
    /* font-size: 1rem; */
  }

  .contentAddress,
  .operatingTime,
  .howToGetThere,
  .contentLocationType {
    color: grey;
    font-size: 3vw;
    /* font-size: 0.8rem;    */
  }

  .contentCity {
    display: block;
    font-size: 3vw;
    /* font-size: 0.8rem;   */
  }

  .mapFilter {
    font-size: 3vw;
    height: 100%;
  }
}

@media only screen and (max-width: 400px) {
  .typeFilterTitle,
  .districtFilterTitle,
  .regionFilterTitle,
  .areaFilterTitle {
    width: 100%;
    margin: 1px;
    font-size: 3.5vw;
    display: inline-block;
  }

  .locationName {
    font-size: 3.5vw;
    /* font-size: 1rem; */
  }

  .contentAddress,
  .operatingTime,
  .howToGetThere,
  .contentLocationType {
    color: grey;
    font-size: 3.5vw;
    /* font-size: 0.8rem;    */
  }

  .contentCity {
    display: block;
    font-size: 3.5vw;
    /* font-size: 0.8rem;   */
  }

  .mapFilter {
    font-size: 3.5vw;
    height: 100%;
  }
}