/* @override http://localhost:8000/static/styles/main.css */

/* Assumes being after Bootstrap 3.x */

/* ------------------------------ */

/* # HTML */

html, body {
	height: 100%;
}

body {
	color: #333;
	font-size: 16px;
}

ul, ol {
	padding-left: 25px;
	padding-right: 25px;
	margin-top: 1em;
	margin-bottom: 1em;
}

ul > li, ol > li {
	margin-bottom: 5px;
}

/* ## Forms */

form {
	margin-bottom: 10px;
}

label {
  display: inline-block;
  margin-bottom: 5px;
  font-weight: bold;
}

input, textarea {
	margin-bottom: 1em;
}

input[type="text"], 
input[type="password"], 
input[type="number"], 
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"] {
	display: block;
	width: 100%;
	height: 34px;
	padding: 6px 12px;
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	border: 1px solid #ccc;
	border-radius: 4px;
	color: #333;
	background-color: #fff;
	background-image: none;
}

#recaptcha_table input[type="text"] {
	height: auto;
	display: inline;
	border-radius: 0px;
	box-shadow: none;
}

input.ng-invalid {
	border: 2px solid red;
}

/* ## Structural element, not copy */

.struct {
	padding: 0;
	margin: 0;
}

ul.struct {
	list-style-type: none;
}

ul.struct > li, ol.struct > li {
	margin-bottom: 0;
}

/* ------------------------------ */

/* # Layout */

.wrapper {
	margin-right: auto;
	margin-left: auto;
}

/* ------------------------------ */

/* # Messages */

#unsupported-browser-warning {
	font-weight: bold;
	font-size: 18px;
	background-color: yellow;
	padding: 10px;
	width:320px;
	position: absolute;
	top:0;
	left:50%;
	margin-left:-150px;
	z-index:9999;
	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
}

ul.messages {
	padding: 0;
	margin-top: 1em;
	margin-bottom: 1em;
}

ul.messages li {
	color: white;
	margin-bottom: 5px;
	border-radius: 4px;
	background-color: #4a99e7;
	position: relative;
	padding: 5px 40px;
	word-wrap: break-word;
}

ul.messages li::before {
	margin-right: 10px;
	content: "\f05a";
	position: absolute;
	left: 10px;
	font: 20px FontAwesome;
}

ul.messages li.debug {
	background-color: #953ca5;
}

ul.messages li.info {

}

ul.messages li.success {
	background-color: #64a22c;
}

ul.messages li.success::before {
	content: "\f00c";
}

ul.messages li.warning {
	background-color: #e75b28;
}

ul.messages li.warning::before {
	content: "\f071";
}

ul.messages li.error {
	background-color: #e83f23;
}

ul.messages li.error::before {
	content: "\f071";
}

/* Layout 320 */

@media (max-width: 479px) {

ul.messages {
	font-size: 0.9em;
}

}
