﻿/* The Modal (background) */

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    width:600px; /* 100%;*/ /* Full w;idth */
    height:500px; /*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 */
    -webkit-animation-name: fadeIn; /* Fade in the background */
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s
}

/* Modal Content */
.modal-content {
    position: fixed;
    margin-left: 35%;
    background-color: transparent;
    width: 40%;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s;
    align-content: center;
    box-shadow: none;
    border: none;
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

.modal-header {
    padding: 0;
    color: white;
    border: none;
}

/*.modal-body {
    padding: 0;
}
*/
/*.modal {
    display: block !important;*/ /* I added this to see the modal, you don't need this */
/*}*/

/* Important part */
/*.modal-dialog {
 overflow-y: initial !important
}*/
/**/
.modal-body {
    max-height: 65vh;
   overflow-y: auto;
    padding: 0;
    background-color:white; 
}
.container {
   
}



.modal-footer {
    padding: 15px 16px;
    background-color: #008080;
    color: white;
    justify-content: center;
    background-image: url(/eduAdmin/images/Background-3.jpg);
    background-size: cover;
    background-position: center;
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

.text-underline {
    border: none;
    border-top: 4px solid #8DC63F;
    width: 100px;
    margin: 0 auto;
    height: 0 !important;
    opacity: 1;
}

@media screen and (max-width: 875px), screen and (max-height: 300px) {
    .modal-content {
        width: 90%;
        margin-left: 0;
       
    }

    #myModal {
        padding: 0 15px;
    }
}
