body{
        overflow-x: hidden;
}

.main {
        overflow: hidden;
        min-height: 100vh;
        background-image: url(main-bg.jpg);
        background-position: center;
        background-size: cover;
        display: grid;
        align-content: center;
        align-items: center;
        justify-content: start;
        padding-left: 60px;
}

.main h2 {
        font-size: 60px;
        color: #fff;
}

.main h4 {
        color: #fff;
    font-size: 16px;
    font-weight: 400;
    margin: 30px 0 45px 0;
}

.main div {
        width: 50%;
}

.modal-register {
        color: #888888;
        left: 10px;
        position: absolute;
        font-size: 14px;
}

.modal-register:hover {
        color: #3b71ca;
}

.navigation {
        height: 70px;
        background: #262626;
        z-index: 1;
        position: relative;
}

.brand {
        position: absolute;
        padding-left: 20px;
        float: left;
        line-height: 70px;
        text-transform: uppercase;
        font-size: 1.4em;
}

.brand a,
.brand a:visited {
        color: #ffffff;
        text-decoration: none;
}

.nav-container {
        max-width: 1000px;
        margin: 0 auto;
}

nav {
        float: right;
}

nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
}

nav ul li {
        float: left;
        position: relative;
}

nav ul li a,
nav ul li a:visited {
        display: block;
        padding: 0 20px;
        line-height: 70px;
        background: #262626;
        color: #ffffff;
        text-decoration: none;
}

nav ul li a:hover,
nav ul li a:visited:hover {
        background: #2581DC;
        color: #ffffff;
}

nav ul li a:not(:only-child):after,
nav ul li a:visited:not(:only-child):after {
        padding-left: 4px;
        content: " ▾";
}

nav ul li ul li {
        min-width: 190px;
}

nav ul li ul li a {
        padding: 15px;
        line-height: 20px;
}

.nav-dropdown {
        position: absolute;
        display: none;
        z-index: 1;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.poi-label {
        background-color: rgba(255,255,255,0.8);
        border: 1px solid #666;
        border-radius: 3px;
        text-align: center;
        line-height: 20px;
        font-weight: bold;
        color: #333;
        box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    }

/* Mobile navigation */
.nav-mobile {
        display: none;
        position: absolute;
        top: 0;
        right: 0;
        background: #262626;
        height: 70px;
        width: 70px;
}

@media only screen and (max-width: 798px) {
        .nav-mobile {
                display: block;
        }

        nav {
                width: 100%;
                padding: 55px 0 0;
        }

        nav ul {
                display: none;
        }

        nav ul li {
                float: none;
        }

        nav ul li a {
                padding: 15px;
                line-height: 20px;
        }

        nav ul li ul li a {
                padding-left: 30px;
        }

        .nav-dropdown {
                position: static;
        }
}

@media screen and (min-width: 799px) {
        .nav-list {
                display: block !important;
        }
}

#nav-toggle {
        position: absolute;
        left: 18px;
        top: 22px;
        cursor: pointer;
        padding: 10px 35px 16px 0px;
}

#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
        cursor: pointer;
        border-radius: 1px;
        height: 5px;
        width: 35px;
        background: #ffffff;
        position: absolute;
        display: block;
        content: "";
        transition: all 300ms ease-in-out;
}

#nav-toggle span:before {
        top: -10px;
}

#nav-toggle span:after {
        bottom: -10px;
}

#nav-toggle.active span {
        background-color: transparent;
}

#nav-toggle.active span:before,
#nav-toggle.active span:after {
        top: 0;
}

#nav-toggle.active span:before {
        transform: rotate(45deg);
}

#nav-toggle.active span:after {
        transform: rotate(-45deg);
}

article {
        max-width: 1000px;
        margin: 0 auto;
        padding: 10px;
}

.dashboard-issues {

                height: 590px;
                max-height: 590px;
                overflow: auto;
                overflow-x: hidden;
                background: #f0f0f0;
                padding: 10px;
                border-radius: 10px;
                box-shadow: 0px 4px 18px -8px black;

}
.map-adjustments{
        height: 590px;
        max-height: 590px;
        overflow: auto;
        overflow-x: hidden;
        background: #f0f0f0;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0px 4px 18px -8px black;
        margin-top: 75px;

}
.file-upload-contain{
        position: relative;
        margin-bottom: 40px;
    }
    .file-upload-contain .file-input,
    .file-upload-contain .file-preview{
        position: initial;
    }
    .file-upload-contain .file-drop-zone{
        border: 2px dashed #1e80e8;
        transition: 0.3s;
        margin: 0;
        padding: 0;
        border-radius: 20px;
        background-color: #f1f8fe;
        min-height: auto;
    }
    .file-upload-contain .file-drop-zone.clickable:hover,
    .file-upload-contain .file-drop-zone.clickable:focus,
    .file-upload-contain .file-highlighted{
        border: 2px dashed #1e80e8 !important;
        background-color: #dfedfc;
    }

.status-style{
        box-shadow: none !important;
        /* padding: 5px !important; */
        color: #fff !important;
        font-weight: 700 !important;
        letter-spacing: 1px !important;
}

.table-container {
        margin: auto;
        max-width: 1200px;
        min-height: 100vh;
        overflow: scroll;
        width: 100%;
      }
      
      table {
        border-collapse: collapse;
        width: 100%;
      }
      
      thead tr {
        border-bottom: 1px solid #ddd;
        border-top: 1px solid #ddd;
        height: 1px;
      }
      
      th {
        font-weight: bold;
        height: inherit;
        padding: 0;
      }
      
      th:not(:first-of-type) {
        border-left: 1px solid #ddd;
      }
      
      th button {
        background-color: #eee;
        border: none;
        cursor: pointer;
        display: block;
        font: inherit;
        height: 100%;
        margin: 0;
        min-width: max-content;
        padding: 0.5rem 1rem;
        position: relative;
        text-align: left;
        width: 100%;
      }
      
      th button::after {
        position: absolute;
        right: 0.5rem;
      }
      
      th button[data-dir="asc"]::after {
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpolygon points='0, 0 8,0 4,8 8' fill='%23818688'/%3E%3C/svg%3E");
      }
      
      th button[data-dir="desc"]::after {
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpolygon points='4 0,8 8,0 8' fill='%23818688'/%3E%3C/svg%3E");
      }
      

      
      td, th {
        padding: 0.5rem 1rem;
        text-align: left;
      }
      .data-table tr:nth-child(even) {
        background-color: #c2c2c2; /* Grey background color */
      }
      tbody {
        border: 1px solid;
    border-color: darkgray;
      }

      .dashboard-header{
        display: flex;
        justify-content: space-between;
        margin: 20px 25px;
      }


      

/* Mobile navigation */
@media only screen and (max-width: 798px) {
        .main div {
                width: 100%;
        }
        .main h2{
                font-size: 30px;
                margin-left: -10px;
        }
        .main h4{
                font-size: 12px;
                margin-top: 30px;
                margin-right: 30px;
                margin-bottom: 45px;
                margin-left: -10px;
        }
        .map-adjustments{
                height: 330px;
                margin-top: 15px;
        }
}

@media (max-width: 768px) {
        table.data-table {
           border-collapse: collapse;
           border: 1px solid #ddd;
           width: 100%;
        }
     
        table.data-table th,
        table.data-table td {
           padding: 5px;
           text-align: left;
           border: 1px solid #ddd;
        }
     
        table.data-table th {
           display: none;
        }
     
        table.data-table td {
           display: block;
        }
     
        table.data-table td:before {
           content: attr(data-th);
           font-weight: bold;
           display: inline-block;
        }
     
        table.data-table tfoot {
           display: table-row-group !important;
        }
     
        .edit-table-row:before {
           width: 0% !important;
        }
     
        .tr-issues {
           display: flex;
        }
     
        .tr-issues td:nth-child(1) {
           width: 80%;
        }
     
        .tr-issues td:nth-child(2) {
           width: 20%;
           display: flex;
           justify-content: center;
        }

        .dashboard-header {
                display: flex;
                justify-content: space-between;
                margin: 20px 25px;
                flex-direction: column;
             }
        .table-width{
                width: 75% !important;
        }
     
     }
     
     
      
      .highcharts-credits{
        display: none;
      }


      #scrollToTopBtn {
        display: none;
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: #df98ff;
        color: #fff;
        border: none;
        cursor: pointer;
        font-size: 24px;
        transition: background-color 0.3s ease;
    }
    
    #scrollToTopBtn:hover {
        background-color: #9a6daf;
    }
    
    @media only screen and (min-width: 768px) and (max-width: 1024px) {
        /* Your CSS rules for tablets go here */
        .dashboard-header{
                display: flex;
                justify-content: flex-end;
                margin: 0;
                margin-bottom: 20px;
        }
    }

    @media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 2) {
    /* Styles for iPad */
    .dashboard-header{
        display: flex;
        justify-content: flex-end;
        margin: 0;
        margin-bottom: 20px;
}
}