/* 
    Created on : 28/08/2015, 09:21:26 PM
    Author     : Cristhiam Fernández
    Designer   : Vanessa Casas
*/

@import url(http://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic);

a{
    color: #0071BC;
    display: block;
    font-size: 0.8em !important;
    font-weight: 300;
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}

body, html{
    background-attachment: fixed;
    background-color: #FFF;
    background-image: url(../images/login-page-bg.jpg.xhtml);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #212121;
    display: table;
    font-family: 'Roboto', sans-serif !important;
    font-size: 1em;
    font-style: normal;
    font-weight: 400;
    height: 100%; /* IE sucks */
    height: 100vh;
    overflow: auto;
    width: 100%; /* IE sucks */
    width: 100vw;
}

form#sign-in-form{
    background-color: rgba(255,255,255,0.44);
    border-radius: 1.7em;
    display: inline-block;
    padding: 1.2em;
}

form#sign-in-form button{
    background: #FFC107;
    background-image: none;
    border: none;
    border-radius: 0.5em;
    box-shadow: 3px 3px 4px 0px rgba(0,0,0,0.45);
    color: #212121;
    font-size: 1em;
    font-weight: 400;
    margin: 0.3em 0;
    padding: 0.6em 0.8em;
    text-shadow: none;
}

form#sign-in-form button:active{
    box-shadow: none;
}

form#sign-in-form input{
    border: none;
    border-bottom: 1px solid #B6B6B6;
    border-radius: 0;
    box-shadow: none;
    color: #333;
    display: block;
    font-size: 1em;
    padding-right: 1.1em;
    text-shadow: none; 
}

form#sign-in-form input.email{
    width: 90%;
}

form#sign-in-form input.username{
    background: #FFF url(../images/icon-user.png.xhtml) right no-repeat;
}

form#sign-in-form input.password{
    background: #FFF url(../images/icon-password.png.xhtml) right no-repeat;
    margin-top: 1.3em;
}

h1{
    font-size: 1.4em;
    margin: -20px 0 0;
}

h1#app-title span.title-part-1{
    color: #022249;
}

h1#app-title span.title-part-2{
    color: #448AFF;
    font-style: italic;
    font-weight: 300;
}

h2{
    font-size: 0.75em;
    margin: -5px 0 0;
}

h2.app-description{
    color: #757575;
    font-weight: 300;
}

img{
    pointer-events: none;
}

p{
    font-family: 'Roboto', sans-serif !important;
    font-size: 1em;
    font-style: normal;
    font-weight: 400;
}

.button-and-help{
    padding-left: 1em;
    text-align: left;
}

.centered{
    margin: 0 auto;
}

.corner-mark{
    bottom: 0.5em;
    color: #FFF;
    font-size: 2.5em;
    /*line-height: 30px;*/
    position: absolute;
    right: 0.5em;
    text-align: center;
}

.corner-mark span.app-description{
    display: block;
    font-size: 0.5em;
    font-weight: 300;
}

.corner-mark span.title-part-1{}

.corner-mark span.title-part-2{
    font-style: italic;
    font-weight: 300;
}

.fields-container{
    padding-left: 1em;
    vertical-align: bottom;
}

.full-container{
    height: 100%; /* IE sucks */
    height: 100vh;
    text-align: center;
    vertical-align: middle;
    width: 100%; /* IE sucks */
    width: 100vw;
}

.inputs-container{
    background-color: #FFF;
    border-radius: 0.5em;
    box-shadow: 0.3em 0.3em 0.8em 0px rgba(0,0,0,0.75);
    padding: 1.2em 0.6em;
    vertical-align: bottom;
}

.table-cell{
    display: table-cell;
}

.table-row{
    display: table-row;
}

.ui-message-error-detail{
    font-size: 0.8em;
}

.ui-messages-error, .ui-message-error{
    background: none !important;
    border: none !important;
    color: #C1272D !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left;
}

.ui-messages-info-detail, 
.ui-messages-warn-detail, 
.ui-messages-error-detail, 
.ui-messages-fatal-detail, 
.ui-message-info-detail, 
.ui-message-warn-detail, 
.ui-message-error-detail, 
.ui-message-fatal-detail{
    margin: 0 !important;
}

.ui-state-error, 
.ui-widget-content .ui-state-error, 
.ui-widget-header .ui-state-error{
    border-bottom-color: #ED1C24 !important;
}

.ui-state-error, 
.ui-widget-content .ui-state-error, 
.ui-widget-header .ui-state-error  .password{
    margin-top: -0.1em !important;
}

.ui-growl-item-container{
    background: rgba(255,255,255,0.6);
    box-shadow: 3px 3px 4px 0px rgba(0,0,0,0.45) !important;
    color: #333;
    text-shadow: none;
    border: none;
    border-radius: 0;
}

@media only screen 
and (max-width: 480px) {
    body,
    html{
        background-image: url(../images/login-page-bg-mobile.jpg.xhtml);
    }
    
    form#sign-in-form{
        padding: 0;
        text-align: center;
    }
    
    .button-and-help{
        display: block;
        padding: 0;
        text-align: center;
    }
    
    .fields-container{
        padding: 0 1em;
    }
    
    .logo-container{
        display: block;
        margin: 0 auto;
        margin-bottom: 0.5em;
    }
    
    .table-row{
        display: block;
    }
}

@media only screen 
and (max-height: 854px)
and (max-width: 480px){
    .corner-mark{
        display: none;
    }
}

@media only screen 
and (max-height: 470px),
(orientation: landscape)
and (max-height: 280px),
(orientation: portrait)
and (max-height: 360px){
    .corner-mark{
        display: none;
    }
}

/* news */
div#sign-in-formd{
    background-color: rgba(255,255,255,0.44);
    border-radius: 1.7em;
    display: inline-block;
    padding: 1.2em;
}

div#sign-in-formd button{
    background: #FFC107;
    background-image: none;
    border: none;
    border-radius: 0.5em;
    box-shadow: 3px 3px 4px 0px rgba(0,0,0,0.45);
    color: #212121;
    font-size: 1em;
    font-weight: 400;
    margin: 0.3em 0;
    padding: 0.6em 0.8em;
    text-shadow: none;
}

div#sign-in-formd button:active{
    box-shadow: none;
}

div#sign-in-formd input{
    border: none;
    border-bottom: 1px solid #B6B6B6;
    border-radius: 0;
    box-shadow: none;
    color: #333;
    display: block;
    font-size: 1em;
    padding-right: 1.1em;
    text-shadow: none; 
}

div#sign-in-formd input.username{
    background: #FFF url(../images/icon-user.png.xhtml) right no-repeat;
}

div#sign-in-formd input.password{
    background: #FFF url(../images/icon-password.png.xhtml) right no-repeat;
    margin-top: 1.3em;
}