﻿
#AllPlannedOutagesTable, #PlannedOutagesTable, #UnPlannedOutagesTable, #UnPlannedOutageDetail {
    display: none;
}

    #AllPlannedOutagesTable .callout, #PlannedOutagesTable .callout, #UnPlannedOutagesTable .callout, #UnPlannedOutageDetail .callout {
        width: 350px;
    }

.outageList {
    margin-bottom: 20px;
}

    .outageList .row {
        border: 1px solid #c6c6c6;
        border-top: 0px solid #c6c6c6;
    }

.row.display {
    background: #e1e1e1;
    border: solid 1px #c6c6c6;
}

.card .restored, .card .completed {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.card .cancelled {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}

.outageList .row:not(.display):hover {
    background-color: #f1f1f1;
}

table.dataTable thead .sorting {
    background-image: url("/images/Outages/sort_both.png");
}

table.dataTable thead .sorting_asc {
    background-image: url("/images/Outages/sort_asc.png");
}

table.dataTable thead .sorting_desc {
    background-image: url("/images/Outages/sort_desc.png");
}

table.dataTable thead .sorting_asc_disabled {
    background-image: url("/images/Outages/sort_asc_disabled.png");
}

table.dataTable thead .sorting_desc_disabled {
    background-image: url("/images/Outages/sort_desc_disabled.png");
}




#PlannedOutagesCards, #UnPlannedOutagesCards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

    #PlannedOutagesCards .card, #UnPlannedOutagesCards .card {
        padding: 0;
        width: 300px;
        flex-grow: 0;
        flex-shrink: 0;
        margin: .5rem;
    }

    #PlannedOutagesCards .card-section, #UnPlannedOutagesCards .card-section {
        border-top: 1px solid #e6e6e6;
        padding: .5rem 1rem .5rem 1rem;
    }

    #PlannedOutagesCards ul, #UnPlannedOutagesCards ul {
        margin: 0 0;
        padding: 0;
        width: 300px;
    }

span.fa-stack.has-tip {
    border-bottom: 0px;
}

.reveal-overlay {
    z-index: 999999;
}


/* Map & Search */
#outagesMap {
    height: 700px;
    width: 100%;
}

    #outagesMap .map-popup {
        /*background-color: antiquewhite;*/
    }

        #outagesMap .map-popup div {
            padding: 2px;
        }

        #outagesMap .map-popup h4 {
            /*background-color: #FF671F;
            color: white;
            padding: 10px;*/
        }

        #outagesMap .map-popup .info-outage-id {
            /*color: blueviolet;*/
        }

#outagesMapLegend {
    background-color: rgba(255,255,255, 0.8);
    padding: 0.5rem;
    box-shadow: 0 10px 10px rgba(0,0,0,.16);
    margin: 10px;
}

    /* Legend rows */
    #outagesMapLegend div {
        padding: 0.1rem;
        white-space: nowrap;
    }

    /* Legend icons */
    #outagesMapLegend img {
        width: 24px;
        height: 24px;
    }

#outages-search {
    border: 1px solid rgb(230, 230, 230);
    max-width: 100%;
}

.outages-search select, .outages-search select:active, .outages-search select:focus,
.outages-search input[type="file"], .outages-search input[type="file"]:active, .outages-search input[type="file"]:focus,
.outages-search input[type="text"], .outages-search input[type="password"], .outages-search input[type="date"], .outages-search input[type="datetime"], .outages-search input[type="datetime-local"], .outages-search input[type="month"], .outages-search input[type="week"], .outages-search input[type="email"], .outages-search input[type="number"], .outages-search input[type="search"], .outages-search input[type="tel"], .outages-search input[type="time"], .outages-search input[type="url"], .outages-search input[type="color"], .outages-search textarea,
.outages-search input[type="text"]:active, .outages-search input[type="password"]:active, .outages-search input[type="date"]:active, .outages-search input[type="datetime"]:active, .outages-search input[type="datetime-local"]:active, .outages-search input[type="month"]:active, .outages-search input[type="week"]:active, .outages-search input[type="email"]:active, .outages-search input[type="number"]:active, .outages-search input[type="search"]:active, .outages-search input[type="tel"]:active, .outages-search input[type="time"]:active, .outages-search input[type="url"]:active, .outages-search input[type="color"]:active, .outages-search textarea:active,
.outages-search input[type="text"]:focus, .outages-search input[type="password"]:focus, .outages-search input[type="date"]:focus, .outages-search input[type="datetime"]:focus, .outages-search input[type="datetime-local"]:focus, .outages-search input[type="month"]:focus, .outages-search input[type="week"]:focus, .outages-search input[type="email"]:focus, .outages-search input[type="number"]:focus, .outages-search input[type="search"]:focus, .outages-search input[type="tel"]:focus, .outages-search input[type="time"]:focus, .outages-search input[type="url"]:focus, .outages-search input[type="color"]:focus, .outages-search textarea:focus {
    border: 1px solid rgb(230, 230, 230);
    max-width: 100%;
    /*max-height: none !important;
        max-width: none !important;
        min-width: unset !important;
        min-height: unset !important;*/
    /* IE */
    /*min-width: auto !important;
        min-height: auto !important;
        margin-bottom: 16px;*/
}

.outages-search .outages-search-result, .outages-summary {
    padding: 0.4rem 0.4rem 0.4rem 1rem;
    background-color: #f1f1f1;
    margin: 1rem 0 1rem 0;
}

.outages-search .addressSearchInput.loading-indicator, .outages-search .addressSearchInput:focus.loading-indicator {
    background: url('../../images/Outages/loading.gif') no-repeat right;
    background-position-x: 99%;
    /*background-image: url('../../images/Outages/loading.gif');*/
}

.map-filter {
    margin: 0;
    padding: 0;
    background-color: rgba(39,39,39,0.8);
    /*list-style-type: none;*/
    /*overflow: hidden;*/
    display: block;
}

    .map-filter li {
        /*list-style-type: none;*/
        margin: 0;
        padding: 0;
        display: inline-block;
        /*float:left;*/
    }

        .map-filter li.active a {
            background-color: #FF671F;
        }

    .map-filter a {
        display: block;
        padding: 0.5rem 1.2rem 0.5rem 1.2rem;
        /*background-color: aliceblue;*/
        color: #fff;
        font-weight: normal;
    }

        .map-filter a:hover, .map-filter a:focus {
            text-decoration: none;
        }

    .map-filter li:not(.active) a:hover {
        background-color: #fff;
        color: rgba(39,39,39,0.8);
        text-decoration: none;
    }

.map-legend {
    padding: 1rem;
    background-color: #f1f1f1;
    /*color: rgba(39,39,39,0.8);*/
    border-top: solid #ccc 1px;
    font-size: 1rem;
}

    .map-legend div {
        padding: 0.2rem;
    }


/* ################################################################################################################  */

.error {
    color: tomato;
}

::-webkit-input-placeholder { /* Edge */
    color: lightgray !important;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: lightgray !important;
}

::placeholder {
    color: lightgray !important;
}

.popup-input {
    border: 1px solid rgb(230, 230, 230) !important;
    width: auto;
}

.resto-highlight {
    background-color: aliceblue;
}

.button.small {
    min-width: 160px;
    height: 40px;
    font-size: 16px;
    padding: 0 10px;
    text-align: center;
    vertical-align: middle;
    line-height: 40px;
    background: #FF5F14;
    margin: 0px;
}

    .button.small:hover {
        -webkit-box-shadow: none;
        box-shadow: none;
        padding: 0px;
        margin: 0px;
        border: none;
        /*all:initial;*/
    }

.follow-button {
    padding: 10px;
    background-color: #FF671F;
    ; /*#f1f1f1 - grey*/
    color: white; /*#0E0048;*/
    /*border-radius: 4px;*/
    font-weight: 600;
    float: right; /*left;*/
}

    .follow-button:hover {
        color: white;
    }

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    /*transition: opacity 100ms;*/
    visibility: hidden;
    opacity: 0;
    z-index: 999;
}

    .overlay:target {
        visibility: visible;
        opacity: 1;
        z-index: 1020;
    }

.popup {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    /*border-radius: 5px;*/
    width: 50%;
    position: relative;
    /*transition: all 5s ease-in-out;*/
    color: #0e0048;
}


    .popup .close {
        position: absolute;
        top: 20px;
        right: 30px;
        /*transition: all 100ms;*/
        font-size: 30px;
        font-weight: bold;
        text-decoration: none;
        color: #333;
    }

        .popup .close:hover {
            color: #0e0048;
        }

    .popup .content {
        max-height: 50%;
        overflow: auto;
        color: #0e0048;
        margin: 5%;
    }

    .popup p {
        color: #0e0048 !important;
    }

    .popup h4 {
        color: #ff5f14 !important;
    }

.popup-container {
    height: 100%;
    overflow-y: scroll;
}

.popuplink {
    color: white !important;
}

.field-validation-valid {
    font-size: 0.87rem;
    font-weight: 400;
    line-height: 1.8;
    color: #0a0a0a;
}

@media screen and (max-width: 1000px) {
    .popup {
        width: 85%;
        color: #0e0048;
    }
}


@media screen and (max-width: 700px) {
    .box {
        width: 70%;
        color: #0e0048;
    }

    .popup {
        width: 100%;
        color: #0e0048;
    }
}

/* Tooltip container */
.TTaffected {
    position: relative;
    display: inline-block;
    cursor: help;
}

/* Tooltip text */
.TTtextAffected {
    visibility: hidden;
    width: 335px;
    background-color: silver;
    color: #fff;
    text-align: left;
    line-height: 1.5;
    padding: 5px;
    border-radius: 6px;
    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.TTaffected:hover .TTtextAffected {
    visibility: visible;
}
