/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000002;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.modal-bg{
    position: fixed;
    z-index: 1000003;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

/* Modal Content */
/*.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
}*/
.modal-content {
    position: fixed;
    z-index: 1000004;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    /*width: 60%;*/
    width: 500px;
    max-width: 1200px;
    /*height: fit-content;*/
    height: max-content;
}

.modal-content2 {
    position: relative;
    z-index: 1000004;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 500px;
    max-width: 1200px;
    /*height: fit-content;*/
    /*height: max-content;*/
    height: auto!important;
}

/* The Close Button */
.close {
    color: white;
    position: fixed;
    z-index: 1000004;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    opacity: 1;
}

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

.mySlides {
    display: none;
}

/* Next & previous buttons */
/*.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}*/

.prev,
.next{
    cursor: pointer;
    position: fixed;
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    width: auto;
    height: 60px;
    padding: 16px;
    /* margin-top: -50px; */
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}