@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css");

@font-face {
    font-family: 'Google';
    src: url('../fonts/GoogleSans-Regular.ttf') format('truetype'),
        url('../fonts/GoogleSans-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@media (min-width: 576px) {
    .h-sm-100 {
        height: 100%;
    }
}


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

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

.body-navbar-fixed {
    padding-top: 70px;
}

.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;
    }
}

.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;
}

.fw-600 {
    font-weight: 600;
}

.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;
}

.brand-image {
    height: 25px;
}

.brand-logo {
    max-height: 200px;
}

.login-logo {
    max-width: 175px;
}

.form-label {
    font-weight: 500;
}

.login-bg {
    background-color: rgb(222, 222, 222);
}

.login-bg .invalid-feedback {
    color: #ff002d !important;
}

.login-bg .form-control {
    background-color: #f0f0f0;
    color: #000;
}

.login-bg .form-control:focus {
    background-color: white;
    color: #000;
    border-color: #fff;
}

.login-bg .form-control.is-invalid {
    border-color: #ff002d;
}

.login-bg .form-control.is-valid {
    border-color: #28a745;
}

.btn-white,
.btn-white:hover {
    color: #fff;
    background-color: #fff;
    border-color: #fff;
}

.text-sm {
    font-size: 14px;
}

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

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

.app-text-small {
    font-size: 12px !important;
}

.top-border-dashed {
    border-top: 1px dashed #e9ecef;
}

.m-05 {
    margin: 2px 2px 2px 2px;
}

.tc-badge {
    border-radius: 4px;
}

.fs-8 {
    font-size: 8px;
}

.nav-header {
    height: 70px;
    width: 100%;
    position: relative;
    z-index: 999;
}

.nav-wrapper {
    height: 70px;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #FFF;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.grayscale {
    filter: grayscale(100%);
}

.nav-logo {
    height: 50px;
}

.help-block {
    color: #dc3545;
}

.control-label {
    margin-bottom: 0.5rem;
}

/* add error color on input */
.has-error .form-control,
.has-error .form-control:focus {
    border-color: #dc3545;
    box-shadow: none;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.fixed-height-card {
    height: 350px;
}


.card-location-col {
    cursor: pointer;
}

.card-location-type {
    border: 3px solid #d8d8d8;
    border-radius: 15px;
}

.card-location-type.active {
    border-color: #ed097a;
}

.icon-register {
    max-width: 80px;
}

.btn-xs {
    padding: .25rem .25rem;
    font-size: .75rem;
    line-height: .5;
    border-radius: .2rem;
}

.view-request {
    cursor: pointer;
}

.navbar .nav-item .nav-link {
    font-weight: 500;
    font-size: larger;
    color: #000;
}


.nav-link {
    color: #ffffff !important;
}

/* nav-link active */
.nav-link.active {
    color: #ffffff !important;
    background-color: #ffffff2b !important;
    border-radius: 5px;
    width: 100%;
}

/* nav-link hover */
.nav-link:hover {
    color: #ffffff !important;
    background-color: #ffffff2b !important;
    border-radius: 5px;
    width: 100%;
}

.bg-gray {
    background-color: #121E24;
}

.bg-gray-light {
    background-color: #F5F5F5;
}

.border-dashed {
    border: 1px dashed #121E24 !important;
}

.service-card {
    cursor: pointer;
}

.table {
    word-wrap: break-word !important;
}


.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255, 0.8);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-content: center;
    align-items: center;
    z-index: 999999999;
}

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

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

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