/* CSS Document for Screens */



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

body { font-family: 'Open Sans', sans-serif; font-size: 16px; font-weight: 300; color: #555; margin: 0px; padding:0px; background-color:#aab9b6; }
#page { max-width: 1200px; margin: 0 auto; position: relative; } /* defines the width of the page; margins set to 'auto' left and right centers the content */
/* Text */
h1  { margin: 0 0 1em 0;  font-size: 1.6em; font-weight: 400; font-family:'Tinos', serif; letter-spacing:.05em; }
h2  { margin: 0 0 .5em 0;  font-size: 1.2em; font-weight:400; line-height: 1.1em; font-family:'Tinos', serif; letter-spacing:.05em;}
h3  { margin: 0 0 .5em 0;  font-size: 1.2em; font-weight:400; font-family:'Tinos', serif; letter-spacing:.04em;}
h4  { margin: 0 0 1.5em 0;  font-size: 1.1em; font-weight:400; font-family:'Tinos', serif; letter-spacing:.03em;}

p { margin: 0 0 1em 0; }
a { color: #336666; }
a:visited { color: #336666; }

a.btn { font-size: 0.9em; text-decoration:none; color:#fff; border: 1px solid #fff; padding: 4px 15px; background-color: rgba(0,0,0,.3); top: 290px;}
a.btn:hover { background-color: rgba(0,0,0,.5); }

/* Header */
header { height: 430px; background: #c6bdb2 url(../img/banner_room.jpg) no-repeat center bottom; position: relative; }
header a.logo { z-index: 1;
                position: absolute; 
				display: block; width: 117px; height: 28px;
				background: url(../img/logo.svg) no-repeat 0 0; background-size:contain;
				top: 15px; left:20px; } /* display changes the position from inline to block */
				
header a.logo span { display:none; }
header div.hero { position: absolute; width: 42%; top: 60px; left: 47%; }
header div.hero h1 { line-height: 1em; margin: 0 0 30px 0; color: white; }

/* Sections- All */
section { padding: 0, 30px;}
section::after { content: ''; display: block; clear: both; }/* adds margins to the bottom of section */

/* Section main */

section.main { margin-top: 0px; margin-bottom: 0px; padding: 0 0 18px 0; background-color:#fff; }
section.main aside { width: 33%; float:left; text-align: center; }
section.main .content { margin: 15px; background: no-repeat center top; background-size: 65px 65px; padding-top: 65px; }
section.main aside h3 { color: #336666; }
section.main aside h3 a { text-decoration: none; font-size: 1em; }
section.main aside h3 a:hover { text-decoration: underline; }
 
section.main aside .content.deals { background-image: url(../img/deals_icon.svg); }
section.main aside .content.guide { background-image: url(../img/guide_icon.svg); }
section.main aside .content.styles { background-image: url(../img/styles_icon.svg); }
/* Atmosphere */
section.atmosphere { background-color: #cccccc; padding: 30px; color: #000000; }
section.atmosphere article { padding: 0 20px 0 320px; background: url(../img/room.jpg) no-repeat 0 5px; min-height: 150px; }

/* How to */
section.how-to  { background-color: #e6e8e4;  position: relative; }
section.how-to aside { width: 30%; float: left; margin-right: 10px; }
section.how-to aside .content  { padding: 30px 30px 20px 30px; }
section.how-to aside .content img { display: block; margin-bottom: 15px; width: 70%; }
section.how-to aside .content h4 { margin-bottom: 0; }
section.how-to aside .content p { margin-bottom: .5em; }
section.how-to aside .content a { display: incline-block; color: #336666; font-weight: 700; }
section.how-to blockquote { margin: 0px; width: 32%; color: #444; background-color: #fff; position:absolute; bottom: 0; right: 4%;
}
section.how-to blockquote p { margin: 30px 30px 20px 50px; }
section.how-to blockquote p.quote { font-style: italic;  font-size: 1.2em; } 
section.how-to blockquote p.credit { color:#777; font-size:.9em; margin-top: 0; padding-left: 20px; line-height: 1.3em; position: relative; }
section.how-to blockquote p strong { font-weight: 700; color: #336666; }

section.how-to blockquote::before { content: '\201C'; color: #336666;
position: absolute; top: 10px; left: 8px; font-size: 6em; font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif; } /* adds margins to the bottom of section */
section.how-to blockquote p.quote::after { content: '\201d'; font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif; }
section.how-to blockquote p.credit::before { content: '\2014'; position: absolute; top:-1px; left: 0; }

/* Navigation */
nav { background-color: rgba(221,221,221,.75); position: absolute; top: 0px; left: 0px; padding: 9px 0 0 0; width: 100%; font-family:'Tinos', serif; letter-spacing:.04em; font-weight: 400; }
nav::after { content: ''; display: block; clear: both; }
nav ul { list-style: none; margin: 0px; padding: 0px; }
nav ul li:hover { background-color: #669999; }
nav ul li:hover > ul { display: block; }
nav ul li a { display: inline-block; color: #333; padding: 10px 20px; text-decoration: none; width: 125px; position: relative; font-family: 'Tinos', serif; font-size: 1.1em; }
nav ul li a:visited { color: #333; }
nav ul li a:hover { background-color: #99cccc; }
nav ul ul { position: absolute; top: 100%; background-color: #669999; display: none; }
nav ul ul li { position: relative; }

/* Top level */
nav > ul { padding-left: 200px; }
nav > ul > li { float: left; } 
nav ul ul ul { left: 100%; top: 0px; }
nav > ul > li > a { width: auto; padding: 10px; }

/* Arrows turnning right */
nav a[aria-haspopup="true"]::after {
	content:''; 
	display: block; width: 0px; height: 0px; position: absolute; top: 16px; right: 5px;
	border-top:4px solid transparent;  
	border-bottom: 4px solid transparent; 
	border-left: 4px solid #333;
	
}
/* Arrows turnning bottom */
nav > ul > li > a[aria-haspopup="true"]::after { 
border-left:4px solid transparent; 
border-right:4px solid transparent; 
border-top:4px solid #333; 
left: 10px; right: auto;
bottom: 3px; top: auto;
}

/* Navigation end */

/* Footer */
footer { font-size: .8em; margin: 40px; color: #555; }
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: 1.5em; }
	/* Header */
	header div.hero { left: 56%;}
	header div.hero.h1 { margin-bottom: 5px; }
	/* section atmoshere */
	section.atmosphere article { padding-left: 260px; background-size: 220px auto; } /* Setting up a background image size ../img/room.jpg width=375px height to 'auto' in proportion to width */
	
}

@media screen and (max-width: 825px) {
	
	h1 { font-size: 1.3em; }
	/* Header */
	header { height: 300px; background-image: url(../img/banner_825.jpg); }
	header div.hero { top: 60px; left: 48%; }
	
	/* section atmoshere */
	section.atmosphere article { padding-left: 240px; background-size: 200px auto; } /* Setting up a background image size ../img/room.jpg width=375px height to 'auto' in proportion to width */
	
	/* section How to*/
	section.how-to blockquote p.quote { font-size: 1.1em; line-height: 1.2em; }
	section.how-to blockquote p.credit { font-size: .85em; } 
}

@media screen and (max-width: 760px) {	

h1 { font-size: 1.2em; }
h2 { font-size: 1em; }
h3 { font-size: 1.1em; }
h4 { font-size: 1.1em; }
a.btn { font-size: .9em; }
header a.logo { height: 24px; width: 102px; }
header div.hero { top: 140px; left: 48%; }
/* section Main */
section.main { margin-top: 0px; margin-bottom: 0px; bgcolor:#fff; }
section.main aside div.content { background-size: 55px 55px; padding-top: 60px; }
section.main aside p a { font-size: .9em; font-weight: 600; text-decoration: none; }
section.main aside p a:hover { text-decoration: underline; font-color: #669999; }
/* section how to */
section.how-to aside div.content img { width: 85%; }
/* nav */
nav { padding-top: 40px !important; }
nav > ul { padding-left: 10px !important; }

}


@media screen and (max-width: 625px) {	
h1 { font-size: 1em; }
h3 { margin-bottom: 0px; }
a.btn { font-size: .8em; }

/* Header */
header { height: 160px; background-image: url(../img/banner_625.jpg); background-position: left top; }
header a.logo { width: 100%; height: 36px; top: 0px; left: 0px; background-color: rgba(221,221,221,.75); background-size: 112px 36px; background-position: 20px center; } /* setting up a size of logo and menu bar */
/* nav */
nav { position: static; width: auto; padding: 20px 15px; background-color: rgba(221,221,221,.75); }
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,.75); }  
	nav ul li a:hover { background-color: rgba(221,221,221,.2); }  /* width auto sets width to the links width */
	
	nav ul ul { background: none; }
	nav ul ul li a { margin-left: 30px; } /* setting up an indent for the unordered list sublinks*/
	nav ul ul ul li a { margin-left: 60px; }
	nav a[aria-haspopup="true"]::after { display:none; }
	
/* section hero */
header div.hero { width: 300px; top: 50px; left: 130px; }
header div.hero h1 { display: none; }
a.btn { font-size:.9em; margin-bottom: 10px; }
/* section Main */
section.main aside { width: 100%; float: none; text-align: left; background-color: white; } /* setting each column to 100% in width*/
section.main aside div.content { margin: 0px 20px 8px 0; padding: 15px 0px 0px 85px; background-size: 50px 50px; background-position: 20px 10px; } /* setting up the size of the icons and position*/

	
/* section Atmosphere */
section.atmosphere article { padding: 170px 20px 0px 10px; background-size: 300px auto; min-height: initial; background-position: 10px 5px; }

/* how-to */
section.how-to aside { width: 100%; float: none; margin: 0px; position: relative; }	
section.how-to aside div.content { padding: 20px 20px 20px 150px; }
section.how-to aside div.content p { font-size: .9em; }
section.how-to aside div.content img { display: inline-block; width: 125px; position: absolute; top: 30px; left: 0px; }
section.how-to blockquote { margin: 0px 20px 0px 40px; width: 90%; padding: 1px 0px 20px 0px; position: relative; }
section.how-to blockquote p.credit { margin-bottom: 0; }
	
	
/* footer */
	footer div.content { display: block; margin-top: 15px; }
	footer div.content { margin: 0 20px 0 0; }
	
}




@media screen and (max-width: 425px) {	
	header { height: 133px; background-image: url(../img/banner_425.jpg); }
	header a.logo { height: 36px; background: rgba(221,221,221,.75) url(../img/logo.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; }
	/* how-to */
	section.how-to aside div.content { padding: 140px 20px 20px 0px; }
	section.how-to aside div.content img { width: auto; height: 100px; }
	section.how-to blockquote { margin: 10px 40px 0px 20px; font-size: .9em; }
	
	/* footer */
	footer::after { content:''; display: block; clear: both; }
	footer div.content a { display: inline-block; margin: 0 0 10px 0; float: left; clear: both; }
}