/* The Overlay (background) */

.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 800000000; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

.quasi-translucent {
    background-color: rgba(0,0,0, 0.2)
}
/* Position the content inside the overlay */
.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    background: #faf5f2;
    border-radius: 1em;
    padding: 15px;
}

.overlay-content .modal-inner-content {
  border-radius: 15px;
}
.overlay-content .mconfirm {
    width:50%;
    background: #fff;
    color: #000;
    margin: auto;
    padding:15px;
}
.overlay-content .mconfirm button {margin:5px;}
.overlay-content > em {
    color: #fff;
}
.overlay-content .icon-cancel-circle {
    display: block;
    float: right;
    cursor: pointer;
}
#modal_actor_filter .overlay-content {
    max-width: 40%;
}

#modal_recipients_filter .content {
   max-height: 40em;
   overflow: scroll;
}
.overlay-content .recipients span.recipients_nb {
    font-weight: bold;
}
/* The navigation links inside the overlay */
.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

/* Position the close button (top right corner) */
.overlay .closebtn  {
    position: absolute;
    top: 10px;
    right: 45px;
    font-size: 60px;
}

.overlay .loader {
    width:141px;
    height:141px;
    margin: auto;
}

/***
position: absolute;
        top: 50%;
        left: 50%;
        margin-right: -50%;
        transform: translate(-50%, -50%)

 position: relative;
    top: 15%; 
    width: 97%;
    margin-left: 1.5%;
    text-align: center; 
    margin-top: 30px; 
    background: #fff;
***/

