* { margin: 0; padding: 0; }
body { background-color: #6f737a; font-family: 'Open Sans', sans-serif; font-size: 18px; }
div { box-sizing: border-box; }
.clear { clear: both; }


/* WHITE AREA THAT 'CONTAINS' THE WEB PAGE */
#page-container { max-width: 1100px; background-color: #fff; margin: 0 auto; padding: 20px 15px 25px 15px; }


/* SITE HEADER */
#header { position: relative; /*border: 1px red solid;*/ padding-bottom: 25px; }

#home-button { width: 40px; height: 40px; position: absolute; top: 5px; right: 5px; }
#home-button img { width: 100%; height: auto; border: none; }

#site-title h1 { font-size: 50px; text-align: center; padding: 0 0 20px 0; font-weight: 400; color: #cf0101; }
#site-tagline { width: 75%; max-width: 620px; margin: 0 auto; padding: 0 15px 25px 15px; }
#site-tagline h2 { font-size: 18px; text-align: center; font-weight: 400; }


/* MAIN NAVIGATION */
#nav { width: auto; max-width: 1170px; margin: 0 auto; }
.nav-button { position: relative; float: left; height: 60px; width: 169px; margin-right: 10px; border-radius: 7px; background-color: #3a79ae; -moz-transition: background-color .3s ease-in; -webkit-transition: background-color .3s ease-in; transition: background-color .3s ease-in; padding: 8px 5px 5px 5px; margin-bottom: 10px; }
.nav-button.on { background-color: black; }
.nav-button:hover { background-color: #1e4b72; }
.nav-button.on:hover { background-color: black; }
.nav-button a { display: block; height: 100%; width: 100%; text-align: center; color: #fff; font-weight: 400; text-decoration: none; font-size: 16px; }
#btn6, #btn12 { margin-right: 0; }
.nav-button.single { padding-top: 18px; }

.drop-down { display: none; position: absolute; width: 200px; left: 0; z-index: 9999; background-color: black; padding: 15px 10px 10px 10px; color: #fff; text-align: left; border-radius: 0 7px 7px 7px; }
.drop-down a.sub { color: #fff; text-decoration: none; font-size: 16px; line-height: 40px; display: inline; }
.drop-down a:hover { color: #bbb; }

/* CUSTOM WIDTHS FOR THESE TWO DROP-DOWN MENUS*/
#assembly-drop { width: 250px; }
#background-drop { width: 300px; }

/* MOBILE MENU BUTTON AND NAVIGATION */
#mobile-menu { display: none; position: absolute; width: 25px; height: 25px; right: 15px; bottom: 25px; }
#mobile-menu-button img { width: 100%; height: auto; }

#mobile-nav { display: none; width: 250px; position: absolute; right: 0; z-index: 99999; background-color: black; padding: 15px; font-weight: normal;  }
.nav-cat { height: 40px; right: 0; left: 0; border: 1px solid #3f4c62; border-width: 0 0 1px 0; color: #000; font-size: 14px; overflow: hidden; position: relative; }
.nav-cat a { position: relative; display: inline-block; width: 100%; padding-top: 12px; padding-bottom: 25px;    color: #fff; text-decoration: none; }
.nav-sub { display: none; }
.nav-symbol { position: absolute; top: -3px; right: 10px; }
.nav-symbol a { color: #fff; font-size: 20px; text-decoration: none; }
.nav-sub ul { list-style-type: none; margin: 0; padding: 0; }
.nav-sub ul li { height: 40px; width: auto; border: 1px solid #aaa; border-width: 0 0 1px 0; padding-left: 5px; color: #fff; font-size: 14px; overflow: auto; background-color: #3a79ae; }
.nav-sub ul li a { display: block; padding-top: 12px; color: #fff; text-decoration: none; }
.nav-sub ul li { text-indent: 15px; }
#mobile-close { text-align: center; padding-top: 10px; }
#close-link { display: inline-block; width: 30px; border-radius: 20px; background-color: #999; padding-top: 4px; }
#close-link a { font-size: 30px; color: #fff; text-decoration: none; line-height: .75em; }


/* PAGE BODY CONTENT */
.content { background-color: #f8f8f8; padding: 35px 20px; }
.content h2 { font-weight: 400; font-style: normal; font-size: 25px; margin-bottom: 20px; }
.content h3 { font-weight: 400; font-style: normal; font-size: 20px; margin-bottom: 5px; margin-top: 25px; }
.content p { font-weight: 400; font-size: 18p; margin-bottom: 15px; line-height: 26px; } 
.content a { color: #3a79ae; font-weight: 400; }
.content h2.page-title { font-size: 32px; margin-bottom: 50px; }

p b { font-weight: 600; }
hr { margin-top: 35px; margin-bottom: 25px; }

.centered-image { margin: 0 auto; }
.centered-image img { display: block; width: 100%; height: auto; }

/* FOR CAPTIONS THAT ARE WITHIN THE IMAGE BOX AND ARE THE SAME WIDTH AS THE IMAGE */
.centered-image .caption { padding-top: 10px; text-align: center; font-size: 15px; }

/* FOR LARGER CAPTIONS OUTSIDE THE IMAGE BOX THAT EXCEED THE WIDTH OF THE IMAGE ITSELF */
.caption.solo { padding-top: 10px; text-align: center; font-size: 15px; margin: 0 auto; }

/* CURRENTLY ONLY USED FOR THE BOOK COVER ON THE 'ORIGIN' PAGE */
img.inline { display: inline; float: left; padding-right: 15px; padding-bottom: 15px; }
img.step { padding-right: 20px; padding-bottom: 20px; vertical-align: middle; }

/* FOR VIDEOS */
.video-container { position: relative; height: 383px; width: 682px; overflow: hidden; margin: 0 auto; } 
.video-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ORDERED LIST STYLING FOR ASSEMBLY INSTRUTION PAGES */
.content ol { margin-left: 20px; margin-bottom: 25px; margin-top: 25px; }
.content ol li { padding-left: 15px; font-weight: 400; font-size: 18p; margin-bottom: 15px; }


/* SITE FOOTER (COPYRIGHT NOTICE) */
#footer { text-align: center; font-size: 15px; color: #bbb; padding: 25px 15px; }



/*******  MOBILE RESPONSIVENESS STYLE RULES  ********/

@media screen and (max-width: 1100px) {
#nav { width: 900px }
.nav-button { width: 141px; padding-top: 7px; }
/*.nav-button a { font-size: 15px; }*/
#btn1 { padding-top: 7px; }
}

@media screen and (max-width: 930px) {
#site-title h1 { font-size: 40px; }
#nav { width: 700px }
.nav-button, #btn1 { width: 108px; padding-top: 6px; height: 50px; }
.nav-button.single { padding-top: 15px; }
.nav-button a { font-size: 13px; }
.content h2 { font-size: 22px; }
}

@media screen and (max-width: 750px) {
.video-container { width: 516px; height: 290px; }
}

@media screen and (max-width: 740px) {
#home-button { display: none; }
#nav { display: none; }
#mobile-menu { display: block; }
#site-title h1 { font-size: 35px; }
#site-tagline h2 { font-size: 16px; }
}

@media screen and (max-width: 590px) {
.video-container { width: 341px; height: 192px; }
}

@media screen and (max-width: 500px) {
img.inline { float: none; display: block; width: 100%; height: auto; max-width: 203px; margin: 0 auto 25px auto; }
}

@media screen and (max-width: 410px) {
.video-container { width: 100%; height: 192px; }
}