@font-face {
    font-family: Silka;
    src: url(../fonts/Silka/silka-regular.ttf);
    font-weight: 400;
}

@font-face {
    font-family: Silka;
    src: url(../fonts/Silka/silka-medium.ttf);
    font-weight: 500;
}

@font-face {
    font-family: Silka;
    src: url(../fonts/Silka/silka-semibold.ttf);
    font-weight: 600;
}

@font-face {
    font-family: Silka;
    src: url(../fonts/Silka/silka-bold.ttf);
    font-weight: 700;
}

* {
    font-family: Silka;
}

html {
    min-height: 100vh;
    height: -webkit-fill-available;
    font-size: 16px;
}

body {
    background: var(--bg-main);
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

main {
    display: flex;
    flex-wrap: nowrap;
    height: 100vh;
    max-height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
}

/*select,
select option {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: Silka, sans-serif;
}
*/
input[type="text"],
input[type="email"],
input[type="password"] {
    border-radius: 6px !important;
}

input.input-validation-error {
    border-color: var(--bs-red);
}

input[type="submit"]:active {
    border-color: var(--bs-red);
}

.image-file-preview {
    display: block;
    width: 100%;
    margin-top: 20px;
    border-radius: 6px;
    background-color: #fff;
    border: solid 1px #999;
}

    .image-file-preview[src=""],
    .image-file-preview:not([src]) {
        display: none;
    }

.searchbar input {
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.searchbar button {
    border-left: 0px;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.modal-dialog {
    max-width: 50%;
    top: 150px;
}

.modal-header {
    border-bottom: 0px;
}

.modal-footer {
    border-top: 0px;
    align-items: center;
    justify-content: center;
}

.modal-body {
    font-size: 14px !important;
    padding: 0px 16px;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
}

.text-green {
    color: var(--green-500);
}

.fw-medium {
    font-weight: 500;
}

.one-line {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.bg-main {
    background: var(--bg-main);
}

.bg-head {
    background: var(--bs-gray-400);
    border-bottom: 1px solid var(--bs-gray-400);
}

.content,
.content-pagination {
    overflow-y: auto;
    position: relative;
}

.content {
    height: 100vh;
}

.content-pagination {
    height: calc(100vh - 150px);
    border-bottom: 1px solid #E0E0E0;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.05);
}

.content-header {
    background-color: #EEE !important;
    border-bottom: 1px solid #E0E0E0;
    align-items: center;
    min-height: 80px;
}

    .content-header button {
        color: var(--bs-blue);
        font-size: 18px;
        background: var(--bs-white);
    }

.form-content {
    display: flex;
    gap: 20px;
}

.form-section {
    width: 300px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.form-section-label {
    font-weight: bold;
    margin-bottom: 10px;
}

.form-section .form-check {
    margin-bottom: 16px;
}

.form-check-input:checked {
    background-color: var(--blue-800);
    border-color: var(--blue-800);
}

.form-floating {
    margin-bottom: 16px;
}

    .form-floating label {
        text-transform: capitalize;
    }

.form-select {
    padding: 14px 0.75rem;
}

.validation-message {
    font-size: 0.8rem;
}

.login-screen {
    height: calc(100vh - 300px) !important;
}

.form-signin {
    padding: 15px;
    margin: auto;
    width: 350px;
}

    .form-signin .checkbox {
        font-weight: 400;
    }

    .form-signin .form-floating:focus-within {
        z-index: 2;
    }

table {
    font-size: 14px !important;
    border-collapse: collapse;
    margin-bottom: 2px;
    width: 100%;
}

    table th {
        font-weight: 400;
    }

        table th a {
            color: var(--bs-gray-800);
        }

    table thead th {
        padding: 10px;
    }

    table tbody tr td {
        padding: 10px 10px;
        background: var(--bs-white);
        border-bottom: 1px solid #e0e0e0;
    }

    table tbody tr:first-child td:first-child {
        border-top-left-radius: 6px;
    }

    table tbody tr:first-child td:last-child {
        border-top-right-radius: 6px;
    }

    table tbody tr:last-child td:first-child {
        border-bottom-left-radius: 6px;
    }

    table tbody tr:last-child td:last-child {
        border-bottom-right-radius: 6px;
    }

    table tbody {
        box-shadow: 0 0 0 1px #e0e0e0;
        border-radius: 6px;
    }

.border-table {
    border: 1px solid var(--bs-gray-400);
}

.action-buttons {
    font-size: 24px;
    text-align: right;
    white-space: nowrap;
}

    .action-buttons a:hover {
        text-decoration: none;
    }

.table-icon {
    font-size: 20px;
}

.breadcrumb {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    align-items: center;
}

    .breadcrumb:not(:first-of-type)::before {
        content: "\F0142";
        display: inline-block;
        font: normal normal normal 24px "Material Design Icons";
        font-size: inherit;
        text-rendering: auto;
        line-height: inherit;
        -webkit-font-smoothing: antialiased;
        margin: 0 10px;
    }

.item-count {
    font-size: 20px;
    font-weight: 600;
}

.btn {
    font-weight: 600;
    font-size: 18px;
    background-color: none;
    border-style: solid;
    border-width: 2px;
    border-radius: 6px;
    opacity: 1;
}

.heading-action-buttons {
    max-height: 40px;
    display: inline-flex;
}

.nav-tabs {
    background-color: var(--bs-gray-200);
}

    .nav-tabs .nav-link.active,
    .nav-tabs .nav-item.show .nav-link {
        background-color: var(--bg-main);
        border-bottom-color: var(--bg-main);
    }

    .nav-tabs .nav-item .nav-link,
    .nav-tabs .nav-item:hover .nav-link {
        color: var(--bs-secondary);
    }

.page-link,
.page-item.disabled .page-link {
    color: var(--bs-secondary);
}

.page-link {
    height: 36px;
    width: 36px;
    padding: 0;
    text-align: center;
    border: 0;
}

.page-item.active .page-link {
    color: var(--bs-primary);
}

.page-item .page-link,
.page-item.disabled .page-link,
.page-item.active .page-link {
    background: none;
}

.page-item {
    line-height: 36px;
    margin: 2px 5px;
    min-width: 36px;
}

    .page-item:not(:first-child) .page-link {
        margin: 0;
    }

    .page-item.active {
        font-weight: bold;
        border-color: var(--bs-primary);
    }

    .page-item.active,
    .page-item:first-child:not(.disabled):hover,
    .page-item:last-child:not(.disabled):hover {
        border-width: 2px;
        border-style: solid;
        margin: 0 3px;
        border-radius: 6px;
    }

    .page-item:first-child,
    .page-item:last-child {
        font-size: 28px;
        border-color: var(--bs-secondary);
    }

.page-link:hover,
.page-link:focus {
    box-shadow: none;
    outline: 0;
    color: var(--bs-secondary);
}

#pagination-page-size {
    height: 40px;
    padding-top: 0.8rem;
    padding-bottom: 0;
    padding-left: 5px;
    font-size: 13px;
}

    #pagination-page-size + label {
        font-size: 12px;
        padding: 0.75rem;
        padding-left: 10px;
    }

.logo {
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.dot::after {
    content: ".";
    color: var(--bs-green);
    font-size: 1.3em;
}

.icon-flag {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border: solid 1px var(--bs-gray-400);
    border-radius: 50%;
}

label .icon-flag {
    width: 16px;
    height: 16px;
    vertical-align: sub;
}

.spinner-border {
    width: 22px;
    height: 22px;
    margin-left: 5px;
    vertical-align: -0.3rem;
}

button:not(:disabled) .spinner-border {
    display: none;
}

#table-heading-search-button:disabled .search-icon {
    visibility: hidden;
}

button .spinner-border {
    width: 22px;
    height: 22px;
    margin-left: 5px;
    vertical-align: -0.3rem;
}

.form-image {
    display: flex;
    justify-content: space-around;
    border-radius: 6px !important;
    border: 1px solid #ced4da;
    background-color: #fff;
    padding: 25px 0px;
}

    .form-image div {
        display: inline-block;
        position: relative;
    }

        .form-image div img {
            max-height: 350px;
        }

    .form-image button.delete {
        position: absolute;
        top: 0px;
        right: 0px;
        border-radius: 6px;
        padding: 10px 14px;
        margin: 10px;
        border: none;
        background: var(--bs-blue);
        color: #fff;
        z-index: 99999 !important;
    }

.order-buttons i {
    cursor: pointer;
}

.table-dot {
    border-radius: 50%;
    width: 6px;
    height: 6px;
    display: inline-block;
    margin-bottom: 2px;
    margin-right: 6px;
    background-color: #9F9F9F;
}

.active-dot {
    background-color: #00B559;
}

.inactive-dot {
    background-color: #9F9F9F;
}

.spin-animation2 {
    -webkit-animation: spin 4s linear infinite;
    -moz-animation: spin 4s linear infinite;
    animation: spin 4s linear infinite;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

label {
    text-transform: none !important;
}
