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


/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 #a3aeb5;
	margin: 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
   ========================================================================== */

body, html {
	text-align: center;
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	font-size: 14px;
	color: #585e61;
	margin: 0px;
	padding: 0px;
	background-image: url(../images/extra_clean_paper.png);
	background-repeat: repeat;
}
img { border:none; }

outilne { border:none; }

a, a:visited, a:active {
	color:#777777;
	outline:none;
}
a:hover {
	text-decoration:none;
	color: #a3aeb5;
	outline:none;
}
div#wrapper {
	text-align: left; /* reset text alignment */
	width: 1014px;
	margin: 0 auto;
	background-color: #FFF;
} 
#header {
	height: 106px;
	width: 1014px;
	background-color: #a3aeb5;
}
#footer {
	text-align: center;
	background-color: #a3aeb5;
	font-size: 12px;
	color: #FFF;
	height: 30px;
	line-height: 30px;
	clear: both;
}
#footer a, #footer a:visited, #footer a:active {
	color: #FFF;
	text-decoration: none;
}
#footer a:hover {
	text-decoration: underline;
}
div#content {
padding-right: 50px;
padding-bottom: 50px;
padding-left: 50px;
padding-top: 10px;
}
.homebox {
	float: left;
	width: 465px;
	border: 1px solid #a3aeb5;
	background-color: #a3aeb5;
	margin-top: 20px;
	margin-right: 20px;
	margin-bottom: 40px;
	margin-left: 20px;
}
.homebox p  {
	padding-top: 15px;
	padding-right: 25px;
	padding-bottom: 15px;
	padding-left: 25px;
	font-size: 21px;
	color: #FFF;
	line-height: 21px;
	margin: 0px;
	font-weight: bold;
}
.homeboxright  {
	float: left;
	width: 203px;
}
.homeboxright p  {
	text-align: center;
	padding-top: 8px;
	padding-right: 17px;
	padding-bottom: 0px;
	padding-left: 17px;
	font-size: 15px;
}
p {
	font-size: 14px;
	line-height: 29px;
	color: #585e61;
	margin-top: 0px;
	padding-top: 0px;
}
h1 {
	font-size: 36px;
	color: #00377b;
	text-align: center;
}
h2 {
font-size: 28px;
color: #00377b;
}
.smalltext {
	font-size: 10px;
	line-height: 18px;
}
.nav {
	color: #a3aeb5;
	font-weight: bold;
}
.nav a, .nav a:visited, .nav a:active {
	color: #677075;
	text-decoration: none;
}
.nav a:hover {
	text-decoration: underline;
}
ul.nav {
	color: #a3aeb5;
	min-width: 1014px;
	list-style: none;
	font-size: 0;
	padding-top: 10px;
	padding-bottom: 11px;
	padding-left: 0px;
}
ul.nav li {
	color: #a3aeb5;
	font-size: 12px;
	display: inline;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #a3aeb5;
	padding-top: 10px;
	padding-right: 30px;
	padding-bottom: 10px;
	padding-left: 30px;
}
ul.nav li:first-child {border-left: 0px}
#myreel{ /*sample CSS for demo*/
border:0;
}

ul {
	margin-top: 0px;
	padding-top: 0px;
}
.floatLeft {
	float: left;
	margin-right: 15px;
	margin-bottom: 20px;
}
.floatRight {
	float: right;
	margin-right: 15px;
}
.bioFloatLeft {
	float: left;
	margin-right: 15px;
	margin-bottom: 20px;
	margin-top: 7px;
}
.bioFloatRight {
	float: right;
	width: 710px;
	padding-bottom: 30px;
}
.logobox {
	margin-bottom: 30px;
	clear: both;
	text-align: center;
}
.logopic {
	margin-bottom: 10px;
}
.textColumn {
	float: left;
	margin-right: 5%;
	width: 45%;
}
.clear {
	clear: both;
}


/* ==========================================================================
   Slideshow
   ========================================================================== */
  body {
      -webkit-font-smoothing: antialiased;
    }
 #slides {
      display: none
    }

    #slides .slidesjs-navigation {
      margin-top:5px;
	  margin-left:10px;
    }

    a.slidesjs-next,
    a.slidesjs-previous,
    a.slidesjs-play,
    a.slidesjs-stop {
      background-image: url(../img/btns-next-prev.png);
      background-repeat: no-repeat;
      display:block;
      width:6px;
      height:9px;
      overflow: hidden;
      text-indent: -9999px;
      float: left;
      margin-right:5px;
    }

    a.slidesjs-next {
      margin-right:10px;
      background-position: -6px 0;
    }

    a:hover.slidesjs-next {
      background-position: -6px -9px;
    }

    a.slidesjs-previous {
      background-position: 0 0;
    }

    a:hover.slidesjs-previous {
      background-position: 0 -9px;
    }

    a.slidesjs-play {
      width:8px;
      background-position: -13px 0;
    }

    a:hover.slidesjs-play {
      background-position: -13px -9px;
    }

    a.slidesjs-stop {
      width:9px;
      background-position: -21px 0;
    }

    a:hover.slidesjs-stop {
      background-position: -21px -9px;
    }

    .slidesjs-pagination {
	float: right;
	list-style: none;
	margin-top: 4px;
	margin-right: 5px;
	margin-bottom: 0;
	margin-left: 0;
    }

    .slidesjs-pagination li {
      float: left;
      margin: 0 1px;
    }

    .slidesjs-pagination li a {
      display: block;
      width: 7px;
      height: 0;
      padding-top: 7px;
      background-image: url(../img/pagination.png);
      background-position: 0 0;
      float: left;
      overflow: hidden;
    }

    .slidesjs-pagination li a.active,
    .slidesjs-pagination li a:hover.active {
      background-position: 0 -7px
    }

    .slidesjs-pagination li a:hover {
      background-position: 0 -13px
    }

    #slides a:link,
    #slides a:visited {
      color: #333
    }

    #slides a:hover,
    #slides a:active {
      color: #9e2020
    }

    .navbar {
      overflow: hidden
    }










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

/*
 * 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.
   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,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* 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;
    }
}
