@media (min-width: 992px) {
    .dropdown:not(.dropdown-hover) .dropdown-menu {
        margin-top: 40px !important;
    }
}

@media (min-width: 992px) {
    :not(.main-content) .navbar .dropdown .dropdown-menu {
      top: 0.5rem !important;
    }
}

/* Default button width */
.btn {
    min-width: 120px;
}

.card {
    box-shadow: 0 20px 27px 0 rgba(0, 0, 0, 0.05);
    border: 0;
}

    /* Fix excessive spacing for horizontal HR in cards - Argon Dashboard v2.1.0 */
    .card hr.horizontal {
        margin-top: 0.50rem !important;
        margin-bottom: 0.50rem !important;
        opacity: 0.5;
    }

    /* Reduce card-header bottom padding to work better with HR */
    .card .card-header {
        padding-bottom: 0.50rem !important;
    }

    /* Adjust card-body top padding when preceded by HR */
    .card hr.horizontal + .card-body {
        padding-top: 1rem !important;
    }

/* Sidebar flush to left edge, full height */
.sidenav.fixed-start {
    margin: 0 !important;
    border-radius: 0 !important;
    min-height: 100vh;
    border-right: 1px solid #e9ecef;
}

/* Adjust main-content left margin to match sidebar width without ms-4 gap */
@media (min-width: 1200px) {
    .sidenav.fixed-start + .main-content {
        margin-left: 15.625rem !important;
    }
}

/* Principal layout */
.main-content {
    flex: 1;
}

/* Footer */
.footer {
    background-color: #fff;
    border-top: 1px solid #e9ecef;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .footer * {
        margin: 0 !important;
        padding: 0 !important;
    }

    .footer .container-fluid {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 0 15px !important;
    }

    .footer .copyright {
        font-size: 0.75rem;
        text-align: center;
        color: #6c757d;
        white-space: nowrap;
    }

/* Valid and invalid input colors */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}