﻿html,
body {
    font-family: 'Nunito', sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

body, #map_panel_container {
    background-image: linear-gradient(98.07deg, rgba(1, 151, 211, 0.97) 37.33%, rgba(50, 80, 179, 0.97) 86.01%), url('../images/map_bg.png');
}

#logo_saws_wrapper {
    top: 10px;
    right: 10px;
    position: absolute;
}

#logo_saws {
    width: 100px;
}

/****************
   MAP STYLE
****************/

#map {
    bottom: 0;
    height: 100%;
    left: 0;
    margin-left: -3%;
    position: absolute;
    right: 0;
    top: 0;
    width: 102%;
    z-index: -1;
}

.main_container {
    height: 100vh;
}

.esri-attribution {
    display: none !important;
}

.esri-ui-top-right {
    position: relative;
    width: 100%;
}

.esri-search {
    text-align: center;
    margin: 0 auto;
    width: 300px !important;
    border-radius: 10px;
}

.esri-zoom {
    bottom: 35px;
    position: fixed;
    right: 15px;
}

.esri-input {
    background-color: white !important;
    color: rgb(85, 85, 85) !important;
}

.esri-widget--button {
    background-color: #0078ae !important;
    color: white !important;
}

.popup_info_wrapper {
    margin-top: 10px;
}

.esri-popup--is-docked {
    top: 80px !important;
}

.esri-search__container {
    border: 2px solid #ff8e1c;
    border-radius: 6px;
}

#report_outage_btn_popup {
    margin-top: 15px;
    text-align: center;
}

.esri-search__input {
    border-radius: 6px 0px 0px 6px;
}

.esri-search__submit-button {
    border-radius: 0px 4px 4px 0px;
}

.btn-report-outage {
    font-weight: 500;
    transition: none;
}

/****************
   NAVIGATION STYLE
****************/

header {
    background-color: white;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

nav {
    display: none;
    padding: 10px;
}

#main_saws_logo {
    margin-left: 12px;
    width: 100px;
}

#nav_links_wrapper {
    display: flex;
    float: right;
}

.nav_item {
    background: #0078ae;
    border: none;
    border-radius: 75px;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    line-height: 24px;
    margin-left: 25px;
    padding: 5px;
    text-align: center;
    transition: 0.4s;
}

    .nav_item:hover, #menu_button:hover {
        background: #0072d6;
    }

.nav-link, .nav-link:active, .nav-link:visited {
    color: white !important;
}

#menu_button {
    background-color: #0078ae;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    font-size: 25px;
    height: 45px;
    left: 20px;
    padding: 9px;
    position: relative;
    text-align: center;
    top: 5px;
    transition: 0.4s;
    width: 45px;
}

/****************
   PANELS STYLE
****************/

#map_panel_container {
    background-color: #0078ae;
    border-radius: 16px;
    box-shadow: -10px 10px 10px rgb(0 0 0 / 25%);
    color: #fff;
    font-size: 18px;
    left: 20px;
    padding: 15px;
    position: absolute;
    top: 40px;
    transition: 0.4s;
    width: 310px;
    z-index: 10;
}

.map_panel_info_wrapper {
    background-color: white;
    border-radius: 10px;
    color: rgb(85, 85, 85);
    padding: 15px;
}

#totals_outages_summary_container, #totals_outages_search_container, #totals_outages_views_container {
    margin-bottom: 15px;
}

#totals_outages_views_container {
    text-align: center;
}

.totals_outages_item {
    margin-bottom: 10px;
}

.totals_outages_label {
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

#totals_outages_symbol {
    color: red;
    margin-right: 5px;
    font-size: 12px;
}

#close_map_panel {
    background-color: white;
    border: 3px solid #0078ae;
    border-radius: 50%;
    color: #0078ae;
    cursor: pointer;
    padding: 5px;
    position: absolute;
    right: -15px;
    text-align: center;
    top: -10px;
    width: 33px;
}

.view_by_btn_wrapper {
    width: 45%;
    background: white;
    color: #0078ae;
    display: inline-block;
    text-align: center;
    border-radius: 8px;
    color: #0078ae;
    cursor: pointer;
    display: inline-block;
    padding: 10px;
    text-align: center;
    border: 2px solid #0078ae;
}

.active_view_by_btn_wrapper {
    background: linear-gradient(180deg, #0197D3 0%, #3250B3 99.89%);
    color: white;
}

.view_by_btn {
    font-size: 22px;
}

.view_by_label {
    font-size: 12px;
}

#search_address_btn {
    background: linear-gradient(180deg, #0197D3 0%, #3250B3 99.89%);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    line-height: 24px;
    padding: 5px;
    text-align: center;
    transition: 0.4s;
}

#search_address_field {
    border: 1px solid grey;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 5px 10px;
    width: 100%;
}

    #search_address_field:focus {
        border: 1px solid grey;
    }

#clear_address {
    background-color: white;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    height: 34px;
    margin-top: 3px;
    padding-top: 7px;
    position: absolute;
    right: 33px;
    text-align: center;
    width: 30px;
}

#expand_panel {
    background-color: #0078ae;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    font-size: 25px;
    height: 45px;
    left: 20px;
    padding: 9px;
    position: absolute;
    text-align: center;
    top: 50px;
    transition: 0.4s;
    width: 45px;
    z-index: 8;
}

.layers_checkbox_wrapper {
    display: none;
}

.square_range {
    display: inline-block;
    height: 14px;
    position: relative;
    top: 2px;
    width: 14px;
}

.square_range_inner {
    height: 10px;
    opacity: 0.5;
    width: 10px;
}

#square_range_1_50 {
    border: 2px solid green;
    color: green;
}

#square_range_inner_1_50 {
    background-color: green;
}

#square_range_51_200 {
    border: 2px solid yellow;
    color: blue;
}

#square_range_inner_51_200 {
    background-color: yellow;
}

#square_range_200 {
    border: 2px solid red;
    color: red;
}

#square_range_inner_200 {
    background-color: red;
}

.legend_wrapper {
    font-size: 14px;
    margin: 20px auto 0 auto;
    text-align: center;
}

#legend_zip {
    display: none;
}

.legend_zip_range_wrapper {
    display: inline-block;
    padding: 0 2px;
}

.layer_checkbox_label {
    position: relative;
    top: -2px;
}

#suggested_addresses_map_container {
    display: none;
}

#suggested_addresses_map {
    font-size: 14px;
    margin: 0 -15px 0 -15px;
    max-height: 430px;
    overflow: auto;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.suggested_addresses_map_item {
    border-top: 1px solid gray;
    cursor: pointer;
    padding: 0 15px;
    transition: 0.3s;
}

.suggested_addresses_map_item_odd {
    background: lightgray;
}

.suggested_addresses_map_item:hover {
    background: #ededed;
}

.suggested_addresses_name {
    text-transform: capitalize;
}

.suggested_addresses_street {
    margin-bottom: -6px;
}

.suggested_addresses_city_and_zip {
    font-size: 11px;
}

.search_address_spinner {
    font-size: 23px !important;
}

#other_layers_wrapper {
    /*display: flex;*/
    text-align: center;
}

.other_layer_wrapper {
    cursor: pointer;
    margin: 0 auto;
    /*width: 33.33%;*/
    /*width: 50%;*/
    margin-bottom: 10px;
}

.other_layer_icon {
    /*border: 2px solid #0078ae;*/
    border-radius: 8px;
    color: #0078ae;
    /*padding: 7px;*/
    /*padding: 15px 30px;*/
}

.other_layer_icon_wrapper_link {
    text-decoration: none;
    color: rgb(85, 85, 85);
}

    .other_layer_icon_wrapper_link:hover {
        text-decoration: none;
    }

    .other_layer_icon_wrapper_link:active {
        text-decoration: none;
    }

    .other_layer_icon_wrapper_link:visited {
        text-decoration: none;
    }

.active_other_layer_icon {
    /*background: linear-gradient(180deg, #0197D3 0%, #3250B3 99.89%);*/
    /*color: white;*/
    color: #ff8e1c;
}

#main_leaks_label, #boil_water_label {
    color: rgb(85, 85, 85) !important;
}

#boil_water_label {
    font-weight: bold;
}

.other_layer_label {
    font-size: 10px;
}

@media only screen and (max-width: 970px) {
    #map_panel_container {
        top: 100px;
    }

    #expand_panel {
        top: 110px;
    }
}

@media only screen and (max-width: 900px) {
    #map_lang_opts_wrapper {
        top: 45px !important;
    }
}

@media only screen and (max-width: 630px) {
    #map_lang_opts_wrapper {
        top: 70px !important;
    }

    #map_panel_container {
        display: none;
    }
}

@media only screen and (max-width: 545px) {
    .lang_icon {
        font-size: 10px !important;
    }
}

@media only screen and (max-width: 500px) {
    #map_panel_container {
        top: 150px;
    }

    #expand_panel {
        top: 160px;
    }

    .esri-ui-top-right {
        top: 70px !important;
    }

    #map_lang_opts_wrapper {
        top: 5px !important;
    }
}

/*@media only screen and (max-width: 380px) {

    #map_lang_opts_wrapper {
        top: 90px !important;
    }
}*/

.multiple_address_item_wrapper {
    margin: 3px 0;
    display: flex;
    margin-top: -17px;
    padding: 5px;
}

.multiple_address_info_wrapper {
    width: 80%;
}


.multiple_address_report_btn_wrapper {
    background: linear-gradient(180deg, #ff8e1c 0%, #ff8e1c 99.89%) !important;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    padding: 6px 10px;
}

.multiple_address_report_btn, .multiple_address_report_btn:hover {
    text-decoration: none;
    color: white;
}

.multiple_address_city_zip_wrapper {
    font-size: 10px;
}

.multiple_addresses_icon {
    font-size: 20px;
}

.odd_row {
    background-color: #8080802e;
}

/****************
   FORM STYLE
****************/
#emergency_phone_wrapper {
    background-color: #393939;
    color: white;
    left: 0;
    padding: 5px;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 10;
}

.form_main_containter {
    margin-top: 75px;
}

.report_outage_header_wrapper {
    margin: 0 auto 50px auto;
    max-width: 700px;
    text-align: center;
}

.report_outage_header {
    color: #FFFFFF;
    display: inline-block;
    font-size: 36px;
    margin: 0 0 0 25px;
    position: relative;
    top: 10px;
}

.form_container_wrapper {
    background-color: rgba(255, 255, 255, 0.97);
    border-radius: 16px;
    box-shadow: -10px 10px 10px rgba(0, 0, 0, 0.25);
    margin: 0 auto;
    max-width: 700px;
    padding: 50px;
}

#report_outage_map_link_container {
    background: url('../images/map_screen_shoot.PNG') center center no-repeat;
    margin-top: 25px;
    min-height: 250px;
}

.field_wrapper {
    margin: 15px 0;
}

.form-label {
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 -3px -10px;
    text-transform: uppercase;
}

.k-dropdown {
    margin-left: -10px !important;
    width: 100% !important;
}

.k-animation-container {
    margin-left: 10px !important;
}

#continue_btn_wrapper {
    text-align: center;
}

.report_outage_link {
    position: absolute;
    right: 20px;
    z-index: 10;
}

#report_outage_link_btn_container {
    position: absolute;
}

.btn-primary, #continue_btn, #report_outage_map_link_btn, #report_outage_link_btn, .report_outage_link_btn {
    background: linear-gradient(180deg, #0197D3 0%, #3250B3 99.89%) !important;
    border: none !important;
    border-radius: 8px !important;
    color: #fff !important;
    cursor: pointer !important;
    font-size: 18px !important;
    height: 53px;
    line-height: 24px !important;
    text-align: center !important;
}


#continue_btn {
    width: 310px;
}

.field_note {
    font-size: 12px;
    margin-left: -10px;
}

#report_outage_map_link, #report_outage_link {
    text-decoration: none;
}

#report_outage_map_link_btn {
    position: relative;
    top: 50px;
    width: 300px;
    margin: 0 auto;
    padding-top: 15px;
}

#report_outage_link_btn {
    top: 25px;
    margin: 0 auto 15px auto;
    padding-top: 15px;
    background: linear-gradient(180deg, #ff8e1c 0%, #ff8e1c 99.89%) !important;
    font-size: 16px !important;
}

.btn-primary:hover, #continue_btn:hover, #report_outage_map_link_btn:hover {
    background: #0072d6 !important;
}

#search_accounts_btn_wrapper {
    margin: 0 auto;
}

#search_accounts_btn {
    margin: 0 auto;
    width: 200px;
}

#submit_btn {
    width: 380px;
}

.outage_no_back_btn, .outage_back_btn {
    padding-top: 15px;
    transition: 0s;
    width: 150px;
}

.outage_back_btn {
    background: linear-gradient(180deg, #8B8B8B 0%, #454545 45.26%, #000000 99.89%) !important;
}

    .outage_back_btn:hover {
        background: #000000 !important;
        padding-top: 15px;
    }

#suggested_address_wrapper {
    display: none;
}

.back_next_btns_wrapper {
    margin: 20px 0;
    overflow: auto;
    text-align: center;
}

#address_found_label {
    color: #48A050;
    text-transform: uppercase;
}

#address_found_msg {
    border-top: 1px solid black;
    margin: 20px 0;
    padding-top: 20px;
}

.outage_submit_confirmation_label {
    display: inline-block;
    font-size: 15px;
    font-weight: bold;
}

.outage_submit_confirmation_value {
    display: inline-block;
}

#confirmation_header {
    font-size: 26px;
    margin: 0 0 15px 0;
    text-align: center;
}

#back_to_saws_btn_wrapper, #back_to_start_btn_wrapper {
    margin-top: 20px;
    text-align: center;
}

#back_to_saws_btn {
    width: 190px !important;
}

.validation-border {
    border: 1px solid red;
}

#back_to_summary {
    height: 40px;
    margin-top: 20px;
    padding-top: 7px;
    width: 100%;
}

.btn-text-center-align {
    align-items: center;
    display: inline-flex;
}

.popup_header {
    border-bottom: 1px solid black;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}

.popup_label {
    font-weight: bold;
}

.popup_header {
    padding: 10px 0;
}

.popup_label_wrapper {
    padding: 3px 0;
}

.popup_info_wrapper {
    padding: 0 20px;
}

.emergency_phone_link {
    color: white;
    text-decoration: none;
}

    .emergency_phone_link:hover {
        color: white;
    }

    .emergency_phone_link:active {
        color: white;
    }

    .emergency_phone_link:visited {
        color: white;
    }



.emergency_phone_link_text {
    color: #212529;
    text-decoration: none;
}

    .emergency_phone_link_text:hover {
        color: #212529;
    }

    .emergency_phone_link_text:active {
        color: #212529;
    }

    .emergency_phone_link_text:visited {
        color: #212529;
    }

#triangle_up {
    border-bottom: 10px solid black;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    height: 0;
    position: relative;
    top: -11px;
    left: -2px;
}

#triangle_active_out {
    border-bottom: 10px solid black;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    height: 0;
    position: relative;
    top: -13px;
    margin-right: 5px;
}

.totals_outages_field {
    text-align: center;
}

#search_instructions_lbl {
    position: relative;
    top: -14px;
}

.lang_icon {
    float: left;
    background: linear-gradient( 180deg, #FFFFFF 0%, #3250B3 99.89%);
    background: white;
    color: #0078ae;
    display: inline-block;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    padding: 3px 10px;
    font-size: 14px;
    margin-top: 1px;
}

.active_lang_icon {
    background: linear-gradient( 180deg, #0197D3 0%, #3250B3 99.89%);
    color: white;
}

#en {
    margin-left: 10px;
}

#map_lang_opts_wrapper {
    position: absolute;
    top: 2px;
    z-index: 10;
    left: 10px;
    width: 165px;
}

#boil_water_msg {
    display: none;
    font-size: 13px;
}

.req_field {
    color: red;
}

.req_opt_field {
    color: #0058e9;
}

.req_field_wrapper {
    font-size: 12px;
}

#zoom_lbl {
    font-size: 7px;
    display: inline-block;
    top: -10px;
    position: relative;
    background: none;
    color: black;
}
