/**
 * Copyright (c) 2015 Solenix GmbH
 * LicenseName: Proprietary
 */

/*****************************************************************************
 GLOBAL
*****************************************************************************/

body {
	margin: 0;
	font-family: Arial;
	color: #666;
	letter-spacing: 1px;
	font-size: 12px;
}

img {
    border: 0 !important;
}

::-webkit-scrollbar {
    width: 14px;
    background-color: #F0F0F0;
}

::-webkit-scrollbar-thumb {
    background-color: #CDCDCD;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #DADADA;
}

.ie8-warning {
    text-align: center;
    color: red;
    padding-top: 2em;
}

/*****************************************************************************
 WRAPPER 
*****************************************************************************/

#wrapper {
    width: 360px;
    position: absolute;
    top: 25%;
    left: 50%;
    margin-left: -180px;
    margin-top: -61px;
    box-shadow: 1px 1px 10px #141414;
    border: 1px solid #666;
}

/*****************************************************************************
 TITLE 
*****************************************************************************/

h1 {
	font-size: 32px;
    line-height: 38px;
	margin: 0;
	padding: 20px;
	color: #666;
    background-color: #DADADA;
    background-image: -ms-linear-gradient(top, #E7E7E7, #DADADA);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#E7E7E7), to(#DADADA));
	background-image: -webkit-linear-gradient(top, #E7E7E7, #DADADA);
	background-image: -o-linear-gradient(top, #E7E7E7, #DADADA);
	background-image: linear-gradient(top, #E7E7E7, #e6e6e6);
	background-image: -moz-linear-gradient(top, #E7E7E7, #DADADA);
}

h1 span {
    font-size: 24px;
}

/*****************************************************************************
 MESSAGE
*****************************************************************************/

.success-message {
    font-size: 12px;
    line-height: 35px;
    color: #468847;
    background-color: #dff0d8;
    padding-left: 20px;
    border-top: 1px solid #666;
    border-bottom: 1px solid #666;
}

.error-message {
    font-size: 12px;
    line-height: 35px;
    color: #b94a48;
    background-color: #f2dede;
    padding-left: 20px;
    border-top: 1px solid #666;
    border-bottom: 1px solid #666;
}

.info-message {
    font-size: 12px;
    line-height: 18px;
    color: #052c65;
    background-color: #cfe2ff;
    padding: 10px 0 12px 20px;
    border-top: 1px solid #666;
    border-bottom: 1px solid #666;
}

.login__infobox-caption {
    margin: 0 0 10px;
}

.login__infobox-credentials {
    margin: 0;
}

.login__infobox-label {
    font-weight: bold;
}

.blue-separator {
    height: 5px;
    background-color: #0582C1;
}

/*****************************************************************************
 FORM
*****************************************************************************/

#wrapper form {
    background-color: #F0F0F0;
    padding: 20px;
    color: #141414;
}

label {
    font-weight: bold;
    display: inline-block;
    width: 120px;
    margin: 10px 0;
}

input {
    border-radius: 5px;
    border: 1px solid #666;
    padding: 4px;
    outline: 0;
    color: #141414;
    box-shadow: none;
}

input[type=text],
input[type=password] {
    width: 180px;
}

input:focus {
    border-color: #141414;
    box-shadow: 0 0 5px #141414;
}

input[type=submit] {    
    color: #FFF;
    margin: 5px;
    margin-left: 0;
    padding: 4px 9px;
    font-size: 12px;
    border-radius: 5px;
    border: 1px solid transparent;
    cursor: pointer;
    outline: 0;
    width: auto;
    background-color: #499049;
    font-weight: bold;
}

input[type=submit]:focus {
    border: 1px solid #141414;
    box-shadow: 0 0 5px #141414;
}

input[type=submit]:hover {
    background-color: #141414 !important;
}

input[type=submit]:active {
    background-color: #666 !important;
}

input[type=checkbox] {
	position: absolute;
	left: -9999px;
}

input[type=checkbox] + label {
    width: auto;
    margin: 5px 0;
    margin-left: 5px;
    padding-left: 23px;
    line-height: 25px;
    background-repeat: no-repeat;
    background-position: left center;
    background-image: url('../images/checkbox/default.png');
    cursor: pointer;
}

input[type=checkbox]:focus + label {
    background-image: url('../images/checkbox/focus.png');
}

input[type=checkbox]:checked + label {
    background-image: url('../images/checkbox/selected.png');
}

input[type=checkbox]:checked:focus + label {
    background-image: url('../images/checkbox/selected_focus.png');
}
