/* Existing styles */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body {
    font-family: Montserrat;
    /* background: radial-gradient(circle at 50%, #333, #333 50%, #eee 65%, #333 75%); */
    background: #eee;
    background-position: top;
    flex: 1;
}

header {
    width: 100%;
    background-color: #eee;
    padding: 20px;
    border-bottom: 10px solid;
    border-bottom-color: #002c6d;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    z-index: 99;
    flex-shrink: 0;
    flex-direction: column;
    padding-top: 75px;
    height: 3%;
    max-height: 35px;
}

.header-title {
    text-align: center;
    margin-bottom: 10px;
}

footer {
    width: 100%;
    background: #002c6d;
    color: #fff;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    flex-direction: column;
    z-index: 99;
    margin-block-start: auto;
}

.footer-text {
    text-align: center;
    margin-top: 10px;
}

.version-container {
    align-self: end;
    margin-right: 10px;
}

.version-text {
    position: relative;
    right: 10px;
    bottom: 5px;
    text-decoration: none;
    color: #fff;
    font-size: 10px;
}

#back_to_reporting_button::before {
    /* content: '&#x25c0'; */
    /* The hexadecimal Unicode value for the symbol */
    margin-right: 5px;
    /* Add some space between the icon and the text */
}

.logout_button {
    background: #f8d7d7;
}

.logout_button:hover {
    background-color: #002c6d;
    color: #fff;
    border-radius: 5px;
}


.container {
    width: 1077px;
    height: auto;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 150px;
    margin-bottom: 150px;
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 75px;
}

#tech_assign_unassign.toggle-container {
    display: inline-block;
}

/* #wo_date_div.toggle-container {
    display: none;
} */

#tech_crew_type_container.toggle-container {
    display: none;
}

#wo_tasks_selector.toggle-container {
    display: none;
}

#csg_populated_loc_selector_div.toggle-container {
    display: none;
}

#manual_loc_input_div.toggle-container {
    display: none;
}

#rte_criteria_div.toggle-container {
    display: inherit;
}

#project_name_div.toggle-container {
    display: inherit;
}

.manual_address_div {
    display: inherit;
}

#tech_asst_tech_div.toggle-container {
    display: none;
}

#assoc_job_num_div.toggle-container {
    display: none;
}

#job_tech_n_comments_div.toggle-container {
    display: none;
}

#tech_num_assign_div.toggle-container {
    display: none;
}

#job_num_div.toggle-container {
    display: none;
}

textarea {
    width: 100%;
    height: 80px;
    background-color: #bdcfe9d8;
    border-radius: 10px;
    padding: 5px;
    font: message-box;
    resize: vertical;
}

.adr_container_div {
    border: 2px #002c6d;
    border-width: 2px;
    padding: 10px;
    margin: 5px;
    border-radius: 7px;
    height: 300px;
    width: 400;
    margin-top: -33px;
}

.adr_container_div[type="text"] {
    display: inline-block;
}


.wo_task_select_div {
    width: 200px;
}

.wo_tech_div {
    width: 177px;
}

.wo_assign_checkbox {
    text-align: left;
    display: ruby;
}

#wo_task_num_div {
    /* border: 2px #002c6d; */
    border-width: 2px;
    padding: 10px;
    margin: 5px;
    border-radius: 7px;
    height: 125px;
    width: 200px;
    /* height: 170px; C_FORCE */
}

#technum {
    display: none;
}

#time {
    display: none;
}

#full_day {
    display: none;
}

#or {
    display: none;
}

#tol-or-san {
    display: none;
}

#tol-or-san_add_tech {
    display: none;
}

#not_full_day {
    display: none;
}

#obstruction_notes_div {
    display: none;
}

h3 {
    color: #333;
    margin: 0;
}

form {
    margin-top: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
}

input[type="time"] {
    position: relative;
}

input[type="time"]::-webkit-calendar-picker-indicator {
    display: block;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    background: transparent;
}


input[type="text"] {
    width: 80%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
}

input[type="date"],
select,
input[type="text"],
button {
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    max-width: 300px;
    text-align: center;
}

button {
    width: auto;
    padding: 10px 20px;
    background-color: #002c6d;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #05a2f6;
}

.toggle-container {
    margin-bottom: 20px;
}

.buckeye_logo {
    width: 225px;
    height: 45px;
    position: absolute;
    top: 10%;
    right: 5%;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.mforce_logo {
    width: 260px;
    height: 61px;
    position: absolute;
    top: 10%;
    left: 2%;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}


/* Flash Awwwahhhh...They'll Tell Everyone of Us! */
#message {
    animation: fadeOut 2s forwards;
    animation-delay: 60s;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

#flash-messages-container {
    display: none;
}

#flash-messages-container {
    animation: fadeOut 2s forwards;
    animation-delay: 10s;
}

.message {
    background-color: rgba(255, 255, 255, 0.8);
    animation: fade-in 0.5s ease-in-out;
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.close-message {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

.message.success {
    background-color: #d4edda;
    color: #449c59;
}

.message.warning {
    background-color: #f8e7d7;
    color: #724a1c;
}

.message.error {
    background-color: #f8efd7;
    color: #721c24;
}

.message.info {
    background-color: #d7ecf8;
    color: #1c3772;
}

.message.confirm {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #ccc;
    padding: 20px;
    background-color: #fff;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 900px;
}

.table-buttons {
    justify-content: center;
    margin-top: 20px;
}

.tr:hover {
    cursor: grab;

}

#job_card_container {
    max-height: fit-content;
    max-width: -webkit-fill-available;
    font-size: -webkit-xxx-large;
}

/* Navigation styles */

.navbar-container {
    display: flex;
    justify-content: center;
    margin-top: 5px;
    font-size: 1.15em;
}

.navbar-container-mobile {
    display: none;
    justify-content: center;
    margin-top: 5px;
    font-size: larger;
}

.confirm-container {
    width: 1000px;
    height: 20px auto;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 150px;
    margin-bottom: 150px;
    text-align: center;
}

.navbar-logout {
    margin-left: 80%;
}

nav {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 20px;
}

.nav-item a {
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-item a:hover {
    background-color: #002c6d;
    color: #fff;
    cursor: pointer;
}

.nav-item a.active {
    background-color: #002c6d;
    color: #fff;
}

/* Style for the dropdown menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle::after {
    content: "";
    font-size: 0.6em;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 230px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 999;
    top: 30px;
    text-align: center;
    border-top: 5px solid black;
    padding-top: -10px;
}

.nav-list,
.dropdown-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
    border-radius: 0px 0px 5px 5px;
    transform: translateY(0%);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus .dropdown-menu {
    display: block;
}

.dropdown:hover .dropdown-toggle,
.dropdown:focus .dropdown-toggle {
    background-color: #002c6d;
    color: #fff;
}


.dropdown-menu a:hover {
    background-color: #05a2f6;

}

.table-container {
    max-height: 800px;
    overflow-y: auto;
    margin-top: 40px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
    border-radius: 5px;

}


td:first-child {
    border-top-left-radius: 20px;
    /* Adjust the radius as needed */
}

td:last-child {
    border-top-right-radius: 20px;
    /* Adjust the radius as needed */
}

td:first-child {
    border-bottom-left-radius: 20px;
}

td:last-child {
    border-bottom-right-radius: 20px;
}

th {
    background-color: #f2f2f2;
}

.popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 450px;
    transform: translate(-50%, -50%);
    border: 1px solid #ccc;
    padding: 75px;
    background-color: #e6f3fb;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 900px;
    text-align: center;
}

/* Index.html */

#nav-bar-home {
    margin-left: 90vw;
}

#nav-bar-home a.logout_button {
    border-radius: 5px;
    padding: 10px;
    font-family: sans-serif;
}

.login_welcome {
    font-size: 2.5em;
}

.menu button {
    width: 550px;
    border-radius: 90px;
    max-width: 550px;
    background: linear-gradient(#eee -20%, #002c6d 40%);
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    align-items: center;
    height: 100px;
}

.menu svg {
    height: 6em;
    width: 6em;
    display: flex;
    padding-left: 15px;
}

.menu .space {
    margin-top: 80px;
}

svg.page_title {
    margin: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

svg.login_title {
    margin: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


/* Button Business */
.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.button-container .buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.current-pool-count-container {
    margin-bottom: 20px;
    border-top: 4px solid #bbb;
}

.current-pool-count {
    line-height: 1.6;
    margin: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* Sub navigation styles */

.sub-navbar-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

/* Responsive design */

@media (max-width: 1535px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    footer {
        flex-direction: column;
        align-items: center;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-item {
        margin: 10px 0;
    }
}

/* QC REPORTING */
table {
    width: 100%;
    border-collapse: collapse;
}

.table-buttons {
    justify-content: center;
    margin-top: 20px;
}


th,
td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

th {
    background-color: #f2f2f2;
}

.sub-navbar-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

/* MOBILE Formatting*/
@media all and (min-width:480px) and (max-width: 1535px) {
    .container {
        max-width: -webkit-fill-available;
    }

    .menu button {
        width: 400px;
    }

    .menu svg {
        height: 6em;
        width: 4em;
        display: flex;
        overflow: visible;
        padding-left: 0px;
        padding-right: 10px;
    }

    svg.login_title {
        margin: 0;
        width: 100%;
        height: 100px;
        overflow: hidden;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    svg.page_title {
        margin: 0;
        width: 100%;
        height: 100px;
        overflow: visible;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    .navbar-container {
        display: none;
    }

    .buckeye_logo {
        display: none;
    }

    .mforce_logo {
        justify-self: anchor-center;

    }

    header {
        width: 96%;
        display: flow;
        height: 4%;
    }

    footer {
        padding: 0px;
        text-align: -webkit-center;
    }

    .navbar-container-mobile {
        display: flex;
    }

    .navbar-container-mobile .nav-item {
        margin: auto;
        display: flex;

    }

    .navbar-container-mobile nav {
        margin-top: 0px;
    }

    .navbar-container-mobile #nav-item-home {
        margin-left: 1%;

    }

    .navbar-container-mobile #nav-item-logout {
        margin-right: 1%;

    }

    .logout_button {
        background: linear-gradient(#f8d7d782 70%, transparent 40%);
    }

    .home_button {
        background: linear-gradient(#d7ebf1 70%, transparent 40%);
    }

    button:hover {
        color: #fff;
        cursor: pointer;
    }

    #nav-bar-home a.logout_button {
        border-radius: 5px;
        padding: 10px;
        font-family: sans-serif;
        margin-left: 50%;
        background: #f8d7d7;
    }


    #nav-bar-home {
        margin-left: 74vw;
        margin-top: 5px;
    }

}

@media all and (min-width:376px) and (max-width: 480px) {
    .container {
        max-width: -webkit-fill-available;
    }

    .menu button {
        width: 350px;
    }

    .menu svg {
        height: 6em;
        width: 4em;
        display: flex;
        overflow: visible;
        padding-left: 0px;
        padding-right: 10px;
    }

    svg.login_title {
        margin: 0;
        width: 100%;
        height: 100px;
        overflow: hidden;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    svg.page_title {
        margin: 0;
        width: 100%;
        height: 100px;
        overflow: visible;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    .navbar-container {
        display: none;
    }

    .buckeye_logo {
        display: none;
    }

    .mforce_logo {
        justify-self: anchor-center;
    }

    header {
        width: 90%;
        display: flow;
        display: flow;
        height: 4%;

    }

    footer {
        padding: 0px;
        text-align: -webkit-center;
    }

    .navbar-container-mobile {
        display: flex;
    }

    .navbar-container-mobile .nav-item {
        margin: auto;
        display: flex;

    }

    .navbar-container-mobile nav {
        margin-top: 0px;
    }

    .navbar-container-mobile #nav-item-home {
        margin-left: 1%;

    }

    .navbar-container-mobile #nav-item-logout {
        margin-right: 1%;

    }

    .logout_button {
        background: linear-gradient(#f8d7d782 70%, transparent 40%);
    }

    .home_button {
        background: linear-gradient(#d7ebf1 70%, transparent 40%);
    }

    button:hover {
        color: #fff;
        cursor: pointer;
    }

    #nav-bar-home a.logout_button {
        border-radius: 5px;
        padding: 10px;
        font-family: sans-serif;
        margin-left: 50%;
        background: #f8d7d7;
    }

    #nav-bar-home {
        margin-left: 60vw;
        margin-top: 20px;
    }

    .login_welcome {
        font-size: 2em;
    }

}

@media all and (min-width:0px) and (max-width: 375px) {
    .container {
        max-width: -webkit-fill-available;
        margin-left: -2%;
    }

    .menu button {
        width: 350px;
    }

    .menu svg {
        height: 6em;
        width: 4em;
        display: flex;
        overflow: visible;
        padding-left: 0px;
        padding-right: 10px;
    }

    svg.login_title {
        margin: 0;
        width: 100%;
        height: 100px;
        overflow: hidden;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    svg.page_title {
        margin: 0;
        width: 100%;
        height: 100px;
        overflow: visible;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    .navbar-container {
        display: none;
    }

    .buckeye_logo {
        display: none;
    }

    .mforce_logo {
        justify-self: anchor-center;
    }

    header {
        width: 90%;
        display: flow;
        height: 4%;

    }

    footer {
        padding: 0px;
        text-align: -webkit-center;
    }

    .navbar-container-mobile {
        display: flex;
    }

    .navbar-container-mobile .nav-item {
        margin: auto;
        display: flex;

    }

    .navbar-container-mobile nav {
        margin-top: 0px;
    }

    .navbar-container-mobile #nav-item-home {
        margin-left: 1%;

    }

    .navbar-container-mobile #nav-item-logout {
        margin-right: 1%;

    }

    .logout_button {
        background: linear-gradient(#f8d7d782 70%, transparent 40%);
    }

    .home_button {
        background: linear-gradient(#d7ebf1 70%, transparent 40%);
    }

    button:hover {
        color: #fff;
        cursor: pointer;
    }

    #nav-bar-home a.logout_button {
        border-radius: 5px;
        padding: 10px;
        font-family: sans-serif;
        margin-left: 50%;
        background: #f8d7d7;
    }

    #nav-bar-home {
        margin-left: 60vw;
        margin-top: 20px;
    }

    .login_welcome {
        font-size: 1.5em;
    }

}

@media all and (min-height:650px) and (max-height: 3000px) {
    .navbar-container-mobile nav {
        margin-top: 10px;
    }
}