input::-moz-focus-inner {
	border:0;
	padding:0;
}

/****************************************************************** GENERAL ***/
html[xmlns^="http"] {
	overflow-y: scroll;
}

html {
	height: 100%;
}

body {
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: Trebuchet MS, sans-serif;
	font-size: 16px;
	line-height: 22px;
	color: #000;
	background-color: #f8f2f2;
}

h1 {
	font-family: Georgia, serif;
	font-size: 26px;
	line-height: 26px;
	font-weight: normal;
	margin: 0;
	padding: 12px 0 12px 0;
	color: #790000;
}

h2 {
	font-family: Georgia, serif;
	font-size: 22px;
	line-height: 22px;
	font-weight: normal;
	margin: 0;
	padding: 12px 0 6px 0;
	color: #790000;
}

h3 {
	font-family: Trebuchet MS, sans-serif;
	font-size: 16px;
	line-height: 16px;
	font-weight: bold;
	margin: 0;
	padding: 12px 0 6px 0;
}

h1:first-child,
h2:first-child,
h3:first-child {
	padding-top: 0;
}

p {
	margin: 0;
	padding: 6px 0 6px 0;
	text-align: left;
}

ul,
ol {
	line-height: 22px;
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 6px;
	padding-bottom: 12px;
	padding-left: 30px;
	text-align: left;
}

ul li,
ol li {
	padding: 0 0 6px 0;
}

a {
	color: #790000;
	text-decoration: none;
}

h3 a,
h3 a:hover,
h3 a:active {
	color: #000;
}

img {
	border-width: 0;
}

table {
	border-collapse: collapse;
}

table td {
	vertical-align: top;
}

div.clear {
	clear: both;
}

span.small {
	font-size: 14px;
	line-height: 22px;
}

/*********************************************************** GENERAL LAYOUT ***/
div.background {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	min-width: 980px;
	max-width: 980px;
	margin: 0 auto -100px auto;
	padding: 20px 50px 100px 50px;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	background-color: #fff;
	position: relative;
}

div.background_footer {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	bottom: 0;
	width: 100%;
	min-width: 980px;
	max-width: 980px;
	height: 100px;
	margin: 0 auto;
	padding: 20px 50px 50px 50px;
	background-color: #fff;
	position: relative;
}

/****************************************************************** CONTENT ***/
div.contents {
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	-ms-box-orient: horizontal;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: stretch; 
	align-items: stretch; 
	margin: 0 -10px;
}

div.content,
div.content_2,
div.content_3 {
	-webkit-flex-grow: 1;
	flex-grow: 1;
	-webkit-flex-shrink: 1;
	flex-shrink: 1;
	-webkit-flex-basis: auto;
	flex-basis: auto;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 880px;
	margin: 0 10px 20px 10px;
	position: relative;
}

div.content_2 {
	width: 430px;
}

div.content_3 {
	width: 280px;
}

div.content div.paragraph_columns_2 {
	-webkit-column-count: 2;
	-moz-column-count: 2;
	column-count: 2;
	-webkit-column-gap: 20px;
	-moz-column-gap: 20px;
	column-gap: 20px;
}

div.content div.paragraph_columns_3 {
	-webkit-column-count: 3;
	-moz-column-count: 3;
	column-count: 3;
	-webkit-column-gap: 20px;
	-moz-column-gap: 20px;
	column-gap: 20px;
}

div.contents div.columns {
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	-ms-box-orient: horizontal;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: stretch; 
	align-items: stretch; 
	margin: 0 -10px;
}

div.contents div.columns div.column_2,
div.contents div.columns div.column_3 {
	-webkit-flex-grow: 1;
	flex-grow: 1;
	-webkit-flex-shrink: 1;
	flex-shrink: 1;
	-webkit-flex-basis: auto;
	flex-basis: auto;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0 10px 20px 10px;
}

div.contents div.columns div.column_2 {
	width: 430px;
}

div.contents div.columns div.column_3 {
	width: 280px;
}

div.contents div.quote {
	background-color: #ddd;
	font-family: Georgia, serif;
	margin: 0 -10px;
	padding: 10px;
}

div.contents div.quote.title {
	font-weight: bold;
}

div.contents div.quote.lead {
	font-style: italic;
}

div.contents div.quote.text {
}

div.contents div.scroll {
	max-height: 500px;
	overflow-y: scroll;
}

/******************************************************************* HEADER ***/
div.header div.user {
	position: absolute;
	top: 20px;
	right: 50px;
	text-align: right;
	color: #000;
}

div.header div.user a {
	font-weight: bold;
	color: #000;
}

div.header div.logo {
}

div.header div.logo a {
	font-family: Georgia, serif;
	font-size: 48px;
	line-height: 48px;
	font-weight: normal;
	color: #790000;
}

div.header div.menu {
	border-width: 1px 0 1px 0;
	border-style: solid;
	border-color: #e6e0e0;
	margin: 20px -10px 50px -10px;
	display: flex;
	display: -webkit-flex;
}

div.header div.menu div.link {
	flex-grow: 0;
	-webkit-flex-grow: 0;
}

div.header div.menu div.space {
	flex-grow: 1;
	-webkit-flex-grow: 1;
}

div.header div.menu div.link a,
div.header div.menu div.link span {
	display: block;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 16px;
	line-height: 30px;
	padding: 0 10px;
	color: #790000;
}

div.header div.menu div.link.active a,
div.header div.menu div.link.active span {
	color: #828282;
}

/*
@media (max-width: 599px) {
	div.header div.menu {
		border-width: 1px 0 0 0;
		border-style: solid;
		border-color: #e6e0e0;
	}
	div.header div.menu div.link {
		float: none;
		border-width: 0 0 1px 0;
		border-style: solid;
		border-color: #e6e0e0;
	}
}
*/

/******************************************************************* FOOTER ***/
div.footer {
	display: flex;
	display: -webkit-flex;
	border-width: 1px 0 1px 0;
	border-style: solid;
	border-color: #e6e0e0;
	margin: 0 -10px;
	color: #790000;
}

div.footer div.left {
	padding: 0 10px;
	flex-grow: 1;
	-webkit-flex-grow: 1;
	line-height: 30px;
}

div.footer div.right {
	padding: 0 10px;
	flex-grow: 1;
	-webkit-flex-grow: 1;
	text-align: right;
	line-height: 30px;
}

/******************************************************************** BOXES ***/
div.error,
div.warning,
div.confirmation,
div.admin {
	padding: 20px;
	margin: 0 0 20px 0;
}

div.error h2,
div.warning h2,
div.confirmation h2,
div.admin h2 {
	font-family: Trebuchet MS, sans-serif;
	font-size: 16px;
	line-height: 16px;
	font-weight: bold;
	margin: 0;
	padding: 12px 0 6px 0;
	color: #000;
}

div.error h2:first-child,
div.warning h2:first-child,
div.confirmation h2:first-child,
div.admin h2:first-child,
div.error p:first-child,
div.warning p:first-child,
div.confirmation p:first-child,
div.admin p:first-child {
	padding-top: 0;
}

div.error h2:last-child,
div.warning h2:last-child,
div.confirmation h2:last-child,
div.admin h2:last-child,
div.error p:last-child,
div.warning p:last-child,
div.confirmation p:last-child,
div.admin p:last-child {
	padding-bottom: 0;
}

div.error {
	background-color: #e6e0e0;
}

div.warning {
	background-color: #e6e6e0;
}

div.confirmation {
	background-color: #e0e6e0;
}

div.admin {
	background-color: #ddd;
}

/********************************************************************* FORM ***/
form {
	padding: 0;
	margin: 0;
}

form > fieldset {
	display: none;
}

label {
	cursor: pointer;
}

input,
select,
textarea {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-family: Trebuchet MS, sans-serif;
	font-size: 16px;
	line-height: 22px;
	padding: 5px;
	border-width: 0;
	background-color: #ddd;
}

input[type="checkbox"],
input[type="radio"] {
	position: absolute;
	visibility: hidden;
}

span.checkbox span.checkbox,
span.radio span.radio {
	cursor: pointer;
	display: inline-block;
	background-color: #ddd;
	padding: 5px;
	line-height: 12px;
	float: left;
	margin-right: 5px;
}

span.checkbox span.checkbox:after,
span.radio span.radio:after {
	content: ' ';
	display: inline-block;
	height: 12px;
	width: 12px;
}

span.checkbox input[type="checkbox"]:checked + label span.checkbox:after,
span.radio input[type="radio"]:checked + label span.radio:after {
	background-color: #790000;
}

span.checkbox span.label,
span.radio span.label {
	display: block;
	padding-left: 27px;
}

input,
textarea {
	width: 100%;
}

textarea {
	height: 200px;
	resize: vertical;
}

select {
	width: 100%;
	padding: 4px 5px;
}

input.error,
textarea.error,
select.error {
	background-color: #e6e0e0 !important;
}

input[type="submit"],
input[type="button"],
input[type="reset"],
a.button {
	display: inline-block;
	cursor: pointer;
	padding: 5px 7px 4px 7px;
	text-align: center;
	width: auto;
	text-decoration: none;
	background-color: #790000;
	color: #fff;
	font-weight: normal;
	border-width: 0;
}

input.cancel[type="submit"],
input.cancel[type="button"],
input.cancel[type="reset"],
a.button.cancel {
	background-color: #282828;
}

input.disabled[type="submit"],
input.disabled[type="button"],
input.disabled[type="reset"],
a.button.disabled {
	cursor: default;
	background-color: #282828;
}

input.cancel.disabled[type="submit"],
input.cancel.disabled[type="button"],
input.cancel.disabled[type="reset"],
a.button.cancel.disabled {
}

/************************************************************** FORM FIELDS ***/
div.form {
	margin: 0 0 20px 0;
}

div.form div.item {
	clear: both;
	overflow: hidden;
}

div.form div.item div.label {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 150px;
	float: left;
	padding: 10px 10px 10px 0;
}

div.form div.item div.field {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin-left: 150px;
	padding: 10px 0 10px 10px;
}

div.form div.item div.field input,
div.form div.item div.field select,
div.form div.item div.field textarea,
div.form div.item div.field a.button {
	margin-top: -6px;
	margin-bottom: -6px;
}

div.form div.item div.field input[type="file"] {
	margin-bottom: 0;
}

div.form div.item.long {
	padding: 0 0 10px 0; 
}

div.form div.item.long div.field {
	margin-left: 0;
	width: 100%;
	float: none;
	padding: 0;
}

div.form div.item.long div.field input,
div.form div.item.long div.field select,
div.form div.item.long div.field textarea,
div.form div.item.long div.field a.button {
	margin-top: 0;
}

div.form div.item div.field.buttons {
	text-align: right;
}

/*
@media (max-width: 599px) {
	div.form div.item {
		padding: 0 0 10px 0; 
	}
	
	div.form div.item div.label {
		width: 100%;
		float: none;
		padding: 0;
	}
	
	div.form div.item div.field {
		margin-left: 0;
		width: 100%;
		float: none;
		padding: 0;
	}

	div.form div.item div.field input,
	div.form div.item div.field select,
	div.form div.item div.field textarea,
	div.form div.item div.field a.button {
		margin-top: 0;
	}
}
*/

/*************************************************************** DATA TABLE ***/
table.data {
	margin: 12px 0 12px 0;
	width: 100%;
}

table.data tr {
	border-color: #000;
	border-width: 1px 0 1px 0;
	border-style: solid;
}

table.data tr.head,
table.data tr.head:hover {
	font-weight: bold;
}

table.data tr td {
	padding: 6px 3px;
	vertical-align: top;
	text-align: left;
}

table.data p:first-child {
	padding-top: 0;
}

table.data p:last-child {
	padding-bottom: 0;
}

/***************************************************************** ANALYSIS ***/
div.check {
	margin: 0 -10px;
	padding: 10px;
	background-color: #ddd;
	cursor: pointer;
}

div.check.new {
	color: #777;
}

div.check div.title {
	float: left;
}

div.check div.icons {
	text-align: right;
}

div.check div.icons div.score {
	display: inline-block;
	font-size: 26px;
	padding-left: 10px;
	width: 75px;
	text-align: right;
}

div.check div.icons div.score.positive {
	color: #007900;
}

div.check div.icons div.score.neutral {
	color: #797900;
}

div.check div.icons div.score.negative {
	color: #790000;
}

div.check div.icons div.score:after {
	font-family: FontAwesome;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
}

div.check div.icons div.score.positive:after {
	content: "\f118";
}

div.check div.icons div.score.neutral:after {
	content: "\f11a";
}

div.check div.icons div.score.negative:after {
	content: "\f119";
}

div.check div.icons div.score.load:after {
	content: "\f021";
}

div.result {

}

div.result span.fa {
	display: inline-block;
	width: 100%;
	text-align: center;
}

span.hl {
	background-color: #ddbfbf;
}

span.hlg {
	background-color: #ddddbf;
}

span.hl.hover,
span.hover span.hl {
	background-color: #700;
	color: #fff;
}

span.hlg.hover,
span.hover span.hlg {
	background-color: #770;
	color: #fff;
}

ul.out {
	padding-left: 0;
}

ul.out li.icon {
	list-style: none;
	padding-left: 1.2em;
}

ul.out li.icon:before {
	font-family: FontAwesome;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	display: inline-block;
	width: 1.2em;
	margin-left: -1.2em;
}

ul.out li.icon.positive:before {
	content: "\f118";
}

ul.out li.icon.neutral:before {
	content: "\f11a";
}

ul.out li.icon.negative:before {
	content: "\f119";
}

ul.out ul.list {
	list-style-type: disc;
}

div.explanation {
	border-width: 1px 0 0 0;
	border-style: solid;
	border-color: #000079;
	font-size: 11px;
	line-height: 16px;
	color: #000079;
}
