/* CSS Document for Screens */


@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,700,700i');
@import url('https://fonts.googleapis.com/css?family=Ubuntu:300,300i,400');

body { font-family: 'Ubuntu', sans-serif; font-size: 16px; font-weight: 300; color: #000; margin: 0; padding: 0; }

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

#page { max-width: 1200px; margin: 0 auto; position: relative; }


h1 { margin: 0 0 1em 0; font-size: 2.9em; font-weight: 700; }
h2 { margin: 0 0 .5em 0; font-size: 1.6em; font-weight: 700; line-height: 1.1em; }
h3 { margin: 0 0 .5em 0; font-size: 1.3em; font-weight: 700; }
h3 { margin: 0 0 1.5em 0; font-size: 1em; font-weight: 700; }

p { margin: 0 0 1em 0; }

a { color: #007eff; }
a:visited { color: #65b1ff; }

/*This is the button below the Bustinwheels title in the header logo*/
a.btn { font-size: 2.4em; font-weight: 600; text-shadow: 3px 4px 1px #000;text-decoration: none; color: #fff; }


a.btn:hover {
	background-color: rgba(0,0,128,.8);
	color: #f00;
	font-weight: bold;
}
/*HEADER*/


.main-header { height: 480px; background: #cf0004 no-repeat center bottom; position: relative; 
}

.page-one { height: 430px; background: #cf0004 url(../images/banner_1200.jpg) no-repeat center bottom; position: 
		relative; }

.page-two {
  background: url(../images/arizona_1200.jpg);
}

.page-three {
  background: url(../images/baja_1200.jpg);
}

.page-four {
  background: url(../images/boston_1200.jpg);
}
.page-five {
  background: url(../images/california_1200.jpg);
}

.page-six {
  background: url(../images/caminobarb_1200.jpg);
}

.page-seven {
  background: url(../images/canada_1200.jpg);
}

.page-eight {
  background: url(../images/cuba_1200.jpg);
}
.page-nine {
  background: url(../images/europe_1200.jpg);
}

.page-ten {
  background: url(../images/france_1200.jpg);
}

.page-eleven {
  background: url(../images/hawaii_1200.jpg);
}

.page-twelve {
  background: url(../images/ireland_1200.jpg);
}
.page-thirteen {
  background: url(../images/italy_1200.jpg);
}

.page-fourteen {
  background: url(../images/vegas_1200.jpg);
}
.page-fifteen {
  background: url(../images/newyork_1200.jpg);
}

.page-sixteen {
  background: url(../images/NPS_1200.jpg);
}

.page-seventeen {
  background: url(../images/oregon_1200.jpg);
}

.page-eighteen {
  background: url(../images/sequoianps_1200.jpg);
}
.page-nineteen {
  background: url(../images/sonora.jpg);
}

.page-twenty {
  background: url(../images/spain_1200.jpg);
}

.page-twentyone {
  background: url(../images/USA_1200.jpg);
}
.page-twentytwo {
  background: url(../images/vatican_1200.jpg);
}
.page-twentythree {
  background: url(../images/harleyusa_1200.jpg);
}
.page-twentyfour {
  background: url(../images/cinqueterre_1200.jpg);
}
.page-twentyfive {
  background: url(../images/venice_1200.jpg);
}
.page-twentysix {
  background: url(../images/florenceduomo_1200.jpg);
}
.page-twentyseven {
  background: url(../images/pisa_1200.jpg);
}
.page-twentyeight {
  background: url(../images/covarrubias_1200.jpg);
}
.page-twentynine {
  background: url(../images/pamplona_1200.jpg);
}
.page-thirty {
  background: url(../images/BCNFountain_1200.jpg);
}
.page-thirtyone {
  background: url(../images/burgos_1200.jpg);
}
.page-thirtytwo {
  background: url(../images/dc_1200.jpg);
}
.page-thirtythree {
  background: url(../images/bryce_1200.jpg);
}
.page-thirtyfour {
  background: url(../images/sequoianps_1200.jpg);
}
.page-thirtyfive {
  background: url(../images/joshua_1200.jpg);
}
.page-thirtysix {
  background: url(../images/zion_1200.jpg);
}
.page-thirtyseven {
  background: url(../images/grandcyn_1200.jpg);
}




header a.logo { 
	z-index: 1;
	position: absolute; display: block; width: 160px; height: 66px;
	background: url(../images/logo.svg) no-repeat 0 0; background-size: contain;
	top: 15px; left: 20px;
}

header a.logo span { display: none; }

/*THIS DIV.HERO TAG CONTROLS THE TEXT IN THE MIDDLE OF THE TOP BANNER, CHANGE THE LEFT: TO 40% TO CHANGE THE POSITION*/
header div.hero {
	position: absolute;
	width: 72%;
	top: 215px;
	left: 20%;
}
header div.hero h1 { line-height: 1em; margin: 0 0 30px 0; color:#fff; text-shadow: 3px 4px 5px #000; }

/*THIS AFFECTS THE "GET ADVICE FROM AN EXPERT" AREA*/

#social-media-icons { float: right; }
#social-media-icons ul li { display: inline; }
#social-media-icons ul { padding-top: 10px; }

/*SECTION ALL*/

section { padding: 0 30px; }
section::after { content:''; display: block; clear: both; }

/*SECTION MAIN*/

section.main { margin-top: 15px; margin-bottom: 5px; padding: 0; }
section.main aside { width: 33%; float: left; text-align: center; }

section.main .content { margin: 15px; background: no-repeat center top; background-size: 75px 75px; padding-top: 85px; }

section.main aside h3 a { color: #000; text-decoration: none; }
section.main aside h3 a:hover { text-decoration: underline; }

section.main aside .content.trending { background-image: url(../images/icon_star.svg); }
section.main aside .content.find-it { background-image: url(../images/icon_marker.svg); }
section.main aside .content.links { background-image: url(../images/icon_gear.svg); }

/*SECTION ABOUT this is called ATMOSPHERE IN THE TUTORIAL SWTICH OUT THE COLOR FOR AN IMAGE*/


section.about { background-color: #EEEEEE; padding-top: 30px; padding-bottom: 30px; color: #000; }


/*testing new section for about with no border around the image and text*/

section.noborderabout { background-color: #fff; padding-top: 30px; padding-bottom: 30px; color: #000; }

section.noborderabout article { padding: 0 20px 0 515px; background: url(../images/photo_lounge.jpg) no-repeat 0 5px; min-height: 220px; }


/*DESTINATION (HOW-TO) SECTION SWTICH OUT THE COLOR FOR AN IMAGE*/

section.destination { background-color: #eee9d9; position: relative; }

section.destination aside { width: 30%; float: left; margin-right: 10px; }

section.destination aside .content { padding: 30px 30px 20px 0; }

section.destination aside .content img { display: block; margin-bottom: 5px; width: 100%; }


section.destination aside .content h4 { margin-bottom: 0; }
section.destination aside .content p { margin-bottom: .5em; }
section.destination aside .content a { display: inline-block; color:#000; font-weight: 700; }

/*BLOCKQUOTE CAN BE DELETED*/

section.destination blockquote { 
	margin: 0; width: 32%;
	color: #444;
	background-color: #fff;
	position: absolute; bottom: 0; right: 4%;
}


section.destination blockquote P { margin: 30px 30px 20px 50px; }

section.destination blockquote p.quote { font: italic; font-size: 1.2em; }

section.destination blockquote p.credit { 
	color: #777;
	font-size: .9em;
	margin-top: 0; padding-left: 20px; line-height: 1.3em;
	position: relative;
}

section.destination blockquote::before { content:"\201c"; color: #d2bd65;
	position: absolute;
	top: 10px;
	left: 8px;
	font-size:5em;
	font-family: serif;
}

section.destination blockquote p.quote::after { content:"\201d"; font-family: serif; }

section.destination blockquote p.credit::before { content:"\2014"; position: absolute; top: -1px; left: 0; }

/*NAVIGATION*/

nav { 
	background-color: rgba(0,0,0,.65);
	position: absolute;
	top: 0px; left: 0px;
	padding: 10px 0 0 0;
	width: 100%;
}

/*CSS CODE BELOW WILL MAKE THE NAV BAR GO ACROSS THE TOP OF THE PAGE*/

nav::after { content:''; display: block; clear: both; }

nav ul { list-style: none; margin: 0; padding: 0px; }

nav ul li:hover { background-color: #2b0306; }
nav ul li:hover > ul { display: block; }

nav ul li a { 
	display: inline-block;
	color: #fff;
	padding: 10px 20px;
	text-decoration: none;
	width: 125px;
	position: relative;
}

nav ul li a:visited { color: #fff; }

nav ul li a:hover { background-color: #6d0911; }

nav ul ul { position: absolute; top: 100%; background-color: #2b0306; display: none; }

nav ul ul li { position: relative; }

nav ul ul ul { left: 100%; top: 0px; }


/*TOP LEVEL NAVIGATION*/

nav > ul { padding-left: 200px; }

nav > ul > li { float: left; }

nav > ul > li > a { width: auto; padding: 10px 20px 15px 20px; }

nav a[aria-haspopup="true"]::after {
	content:'';
	display: block; width: 0px; height: 0px;
	position: absolute;
	top: 16px; right: 15px; 
	border-top: 4px solid transparent; 
	border-bottom: 4px solid transparent; 
	border-left: 4px solid #fff;
}

nav > ul > li > a[aria-haspopup="true"]::after {
	border-left: 4px solid transparent; 
	border-right: 4px solid transparent; 
	border-top: 4px solid #fff;
	left: 20px; right: auto;
	bottom: 6px; top: auto;
}
	


/*FOOTER ELEMENTS*/

footer { font: .8em; margin: 40px; color: #999; }
footer .content { display: inline; }
footer a { margin-left: 30px; color: #777; }
footer a:visited { color: #777; }
footer a:hover { color: #000; }


/*MEDIA QUERIES*/

@media screen and (max-width: 1000px) {
	
	h1 { font-size: 2.4em; }
	
	/*HEADER*/
	
	header div.hero {
	left: 138px;
}
	header div.hero h1 { margin-bottom: 20px; }
	
	/*SECTION ABOUT BUSTINWHEELS*/
	section.about article { padding-left: 400px; background-size: 375px auto; }
	
}
	
	
@media screen and (max-width: 825px) {
		
	h1 { font-size: 1.9em; }
	
	/*HEADER*/
	
	.main-header {
	height: 300px;
}
	header div.hero { top: 160px; left: 48%; }  /*HEADER top adjusted to read the text in the header.*/
	
	/*SECTION ABOUT BUSTINWHEELS */
	section.about article { padding-left: 325px; background-size: 300px auto; }
	
	
	/*DESTINATION  SWTICH OUT THE COLOR FOR AN IMAGE*/
	section.destination blockquote p.quote { font-size: 1.1em; line-height: 1.2em; }
	section.destination blockquote p.credit { font-size: .85em; }
	
}



@media screen and (max-width: 760px) {
	
	h1 { font-size: 1.8em; }
	h2 { font-size: 1.4em; }
	h3 { font-size: 1.1em; }
	a.btn { font-size: 1em; }
	
	/*HEADER*/
	header a.logo { width: 145px; height: 60px; }
	header div.hero {
	top: 159px;
	left: 151px;
}
	
	/*SECTION MAIN*/
	section.main { margin-top: 10px; margin-bottom: 10px; }
	section.main aside div.content { background-size: 55px 55px; padding-top: 60px; }
	
	
	/*SECTION DESTINATION (HOW TO) */
	section.destination aside div.content img { width: 85%; }
	
	
	/*NAVIGATION*/	
	nav { padding-top: 80px; }
	nav > ul { padding-left: 10px; }

}



@media screen and (max-width: 625px) {
		
	h1 { font-size: 1.4em; }
	h3 { margin-bottom: 0px; }
	a.btn { font-size: .9em; }
	
	/*HEADER*/
	.main-header { height: 160px; background-image: url(../images/banner_625.jpg); background-position: left top; }
	
	header a.logo {
			width: 100%; height: 66px;
			left: 0px; top: 0px;
			background-color: rgba(0,0,0,.65);
			background-size: 112px 46px;
			background-position: 20px center;
	}
	header div.hero { width: 300px; top: 55px; left: 130px; }
	header div.hero h1 { margin-bottom: 10px; }
	
	/*SECTION MAIN*/
	section.main aside { width: 100%; float: none; text-align: left; }
	section.main aside div.content { 
		margin: 8px 20px 8px 0;
		padding: 5px 0px 10px 85px;
		background-size: 50px 50px;
		background-position: 20px 5px;
	}
	
	/*SECTION ABOUT (ATMOSPHERE)*/
	
	section.about article { padding: 160px 20px 0px 0px; background-size: 300px auto; min-height: initial; }
			
			
	/*SECTION DESTINATION (HOW TO)*/
	
	section.destination aside { width: 100%; float: none; margin: 0; position: relative; }
	
	section.destination aside div.content { padding: 20px 20px 20px 150px; }
	section.destination aside div.content p { font-size: .9em; }
	section.destination aside div.content img { 
		display: inline-block;
		width: 125px;
		position: absolute;
		top: 30px; left: 0px;
	}
	
	section.destination blockquote {
		margin: 0 20px 0 40px;
		width: 90%;
		padding: 1px 0px 20px 0px;
		position: relative;
		
	}
			
	section.destination blockquote p.credit { margin-bottom: 0; }
	
	
			
	/*NAVIGATION*/	
	nav { position: static; width: auto; padding: 20px 15px; background-color: #4b0a0; }
	
	nav ul,
	nav ul ul,
	nav ul ul ul { display: block; position: static; }
	
	nav > ul { padding: 0; }
	nav > ul > li { float: none; margin-top: 25px; }
	
	nav ul li:hover { background: none; }
	
	nav ul li a {
		width: auto;
		display: block;
		margin: 8px 10px;
		padding: 8px 15px;
		border: 1px solid rgba(255,255,255,.25);
	}
	
	nav ul li a:hover { background-color: rgba(255,255,255,.2); }
	
	nav ul ul {background: none; }
	
	nav ul ul li a { margin-left: 30px; }
	nav ul ul ul li a { margin-left: 60px:}
	
	nav a[aria-haspopup="true"]::after { display: none; }
	
	/*FOOTER*/
	
	footer div.content { display: block;margin-top: 15px; }
	footer div.content a { margin: 0 20px 0 0; }
	
}



@media screen and (max-width: 425px) {
	
	/*HEADER*/
	
	.main-header { height: 110px; background-image: url(../images/banner_425.jpg); }
	
	header a.logo {
			height: 36px; background: rgba(0,0,0,.65) url(../images/logo_small.svg) no-repeat center 	center; background-size: 126px 17px;
	}
	
	header div.hero { width: 100%; left: 0px; top: 46px; text-align: center; }
	
	header div.hero h1 { font-size: 1em; margin-bottom: 10px; }
	
	header div.hero a.btn { padding: 2px 30px; font-size: .8em; }
	
	header div.hero a.btn span { display: none; }
	
	
	/*SECTION DESTINATION*/
	
	section.destination aside div.content { padding: 140px 20px 20px 0px; }
	section.destination aside div.content img { width: auto; height: 100px; top: 30px; }
	section.destination blockquote { margin: 10px 40px 0 20px; }
	
	/*FOOTER*/
	
	footer::after { content:''; display: block; clear: both; }

	footer div.content a {
		display: inline-block; margin: 0 0 10px 0;
		float: left;
		clear: both;
	}
	
}
