* {
    font-family: "Source Code Pro", monospace;
    font-size: 1em;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

.form-control,
.form-select {
    background-color: rgba(300, 300, 300, 0.3);
    border: 1px solid grey;
    padding: 5px 10px;
    height: 30px;
}

.form-textarea {
    border: 1px solid grey !important;
    border-radius: 5px;
    padding: 5px 10px;
    width: 100%;
}

.col-form-label {
    padding: 0;
    margin: 0;
    margin-bottom: 5px;
}

.form-control,
.form-textarea {
    background-color: white;
}

.form-control:focus,
.form-textarea:focus {
    background-color: white;
    border: 1px dashed grey !important;
}

.input-field {
    width: 200px;
    height: 35px;
}

input.form-control {
    border: solid 1px #aaa !important;
}

input:checked {
    background-color: #2196f3 !important;
    border: none !important;
}

.pos-head-login {
    left: 39%;
}

.pos-head-register {
    left: 37%;
}

.register-image {
    width: 100%;
    height: 100%;
    padding: 5%;
    border-radius: 50px;
}

.profile-pic {
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
}

.title-nav {
    margin-left: 0 !important;
    color: #007bff;
}

.title-sub-nav {
    padding-left: 25px;
    color: #18aaff;
}

.inner-container {
    width: 70%;
    margin-left: 15%;
    margin-right: 15%;
    margin-top: 2.5%;
}

.project-secondary-image {
    width: 100px;
    height: 100px;
}

/* start Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: #2196f3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}
/* end Toggle */

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.max-w-200 {
    max-width: 200px;
}
.w-300 {
    width: 300px;
    overflow-x: auto;
}
.max-h-custom {
    height: 400px;
    overflow-y: scroll;
}

.text-end {
    text-align: end;
}
.text-right {
    text-align: right;
}
.text-bold {
    font-weight: bold;
}
#live_result tr td {
    max-width: 150px;
    min-width: 75px;
    overflow-x: auto;
}

.scroll {
    display: block !important;
    position: fixed;
    z-index: 99;
    top: 30%;
    right: 0%;
    width: 55px;
}

.logs_nav {
    display: block !important;
    position: fixed;
    z-index: 99;
    top: 25%;
    right: 0%;
    width: 55px;
}

.border-b {
    border-bottom: black 2px solid;
}

/* combobox */
.combobox-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.combobox-input {
    width: 100%;
}

.combobox-dropdown {
    position: absolute;
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #ccc;
    background-color: #fff;
    width: 200px;
    max-height: 200px;
    overflow-y: auto;
    border-top: none;
    z-index: 100;
}

.combobox-dropdown li {
    padding: 8px 12px;
    cursor: pointer;
    display: none;
}

.combobox-dropdown li:hover {
    background-color: #f5f5f5;
}

.combobox-dropdown li.show {
    display: block;
}

.backup-file-input {
    width: 250px !important;
}

/* File Input with drag */
.drag-area {
    border: 2px dashed #1a73e8;
    height: 50px;
    width: 250px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: row;
}
.drag-area.active {
    border: 2px solid #1a73e8;
}
.drag-area label {
    font-size: 12px;
    font-weight: 500;
    color: #1a73e8;
    margin-top: auto;
    margin-bottom: auto;
}
.drag-area span {
    font-size: 10px;
    font-weight: 500;
    color: #1a73e8;
}
.drag-area button {
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 500;
    border: none;
    outline: none;
    background: #1a73e8;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}
.drag-area img {
    height: 100%;
    width: auto;
    object-fit: cover;
    border-radius: 5px;
}

/* sidebar scrolling hide */
#sidenav-main {
    overflow-y: auto;
    scrollbar-width: thin;
    border-radius: 25px;
}
#sidenav-main::-webkit-scrollbar {
    background: transparent;
}

/* table */
table th {
    text-transform: capitalize;
}
table th,
table td {
    text-align: center;
}
table td p {
    margin-bottom: 0;
    font-weight: bold;
    font-size: 0.8rem;
}

.image-wrapper {
    display: inline-block;
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    transition: filter 0.3s;
}

.image-wrapper:hover {
    filter: brightness(50%);
}

.delete-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s;
    font: 1rem bold;
}

.image-wrapper:hover .delete-overlay {
    opacity: 1;
}

#signature-canvas {
    width: 100%;
    border: 2px dotted #cccccc;
    border-radius: 15px;
    cursor: crosshair;
}

.text-black {
    color: black;
}

/* start button */
.btn-custom {
    margin: 5px;
    padding: 5px 10px;
    color: #414149;
    font-size: medium;
}

.btn-custom:hover {
    color: white;
}

.btn {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1), 0 5px 10px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.btn-shadow-none,
.btn-shadow-none:hover {
    box-shadow: none !important;
}
/* end button */

/* start sidenav */
.nav-item .nav-link {
    font-size: 1rem;
}
.nav-item .nav-link span {
    width: 20px;
    margin-right: 10px;
    margin-left: 5px;
}
/* end sidenav */

/* start table */
.table thead th {
    font-size: medium;
    font-weight: bold;
}
/* end table */

/* start flash */
.alert {
    font-size: 1rem;
    padding: 5px 10px;
    margin: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.alert button {
    font-size: 15px;
}

.alert button i {
    color: black;
}
/* end flash */

/* start modal */
/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.25);
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 50%;
    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;
}

/* 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 {
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 5px 20px;
}

.modal-body {
    padding: 5px 20px;
}
/* end modal */

/* start global */
.border-radius {
    border-radius: 15px !important;
}
.min-w-1 {
    min-width: 100px;
}
.border-b-none {
    border-bottom: none;
}
.custom-border {
    margin-top: 10px;
    border: 1px solid #dee2e6;
    padding: 15px;
    border-radius: 25px;
}
/* end global */

/* start order */
.remove-item-btn {
    padding: 8px 16px;
    color: #414149;
}
.add-item-btn {
    margin: 4px 0;
    padding: 8px 16px !important;
    color: #414149;
}
/* end order */

/* start tab window */
.nav-tabs > .nav-item .nav-link.active {
    color: white !important;
    background-color: #1a73e8 !important;
}
.nav-tabs > .nav-item .nav-link {
    border: 1px solid #344767 !important;
    border-radius: 0;
}
.nav-tabs > .nav-item:nth-child(1) .nav-link {
    border-radius: 25px 0 0 25px;
}
.nav-tabs > .nav-item:nth-child(2) .nav-link {
    border-radius: 0 25px 25px 0;
}
.select2.select2-container.select2-container--default {
    width: 100% !important;
}
/* end tab window */

/* start navbar */
.navigation {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.page-item.active > .page-link {
    background-color: #1a73e8;
    border: none;
}
/* end navbar */

/* start js confirm */
.jconfirm {
    font-family: "Source Code Pro", monospace;
    font-size: 1em;
    margin: 0;
    padding: 0;
}

.jconfirm-box {
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.jconfirm-title {
    font-weight: bold;
    color: #007bff;
    font-size: larger;
}

.jconfirm-content {
    padding: 20px;
}

.jconfirm-buttons {
    text-align: center;
}

.jconfirm-buttons button {
    margin: 5px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.jconfirm-buttons button:first-child {
    background-color: #007bff !important;
    color: #fff !important;
}

.jconfirm-buttons button:last-child {
    background-color: #dc3545 !important;
    color: #fff !important;
}
/* end js confirm */

.dynamic .select2-selection {
    min-width: 300px !important;
    max-width: 500px !important;
}

/* Scroller */
.custom-scroller {
    overflow-y: scroll !important;
}
.custom-scroller::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 5px !important;
}

.custom-scroller::-webkit-scrollbar {
    width: 12px !important;
}

.custom-scroller::-webkit-scrollbar-thumb {
    border-radius: 5px !important;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3) !important;
    background-color: #0084f7 !important;
}
/* end scroller */

/* start return alert */
.return-alert {
    border: 2px dashed grey;
    padding: 10px 20px;
}

.return-alert .message {
    width: 70%;
    color: white;
    text-transform: uppercase;
}

.return-alert .toggle {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
}
.return-alert .toggle span {
    margin: 0 5px;
}
.return-alert .toggle .slider {
    width: 60px;
}
.return-alert .toggle .switch {
    margin-right: 10px;
}
/* end return alert */

/* start typeahead */
.bs-example {
    font-family: sans-serif;
    position: relative;
    margin: 100px;
}

.typeahead,
.tt-query,
.tt-hint {
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 20px;
    height: 35px;
    line-height: 30px;
    outline: medium none;
    padding: 8px 12px;
    width: auto;
    color: white;
}

.typeahead {
    background-color: transparent;
}

.typeahead:focus {
    border: 2px solid #0097cf;
}

.tt-query {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
}

.tt-hint {
    color: #999999;
}

.tt-menu {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    margin-top: 12px;
    padding: 8px 0;
    width: 422px;
}

.tt-suggestion {
    font-size: 22px;
    padding: 3px 20px;
}

.tt-suggestion:hover {
    cursor: pointer;
    background-color: #0097cf;
    color: #ffffff;
}

.tt-suggestion p {
    margin: 0;
}
/* end typeahead */

.sidenav,
.header,
.dropdown-menu {
    z-index: 100 !important;
}

/* start timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: #007bff;
}
.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: -39px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff !important;
    border: 2px solid #fff;
}
/* end timeline */

/* start mobile responsive */
@media only screen and (max-width: 600px) {
    .modal-content {
        width: 90%;
    }

    .inner-container {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }
}
/* end mobile responsive */

.rounded {
    border-radius: 15px !important;
    overflow: hidden;
}

.items-container {
    max-height: 500px;
    overflow-y: auto;
}

.logo-nav {
    width: 100%;
    height: 100px;
}
