/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


















body {
    font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", sans-serif;
    background-color: #303030;
    color: #b0b0b0;
}

a {
    text-decoration: none;
}

/* Elements used for the page header */

/* Banner at top of each page
   has two elements ... */
#header {
    height: 125px;
    width: 100%;
    min-width: 800px;
}

/* ... the title */
#title {
    display: inline-block;
    font-size: 50px;
    padding-top: 25px;
    padding-left: 20px;
}

/* ... and a smaller logo used as home link */
#home {
    float: right;
    margin-top: 15px;
    margin-right: 20px;
}


/* Elements used in articles */
article {
    background-color: #e6e6e6;
    color: black;
    padding: 30px;
}

article a {
    text-decoration: none;
    color: #2766a5;
}

article a:hover {
    text-decoration: underline;
    color: #4d8acc;
}

article p {
    max-width: 60em;
}

article dd {
    max-width: 55em;
}

.version {
    font-size: 9px;
}

figure {
    margin-top: 0;
}

figcaption {
    font-size: 80%;
}

.author {
    font-weight: bold;
}

/* Elements used in index pages */

div.itemlist {
    font-size: 18px;
    margin-left: 40px;
}

a.gray  {color: #b0b0b0;}
a.hue01 {color: #e2769d;}
a.hue02 {color: #e57a6a;}
a.hue03 {color: #d78741;}
a.hue04 {color: #b79a32;}
a.hue05 {color: #88ab48;}
a.hue06 {color: #4db672;}
a.hue07 {color: #02b79e;}
a.hue08 {color: #08b3c6;}
a.hue09 {color: #5ba8e3;}
a.hue10 {color: #8c99ef;}
a.hue11 {color: #b389e8;}
a.hue12 {color: #d07cca;}

a.gray:hover { color: #fefefe; }
a.hue01:hover {color: #f887af; }
a.hue02:hover {color: #fb8b7a; }
a.hue03:hover {color: #ec994f; }
a.hue04:hover {color: #cbac41; }
a.hue05:hover {color: #9abe58; }
a.hue06:hover {color: #5fc982; }
a.hue07:hover {color: #25ccb1; }
a.hue08:hover {color: #37c7da; }
a.hue09:hover {color: #6ebbf7; }
a.hue10:hover {color: #9facff; }
a.hue11:hover {color: #c69bfc; }
a.hue12:hover {color: #e58ede; }

/* Controls */

div.toolbox {
    padding: 30px;
}

input {
    background-color: #b0b0b0;
    color: black;
}

input[type="text"] {
  padding: 6px;
  border: solid 3px #fefefe;
  transition: border 0.3s;
}

input[type="button"] {
    display: inline-block;
    border-radius: 5px;
}

input[type="button"]:hover {
  box-shadow: 0px 0px 3px 3px #4d8acc; 
}

select {
    background-color: #b0b0b0;
    color: black;
}

#menu {
    float: right;
    padding: 10px;
    width: 350px;
    font-size: 15px;
}

#menu label {
    display: inline-block;
    width: 100px;
}

.menuitem {
    margin-top: 7px;
    padding-bottom: 3px;
    border-bottom: 3px solid #2c2c2c;
}

.slider200 {
    width: 200px;
}

/* Help */

#helpbox {
    z-index: 10000;
    filter: alpha(opacity=95); /*older IE*/
    opacity: 0.95;  
    background-color: #303030;
    position:fixed; 
    top: 125px; 
    left: 0px; 
    padding: 30px;
  
}
#borderbox {
    border: 3px solid #a0a0a0;
    padding: 10px;
    border-radius: 10px;
}
#helpbox p {
    max-width: 60em;
}


.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
