/* HTML5 ✰ Boilerplate
 * from https://github.com/verekia/initializr-template/blob/master/css/style.css
 * ==|== normalize ==========================================================
 */

/* HTML5 ✰ Boilerplate
 * from https://github.com/verekia/initializr-template/blob/master/css/style.css
 * ==|== normalize ==========================================================
 */

 article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
display : block;
}
audio:not([controls]) {
display : none;
}
[hidden] {
display : none;
}
html {
font-family : 'Times New Roman', serif;
font-size : 100%;
overflow-y : scroll;
}
body {
margin : 0;
font-size : 13px;
line-height : 1.231;
}
body, button, input, select, textarea {
font-family : 'Times New Roman', serif;
}
::-moz-selection {
background : #fe57a1;
color : #fff;
text-shadow : none;
}
a {
color : #00e;
}
a:visited {
color : #551a8b;
}
a:hover {
color : #06e;
}
a:focus {
outline : thin dotted;
}
a:hover, a:active {
outline : 0;
}
abbr[title] {
border-bottom : 1px dotted;
}
b, strong {
font-weight : bold;
}
blockquote {
margin : 1em 40px;
}
dfn {
font-style : italic;
}
hr {
display : block;
height : 1px;
border : 0;
border-top : 1px solid #ccc;
margin : 1em 0;
padding : 0;
}
ins {
background : #ff9;
color : #000;
text-decoration : none;
}
mark {
background : #ff0;
color : #000;
font-style : italic;
font-weight : bold;
}
pre, code, kbd, samp {
font-family : 'Times New Roman', serif;
font-size : 1em;
}
pre {
white-space : pre;
white-space : pre-wrap;
overflow-wrap : break-word;
}
q {
quotes : none;
}
q:before, q:after {
content : "";
content : none;
}
small {
font-size : 85%;
}
sub, sup {
font-size : 75%;
line-height : 0;
position : relative;
vertical-align : baseline;
}
sup {
top : -0.5em;
}
sub {
bottom : -0.25em;
}
ul, ol {
margin : 1em 0;
padding : 0 0 0 40px;
}
dd {
margin : 0 0 0 40px;
}
nav ul, nav ol {
list-style : none;
list-style-image : none;
margin : 0;
padding : 0;
}
img {
border : 0;
vertical-align : middle;
}
svg:not(:root) {
overflow : hidden;
}
figure {
margin : 0;
}
form {
margin : 0;
}
fieldset {
border : 0;
margin : 0;
padding : 0;
}
label {
cursor : pointer;
}
button, input[type="button"], input[type="reset"], input[type="submit"] {
cursor : pointer;
}
input[type="checkbox"], input[type="radio"] {
box-sizing : border-box;
}
input[type="search"] {
box-sizing : content-box;
}
button::-moz-focus-inner, input::-moz-focus-inner {
border : 0;
padding : 0;
}
textarea {
overflow : auto;
vertical-align : top;
resize : vertical;
}
table {
border-collapse : collapse;
border-spacing : 0;
}
td {
vertical-align : top;
} 

/* ===================================================
    Initializr styles
    http://verekia.com/initializr/responsive-template
    Author: Jonathan Verrecchia
   =================================================== */

/* ==============
    MOBILE: Main
   ============== */

#main article h1 {
font-size : 2em;
text-align : center;
width : 100%;
}
#footer footer {
color : white;
} 

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 #title {
padding-top : 20px;
} 

/* ==|== non-semantic helper classes ======================================== */
 .ir {
display : block;
border : 0;
text-indent : -999em;
overflow : hidden;
background-color : transparent;
background-repeat : no-repeat;
text-align : left;
direction : ltr;
}
.ir br {
display : none;
}
.hidden {
display : none !important ;
visibility : hidden;
}
.visuallyhidden {
border : 0;
clip : rect(0 0 0 0);
height : 1px;
margin : -1px;
overflow : hidden;
padding : 0;
position : absolute;
width : 1px;
}
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
clip : auto;
height : auto;
margin : 0;
overflow : visible;
position : static;
width : auto;
}
.invisible {
visibility : hidden;
}
.clearfix:before, .clearfix:after {
content : "";
display : table;
}
.clearfix:after {
clear : both;
} 

/* ==============
    Standardize text display used in all Nav menus
   ============== */

nav {
  text-transform: uppercase;
  font-family: "Gill Sans", "Gill Sans MT", Helvetica, Arial, sans-serif;
}

nav a {
  display:block;
  /*  for uniform look on nav, don't see what's been visited */
  color:black;
}

nav a:hover, nav a:visited{
  color:darkblue;
  box-shadow: none;
}

/* ==============
    nav-menu for embedded pop-ups (vertical menus only)
   ============== */

#nav_all, #nav_subset {
  background-color: lightblue;
}

/* id nav_all floats beside announcement for large displays and below it for smaller displays */
#nav_all {
  float: left;
  width: 20%;
}

#nav_subset {
  float: right;
  width: 20%;
}

.nav-menu {
  position: relative;
  text-align: left;
}

.nav-menu ul ul {
  visibility: hidden;
  position: absolute;
}

.nav-menu li.first a {
    padding-bottom: .5em;
}

.nav-menu li  {
    margin: 10px;
}

.nav-menu ul li:hover ul, 
.nav-menu ul li.active ul {
    visibility: visible;
    background: palegreen;
    height:250px;
    overflow:scroll;

}


/* ==============
    CELEBRATION: 
   ============== */

/* Header */
header, footer, .nav_horizontal, #main {
    padding:10px 10px;
}

header, footer {
  text-align: center;
  font-style: italic;
  font-weight : bold;
}

header h1 {
  background: url('../_graphics/celebration-line.gif');
  line-height: 2.2em;
  font-family: 'Lucida Calligraphy', 'Times New Roman', serif;
  font-weight: bold;
}

footer h1 {
  background: url('../_graphics/celebration-line.gif');
  font-family: 'Lucida Calligraphy', 'Times New Roman', serif;
  font-weight: bold;
}

footer {
  margin-top: 20px;
}


/* Navigation */

section {
  clear: both;
}

.nav_horizontal li {
  float: left;
  text-align:center;
  text-decoration:none;
}

.widex1 {
  width: 100%; 
}

.widex3 {
  width: 33%; 
}

.widex4 {
  width: 25%; 
}

.widex4 article img {
  max-width: 100%;
  max-height: 12em;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


#out_links li {
   background-color: yellow;
   min-height: 2.4em;
}

#special_collections article a {
  background-color: yellow;
  min-height: 2.4em;
  margin-bottom: .6em;
}

#birthday_message {
  background-color: yellow;
  min-height: 2.4em;
  text-transform: none;
  font-family: 'Times New Roman', serif;
  font-style: italic;
 }

/* New and Cool section */

#new_and_cool  {
  max-width: 60%;
  margin-left: 22%;
  margin-right: 22%;
  margin-top: 10px;
  text-align: center;
}

#new_and_cool h3 {
  color:#FF00FF;
  font-weight : bold;
  margin-top: 1%;
  margin-bottom: 1%;
}

#new_and_cool cite {
  font-style: italic;
}

#new_and_cool img {
  margin-top: 1%;
  margin-bottom: 1%;
}


/* Specialize to fit screen size section */


@media only screen and (min-width: 480px) {
   header h1  {
     font-size: 1.4em;
   }
   h2, #new_and_cool {
     font-size: 1.2em;
   }
   footer h1, h3 p, #birthday_message {
     font-size: 1em;
   }
}
@media only screen and (min-width: 768px) {
   header h1 {
     font-size: 1.8em;
   }
   h2, #new_and_cool{
     font-size: 1.4em;
   }
   footer h1, h3 p, #birthday_message {
     font-size: 1.2em;
   }
}
@media only screen and (min-width: 1140px) {
   header h1 {
     font-size: 2.2em;
   }
   h2, #new_and_cool {
     font-size: 1.8em;
   }
   footer h1, h3 p, #birthday_message {
     font-size: 1.4em;
   }
}
