/* css reset */
 body, ul, li {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
/* css reset end */

body {
  line-height:1;
  font-family: “National Book”, Arial, san-serif;
  box-sizing: border-box;
}
html,
body {
  height:100%;
}
#header-wrapper {
  width: 100%;
  background: #9a1c1d;
  background: -moz-linear-gradient(top, #9a1c1d 0%, #680301 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #9a1c1d), color-stop(100%, #680301));
  background: -webkit-linear-gradient(top, #9a1c1d 0%, #680301 100%);
  background: -o-linear-gradient(top, #9a1c1d 0%, #680301 100%);
  background: -ms-linear-gradient(top, #9a1c1d 0%, #680301 100%);
  background: linear-gradient(to bottom, #9a1c1d 0%, #680301 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#9a1c1d', endColorstr='#680301', GradientType=0);
  background: linear-gradient(to bottom, #9a1c1d, #680301);
  position: relative;
  height: 125px;
  padding: 20px;
  box-sizing: border-box;
}
#header-wrapper #header-divider {
  border-top: 1px solid #680300;
  border-bottom: 1px solid #9A1C19;
  width: 100%;
  top: 70px;
  left: 0;
  height: 0px;
  position: absolute;
}
#header-wrapper #sub-header {
  clear: both;
  position: relative;
  margin-top: 30px;
}
#header-wrapper #sub-header .utility {
  float: right;
}
button.ask-a-librarian {
  background: #fff;
  border-radius: 3px;
  z-index: 100;
  text-align: center;
  cursor: pointer;
  color: #000;
  font-size: .8em;
  border: none;
  height: 30px;
  font-weight: bold;
  padding: 0 15px;
}
button.ask-a-librarian .fa-question-circle {
  color: #9a1c1d;
  margin-right: 3px;
}
#header-wrapper #sub-header h1 {
  margin: 0;
  color: white;
  font-size: 2em;
  float: left;
  font-family: "Helvetica Neue", Arial, san-serif;
  font-weight: normal;
}
nav {
  background: #2c2c2c;
  width: 100%;
}
ul.nav {
  list-style:none;
}
nav ul li a {
  color: #fff;
  text-decoration: none;
  border-right: 1px dotted #fff;
  height: 23px;
  padding: 0px 10px;
  display: inline-block;
  padding-top: 7px;
  font-size: .8em;
  font-weight: bold;
}

ul.nav a {
   font-size: 13px !important;
   font-family: Arial;
   font-weight: bold;
}

a {
  margin:0;
  padding:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}

.usc-logo {
  float: right;
}

.content-wrapper {
  min-height: 100%;
	position: relative;
}
.content-wrapper .content {
  padding-bottom: 167px;
}

footer {
  background: none;
  padding: 15px 0 0;
}
#footer-wrapper {
  width: 100%;
  height: auto;/*167px;*/
  position: absolute;
  /* bottom: 0; */
  left: 0;
  background: #777;
}
#footer-wrapper .footer {
  height: 120px;
}
#footer-wrapper .usc-lib-logo {
  position: relative;
  padding: 0px 20px;
  top: 40px;
}
#footer-wrapper .footer-cap {
  background: #454545;
  height: 32px;
  color: white;
  padding: 0px 20px;
  padding-top: 15px;
}
#footer-wrapper ul {
  background: #777;
}
#footer-wrapper h4 {
  color: #fff;
}
#footer-wrapper address, #footer-wrapper p, #footer-wrapper a, #footer-wrapper a:hover, #footer-wrapper a:active, #footer-wrapper a:focus {
  color: #fff;
  font-size: 13px;
}
#footer-wrapper a:hover, #footer-wrapper a:active, #footer-wrapper a:focus {
  text-decoration: underline;
}
#footer-wrapper ul.footerList li {
  display: table;
}
#nav_top {
  background-color: #999999; // none repeat scroll 0 0;
  margin: 8px auto;
  width: 95%;
  /* min-height:50px !important; */
  position: relative;
  z-index: 500;
}
#nav_top_left {
  /* margin-top: 5px; */
}
#nav_top_left > ul.nav li a, #nav_top_left_spacer {
  font-size: 0.8rem;
  font-weight: bold;
  color: #fff;
}

#nav_top_left > ul.nav li a:hover, #nav_top_left > ul.nav li a:active, #nav_top_left > ul.nav li a:focus, #nav_top_left > ul.nav li a.selected {
  background-color: #bc0000;
  color: #fff;
}

#nav_top_left > ul.nav li a.selected {
  background-color: #9a1c1d;//#bc0000;
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
}
#nav_top_left > ul.nav li a.selected:hover {
  color: #fff;
}
#search_content_adv_link {
  margin-top: -60px !important;
}
#nav_top_right ul.nav li.nav_li_right_1 a {
  color: #fff;
}
.search_content_container_advanced {
  display: none;
}

/*#nav_top_left > ul.nav li a {
  padding: 11px 10px !important;
}*/

#header .promo-holder ul.nav > li {
  border: none;
}
#header .promo-holder ul {
  background: none;
  height: 25px;
}
#header .promo-holder ul li {
  color: #fff;
  padding: 0;
}
.navRightSpacer {
  padding: 0 10px;
}
.store_menu_active {
    color: #a40000;
}

/* responsive */
@media (max-width: 768px) {
  ul li {
    width: auto;
  }
  nav ul li a {
    width: 100%;
    padding-left: 0;
    border-bottom: 1px dotted #fff;
    padding-right: 0;
    border-right: 0;
  }
  #header-wrapper #sub-header h1 {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  ul li {
    width: auto;
  }
  .usc-logo {
    display: none;
  }
  .user-login {
    display: none;
  }
  #footer-wrapper .footer-cap {
    font-size: .7em;
  }
  #header-wrapper #sub-header h1 {
    font-size: 2em;
  }
  div#header {
    float: left;
    position: relative;
    top: 5px;
    left: 40px;
  }
}

#contact_us_link {
  text-decoration: underline;
}
#cdmFooterWrapper {
    display: none;
}

#search_store_menu_item, #new_search_menu_item, #search_within_results_menu_item {
    cursor: pointer;
}
.search_content_button {
    background-image: none;
}
/*
div#header .search-form {
  height: 36px;
  width: 281px;
  background: transparent;
  padding: 7px 10px 0 0;
}
div#header fieldset {
  padding: 0;
  margin: 0;
  border: none;
}
#search_term {
  height: 1.313rem;
  border: 1px solid #ccc;
  padding-left: 3px !important;
}
#storeCheckboxHome label {
  color: #fff;
  font-size: 100%;
}

#header .add-search {
  padding: 1px 8px;
}

#search-form-container .search-form .searchtext {
  color: #000 !important;
  //background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
}
*/

/*
wtf?
@media (min-width : 320px)
and (max-width : 480px){
  #search-form-container {
    width:233px;
  }
}
*/
/*
 * mobile
 */
@media only screen {
  #uscSmallOnly {
    display: block;
  }
  #uscMobileNav, #uscMobileNavSearch, #uscMobileNavClose {
    display:none;
  }
  div#header {
    float: left;
    position: relative;
    top: -70px;
    background: #999;
    height: 25px;
    width: 100%;
    left: -30px;
  }
  #header .promo-holder, #header .promo-holder ul {
    float: left;
  }
  #header .promo-holder ul {
    padding-left: 20px;
  }
  button.ask-a-librarian {
    padding: 0 10px;
  }
  #nav_top {
    width: 100%;
    background-color: #9a1c1d;
    min-height: 37px;
  }
  #nav_top_left > ul.nav li a, #nav_top_left_spacer {
    background-color: #9a1c1d;
  }
  #nav_top_left > ul.nav li a {
      padding: 8px 10px;
  }
  #nav_top_left > ul.nav li a#nav_top_left_first_link {
      padding-left: 10px;
  }
  #search-form-container {
      z-index: 900;
      width:233px;
      position:relative;
      top: -20px;
      margin: 0 auto;
      float:left;
  }
  #search_term {
      height:25px;
      padding: 1px 3px;
      margin-bottom:0;
      font-size: 12px;
  }
  #search_drop_down {
      float:right;
      position:relative;
      top:-27px;
      z-index:1000;
      margin-right:-5px;
      cursor:pointer;
  }
  #usc_search_btn {
      position:relative;
      top:-24px;
      z-index:1000;
      float:right;
      margin:0;
      margin-right:10px;
      height:20px;
      width:20px;
      background: url('/ui/custom/default/collection/default/resources/custompages/home/images/search_magnify.png') no-repeat;
      cursor:pointer;
      padding:0;
      line-height:0;
      text-indent:-9999px;
      border:none;
  }
  #search_dropdown_menu {
      width:241px;
      color:#000000;
      position:absolute;
      top:28px;
      z-index:1001;
      border:1px solid #999999;
      background-color: #ebebeb;
      padding: 5px 10px;
  }
  #search_dropdown_list {
      list-style-type:none;
      padding:0;
      margin:0;
      position:relative;
      z-index:1002;
      font-size:12px;
  }
  #search_dropdown_list a{
    color: #000;
  }
  #search_dropdown_list li {
      display:block;
  }
}
/*
 * tablet
 */
@media only screen and (min-width: 40.0625em) {
  #uscSmallOnly {
    display: none;
  }
  div#header {
    float: right;
    position: relative;
    top: -94px;
    left: -240px;
    background: none;
    width: auto;
  }
  #nav_top {
    width: 95%;
    background-color: #999999;
    min-height: 50px;
  }
  #nav_top_left > ul.nav li a, #nav_top_left_spacer {
    background-color: #999999;
  }
  #nav_top_left > ul.nav li a {
      padding: 16px 10px;
  }
  #nav_top_left > ul.nav li a#nav_top_left_first_link {
      padding-left: 10px;
  }
  #header .promo-holder, #header .promo-holder ul {
    float: right;
  }
  #header .promo-holder ul {
    padding-left: 0px;
  }
  #search-form-container {
      z-index: 900;
      float: right;
      width:300px;
      position:relative;
      top: -73px;
      margin-right:255px;
      margin-left: 0;
  }
  #search_term {
      height:25px;
      padding: 1px 3px;
      margin-bottom:0;
      font-size: 12px;
  }
  #search_drop_down {
      float:right;
      position:relative;
      top:-27px;
      z-index:1000;
      margin-right:-5px;
      cursor:pointer;
  }
  #usc_search_btn {
      position:relative;
      top:-24px;
      z-index:1000;
      float:right;
      margin:0;
      margin-right:10px;
      height:20px;
      width:20px;
      background: url('/ui/custom/default/collection/default/resources/custompages/home/images/search_magnify.png') no-repeat;
      cursor:pointer;
      padding:0;
      line-height:0;
      text-indent:-9999px;
      border:none;
  }
  #search_dropdown_menu {
      width:308px;
      color:#000000;
      position:absolute;
      top:28px;
      z-index:1001;
      border:1px solid #999999;
      background-color: #ebebeb;
      padding: 5px 10px;
  }
  #search_dropdown_list {
      list-style-type:none;
      padding:0;
      margin:0;
      position:relative;
      z-index:1002;
      font-size:12px;
  }
  #search_dropdown_list a{
    color: #000;
  }
  #search_dropdown_list li {
      display:block;
  }
}
/*
 * desktop
 */
@media only screen and (min-width: 64.0625em) {
  div#header {
    /* margin-top: -42px; */
    float: right;
    position: relative;
    top: -94px;
    left: auto;
  }
  #search-form-container {
      margin-right:10px;
  }
}

/* iPads (landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
  div#header {
    left: auto;
  }
  #search-form-container {
    margin-right:18px;
  }
}
