@import url();

html, body {
	margin: 0;
    padding: 0;
}

* {
    font-family: 'Times New Roman', Times, serif;
    /* background-color:lightblue; */
    box-sizing: border-box;
}

.container {
    max-width: 89.5vw;
    margin-left: 10vw;
    margin-right: 0.5vw;
}

header {
    border-radius: 20px 60px;
    background: green;
    color: blue;
    font-size: 200%;
    text-align: center;
    position: relative;
    height: 50px;
}

main {
	min-height: 80vh;
} 

@media (max-width: 1920px) and (max-height: 1080px) {
    main {
        min-height: 70vh;
    }
}

footer {
	height: 10vh;
}

.full-width {
    width: 100%;
}

.full-v-height {
    height: 100vh;
}

.sidebar-menu {
    height: 91.8vh;
    overflow: hidden;
}

.main-content {
    height: 91.8vh;
    overflow: hidden;
    overflow-y: auto;
}

.header-box p {
    line-height: 50px; /* Adjust this value to move the text up or down */
    margin: 0; /* Remove default margin */
}

#headerbox {
}

    #headerbox a {
        text-decoration: none;
        font-size: 150%;
        margin-top: -20px;
    }

        #headerbox a:link,
        #headerbox a:visited,
        #headerbox a:hover,
        #headerbox a:active {
            color: blue;
        }

.pageheader {
    font-size: 30px;
    font-weight: bold;
}

    .pageheader:focus {
        outline: none;
    }

.sectionheader {
    font-size: 18px;
}

body {
    background: white;
}

.right-edge {
    position: absolute;
    right: 10px;
    top: 100%;
    margin-top: 0px;
}

#ftp-cloud-drive-box a {
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    background-color: gray;
    border-radius: 10px;
    color: white;
    width: 200px;
    position: absolute;
    right: 25rem;
    top: 100%;
    margin-top: 0px;
    white-space: nowrap;
}

#change-password-box a {
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    background-color: gray;
    border-radius: 10px;
    color: white;
    width: 200px;
    position: absolute;
    right: 10rem;
    top: 100%;
    margin-top: 0px;
    white-space: nowrap;
}

#logout-box a {
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    background-color: gray;
    border-radius: 10px;
    color: white;
    width: 120px;
}

#customerLogo {
    float: left;
    height: 70px;
    max-width: 300px;
}

.image-box {
    margin-left: 25px;
    min-width: 300px;
    max-width: 300px;
}

.button {
    width: 80px;
    height: 30px;
    font-size: large;
    margin-top: 5px;
    margin-right: 10px;
    border-radius: .3em;
    background-color: lightblue;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
}

.cancel_button {
    width: 80px;
    height: 30px;
    font-size: large;
    margin-top: 5px;
    margin-right: 10px;
    border-radius: .3em;
    background-color: lightgrey;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
}

.delete_button {
    width: 80px;
    height: 30px;
    font-size: large;
    margin-top: 5px;
    margin-right: 10px;
    border-radius: .3em;
    background-color: red;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
}

.large-delete_button {
    width: 100px;
    height: 35px;
    font-size: large;
    margin-top: 5px;
    margin-right: 10px;
    border-radius: .3em;
    background-color: red;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    font-size: medium;
}

.large_button {
    width: 100px;
    height: 35px;
    margin-top: 5px;
    margin-right: 10px;
    border-radius: .3em;
    background-color: lightblue;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block; /* Ensures that the button doesn't expand to 100% width */
    font-size: medium;
}

.x-large_button {
    width: 150px;
    height: 40px;
    margin-top: 5px;
    margin-right: 10px;
    border-radius: .3em;
    background-color: lightblue;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
}

.elapsed_time_td {
    text-align: center;
}

fieldset {
    max-width: 600px;
}

.label {
    max-width: 300px;
    text-align: left;
}

.table-container {
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: auto;
}

table {
    margin-top: 5px !important;
    table-layout: auto !important;
    width: auto !important;
    /*border: 1px solid black;*/
    /*background-color: white;*/
}

    table thead {
        /*background-color: deepskyblue;*/ /* blue color for header */
        color: white; /* White text color for better contrast */
    }

    table tbody tr:nth-child(odd) {
        background-color: lightgrey; /* Grey color */
    }

    table tbody tr:nth-child(even) {
        background-color: white; /* white color */
    }

.nowrap {
    white-space: nowrap;
}

th {
    text-align: left;
    white-space: nowrap;
    position: sticky !important;
    top: 1px !important;
    background-color: deepskyblue !important;
    color: black !important;
    z-index: 2 !important;
}

td, tr, th {
    padding: 5px !important;
    width: auto !important;
    border: 2px solid white;
}

nav, li, ul {
    position: relative;
    z-index: 1000 !important;
}

td, tr {
    z-index: 1 !important;
}

.grid-center_align {
    text-align: center;
}

.grid-right_align {
    text-align: right;
}

.textbox {
    min-width: 250px;
    margin-bottom: 10px;
}

.textbox-readonly {
    min-width: 250px;
    margin-bottom: 10px;
    background-color: #e9ecef;
    cursor: not-allowed;
}

.multi-line-text {
    min-width: 600px;
    min-height: 200px;
}

.multi-line-text-readonly {
    min-width: 500px;
    min-height: 150px;
    background-color: #e9ecef;
    cursor: not-allowed;
}

.multi-line-span {
    white-space: pre-line;
}

.textbox_grid_auto {
    width: 100% !important;
}

.textbox_grid_auto_width {
    max-width: 500px !important;
    width: fit-content !important;
}

.textbox_grid_small {
    width: 70px !important;
}

.textbox_grid_medium {
    width: 120px !important;
}

.textbox_grid_large {
    display: block;
    width: 250px !important;
}

.textbox_grid_x_large {
    display: block;
    width: 400px !important;
}

.textbox_grid_auto-readonly {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.grid_delete_button {
    background-color: red;
}

.checkbox-readonly {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.combobox {
    margin-bottom: 10px;
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    margin-top: 65px;
    margin-left: 23px;
}

.menu-text {
    font-weight: bold;
    font-size: 20px;
    background-color: #2196F3;
    border-radius: 10px;
    color: white;
    width: 120px;
    margin-top: -25px;
}

.menu-items {
    display: none;
    background-color: #2196F3;
    padding: 10px;
    padding-left: 25px;
    text-align: left;
    /*list-style: none;*/
    margin-top: 5px;
    border-radius: 20px 20px;
    width: 300px;
    font-size: 20px;
    margin-left: 23px;
}

    .menu-items li {
        margin-bottom: 10px;
    }

        .menu-items li a {
            color: white !important;
            /*font-weight: bold;*/
            text-decoration: none;
        }

    .menu-items.show {
        display: block;
    }

.hidden-control {
    display: none;
}

.black-text {
    color: black;
}

.grey-text {
    color: grey;
}

.box {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: black;
    text-decoration: none !important;
}

    .box:hover {
        background-color: lightblue;
    }

.non-box {
    cursor: pointer;
}

    .non-box:hover {
        background-color: lightblue;
    }

.box::before {
    content: "\2610";
    color: black;
    display: inline-block;
    margin-right: 6px;
}

.check-box::before {
    content: "\2611";
    color: dodgerblue;
}

.nested {
    display: none;
}

.active {
    display: block;
}

.hidden {
    display: none;
}

.red-background {
    background-color: lightcoral !important;
}

.green-background {
    background-color: lawngreen !important;
}

.grey-background {
    background-color: lightgrey !important;
}

.message-box {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.message-box-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    max-width: 400px;
    border-radius: 5px;
}

.info {
    margin-top: 25rem;
    border-top: 10px solid blue;
}

.error {
    margin-top: 25rem;
    border-top: 10px solid red;
}

.confirmation {
    margin-top: 25rem;
    border-top: 10px solid gold;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

.message-box-actions {
    margin-top: 20px;
    text-align: right;
}

.yes-button {
    background-color: #4CAF50; /* Green */
    color: white;
    border: none;
    padding: 10px 20px;
    margin-right: 10px;
    cursor: pointer;
}

.no-button {
    background-color: #f44336; /* Red */
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

    .yes-button:hover, .no-button:hover {
        opacity: 0.8;
    }

.image-viewer-page {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
}

.download-file-name {
    cursor: pointer;
    color: blue;
    text-decoration: underline;
}

@keyframes spinner {
    0% {
        transform: translate3d(-50%, -50%, 0) rotate(0deg);
    }

    100% {
        transform: translate3d(-50%, -50%, 0) rotate(360deg);
    }
}

.spin::before {
    animation: 1.5s linear infinite spinner;
    animation-play-state: inherit;
    border: solid 5px dodgerblue;
    border-bottom-color: white;
    border-radius: 50%;
    content: "";
    height: 20px;
    width: 20px;
    position: absolute;
    transform: translate3d(-50%, -50%, 0);
    will-change: transform;
    margin-left: 6rem;
}

.large-spin::before {
    animation: 1.5s linear infinite spinner;
    animation-play-state: inherit;
    border: solid 10px dodgerblue;
    border-bottom-color: white;
    border-radius: 50%;
    content: "";
    height: 100px;
    width: 100px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    will-change: transform;
    z-index: 9999;
}

fieldset {
    all: unset;
    border: 1px solid #ccc;
    padding: 10px;
}

legend {
    all: unset;
    font-size: calc(1.275rem + .3vw);
}
