/* Styles */
.engb {
    @include body-text();
    position: fixed;
    width: 100%;
    left: 0;
    padding: 2em 0;
    background: $color-body-bg;
    border-top: 1px solid $color-body-text;    
}

.engb-text {
    color: $color-body-text;
}

.engb-close {
    position: absolute;
    top: 5px;
    right: 8px;
    z-index: 100;

    .engb-close-trigger {
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        border: 1px solid $color-body-text;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        cursor: pointer;

        svg {
            display: inline-block;
            fill: $color-body-text;
            width: 8px;
            height: 8px;
        }
    }
}

.engb-row {
    padding: 0 2em;
    position: relative;
}

.engb-title {
    span {
        color: $color-button-bg;
        font-weight: bolder;
        font-size: 1.5em;
        line-height: 1.25;
    }
}

.engb-text {
    p {
        margin: 0;
    }

    .selection {
        font-weight: bold;
    }

    a, a:visited {
        color: inherit;
        text-decoration: underline;
        text-decoration-style: solid;

        &:hover {
            text-decoration-style: double;
        }
    }
}

.engb-action {
    
}

.engb-button {
    position: relative;
    display: inline-block;
    outline: none;
    padding: 0.65em 1em;
    min-width: 180px;
    height: 2.75em;
    border: none;
    background: $color-button-bg;
    
    color: $color-button-text;
    text-align: center;
    text-decoration: none;
    font-weight: bolder;
    border-radius: 2px;
    transition: all 0.35s;
    white-space: nowrap;
    

    &:before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 2px;
        background: rgba(0,0,0, 0);
        z-index: 5;
        transition: background 0.45s;
    }

    span {
        position: relative;
        z-index: 20;
    }

    &:visited {
        color: $color-button-text;
    }
    
    &:hover, &:focus, &:active {
        color: $color-button-text;
        &:before { background: rgba(0,0,0, 0.25); }
    } 
}


// Layout 
@import 'mobile';
@import 'desktop';