
/* ------------------------------------------------ modal ------------------------------------------------------*/

/* Messi CSS */

.ys-modal {
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    padding: 20px;
    margin: 0;
    text-shadow: none;
    text-align: left;
    overflow: auto;
    background: rgba(0,0,0,0.8);
    box-sizing: border-box;
}

.ys-modal-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
    opacity: 0;
}


.ys-modal-box {
    position: relative;
    max-width: 1000px;
    min-width: 200px;
    width: auto;
    height: auto;
    margin: auto;
    align-self: center;
    // IE11 fix overflow: hidden;
    background-color: rgba(204, 204, 204, 0.2);
    opacity: 1;
    border-radius: 4px;
    box-shadow: 0 0 1em #444;
}

.ys-modal-wrapper {
    position: relative;
    background-color: #fff;
    border-radius: 3px;
}

.ys-modal-closebtn {
    z-index: 1;
    position: absolute;
    top: 8px;
    right: 8px;
    display: block;
    width: 20px;
    height: 20px;
    color: #333;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    &:hover

{
    color: #d73641;
    background-color: #fff;
}

}

.ys-modal-closebtn:before {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    top: 2px;
    text-align: center;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
    content: '\00D7';
    font-size: 20px;
    line-height: 20px;
}

.ys-modal-loading {
    background: url("/Content/img/picto/ajaxLoader.gif") no-repeat scroll center center white;
    margin: auto;
    width: 150px;
    height: 150px;
}

.ys-modal-content {
    overflow: hidden;
}

.ys-modal h1.titre-popin {
    font-family: Georgia,serif;
    font-size: 20px;
    font-weight: bold;
    color: #00a6ca;
    margin-bottom: 12px;
    text-align: left;
}

.ys-modal .inner-popin {
    padding: 30px;
}

.ys-modal .fieldset_std p.ch_txt {
    margin-bottom: 5px;
}

.ys-modal .fieldset_std p.ch_input {
    margin-bottom: 14px;
}

.ys-modal .fieldset_std p.texte_red {
    margin-bottom: 10px;
    margin-top: -8px;
    color: #d60011;
    font-size: 11px;
}

.ys-modal .color {
    color: #d60011;
}
