/*
 * 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 {
    background-image:url("../img/body_tile.gif");
    background-repeat: repeat;
    font-size: .9em;
    line-height: 1.4;
    font-family: 'Droid Serif', serif;
    font-weight:400;
}

/*
 * 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
   Andrew Kenmore 11/13/2012
   ========================================================================== */

/* ==========================================================================
    General Styles
   ========================================================================== */

h1, h2, h3, h4{
    font-family:"Open Sans", sans-serif;
    margin:0;
    padding:0;
}

h1{
    font-size:3.5em;
}

h2{
    font-size:2.3em;
}
h3{
    font-size:1.5em;
}
#wrapper{
	background-image:url("../img/wrapper_main_tile.gif");
	width:940px;
	min-height: 950px;
	height: 1800px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}

#banner{
    width:960px;
    text-shadow: 3px 3px 2px #fff;
    text-align:center;
    margin:0 auto 10px auto;
    padding:5px;
}
#header h1{
    display:inline;
    vertical-align: middle;
}
#headerNav{
    margin:0 auto 90px auto;
    width:940px;
}
#headerNav li{
    float:left;
    list-style: none;
    background-color:#d8682b;
    border-left:1px solid #fabb99;
    border-right:1px solid #222;
    text-align:center;
    line-height: 1.1em;
}
#headerNav li a{
    width:130px;
    height:32px;
    display:block;
    padding:8px 10px 5px 10px;
    text-shadow: 1px 2px 1px #000;
    font-family:"Open Sans", sans-serif;
    font-weight: 500;
    font-size:.9em;
    color:#FFF;
    text-decoration:none;
}
#headerNav li a:hover{
    background-color: #e0b352;
}

/* ==========================================================================
    Home Page Styles
   ========================================================================== */
#bodyContent{
    padding-top:20px;
}
.col{
    float:left;
    margin:0 5px 0 10px;
}
#bodyNav{
    width: 360px;
    margin:0;
    border-right:1px solid #333;
}
#bodyNav li{
	list-style:none;
	background-image:url(../img/nav_tile.gif);
	background-repeat:repeat-y;
	border-top:1px solid #ccc;
	border-bottom:1px solid #333;
}
#bodyNav li a{
    text-shadow: 1px 1px 1px #000;
    width:300px;
    height:45px;
    text-decoration:none;
    color:#efe212;
    display:block;
    font-size:1.4em;
    padding-left:15px;
    padding-top:25px;
    padding-bottom:15px;
    padding-right:22px;
    vertical-align: top;
}
#bodyNav li a:hover{
    color:yellow;
    background-image:url("../img/select_hover.png");
    background-repeat: no-repeat;
    background-position: right;
}
#bodyText ul{
    padding-left:10px;
}
#bodyText li{
    margin-left:0;
    text-indent: 0;
    list-style: none;
}
#bodyText{
    width: 440px;
    padding:15px;
    border:1px solid #6e6e6e;
    background-color:#fff;
    margin-bottom:20px;
}
#badgeContactUs{
	float:left;
	margin-top: -300px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 130px;
}
#bodyDashboard{
    background-image:url("../img/body_dash_tile.gif");
    border-top:2px solid #333;
    min-height: 710px;
    font-family:"Open Sans", sans-serif;
}
#bodyDashboard h2{
    text-align: center;
    margin:30px auto;
    color:#fff;
    text-shadow: 3px 3px 2px #000;
}
#bodyDashboard h3{
    text-align: center;
}
#contentDashboard{
    width:940px;
    margin:0 auto;
}
#dashboard{
    margin-left:20px;
    float:left;
    width:420px;
    padding:10px;
    background-color:#fff;
    border:1px solid #222;
}
/* ==========================================================================
    Landing Page Styles
   ========================================================================== */
#portamento_container{
    width:350px;
    float:left;
    position:relative;
}

#portamento_container #bodyTOC{
    float:none;
    position:absolute;
}

#portamento_container #bodyTOC.fixed {
    position:fixed;
}
#bodyTOC{
    width:350px;
    padding:10px;
    margin-left:10px;
    background-color:#fff;
    font-family:"Open Sans", sans-serif;
}

#landingBadge{
    position:absolute;
    margin:30px 0 0 75px;
}
.colLanding{
    display:inline-block;
    margin:0 5px 0 400px;
}

#bodyTextlanding{
    width: 500px;
    padding:15px;
    background-color:#fff;
    margin-bottom:20px;
}

/* ==========================================================================
   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
 */

.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;
    }
}
