/* map needs width and height to appear */

.GmapContainer {
  /* min-width: 100%; */
  min-height: 100%;
  height: 100%;
  width: 100%;
}

#gmap {
  width: 100%;
}

.locationInfo {
  min-height: 30px;
  border: thin solid white;
  display: block;
  background: #eee;
  background: -moz-linear-gradient(top, #eee 0%, #fff 100%);
  background: -webkit-linear-gradient(top, #eee 0%, #fff 100%);
  background: linear-gradient(to bottom, #eee 0%, #fff 100%);
  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#eee', endColorstr='#fff', GradientType=0);
  border-radius: 10px;
  padding: 5px;
}

.locationInfoContainer {
  /*min-width: 300px;*/
  min-height: 100%;
  max-height: 390px;
  height: 100%;
  overflow-y: scroll;
  width: 100%;
  text-align: left;
}

#SGMap {
  min-height: 100%;
  height: 100%;
}

.mapContainer {
  background: white;
  min-height: 100%;
  height: 100%;
  width: 100%;
  display: inline-block;
  text-align: center;
}

.mapInfoContainer {
  height: 100%;
}

.locationPlaceholder {
  font-size: 36px;
  color: #333;
  text-shadow: black;
}

.ErrorMess {
  color: red;
  border: thin solid red;
  margin: 20px;
  padding: 20px;
  display: none;
}

.mapSearchBarCol2 {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.mapSearchBarCol2 .locSearchText {
  border: thin solid #333;
  width: 60%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 10px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  font-size: 24px;
  margin-left: 5%;
  margin-top: 10px;
}

#SGMap.sgc_ .mapSearchBarCol2 button {
  background: #620800;
  background: -moz-linear-gradient(top, #620800 0%, #a10d01 100%);
  background: -webkit-linear-gradient(top, #620800 0%, #a10d01 100%);
  background: linear-gradient(to bottom, #620800 0%, #a10d01 100%);
  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#620800', endColorstr='#a10d01', GradientType=0);
  background-position: 0 0 !important;
  color: white;
  border: thin solid white;
  width: 20%;
  font-size: 22px;
  text-transform: uppercase;
  padding: 10px;
  border-radius: 10px;
  margin-left: 5%;
  margin-top: 10px;
}

#SGMap.dez_ .mapSearchBarCol2 .locSearchText {
  border: 2px solid #d9dadc;
  border-radius: 5px;
}

#SGMap.dez_ .mapSearchBarCol2 button {
  background: #0082ca;
  color: white;
  border: 2px solid #0082ca;
  width: 20%;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px;
  border-radius: 5px;
  margin-left: 5%;
  margin-top: 10px;
  transition:
    background 0.2s,
    color 0.2s;
  cursor: pointer;
}

#SGMap.dez_ .mapSearchBarCol2 button:hover {
  background: #ffffff;
  color: #0082ca;
  border-color: #0082ca;
}

#SGMap .Flags,
#SGMap .Flags label,
#SGMap .Flags input {
  /* display: none; */
}

#SGMap .Flags {
  text-align: center;
  margin: auto;
}

.FlagMargin {
  margin-left: 200px;
}

.Flags label {
  background: #eee;
  background: -moz-linear-gradient(top, #eee 0%, #fff 100%);
  background: -webkit-linear-gradient(top, #eee 0%, #fff 100%);
  background: linear-gradient(to bottom, #eee 0%, #fff 100%);
  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#eee', endColorstr='#fff', GradientType=0);
  border-radius: 5px;
  padding: 10px;
  margin: 0 5px 5px 5px;
}

#SGMap.sgc_ .Flags label.selected {
  background: #620800;
  background: -moz-linear-gradient(top, #620800 0%, #a10d01 100%);
  background: -webkit-linear-gradient(top, #620800 0%, #a10d01 100%);
  background: linear-gradient(to bottom, #620800 0%, #a10d01 100%);
  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#620800', endColorstr='#a10d01', GradientType=0);
  background-position: 0 0 !important;
  color: white;
}

#SGMap.dez_ .Flags label {
  background: #f7f7f6;
  color: #201d1d;
  border: 1px solid #d9dadc;
}

#SGMap.dez_ .Flags label.selected {
  background: #0082ca;
  color: white;
  border-color: #0082ca;
}

.locationInfo .NAME {
  font-weight: bold;
  font-size: 18px;
  display: block;
}

.locationInfo .ADDRESS {
  font-size: 14px;
  display: block;
}

.locationInfo .CITY,
.locationInfo .STATE,
.locationInfo .ZIP,
.locationInfo .COUNTRY {
  font-size: 14px;
}

.locationInfo .PHONE {
  font-size: 14px;
  color: #333;
  display: block;
}

.locationInfo .EMAIL {
  font-size: 12px;
  color: #333;
  display: block;
}

.locationInfo .URL {
  font-size: 12px;
  color: #333;
}

.locationInfo .DEALERWEBSITE {
  font-size: 12px;
  color: #333;
}

.locationInfo .LAT,
.locationInfo .LNG,
.locationInfo .LATSPACER {
  display: none;
}

.locationInfo .DISTANCE {
  font-size: 14px;
  color: #333;
  text-align: right;
  float: right;
}

.locationInfo .Tags {
  display: block;
  text-align: right;
}

.locationInfo .DIRECTIONS {
  font-size: 14px;
  color: #333;
  text-align: right;
  display: block;
}

#SGMap.sgc_ .locationInfo a.DIRECTIONS {
  color: #a10d01;
}

#SGMap.dez_ .locationInfo a.DIRECTIONS {
  color: #0082ca;
}

/* Show brand options */
#SGMap.brand-LW .Flags .flgAll,
#SGMap.brand-LW .Flags .flgSales,
#SGMap.brand-LW .Flags .flgRental,
#SGMap.brand-LW .Flags .flgService,
#SGMap.brand-LW .Flags .flgPaving,
#SGMap.brand-LW .Flags {
  display: inline-block;
}

/* Show brand options */
#SGMap.brand-CL .Flags .flgAll,
#SGMap.brand-CL .Flags .flgSales,
#SGMap.brand-CL .Flags .flgRental,
#SGMap.brand-CL .Flags .flgService,
#SGMap.brand-CL .Flags {
  display: inline-block;
}

/* Show brand options */
#SGMap.brand-M .Flags .flgAll,
#SGMap.brand-M .Flags .flgSales,
#SGMap.brand-M .Flags .flgRental,
#SGMap.brand-M .Flags .flgService,
#SGMap.brand-M .Flags .flgGoldTine,
#SGMap.brand-M .Flags {
  display: inline-block;
}

#SGMap.brand-LW .Brand:before {
  content: "Little Wonder ";
}

#SGMap.brand-RY .Flags .flgAll,
#SGMap.brand-RY .Flags .flgSales,
#SGMap.brand-RY .Flags .flgRental,
#SGMap.brand-RY .Flags .flgService,
#SGMap.brand-RY .Flags {
  display: inline-block;
}

#SGMap.brand-M .Flags .flgAll,
#SGMap.brand-M .Flags .flgSales,
#SGMap.brand-M .Flags .flgRental,
#SGMap.brand-M .Flags .flgService,
#SGMap.brand-M .Flags .flgGoldTine #SGMap.brand-M .Flags {
  display: inline-block;
}

/* Show brand options — DEZ */
#SGMap.brand-DEZ .Flags .flgAll,
#SGMap.brand-DEZ .Flags .flgFullLine,
#SGMap.brand-DEZ .Flags .flgStarOnly,
#SGMap.brand-DEZ .Flags .flgForest,
#SGMap.brand-DEZ .Flags .flgColumbia,
#SGMap.brand-DEZ .Flags .flgPorterOnly,
#SGMap.brand-DEZ .Flags .flgNevinOnly,
#SGMap.brand-DEZ .Flags .flgForestParts,
#SGMap.brand-DEZ .Flags .flgDTElessForest,
#SGMap.brand-DEZ .Flags {
  display: inline-block;
}

/* map marker styles */
.gm-style-iw-c {
  text-align: left;
}

.gm-style-iw-d .NAME {
  font-weight: bold;
  font-size: 18px;
  display: block;
}

.gm-style-iw-d .ADDRESS {
  font-size: 14px;
  display: block;
}

.gm-style-iw-d .CITY,
.gm-style-iw-d .STATE,
.gm-style-iw-d .ZIP {
  font-size: 14px;
}

.gm-style-iw-d .PHONE {
  font-size: 14px;
  color: #333;
  display: block;
}

.gm-style-iw-d .EMAIL {
  font-size: 12px;
  color: #333;
  display: block;
}

.locationInfo .URL {
  font-size: 12px;
  color: #333;
}

.gm-style-iw-d .DEALERWEBSITE {
  font-size: 12px;
  color: #333;
}

.gm-style-iw-d .DISTANCE {
  font-size: 14px;
  color: #333;
  text-align: right;
  float: right !important;
}

.gm-style-iw-d .DIRECTIONS {
  font-size: 14px;
  color: #333;
  text-align: right;
  float: right !important;
}

.gm-style-iw-d .DISTANCE img {
  height: 14px;
  margin-right: 4px;
  position: relative;
  top: -3px;
}

.gm-style-iw-d .LAT,
.gm-style-iw-d .LNG,
.gm-style-iw-d .LATSPACER {
  display: none;
}

.fakeMarker {
  display: inline-block;
  width: 27px;
  height: 43px;
  background: URL("https://maps.gstatic.com/mapfiles/api-3/images/spotlight-poi-dotless2.png");
  font-size: 14px;
  text-align: center;
  line-height: 18px;
  padding-top: 5px;
  color: white;
  font-weight: bold;
}

/* Bootstrap replacement */
.col-3 {
  width: 30%;
  margin: 0;
  border: 0;
  padding: 0;
  display: inline-block;
}

.col {
  width: 70%;
  margin: 0;
  border: 0;
  padding: 0;
  display: inline-block;
}

/* width */
.col-3 ::-webkit-scrollbar {
  width: 10px;
}

/* Track */
.col-3 ::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
.col-3 ::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
.col-3 ::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Overlay while updating markers */
.updating_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   DEZ Brand Overrides — styled to match dentalez.com
   Primary: #0082CA | Neutrals: #F7F7F6, #EFEFF0 | Border: #D9DADC
   ============================================================ */

#SGMap.dez_ {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #201d1d;
}

#SGMap.dez_ .locationInfo {
  background: #f7f7f6;
  border: 1px solid #d9dadc;
  border-radius: 5px;
}

#SGMap.dez_ .locationInfo:hover {
  background: #efeff0;
  border-color: #0082ca;
  cursor: pointer;
}

#SGMap.dez_ .locationInfo a.PHONE,
#SGMap.dez_ .locationInfo a.EMAIL {
  color: #0082ca;
}

#SGMap.dez_ .col-3 ::-webkit-scrollbar-thumb {
  background: #0082ca;
}

#SGMap.dez_ .col-3 ::-webkit-scrollbar-thumb:hover {
  background: #005fa3;
}
