/**
 * Ajax Login Module v1.1
 *
 * Ajax Login Module is a nice Php-AJAX Login used to authenticate users without reloading a login page.
 * Easy to integrate with your existing php applications with no further configuration and coding.
 *
 *
 * @copyright     Copyright 2009, Christopher M. Natan
 * @link          http://phpstring.co.cc/phpclasses/modules/ajax-login-module/
 * @version       $Revision$
 * @modifiedby    $LastChangedBy$
 * @lastmodified  $Date$
 * @email         chris.natan@gmail.com
 *
 * Dual licensed under the MIT and GPL licenses.
 * Redistributions of files must retain the above copyright notice.
 */

body { font-family:Arial, Helvetica, sans-serif; font-size:11px; }
ul,form,h2 {margin:0; padding:0; list-style:none; clear:both}
#container { width:330px; height:200px; margin:180px auto; }
#container { background: url(login/caja_login.png) no-repeat; padding:5px 10px 0 10px}
/*div.title { background:url(login/ititle_bg.png) no-repeat; width:340px; height:28px;}*/
div.title {  width:320px; height:45px;}
            /*              top  right  bottom  left           */
div.title  { margin:2px 0 2px 0; padding:3px 0 0 0px; color:#FFFFFF; font-size:18px; font-weight:normal; text-align: center }
div.menu {
  position: fixed;
  right: 10px;
  top: 100px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  color:#FFFFFF;
  font-weight: bold;
}


.label,.field { margin-bottom:12px}
.label { width:110px; float:left; margin-left:20px; color:#ffffff; font-size:20px;}
.label  { height:20px;}
.status { font-size:15px; color:#FFFFFF; }
.field { width:150px; height:25px;float:left }
input.text { width:150px; height:25px; background:url(login/itext_bg.jpg); }
input.text { border:0; font-size:16px; color:#414747; padding:3px 5px 1px 25px;}
.submit { cursor:pointer}

.invalid_message { width:100%; clear:both; font-size:9px; color:#990000; text-align:center; padding-top:2px; height:auto}
.ajax_spinner { color:#FFFFFF; font-size:8px; height: auto; vertical-align: middle; position: relative; top: -40px; }
.ajax_spinner img { vertical-align:middle; height: auto;}
.default { width:345px; margin:auto; text-align:center; clear:both;}

.Aceptar_login{
    height:30px;
    width:100px;
	margin-top: 5px;
    padding-top: 8px;
    background-color:#09639e;
    float:left;
    font-size:10pt;
    /*font-weight: bold;*/
    color:#ffffff;
    text-align: center;
    cursor:pointer;
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    border-radius:4px;
}
.Aceptar_login:hover{
    height:30px;
    width:100px;
    padding-top: 8px;
    background-color:#1899d5;
    float:left;
    font-size:10pt;
    font-weight: bold;
    color:#FFFFFF;
    text-align: center;
    cursor:pointer;
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    border-radius:4px;
}

.descripcion {
    position:relative;
    top:-140px;
    font-size:8pt;
    font-family: Verdana;
    font-weight: bold;
    color:#FFFFFF;
    margin:auto;
    text-align: center;
    width:50%;
}

/* Inicio SIPOOL */
html,
body.login-page {
    min-height: 100%;
}

body.login-page {
    overflow: hidden;
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: #eef8fc url("../imagenes/form/fondo_piscina_clases.png") center center / cover no-repeat fixed;
    color: #123c5a;
}

body.login-page:before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(105deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.86) 32%, rgba(255,255,255,.56) 58%, rgba(255,255,255,.18) 100%),
        linear-gradient(180deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.72) 100%);
}

body.login-page:after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    background: radial-gradient(circle at 18% 22%, rgba(25,153,214,.14), rgba(25,153,214,0) 34%);
    pointer-events: none;
}

body.login-page .loginx,
body.login-page .logo,
body.login-page .lineaSuperior,
body.login-page .lineaInferior,
body.login-page #container,
body.login-page .descripcion,
body.login-page #navigation,
body.login-page #vmensaje {
    position: relative;
    z-index: 1;
}

body.login-page .fondoEspana {
    display: none;
}

body.login-page .lineaSuperior {
    position: fixed;
    top: 22px;
    left: 50%;
    width: min(900px, calc(100% - 40px));
    height: auto;
    min-height: 42px;
    margin: 0;
    padding: 9px 18px;
    transform: translateX(-50%);
    border: 1px solid rgba(25,153,214,.22);
    border-radius: 8px;
    background: rgba(255,255,255,.72);
    color: #123c5a;
    box-shadow: 0 12px 30px rgba(16, 76, 112, .10);
    backdrop-filter: blur(8px);
}

body.login-page .lineaSuperior #NMEmpresa {
    position: static;
    display: block;
    margin: 0;
    padding: 0;
    font-size: 22px;
    font-weight: bold;
}

body.login-page .lineaSuperior #fondoimg {
    display: none;
}

body.login-page .lineaInferior {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 22px;
    padding: 9px 18px;
    background: rgba(11,79,122,.86);
    box-shadow: 0 -10px 24px rgba(16, 76, 112, .14);
}

body.login-page .lineaInferior #logo {
    display: none;
}

body.login-page .marca img {
    top: 92px;
    left: 50%;
    width: 260px;
    height: auto;
    margin-top: 0;
    margin-left: -130px;
    filter: drop-shadow(0 10px 22px rgba(14, 75, 112, .16));
}

body.login-page .logo img {
    top: 30px;
    left: 24px;
    width: 82px;
    margin: 0;
    opacity: .7;
}

body.login-page #container {
    width: 350px;
    min-height: 260px;
    height: auto;
    margin: 160px auto 0;
    padding: 22px 24px 20px;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(172,210,229,.76);
    border-radius: 8px;
    box-shadow: 0 22px 58px rgba(14, 70, 104, .20);
    backdrop-filter: blur(10px);
}

body.login-page div.title {
    width: auto;
    height: auto;
    margin: 0 0 18px;
    padding: 0;
    color: #123c5a;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 0;
}

body.login-page .label {
    width: 100%;
    float: none;
    height: auto;
    margin: 0 0 6px;
    color: #4c6070;
    font-size: 13px;
}

body.login-page .field {
    width: 100%;
    float: none;
    height: auto;
    margin: 0 0 12px;
}

body.login-page input.text,
body.login-page #inputs #username,
body.login-page #inputs #password {
    width: 100%;
    height: 40px;
    border: 1px solid #c8d6df;
    border-radius: 5px;
    background-color: #fff;
    color: #20313f;
    box-shadow: inset 0 1px 2px rgba(18,60,90,.06);
}

body.login-page .Aceptar_login,
body.login-page .Aceptar_login:hover {
    float: none;
    width: 100%;
    height: 38px;
    margin-top: 6px;
    padding-top: 11px;
    background: #0b4f7a;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 8px 18px rgba(11,79,122,.18);
}

body.login-page .Aceptar_login:hover {
    background: #1999d6;
}

body.login-page .invalid_message {
    color: #81352e;
    font-size: 11px;
}

body.login-page .ajax_notify {
    margin-top: 10px;
    padding: 8px;
    border-radius: 5px;
    background: #fde9e7;
    border: 1px solid #efc3bd;
}

body.login-page .descripcion {
    top: 12px;
    width: 100%;
    color: #123c5a;
    text-shadow: 0 1px 0 rgba(255,255,255,.9);
}

body.login-page ul#navigation {
    top: 150px;
}

@media (max-width: 700px) {
    body.login-page {
        overflow: auto;
    }

    body.login-page .lineaSuperior {
        top: 12px;
        width: calc(100% - 24px);
    }

    body.login-page .lineaSuperior #NMEmpresa {
        font-size: 18px;
    }

    body.login-page .marca img {
        top: 88px;
        width: 220px;
        margin-left: -110px;
    }

    body.login-page .logo img {
        display: none;
    }

    body.login-page #container {
        width: calc(100% - 32px);
        max-width: 350px;
        margin-top: 220px;
    }

    body.login-page ul#navigation {
        display: none;
    }
}
