/*Overrides*/
.form-check-inline {
    width: 300px;
    padding-left: 10px;
}
/* -- */

.mw-800{ max-width: 800px;}
.no-padding { padding: 0 !important; }

.address-search-margin-fix{
    margin-left: -15px;
    margin-top: -15px;
}

@media (max-width: 474px) {
    .form-check-inline {
        width: 300px;
        margin-top: 5px;
        padding-left: 0px;
    }
}

@media only screen and (max-width: 991px) {
    .lg-screen-card {
        box-shadow: none !important;
        border: none;
    }

    .address-search-margin-fix {
        margin-left: 0;
        margin-top: 0;
    }

    .half-card {
        width: auto !important;
    }

    .lg-screen-card .card-body {
        padding: 0px;
    }

    .map-box-overlay-background {
        left:0;
    }

    #detail-total-customers, #detail-total-outages {
        font-weight: normal !important;
    }
}

@media only screen and (max-width: 1100px) {
}

.half-card {
    width: 60%;
}

#address-button-desktop-container {
    margin-bottom: 30px;
}

.exit-section {
    cursor: pointer;
    display: block;
    float: right;
}

#service-address {
    background-color: #f9f9f9;
    font-size: 125%;
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 5px;
}

#outage-map-maintenance-message {
    display: none;
}

.map-details-no-outages {
    display: none;
    text-align: center;
}

@media only screen and (min-width: 768px) {
    html[data-map-status="maintenance"] #report-container {
        margin-top: 0px;
    }
}

@media only screen and (max-width: 767px) {
    html[data-map-status="maintenance"] #report-container {
        margin-top: 630px;
    }
}

@media only screen and (max-width: 425px) {
    html[data-map-status="maintenance"] #outage-map-maintenance-message {
        margin-top: -300px !important;
    }
}
@media only screen and (max-width: 425px) {
    html[data-map-status="maintenance"] #report-container {
        margin-top: 230px;
    }
}

html[data-map-status="online-nooutages"] .map-status-nooutage-hide {
    display: none !important;
}

html[data-map-status="online-nooutages"] .map-status-nooutage-show {
    display: block !important;
}

html[data-map-status="online-nooutages"] #outage-type {
    bottom: 0px;
}

html[data-map-status="maintenance"] #outage-map-maintenance-message {
    display: block !important;
    position: relative;
    overflow: hidden;
    margin-top: -700px;
    background-color: #A6978A;
    color: white;
    text-align: center;
}

html[data-map-status="maintenance"] .show-during-maintenance {
    display: block !important;
}

html[data-map-status="maintenance"] .hide-during-maintenance {
    display: none !important;
}

html[data-map-status="maintenance"] .gm-style img[src*="svg"],
html[data-map-status="maintenance"] .gm-style img[src*="png"] {
    display: none !important;
}

.cluster,
.cluster a {
    color: #333 !important;
}

.map-box {
    width: 100%;
    height: 910px !important;
    margin: 0 auto;
    display: block;
    overflow: hidden;
    background: url(/images/ajax-loader-brand-big.gif);
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: center center;
}

.map-box-overlay-background {
    width: 100%;
    height: 100%;
    display: none;
    position: absolute;
    overflow: hidden; 
    top: 0;
    background-color: #000;
    opacity: 0.6;
    z-index: 98;
}

.map-box-overlay {
    width: 96%;
    height: 96%;
    display: none;
    position: absolute;
    overflow: hidden;
    top: 2%;
    left: 2%;
    margin: auto;
    background-color: #fff;
    z-index: 99;
}

.tall-map-box {
    height: 850px;
}

.active-outages {
    font-size: 24px;
}

#report-container {
    margin-top: 30px;
}

.outage-map-other-links {
    margin-top: 30px;
    font-size: 14px;
    line-height: 1.5;
}

.outage-map-other-links a {
    color: #1D8296; /* --primary-turquoise */
}

.outage-map-other-links p {
    margin-bottom: 15px;
}

.update-timestamp {
    font-size: 12px;
    display:block;
    float: right;
    margin-top: 4px;
    text-align: right;
}

#map-controls-zoom {
    position: absolute;
    margin-top: -115px;
    margin-left: 20px;
}

#map-zoom-in, #map-zoom-out, #address-button-mobile {
    box-shadow: 0px 2px 5px 0px #888888;
}

#map-controls-zoom i {
    vertical-align: -10%;
}

#map-controls-zoom button,
#address-button-mobile {
    background: #fff;
    border: 1px solid #fff;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    padding: 5px;
}
#address-button-mobile {
    position: absolute;
    margin-top: -60px;
    right: 35px;
}
#address-button-mobile img {
    margin-top: -3px;
}
#address_control {
    display: none;
}

#map-controls-zoom button:focus {
    outline: 0;
}

#map-controls-zoom button:first-child {
    margin-bottom: 10px;
}

.gm-style-iw {
    width: 300px !important;
    min-height: 150px !important;
}

.house-icon, .icon-home {
    margin-top: -3px;
}

/*Radio Buttons*/
input[type='radio'] {
    float: left;
    margin-top: 2px;
    margin-bottom: 5px;
    vertical-align: text-top;
    position: absolute;
    visibility: hidden;
}

.radio-inline input[type="radio"] {
    margin-left: -18px;
}

.radio-icon {
    float: left;
    padding-top: 1px;
    margin: 3px 8px 2px -17px;
}

input[type='radio']:checked + .radio-icon:before {
    content: "\f192";
    color: #1D8296;
}

input[type='radio'] + .radio-icon:before {
    content: "\f1db";
    display: block;
    font: normal normal normal 1.33333333em/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    margin-top: -3px;
    margin-left: -2px;
    color: #1D8296;
    padding-right: 1px;
}

.detail-communities-item:hover,
.detail-communities-item:hover .icon {
    background: #EAEAEA;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
    .detail-communities-item:hover .icon,
    .detail-communities-item.active .icon {
        background-color: #EAEAEA !important;
    }

.detail-communities-item.active {
    background: rgba(51,51,51,0.1);
}

.radio-inline {
    padding-left: 21px;
    width: 100%;
}

/*Side Panel: Community List*/
.map-details-outages .container {
    margin-top: 20px;
}

#outage-map-container {

}
.detail-communities-item {
    padding-top: 2px;
    padding-bottom: 2px;
    padding-right: 10px;
}

#all-go {
    margin-top: 15px;
    font-size: 20px;
    color: #231f20;
    display: block;
    line-height: 1.5;
}

form#communityList {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}

/*Selected Community Info Box*/
.community-details {
    display: none;
    margin: 10px 0px 0px 0px;
    font-size: 14px;
    background-color: #fff;
    padding-bottom: 30px;
}

.detail-header {
    font-weight: 700;
    margin-bottom: 3px;
    font-size: 14px;
}

.detail-info {
    font-weight: 400;
    font-size: 14px;
}

.panel-label,
#selected-community-name {
    font-size: 22px;
    font-weight: 400;
}

#exit-community-details {
    display: block;
    cursor: pointer;
    float: right;
    height: 100%;
}

#outage-detail-icon {
    margin-bottom: 4px;
    margin-right: 4px;
}

#outage-type img {
    margin-bottom: 3px;
}

.active-outages span {
    font-size: 20px;
    display: block;
    margin-bottom: 5px;
}

    .active-outages span:nth-child(2n) {
        font-weight: 400;
        margin-bottom: 25px;
    }


#detail-total-customers, #detail-total-outages {
    font-weight: bold;
}

@media (min-width: 1325px) {
    .pl-xxl-2 {
        padding-left: 0.5rem !important;
    }
}

@media (max-width: 991px) {
    #outage-map-container {
        width: 100% !important;
    }

    .map-details {
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    #detail-communities {
        display: none;
    }

    .detail-row {
        margin-top: 25px;
    }

        .detail-row:nth-child(2),
        .detail-row:nth-child(3) {
            min-height: unset;
        }

    #map-controls-zoom, #map-zoom-in, #map-zoom-out {
        display: none;
    }

    #active-outages {
        padding-left: 6px;
    }

    .map-details-outages .container {
        width: 100%;
    }

    .update-timestamp {
        margin-bottom: 20px;
        float: left;
    }
}

@media (max-width: 575px) {
}

@media (max-width: 425px) {
    .map-box {
        border: none !important;
    }
}

/* Unauth Search Styles */
.btn-search, .address-search.form-control {
    background-color: #fff;
    border-color: #eee;
    box-shadow: none;
    color: #1A0F14;
    height: 40px;
    left: -5px;
}

.btn-search {
    border-left: none;
    color: #1A0F14;
}

.card {
    margin-bottom: 20px;
}
