html {
    height: 100%;
}
body {
    height: 100%;
    padding:0px;
    margin:0px;
}

/* Start Login Styles */
.login-page {
    height: 100%;
    position: relative;
    display: block;
}
.login-page:after {
    background-image: url('../assets/dawsc_login.jpeg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: right; 
    content: "";
    opacity: 0.5;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;   
}
.login-box,
.password-forget,
.password-change {
    position: absolute;
    padding: 65px 40px 40px 40px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 420px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}
.login-box img,
.password-forget img,
.password-change img {
    height: 52px;
    width: 300px;
    position: absolute;
    top: calc(-52px/2);
    left: calc(50% - 150px);
}
.login-box h2,
.password-forget h2,
.password-change h2 {
    margin: 0;
    padding: 0 0 20px;
    color: #ffffff;
    text-align: center;
}
.login-box p,
.password-forget p,
.password-change p {
    margin: 0;
    padding: 0 ;
    font-weight: bold;
    color: #ffffff;
    text-align: left;
}
.login-box input,
.password-forget input,
.password-change input {
    width: 100%;
    margin-bottom: 20px;
}
.login-box input[type="text"],
.login-box input[type="password"],
.password-forget input[type="text"],
.password-change input[type="password"] {
    border: none;
    border-bottom: 1px solid #ffffff;
    background: transparent;
    outline: none;
    height: 40px;
    color: #ffffff;
    border-radius: 0;
}
.login-box input[type="text"]:focus,
.login-box input[type="password"]:focus,
.password-forget input[type="text"]:focus,
.password-change input[type="password"]:focus {
    box-shadow: none;
}
.login-box ::placeholder,
.password-forget ::placeholder,
.password-change ::placeholder {
    color: rgba(255, 255, 255, 0.8);
}
.login-box #buttonLogin,
.password-forget #buttonPasswordForget,
.password-forget #toLogin,
.password-change #buttonChangePassword {
    width: 100%;
    border: none;
    outline: none;
    height: 40px;
    color: #ffffff;
    font-size: 16px;
    background: #5A8EC6;
    cursor: pointer;
    border-radius: 20px;
    margin-top: 5px;
    margin-bottom: 20px;
}
.password-forget #toLogin {
    background-color: #0A3D76;
}
.password-forget #toLogin:hover {
    background-color: #5A8EC6;
}
.login-box #buttonLogin:hover,
.password-forget #buttonPasswordForget:hover,
.password-change #buttonChangePassword:hover {
    background-color: #0A3D76;
}
.login-box a {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

/* End Login Styles */

.lds-ring {
    display: inline-block;
    position: relative;
    /*width: 64px;
    height: 64px;*/
    width: 128px;
    height: 128px;
}
.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 115px;
    height: 115px;
    margin: 6px;
    border: 6px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #dcdcdc transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* General Modal Styles */

#modalLoading .modal-loading,
#modalSuccess .modal-success,
#modalError .modal-error {
    position: relative;
    max-width: 400px;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#modalLoading .modal-loading .modal-body,
#modalSuccess .modal-success .modal-body,
#modalError .modal-error .modal-body {
    height: 200px;
    flex: none;
}
.modal-body .modal-content {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    border: none;
    height: 100%;
}
.modal-body .modal-content .modal-message {
    margin: 0;
    align-self: center;
    text-align: center;
}

/* Loading modal */

.modal-loading {
    border: 2px solid #5A8EC6;
    border-radius: 6px;
}
#modalLoading .modal-loading .modal-body .modal-content img {
    margin-bottom: 20px;
    width: 100px;
    align-self: center;
    text-align: center;
}

/* Success Modal */

.modal-success {
    border: 2px solid green;
    border-radius: 6px;
}
#modalSuccess .modal-success .modal-body .modal-content .success-modal-icon {
	align-self: center;
    text-align: center;
	bottom: 10px;
	right: -5px;
	display:inline-block;
    width: 100px;
    height:100px;
    background: green;
    border-radius:50%;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
#modalSuccess .modal-success .modal-body .modal-content .success-modal-icon:before {
	content:"";
    position: absolute;
    width: 10px;
    height: 62px;
    background-color: #fff;
    left: 55px;
    top: 15px;
}
#modalSuccess .modal-success .modal-body .modal-content .success-modal-icon:after {
	content:"";
    position: absolute;
    width: 26px;
    height: 10px;
    background-color: #fff;
    left: 30px;
    top: 67px;
}

/* Error Modal */
.modal-error {
    border: 2px solid red;
    border-radius: 6px;
}
#modalError .modal-error .modal-body .modal-content .modal-message {
    color: red;
}
#modalError .modal-error .modal-body .modal-content {
    justify-content: center;
}
