/*body {font-family: Arial, Helvetica, sans-serif;}*/

/* Full-width input fields */
.login-inputs{
    width: 100% !important;;
    padding: 12px 20px !important;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc !important;
    box-sizing: border-box;
    font-size: 14px !important;
    border-radius: 10px;
}

/* Set a style for all buttons */
button {
    background-color: #73c12d;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

button:hover {
    opacity: 0.8;
}

/* Extra styles for the cancel button */
.cancelbtn {
    width: auto;
    padding: 9px 18px;
    background-color: #f44336;
    border-radius: 10px;
}

/* Center the image and position the close button */
.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}

img.avatar {
    width: 40%;
    border-radius: 50%;
}

.login-container {
    padding: 12px 20px;
    font-size: 14px;
}
.cancel-container {
    padding: 5px 20px;
}
span.psw {
    float: right;
    padding-top: 16px;
}
.submit-login {
    border-radius: 10px;
    padding: 12px 20px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99; /* Sit on top */
    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.4); /* Black w/ opacity */
    padding-top: 60px;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.modal-content-form{
    padding-top: 15px;
    padding-bottom: 15px;
    /*background-color: white;*/
    background-color: rgb(255,255,255, 0.9);
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    margin: 0 auto;
}
/* The Close Button (x) */
.close-login {
    position: absolute;
    right: 22px;
    top: -10px;
    color: #000;
    font-size: 30px;
    font-weight: bold;
}

.close-login:hover,
.close-login:focus {
    color: red;
    cursor: pointer;
}

/* 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: 300px) {
    span.psw {
        display: block;
        float: none;
    }
    .cancelbtn {
        width: 100%;
    }
}
.remember-checkbox {
    height: 22px !important;
}
@media (max-width: 768px){
    .modal-content-form{
        width: 100%;
        max-width: 80%;
    }
    .login-inputs {
        width: 100% !important;
        padding: 10px 10px !important;
        margin: 5px 0;
        display: inline-block;
        border: 1px solid #ccc !important;
        box-sizing: border-box;
    }
    .submit-login {
        width: 100%;
        padding: 12px 14px;
    }
    .login-container {
        padding: 0px 15px;
        font-size: 14px;
    }
    .close-login {
        position: absolute;
        right: 18px;
        top: -10px;
        color: #000;
        font-size: 30px;
        font-weight: bold;
    }
    .modal-content-form {
        width: 98%;
    }
}
