html {
	background: none;
}

body {
	background: #3978BB;
	padding: 1% 3% 1% 3%;
}

div#header {
	background: transparent url(../images/logo-enercoop.png) no-repeat;
	background-position: 5px !important;
	height: 105px;
	border: none;
}

#main {
	padding-top: 40px;
}

div#main-content {
	background: rgba(255, 255, 255, 0.8);
	border-radius: 1em;
	width: 40%;
	min-width: 500px;
	margin: auto;
	min-height: auto;
	flex: none;
	padding: 1em;
}

.css-tab-content {
	border: none;
}

ul.user-info {
	padding: 0px;
	background: transparent;
}

ul.user-info li:last-of-type {
	padding-right: 3em;
}

ul.messages {
	color: #000;
	text-shadow: none;
	max-width: 90%;
}

ul.messages li {
	padding: 1em;
}

#a2-login-forms {
	text-align: center;
	width: 100%;
	min-width: auto;
}

#a2-login-forms input {
	text-align: center;
}

#a2-login-forms #id_password_title label {
	padding: 0;
}

div.password-visibility-checkbox {
	display: block;
	position: relative;
}

div.password-visibility-checkbox input {
	display: none;
}

div.password-visibility-checkbox label {
	font-size: 0.9em;
	color: #666;
	border-bottom: 1px dotted #666;
	cursor: pointer;
}

div.password-visibility-checkbox label:hover {
	border-bottom: 1px solid #333;
	color: #333;
}

div.buttons {
	display: block;
}

#footer {
	text-align: center;
}

div.login-actions ul {
	list-style-type: none;
	padding: 0;
}

.a2-password-policy-rule:last-of-type {
	width: 9em;
}

.a2-password-policy-rule:last-of-type {
	width: 13em;
}

#appbar {
	float: right;
	margin-top: -1.5em;
}

#appbar > a {
	top: -21px;
	right: 0;
	margin-left: 1em;
}

div.error {
	color: #f64474;
	font-weight: bold;
	font-size: 1.3em;
}


@media only screen and (max-device-width:760px){
	ul.user-info .ui-name {
		display: inline-block;
	}

	ul.user-info li:last-of-type {
		padding-right: 0;
	}

}

@media only screen and (max-device-width:550px){
	div#header {
		background-position: center;
	}

	div#main-content {
		width: 100%;
		min-width: auto;
		margin: 0px;
	}

	ul.user-info {
		margin-top: 96px;
	}
}
