﻿html,
body {
   height: 100%;
   margin: 0;
   padding: 0;
   font-size: 16px;
}

body {
   overflow-x: hidden;
}

.header-title {
   background-color: #ff6600;
   color: #fff;
   margin: 10px 0 0.75em 0;
   padding: 10px;
   font-size: 20px;
   font-weight: bold;
}

@media (max-width: 991px) {
   .header-title {
      font-size: 14px;
   }
}

#main {
   height: 100%;
}

#map {
   border: 1px solid #ccc;
}

#search-container {
   margin-bottom: 0.75em;
}

#search {
   background-color: #ff6600;
   color: #fff;
   border-color: lightgray;
}

.btn:focus,
.btn.focus,
.btn:active,
.form-control:focus {
   border-color: lightgray;
   box-shadow: 0 0 0 .2rem #ff660040 !important;
}


.form-control {
   background-color: white !important;
}

.iw-container {
   text-align: left;
   font-size: 15px;
   line-height: 1.1em;
   font-weight: normal;
}

.iw-title {
   padding: 0.8em 2.1em 0.8em 0.8em;
   /* right mayor para no colisionar con botón de close */
   background-color: #ff6600;
   color: white;
   margin: 0;
   border-radius: 2px 2px 0 0;
   display: block;
}

.iw-container .iw-content {
   padding: 0.8em 1em;
   overflow-y: auto;
   overflow-x: hidden;
   display: block;
   margin-bottom: 0.7em;
}

@media (min-width: 615px) {
   .iw-container .iw-content {
      min-width: 505px;
   }
}

.iw-content .title {
   margin: 0.35em 0;
}

.iw-content .description {
   margin-bottom: 0.35em;
}

.iw-container p {
   margin: 0;
   width: 100%;
}

.iw-container .orange {
   color: #ff6600;
}

.iw-title .address1 {
   font-size: 20px;
   font-weight: bold;
   line-height: 1.5em;
   margin: 0px;
}

.iw-title .address2 {
   font-size: 17px;
   line-height: 1.2em;
   margin: 0px;
}

#signalInfo b {
   font-weight: 500 !important;
}

.gm-style .gm-style-iw {
   padding: 0px;
   border-radius: 4px 4px 10px 10px;
}

.gm-style .gm-style-iw-c {
   max-width: none !important;
}

.gm-style-iw-d {
   max-width: 505px !important;
   overflow: auto !important;
}

.gm-ui-hover-effect {
   opacity: 1.0;
   background: white !important;
   top: 4px !important;
   right: 4px !important;
   width: 16px !important;
   height: 16px !important;
   border-radius: 50px !important;
}

.gm-ui-hover-effect span {
   width: 12px !important;
   height: 12px !important;
   /*background: white !important;*/
   margin: 2px !important;
}

@media (max-width: 615px) {

   .btn,
   input[type="text"] {
      width: 100% !important;
   }
}

.iw-close {
   position: absolute !important;
   top: 2em !important;
   right: 2em !important;
   border-radius: 100% !important;
   padding: 2px !important;
   background-color: #fff !important;
   width: 1.25em !important;
   height: 1.25em !important;
   cursor: pointer !important;
   overflow: hidden !important;
}

.iw-close img {
   width: 1.15em !important;
   height: 1.15em !important;
   position: absolute !important;
   left: 0.05em !important;
   top: 0.05em !important;
   margin: 0 !important;
}

.legend {
   border: 1px solid #ccc;
   padding: .4em 15px .4em 15px;
   font-size: 70%;
   overflow-x: hidden;
   display: inline;
}

.legend .layer-item {
   display: inline-block;
   margin-right: 1.6em;
}

.legend .legend-item {
   display: inline-block;
   margin-right: 1.2em;
   white-space: nowrap;
}

.legend .legend-item input {
   vertical-align: middle;
   margin-right: 0.8em;
   margin-top: auto;
   margin-bottom: auto;
}

.legend .legend-item .label {
   font-size: 1.8em;
   white-space: normal;
   margin-top: auto;
   margin-bottom: auto;
   color: gray;
}

.legend .legend-item .square,
.legend .legend-item .label {
   display: inline-block;
   vertical-align: middle;
}

.legend .legend-item .square {
   width: 1.6em;
   height: 1.6em;
   margin-right: .5em;
   margin-top: auto;
   margin-bottom: auto;
}

.legend .legend-item img {
   height: 1.75em;
   margin-right: .5em;
   margin-top: auto;
   margin-bottom: auto;
}

@media (max-width: 768px) {
   .legend {
      font-size: 60%;
   }
}

@media (max-width: 576px) {
   .legend {
      font-size: 55%;
   }

   .legend .layer-item {
      display: inline-block;
      margin-right: 1.4em;
   }
}


#overlay-black-dialog {
   display: none;
   position: absolute;
   left: 0px;
   top: 0px;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.7);
}

.modal-popup {
   background-color: white;
   display: none;
   position: absolute;
   left: 50%;
   top: 50%;
   box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
   border-radius: 2px 2px 10px 10px;
   max-width: 480px;
   width: 90%;
}

.modal-info-window-close {
   position: absolute;
   top: 0.8em;
   right: 0.8em;
   border-radius: 100%;
   padding: 2px;
   background-color: #fff;
   width: 1em;
   height: 1em;
   cursor: pointer;
   overflow: hidden;
}

.modal-info-window-close img {
   width: 1em;
   height: 1em;
   position: absolute;
   left: 0;
   top: 0;
}