/* Flexnav Base Styles */

.flexnav {
-webkit-transition: none;
-moz-transition: none;
-ms-transition: none;
transition: none;
-webkit-transform-style: preserve-3d;
overflow: hidden;
margin: 0 auto;
width: 100%;
max-height: 0;
}
.flexnav.opacity {opacity: 0}
.flexnav.flexnav-show {
max-height: 2000px;
opacity: 1;
-webkit-transition: all .5s ease-in-out;
-moz-transition: all .5s ease-in-out;
-ms-transition: all .5s ease-in-out;
transition: all .5s ease-in-out;
}
.flexnav.one-page {
position: fixed;
top: 50px;
right: 5%;
max-width: 200px;
}
.flexnav li {
font-size: 100%;
position: relative;
overflow: hidden;
}
.flexnav li a {
position: relative;
display: block;
padding: .96em;
z-index: 2;
overflow: hidden;
color: #FFF;
text-decoration: none;
background: none;
border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.flexnav ul.dd {font-size: 90%}
.flexnav li ul {width: 100%}
.flexnav li ul li {
font-size: 100%;
position: relative;
overflow: hidden;
}
.flexnav li ul.flexnav-show li {overflow: visible}
.flexnav li ul li a {
display: block;
background: #B3AB9E;
opacity: 0.9;
}
.flexnav ul li ul li a {background: none}
.flexnav ul li ul li ul li a {background: none}
.flexnav .touch-button {
position: absolute;
z-index: 999;
top: 0;
right: 0;
width: 50px;
height: 50px;
display: inline-block;
background: none;
text-align: center;
}
.flexnav .touch-button:hover {cursor: pointer}
.flexnav .touch-button .navicon {
position: relative;
top: 1em;
font-size: 12px;
color: red;
margin-left: 24px;
}
.menu-button { /* nav "bar" for -800px screen */
position: relative;
display: block;
padding: 1em;
background: #3D2E27;
color: #FFF;
cursor: pointer;
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.menu-button.one-page {
position: fixed;
top: 0;
right: 5%;
padding-right: 45px;
}
.menu-button .touch-button {
background: transparent;
position: absolute;
z-index: 999;
top: 0;
right: 0;
width: 50px;
height: 50px;
display: inline-block;
text-align: center;
}
.menu-button .touch-button .navicon {
font-size: 16px;
position: relative;
top: .7em;
color: #C1BAAA;
}

@media all and (min-width: 800px) {
body.one-page {padding-top: 70px}
nav {
position: absolute;
top: 19.9em;
width: 936px;
z-index:999;
}

.flexnav {overflow: visible}
.flexnav.opacity {opacity: 1}
.flexnav.one-page {
top: 0;
right: auto;
max-width: 1080px;
}
.flexnav li {
position: relative;
list-style: none;
float: left;
display: block;
background: none;
overflow: visible;
width: 20%;
}
.flexnav li a {
border-left: none;
border-bottom: none;
}
.flexnav li > ul {
position: absolute;
top: auto;
left: 0;
}
.flexnav li > ul li {width: 100%}
.flexnav li ul li > ul {
margin-left: 100%;
top: 0;
}
.flexnav li ul li a {border-bottom: none}
.flexnav li ul.open {
display: block;
opacity: 1;
visibility: visible;
z-index: 1;
}
.flexnav li ul.open li {
overflow: visible;
max-height: 100px;
}
.flexnav li ul.open ul.open {
margin-left: 100%;
top: 0;
}
.menu-button {display: none} }




/* Flexnav page formatting */

/* Resets required */

.controls button {
position: absolute;
bottom: 38px;
left: 20px;
width: 50px;
height: 50px;
border-radius: 50px;
background: transparent;
border: none;
font-size: 22px;
color: white;
border: 2px solid white;
}
.controls button:hover {cursor: pointer}
.controls button.pause .icon-play {display: none}
.controls button.pause .icon-pause {display: inline-block}
.controls button.play .icon-pause {display: none}
.controls button.play .icon-play {
display: inline-block;
margin-right: -2px;
}
.img-devices {
max-width: 100%;
margin-top: 12px;
}
.callout {
padding: 10px 30px;
border-radius: 5px;
color: #fff;
background: #548fa7;
margin-top: 0;
display: inline-block;
}
.callout:hover {
background: #437285;
text-decoration: none;
}

.clear {clear: both}



@media all and (min-width: 800px) {

body {font-size: 100%}
#content article:first-child {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
width: 60%;
border-right: 2px dashed #bbb;
}
#content article:first-child .block {padding-right: 6%}
#content article:nth-child(2) {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
width: 40%;
margin-right: 0;
}
#content article:nth-child(2) .block {padding-left: 5%}
#content p {font-size: 1.1em}
#content h2 {font-size: 1.9em}
#content article {
width: 50%;
float: left;
overflow: hidden;
}
#content li {font-size: 1.1em} }
.oldie body {font-size: 100%}
.oldie .site-title h1 {
font-size: 2.25em;
margin-bottom: 10px;
}
.oldie .site-title h2 {
font-size: 1.2em;
margin-bottom: 50px;
}
.oldie #content article:first-child {
width: 56%;
margin-right: 10%;
}
.oldie #content article:nth-child(2) {
width: 34%;
margin-right: 0;
}
.oldie #content p {font-size: 1.1em}
.oldie #content h2 {font-size: 1.9em}
.oldie #content article {
width: 50%;
float: left;
overflow: hidden;
}
.oldie #content li {font-size: 1.1em}

.menu {
margin: 0 auto;
max-width: 720px;
padding: 0;
}
.menu li {
width: auto;
padding: 0 1%;
}
}


