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

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}