a[popup-href] {
    cursor: pointer;
}

/**
 * Loading
 */
.block-loading {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50000;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

/**
 * Popup
 */
.body-popup {
    overflow: visible !important;
}
.popup-bg {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50000;
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
}
.popup-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60000;
}
.popup-container {
    margin: 10%;
    background-color: #ffffff;
    border-radius: 10px;
}
.popup-content {
    padding: 10px;
}
.popup-close {
    float: right;
    margin: 3px;
    cursor: pointer;
    text-decoration: none !important;
}
.popup-close:hover {
    color: #2989d8 !important;
}

/* Boite alerte */
.block-alert {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50000;
}
.bg-alert {
    background-color: #000000;
    opacity: 0.8;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.box-alert {
    background-color: #ffffff;
    color: #000000;
    width: 500px;
    z-index: 1050;
    border-radius: 10px;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 16px !important;
}
.box-alert span {
    display: block;
    padding: 10px 20px;
    background-color: #676cba;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: #ffffff;
}
.box-alert p {
    padding: 30px 20px 20px 20px;
    margin-bottom: 0;
    font-family: 'Open Sans', sans-serif;
}
.box-alert-button {
    margin: 10px;
    text-align: center;
}
.box-alert a, .box-alert a:visited {
    padding: 8px 25px;
    min-width: 100px;
    text-align: center;
    border-radius: 5px;
    text-transform: uppercase;
    display: inline-block;
    margin-left: 10px;
    border: 1px solid #676cba!important;
    background-color: #676cba;
    text-decoration: none;
    color: #ffffff;
    box-shadow: none !important;
    text-shadow: none !important;
}
.box-alert a:hover {
    background: #fff!important;
    border: 1px solid #676cba!important;
    color: #676cba;
    text-decoration: none;
}
.box-alert a:focus, .box-alert a:active {
    box-shadow: none !important;
}

input:invalid, select:invalid {
    box-shadow: none;
}
