/**********
    MISC
***********/
a, a:before, a:after, a:hover, a:focus, a:active { outline:none; cursor: pointer; }

#home {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    .page-header {
        color: #333;
        margin: 0;
        padding: 25px;
        letter-spacing: 0.0625em;
    }
    p {
        font-size:1.1em;
    }
    .latest-services .heading {
        text-align: center;
    }
    .home-stats {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin: 20px auto;
        a {
            min-width: 30%;
            padding: 10px;
            border-radius: 10px;
            font-size: larger;
            font-weight: normal;
            text-transform: uppercase;
            line-height: 2em;
            letter-spacing: 0.0625em;
            background-color: var(--accent-color);
            color: var(--text-color);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 15px;
            .text {
                flex: 1;
                text-align: center;
            }
            &:hover {
                color: white;
            }

            .badge {
                padding: 10px;
                border-radius: 10px;
                background-color: white;
                color: var(--accent-color);
                font-size: 1em;
                font-weight: 700;
            }
        }
    }
    .home-intro {
        margin-top: 80px;
        margin-bottom: 80px;
        text-align: center;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 30px;
    }

    .home-footer {
        display: flex;
        align-items: center;
        .footer-left {
            width: 50%;
            display: flex;
            justify-content: center;
        }
        .footer-right {
            width: 50%;
            display: flex;
            justify-content: right;
            text-align: right;
        }
    }
}

.alert {
    margin-top: 20px;
}

/* Scroll nav in linear forms */
.content-nav {
    margin-top: 20px;
    position: sticky;
    top: 60px;
    ul {
        scroll-target-group: auto;
    }
    .nav li a {
        font-weight: normal;
        padding: 5px 15px;
        &:target-current {
            font-weight: 600;
        }
    }
}

@media (max-width: 992px) {
    .content-nav {
        display: none;
    }
}

/* Form tabs */
.nav-tabs {
    margin-top: 10px;
    margin-bottom: 10px;
    li {
        margin-bottom: 0;
    }
    li a {
        font-size:1em;
        font-weight: 600;
        border: none;
        background-color: white;
        border-bottom: 5px solid white;
        &.active, &:focus, &:hover, &:active {
            border: none;
            border-bottom: 5px solid rgba(77, 117, 175, 1);
            background-color: white;
        }
    }
    li.active {
        a, a:focus, a:hover, a:active {
            border: none;
            border-bottom: 5px solid rgba(77, 117, 175, 1);
            background-color: white;
        }
    }
}

/***********
 VIEWS, FORMS
***********/
.actionbar {
    min-height: 30px;
    margin-bottom: 0;
    background-color: white;
}

.actionbar > * {
    margin-top: 10px;
    margin-bottom: 10px;
}

.searchbar form {
    width: 100%;
}

form .actionbar {
    position: sticky;
    top: -20px;
    z-index: 100;
}

.form-content {
    margin-top: 10px;
}

.form-validation-errors > ul.field-validation-errors {
    padding-left: 15px;
}

.help-block p {
    margin-bottom: 0;
    margin-top: 5px;
}

.history {
    margin-top: 50px;
}

fieldset {
    margin-top: 20px;
}

legend {
    margin-bottom: 10px;
}

fieldset.login {
    max-width: 600px;
    margin: 0 auto;
    legend {
        text-align: center;
        padding: 15px;
    }
}

fieldset.workflow-process legend {
    font-size: 16px;
}

.has-feedback .form-control-feedback {
    top: 0;
    left: 0;
    width: 46px;
    height: 46px;
    line-height: 46px;
    color: #555;
}

.has-feedback .form-control {
    padding-left: 42.5px;
}

.form-horizontal .form-group {
    margin-bottom: 5px;
}

.form-horizontal .form-inline .form-group {
    margin: 0;
}

.form-horizontal.fg-content-row.repeating,
.form-vertical.fg-content-row.repeating {
    margin-bottom: 10px;
}

.form-horizontal.fg-content-row.repeating:not(:first-of-type),
.form-vertical.fg-content-row.repeating:not(:first-of-type) {
    border-top: 1px solid #e5e5e5;
    padding-top: 10px;
}

.form-horizontal.fg-content-row .form-group {
    margin-right: 20px;
}

.form-vertical.fg-content-row .form-group {
    margin-right: 35px;
}

table .form-inline .form-group,
table .form-inline .form-control {
    width: 100%;
    min-width: fit-content;
}

table .form-inline .select2-container--bootstrap {
    display: inline;
}

.summary-view th.extra {
    font-weight: normal;
    white-space: nowrap;
}
.summary-view td.title {
    font-weight: bold;
    padding-bottom: 0;
}
.summary-view td.extra {
    color: #777;
    white-space: nowrap;
    padding-bottom: 0;
    width: 1%;
}
.summary-view tr.summary-row td {
    border-top: 0;
    padding-top: 0;
}

th.header a:hover {
    text-decoration: none;
}

.view-category a:hover {
    text-decoration: none;
}

table th.category-header {
    width: 1%;
    white-space: nowrap;
}

.view-filter {
    margin-top: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #ddd;
}

.view-filter ul {
    margin-bottom: 5px;
}

.view-filter .nav li {
    padding: 0;
    display: inline-block;
    float: none;
}

.view-filter .nav li.active a {
    color: #007bff;
    background-color: #eee;
}

.view-filter .nav li a {
    display: block;
    padding: 3px 5px;
    border-radius: 0;
    color: #333;
    font-weight: inherit;
}

.view-filter .filter-label {
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 5px;
    margin-right: 5px;
}
.view-filter .filter-label::after {
    content: ":";
}

.view-filter .filter-label .glyphicon {
    display: none;
}

.view-filter .active a {
    color: #007bff;
}

.view-filter li > a:focus,
.view-filter li > a:hover {
    text-decoration: none;
    background-color: #eee;
}

.gutter {
    width: 1em;
    color: rgb(119, 119, 119);
}

.sidebar-heading {
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 18px;
}

.sidebar .nav li a {
    padding: 5px 15px;
    font-weight: 500;
    border-radius: 0;
    color: #333;
}

.sidebar .nav .active a {
    color: #007bff;
    background-color: #eee;
}

/**********
 MISC
 *********/
.sign-in-now,
.already-member,
.not-a-member {
    text-align: center;
    margin-top: 20px;
}

.user {
    margin-top: 50px;
}
.user .data {
    margin-top: 10px;
}

