/*
 * 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;
}

::-moz-selection { background: #d4df4c;text-shadow: none;}

::selection {   background: #d4df4c; 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
   ========================================================================== */


html{background-color:#3f4142;font:0.85em Arial, Helvetica, sans-serif;overflow-y:scroll}
body{text-align:center;}

a, a:link, a:hover{color:#b2bb1c}
h2, h1{font-family:Helvetica, Arial, sans-serif;}
h1{margin-bottom:0;font-size:35px;text-shadow: 0px 1px 2px #666;color:#efefef}

.setWidth{width:960px;margin:0 auto;position:relative;text-align:left;overflow:hidden}
.wrap{width:100%;min-width:960px;}

header{background:#fff;height:100px;overflow:hidden;}
	#logo{width:325px;}
		#logo img{margin:14px 0 0 14px;}
	#nav{width:610px;text-align:right;margin-top:50px;font-family:Helvetica, Arial, sans-serif;}
		#nav ul{list-style:none;overflow:hidden;margin:0;padding:0;}
		#nav li a{
			display:block;padding:7px 25px;color:#fff;text-decoration:none; text-transform:uppercase;
			background-color: #a8a8a8; 
   			background-image: url(images/fallback-gradient.png); 
   			background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#a8a8a8), to(#727272));
   			background-image: -webkit-linear-gradient(top, #a8a8a8, #727272); 
   			background-image:    -moz-linear-gradient(top, #a8a8a8, #727272);
   			background-image:     -ms-linear-gradient(top, #a8a8a8, #727272);
   			background-image:      -o-linear-gradient(top, #a8a8a8, #727272);
			border-right:1px solid #8a8a8a}

		#nav li a:hover{
		background-color: #4a4a4a; 
   			background-image: url(images/fallback-gradient.png); 
   			background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4a4a4a), to(#7b7b7b));
   			background-image: -webkit-linear-gradient(top, #4a4a4a, #7b7b7b); 
   			background-image:    -moz-linear-gradient(top, #4a4a4a, #7b7b7b);
   			background-image:     -ms-linear-gradient(top, #4a4a4a, #7b7b7b);
   			background-image:      -o-linear-gradient(top, #4a4a4a, #7b7b7b);}

#content{background:#eaebe9 url(../img/contBg.png) no-repeat top center;-moz-box-shadow:    inset 0  10px 10px -10px #c3c3c3;   -webkit-box-shadow: inset 0  10px 10px -10px #c3c3c3;box-shadow:inset 0  10px 10px -10px #c3c3c3;padding:15px 0}

.contentBox{border: 1px solid #DDD;padding:8px 10px;background:#f5f5f5;min-height:405px}

/* Feature Areas */
.featureHead{color:#464646;text-transform:uppercase;
			font-size: 1.5em;
			text-shadow: 1px 1px 1px #cdd830;
			padding:8px 10px;margin:0;border-bottom:2px solid #929658;
			background-color: #bdc72d; 
   			background-image: url(images/gradFHead.gif); 
   			background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#d6e14f), to(#b2bb1e));
   			background-image: -webkit-linear-gradient(top, #d6e14f, #b2bb1e); 
   			background-image:    -moz-linear-gradient(top, #d6e14f, #b2bb1e);
   			background-image:     -ms-linear-gradient(top, #d6e14f, #b2bb1e);
   			background-image:      -o-linear-gradient(top, #d6e14f, #b2bb1e);
			background-image: filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#d6e14f', endColorstr='#b2bb1e'); }
			
.featureBox{background:#a7aaac;color:#fff;padding:8px 10px;border-top:1px solid #909394}
	.featureBox a{color:#fff}
	
	#pageTitle{background:#a8a8a8;padding:15px 0 0 0;}
#hBottom{background:#a8a8a8;padding:25px 0;}
	#hBottom .featureBox{background:#6b6b6b;color:#eeeeee;min-height:155px}
	#hBottom ul{list-style:none;margin:0;padding:0;}
		#hBottom li{padding:4px 0;margin:0;border-bottom:2px solid #7b7b7b;border-top:1px solid #5b5b5b}
		#hBottom li:first-child{border-top:0;} #hBottom li:last-child{border-bottom:0;}
		#hBottom li span{color:#BDC72D}
		
#login{margin:0 0 10px 0;height:228px;background:#a7aaac;}
	#login p, #join p, #login form p.retrieve, #login form p.submit{margin:0;padding:0;}
		#login form p{margin:0 0 1em 0}
	#login input.rcAll{border:none;width:200px;height:30px;padding-left:40px;padding-right:10px}
	.fName, .fPwd{background:#fff url(../img/bgImages.png) no-repeat top left;color:#7d7d7d}
	.fName{background-position: -10px 0}
	.fPwd{background-position: 0px -30px}
	p.submit, p.retrieve, p.buttonLink{text-align:center;}

#join{height:182px;background:#a7aaac;}
	
footer {padding-top:15px}	
footer, footer a{color:#fff;font-size:12px;}
footer .fLeft{width:300px;}
footer .fRight{text-align:right;width:400px;}	


/*HOMEPAGE -------------------*/
#hBanner{height:420px;overflow:hidden;position:relative}
#featureNav {position:absolute;bottom:0px;height:20px;left: 266px;z-index: 13;background:url(../img/bgImages.png) no-repeat 0 -63px;height:29px;width:138px;text-align:center;}
	#featureNav a{display:inline-block;width:13px;height:13px;background:#dedede;text-indent:-999px;margin:8px 3px 0 3px;border:1px solid #979797;-moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px}
	#featureNav a.activeSlide{background:#b2bb1e;border:1px solid #8e9518}


/* Popup --------------------------------*/

#overlayBg {background: #666;opacity: 0.8;-moz-opacity: 0.8;position: absolute;top: 0;left: 0;width: 100%;height: 100%;z-index: 9000;}
#overlay {position: absolute;top: 0;left: 0;width: 100%;height: 100%;z-index: 9001;}
#message {margin: 120px auto 0 auto;width: 700px;background: white;padding: 30px;-webkit-box-shadow: #333 5px 5px 20px;
-moz-box-shadow: #333 5px 5px 20px;box-shadow: #333 5px 5px 20px;position: relative;}
.buttonClose {cursor: pointer;position: absolute;top: 30px;right: 30px;color: #000;font-size: 16px;}
#message h1{color:#b2bb1c;text-shadow: 0px 1px 1px #333;}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/* Floats */
.fLeft{float:left;}
.fRight{float:right;}

.leftWidth{width:672px;}
.rightWidth{width:273px;}

/* Round Corners */
.rcRight{-moz-border-radius: 6px 0px 0px 6px;-webkit-border-radius:6px 0px 0px 6px;border-radius:6px 0px 0px 6px;}
.rcLeft{-moz-border-radius: 0px 6px 6px 0px;-webkit-border-radius:0px 6px 6px 0px;border-radius:0px 6px 6px 0px;}
.rcAll{-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px}

/*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;
    }
}
