/**
*
* OHR, OHT, IPHCO Interactive Map CSS
*
*/

#map-spinner {
    height: 380px;
}

#map-outer {
    display: none;
}


/* FORM-SWITCH */
.form-switch {
    display: inline-block;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .form-switch i:not(.fa) {
    position: relative;
    display: inline-block;
    margin-right: .5rem;
    width: 46px;
    height: 26px;
    background-color: #ccc; /* #e6e6e6; */
    border-radius: 23px;
    vertical-align: text-bottom;
    transition: all 0.3s linear;
  }
  .form-switch i:not(.fa)::before {
    content: "";
    position: absolute;
    left: 0;
    width: 42px;
    height: 22px;
    background-color: #ccc; /* #fff; */
    border-radius: 11px;
    transform: translate3d(2px, 2px, 0) scale3d(1, 1, 1);
    transition: all 0.25s linear;
  }
  .form-switch i:not(.fa)::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 22px;
    background-color: #fff;
    border-radius: 11px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.24);
    transform: translate3d(2px, 2px, 0);
    transition: all 0.2s ease-in-out;
  }
  .form-switch:active i::after {
    width: 28px;
    transform: translate3d(2px, 2px, 0);
  }
  .form-switch:active input:checked + i::after { transform: translate3d(16px, 2px, 0); }
  .form-switch input[type="checkbox"] { display: none; }
  .form-switch input[type="checkbox"]:checked + i { background-color: #7ed3f6; } /* #076790 */ /* #0984e3;*/
  .form-switch:hover input[type="checkbox"]:checked + i { background-color: #076790;} /* #076790 */ /* #0984e3;*/

  .form-switch.disabled input[type="checkbox"]:checked + i { background-color: #f1f2f6; } /* #076790 */ /* #0984e3;*/
  .form-switch.disabled:hover input[type="checkbox"]:checked + i { background-color: #f1f2f6;} /* #076790 */ /* #0984e3;*/


  .form-switch input[type="checkbox"]:checked + i::before { transform: translate3d(18px, 2px, 0) scale3d(0, 0, 0); }
  .form-switch input[type="checkbox"]:checked + i::after { transform: translate3d(22px, 2px, 0); 
}
label.form-switch {
    font-weight: normal;
    padding-left: 0;
    margin-bottom: 0.5em;
    color: #076790;
}
label.form-switch.disabled {
    color: #57606f;
}

label.form-switch span {
    text-transform: uppercase;
    font-size: 14px;
}

label.form-switch label.main-label {
    float: right;
/*
    text-transform: uppercase;
*/    
    font-size: 14px;
    margin-top: 4px;
}


/* FORM-SWITCH END */

#ohr_oht_iphco_map5 {
    border: solid 1px #0081a4;
    padding: 0;
    border-radius: 0.5em;    
}

.subfilter-layers {
    width: 100%;
    padding: 0.25em 0;
    margin: 0 0 0.5em;
}

.subfilter-layers-inline {
    width: calc(100% - 200px);
    float: right;
    margin-top: -10px;
    margin-bottom: 0;
}

.select2.select2-container {
    width: 100% !important;
}
.select2-selection__rendered {
    font-size: 14px;
}

legend.controls-legend {
    border: solid 1px #0081a4;
    padding: 1em 0.5em 0.5em 0.5em;
    border-radius: 0.5em;
    position: relative;
}

legend.controls-legend .legend-title {
    position: absolute;
    left: 1em;
    top: -1em;
    background: #0081a4;
    color: #fff;
    border-radius: 0.5em;
    padding: 0.25em 0.5em;
}

legend.controls-legend .label-secondary {
    font-size: 16px;
}

#info-content {
    width: 640px;
    text-align: center;
    margin: 0 auto;
    line-height: 24px !important;
}

.info-p {
    line-height: 24px !important;
    text-align: left !important;
}

.tippy-content {
    background: #2d3436;
    text-align: center !important;
    min-width: 340px !important;
    min-height: 120px !important;
}

.tippy-content h1 {
    font-size: 14px;
    color: #dfe6e9;
}

.tippy-content h2 {
    font-size: 18px;
    color: #fff;
}

.info-dialog-logo {
    width: 128px !important;
    height: auto !important;
}
.info-dialog-logo-circle-shadow {
    border-radius: 50% !important;
    -webkit-box-shadow: 0px 0px 10px 2px #636e72 !important; 
    box-shadow: 0px 0px 10px 2px #636e72 !important;
}

#ohr_oht_iphco_map5 div[role="button"]:not([title='']) {
/*    
    border: solid 2px red !important;
*/    
    border-radius: 50% !important;

    -webkit-box-shadow: 0px 0px 15px 1px #2d3436; 
    box-shadow: 0px 0px 15px 1px #2d3436;
}

/*
#ohr_oht_iphco_map5 div[role="button"][ref="iphcos"]:not([title='']) {
    border: solid 2px red !important;
}
*/

dialog.dialogify {
    background: #f1f2f6; /* #f7f1e3; */ /* #f7f1e3; */ /* #dfe6e9; */
/*
    color: #fff;
*/    
}

.dialogify_title {
    text-align: center;
}

.dialogify__body a {
    text-decoration: underline !important;
    color: #227093 !important;
}
.dialogify__body strong {
    color: initial !important;
}

#directions-outer {
    background-color: #fff;
    border: 2px solid #fff;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
    cursor: pointer;
    margin-bottom: 36px;
    margin-left: 12px;
    text-align: left;
    width: 100%;
    height: 48px;
    padding: 8px 12px;
/*
    display: none;
*/
}

#directions-spinner {
    display: none;
    margin-top: 4px;
    font-size: 14px;
}

#directions-select-marker {
    width: 62%;
}

.directions-link {
    margin-left: 8px;
    margin-right: 8px;
    color: #0097e6 !important;
}
.directions-link#directions-reset-link {
    color: #cf2e2e !important;
}
#directions-outer .select2.select2-container {
    width: 50% !important;
    max-width: 50% !important;
}

#directions-result-outer {
    display: none;
}
#lightbox-new-content-route-details {
    font-size: 14px;
    line-height: 16px;
    overflow-y: scroll;
    height: 63vh;
}

#lightbox-new-content-route-details ul li {
    line-height: 14px;
}

.dialogify__body .directions-link {
    margin-right: 0;
    border-radius: 50%;
    background: #fff;
    padding: 8px;
    border-radius: 50% !important;
    -webkit-box-shadow: 0px 0px 4px 2px #636e72 !important;
    box-shadow: 0px 0px 4px 2px #636e72 !important;
}

li.li-direction {
    cursor: pointer;
    padding: 0.5em;
}

li.li-direction:hover {
    background: #57606f;
    color: #fff;
}
li.li-direction::marker {
    color: #57606f !important;
    font-size: 14px;
}

.slider-container .back-bar .pointer-label {
    font-size: 14px;
    color: #076790;
}
.theme-blue .scale ins {
    font-size: 12px;
    color: #076790;
}

legend.controls-legend div.ohr-legend {
    padding: 0.5em;
    margin: 0.5em 0 0 0;
    border: none; /* solid 1px #ccc; */
    font-size: 14px;
/*    
    width: fit-content;
*/    
    width: calc(33.33% - 1em);
    text-align: center;    
    display: inline-block;
    color: #fff;
}