/*
*
* DDXGS
* By Michael Tussey
* July 2013
*
*/

/* Table of Content
==================================================
	#Site Styles
	#Slide Styles
	#Media Queries
	#Font-Face

/* #Site Styles
================================================== */

	body, html, #content {
		height: 100%;
		color: #171616;
		font: 16px/26px 'Open Sans', Helvetica, Arial, sans-serif;
	}
	
	a, a:visited {
		text-decoration: none;
		color: #dc3818;
		
		-webkit-transition: all 1000ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
		-moz-transition: all 1000ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
		-ms-transition: all 1000ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
		-o-transition: all 1000ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
		transition: all 1000ms cubic-bezier(0.420, 0.000, 0.580, 1.000); /* ease-in-out */
	}
	
	a:hover {
		-webkit-transition: all 100ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
		-moz-transition: all 100ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
		-ms-transition: all 100ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
		-o-transition: all 100ms cubic-bezier(0.420, 0.000, 0.580, 1.000); 
		transition: all 100ms cubic-bezier(0.420, 0.000, 0.580, 1.000); /* ease-in-out */
	}
	
	/* overall wrapper */
	#content {
		position: relative;
	}
		
	/* desktop-specific styles */
	.desktop { }
	
	/* mobile and generic hidden style. mobile is hidden by default,
	   and revealed using media queries */
	.hidden, .mobile {
		display: none;
	}
	
	h2 {
		font: 30px/38px 'Gorilla', Times, 'Times New Roman', serif;
		text-transform: uppercase;
		position: relative;
	}
	
	.rule {
		height: 3px;
		background: #171616;
	}
	
	.relative {
		position: relative;
	}
	
	.neutral-margin {
		margin-bottom: 0;
	}
	
	/* fixes mobile background bug */
	.mobile-bg {
		background-attachment: scroll !important;
	}


	
/* Slide Styles
================================================== */

	/********** Cover Slide **********/
	#cover {
		position: relative;
		overflow: hidden;
		width: 100%;
		height: 100%;
		background: url(../images/photo-header.jpg) fixed no-repeat;
		background-size: cover;
	}
	
	#cover .container {
		position: relative;
		overflow: hidden;
		height: 100%;
	}
	
	#cover-logo {
		margin-top: 100px;
		width: 636px;
		height: 322px;
		background-image: url(../images/title-dane-danner.png);
		background-size: 636px 322px;
	}
	
	/* arrow button at lower right of yeller cover slide */
	.down-to-flyer {
		position: absolute;
		left: 35px;
		bottom: 0;
		opacity: 1;
		
		-webkit-transition: all 1000ms cubic-bezier(0.770, 0.000, 0.175, 1.000); 
		-moz-transition: all 1000ms cubic-bezier(0.770, 0.000, 0.175, 1.000); 
		-ms-transition: all 1000ms cubic-bezier(0.770, 0.000, 0.175, 1.000); 
		-o-transition: all 1000ms cubic-bezier(0.770, 0.000, 0.175, 1.000); 
		transition: all 1000ms cubic-bezier(0.770, 0.000, 0.175, 1.000); /* easeInOutQuart */
		
		-webkit-transform: translate3d(0,0,0);
		-moz-transform: translate3d(0,0,0);
		-ms-transform: translate3d(0,0,0);
		-o-transform: translate3d(0,0,0);
		transform: translate3d(0,0,0);
	}
	
	/* this class hides it by default. we animate and reveal with jquery */
	.down-arrow-reveal {
		bottom: -77px;
	}
	
	.down-to-flyer a {
		display: block;
		width: 77px;
		height: 77px;
		background: url(../images/icon-arrow-down.png);
		
	}
	
	/* we slide it back down, push it back up with a waypoint, so it
	   looks like the back to top arrow kinda turns into the down arrow */
	.down-to-flyer.stuck {
		bottom: -77px;
		opacity: 0;
	}
	
	.slide {
		padding: 150px 0;
	}
	
	/********** Info Slide **********/
	.row.details {
		margin-bottom: 0;
	}
	
	.details .address {
		font-size: 14px;
		font-weight: bold;
		text-transform: uppercase;
		line-height: 45px;
	}
	
	.map {
		display: inline-block;
		margin-left: 5px;
		text-transform: none;
		font-style: italic;
		font-weight: normal;
	}
	
	.intro {
		font-size: 14px;
		font-weight: bold;
		text-transform: uppercase;
		margin-bottom: 0;
	}
	
	.details .date-time-icon {
		text-align: right;
	}
	
	.details .rule {
		margin-bottom: 30px;
	}
	
	.social-links {
		position: absolute;
		bottom: 0;
		right: 0;
		font-size: 20px;
	}
	
	.social-links a, .social-links a:visited {
		color: #171616;
	}
	
	.social-links ul {
		list-style-type:none;
		margin:0;
		padding:0;
	}
	
	.social-links ul li {
		display:inline-block;
		margin-left: 10px;
	}
	
	/********** Quote Slide **********/
	#quotation {
		background: url(../images/photo-garage.jpg) fixed no-repeat;
		background-size: cover;
		background-position: center center;
		height: 500px;
		color: #fff;
		text-align: center;
		position: relative;
	}
	
	.quoted-text {
		font: 45px/55px 'Gorilla', Times, 'Times New Roman', serif;
		text-transform: uppercase;
		display: block;
		margin-bottom: 25px;
	}
	
	.attribution {
		font-weight: bolder;
		text-transform: uppercase;
	}
	
	/********** Interview Slide **********/
	#interview {
		background: #b9ab8b;
	}
	
	#interview a, #interview a:hover {
		color: #171616;
		text-decoration: underline;
	}
	
	#interview .author {
		text-align: right;
		line-height: 42px;
		font-style: italic;
	}
	
	#interview .author a, #interview .author a {
		color: #171616;
		text-decoration: underline;
	}
	
	#interview .rule {
		margin-bottom: 50px;
	}
	
	.question {
		font-weight: bold;
		margin-bottom: 10px;
	}
	
	#interview blockquote {
		font: 38px/50px 'Gorilla', Times, 'Times New Roman', serif;
		margin: 0 0 25px;
		padding: 0;
		border-left: 0;
		color: #171616;
		font-style: normal;
	}
	
	/********** Photo Slides **********/
	.preview-shot {
		background-attachment: fixed;
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center center;
		height: 100%;
	}
	
	#photo-1 { background-image: url(../images/photo-preview-01.jpg); }
	#photo-2 { background-image: url(../images/photo-preview-02.jpg); }
	#photo-3 { background-image: url(../images/photo-preview-03.jpg); }
	#photo-4 { background-image: url(../images/photo-preview-04.jpg); }
	#photo-5 { background-image: url(../images/photo-preview-05.jpg); }
	
	/********** Footer Slides **********/
	
	footer.slide {
		text-align: center;
		padding: 150px 0 30px;
	}
	
	a.rsvp, a.rsvp:visited {
		margin-top: 25px;
		width: 200px;
		line-height: 35px;
		font-size: 12px;
		height: 35px;
		display: inline-block;
		background: #171616;
		border-radius: 35px;
		color: #fff;
		font-weight: bold;
		text-transform: uppercase;
	}
	
	a.rsvp:hover {
		background: #dc3818;
	}
	
	.copyright {
		font-size: 12px;
		margin-top: 140px;
	}
	

/* #Media Queries
================================================== */

	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 959px) { }
	
	@media only screen and (min-width: 960px) and (max-width: 1199px) {	}

	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {
		body, html, #content {
			font: 14px/22px 'Open Sans', Helvetica, Arial, sans-serif;
		}
	}

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) { 
		body, html, #content {
			font: 14px/22px 'Open Sans', Helvetica, Arial, sans-serif;
		}
	}

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {
		.slide {
			padding: 50px 0;
		}
		
		#cover-logo {
			margin-top: 30px;
			width: 318px;
			height: 161px;
			background-size: 318px 161px;
		}
		
		.down-to-flyer {
			left: 15px;
		}
		
		.details .address {
			line-height: 22px;
		}
		
		.details .date-time-icon {
			display: none;
		}
		
		#quotation {
			height: 200px;
		}
		
		.quoted-text {
			font: 20px/25px 'Gorilla', Times, 'Times New Roman', serif;
		}
		
		#interview .author {
			line-height: 22px;
			text-align: left;
		}
		
		#interview blockquote {
			font: 28px/35px 'Gorilla', Times, 'Times New Roman', serif;
		}
		
		footer.slide {
			padding: 70px 0 50px;
		}
		
		.copyright {
			margin-top: 30px;
		}
	}

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {
		.slide {
			padding: 50px 0;
		}
		
		#cover-logo {
			margin-top: 30px;
			width: 318px;
			height: 161px;
			background-size: 318px 161px;
		}
		
		.down-to-flyer {
			left: 15px;
		}
		
		.details .address {
			line-height: 22px;
		}

		.details .date-time-icon {
			display: none;
		}
		
		.social-links {
			position: relative;
		}	
		
		#quotation {
			height: 200px;
		}
		
		.quoted-text {
			font: 20px/25px 'Gorilla', Times, 'Times New Roman', serif;
		}
		
		#interview .author {
			line-height: 22px;
			text-align: left;
		}
		
		#interview blockquote {
			font: 22px/28px 'Gorilla', Times, 'Times New Roman', serif;
		}
		
		footer.slide {
			padding: 70px 0 50px;
		}
		
		.copyright {
			margin-top: 30px;
		}
	}
	
	@media only screen and (-webkit-min-device-pixel-ratio : 1.5), only screen and (min-device-pixel-ratio : 1.5) {
		#cover-logo {
			background-image: url(../images/title-dane-danner@2x.png);
		}
	}


/* #Font-Face
================================================== */

@font-face {
    font-family: 'Gorilla';
    src: url('../fonts/gorilla/gorilla-webfont.eot');
    src: url('../fonts/gorilla/gorilla-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/gorilla/gorilla-webfont.woff') format('woff'),
         url('../fonts/gorilla/gorilla-webfont.ttf') format('truetype'),
         url('../fonts/gorilla/gorilla-webfont.svg#gorillaregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/open-sans/OpenSans-Regular-webfont.eot');
    src: url('../fonts/open-sans/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/open-sans/OpenSans-Regular-webfont.woff') format('woff'),
         url('../fonts/open-sans/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('../fonts/open-sans/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/open-sans/OpenSans-Italic-webfont.eot');
    src: url('../fonts/open-sans/OpenSans-Italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/open-sans/OpenSans-Italic-webfont.woff') format('woff'),
         url('../fonts/open-sans/OpenSans-Italic-webfont.ttf') format('truetype'),
         url('../fonts/open-sans/OpenSans-Italic-webfont.svg#open_sansitalic') format('svg');
    font-weight: normal;
    font-style: italic;

}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/open-sans/OpenSans-Bold-webfont.eot');
    src: url('../fonts/open-sans/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/open-sans/OpenSans-Bold-webfont.woff') format('woff'),
         url('../fonts/open-sans/OpenSans-Bold-webfont.ttf') format('truetype'),
         url('../fonts/open-sans/OpenSans-Bold-webfont.svg#open_sansbold') format('svg');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/open-sans/OpenSans-ExtraBold-webfont.eot');
    src: url('../fonts/open-sans/OpenSans-ExtraBold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/open-sans/OpenSans-ExtraBold-webfont.woff') format('woff'),
         url('../fonts/open-sans/OpenSans-ExtraBold-webfont.ttf') format('truetype'),
         url('../fonts/open-sans/OpenSans-ExtraBold-webfont.svg#open_sansextrabold') format('svg');
    font-weight: bolder;
    font-style: normal;
}


