/* The Modal (background) */
.popup_neodis {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 20000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.popup_neodis_contenu {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 10px;
    overflow:hidden;
}

@media only screen and (min-width: 1024px) {
.popup_neodis_contenu {
    width: 40%;
}    
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.popup_neodis_header_close {
    color: #464646;
    float: right;
    font-size: 28px;
    line-height: 61px;
    font-weight: bold;
}

.popup_neodis_header_close:hover,
.popup_neodis_header_close:focus {
    color: #999999;
    text-decoration: none;
    cursor: pointer;
}

.popup_neodis_header {
    padding-left: 16px;
    padding-right: 16px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.05);
    color: white;
}

.popup_neodis_header_erreur {
    background-color: red;
}

.popup_neodis_header > h2 {
    min-width: 0;
    height: 60px;
    background-color: transparent;
    text-align: left;
    padding-left: 0px;
    padding-right: 0px;    
    text-align: left;
    border: 0px;
    line-height: 60px;
    font-size: 16px;
    font-weight: bold;
    color: #464646;
}

.popup_neodis_header_erreur > h2, .popup_neodis_header_erreur > span {
    color: white;
}

.popup_neodis_body {
    padding: 20px 16px;
    font-size: 14px;
    min-height: 60px;
    color: #464646;
}

.popup_neodis_boutons {
    padding: 20px 16px;
    font-size: 14px;
    min-height: 20px;
    color: #464646;
    text-align: right;
}

.popup_neodis_boutons > button {
    border: 1px solid #ebebeb;
    background-color: transparent;
    padding-left: 10px;
    padding-right: 10px;
    line-height: 24px;
    margin-left: 10px;
    cursor: pointer;
    font-weight: bold;
}