/**
 * @about: 	text.css - Reset and text,html element default settings
 * 			Generic settings only!
 */

/**
 * Fonts
 */

@font-face {
	font-family: "Tiempos";
	src: url("../font/tiempostext-regular-webfont.eot");
	src: url("../font/tiempostext-regular-webfont?#iefix") format("embedded-opentype"),
	url("../font/tiempostext-regular-webfont.woff") format("woff"),
	url("../font/tiempostext-regular-webfont.ttf") format("truetype"),
	url("../font/tiempostext-regular-webfont.svg#tiempostext-regular-webfont") format("svg");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "TiemposItalic";
	src: url("../font/tiempostext-regularitalic-webfont.eot");
	src: url("../font/tiempostext-regularitalic-webfont?#iefix") format("embedded-opentype"),
	url("../font/tiempostext-regularitalic-webfont.woff") format("woff"),
	url("../font/tiempostext-regularitalic-webfont.ttf") format("truetype"),
	url("../font/tiempostext-regularitalic-webfont.svg#tiempostext-regularitalic-webfont") format("svg");
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: "TiemposBold";
	src: url("../font/tiempostext-bold-webfont.eot");
	src: url("../font/tiempostext-bold-webfont?#iefix") format("embedded-opentype"),
	url("../font/tiempostext-bold-webfont.woff") format("woff"),
	url("../font/tiempostext-bold-webfont.ttf") format("truetype"),
	url("../font/tiempostext-bold-webfont.svg#tiempostext-bold-webfont") format("svg");
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: "TiemposBoldItalic";
	src: url("../font/tiempostext-bolditalic-webfont.eot");
	src: url("../font/tiempostext-bolditalic-webfont?#iefix") format("embedded-opentype"),
	url("../font/tiempostext-bolditalic-webfont.woff") format("woff"),
	url("../font/tiempostext-bolditalic-webfont.ttf") format("truetype"),
	url("../font/tiempostext-bolditalic-webfont.svg#tiempostext-bolditalic-webfont") format("svg");
	font-weight: bold;
	font-style: italic;
}

/**
 * High level defaults
 */

/** OPT - Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g */
html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	font-family: Tiempos, Georgia, Times, serif;
	line-height: 1.6;
	color: rgba(0,0,0,0.95);
	-webkit-transition: font-size 0.2s ease-out;
	-moz-transition: font-size 0.2s ease-out;
	-o-transition: font-size 0.2s ease-out;
	-ms-transition: font-size 0.2s ease-out;
	transition: font-size 0.2s ease-out;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/** Tweaking text-selection -- rules must be separated! */
::-moz-selection {
	background: #a9201e;
	color: #fff;
	text-shadow: none;
}

::selection {
	background: #a9201e;
	color: #fff;
	text-shadow: none;
}

/**
 * Reset browser settings
 */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	vertical-align: baseline;
	border: 0;
}

ins {
	text-decoration: none;
	color: #000;
	background-color: #ff9;
}

mark {
	font-style: italic;
	font-weight: bold;
	color: #000;
	background-color: #ff9;
}

del {
	text-decoration: line-through;
}

abbr[title], dfn[title] {
	border-bottom: 1px dotted;
	cursor: help;
}

/**
 * Set generic heading values
 */

h1, h2, h3, h4, h5, h6, legend {
	font-family: Tiempos, Georgia, Times, serif;
	font-weight: normal;
	line-height: 1.3em;
	color: #111;
}

h1 {
	margin-bottom: .375em;
	font-size: 2.6em;

	-ms-word-break: break-all;
	word-break: break-all;

	/* Non standard for webkit */
	word-break: break-word;

	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}


@media (min-width: 580px) {
	h1 {
		word-wrap: normal;
	}
}

h2 {
	margin-bottom: .428571em;
	font-size: 1.75em;
}

h3 {
	margin-bottom: .5em;
	font-size: 1.5em;
}

h4 {
	margin-bottom: .56249em;
	font-size: 1.3334em;
}

h5 {
	margin-bottom: .64285em;
	font-size: 1.1667em;
}

h6 {
	margin-bottom: .75em;
	font-size: 1em;
}

/**
 * Set generic values for textual elements
 */

p, ul, ol, pre, dl, table {
	margin-bottom: 1.5em;
}

ul {
	margin-left: 1.2em;
}

ol {
	margin-left: 1.4em;
	list-style-type: decimal;
}

a {
	text-decoration: none;
	color: #0a79a3;
}

a:hover {
	text-decoration: underline;
	color: #0092c1;
}

/** OPT - Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active {
	outline: none;
}

small {
	font-size: .8em;
}

strong, th {
	font-weight: bold;
}

hr {
	height: 1px;
	margin: 1em 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid #ccc;
}

address {
	font-style: normal;
}

pre, code, kbd, samp {
	font-family: Inconsolata, monospace, sans-serif;
	font-weight: 400;
}

pre strong,
pre b {
	font-weight: 700;
}

sup {
	vertical-align: top;
}

sub {
	vertical-align: bottom;
}

dd {
	margin-bottom: .5em;
}

p code {
	padding: 2px 4px;
	font-size: .9em;
	background: #c6c3be;
}

/**
 * Blockquotes
 */

blockquote {
	margin: 1.5em 20px;
	padding: 0.5em 10px;
	border-left: 5px solid #c6c3be;
	font-size: 1.2em;
	quotes: "\201C""\201D""\2018""\2019";
	color: #a9201e;
}

blockquote:before {
	color: #c6c3be;
	content: open-quote;
	font-size: 4em;
	line-height: 0.1em;
	margin-right: 0.15em;
	vertical-align: -0.4em;
}

blockquote p {
	padding: 0;
}

/**
 * Set generic layout values for tables
 */

table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption, td, th {
	text-align: left;
	vertical-align: top;
}

thead th {
	color: #A9201E
}

tbody th {
	color: grey
}

/**
 * Set generic layout values for images
 */

td img {
	vertical-align: top;
}

img.right-aligned,
img[align="right"] {
	margin: 0 0 0 20px;
}

img.left-aligned,
img[align="left"] {
	margin: 0 20px 0 0;
}

/**
 * Set generic values for form elements and fix inconsistencies
 */

input, select, button, textarea {
	font-family: Arial, sans-serif;
	font-size: 100%;
	color: rgba(0,0,0,0.95);
}

input, select {
	vertical-align: middle;
}

/** FIX - Remove textarea scrollbars in IE, see www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */
textarea {
	overflow: auto;
}

/** OPT - align checkboxes, radios, text inputs with their label, see tjkdesign.com/ez-css/css/base.css */
input[type="radio"] {
	vertical-align: text-bottom;
}

input[type="checkbox"] {
	vertical-align: bottom;
}

/** OPT - Hand cursor on clickable input elements */
label, input[type="button"], input[type="submit"], button {
	cursor: pointer;
}

/** FIX - Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea {
	margin: 0;
}

/**
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] {
	box-sizing: border-box;
}

input[type="search"] {
	-webkit-appearance: textfield;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * Remove inner padding and border in FF3/4 h5bp.com/l
 */

button::-moz-focus-inner, input::-moz-focus-inner {
	border: 0;
	padding: 0;
}