/* --------------- */
/* ----- BTN ----- */
/* --------------- */

button {
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
}

.btn-primary-style,
.btn-secondary-style,
.btn-tertiary-style,
.btn-quaternary-style,
.btn-icon,
.btn-display-icon {
    transition: all 0.33s ease;
}

.btn-medium {
    font-size: 1rem;
    padding: 0.5rem 1rem;
}

.btn-large {
    font-size: 1.2rem;
    padding: 0.70rem 1rem;
}

.btn-disabled {
    background-color: var(--lighter);
    border-color: var(--light-alpha);
}

.btn-unstyled {
    border: 0;
    background: none;
}

.btn-display-icon {
    z-index: 10;
    top: 96px;
    right: -160px;
    font-size: 8rem;
    text-decoration: none;
    color: var(--light-alpha);
    transition: 0.25s;
    &:hover {
        color: var(--white);
        transition: 0.25s;
    }
}

.btn-primary-style,
.btn-secondary-style,
.btn-tertiary-style {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    line-height: 1.5;
    &:hover {
        cursor: pointer;
    }
}

.btn-primary-style {
    border-image: url('../assets/img/ui/primary-button-red-stroke.png') 16 16 16 16 fill repeat;
    font-weight: bold;
    color: var(--white);

    &:hover, &:active, &:target {
        filter: contrast(200%) saturate(0%);
        color: var(--white);
        text-decoration: none;    }
}

/* SECONDARY - OUTLINED */

.btn-secondary-style {
    background-color: transparent;      
    font-weight: bold;
    color: var(--primary-lighter);
    border-radius: 4px;
    border: 2px solid var(--primary-lighter);
    &:hover, &:active, &:target {
        background-color: var(--primary-lighter);
        color: var(--white);
        text-decoration: none;    }
}

/* TERTIARY - TRANSPARENT */

.btn-tertiary-style {
    background-color: transparent;     
    color: var(--primary-lighter);
    font-weight: bold;
    &:hover, &:active, &:target {
        color: var(--primary);
        text-decoration: underline;    }
}

/* QUATERNARY - ICON + TEXT */

.btn-quaternary-style {
    font-size: 1rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 8px;
    &:hover {
        color: white;
        background-color: var(--accent-light);
    }
}


/* ---------------- */
/* ----- TABS ----- */
/* ---------------- */

#tabs {
    display: flex;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    list-style: none;
    .tab {
        display: block;
        font-weight: bold;
        border-radius: 1rem 0.25rem;
        padding: 8px 14px;
        background-color: transparent;
        color: var(--primary-dark);
        &:hover { color: var(--primary); }
        &.active {
            font-weight: bold;
            color: var(--white);
            background-color: var(--primary-darker);
        }
    }
}

#sub-tabs {
    display: flex;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    list-style: none;
    > li > a {
        display: block;
        font-weight: bold;
        padding: 8px 14px;
        color: var(--primary-dark);
        &:hover { color: var(--primary); }
        &.active {
            position: relative;
            font-weight: bold;
            color: var(--primary);
            border-bottom:  solid var(--primary);
        }
    }
}
