/**
 * Login page only (index.php). Paths are relative to this file: ../images/…
 */

html {
    height: 100%;
    background-color: #fff;
}

html.nobackground {
    background: #1b2535;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.5;
    font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Verdana, sans-serif;
}

body.nobackground {
    background-color: #1b2535;
    background-image: url("../images/background_students.jpeg?v=4");
    background-size: cover;
    min-height: 100%;
}

body.padres {
    background-image: url("../images/background_parents.jpg?2");
}

body.profesores {
    background-image: url("../images/background_teachers.jpg?2");
}

.clearfix:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

.clearfix {
    display: block;
}

#byT {
    position: fixed;
    bottom: 0;
    right: 0;
}

#byT img {
    height: 45px;
    display: block;
}

#login {
    background: #fff;
    height: 360px;
    padding: 25px;
    position: relative;
    width: 252px;
    margin-top: 40px;
    margin-left: 15%;
    float: left;
    opacity: 0.92;
}

#login .logo {
    width: 301px;
    height: 120px;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
}

#login .logo a {
    width: 300px;
    height: 100px;
    display: block;
    position: absolute;
    text-indent: -99999px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 100px;
    top: 20px;
    left: 0;
    outline: none;
    z-index: 1;
}

#login-form {
    padding-top: 180px;
}

#login-form p {
    padding-bottom: 10px;
}

#login-form label {
    display: block;
    margin-bottom: 2px;
}

.forgot_pw {
    display: block;
    float: right;
    font-size: 10px;
    padding: 4px;
}

.forgot_pw a {
    color: #334155;
}

.icon_login {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    height: 32px;
    position: absolute;
    right: 13px;
    top: 143px;
    width: 32px;
}

.loginheading {
    border: medium none;
    color: #000;
    font-size: 15px;
    left: 25px;
    position: absolute;
    top: 147px;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.input-medium {
    width: 240px;
    padding: 2px;
    border: 1px solid #959595;
    font-size: 12px;
    font-family: inherit;
    background-color: #eaeaea;
    color: #333;
}

.button {
    border: 1px solid #959595;
    font-size: 12px;
    font-family: inherit;
    background-color: #eaeaea;
    padding: 5px 15px;
    color: #1b2535;
    cursor: pointer;
}

.button:hover {
    padding: 6px 15px 4px;
}

body .login_message {
    width: 282px;
    margin: 15px auto;
    clear: both;
}

body .login_message p {
    margin: 0;
    padding: 12px 16px 12px 16px;
}

.message {
    border: 1px solid;
}

.message.error {
    background: #fbe3e4;
    border-color: #fbc7c9;
    color: #5a1a1f;
}

.message.error p {
    padding: 12px 16px;
}
