/*
 * 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;
}

/*
 * 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;*/
	background: #bfbfbf;
    text-shadow: none;
}

::selection {
    /*background: #b3d4fc;*/
	background: #bfbfbf;
    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
   ========================================================================== */
* {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
}
body {
	font-size: 15px;
	/*color:rgb(51, 51, 51);*/
	color: #000000;
	line-height:1.3em;
	font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
	width: 100%;
	height: 100%;
	/*background:#640809;*/
	/*background: #510000 url("../img/bbck.png") no-repeat top center;*/
	background: #6b0100 url("../img/bbck.png") no-repeat top center;
	background-size: 100%;	
}

a {
	color: blue;
	outline: none;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
p {
	margin: 0 0 18px
}
img {
	border: none;
}
input {
	vertical-align: middle;
}
#wrapper {
	/*width: 1000px;*/
	width: 964px;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}


/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 509px;
	background: #FFFFFF;
}

#header2 {
	height: 150px;
	background: #FFFFFF;
}

#menu {
	background: #FFFFFF;
	/*background: #CCC;*/
	height: 43px;
}

.clear {
	clear:both;
}	

/* remove the list style */
#nav {
    margin:0;
    padding:0;
    list-style:none;
}  
 
/* make the LI display inline */
/* it's position relative so that position absolute */
/* can be used in submenu */
#nav li {
	float:left;
	display:block;
	width:150px;
	background:#FFFFFF;
	position:relative;
	z-index:500;
	margin:0 1px;
}
	 
/* this is the parent menu */
#nav ul li a{
	border-right: none;
}

#nav li a {
	display:block;
	padding:15px 5px 0 5px; 
	border-right: 2px solid #CCC;
	height:26px;
	text-decoration:none;
	color:#fff;
	text-align:center;
	color:#610909;
	font-size: 16px;
}

#nav li a:hover {
	color:#000000;
}
 
/* you can make a different style for default selected value */
#nav a.selected {
	color:#000000;
	border-top: 1px solid #000000;
}
 
	/* submenu, it's hidden by default */
	#nav ul a.selected {
		color:#000000;
		border-top: 1px solid #FFFFFF;
	}
	
	#nav ul {
		position:absolute;
		left:0;
		display:none;
		margin:0 0 0 -1px;
		padding:0;
		list-style:none;
	}
	 
	#nav ul li {
		width:210px;
		float:left;
		border-top:1px solid #fff;
		padding-bottom:5px;
	}
	 
	/* display block will make the link fill the whole area of LI */
	#nav ul a {
		display:block; 
		height:15px;
		padding: 8px 5px;
		color:#666;
	}
	 
	#nav ul a:hover {
		text-decoration:underline; 
	}

#rotator {
	background: url("../img/banner-bck.png");
	background-repeat: repeat-x;
	height: 316px;
}

/* begin: slideshow */
.slideshow {
position:relative;
padding:0;
margin:0;
}
.slideshow a img {
border:none;
}
.slideshow li.slide {
list-style-type:none;
}
.slideshow .slides {
height:260px;
margin:0;
}
.slideshow .slides li.slide {
visibility:hidden;
position:absolute;
left:0px;
top:0;
}
.slideshow .buttons {
display:none;
}
.slideshow .buttons {
display:block;
position:absolute;
z-index:100;
left:0px;
bottom:-45px;
margin:0;
}
.slideshow .buttons li {
float:left;
display:inline;
width:30px;
height:30px;
margin:0;
padding-left:11px;
line-height:30px;
background-image:url('../img/buttonBg.png');
background-repeat:no-repeat;
}
.slideshow .buttons li a {
float:left;
text-decoration:none;
width:30px;
height:30px;
color:#fff;
outline:0;
}
.slideshow ul.buttons li a:hover {
text-decoration:none;
color:#0a0a0a;
}
.slideshow ul.buttons li.active a:hover,
.slideshow ul.buttons li.active a {
color:#666666;
}
/* end: slideshow */


/* Middle
-----------------------------------------------------------------------------*/
#middle {
	width: 100%;
	padding: 0 0 50px;
	height: 1%;
	position: relative;
}
#middle:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#container {
	width: 100%;
	float: left;
	overflow: hidden;
	background: #FFFFFF;
}
#content-home {
	padding-top: 20px;
	/*padding: 10px 270px 0 10px;*/
	background: url("../img/lft-pad.png");
	background-repeat: repeat-x;
}
#content {
	padding-top: 20px;
	padding: 10px 270px 0 10px;
	background: url("../img/lft-pad.png");
	background-repeat: repeat-x;
}
#content2 {
	padding-top: 20px;
	padding: 10px 0px 0 50px;
	padding-right: 30px;
	background: url("../img/lft-pad.png");
	background-repeat: repeat-x;
	min-height:250px;
}
#content3 {
	padding-top: 20px;
	padding: 10px 270px 0 10px;
	background: url("../img/lft-pad.png");
	background-repeat: repeat-x;
}
#lbpad {
	background: url("../img/lft-bpad-l.png"), url("../img/lft-bpad-r.png"), url("../img/lft-bpad-c.png");
	background-repeat: no-repeat, no-repeat, repeat-x;
	background-position: left, right, center;
	padding:20px;
}

#rpad {
	margin-top: 30px;
	background: url("../img/r-cp-cb.png");
	height: 288px;
	overflow: hidden;
	color: #FFFFFF;
	font-size: 16px;
	text-align: center;
}

#npad {
	margin-top:30px;
	background: url("../img/n-pad-btm.png"), url("../img/n-pad.png"), url("../img/n-pad-bck.png");
	background-repeat: no-repeat, no-repeat, repeat-y;
	background-position: center bottom, top center, center;
	background-size: 240px 19px, 240px 43px, 240px;
	width:240px;
	overflow: hidden;
	color: #FFFFFF;
	font-size: 16px;
	text-align: center;
}

#ln {
	font-size: 21px;
	color: #000000;
	margin-top: 13px;
}

#ln a {
	text-decoration: none;
}

#ln ul {
	list-style:none;
	padding: 0px; 
	margin: 0px;
	width: 220px;
	margin-top: 40px;
	margin-left: 22px;
}

#np {
	color: #8f1e1e;
	font-size: 11px;
	margin-right: 30px;
}

#npd {
	color: #1164b1;
	border-bottom: 1px solid #dddddd;
	font-size: 11px;
	margin-right: 30px;
	margin-bottom: 10px;
	padding-bottom: 10px;
}

/* Sidebar Right
-----------------------------------------------------------------------------*/
#sideRight {
	padding-top: 20px;
	padding-left: 10px;
	border-left: 1px solid #e8e8e8;
	float: left;
	margin-right: -3px;
	width: 240px;
	margin-left: -254px;
	position: relative;
	background: #FFFFFF;
}

#sideRight2 {
	padding-top: 20px;
	padding-left: 10px;
	border-left: 1px solid #e8e8e8;
	float: left;
	margin-right: -3px;
	width: 300px;
	margin-left: -314px;
	position: relative;
	background: #FFFFFF;
}


/* Footer
-----------------------------------------------------------------------------*/
#footer {
	color: #FFFFFF;
	/*width: 1000px;*/
	width: 964px;
	margin: -50px auto 0;
	padding-top:6px;
	height: 50px;
	background: #000000;
	background: url("../img/fbck.png");
	background-repeat: repeat-x;
	position: relative;
	text-align: center;
}

#fb-icon {
	float:right;
	padding-right:20px;
	margin-top:-15px;
	/*background-image: url('../img/fb-bg.png');
	background-repeat:no-repeat;
	min-height:30px;
	margin-top:-10px;*/
}

table#recTable {
	width:100%;
	margin-left:50px;
}

#recTable tr td {
	height:40px; 
}
















/* ==========================================================================
   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;
    }
}
