/*
 * HTML5 Boilerplate
 *
 * 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,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
    background: #949494;
}

@font-face {
    font-family: 'MuseoSans-100';
    src: url('fonts/museosans-100-webfont.eot');
    src: url('fonts/museosans-100-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/museosans-100-webfont.woff') format('woff'),
         url('fonts/museosans-100-webfont.ttf') format('truetype'),
         url('fonts/museosans-100-webfont.svg#museo_sans_100regular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'MuseoSans-300';
    src: url('fonts/museosans-300-webfont.eot');
    src: url('fonts/museosans-300-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/museosans-300-webfont.woff') format('woff'),
         url('fonts/museosans-300-webfont.ttf') format('truetype'),
         url('fonts/museosans-300-webfont.svg#museo_sans_300regular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'MuseoSans-500';
    src: url('fonts/museosans_500-webfont.eot');
    src: url('fonts/museosans_500-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/museosans_500-webfont.woff') format('woff'),
         url('fonts/museosans_500-webfont.ttf') format('truetype'),
         url('fonts/museosans_500-webfont.svg#museo_sans_500regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MuseoSans-700';
    src: url('fonts/museosans_700-webfont.eot');
    src: url('fonts/museosans_700-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/museosans_700-webfont.woff') format('woff'),
         url('fonts/museosans_700-webfont.ttf') format('truetype'),
         url('fonts/museosans_700-webfont.svg#museo_sans_700regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MuseoSlab-100';
    src: url('fonts/museo_slab_100-webfont.eot');
    src: url('fonts/museo_slab_100-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/museo_slab_100-webfont.woff') format('woff'),
         url('fonts/museo_slab_100-webfont.ttf') format('truetype'),
         url('fonts/museo_slab_100-webfont.svg#museo_slab_100regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MuseoSlab-300';
    src: url('fonts/museo_slab_300-webfont.eot');
    src: url('fonts/museo_slab_300-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/museo_slab_300-webfont.woff') format('woff'),
         url('fonts/museo_slab_300-webfont.ttf') format('truetype'),
         url('fonts/museo_slab_300-webfont.svg#museo_slab_300regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MuseoSlab-500';
    src: url('fonts/museo_slab_500-webfont.eot');
    src: url('fonts/museo_slab_500-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/museo_slab_500-webfont.woff') format('woff'),
         url('fonts/museo_slab_500-webfont.ttf') format('truetype'),
         url('fonts/museo_slab_500-webfont.svg#museo_slab_500regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MuseoSlab-700';
    src: url('fonts/museo_slab_700-webfont.eot');
    src: url('fonts/museo_slab_700-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/museo_slab_700-webfont.woff') format('woff'),
         url('fonts/museo_slab_700-webfont.ttf') format('truetype'),
         url('fonts/museo_slab_700-webfont.svg#museo_slab_700regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OxygenBold';
    src: url('fonts/oxygen-bold-webfont.eot');
    src: url('fonts/oxygen-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/oxygen-bold-webfont.woff') format('woff'),
         url('fonts/oxygen-bold-webfont.ttf') format('truetype'),
         url('fonts/oxygen-bold-webfont.svg#oxygenbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OxygenLight';
    src: url('fonts/oxygen-light-webfont.eot');
    src: url('fonts/oxygen-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/oxygen-light-webfont.woff') format('woff'),
         url('fonts/oxygen-light-webfont.ttf') format('truetype'),
         url('fonts/oxygen-light-webfont.svg#oxygenlight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OxygenRegular';
    src: url('fonts/oxygen-regular-webfont.eot');
    src: url('fonts/oxygen-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/oxygen-regular-webfont.woff') format('woff'),
         url('fonts/oxygen-regular-webfont.ttf') format('truetype'),
         url('fonts/oxygen-regular-webfont.svg#oxygenregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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 images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

header{ border-top: 10px solid #f47920; min-width: 960px; }
header #info{ list-style-type: none; margin: 0;padding: 15px 0; float: right; }
header #info li{ float: left; display: block; margin: 0; padding: 0; font: 11px/11px 'OxygenRegular', Arial, sans-serif; color: #f47920; }
header #info li:first-child{ border-right: 1px solid #f47920; padding: 0 10px 0 0; margin: 0 10px 0 0; }
header #info li a{ font: 11px/11px 'OxygenRegular', Arial, sans-serif; color: #f47920; text-decoration: none; }
header #info li a:hover{ text-decoration: underline; }

#navi{ margin: 10px 0 0; }
#navi #logo{ float: left; }
#navi #logo a{ display: block; }
#navi #logo a img{ outline: none; }
#navi #menu{ float: right; padding: 50px 0 0; }
#navi #menu ul{ list-style-type: none; padding: 0; margin: 0; }
#navi #menu ul li{ display: block; float: left; font: 17px/17px 'MuseoSlab-300', Arial, sans-serif; color: #464648; border-left: 1px solid #f47920; margin: 0 0 0 15px; padding: 0 0 0 15px;  }
#navi #menu ul li:first-child{ border: none; margin: 0; padding: 0; }
#navi #menu ul li a{ font: 17px/17px 'MuseoSlab-300', Arial, sans-serif; color: #464648; text-decoration: none; }
#navi #menu ul li a:hover{ color: #f47920; }#navi #menu ul li a{ font: 17px/17px 'MuseoSlab-300', Arial, sans-serif; color: #464648; text-decoration: none; }
#navi #menu ul li a.active{color: #f47920; }

#content{ margin: 50px 0 15px 0; }
#content.sub{ margin: 25px 0 50px !important; padding: 50px 0 0 !important; border-top: 1px solid #ededed; }
#content .featured{ float: left; width: 635px; height: 415px; background: url('../img/layout/headline-shadows.png') no-repeat left top;}
#content .txt{ float: right; padding: 55px 0 0; width: 290px;  }
#content .txt p{ font: 20px/30px 'OxygenLight', Arial, sans-serif; color: #464648; padding: 0; margin: 0 0 5px; }
#content .txt a{ font: 14px/14px 'OxygenLight', Arial, sans-serif; color: #f47920; text-decoration: none; }
#content .txt a:hover{ text-decoration: underline; }
#content .desc{ float: left; width: 620px; text-align: justify; }
#content .desc h1{ font: 20px/30px 'OxygenLight', Arial, sans-serif; color: #464648; padding: 0; margin: -5px 0 35px; }
#content .desc h2{ font: 18px/18px 'OxygenLight', Arial, sans-serif; color: #f47920; padding: 0; margin: 0 0 15px 0; }
#content .desc p{ font: 13px/21px 'OxygenLight', Arial, sans-serif; color: #464648; padding: 0; margin: 0; }
#content .desc a{ color: #f47920; text-decoration: none; }
#content .desc a:hover{ text-decoration: underline; }

ul.list{ list-style-type: none; margin: 0 0 15px 0; padding: 0; }
ul.list.last{ margin: 0; }
ul.list li{ display: block; font: 13px/21px 'OxygenLight', Arial, sans-serif; color: #464648; margin: 0; padding: 0; }
ul.list li.bullet{ float: left; width: 8px; }
ul.list li.explanation{ float: right; width: 587px; }

ul.gallery{ list-style-type: none; margin: 0 0 20px; padding: 0; width: 620px; }
ul.gallery li{ float: left; margin: 0 0 0 17px; display: block; }
ul.gallery li:first-child{ margin: 0; }
ul.gallery li a{ display: block; outline: none; }
ul.gallery li a img{ display: block; border: 0; width: 195px; }

ul.mini-nav{ list-style-type: none; padding: 0; margin: 0 0 35px 0; }
ul.mini-nav li{ float: left; margin: 0 0 0 20px; display: block }
ul.mini-nav li:first-child{ margin: 0; }
ul.mini-nav li a{  font: 12px/12px 'OxygenLight', Arial, sans-serif; color: #5e5e5e; display: block; text-decoration: none; }
ul.mini-nav li a:hover{ color: #f47920; }
ul.mini-nav li a.m-active{ color: #f47920; }

#features{ margin: 0 0 50px 0; }
#features .box.donate{ width: 270px; margin: 0 !important; }
#features .box{ width: 306px; margin: 0 0 0 21px; }
#features .box:first-child{ margin: 0; }
#features .box .header{ background: #cdcdcd; width: 266px; display: block; padding: 12px 20px; }
#features .box .header h1{ font: 15px/16px 'MuseoSlab-700', Arial, sans-serif; color: #504f4f; text-shadow: 1px 1px 0 #dfdfdf; padding: 0; margin: 0 0 15px; }
#features .box .inside{ background: url('../img/layout/box-wrap.png') repeat-y left top; padding: 25px 25px 10px; border-top: 1px solid #e6e6e6; border-left: 1px solid #e6e6e6; border-right: 1px solid #e6e6e6; }
#features .box .inside h1{ font: 15px/16px 'MuseoSlab-700', Arial, sans-serif; color: #f47920; text-shadow: 1px 1px 0 #fff; padding: 0; margin: 0 0 15px; }
#features .box .inside p{ font: 11px/20px 'OxygenLight', Arial, sans-serif; color: #5e5e5e; padding: 0; margin: 0; }
#features .box.donate .bottom{ width: 220px; background: url('../img/layout/box-bottom-donate.png') no-repeat left top; padding: 0 25px 20px; }
#features .box.donate .bottom a{ font: 11px/11px 'OxygenRegular', Arial, sans-serif; color: #f47920; text-decoration: none; }
#features .box.donate .bottom a:hover{ text-decoration: underline; }
#features .box .bottom{ background: url('../img/layout/box-bottom.png') no-repeat left top; padding: 0 25px 20px; }
#features .box .bottom a{ font: 11px/11px 'OxygenRegular', Arial, sans-serif; color: #f47920; text-decoration: none; }
#features .box .bottom a:hover{ text-decoration: underline; }

footer{ border-top: 10px solid #dedede; background: #949494; padding: 20px 0; min-width: 960px; }
footer #copyright{ float: left; width: 600px; }
footer #copyright p{ font: 11px/11px 'MuseoSans-100', Arial, sans-serif; color: #fff; margin: 0; padding: 0; }
footer #copyright span.copy{ font: 11px/11px 'Arial', sans-serif !important; }
footer #notice{ float: right; width: 360px; }
footer #notice ul{ list-style-type: none; margin: 0; padding: 0; }
footer #notice ul li{ float: right; display: block; margin: 0; padding: 0; font: 11px/11px 'OxygenLight', Arial, sans-serif; color: #fff; }
footer #notice ul li:first-child{ border-left: 1px solid #fff; padding: 0 0 0 10px; margin: 0 0 0 10px; }
footer #notice ul li a{ font: 11px/11px 'MuseoSans-100', Arial, sans-serif; color: #fff; text-decoration: none; }
footer #notice ul li a:hover{ text-decoration: underline; }

#legal, #author{ width: 770px; padding: 0 15px 0;}
#legal h2, #author h2{ font: normal 30px/30px 'Arial', Arial, sans-serif; color: #111; margin: 10px 0 0; padding: 0 0 15px; }
#legal p, #author p{ font: 12px/18px 'Arial', Arial, sans-serif; color: #666; }
#legal a, #author a{ font: 12px/18px 'Arial', Arial, sans-serif; color: #f47920; text-decoration: underline; }
#legal a:hover, #author a:hover{ text-decoration: none; }

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

 .grid-960{ width: 960px; min-width: 960px; margin: 0 auto; }
 .align-left{ float: left; }
 .align-right{ float: right; }
 .wrapper{ background: #fff; min-width: 960px; width: 100%; }

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

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses 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 only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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