﻿/*
 * 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; 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;}

/* ==========================================================================
   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;}
}

/*--------------------------------------------------
    Site styles
--------------------------------------------------*/
body{background-color:Black; font-family:Lucida Sans Unicode, sans-serif; line-height:1.2; font-size:13px;}

a, a:active, a:visited {color: #000000;}
a:hover {color: #808285;}
sup a{font-weight:normal;}

h1{font-size:26px;}
p {margin-bottom:15px; font-size:14px;}
ul{margin: 10px 25px 15px 25px;}
li {margin-bottom:5px;}
i, em {font-style:italic;}

#sidebar h1{margin:0; padding:0;}

/*--------------------------------------------------
    Structure
--------------------------------------------------*/
#wrapper{width:100%;}
  #pre-container{width:895px; margin:15px auto 0; text-align:right;}
    #pre-container a{text-decoration:none; color:White; margin-right:10px; line-height:1.9;}
    #pre-container a.language:before{content:"* "; font-weight:bold; line-height:1; vertical-align:bottom; font-size:20px;}
    #pre-container a:hover{color:#dcddde;}
  #container{width:1000px; margin:5px auto 30px; background-color:White; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;}
    #banner{width:1000px; padding:18px 0;}
      #bannerContainer{margin-left:45px;}
        #bannerContainer .link{float:left; margin-right:45px;}
        #bannerContainer .link a {text-decoration:none;}
        #bannerContainer .social{float:right;}
    #ticker{background-color:#f5f6f7; width:964px; padding:10px 18px;}
      .tickercontainer{overflow: hidden; height:19px; width:964px;}
    #main{padding:18px;}
        #sidebar{display:block; float:left; width:248px; margin-right:20px; height:600px; margin-bottom:50px;}
          #siteTitle{margin-top:62px; margin-left:-964px; margin-bottom:88px;}
        #content{float:left; width:675px;}
        #boxRow{width:960px; margin-top:15px;}
    #footer{padding:18px; text-align:center;}
    
/*--------------------------------------------------
    Social Links
--------------------------------------------------*/
.social-links {overflow: auto; margin:0 0 0 -35px; float:left;}
.social-links li {float: left; list-style-type:none; margin:0; padding:0;}
  .social-links li a {background: transparent url(../images/SocialMediaButtons.png) top left no-repeat;
    display: block; margin: 0 5px 0 0; text-indent: -999em; height:30px; width: 30px;}
  .social-links li:last-child a {margin-right:0;}
  .social-links li a.facebook {background-position: 0 0;}
  .social-links li a.twitter {background-position: -35px 0;}
  .social-links li a.rss {background-position: -70px 0;}

/*--------------------------------------------------
    Boxes
--------------------------------------------------*/
.boxes {overflow: auto; margin:15px 0 0 0; margin-left:-40px; float:left;}
.boxes li {float: left; list-style-type:none;}
  .boxes li a {float:left; background:transparent url(../../images/BottomButtons.png) top left no-repeat;
      display:block; margin:0 15px 0 0; text-indent:-999em; height:135px; width:180px;
      -moz-border-radius: 7px; -webkit-border-radius: 7px; border-radius: 7px;}
  .boxes li:last-child a{margin-right:0;}
  .boxes li a.libraries{background-color:#e53f3f; background-position: 0 0;}
  .boxes li a:hover.libraries{background-position: 0 -150px;}
  .boxes li a.lac{background-color:#b7d433; background-position: -195px 0;}
  .boxes li a:hover.lac{background-position: -195px -150px;}
  .boxes li a.archives{background-color:#f5981e; background-position: -390px 0;}
  .boxes li a:hover.archives{background-position: -390px -150px;}
  .boxes li a.sites{background-color:#ebc233; background-position: -585px 0;}
  .boxes li a:hover.sites{background-position: -585px -150px;}
  .boxes li a.museum{background-color:#985db6; background-position: -780px 0; margin-right:0;}
  .boxes li a:hover.museum{background-position: -780px -150px;}
  .boxes li a:hover{background-color:#dcddde;}

/*--------------------------------------------------
    Quotes
--------------------------------------------------*/
.quotes {}
.quotes .quote {display:none;}
.quotes .quote.active {display:block;}
.quote {padding-top:70px; margin-bottom:25px; background:url(../images/QuotationMark.png) top left no-repeat;}
.quote .content {font-family:Georgia; font-style:italic; font-size:21px; line-height:1.1; margin-bottom:17px;}
.quote .author {text-align:left; font-size:12px;}

/*--------------------------------------------------
    News ticker
--------------------------------------------------*/
ul.newsTicker {list-style-type: none; margin:0; padding:0; position: relative; font-size:13px;}
ul.newsticker li {float: left; margin: 0; padding: 0;}
.newsTicker span.item {padding:0 10px;}
.newsTicker span.site{font-weight:bold; padding:0 5px;}
.newsTicker span a{text-decoration:none;}
.newsTicker span.item:after {content: " ///"; color:Gray;}

/*--------------------------------------------------
    Slideshow
--------------------------------------------------*/
.slideshow {}
.slide {display:none;}
.slide.active {display:block;}
.slide .image {margin-bottom:4px; height:375px;}
.slide .imageText {height:10px; margin-bottom:10px; text-align:right; font-size:11px;}

/*--------------------------------------------------
    Forms
--------------------------------------------------*/
label    { font-weight: bold; }

input[type=text], input[type=password], input[type=url], input[type=email],
input.text, input.title,
textarea {
  background-color:#fff;
  border:1px solid #000;
  color:#000;
}

input[type=text]:focus, input[type=password]:focus, input[type=url]:focus, input[type=email]:focus,
input.text:focus, input.title:focus,
textarea:focus {
  border-color:#666;
}

select { background-color:#fff; border-width:1px; border-style:solid; }

input[type=text], input[type=password], input[type=url], input[type=email],
input.text, input.title,
textarea, select {
  margin:2px 0 15px;
}

input[type=submit]{padding:5px; width:100px;}

input.text,
input.title { width: 325px; padding:5px; }

input.title { font-size:1.5em; }
textarea    { width: 385px; height: 150px; padding:5px; }
textarea.full {width:615px; height:250px;}
form.inline { line-height:3; }
form.inline p { margin-bottom:0; }

label {font-size:11px; text-transform:uppercase;}

.error{color:Red;}
.validationSummary{border:1px solid #fdc88a; color:black; margin-bottom:15px; padding:15px 15px 0 15px; padding-left:65px; background:#fefefe url(../images/error.gif) no-repeat 15px 15px; min-height:50px;}
.okSummary{border:1px solid #dae79a; color:black; margin-bottom:15px; padding:15px 15px 0 15px; padding-left:65px; background:#fefefe url(../images/checkmark.png) no-repeat 15px 15px; min-height:50px;}


/*--------------------------------------------------
    Colors
--------------------------------------------------*/
.black{color:#000000;}
.gray{color:#c7c8ca;}
.gray-light{color:#dcddde;}
.gray-dark{color:#808285;}
.orange{color:#f5981e;}
.orange-light{color:#fdc88a;}
.green{color:#68b545;}
.green-light{color:#dae79a;}
.purple{color:#985db6;}
.dark-yellow{color:#e5b02b;}
.red{color:#e53f3f;}