/* Colors */

:root {
    --black: #000000;
    --dark-gray: #333333;
    --gray: #0B0B0B;
    --medium-gray: #555555;
    --light-gray: #9f9f9f;
    --off-white: #f7f7f7;
    --blue: #0b4ff2;
    --white: #ffffff;
}

/* BG Colors */

.bg-off-white {
    background-color: var(--off-white);
}

.bg-black {
    background-color: var(--black);
}

/* Text Colors */

.text-white {
    color: var(--white);
}

.text-black {
    color: var(--black);
}

.font-body-color {
    color: var(--black) !important;
}

/* Buttons */

.btn {
    background: var(--black);
    border: none;
    border-radius: 0;
    color: var(--white);
    display: inline-block;
    font-weight: 500;
    padding: 1rem 1.5rem;
    position: relative;
    font-family: var(--font-headline);
    font-weight: 800;
    font-size: var(--fs-xs);
    letter-spacing: 1px;
    white-space: normal;
    transition: all .25s;

    &:hover, &:active, &:focus {
        background: var(--dark-gray);
        color: var(--white);
    }

    &.btn-white {
        background: var(--white);
        color: #222;

        &:hover {
            background: var(--blue);
        }
    }
}

button {
    transition: all .25s;
    cursor: pointer;
}

/* Header */

.header-margin {
    margin-top: 79px;
}

.header-padding {
    padding-top: 79px;
}

.anchor-margin {
    padding-top: 175px;
    margin-top: -175px;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

.navbar {
    background-color: var(--white);
    transition: all .35s !important;
    padding: 1em;

    .nav-item {
        .nav-link, .dropdown-item {
            color: var(--black);
        }

        .dropdown-item {
            &:hover {
                background-color:transparent;
            }
        }
    }

    .dropdown-menu {
        .dropdown-item {
            @media (min-width:992px) {
                &:hover {
                    background-color:var(--off-white);
                }
            }
        }

        @media (max-width:991px) {
            border: 0;
            border-top: 1px solid var(--medium-gray);
            border-radius: 0;
        }
    }
}

    .navbar.scrolled {
        background-color: #fff;
        -webkit-box-shadow: 0 4px 6px -2px rgba(0,0,0,.25);
        -moz-box-shadow: 0 4px 6px -2px rgba(0,0,0,.25);
        box-shadow: 0 4px 6px -2px rgba(0,0,0,.25);
    }

/* Offcanvas Menu */

.offcanvas {
    background-color: var(--white);
}

.offcanvas.offcanvas-end {
    border-left: 0;
}

/* Header Search */

#searchForm {
    position: absolute;
    top: -1px;
    right: 6.75rem;
    width: 18rem;
    text-align: right;
    visibility: hidden;
    opacity: 0;
    z-index: 1000;

    &.active {
        visibility: visible;
        opacity: 1;
        margin: 0 auto;
        text-align: center;
        background: transparent;
    }

    input {
        padding-top: 4px;
        padding-bottom: 4px;
        margin: 0;
        border: 0;
        background-color: transparent;
        color: var(--white);
        font-size: var(--fs-sm);
        outline: 0;
        text-align: right;

        &::placeholder {
        color: var(--white);
        opacity: 0.65; /* Firefox */
        }

        &::-ms-input-placeholder { /* Edge 12 -18 */
        color: var(-white);
        }
    }

    button {
        width: 30px;
        border: 0;
        background-color: transparent;
        color: white;
        height: 100%;
        outline: 0;
        transition: all .15s;
        float: right;
        padding: 13px 0;
        height: 100%;
        text-align: right;
    }
}
  
.search-toggle {
    background-color: transparent;
    color: inherit;
    border: 0;
    width: 28px;
    height: 100%;

    &.active:before {
        content: "\f00d";
    }
}

/* Custom hamburger menu */

.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 20px;
    position: relative;

    &:focus {
        box-shadow: none;
    }

    .navbar-toggler-icon {
        background-image: none !important;
        background-color: var(--black);
        height: 2px;
        width: 100%;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);

        &::before,
        &::after {
            content: '';
            background-color: var(--black);
            height: 2px;
            width: 100%;
            position: absolute;
            left: 0;
        }

        &::before {
            top: -8px;
        }

        &::after {
            bottom: -8px;
        }
    }
}

/* Logo */

.logo {
    position: relative;
    display: inline-block;
    width: max-content;

    &:before {
        content: "";
        position: absolute;
        background-color: var(--black);
        top: -10px;
        right: 0;
        bottom: -10px;
        left: 0;
        opacity: 0;
        transition: all 0.25s;
    }
    span {
        display: inline-block;
        position: relative;
        margin-bottom: 0;
    }
    &:hover {
        color: var(--white);
        &:before {
            opacity: 1;
        }
    }
}

/* Footer */
