/* 
    Created on : 08-jun-2017, 19:03:32
    Author     : DC
*/
div.main{
    /*        background: #0264d6;  Old browsers 
            background: -moz-radial-gradient(center, ellipse cover,  #0264d6 1%, #1c2b5a 100%);  FF3.6+ 
            background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(1%,#0264d6), color-stop(100%,#1c2b5a));  Chrome,Safari4+ 
            background: -webkit-radial-gradient(center, ellipse cover,  #0264d6 1%,#1c2b5a 100%);  Chrome10+,Safari5.1+ 
            background: -o-radial-gradient(center, ellipse cover,  #0264d6 1%,#1c2b5a 100%);  Opera 12+ 
            background: -ms-radial-gradient(center, ellipse cover,  #0264d6 1%,#1c2b5a 100%);  IE10+ 
            background: radial-gradient(ellipse at center,  #0264d6 1%,#1c2b5a 100%);  W3C 
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0264d6', endColorstr='#1c2b5a',GradientType=1 );  IE6-9 fallback on horizontal gradient */
    height:calc(100vh);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}
.spor{
    color: orange !important;
}
/* ---------- GENERAL ---------- */

* {
    box-sizing: border-box;
    margin:0px auto;

    &:before,
        &:after {
        box-sizing: border-box;
    }

}

body {

    color: #fff;
    font: 12px 'Open Sans', sans-serif;
    margin: 0;

}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: orange;
}

input {
    border: none;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5em;
    padding: 0;
    -webkit-appearance: none;
}   

p {
    line-height: 1.5em;
}

.clearfix {
    *zoom: 1;

    &:before,
        &:after {
        content: ' ';
        display: table;
    }

    &:after {
        clear: both;
    }

}

.container {
    left: 50%;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 335px;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -webkit-box-shadow: 0px 10px 29px 0px rgba(0,0,0,0.7);
    -moz-box-shadow: 0px 10px 29px 0px rgba(0,0,0,0.7);
    box-shadow: 0px 10px 29px 0px rgba(0,0,0,0.7);
    padding: 0px
}

/* ---------- LOGIN ---------- */

#login form{
    /*width: 300px;*/
}
#login{
    display:block;
    /*width:40%;*/        
}
#login{
    /*padding: 0px 22px;*/
    /*width: 59%;*/
}
.logo{
    color:#fff;
    width: 100%;   
    height: 100px;
   border-radius: 20px 20px 0 0 ;
 /*    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;*/
    /*border: 6px solid rgba(221, 218, 215, 0.7);*/
    margin-bottom: 10px;    
}

.foot{
    padding: 10px;
    color: fff;
    margin-top: 10px;
}
#login form span.fa {
    background-color: #fff;
    border-radius: 3px 0px 0px 3px;
    color: #000;
    display: block;
    float: left;
    height: 50px;
    font-size:24px;
    line-height: 50px;
    text-align: center;
    width: 50px;
}

#login form input {
    height: 50px;
}
fieldset{
    padding:0;
    border:0;
    margin: 0;

}
#login form input[type="text"], input[type="password"] {
    background-color: #fff;
    border-radius: 0px 3px 3px 0px;
    color: #000;
    margin-bottom: 1em;
    padding: 0 16px;
    width: 250px;
}

#login form button {

    background: orange !important;
    color: #fff;

    /* margin-bottom: 2em; */
    padding: 5px 10px;
    height: 30px;
}

#login form input[type="submit"]:hover {
    background-color: #d44179;
}

#login > p {
    text-align: center;
}

#login > p span {
    padding-left: 5px;
}
.middle {
    display: flex;
    /*width: 600px;*/
}
label.error{
    color: red;
}
input.error{
    border:1px solid red;
    background: #F6CEE3 !important;
}


/* =====================================================================
   Login moderno (respeta app_apariencia):
   --gs-fondo = fondo_login, --gs-head = color_head_logo_login,
   --gs-acc = color_body_logo_login (color de acento)
   ===================================================================== */
div.main {
    background-color: #0f172a !important;
    background-image: linear-gradient(135deg, rgba(15,23,42,.72), rgba(30,27,75,.55)), var(--gs-fondo, none) !important;
    background-size: cover !important;
    background-position: center !important;
}
div.main .container {
    width: 380px !important; max-width: calc(100vw - 32px);
    background: rgba(255,255,255,.97) !important;
    border-radius: 22px !important; overflow: hidden; padding: 0 0 22px !important;
    box-shadow: 0 30px 80px -20px rgba(2,6,23,.65) !important;
}
div.main .container:after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
    background: var(--gs-acc, #4f46e5);
}
div.main .container .logo {
    width: 100% !important; margin: 0 !important; border-radius: 0 !important;
    background-color: var(--gs-head, #fff) !important;
    background-position: center !important;
    background-size: auto calc(100% - 24px) !important;
}
div.main .container .middle { display: block; padding: 18px 28px 0; }
.gs-login-titulo { font: 700 22px/1.2 'Segoe UI', Arial, sans-serif; color: #0f172a; text-align: center; }
.gs-login-sub { font: 13px 'Segoe UI', Arial, sans-serif; color: #64748b; text-align: center; margin: 2px 0 18px; }
#login #LG__formLogin p { width: 100% !important; position: relative; margin-bottom: 14px; }
#login #LG__formLogin span.fa {
    position: absolute; left: 0; top: 0; z-index: 1;
    width: 46px; height: 48px; line-height: 48px; font-size: 17px;
    background: transparent; border-radius: 0;
}
#login #LG__formLogin span.spor { color: var(--gs-acc, #4f46e5) !important; }
#login #LG__formLogin input[type="text"],
#login #LG__formLogin input[type="password"] {
    width: 100%; height: 48px; margin: 0; padding: 0 14px 0 46px;
    border: 1px solid #dbe3ee; border-radius: 12px; background: #f8fafc;
    color: #0f172a; font-size: 15px;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
#login #LG__formLogin input:focus {
    outline: none; background: #fff;
    border-color: var(--gs-acc, #4f46e5);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--gs-acc, #4f46e5) 20%, transparent);
}
#login #LG__formLogin input.error { border-color: #ef4444; background: #fef2f2 !important; }
#login #LG__formLogin label.error { display: block; text-align: left; font-size: 12px; margin: 4px 0 0 4px; color: #dc2626; }
#login #LG__formLogin > div > span { width: 100% !important; text-align: center !important; }
#login #LG__formLogin > div > span:first-child { display: none !important; }
#login #LG__formLogin #btn_entrar {
    width: 100%; height: 48px; margin-top: 6px; border: 0; border-radius: 12px;
    font-size: 15px; font-weight: 700; color: #fff;
    background: var(--gs-acc, #4f46e5) !important;
    background-image: linear-gradient(135deg, rgba(255,255,255,.18), rgba(0,0,0,.12)) !important;
    box-shadow: 0 12px 24px -10px var(--gs-acc, #4f46e5);
}
#login #LG__formLogin #btn_entrar:hover { filter: brightness(1.08); }
div.main .container .foot { color: #94a3b8; font-size: 12px; padding: 14px 10px 0; margin-top: 0; }
