
/** CSS classes for both elements that open the modal and the modal element */
modal-open {
    overflow: hidden;
}


/** CSS classes for elements that open the modal */
modal-open {
    text-decoration: none;
    text-decoration-color: var(--secondary-color);
    color: var(--secondary-color);
    font-weight: 100;
    cursor: pointer;
    background-color: inherit;
    padding: 0.25rem;
    font-size: 17px;
    font-weight: lighter;
    text-transform: none;
    font-family: FFFagoWeb, sans-serif;
    text-transform: uppercase;
    border-bottom: 1px solid #ffffff00;
}
modal-open:hover {
    color: var(--primary-text-color);
    text-decoration-color: var(--primary-text-color);
    border-bottom: 1px solid var(--primary-text-color);
}

/** CSS classes for the modal element */
modal-dialog.open {
    display: block;
}
modal-dialog:not(.open) {
    display: none;
}
modal-dialog {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #f0f0f0;
    position: fixed;
    z-index: 9996;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    overflow-y: scroll;
}

/**
 * Use class, not tag-selector, because the corresponding styles may be overriden by implementing the <modal-close> tag
 * manually.
 */
.modal-close {
    display: block;
    position: absolute;
    border: 0;
    opacity: 0.7;
    top: 12px;
    right: 12px;
    &:hover {
        opacity: 1;
        cursor:pointer;
    }
}
