/**
* CSS
* 
* @version 2.0
* @author Vaska 
*
* There are also some obscure rules in base.css
*/

html {
    box-sizing: border-box;
    overflow-y: scroll;
}

* {
    box-sizing: inherit;
}

*::before, *::after {
    box-sizing: inherit;
}

body {
	font-size: 13px;
	font-family: Verdana, Arial, Sans-Serif;
	background: #fff;
	color: #888;
	line-height: 1.3em;
	/* font-weight: 300; */
}

/* link scheme */
/* you can customize links further down the page too */
a:link { text-decoration: none; color: #666; }
a:active { text-decoration: none; color: #00cc00; }
a:visited { text-decoration: none; color: #666; }
a:hover { text-decoration: underline; color: #666; }
a img { border: none; }

::selection {
    background: #666;
    color: #fff !important;
}

::-moz-selection {
    background: #666;
    color: #fff !important;
}

/* general styles */
small { font-size: 9px; }
code { font-family: monospace; }
blockquote { padding-left: 9px; }

img {
    -ms-interpolation-mode: bicubic;
    border: 0;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

embed,
iframe,
object,
video {
    margin-bottom: 1.6em;
    max-width: 100%;
    vertical-align: middle;
}

/* headings */
h1 { font-size: 13px; margin-bottom: 1em; font-weight: bold; }
h2 { font-size: 13px; margin-bottom: 1em; font-weight: bold; }
h3 { font-size: 13px; margin-bottom: 1em; }
h4 { font-size: 13px; margin-bottom: 1em; }

/* paragraph width */
#index p { margin-bottom: 1em; }
/* #exhibit p, code, blockquote { width: 450px; margin-bottom: 1em; } */

#exhibit p, code, blockquote { width: 100%; max-width: 450px; margin-bottom: 1em; }

/* highlighter style - maybe you want to change colors? */
.highlight { background: #ccff00; color: #000; }

/* never adjust the margin or padding here unless you seriously know what you are doing */
/* think #index .container and #exhibit .container for only padding adjustments */
/*#index { top: 0; left: 0; position: fixed; width: 235px; background: #eee; overflow: hidden; }
#exhibit { margin: 0 0 0 235px; }*/

#exhibit { margin: 0 }
#index {
    width: 100%;
    height: auto;
    max-height: 100vh;
    bottom: auto;
    padding: 20px;
    background: #eee;
    overflow: auto;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    opacity: 0.95;
    z-index: 9999;
}

#index .top { font-family: Verdana, Arial, Sans-Serif; font-size: 24px; line-height: 24px; }
#index .top a { color: #666; }
#index .top a:hover { text-decoration: none; }

/* styling the index */
#index ul { list-style: none; margin: 0 0 15px 0; }
#index ul.section { padding: 5px 0 5px 0; margin-bottom: 1em; color: #888; font-family: Verdana, Arial, Sans-Serif; font-style: italic; font-size: 12px; border-top: 1px solid #ccc; }
#index ul.section a {  }
#index ul.subsection {  }
#index ul li { margin: 0 0 2px 0; }
#index ul ul { padding: 10px 0 0 0; font-size: 11px; font-style: normal; }

/* the follow rules for index are not required */
/* they are mostly for complex customization */
/* for tag display */
#index ul#all_tags { list-style-type: none; margin-bottom: 1em; }
#index ul#all_tags li { display: inline; margin-right: 3px; }
#index ul#all_tags li a {  }

/* active section title */
#index span.active_section_title,
#index span.active_section_title a { font-weight: bold; }

/* active exhibit title parts */
li.active a:link, li a.active, li.active a:hover, li a.active, li.active a:active, li a.active, 
li.active a:visited, li a.active, li span.active, #index ul.section li.active a:link, 
#index ul.section li.active a:hover, #index ul.section li.active a:active, #index ul.section li.active a:visited
{ font-weight: bold; }

#index ul.section span.section_title, #index ul.section span.section_title a, #index ul.section span.section_title a:hover {
  color: #888; 
  font-weight: normal;
  text-decoration: none;
}

/* additional #index options */
#index ul li .password a { /* background: url(../img/locked.gif) right center no-repeat; padding-right: 18px; */ }

/* the "new" indicator */
#index ul li sup { color: #0c0; font-weight: bold; text-transform: uppercase; font-size: 8px; vertical-align: top; }
/* end styling for index */

/* links styles only for the #index region */
#index a:link {  } 
#index a:hover {  } 
#index a:active {  } 
#index a:visited {  }

/* links styles only for the #exhibit region */
#exhibit a:link {  } 
#exhibit a:hover {  } 
#exhibit a:active {  } 
#exhibit a:visited {  } 

/* this is where you adjust your paddings for #index and #exhibit together */
.container { padding: 27px 27px 25px 27px; }

/* this is where you pad them separately */
#index .container { padding: 0; }
#exhibit .container { margin-top: 100px; }

#index .top { position: relative; }

#index .built {
	padding-top: 5px;
	border-top-color: #cccccc;
    border-top-style: solid;
	border-top-width: 1px;
	color: #bbbbbb;
}
		
#index .built a {
	color: #bbbbbb;
}
		
#index .built a:hover {
	text-decoration: underline;
	color: #390660;
}

.copyright {
	color: #bbb;
	font-family: Verdana, Arial, Sans-Serif;
	margin-top: 5px;
	padding-top: 10px;
}

button {
    -webkit-appearance: button;
    background-color: transparent;
    border-style: solid;
    border-width: 1px;
    border-radius: 2px;
    color: inherit;
    cursor: pointer;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 0.4278em 1.25em;
}

.menu-toggle {
    border-color: rgba(151, 151, 151, 0.9);
}
.menu-toggle {
    position: absolute;
    right: 0;
    top: 25%;
    background-color: transparent;
    border: 1px solid rgba(151, 151, 151, 0.9);
    height: 42px;
    overflow: hidden;
    padding: 0;
    text-align: center;
    transform: translateY(-25%);
    width: 42px;
}

.menu-toggle::before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-family: "Genericons";
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    line-height: 1.1;
    speak: none;
    text-align: center;
    text-decoration: inherit;
    text-transform: none;
    vertical-align: top;
}

.menu-toggle::before {
    position: relative;
    color: rgba(151, 151, 151, 0.5);
    content: '\f419';
    font-size: 12px;
    line-height: 3.3;
    width: 40px;
    height: 40px;
}

.menu-toggle.toggled-on::before {
    content: '\f405';
    font-size: 32px;
    line-height: 1.4;
    left: -1px;
}

.nav-menu {
    display: none;
}

.nav-menu.toggled-on {
    display: block;
}

/**
 * Desktop Small 955px
 */

@media screen and (min-width: 59.6875em) {

    .nav-menu {
        display: block;
    }
    
    #index {
        overflow: auto;
        top: 0;
        bottom: 0;
        left: 0;
        position: fixed;
        height: 100%;
        width: 270px;
        padding: 0 30px 0 20px;
        background: #eee;
        overflow: hidden;
        z-index: 1;
    }

    #index .container {
        padding: 40px 9px 25px 27px;
    }

    .menu-toggle {
        display: none;
    }
    
    .container {
        padding: 50px 9px 25px 27px;
    }

    #exhibit {
        margin: 0 0 0 290px;
    }

    #exhibit .container {
        margin-top: 0;
    }

}