/*
|--------------------------------------------------------------------------
| GLOBAL
|--------------------------------------------------------------------------
*/

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
    background: #f5f7fb;
}

/*
|--------------------------------------------------------------------------
| DEFAULT APP LAYOUT
|--------------------------------------------------------------------------
*/

body:not(.login-layout) {
    padding-top: 56px;
    padding-bottom: 50px;
}


.bg-danger{
    background-color: #D52B1E;
}

.grid-header th {
    background-color: #343a40 !important;
    color: #ffffff !important;
    vertical-align: middle !important;
    text-align: center;
    font-size: 12px;
    white-space: nowrap;
}

.grid-header a {
    color: #ffffff !important;
   text-decoration: none;
}

.grid-header a:hover {
    color: #ffc107 !important;
}

.navbar {
    background-color: #D52B1E;
    font-size: .9rem;
}

.navbar > .container,
.navbar > .container-fluid {
    align-items: baseline;
}

/*
|--------------------------------------------------------------------------
| MAIN CONTENT
|--------------------------------------------------------------------------
*/

.pagination .page-item.active .page-link {

    background-color: #D52B1E;

    border-color: #D52B1E;

    color: #fff;

}

.pagination .page-link {

    color: #D52B1E;

}

.pagination .page-link:hover {

    color: #bb2d3b;

}

#main-content {
    height: calc(100vh - 106px);
    overflow-y: auto;
}

main > .container {
    padding: 70px 15px 20px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

/*
|--------------------------------------------------------------------------
| FOOTER
|--------------------------------------------------------------------------
*/

#footer {
    height: 40px;
    z-index: 1030;
    background-color: #B6985E;
    font-size: .9rem;
}

.bg-pp-yellow {
    background-color: #B6985E;
}

/*
|--------------------------------------------------------------------------
| HELPERS
|--------------------------------------------------------------------------
*/

.not-set {
    color: var(--bs-danger);
    font-style: italic;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: var(--bs-secondary-color);
}

.error-summary {
    color: var(--bs-danger-text-emphasis);
    background: var(--bs-danger-bg-subtle);
    border-left: 3px solid var(--bs-danger-border-subtle);
    padding: 10px 20px;
    margin: 0 0 15px;
}

/*
|--------------------------------------------------------------------------
| SORT ICONS
|--------------------------------------------------------------------------
*/

a {
  color: #000000;
  text-decoration: none;
}

a.asc:after,
a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px var(--bs-body-color);
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px var(--bs-body-color);
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

/*
|--------------------------------------------------------------------------
| NAVBAR LOGOUT
|--------------------------------------------------------------------------
*/

.nav li > form > button.logout {
    color: var(--bs-navbar-color);
}

.navbar-nav .nav-link.logout:focus,
.navbar-nav .nav-link.logout:hover {
    color: var(--bs-navbar-hover-color);
}

@media (max-width: 767.98px) {

    .navbar-nav .nav-link.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }

}

/*
|--------------------------------------------------------------------------
| FOOTER LOGO
|--------------------------------------------------------------------------
*/

.footer-logo-dark {
    display: none;
}

[data-bs-theme="dark"] .footer-logo-light {
    display: none;
}

[data-bs-theme="dark"] .footer-logo-dark {
    display: inline-block;
}

/*
|--------------------------------------------------------------------------
| LOGIN LAYOUT
|--------------------------------------------------------------------------
*/

.login-layout {
    padding: 0 !important;
    overflow: hidden;
    background: #000;
}

.login-layout-wrapper {
    min-height: 100vh;
}

/*
|--------------------------------------------------------------------------
| MODERN LOGIN PAGE
|--------------------------------------------------------------------------
*/

.modern-login-page {
    position: relative;

    min-height: 100vh;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            rgba(15, 23, 42, 0.38),
            rgba(15, 23, 42, 0.32)
        ),
        url('../images/fleet-bg.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

/*
|--------------------------------------------------------------------------
| LOGIN CARD
|--------------------------------------------------------------------------
*/
.login-icon {
    font-size: 16px;
    line-height: 1;
}
.login-card {
    position: relative;
    z-index: 10;

    border-radius: 28px;

    background: rgba(214, 43, 30,0.12);

    backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,0.12);

    box-shadow:
        0 25px 60px rgba(0,0,0,0.45);
}

/*
|--------------------------------------------------------------------------
| LOGIN TYPOGRAPHY
|--------------------------------------------------------------------------
*/

.login-title {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.login-subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    margin-bottom: 0;
}

.login-label {
    color: rgba(255,255,255,0.82);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

/*
|--------------------------------------------------------------------------
| LOGIN INPUTS
|--------------------------------------------------------------------------
*/

.login-input-group .input-group-text {
    border-radius: 14px 0 0 14px;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.1);
    border-right: 0;

    color: rgba(255,255,255,0.8);

    min-width: 52px;

    justify-content: center;
}

.login-input {
    height: 34px;
    border-radius: 0 14px 14px 0 !important;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 12px;
}

.login-input::placeholder {
    color: rgba(255,255,255,0.45);
}

.login-input:focus {
    background: rgba(255,255,255,0.12);
    border-color: #3b82f6;
    color: #fff;
    box-shadow:
        0 0 0 4px rgba(59,130,246,0.18);
}

/*
|--------------------------------------------------------------------------
| LOGIN CHECKBOX
|--------------------------------------------------------------------------
*/

.login-card .form-check-input {
    background-color: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
}

.login-card .form-check-label {
    color: rgba(255,255,255,0.72);
}

/*
|--------------------------------------------------------------------------
| LOGIN BUTTON
|--------------------------------------------------------------------------
*/

.login-btn {
    height: 35px;

    border-radius: 14px;
    border: 0;

    font-size: 14px;
    font-weight: 400;

    background:
        linear-gradient(
            135deg,
            #D52B1E,
            #b21b0f
        );

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.login-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 30px rgba(182, 152, 94,0.35);
}

.login-btn:active {
    transform: translateY(0);
}
.login-btn-sm {
    height: 35px;
    font-size: 14px;
    padding: 0 16px;
    border-radius: 12px;
}
/*
|--------------------------------------------------------------------------
| LOGIN DEMO BOX
|--------------------------------------------------------------------------
*/

.login-demo-box {
    padding: 14px;

    border-radius: 14px;

    background: rgba(255,255,255,0.06);

    border: 1px solid rgba(255,255,255,0.08);

    text-align: center;

    color: #fff;
}

/*
|--------------------------------------------------------------------------
| LOGIN VALIDATION
|--------------------------------------------------------------------------
*/

.login-card .invalid-feedback {
    color: #fca5a5;
}

/*
|--------------------------------------------------------------------------
| DARK MODE
|--------------------------------------------------------------------------
*/

[data-bs-theme="dark"] .login-card {
    background: rgba(17,24,39,0.75);
}

/*
|--------------------------------------------------------------------------
| CONTACT
|--------------------------------------------------------------------------
*/

.site-contact textarea.form-control {
    height: 140px;
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 576px) {

    .login-card {
        border-radius: 22px;
    }

    .login-title {
        font-size: 28px;
    }

}



