/* reset css */
html, body, a, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, menu, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; font: inherit; vertical-align: baseline; background: transparent; text-rendering: optimizeLegibility; }
html { -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; overflow-y: auto; -ms-text-size-adjust: none; }
article, aside, figure, footer, header, hgroup, nav, section { display: block; }
ul, ol { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing:0; }
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }
input[type="radio"] { vertical-align: text-bottom; }
button { width: auto; }
label, input[type="button"], input[type="submit"], button, input[type="reset"] { cursor: pointer; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, select { text-transform: none; }
button, input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; *overflow: visible; }
button[disabled], html input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *height: 13px; *width: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; }
:hover, :active, :focus { outline: none; }
::selection, ::-moz-selection { background: #000; }
*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.clearfix:before, .clearfix:after { content: '.'; display: block; overflow: hidden; visibility: hidden; font-size: 0; line-height: 0; width: 0; height: 0; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }
.clear { clear: both; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0; }

/* global styles */
* { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
html, body { overflow: hidden; max-width: 1024px; }
body { font: 14px/18px helvetica, arial, sans-serif; }
strong { font-weight: bold; }
h2 { margin-bottom: 20px; font-size: 18px; line-height: 22px; }
header { background: #092141 url(../img/topWrapper.png) no-repeat left center; position: relative; height: 58px; }
header img { display: block; margin: 0 20px; padding: 18.5px 0; }
header a, #mobile_vid_close { position: absolute; right: 18px; top: 50%; background: url(../img/btn-close2.png) no-repeat 0 0; display: block; width: 29px; height: 29px; text-indent: -9999px; margin: -14.5px 0 0; }
aside { width: 25%; float: left; padding: 20px; border-right: solid 1px #bebebe; position: relative; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; }
section { width: 75%; float: left; position: relative; }
#mobile_vid_close { position: absolute; z-index: 100; top: 80px; right: 10px;}

#info_link { position: absolute; right: 17px; top: 15px; background: url(../img/info_icon.png) no-repeat 0 0; display: none; width: 25px; height: 25px; text-indent: -9999px; z-index: 1; }
#info_link.close { background-image: url(../img/info_close_icon.png); }

#timeline_back_link { position: absolute; display: none; background: url(../img/back_arrow.png) no-repeat left center; z-index: 1; padding: 0 0 0 21px; font-size: 12px; color: #426ba4; text-decoration: none; font-weight: bold; left: 17px; top: 19px; }
.secondmarks_showing #timeline_back_link { display: block; }

#video { position: relative; overflow: hidden; }
#video object, #video video, #video iframe { width: 100%; max-width: 100%; margin: 0 auto; display: block; }
#timeline { height: 190px; background: #ebebeb; border-top: solid 1px #bebebe; position: relative; }
#legend { overflow: hidden; border-top: solid 1px #dcdcdc; font-size: 10px; }
#legend li { float: left; padding: 0 0 0 14px; margin: 0 0 0 16px; line-height: 28px; }
#legend li.black { background: url(../img/legend_black_dot.png) no-repeat left center; }
#legend li.blue { background: url(../img/legend_blue_dot.png) no-repeat left center; }
#legend li.green { line-height: 16px; margin-top: 4px; padding-left: 0; }
#legend li.green span { display: block; background: #daf0c1; color: #3a5d15; font-weight: bold; border: solid 2px #4f7f1c; padding: 0 5px; }

#marks { /*height: 160px;*/ height: 100%; overflow: auto; -webkit-overflow-scrolling: touch; }
#marks ul { overflow: hidden; font-size: 12px; line-height: 13px; height: 100%; position: relative; }
#marks ul#primary_marks { /*width: 3350px;*/ /*width: 1780px;*/ width: 1400px; background: url(../img/marksbg.png) repeat-x center; }
#marks #secondary_marks { height: 100%; position: relative; /*overflow: auto;*/ }
#marks #secondary_marks li { cursor: pointer; font-weight: bold; }
#marks #secondary_marks li.titleli span { border: solid 1px #4f7f1c; padding: 0 5px; color: #3a5d15; background: #fff; line-height: 23px; display: block; cursor: pointer; font-weight: bold; cursor: default; }
#marks #secondary_marks li.link { border-left: solid 1px #bebebe; /*padding-left: 14px; margin-top: 3px; margin-bottom: 3px;*/ padding: 3px 0 3px 14px; }
#marks #secondary_marks li.link.first { border: 0; padding-left: 0; }
#marks #secondary_marks li.link span { color: #3a5d15; border-bottom: solid 1px #c2dba8; line-height: 16px; margin: 1px 0; }
#marks #secondary_marks li.link.active span { border: 0; color: #000; }
/*#marks #secondary_marks div { width: 100%; overflow: auto; height: 100%; }*/


#marks ul li { float: left; margin: 0 0 0 20px; position: relative; white-space: nowrap; top: 50%; top: 86px\9; }
#marks ul li span { display: block; }

#marks ul li.green { font-weight: bold; padding-left: 11px; margin-left: 0; z-index: 1;}
#marks ul li.green.top { background: url(../img/green_dot_top.png) no-repeat left 11px; padding-bottom: 32px; margin-top: -49px; }
#marks ul li.green.bottom { background: url(../img/green_dot_bot.png) no-repeat left top; padding-top: 30px; margin-top: -5px; }
#marks ul li.green span { border: solid 1px #4f7f1c; padding: 0 5px; color: #3a5d15; background: #daf0c1; line-height: 21px; display: block; cursor: pointer; }
/*#marks ul li.green span:hover { background: #fff; }*/

#marks ul li.year { margin-right: 0; margin-top: -13px; }
#marks ul li.year span { background: #ebebeb; padding: 0 3px; margin: 7px 0; color: #a9a9a9; font-size: 16px; font-weight: bold; }

#marks ul li.black { font-weight: bold; line-height: 26px; }
#marks ul li.black.top { background: url(../img/black_dot_top.png) no-repeat left 12px; padding-bottom: 30px; padding-left: 14px; margin-top: -51px; }
#marks ul li.black.bottom { background: url(../img/black_dot_bot.png) no-repeat left 0; padding-top: 30px; padding-left: 14px; margin-top: -6px; }

#marks ul li.blue { font-weight: bold; line-height: 26px; color: #5555a3; }
#marks ul li.blue.top { background: url(../img/blue_dot_top.png) no-repeat left 12px; padding-bottom: 29px; padding-left: 14px; margin-top: -51px; }
#marks ul li.blue.bottom { background: url(../img/blue_dot_bot.png) no-repeat left 0; padding-top: 28px; padding-left: 14px; margin-top: -5px; }

#rotate_alert { font-weight: bold; font-size: 18px; text-align: center; display: none; margin: 20px 0 0; color: #232323; }
#rotate_alert img { display: block; margin: 0 auto 12px; }

.from_article { color: #999; position: absolute; bottom: 0; left: 0; margin: 20px; font-size: 12px; color: #828282; }
.from_article a { font-weight: bold; color: #426ba4; text-decoration: none; border-bottom: solid 1px #bbcce1; }
/*.from_article a:hover { border: 0; }*/

#smartphone_only { overflow: hidden; padding: 20px 0; display: none; }
#smartphone_only div { float: left; width: 33%; text-align: center; }
#smartphone_only div a { font-size: 16px; line-height: 20px; text-decoration: none; font-weight: bold; color: #426ba4; border-bottom: solid 2px #426ba4; }

#video_placeholder { background: url(../img/ajax-loader.gif) no-repeat center center; }
#video_placeholder > span { width: 100%; }

/* media queries */
body.mobile #marks { background: url(../img/marksbg.png) repeat-x center; }
body.mobile .secondmarks_showing #marks { background: none; }
body.mobile #secondary_marks { background: #ebebeb; }
body.mobile header a { display: none; }

body.portrait section { width: 100%; }
body.portrait aside { float: none; height: auto; width: auto; border: 0; border-bottom: solid 1px #bebebe; overflow: hidden; }
body.portrait aside .from_article { position: static; margin: 20px 0 0; }

body.desktop { max-height: 768px; }
body.desktop h2 strong, body.landscape h2 strong { display: block; }

body.landscape.break2 .secondmarks_showing #info_link, body.landscape.break4 .secondmarks_showing #info_link, body.landscape.break2 .secondmarks_showing #info_close_link, body.landscape.break4 .secondmarks_showing #info_close_link { display: block; }
body.landscape.break2 section, body.landscape.break4 section { width: 100%; }
body.landscape.break2 aside, body.landscape.break4 aside { position: absolute; top: 58px; left: -320px; z-index: 100; background: #fff; width: 320px; -webkit-transition: left 0.3s ease; -moz-transition: left 0.3s ease; -o-transition: left 0.3s ease; -ms-transition: left 0.3s ease; transition: left 0.3s ease; }
body.landscape.break2 aside.showing, body.landscape.break4 aside.showing { left: 0; }

body.portrait.break2 aside p { width: 55%; float: left; margin-right: 10%; }
body.portrait.break2 aside p.from_article { width: 35%; margin-right: 0; margin-top: 0; }

body.break3.portrait section { display: none; }
body.break3.portrait aside { border: 0; }
body.break3.portrait aside #rotate_alert { display: block; }
body.break3.landscape aside { display: none; }
body.break3.landscape section { width: 100%; height: auto !important; }

.mobile_move { position: absolute !important; top: -1000px; }

body.break3 { background: #ebebeb; }
body.break3.landscape .play_video_show { display: block; border: 0; width: 100%; height: auto !important; }
body.break3.landscape .play_video_show .from_article { position: static; margin: 20px 0; }
body.break3.landscape .play_video_show #rotate_alert { display: none; }
body.break3.landscape .play_video_show #smartphone_only { display: block; }
/*body.break3 #timeline { height: auto !important; }*/
body.break3 #video_placeholder { background-image: url(../img/ajax-loader-mobile.gif); }