/*
*  Typography
*
*  @author: Elliot Condon
*  @created: 30/05/12
*/

body {
	font-family: Arial, sans-serif;
	color: #231f20;
	font-weight: lighter;
}


/*--------------------------------------------------------------------------------------------
*
*	Text
*	
*--------------------------------------------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
	text-transform: uppercase;
	font-family: georgia, serif;
	line-height: 1.1em;
}

h1 {
	font-size: 2.4em;
	font-weight: bold;
}

h2 {
	text-transform: none;
	font-size: 2.4em;
}

h3 {
	font-size: 1.6em;
	font-style: italic;
}

h4 {
	
}

p, li, td, th {
	font-size: 1.3em;
	line-height: 1.5em;
	color: #333;
}

p, li {
	margin: 0.7em 0;
	
}


a {
	text-decoration: underline;
	color: #231f20;
}

a:hover {
	text-decoration: underline;
}

blockquote {
	
}

blockquote * {
	display: inline;
}

blockquote:before {
	content: '\201C '
}

blockquote:after {
	content: ' \201D';
}


img {
	display: block;
}

.alignright {
	float: right;
	margin-left:20px;
}

.alignleft {
	float: left;
	margin-right: 20px;
}

.aligncenter {
	float: left;
	margin: 0 auto;
}

em {

}

strong {
	font-weight: bold;
}

hr {
	border: 0 none;
	background: #e2e2e2;
	height: 1px;
	width: 100%;
	display: block;
	margin: 20px 0;	
}

/*--------------------------------------------------------------------------------------------
*
*	Lists
*	
*--------------------------------------------------------------------------------------------*/

ul {
	list-style: square;
	padding-left:40px;
	margin: 1.5em 0;
}

ol {
	list-style: decimal;
	padding-left:40px;
	margin: 1.5em 0;
}

li {
	margin: 0 0 0.2em;
}


/*--------------------------------------------------------------------------------------------
*
*	Tables
*	
*--------------------------------------------------------------------------------------------*/

table,tr,td,th {
	vertical-align: top;
}

table {
	width:100%;
	border:  0 none;
}

table {
	
}

table th {
	
}

table tbody tr:hover td {
	
}

td,th {
	font-size: 12px;
	line-height: 1.1em;
	padding: 3px;
	color: #666666;
}

th {
	color: #333333;
	font-family: georgia, serif;
	font-style: italic;
	font-weight: bold;
}


/*--------------------------------------------------------------------------------------------
*
*	Forms
*	
*--------------------------------------------------------------------------------------------*/

form {
	display: block;
	position: relative;
}

form .field {
	display: block;
	position: relative;
	margin-top: 10px;
	padding-right: 32px;
}

form .field:first-child {
	margin-top: 0;
}

form .field-select {
	padding-right: 0;
}

form label {
	font-size: 14px;
	line-height: 1em;
}

form.focus-blur label {
	position: absolute;
	display: block;
	cursor: text;
	z-index: 2;
	padding: 12px 15px;
	border: transparent solid 1px;
	
	text-transform: uppercase;
}

form input[type="text"],
form input[type="password"],
form input[type="email"],
form textarea,
form .select .label {
	display: block;
	resize: none;
	border: #d0d0d0 solid 1px;
	border-radius: 3px;
	padding: 12px 15px;
	margin: 0;
	font-family: Arial, sans-serif; 
	font-size: 14px;
	line-height: 1em;
	outline: none;
	color: #231f20;
	width: 100%;
}

form input[type="submit"] {
	display: block;
	cursor: pointer;
	border: 0 none;
	border-radius: 0;
	
	text-transform: uppercase;
	padding: 0 25px 0 15px;
	
	background: #231f20 url(../images/backgrounds.png) 100% -50px no-repeat;
	color: #fff;
	
	font-size: 21px;
	font-family: georgia, serif;
	font-weight: bold;

	height: 47px;
	border-right: 10px solid #231f20;
}

form input[type="submit"]:hover {
	background-position: 100% -100px;
}

form .radio-field label {
	position: relative;
	text-transform: uppercase;
	cursor: pointer;
	font-size: 12px;
}

form .radio-field li {
	margin: 0 0 5px;
}

form .checkbox-status {
	width: 13px;
	height: 13px;
	float: left;
	margin: 0 5px 0 0;
	background: url(../images/sprite.png) 0 -200px;
}

form .checkbox-status.active {
	background-position: -50px -200px;
}

form .select {
	position: relative;
	text-transform: uppercase;
}

form .select .label {
	text-decoration: none;
	width: auto;
}

form .select .label .value {
	
}

form .select .label .arrow {
	width: 11px;
	height: 7px;
	background: url(../images/sprite.png) -300px -250px no-repeat;
	position: absolute;
	top: 50%;
	margin-top: -3px;
	right: 13px;
}

form .select .label:hover .arrow {
	background-position: -300px -300px;
}

form .select .list {
	position: absolute;
	background: #000;
	border-radius: 0 0 3px 3px;
	margin: 0;
	padding: 0;
	width: 100%;
	margin-top: -3px;
	
	z-index: 99;
}

form .select .list li {
	margin: 0;
	padding: 0;
}

form .select .list li a {
	padding: 5px 11px;
	display: block;
	text-decoration: none;
	color: #fff;
	
}

form .select .list li.active a {
	color: #FFE955;
}

form .select .list li a:hover {
	font-style: italic;
}

form select.html-form-active {
	display: none;
}

form select {
	padding: 3px;
	width: 100%;
}


/*--------------------------------------------------------------------------------------------
*
*	Buttons
*	
*--------------------------------------------------------------------------------------------*/

.button {
	font-size: 12px;
	line-height: 1em;
	font-family: sans-serif;
	text-transform: uppercase;
	padding: 5px 30px 5px 10px;
	
	position: relative;
	display: block;
	
	background: #e2e2e2;
	color: #231f20;
	text-decoration: none;
}

.button:hover {
	background-color: #ffe955;
	text-decoration: none;
}

.button .arrow {
	position: absolute;
	right: 5px;
	width: 18px;
	height: 18px;
	background: url(../images/sprite.png) -50px -100px;
	
	top: 50%;
	margin-top: -9px;
}

.button-yellow {
	background-color: #ffe955;
}

.button-grey {
	
}

.button-black {
	color: #fff;
	background: #231f20;
}

.button-black .arrow {
	background-position: -50px -100px;
}

.button-black:hover {
	background: #231f20;
}

.button-black:hover .arrow {
	background-position: 0 -100px;
}

.button-clear {
	background: transparent;
}

.button-clear:hover {
	background: transparent;
	text-decoration: underline;
}

.button-clear .arrow {
	background-position: -150px -100px;
}
.button-clear:hover .arrow {
	background-position: -100px -100px;
}


/*--------------------------------------------------------------------------
*
*	iPad
*	
*-------------------------------------------------------------------------*/

@media (max-width: 768px) {
	
	h1, h2, h3, h4, h5, h6 {

	}
	
	h1 {
		font-size: 2.6em;
	}
	
	h2 {
		font-size: 2.6em;
	}
	
	h3 {
		font-size: 1.6em;
	}
	
	h4 {
		
	}
	
	p, li, td, th {
		font-size: 1.5em;
		line-height: 1.5em;
	}

	form .select {
	
	}
	
	form select.html-form-active {
		position: absolute;
		display: block;
		right: 0;
		top: 0;
		opacity: 0;
	}
	
	
	
	form input[type="text"],
	form input[type="password"],
	form input[type="email"],
	form textarea,
	form .select .label,
	form label,
	form.focus-blur label {
		padding: 9px 15px;
		font-size: 17px;
	}

	
}


/*--------------------------------------------------------------------------
*
*	Retina
*	
*-------------------------------------------------------------------------*/

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) { 
	
	form .checkbox-status,
	form .select .label .arrow,
	.button .arrow {
		background-image: url(../images/sprite@2x.png);
		background-size: 500px 500px;
	}
	
	
	form input[type="submit"] {
		background-image: url(../images/backgrounds@2x.png);
		background-size: 20px 500px;
	}
	
}