﻿#map_canvas {
    width: 100%;
    height: 650px;
    z-index: 1;
}

.flexcontainer {
    display: flex;
    align-items: center;
}

.eddm-tooltip {
    position: absolute;
    background-color: #555;
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
    visibility: hidden;
}

.route-info {
    width: 15%;
}

.right-text {
    text-align: right;
}

.eddm-routes {
    position: absolute;
    /*background-color: #555;
            color: #fff;
            padding: 8px 12px;*/
    border-radius: 5px;
    font-size: 14px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
    visibility: hidden;
    width: 100% !important;
    /* max-height: 325px;*/
}

.btn-toggle-routes {
    background-color: #00619F;
    color: #ffffff;
    padding: 3px;
    border: none;
    font-size: 11px;
    line-height: 3;
    width: 150px;
}


/*table {
    width: 100% !important;
    border-collapse: collapse;
}

table.tab-routes {*/
    /*position: absolute;*/
    /*display: block;
    width: 100% !important;
    height: 350px !important;
    overflow-y: auto;*/
    /*background-color: white !important;*/
    /*z-index: 1000 !important;
    opacity: 1 !important;
}

.tab-routes tr {
    cursor: pointer;
}

    .tab-routes tr:nth-child(odd) {
        background-color: #ffffff;
    }

    .tab-routes tr:nth-child(even) {
        background-color: #f9f9f9;
    }

.tab-routes th {
    background-color: #37a0e6 !important;
}

.tab-routes td {
    width: 18%;
    text-align: center;
}
    .tab-routes td:nth-child(1) { width: 14% !important; }
    .tab-routes td:nth-child(2) { width: 14% !important; }
    .tab-routes td:nth-child(6) { width: 15% !important; }*/

.selectedroute {
    background-color: #0976bf !important;
    color: #ffffff !important;
}

.div-zipcodes {
    width: 250px;
    position: absolute;
    z-index: 2000;
    background-color: #fff;
    border: 2px solid black;
}

.eddm-model {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center !important;
    justify-content: center !important;
}

.eddm-model-content {
    background-color: #fefefe;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 300px;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
}
    .close:hover, .close:focus {
        color: black;
        text-decoration: none;
    }

.loader-container {
    position: fixed;
    inset: 0;
    background-color: rgb(0, 0, 0, 0.5);
    display: grid;
    place-items: center;
    z-index: 1500;
}
    .loader-container .loader {
        width: 50px;
        height: 50px;
        border: 5px solid #f3f3f3;
        border-top: 5px solid #3498db;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

/* animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.model-overlay {
    position: relative;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
   /* display: flex;*/
    align-items: center !important;
    justify-content: center !important;
}

.model-content {
    position: absolute;
    /*top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);*/
    background-color: #fefefe;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 300px;
}

.table-container {
    width: 100%;
    height: 350px;
    display: flex;
    flex-direction: column;
}

.table-body {
    display: block;
    overflow: auto;
    flex-grow: 1;
}

/* Div as table using Table - Start */
.div-table {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.div-table-header {
    display: table-row;
    font-weight: bold;
    background-color: #F4F4F4;
    color: rgb(55, 55, 55);
}

.div-table-row {
    display: table-row;
}

.div-table-head, .div-table-cell {
    display: table-cell;
    padding: 2px;
    text-align: center;
    width: 14%;
}
    .div-table-head:nth-child(2), .div-table-cell:nth-child(2) {
        width: 16%;
    }
    .div-table-head:nth-child(3), .div-table-cell:nth-child(3) {
        width: 13%;
    }
    .div-table-head:nth-child(4), .div-table-cell:nth-child(4) {
        width: 13%;
    }
    .div-table-head:nth-child(5), .div-table-cell:nth-child(5) {
        width: 16%;
    }

    .div-table-head {
        font-weight: bold;
        border-right: 1px solid #808080;
    }
    .div-table-head:last-child{
        border: none;
    } 

    .div-table-body {
        display: table-row-group;
    }

    .div-table-row {
        display: table-row;
    }

    .div-table-rows-6 {
        width: 16.6% !important;
    }
/* Div as table using Grid - End */

.table-routes {
    table-layout: fixed;
    height: 350px !important;
    overflow-y: auto !important;
    z-index: 1000 !important;
    opacity: 1 !important;
}

    .table-routes div.table-row {
        cursor: pointer;
    }

        .table-routes div.table-row:nth-child(odd) {
            background-color: #ffffff;
        }

        .table-routes div.table-row:nth-child(even) {
            background-color: #f9f9f9;
        }

.selectedroute {
    background-color: #0976bf !important;
    color: #ffffff !important;
}

/* Div as table using Grid - Start */
.grid-table-container {
    width: 100%;
    max-height: 350px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
    opacity: 1;
}

.grid-table {
    display: grid;
    grid-template-columns: auto;
    width: 100%;
}

.grid-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    cursor: pointer;
}
    .grid-row:nth-child(odd) {
        background-color: #ffffff;
    }
    .grid-row:nth-child(even) {
        background-color: #f9f9f9;
    }

.grid-header {
    position: sticky;
    top: 0;
    font-weight: bold;
}

.grid-cell {
    padding: 2px;
    text-align: center;
}

.grid-rows-6 {
    grid-template-columns: repeat(6, 1fr);
}
/* Div as table using Grid - End */

.btn-residential-business {
    background-color: #EFEFEF;
    color: #1566A3;
}