/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a {
    color: inherit;
    text-decoration: none;
}
body {
    background-image: url('../img/styles.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

/* fonts */
h1, h2, h3, h4, h5, h6 {
    display: block;
}
h2 {
    font-size: 24px;
}
h3 {
	font-size: 20px;
	margin-top: 10px;
	line-height: 60px;
}
h6 {
    font-size: 10px;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
}
h1 {
    display: none;
}
section p {
    font-size: 15px;
    line-height: 30px;
    font-family: 'Georgia';
    color: #949AA1;
    font-weight: normal;
}
section h2 {
    color: #4E5159;
}
nav ul {
    font-family: 'Gotham Rounded', sans-serif;
    font-weight: 600;
    font-size: 12px;
}



#wrapper {
    display: block;
    margin: auto;
    max-width: 1200px;
    min-width: 900px;
    margin-top: 88px;
}

#main {
    display: inline-block;
    vertical-align: top;
    width: 82%;
    background-color: #f7f9fa;
    margin-right: -4px;
}
#ads {
    display: inline-block;
    vertical-align: top;
    width: 18%;
    min-width: 160px;
    margin-right: -4px;
    box-sizing: border-box;
    padding: 0 20px;
}
#ads div.replaceme {
    background: url('../img/banner_replaceme.png') no-repeat;
    background-size: 160px;
}
#ads div {
    display: block;
    height: 600px;
    margin-top: 15px;
    width: 160px;
}

section {
    background-color: #fff;
    box-sizing: border-box;
    padding: 30px 50px 50px;
    display: inline-block;
    vertical-align: top;
    width: 75%;
    margin-right: -4px;
}

article {
    margin-top: 50px;
}
article:first-of-type {
    margin-top: 0;
}
article h2, article p {
    max-width: 700px;    
}
article h2 {
    line-height: 60px;
}

header {
    height: 240px;
    background-color: orange;
}

#top {
    position: fixed;
    width: 100%;
    min-width: 900px;
    top: 0;
    box-shadow: 1px 0px 3px rgba(0,0,0,0.2);
}
nav {
    box-sizing: border-box;
    height: 65px;
    max-width: 1200px;
    margin: auto;
}

nav #logo {
    display: inline-block;
    vertical-align: top;
    margin-top: 20px;
    float: left;
}
nav #logo img {
    width: 28px;
    display: inline-block;
    vertical-align: top;
}
nav #logo span {
    line-height: 28px;
    vertical-align: top;
    font-size: 16px;
    font-family: 'Arial';
    text-transform: uppercase;
    font-weight: bold;
    margin-left: 15px;
    color: #7B8796;
}
nav ul {
    display: inline-block;
    vertical-align: top;
    text-align: right;
    float: right;
}
nav ul li {
    box-sizing: border-box;
    display: inline-block;
    margin-right: -4px;
    height: 65px;
    color: #4E5159;
    font-family: 'Arial', sans-serif;;
}
nav ul li {
    opacity: 0.4;
}
nav ul li.active {
    opacity: 1;
}
nav ul li:hover {
    opacity: 1;
}
nav ul li.active {
    border-top: 4px solid #a21418;
}
nav ul li a {
    padding: 0 20px;
    height: inherit;
    display: inline-block;
    line-height: 62px;
    box-sizing: border-box;
}

aside {
    display: inline-block;
    vertical-align: top;
    width: 25%;
    height: 100%;
    margin-right: -4px;
}

#top {
    background-color: #fff;
}

footer {
    background-color: #fff;
    text-align: left;
    padding: 0 0 30px;
}
footer p {
    border-top: 1px solid #f7f9fa;
    padding-top: 30px;
    font-size: 14px;
    margin-left: 50px;
    color: #A6B0B5;
}

nav ul li span {
    background-image: url('../img/sprite-icons_nav@2x.png');
    background-repeat: no-repeat;
    background-size: 198px;
    display: inline-block;
    vertical-align: top;
    margin-top: 21px;
    margin-right: 10px;
}
.activities span {
    height: 18px;
    width: 18px;
    background-position: 0 -42px;
}
.traveling span {
    width: 20px;
    height: 16px;
    background-position: -59px -42px;
}
.hotels span {
    width: 20px;
    height: 16px;
    background-position: -119px -42px;
}
.help span {
    width: 18px;
    height: 18px;
    background-position: -180px -42px;
}
nav ul li span {
    opacity: 0.8;
}

nav ul li.active span, nav ul li.active:hover span {
    opacity: 1;
}
.activities.active span {
    height: 18px;
    width: 18px;
    background-position: 0 0;
}
.traveling.active span {
    width: 20px;
    height: 16px;
    background-position: -59px 0px;
}
.hotels.active span {
    width: 20px;
    height: 16px;
    background-position: -119px 0;
}
.help.active span {
    width: 18px;
    height: 18px;
    background-position: -180px 0;
}
header {
    background: url('../img/are.jpg') no-repeat;
    background-size: cover;
}
.indicator {
    width: 0; 
	height: 0; 
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid #000;
    display: inline-block;
    vertical-align: top;
    margin-top: 2px;
}
article ul li {
	display: list-item;
	font-size: 14px;
	line-height: 26px;
	margin-bottom: 11px;
	width: 80%;
	color: #949AA1;
	padding-left: 10px;
	margin-left: 15px;
}
article ul, article ul li {
	list-style: disc;
}
article ul li strong {
	font-weight: 600;
	color: #5F646E;
	display: block;
}
article ul li a {
	font-weight: 600;
	color: #6A91E0;
	display: block;
}
img {
width: 100%;
}