﻿
html, body {
    margin: 0;
    font-family: ScalaLF-Regular,Arial, Helvetica, Futura;
    font-size: 15px;
    line-height: 150%;
}
header {
    /*background: #002e6c;
    border-bottom: medium solid #ffa409;
    width: 100%;
    height: 90px;
    margin-bottom: 0px;
    left: 0px;
    box-sizing: border-box;*/
    background: #f9f9f9;
    border-bottom: medium solid #00b5ef;
    width: 100%;
    height: 90px;
    margin-bottom: 0px;
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;
}
div#header {
    padding: 0 20px;
    line-height: 90px;
    display: flex;
}
.logo {
	height: 90px;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center; 
}
.lang {
    text-align: right;
    margin-right: 0px;
    margin-left: auto;
}

#login_main {
    background: #F8F9F9 url(../Images/bg-login-v1.jpg) 0 0 no-repeat;
    background-size: cover;
    min-height: 620px;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    display: table;
    position: absolute;
}

#form_login {
    display: table-cell;
    vertical-align: middle;
}
.form_login_input {
/*position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    z-index: 990;
    width: 400px;
    border: 2px solid #002e6c;
    min-height: 250px;
    text-align: center;
    background: #FFF;*/
    width: 400px;
    border: 2px solid #002e6c;
    min-height: 250px;
    text-align: center;
    background: #FFF;
    margin-left: auto;
    margin-right: auto;
}
.Encabezado_login {
    font-size: 15px;
    letter-spacing: 1px;
    color: #FFFFFF;
    /* background-color: #092e6e; */
    text-align: center;
    padding: 10px;
    text-transform: uppercase;
    margin-bottom: 30px;
    margin-top: -30px;
    background-color:  rgb(0, 181, 239);
}
/****************************/
/* Login form */
/****************************/
ol,ul {
	padding: 0;
    list-style: none;
}
.Columna2 {
    width: 35%;
    display: inline;
    margin-right: .5em;
    display: inline-block;
    height: 36px;
}
.Columna3 {
    width: 53%;
    display: inline;
    margin-right: .5em;
    display: inline-block;
    height: 36px;
}

/*section#loginForm input[type=submit] {
    color: #ffffff;
    background-color: #FFA409;
    font-size: 16px;
    border: 0px;
    padding: 10px 20px;
    text-transform: uppercase;
    margin-top: 20px;
    font-family: Arial, Helvetica, Futura !important;
}*/

section#loginForm input[type=submit] {
    color: #ffffff;
    background-color:  #00b5ef;
    font-size:15px;
    border: 0px;
    padding: 10px;
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 20px;
    font-family:  ScalaLF-Regular,Arial, Helvetica, Futura !important;
    height: 50px;
    cursor: pointer;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
}



input[type=text], input[type=password] {
    padding:8px 5px; 
    border:1px solid #ccc;
    background: #f9f9f9;
    border-radius: 10px; 
}

input[type=text]:focus {
    border-color:#333;
}
/****************************/
/* Login 2018 */
/****************************/

@media only screen and (max-width: 900px){

    #content_ContentPlaceHolder1_Image1 {
        width: 60px;
        /* display: none; */
        position: relative;
        top: 30px;
    }

    .grid {
        flex-direction: column !important;
        margin-top: 30px !important;
        overflow: scroll !important;
    }

        .grid > div {
            width: 100% !important;
            
        }

    .loginForm {
        min-height: auto !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 400px !important;
        height: 440px !important;
    }

    .login-left {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .text-slogan {
        left: 0px !important;
        display: flex !important;
        transform: translate(0, 0) !important;
        top: 0 !important;
        position:relative !important;
    }
    .text-slogan h2 {
        font-size: 22px !important;
    }

    .form_login_input{
        width: 100% !important;
    }

   #pie .center{
       left: 20% !important;
   }

   
}

.grid {
    width: 100%;
    height: 100vh;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 90px;
    padding-bottom: 50px;
    box-sizing: border-box;
    color: #00b5ef;
    display: flex;
    min-height: 620px;
}
.grid > div {
    float: left;
    width: 50%;
    box-sizing: border-box;
    height: 100%;
    display: flex;
}
.grid > div.login-left {
    position:relative;
}
.grid > div.login-left > .text-slogan {
    position: absolute;
    left: 45px;
    top: 30%;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
}
.grid > div.login-left > .text-slogan h2 {
    font-size: 30px;
    line-height: 150%;
    /*font-style:  italic;*/
    /*text-shadow: 1px 2px 20px #444;*/
    text-align: center
}
.grid > div.login-right > .loginForm > h2 {
    text-align: center;
    text-transform:uppercase;
}
.grid > div.login-right > .loginForm {
    width: 400px;
    background-color:rgba(249, 249, 249, 0.64);
    padding: 5px 0;
    box-sizing: border-box;
    min-height: 630px;
    margin-left: auto;
    position: relative;
    min-height: -moz-calc(100vh - (90px + 50px));
    min-height: -webkit-calc(100vh - (90px + 50px));
    min-height: calc(100vh - (90px + 50px));
}
.grid > div.login-right > .loginForm .form_login_input{
    border:0px;
    background:transparent;
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
}


/****************************/
/* Pie de pagina */
/****************************/

footer#login_pie {
    /*height: 50px;
    background: #002e6c;
    padding: 0 20px;
    display: flex;
    width: 100%;
    box-sizing: border-box;*/
    height: 50px;
    background: #00b5ef;
    padding: 0 20px;
    display: flex;
    width: 100%;
    box-sizing: border-box;
    position: absolute;
    z-index: 999;
    bottom: 0;
    left: 0;
}
#pie {
    width: 100%;
    padding: 0 20px;
    display: flex;
    position: relative;
}
#pie  p {
    margin: 0;
    color:#FFF;
    box-sizing: border-box;
}
.center, .right{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center; 
}
.center {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    z-index: 990;
}
.right {
    text-align: right;
    margin-right: 0px;
    margin-left: auto;
}

.message-text {
    border-radius: 0;
    margin: 15px;
    padding: 8px;
    box-sizing: border-box;
}

.botonSesionAbierta {
    color: #ffffff;
    background-color: #00b5ef;
    font-size: 15px;
    border: 0px;
    padding: 10px;
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: ScalaLF-Regular,Arial, Helvetica, Futura !important;
    /*height: 50px;*/
    cursor: pointer;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
}

.botonIngreso{
    width: 165px;
    cursor: pointer;
   }


