/* Login */
.loginmodal, 
.loginform {
	margin: 0;
	padding: 0;
}
.loginmodal input[type=text],
.loginmodal input[type=password], 
.loginmodal input[type=submit] {
    /* Size and position */
	width: 80%;
    max-width: 350px;
    padding: 10px 0 8px 12px;
    margin-bottom: 15px;
	border: 2px solid #fff;
	border-radius: 5px;	
}
.loginmodal input[type=submit] {
	width: 85%;
	color: #fff;
	font-weight: bold;
	background-color: transparent;
    cursor: pointer;	
}
.loginform input[type=text],
.loginform input[type=password] {
    /* Size and position */
    width: 80%;
    padding: 8px 4px 8px 10px;
    margin-bottom: 15px;

    /* Styles */
    border: 1px solid #4e3043; /* Fallback */
    border: 1px solid rgba(78,48,67, 0.8);
    background: rgba(0,0,0,0.15);
    border-radius: 2px;
    box-shadow: 
        0 1px 0 rgba(255,255,255,0.2), 
        inset 0 1px 1px rgba(0,0,0,0.1);
    -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 styles */
    color: #fff;
    font-size: 13px;
}

.loginform input::-webkit-input-placeholder {
    color: rgba(37,21,26,0.5);
    text-shadow: 0 1px 0 rgba(255,255,255,0.15);
}

.loginform input:-moz-placeholder {
    color: rgba(37,21,26,0.5);
    text-shadow: 0 1px 0 rgba(255,255,255,0.15);
}

.loginform input:-ms-input-placeholder {
    color: rgba(37,21,26,0.5);
    text-shadow: 0 1px 0 rgba(255,255,255,0.15);
}

.loginform input[type=text]:hover,
.loginform input[type=password]:hover {
    border-color: #333;
}

.loginform input[type=text]:focus,
.loginform input[type=password]:focus,
.loginform 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 .loginform input[type=text]:focus,
.no-boxshadow .loginform input[type=password]:focus {
    outline: 1px solid white;
}

.loginform input[type=submit] {
    /* Size and position */
    width: 85%;
    padding: 8px 5px;
    
    /* Styles */
    background: #2671FF;
    border-radius: 5px;
    border: 1px solid #2671FF;
    box-shadow: inset 0 1px rgba(255,255,255,0.4), 0 2px 1px rgba(0,0,0,0.1);
    cursor: pointer;
    -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 styles */
    color: white;
    text-shadow: 0 1px 0 rgba(0,0,0,0.3);
    font-size: 16px;
    font-weight: bold;
    font-family: 'Raleway', 'Lato', Arial, sans-serif;
}

.loginform input[type=submit]:hover {
    box-shadow: 
        inset 0 1px rgba(255,255,255,0.2), 
        inset 0 20px 30px rgba(198,212,26,0.7);
}

/* Fallback */
.no-boxshadow .loginform input[type=submit]:hover {
    background: #594642;
}

.loginmodal label, 
.loginform label {
    display: none;
    padding: 0 0 5px 2px;
    cursor: pointer;
}

.loginform label:hover ~ input {
    border-color: #333;
}

.no-placeholder .loginform label {
    display: block;
}