@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

body {
    font-family: "DM Sans", sans-serif !important;
    background-color: #f2f4f7;
    font-size: 14px !important;
}

.dm-sans-100 {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
}

.dm-sans-200 {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

.dm-sans-300 {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.dm-sans-400 {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.dm-sans-500 {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.dm-sans-600 {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.dm-sans-700 {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.dm-sans-800 {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
}

.dm-sans-900 {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
}


.dm-sans-1000 {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 1000;
    font-style: normal;
}

main>.container {
    padding: 70px 15px 20px;
}

main>.container-fluid {
    padding: 0 15px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer>.container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li>form>button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li>form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

@media screen and (min-width: 1600px) {
    .container-fluid {
        padding-left: 30px;
        padding-right: 30px;
    }
}

.nav>li>form>button.logout:focus,
.nav>li>form>button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav>li>form>button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

/* grid view */
.grid-view table thead tr th,
.grid-view table thead tr th a {
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.grid-view table thead tr th,
.grid-view table tbody tr td {
    vertical-align: middle;
}

th a {
    color: #444;
    text-decoration: none !important;
}

th a:hover {
    color: #444;
    text-decoration: none !important;
}

td .form-control {
    font-size: 14px;
}

.table {
    --bs-table-striped-bg: #f8fafc;
}


/* custom */
.pointer {
    cursor: pointer;
}

.form-control:focus {
    box-shadow: none;
}

.btn-transparent {
    background-color: transparent;
    border: none;
    color: #212529;
}

.btn-transparent:hover {
    background-color: transparent;
    border: none;
    color: #212529;
}

.text-xs {
    font-size: .75rem !important;
}

.btn {
    font-size: 14px;
}

.dropdown-menu {
    font-size: 14px;
}

.line-separator {
    border-top: 1px solid #dee2e6;
}

.form-control[readonly] {
    background-color: #f8f9fa;
}

.btn-outline-black {
    color: #000000;
    border-color: #000000;
}

.btn-outline-black:hover {
    color: #ffffff;
    background-color: #000000;
}

.swal2-styled:focus {
    box-shadow: none !important;
}

.bg-skeleton {
    background-color: #f2f4f7 !important;
}

.navbar-brand {
    font-size: 1rem;
    font-weight: 600;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(162, 162, 162, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999999;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #0955ed;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}