/*! HTML5 Boilerplate v5.1.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;
}

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


h3 { font-size: 16px; line-height: 34px; color: #333; }


body { background-image: url(/img/background.png); color: #eee;}
.wrapper { width: 940px; background: #fff none repeat scroll 0 0; box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.2); margin: 50px auto 0; padding: 40px 35px 35px; color: #444; font-size: 12px; line-height: 19px; }
.logo { margin-top: 22px; }
nav ul { margin: 0; padding: 0; list-style: none; background-color: #303030; padding: 14px 0 16px; font-size: 12px; height: 20px;}
nav li { margin: 0 ; padding: 0; color: #fff; display: block; float: left;}
nav ul:after { content: " "}
nav a { font-weight: bold; color: #fff; padding: 18px 25px; text-decoration: none; font-size: 12px; margin: 0;}
nav li:after { content: ""; color: #555; font-size: 15px;}
nav li:last-child:after { content: ""; }
nav .selected a { background-color: #0172be ;}
nav .selected:after { content: ""; }
nav a:hover { background-color: #0172be ;}
nav a:hover:after { background-color: #0172be ; content: ""}
nav .selected:after { content: ""; }
h1 { font-size: 22px; line-height: 30px; padding: 4px 0 8px; color: #333; font-family: Arial,sans-serif; font-weight: normal;}
.bolded-line { display: block; height: 3px; margin-bottom: -2px; text-indent: -9999px; width: 100px; background: #0172be none repeat scroll 0 0} 
.page-title { border-bottom: 1px solid #e9e9e9; }

.footer-bottom { border-top: 1px solid #3c3c3c; margin-top: 25px; padding: 22px 0; font-size: 12px;}
.footer-bottom a { color: #fff; }
.column.alpha, .columns.alpha { margin-left: 0;}
.column.omega, .columns.omega { margin-right: 0; }
.sixteen.columns { width: 940px; }
.column, .columns { display: inline; float: left; margin-right: 10px; margin-left: 10px; }
.four.columns { width: 220px; }

.bx-wrapper .bx-viewport { background: none; border: none; box-shadow: none; left: 0; margin: 0 auto; padding: 0; }
.bx-wrapper {width: 940px; }
.bx-viewport { padding-top: 0; margin-top: 0;}

.headline h3, .headline h4 { background-color: #fff; display: inline; padding: 0 10px 0 0;}
.headline { background: rgba(0, 0, 0, 0) url("/img/headline-bg.png") repeat-x scroll 0 50%;}

.footerimg { border: 1px solid #ccc;}
footer { background: #303030 none repeat scroll 0 0; margin: 0 auto 50px; padding: 15px 35px 0; width: 940px}

.scroll-top { display: block; position: absolute; margin-top: -62px; margin-left: 920px; background-color: #0172be; padding: 2px 5px; }
.one-third.column { width: 300px; }

.columns a { color: #0172be; text-decoration: none; }
.about { width: 80%; }
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.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: 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;
    }
}


/************************************************************************************
RESPONSIVE
*************************************************************************************/
@media screen and (max-width: 1408px)  {

}


/************************************************************************************
Tablet
*************************************************************************************/
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) {
	
}

@media screen and (min-width: 768px) and (max-width: 990px) {

}
@media screen and (min-width: 991px) and (max-width: 1024px) {
	
}

/************************************************************************************
Mobile - Landscape
*************************************************************************************/
@media screen and (min-width: 480px) and (max-width: 1024px) {

}

/************************************************************************************
Mobile - Portrait
*************************************************************************************/
@media screen and (max-width: 479px) {
	body { border: 1px solid red; }
	.wrapper { width: 100%; padding: 0; }
	.sixteen.columns, .four.columns, .one-third.column { width: 90%; margin: 0 auto; margin-left: 5%; }
	.page-title { width: 90%; margin-left: 5%; }
	.footerimg { display: none; }
}