@import 'reset.css';

#locations-near-you-map {
  width: 100%;
  height: 480px;
  margin: 0 auto;
}

.store-locator form {
  max-width: 100%;
  margin: 0 auto;
  text-align: right;
  padding: 25px 10px;
  margin-bottom: 14px;
}

.store-locator input[type=number] {
  /*width: 60px;*/
}

.store-locator input[type=text]  {
  /*width: 416px;*/
}

.store-locator button {
/*	background-color: #a81612;
	border-radius: 3px;
	border: none;
	color: #fff;
	padding: .5rem 1rem;
	transition: background-color 0.2s;*/


}
.gm-style-iw.gm-style-iw-c, 
.gm-style-iw-d {
  padding:0px !important; box-shadow: none !important;
  border-radius: 0px !important;
}


.gm-style-iw-d {
  overflow: auto !important;
}
.store-locator button.gm-ui-hover-effect {
  right: 22px !important; top:24px !important;
  width: auto !important; height: auto !important;   
}
.store-locator button.gm-ui-hover-effect span {
    width:24px !important; height: 24px !important;
    margin: 0 !important;
}

.store-locator button:hover {
	/*background-color: #d6322d;*/
}

.store-locator button:active {
	/*background-color: #000;
	color: #fff;*/
}

.store-locator #location-search-alert {
  font-weight: 600;
  padding: 10px 0;
  color: #FD566F;
  font-size: 14px;
  text-align: left;
}
.thlang {
  font-family: "FC Iconic" !important;
}
html[lang="th"], .thlang {
  font-family: "FC Iconic" !important;
  body {
    font-family: "FC Iconic" !important;
  }
  .infoWindow {
    font-family: "FC Iconic" !important;
  }
  .infoWindow h3 {
    font-size: 22px; font-weight: 500;
    font-family: "FC Iconic" !important;
  }
  .infoWindow p {
    font-size: 18px;
    font-family: "FC Iconic" !important;
  }
  .infoWindow button{
    font-family: "FC Iconic" !important; font-size: 20px;
  }
  .mapdirectionbtn a {
    font-family: "FC Iconic" !important; font-size: 20px;
  }
}

.infoWindow {
  max-width: 382px;
  line-height: 1.5;
  @media all and (min-width: 993px) {
    min-width: 382px;
    line-height: 21px;
    h3 {
      line-height: 24px;
    }
  }
}
.infoWindow > p {
  padding-left: 32px;
  font-size: 14px; 
}
.infoWindow .address {
  background: url('../../images/markers.svg') 1px top no-repeat;
  padding-top: 0px;
  background-size: 20px;
}
.infoWindow .whour {
    position: relative;

    &:before {
      position: absolute; left:2px; top:0;
      font-family: "Font Awesome 5 Pro";
      content: "\f017"; color: #707070;
      font-weight: 500;
    }
}
.infoWindow .st-phone {
    position: relative;

    &:before {
      position: absolute; left:2px; top:0;
      font-family: "Font Awesome 5 Pro";
      content: "\f095"; color: #707070;
      transform: rotate(100deg);
      font-weight: 700;

    }
}
.infoWindow h3,
.location-near-you-box h4 {
  color: #000; font-size: 16px;
  font-weight: 500; padding-right: 20px;
  margin-bottom: 1rem;
}

.infoWindow h3 {
	font-size: 16px;
  font-family: "Poppins", sans-serif;
}
.store-locator .autocomplete {
  width: 410px;
}

.infoWindow p {
	font-size: 14px; 
  font-family: "Poppins", sans-serif;
}
.infoWindow button{
    font-size: 16px;
    font-family: "Poppins", sans-serif;
}
#locations-near-you {
  text-align: center;
}

.location-near-you-box {
  box-sizing: border-box;
  display: inline-block;
  padding: 10px; 
  border: 1px dotted #000;
  border-radius: 3px;
  margin: 10px;
}

.location-near-you-box p {
  font-size: .75rem;
}

.mapdirectionbtn .fa-arrow-right {
    font-weight: 400; margin-left: .25rem;
    font-size: 90%;
}
.mapdirectionbtn a {
    font-size: 16px; font-family: "Poppins", sans-serif;
}

@media all and (max-width: 600px) {
 .store-locator .autocomplete {
    width: 100% !important;
  }
  .store-locator input[type=number], .store-locator input[type=text], label {
    display: block;
    margin: 10px auto;
  }

  .store-locator input[type=text] {
    max-width: 90%;
  }

  .gm-style-iw.gm-style-iw-c {
    max-width: calc(100% - 16px) !important;
  }
}



@media all and (max-width: 560px) {
  #locations-near-you-map {
    height: 510px;
  }
  .location-near-you-box {
    display: block;
    width: 90%;
    margin: 10px auto;
  }
  .infoWindow {
    padding: 20px;
  }
  .gm-style-iw-d {
    overflow: hidden !important;
  }
  .store-locator button.gm-ui-hover-effect {
    right: 22px !important;
    top: 20px !important;
  }
}
