html {
}

@media (min-width: 768px) {
    html {
    }
}

tbody .btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

tbody a.btn {
    color: #0366d6;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

tbody .btn.disabled, tbody .btn:disabled, tbody fieldset:disabled .btn {
    color: #212529;
    pointer-events: none;
    opacity: .65;
}

tbody .btn-primary.disabled, tbody .btn-primary:disabled {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

html {
    position: relative;
    min-height: 100%;
}

main {
    padding: 20px !important;
}

.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

div.cargo {
    box-sizing: border-box;
    width: 100%;
    margin-left: 5px;
    margin-right: 5px;
    padding: 5px;
}

    div.cargo p {
        margin-top: 10px;
    }

div.position {
    box-sizing: border-box;
    width: 100%;
    margin-left: 5px;
    margin-right: 5px;
    padding: 5px;
}

    div.position p {
        margin-top: 10px;
    }


.table {
    /*background-color: #ddeeff55;*/
    background-color: rgba(221, 238, 255, 0.2);
    /*    height: 100%;
    width: 100%;*/
    margin: 0px !important;
    margin-top: 5px;
    --bs-table-striped-bg: rgba(214, 235, 255, 0.3);
    --bs-table-hover-bg: rgba(212, 233, 255, 0.6);
    border-color: rgba(0, 150, 255, 0,60);
    scrollbar-color: rgb(120, 180, 255) rgb(170, 225, 240);
    scrollbar-width: thin;
    scrollbar-arrow-color: darkblue;
    scrollbar-gutter: both-edges;
    max-height: 700px;
    overflow: auto;
}

    .table thead, .table thead th {
        background-color: rgba(204, 238, 255, 1);
        padding: 10px;
        padding-top: 15px;
        padding-bottom: 15px;
        text-align: left;
        white-space: nowrap;
        border-color: rgb(0, 150, 255, 0,60);
        z-index: 101;
        position: sticky;
        top: -1px;
        margin-top: 0px;
    }

    .table tfoot, .table tfoot th {
        background-color: rgba(204, 238, 255, 0.6);
        padding: 10px;
        text-align: left;
        white-space: nowrap;
        border-color: rgb(0, 150, 255, 0,60);
        position: sticky;
        bottom: -1px;
        z-index: 102;
    }

    .table td {
        text-align: left;
        padding: 5px;
        padding-left: 10px;
        padding-right: 10px;
        white-space: nowrap;
        border-color: rgb(0, 150, 255, 0,40);
    }

    .table th {
        white-space: nowrap;
    }

    .table tbody tr:hover, td:hover {
        background-color: rgba(204, 238, 255, 0.1);
    }

    .table thead th a {
        color: #42568c;
        text-decoration: none;
    }

        .table thead th a:hover {
            color: #12265c;
            text-decoration: none;
        }

.bluebgsolid {
    background-color: rgba(204, 238, 255, 1);
    padding: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: left;
    white-space: nowrap;
}

.table a {
    text-decoration: none;
    font-weight: bold;
}

    .table a:hover {
        text-decoration: none;
        color: #004ec2;
    }

.table {
    display: block;
}

.tBody {
    max-width: inherit;
}

.table-bordered {
    border-color: rgb(0, 150, 255, 0,8) !important;
}

    .table-bordered > thead > tr > th {
        border-color: rgb(0, 150, 255, 0,8) !important;
    }

    .table-bordered > tbody > tr > td {
        border-color: rgb(0, 150, 255, 0,8) !important;
    }

.table tfoot tr th {
    padding: 5px;
    padding-top: 10px;
}

.table tfoot th li {
    margin-left: 1px;
    margin-right: 1px;
    text-decoration: none;
}

    .table tfoot th li a {
        padding: 5px;
        text-decoration: none;
    }

        .table tfoot th li a:hover {
            background-color: #12265c;
            text-decoration: none;
            color: #e0f0ff;
            border-color: #dee2e6;
        }

.page-link:hover {
    background-color: #12265c;
    text-decoration: none;
    color: #e0f0ff;
    border-color: #dee2e6;
}

td {
    word-wrap: break-word;
    word-break: break-all;
}

table.failure {
    width: 100%;
}

    table.failure .table thead, table.failure .table th {
        background-color: rgba(204, 238, 255, 0.6);
        padding: 10px;
        text-align: left;
        border-color: rgb(0, 150, 255, 0,60);
    }

    table.failure tr td:nth-child(1) {
        width: 5vw
    }

    table.failure tr td:nth-child(2) {
        width: 25vw
    }

    table.failure tr td:nth-child(3) {
        width: 10vw
    }

table.cargo {
    width: 100%;
}

    table.cargo .table thead, table.cargo .table th {
        background-color: rgba(204, 238, 255, 0.6);
        padding: 10px;
        text-align: left;
        border-color: rgb(0, 150, 255, 0,60);
    }

    table.cargo td {
        text-align: left;
        padding: 5px;
        padding-left: 10px;
        padding-right: 10px;
        border-color: rgb(0, 150, 255, 0,60);
    }

    table.cargo tr td:nth-child(1) {
        width: 6vw
    }

    table.cargo tr td:nth-child(2) {
        width: 2vw
    }

    table.cargo tr td:nth-child(3) {
        width: 6vw
    }

    table.cargo tr td:nth-child(4) {
        width: 9vw
    }

    table.cargo tr td:nth-child(5) {
        width: 8vw
    }

    table.cargo tr td:nth-child(6) {
        width: 20vw
    }

    table.cargo tr td:nth-child(7) {
        width: 12vw
    }

    table.cargo tr td:nth-child(8) {
        width: 12vw
    }

    table.cargo tr td:nth-child(9) {
        width: 12vw
    }

    table.cargo tr td:nth-child(10) {
        width: 12vw
    }

td {
    vertical-align: middle;
}

a.btn-primary:hover {
    color: #0a58ca;
    background-color: #fff;
}

table.position {
    width: 100%;
}

    table.position .table thead, table.position .table th {
        background-color: rgba(204, 238, 255, 0.6);
        padding: 10px;
        text-align: left;
        border-color: rgb(0, 150, 255, 0,60);
    }

    table.position td {
        text-align: left;
        padding: 5px;
        padding-left: 10px;
        padding-right: 10px;
        border-color: rgb(0, 150, 255, 0,60);
    }

    table.position tr td:nth-child(1) {
        width: 4vw
    }

    table.position tr td:nth-child(2) {
        width: 6vw
    }

    table.position tr td:nth-child(3) {
        width: 25vw
    }

    table.position tr td:nth-child(4) {
        width: 15vw
    }

    table.position tr td:nth-child(5) {
        width: 10vw
    }

    table.position tr td:nth-child(6) {
        width: 10vw
    }

    table.position tr td:nth-child(7) {
        width: 15vw
    }

    table.position tr td:nth-child(8) {
        width: 12vw
    }

@media (min-width: 1000px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 99%;
    }
}

@media (min-width: 500px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 99%;
    }
}

a {
    text-decoration: none;
}

#selectcustomer {
    height: 70px;
    overflow-y: scroll;
}

input[name=Submit1] {
    margin-top:0;
}

#loader {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    background-color: rgb(128, 128, 128, 0.4);
    z-index: 999;
}

#loading {
    position: inherit;
    left: 40%;
    top: 30%;
}


.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 201; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
    padding: 15px;
}

/* Modal Content */
    #myModal .modal-content {
        position: relative;
        background-color: #fefefe;
        margin: auto;
        padding: 0;
        border: 1px solid #888;
        width: 30%;
        padding: 15px;
        top: 25%;
        font-size: larger;
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
        -webkit-animation-name: animatetop;
        -webkit-animation-duration: 0.4s;
        animation-name: animatetop;
        animation-duration: 0.4s;
        border-radius: 10px;
    }

#contentModal .modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    padding: 15px;
    top: 10%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 10px;
}

    #contentModal .modal-content p {
        font-size: 16px;
        overflow-y: scroll;
        position: relative;
        height: 700px;
    }

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */
.close {
    color: #fff;
    float: left;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

.modal-header {
    background-color: #62c3f5;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
}

.modal-body {
    padding: 15px;
    border-radius: 15px;
}

.result {
    border-radius: 5px;
}

.modal-footer {
    background-color: #fff;
    padding: 15px;
}
