.modal {
    display: none; 
    position: fixed; 
    z-index: 100; 
    padding-top: 100px; 
    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-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    max-height: 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;
    max-width: 700px;
    

}

.modal-content2{
    overflow: scroll;
}

@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:100px
      ; opacity:1}
  }

  @keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

.modal-body a {
 color: #0ae;
 font-weight: bold;
}


.close, .close2 {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-top: -10px;
}

.close:hover,
.close:focus,
.close2:hover,
.close2:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 10px 16px;
    background-color: #0ae;
    color: white;
}

.modal-body {padding: 2px 16px;}

.modal-footer {
    padding: 10px 16px;
    background-color: #0ae;
    color: white;
}

#acceptsAgrements, #backAgreements, #confirmDelete {
    display: block;
    background-color: white;
    border: 2px solid;
    border-radius: 20px;
    padding: 10px;
    font-weight: bold;
    transition: all 0.5s;
    display: inline;
}

#acceptsAgrements{
    margin-bottom: 20px;
}

.confirmText {
    margin-bottom: 20px;
    display: inline-block;
    max-width: 400px;
    padding: 10px;
    position: relative;
    top: 7px;
}

.warning {
    margin-top: 20px;
    padding: 10px;
    background: #ffee5b;
    font-weight: bold;
    margin-bottom: 20px;
}

#confirmDelete {
    background-color: red;
    color: white;
}

.bottonsGDPR {
    margin-top: 20px;
}

#acceptsAgrements:hover,  #backAgreements:hover, #confirmDelete:hover {
    cursor: pointer;
    background-color: #cbecff;
}

#confirmDelete:hover{
    background-color: #8b0b02;
}

.modal-header2 {
    position: fixed;
    width: 77%;
    margin-top: -50px;
    max-width: 670px;
}