﻿@import url('demo.css');
@import url('font-awesome.css');
/* GLOBALS */
*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/* Demo 4 */
.form-4 {
    width: 23em;
    margin: 0px auto 30px; 
    padding: 40px;
    position: relative;
    font-family: 'Roboto', Arial, sans-serif;
    color: white;
}
.errorMessage {
    padding-left: 2em;
}
.campousuario {
    background: url(/themes/ccjj/login/images/user.svg);
    background-position: 10px 9px;
    background-size: 23px;
    background-repeat: no-repeat;
    text-align: right;
    margin-bottom: 0;
    background-color: #4A4A4A;
    border-radius: 20px;
	box-shadow: 3px 3px 1px 0px #262626;
}
.campocontra {
    background: url(/themes/ccjj/login/images/lock.svg);
    background-position: 10px 9px;
    background-size: 23px;
    background-repeat: no-repeat;
    text-align: right;
    margin-bottom: 0;
    background-color: #4A4A4A;
    border-radius: 20px;
	box-shadow: 3px 3px 1px 0px #262626;
}
.no-placeholder .form-4 .campousuario label, .no-placeholder .form-4 .campocontra label {
    display: none;
}
.form-4 h1 {
	color: #ec0219;
    font-size: 22px;
    padding-bottom: 20px;
}
.form-4 input[type=text],
.form-4 input[type=password] {
    width: 80%;
    padding: 8px 4px 8px 10px;
    margin-bottom: 8px;
    background: rgb(74 74 74);
    border-radius: 2px;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    font-family: 'Roboto', Arial, sans-serif;
    color: #fff;
    font-size: 13px;
    margin-top: 0.5em;
    margin-right: 1em;
    border: 0;
}

/* Placeholder style (from http://stackoverflow.com/questions/2610497/change-an-inputs-html5-placeholder-color-with-css) */
::-webkit-input-placeholder { /* WebKit browsers */
    color:    #fff;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #fff;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #fff;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    #fff;
}
.form-4 input::-webkit-input-placeholder {
    color: rgba(127, 127, 127, 0.5);
    text-shadow: 0 1px 0 rgba(255,255,255,0.15);
}
.form-4 input:-moz-placeholder {
    color: rgba(127, 127, 127, 0.5);
    text-shadow: 0 1px 0 rgba(255,255,255,0.15);
}
.form-4 input:-ms-input-placeholder {
    color: rgba(127, 127, 127, 0.5);
    text-shadow: 0 1px 0 rgba(255,255,255,0.15);
}
.form-4 input[type=text]:hover,
.form-4 input[type=password]:hover {
    border-color: #333;
}
.form-4 input[type=text]:focus,
.form-4 input[type=password]:focus,
.form-4 input[type=submit]:focus {
    box-shadow: 
        0 1px 0 rgba(255,255,255,0.2), 
        inset 0 1px 1px rgba(0,0,0,0.1),
        0 0 0 3px rgba(255,255,255,0.15);
    outline: none;
}
/* Fallback */
.no-boxshadow .form-4 input[type=text]:focus,
.no-boxshadow .form-4 input[type=password]:focus {
    outline: 1px solid white;
}
.form-4 input[type=submit] {
    width: 100%;
    padding: 12px 5px;
    background: #E4002B;
    border: 0;
    color: #fff;
    text-transform: uppercase;
    border-radius: 12px;
}
.form-4 input[type=submit]:hover {
    box-shadow: 
        inset 0 1px rgba(255,255,255,0.2), 
        inset 0 20px 30px rgba(99,64,86,0.5);
}
/* Fallback */
.no-boxshadow .form-4 input[type=submit]:hover {
    background: #594642;
}
.form-4 label {
    display: none;
    padding: 0 0 5px 2px;
    cursor: pointer;
}
.form-4 label:hover ~ input {
    border-color: #333;
}
.no-placeholder .form-4 label {
    display: block;
}
