/********************************************************/
/* reset */
/********************************************************/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	/*outline: 0;*/
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

/********************************************************/
/* general */
/********************************************************/
html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 13px; line-height: 1.231; }
body, button, input, select, textarea { font-family: sans-serif; color: #333; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.hidden { display: none; }

/*:focus { outline: 0; }  remember to define focus styles! */
::selection { background: #ffe1df; } /* Safari */
::-moz-selection { background: #ffe1df; } /* Firefox */
::-webkit-selection { background: #ffe1df; } /* Webkit */

/********************************************************/
/* typography */
/********************************************************/
b, strong { font-weight: bold; }
em { font-style: italic; }
sub, sup { font-size: 50%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; font: 11px consolas; padding: 5px 10px; background: #f4f4f4; border: solid #ccc 1px; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
small { font-size: 85%; }

/********************************************************/
/* lists */
/********************************************************/
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

/********************************************************/
/* tables */
/********************************************************/
table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

/********************************************************/
/* links */
/********************************************************/
a { text-decoration: none; }
a { color: #5873b5;}
a:visited { color: #5873b5; }
a:hover { color: #ec3734; }
/*a:focus { outline: none; } 
a:hover, a:active { outline: 0; }/*

/********************************************************/
/* forms */
/********************************************************/
form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
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; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

/********************************************************/
/* clearfix */
/********************************************************/
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

/********************************************************/
/* media queries */
/********************************************************/
@media only screen and (min-width: 480px) {

body.debug::before{
	content: "Tablet media query (min 480) fired";
	font-weight: bold;
	display: block;
	text-align: center;
	background: rgba(255,255,0, 0.5);   /* Semi-transparent yellow */
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99;
}

}

@media only screen and (min-width: 768px) and (max-width: 979px) {

body.debug::before{
	content: "Full media query (768 < 979) fired";
	font-weight: bold;
	display: block;
	text-align: center;
	background: rgba(255,0,255, 0.5);   /* Semi-transparent yellow */
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99;
}

}