@import url('https://fonts.googleapis.com/css?family=Cairo&display=swap');

html {
    background: #fff;
    height: 100%;
    font-family: 'Cairo', sans-serif;
}

*:focus, *:active{
    outline: none;
}
  
* {
    padding: 0;
    margin: 0;
}

button:active, button:focus {
    outline: none;
}

.onClickLogo {
    cursor: pointer;
}

.loginbody {
    height: 100%;
}

::-moz-selection {
    background-color: #f60c04;
    color: #fff;
}

::selection {
    background-color: #f60c04;
    color: #fff;
}

.background {
    position: fixed;
    height: 100%;
    right: 0;
}

html[layout='rtl'] .background {
    transform: rotateY(180deg);
    left: 0;
}

.signLogo {
    position: fixed;
    max-width: 15%;
    top: 5%;
    z-index: 2;
}

.signLogo {
    right: 5%;
}

html[layout='rtl'] .signLogo {
    left: 5%;
}

.cardLogo {
    background: #002040;
    border-radius: 10px;
    margin-bottom: 25px;
    display: none;
    margin: 20px auto;
}

.container {
    position: absolute;
    width: 500px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 7px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    padding: 50px 0;
}

.container .cardLogo {
    width: 70%;
}

.container h1 {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.container form {
      padding: 0 50px;
}

.container button {
    border: 2px solid #9c2121;
    border-radius: 5px;
    background-color: #9c2121;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
    cursor: pointer;
    padding: 5px 20px;
    font-size: 12pt;
    margin: 10px 0;
    width: 100%;
    font-family: 'Cairo', sans-serif;
}

.container button:hover {
    color: #9c2121;
    background-color: #fff;
    transition: all .2s ease-in-out;
}

.container button:active, .container button:focus {
    outline: none;
    transform: scale(.9);
}

form {
    text-align: left;
}

html[layout='rtl'] form {
    text-align: right;
}

form input.standard {
    padding: 10px 30px 10px 20px;
    border: none;
    border-bottom: 2px solid #999;
    display: block;
    width: 100%;
    margin-bottom: 35px;
    margin-top: 10px;
    box-sizing: border-box;
    outline: none;
    box-shadow: 0 0 3px rgba(0, 0, 0, .2);
}

html[layout='rtl'] form input.standard {
    border-right: 2px solid #999;
    border-radius: 0 0 4px 0;
    text-align: right;
    direction: rtl;
}

form input.standard {
    border-left: 2px solid #999;
    border-radius: 0 0 0 4px;
    text-align: left;
}

form input.standard:focus {
    border-color: #f60c04;
    box-shadow: 0px 0px 5px 0px rgba(246, 12, 4, 0.5);
    transition: all .3s;
    transform: scale(1.03);
}

select:required:invalid {
    color: gray;
}

/*==========RESPONSIVE============*/

@media (max-width: 1000px) {
    .container {
        width: 50%;
    }
}

@media (max-width: 800px) {
    .container {
        width: 60%;
    }
    
    .signLogo {
        display: none;
    }
}

@media (max-width: 700px) {
    .container .cardLogo {
        display: block;
    }
}

@media (max-width: 600px) {
    .container {
        width: 80%;
    }
}

@media (max-width: 400px) {
    .container {
        width: 100%;
        left: 0;
        top: 0;
        transform: translate(0);
        border-radius: 0;
        height: 100%;
    }
}