// Lux 4.1.3
// Bootswatch


// Variables ===================================================================

//$web-font-path: "https://fonts.googleapis.com/css?family=Nunito+Sans:400,600" !default;
//@import url($web-font-path);

@font-face {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 400;
    src: unquote("url('[[font:theme|NunitoSans-Regular.ttf]]') format('truetype')");
}

@font-face {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 600;
    src: unquote("url('[[font:theme|NunitoSans-SemiBold.ttf]]') format('truetype')");
}

// Navbar ======================================================================

.navbar {
    font-size: $font-size-sm;
    text-transform: uppercase;
    font-weight: 600;

    &-nav {
        .nav-link {
            padding-top: .715rem;
            padding-bottom: .715rem;
        }
    }

    &-brand {
        margin-right: 2rem;
    }
}

.bg-primary {
    background-color: $gray-900 !important; // stylelint-disable-line declaration-no-important
}

.bg-light {
    border: 1px solid rgba(0, 0, 0, 0.1);

    &.navbar-fixed-top {
        border-width: 0 0 1px 0;
    }

    &.navbar-bottom-top {
        border-width: 1px 0 0 0;
    }
}

//.nav-item {
//    margin-right: 2rem;
//}

// Buttons =====================================================================

.btn {
    font-size: $font-size-sm;
    text-transform: uppercase;

    &-sm {
        font-size: 10px;
    }

    &-warning {
        &,
        &:hover,
        &:not([disabled]):not(.disabled):active,
        &:focus {
            color: $white;
        }
    }
}

.btn-outline-secondary {
    border-color: $gray-600;
    color: $gray-600;

    &:not([disabled]):not(.disabled):hover,
    &:not([disabled]):not(.disabled):focus,
    &:not([disabled]):not(.disabled):active {
        background-color: $gray-400;
        border-color: $gray-400;
        color: $white;
    }

    &:not([disabled]):not(.disabled):focus {
        box-shadow: 0 0 0 0.2rem rgba($gray-400, 0.5);
    }
}

[class*="btn-outline-"] {
    border-width: 2px;
}

.border-secondary {
    border: 1px solid $gray-400 !important; // stylelint-disable-line declaration-no-important
}

// Typography ==================================================================

body {
    font-weight: 200;
    letter-spacing: 1px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
    letter-spacing: 3px;
}

.text-secondary {
    color: $body-color !important; // stylelint-disable-line declaration-no-important
}

// Tables ======================================================================

th {
    font-size: $font-size-sm;
    text-transform: uppercase;
}

.table {
    th,
    td {
        padding: 1.5rem;
    }

    &-sm {
        th,
        td {
            padding: 0.75rem;
        }
    }
}

// Forms =======================================================================

// Navs ========================================================================

.dropdown-menu {
    font-size: $font-size-sm;
    text-transform: none;
}

// Indicators ==================================================================

// Progress bars ===============================================================

// Containers ==================================================================

.list-group-item {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .h1,
    .h2,
    .h3,
    .h4,
    .h5,
    .h6 {
        color: inherit;
    }
}

.card {

    &-title,
    &-header {
        color: inherit;
    }
}


// Moodle search.scss ==========================================================
.search-input-wrapper > div {
    .icon {
        margin-top: 14px;
    }
}