
/* Center the image and position the close button */
.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
    /*background: #f44336;*/

}

.imgAvatar {
    height: 70px;
    width: 70px;
    border-radius: 50px;
    border: 2px solid #ddd;
    object-fit: cover;
}

.modalcontainer {
    padding: 40px;
}

.contentModal {
    text-align: left;
    /*margin: 10px;*/
    padding: 40px;
}

span.psw {
    float: right;
    padding-top: 16px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    /*z-index: 1; /*Sit on top */
    z-index: 2000000 !important;
    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.7); /* Black w/ opacity */
    padding: 0px;
    transition: 0.5s;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fff;
    margin: 3% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    /*border: 1px solid #ddd;*/
    width:30%; /* Could be more or less, depending on screen size */
    /*border-bottom-right-radius: 40px;
    border-top-left-radius: 40px;*/
    border-radius: 8px;
    min-width: 340px;
    padding-bottom: 30px;
    box-shadow: rgba(0,0,0,0.2) 0px 15px 30px -7px;
}

/* The Close Button (x) */
.close {
    position: absolute;
    right: 5px;
    top: 0;
    color: #fff;
    font-size: 45px;
    /*font-weight: bold;*/
}

.close:hover,
.close:focus {
    color: #fff;
    cursor: pointer;
}

.btnLogin{
    color: #fff;
    width:100%;
    height: 50px;
    background-image: linear-gradient(to right,skyblue,#0C4271);
    border-radius: 50px;
    font-weight: bolder;
    cursor: pointer;
}

.btnLoginHome {
    width:100%;
    height: auto;
    text-align: center;
    border:2px solid #ddd;
    border-radius: 50px;
    padding: 20px;
    margin-top: 10px;
    cursor: pointer;
    opacity: 1;
    color: #fff;
}
.btnLoginHome:hover {
    opacity: 0.7;
}

/* Add Zoom Animation */
.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {-webkit-transform: scale(0)} 
    to {-webkit-transform: scale(1)}
}
    
@keyframes animatezoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 800px) {
    span.psw {
       display: block;
       float: none;
    }
    .cancelbtn {
       width: 100%;
    }
    .modal-content {
        margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
        width: 80%; /* Could be more or less, depending on screen size */
    }
    .modalcontainer {
        padding: 20px;
    }

    .contentModal {
        text-align: left;
        /*margin: 10px;*/
        padding: 20px;
    }
}