@import url('css/reset.css');
@import url('css/aller/stylesheet.css');
@import url('css/homestead/stylesheet.css');

/* Variables
	
	#007990 	blue
	#8e4575		fuchsia
	
   ===================================================================== */

body {
	overflow-y: scroll;
}

/* Typography
   ===================================================================== */
body, input, textarea, select, .button {
	font-family: 'AllerLight', 'Aller Light', 'Trebuchet MS', 'Geneva', 'Tahoma', 'Helvetica', 'Arial', sans-serif;
	color: #333;
	font-size: 18px;
	line-height: 1.5;
	letter-spacing: -1px;
	-webkit-font-smoothing: antialiased;
}
h1, .subheading h2, .reveal-modal h3, .button {
	font-family: 'HomesteadRegular', 'Homestead Regular';
	font-weight: normal;
	letter-spacing: 0;
}
h2, h3 {
	text-transform: uppercase;
	line-height: 1;
}
h3, h2 {
	font-size: 24px;
	min-height: 35px;
	margin: 0 0 10px;
	color: #777;
}
.subheading h2 {
	font-size: 32px;
	color: #007990;
	line-height: 0.9;
}
.subheading h2 strong {
	color: #8e4575;
	font-size: 45px;
	display: block;
}
h3 {
	margin: 30px 0 0;
}
.reveal-modal h3 {
	font-size: 30px;
	color: #8e4575;
	margin: 0;
}
h4, #ticket strong {
	font-size: 30px;
	line-height: 1;
}
em {
	font-size: 20px;
}
#sked dd, #slides dd, em {
	font-style: italic;
}
small {
	font-size: 80%;
}
blockquote {
	background: #fff;
	background: rgba(255,255,255,0.8);
	padding: 10px;
	font-size: 90%;
	-webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
	   -moz-box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
	     -o-box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
	        box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}
ol {
	list-style: decimal;
	margin-left: 20px;
}
article li, p {
	margin: 0 0 20px;
}

/* Links
   ===================================================================== */
a {
	color: #007990;
	text-decoration: none;
	padding-bottom: 2px;
	border-bottom: 1px solid #007990;
}
nav a {
	padding: 0;
	border: none;
}

section {
	position: relative;
	background-position: 0 0;
	background-attachment: fixed;
	padding: 90px 20px 150px 120px;
}
header {
	margin: 0 0 30px;
}
header, article {
	overflow: hidden;
}

/* Header
   ===================================================================== */
header, header h1 {
	height: 90px;
}
header h1 {
	color: #007990;
	font-size: 121px;
	line-height: 0.77;
	text-transform: uppercase;
	float: left;
	margin: 0 40px 10px 0;
	min-width: 310px;
	background: url(images/headings.png) 0 0 no-repeat;
}
.hint {
	width: 300px;
	float: left;
	font-size: 36px;
	line-height: 1;
	color: #555;
	text-transform: lowercase;
	letter-spacing: -2px;
}

.subheading {
	margin-top: 30px;
}

/* Text Replacement
   ===================================================================== */
header h1 {
	text-indent: -100%;
	white-space: nowrap;
	overflow: hidden;
}

/* Sections
   ===================================================================== */

#index {
	background-image: url(images/bg-index.jpg);
	background-attachment: fixed; 
}
/*#index h1 {
	width: 682px;
	height: 487px;
	margin: 0 0 60px;
}
#index h1, #index h2 {
	background: url(images/formfunctionclass.png) 0 0 no-repeat;
}
#index h2 {
	width: 691px;
	height: 134px;
	background-position: 0 -487px;
}*/

#ffc {
	max-width: 100%;
	height: auto;
}
#sked, #slides {
	background-image: url(images/bg-sked.jpg);
}
#sked h1 {
	width: 303px;
}

#slides h1 {
	width: 406px;
	background-position: 0 -360px;
}
.section-slides h4 {
	margin-bottom: 5px;
}
.section-slides h4 a {
}
.section-slides li a {
	border: none;	
}
.section-slides .speaker {
	line-height: 1;
}
.section-slides h4 a:before {
	content: '• ';
}

#tickets {
	background-image: url(images/bg-tickets.jpg);
}
#tickets h1 {
	width: 499px;
	background-position: 0 -90px;
}
.section-tickets .hint {
	width: 140px;
}

#venue {
	background-image: url(images/bg-venue.jpg);
}
#venue h1 {
	width: 406px;
	background-position: 0 -180px;
}

#help {
	background-image: url(images/bg-info.jpg);
}
#help h1 {
	width: 294px;
	background-position: 0 -270px;
}
section {
	-webkit-background-size: 100% auto;
	   -moz-background-size: 100% auto;
	        background-size: 100% auto; 
}

.index {
	background: #8e4575 url(images/bg-pink.jpg);
}

.menu {
	position: fixed;
	z-index: 100;
	bottom: 0;
	left: 0;
	width: 100%;
	font-size: 32px;
	line-height: 1;
}
.menu li {
	width: 22.5%;
	float: left;
	background: #007990 url(images/bg-blue.jpg);
}
.menu a {
	display: block;
	padding: 25px 10px;
	color: #fff;
	text-align: center;
	text-shadow: 2px 2px 0 #222;
}
.menu .index, .menu .tickets, .menu .sponsor, .menu .help {
	background: #8e4575 url(images/bg-pink.jpg);
}
.menu a:hover {
	background: #ddd;
	color: #8e4575;
	text-shadow: 2px 2px 0 #fff;
}
.menu .help {
	width: 10%;
}
.menu .contact, .menu .sponsor {
	width: 50%;
}


dl {
/*	font-size: 90%;*/
}
dt {
	color: #111;
	font-style: italic;
	line-height: 1.35;
}
dd {
	color: #444;
	margin: 5px 0 20px;
}
.credit {
	font-size: 70%;
	clear: both;
	padding: 20px 0 0;
	margin: 0;
}
#social {
	position: fixed;
	top: 20px;
	right: 20px;
	width: 90px;
}
	.twitter-share-button, .googleplus, .fb-like {
/*		float: left !important;*/
		margin: 0 5px 0 0;
		overflow: hidden;
	}
	.fb-like {
		margin: 0;
	}
	.twitter-share-button {
/*		width: 56px !important;*/
	}
	#___plusone_0 {
		display: inline !important;
	}
	.fb_iframe_widget span {
		display: block !important;
	}

/* Forms
   ===================================================================== */
.text, textarea, select, .avatar-placeholder {
	line-height: 20px;
	background-color: #007990;
	background-color: rgba(0,121,144,0.4);
	border: none;
	outline: none;
	padding: 5px;
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	    -ms-border-radius: 5px;
	     -o-border-radius: 5px;
	        border-radius: 5px;
}
	.text:focus, textarea:focus, select:focus, .avatar-placeholder.active,
	.error {
		color: #fff;
		background-color: #8e4575;
		-webkit-transition: 0.3s linear background;
		   -moz-transition: 0.3s linear background;
		    -ms-transition: 0.3s linear background;
		     -o-transition: 0.3s linear background;
	}
.text, .select {
	width: 290px;
}
.text, .select, textarea {
	height: 20px;
	display: block;
}
.select {
	height: 30px;
	background-image: url(images/dropdown.png);
	background-position: 94.5% 50%;
	background-repeat: no-repeat;
	-webkit-appearance: none;
	   -moz-appearance: none;
}
.check {
	display: inline;
}
.file-wrapper {
	cursor: pointer;
	display: inline-block;
	overflow: hidden;
	position: relative;
}
	.file-wrapper .button {
		cursor: pointer;
		display: inline-block;
	}
	.file-wrapper input {
		cursor: pointer;
		position: absolute;
		top: 0;
		right: 0;
		height: 100%;
		font-size: 100px;
		filter: alpha(opacity=1);
  		-moz-opacity: 0.01;
  			 opacity: 0.01;
	}
.text-half {
	width: 135px;
}
.select-half {
	width: 145px;
}
label {
	font-size: 16px;
}
	.text:focus + label, .select:focus label {
		color: #111;
		text-transform: uppercase;
	}
form p {
	float: left;
	margin: 0 10px 10px 0;
	max-width: 300px;
}
form small {
	font-style: italic;
}
label, select, button, .button, .ticket {
	cursor: pointer;
}
.button, .joyride-tip-guide .joyride-next-tip {
	text-align: center;
	border: none;
	background: #8e4575 url(images/bg-pink.jpg);
	color: #fff;
	text-transform: uppercase;
	text-shadow: 4px 4px 1px rgba(0,0,0,0.4);
	-webkit-border-radius: 30px;
	   -moz-border-radius: 30px;
	    -ms-border-radius: 30px;
	     -o-border-radius: 30px;
	        border-radius: 30px;
}
	.button:active, .ticket:active, .joyride-tip-guide .joyride-next-tip:active {
		position: relative;
		top: 1px;
		left: 1px;
	}
.button-small, .joyride-tip-guide .joyride-next-tip {
	font-size: 18px;
	width: 145px;
	height: 35px;
	line-height: 34px;
	text-shadow: 3px 3px 1px rgba(0,0,0,0.4);
}
.button-large {
	width: 310px;
	height: 60px;
	font-size: 36px;
	line-height: 60px;
}

.avatar-placeholder {
	width: 145px;
	height: 145px;
	float: left;
	padding: 0;
	margin: 0 10px 0 0;
	background-image: none;
}
	.avatar-placeholder em {
		display: none;
		background: none;
	}
	.avatar-placeholder-active em {
		display: block;
		background: #fff url(images/ticket-check.png) 50% 15px no-repeat;
		background-color: rgba(255,255,255,0.8);
		width: 125px;
		height: 125px;
		margin: 10px auto;
		line-height: 205px;
	}

.avatar-file {
	margin-top: 40px;
	float: left;
}
.avatar-file small {
	display: block;
}

.ticket {
	border: none;
	float: left;
	margin: 0 15px 10px 0;
	width: 120px;
	height: 140px;
	overflow: hidden;
	position: relative;
	background: none;
	padding: 0;
}
	.ticket .hover {
		width: 100px;
		height: 120px;
		position: absolute;
		top: 10px;
		left: 10px;
		background-color: #fff;
		background-color: rgba(255,255,255,0.6);
		background-image: url(images/ticket-check.png);
		background-position: 50% 35%;
		background-repeat: no-repeat;
		opacity: 0; 
		z-index: -1;
		-webkit-transition: 0.3s linear all;
		   -moz-transition: 0.3s linear all;
		    -ms-transition: 0.3s linear all;
		     -o-transition: 0.3s linear all;
	}
	.ticket:hover .hover, .ticket-active .hover {
		opacity: 0.9;
		z-index: 1;
	}
	.ticket-active .hover {
		background-color: rgba(255,255,255,0.9);
	}
	.ticket:hover img, .ticket:hover button {
		-webkit-transition: 0.3s linear all;
	       -moz-transition: 0.3s linear all;
	        -ms-transition: 0.3s linear all;
	         -o-transition: 0.3s linear all;
		-webkit-transform: rotateY(360deg);
		   -moz-transform: rotateY(360deg);
	}
	.anystretch {
/*		position: fixed !important;*/
	}
.ticket-details {
	float: left; line-height: 1;
	width: 165px;
}
#ticket p {
	margin-right: 0;
}
#ticket em {
	margin: 0 0 22px;
	display: block;
}
#ticket .select-half {
	width: 165px;
	margin: 8px 0 0;
}
#ticket .terms {
	font-size: 14px;
	font-style: italic;
}
.total {
	clear: both;
	padding: 10px 0 0;
	border-top: 2px solid #007990;
	overflow: hidden;
	margin: 0 0 30px;
}
.total-label {
	text-transform: uppercase;
	font-size: 24px;
	line-height: 45px;
	float: left;
}
.total-price, .total-price strong {
	float: right;
}

/* Sponsors
===================================================================== */

.sponsors {
	clear: both;
	padding: 60px 0 0;
}
.sponsors h2 {
	margin: 10px 0 0;
	text-shadow: 1px 1px 1px #eee;
}
.sponsors img {
	margin: 0 20px 20px 0;
	vertical-align: middle;
}
.sponsors a {
	border: none;
}

/* Tables
   ===================================================================== */
table {
	width: 100%;
}
th, td {
	border: 1px solid #ddd;
	padding: 10px;
	width: 50%;
	text-align: center;
}
thead th {
	text-transform: uppercase;
	color: #777;
	background: #f5f5f5;
}

/* Layout
   ===================================================================== */
.col-half {
	width: 310px;
	float: left;
	margin-right: 40px;
}

.form-avatar, .form-submit {
	text-align: center;
}

.hide, .joyride {
	display: none;
}

#info, #ticket {
	position: relative;
}
#info-error, #ticket-error {
	display: none;
	position: absolute;
	top: 33px;
	left: 0;
}

.kern-8 {
	letter-spacing: -8px;
}
.kern-6 {
	letter-spacing: -6px;
}
.kern-4 {
	letter-spacing: -4px;
}
.kern-2 {
	letter-spacing: -2px;
}

/* Map
   ===================================================================== */
iframe { vertical-align: top; }
#canvas_holder {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%; 
	height: 100%;
	z-index: 0;
}
#map {
	width: 100%;
	height: 100%; 
	position: absolute; 
	top: 0; 
	left: 0; 
	overflow: hidden;
}
.marker {
	text-align: center;
	font-size: 24px;
}

/* mention specific elements only so you can click on more areas on the map */
.section-venue h1, .section-venue article {
	position: relative;
	z-index: 100;
}

.section-venue .subheading {
	margin: 0;
}
.section-venue .subheading h2 strong {
	font-size: 72px;
}
.section-venue .subheading h3 {
	margin: 0;
}
.section-venue article {
	position: relative;
	top: 150px;
/*	padding-bottom: 300px;*/
}
.section-venue article {
	width: 270px;
	padding: 15px;
	background: #fff;
	background: rgba(255,255,255,0.95);
	-webkit-box-shadow: 5px 5px 10px rgba(0,0,0,0.1);
	   -moz-box-shadow: 5px 5px 10px rgba(0,0,0,0.1);
	     -o-box-shadow: 5px 5px 10px rgba(0,0,0,0.1);
	        box-shadow: 5px 5px 10px rgba(0,0,0,0.1);
}
.section-venue .col-half {
	width: auto;
}
.section-venue form p {
	float: none;
	margin-right: 0;
}
.section-venue .text {
	width: 260px;
}
.section-venue .button-small {
	width: 175px;
	float: left;
}
.view-on-google {
	float: right;
/*	word-spacing: 2px;*/
	font-size: 70%;
	border-bottom-color: #ccc;
	font-style: italic;
	margin: 10px 0 0;
	padding: 0;
}
#origin:focus {
	-webkit-border-radius: 5px 5px 0 0;
	   -moz-border-radius: 5px 5px 0 0;
	    -ms-border-radius: 5px 5px 0 0;
	     -o-border-radius: 5px 5px 0 0;
	        border-radius: 5px 5px 0 0;
}
input::-webkit-input-placeholder,
input::-moz-input-placeholder {
	color: #fff;
	opacity: 0.5;
}
/* placeholder menu */
.pac-container {
	border: none;
	-webkit-box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
	   -moz-box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
	     -o-box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
	        box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
}

/* Media Queries
   ===================================================================== */
@media only screen and (max-width: 799px) { 
	section {
		padding: 10%;
		-webkit-background-size: auto 100%;
		   -moz-background-size: auto 100%;
		        background-size: auto 100%;
	}
	header, header h1 {
		height: auto;
	}
	#page header h1 {
		width: 100%;
		text-indent: 0;
		background: none;
		font-size: 72px;
	}
	h2 {
		margin: 20px 0;
		height: auto;
	}
	.hint, .section-tickets .hint {
		width: auto;
		padding: 0 0 10px;
	}
	.menu {
		position: relative;
		font-size: 30px;
	}
	.menu li, .menu .contact, .menu .sponsor, .menu .help {
		width: 100%;
	}
	.menu a {
		padding: 3%;
		text-align: left;
	}
	.section-venue .text {
		width: 97%;
	}
	#index {
		-webkit-background-size: auto 100%;
		   -moz-background-size: auto 100%;
		        background-size: auto 100%;
	}
	#social {
		top: 30px;
	}
}
@media only screen and (max-width: 750px) {
	section {
		padding: 5% 5% 10%;
	}
	.col-half {
		width: 100%;
		margin-right: 0;
	}
	form p {
		float: none;
		clear: both;
		overflow: hidden;
		max-width: none;
		margin-right: 0;
	}
	.text {
		width: 96.5%;
	}
	.select {
		width: 99.99%;
		background-position: 97% 50%;
	}
	.avatar-file {
		margin: 20px 0 0;
	}
	#ticket p {
		overflow: hidden;
		margin: 20px 0;
	}
	#ticket .ticket-details {
		width: 135px;
	}
	#ticket .select-half {
		width: 100%;
	}
	.button-large {
		width: 100%;
	}
	#index {
		min-height: 0 !important;
	}
	#ffc {
		margin-bottom: 0;
	}
	.section-venue article, .section-venue .col-half {
		width: auto;
		float: none;
	}
	.section-venue article {
		top: 200px;
	}
	.marker {
		font-size: 16px;
	}
	#social {
		top: 5%;
	}
}