.mpopup {
    display: none;
    position: fixed;
    z-index: 100000000;
    /*padding-top: 50px;*/
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /*overflow: auto;*/
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.mpopupEn {
    display: none;
    position: fixed;
    z-index: 100000000;
    /*padding-top: 50px;*/
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /*overflow: auto;*/
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.modal-termini-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    width: 60%;
    max-height: 80%;
    overflow: auto;
    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.6s;
    animation-name: animatetop;
    animation-duration: 0.6s;
    border-radius: 0.3rem;
}
.modal-termini-header {
    padding: 2px 12px;
    background-color: #ffffff;
    color: #333;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}
.modal-termini-header h2{
    font-size: 1.25rem;
    margin-top: 14px;
    margin-bottom: 14px;
}
.modal-termini-body {
    padding: 2px 12px;
}
.modal-termini-body p {
    line-height: 18px;
}

.modal-termini-footer {
    padding: 1rem;
    background-color: #ffffff;
    color: #333;
    border-top: 1px solid #e9ecef;
    border-bottom-left-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem;
    text-align: right;
}

.modal-termini-body b:not(.nero) {
    color: #3598db!important;
}

.modal-termini-footer > button {
    background-color: #3598db!important;
}

.modal-termini-header > span {
    color: #888;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.modal-termini-header > span:hover, .modal-termini-header > span:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* add animation effects */
@-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}
}
