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

/* Principal layout */
.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

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

/* Movile: fix footer */
@media (max-width: 767.98px) {
    .app-container {
        height: 100vh;
        overflow: hidden;
    }

    .content-wrapper {
        height: calc(100vh - 30px);
        overflow-y: auto;
    }

    .footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

        .footer .container-fluid {
            padding: 0 10px !important;
        }

        .footer .copyright {
            font-size: 0.7rem;
        }
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

hr.horizontal.solid {
    background-image: none !important;
    border-top: 1px solid rgba(0,0,0,.25);
    height: 0;
}
