html {
font-size: initial;
}
/* darken the default link colour from Bootstrap for a11y reasons */
.row a, .pagination > li > a {
  color: #275c8a;
}
.yamm-content .row > ul > li > a {
  display: block;
}
#site {
  position: relative;
  box-shadow: 0 2px 5px rgba(0,0,0,0.26);
}
.header {
  width:100%;
 /* padding:20px 10px 0px 20px;*/
}
.logo-container {
  height:5.5rem;
}
#uw-logo {
  display: inline-block;
  width: 16rem;
  height: 5.5rem;
  text-indent: -999em;
  overflow: hidden;
  background: url(../media/universityofwaterloo_logo.png) no-repeat 0;
  background-size: contain;
  margin-left:-20px;
}
.title-container{
  background:#444;
}
#site-title {
  text-align:center;
  /*margin-top:0px;*/
  /*margin-bottom:0px;*/
  font-size:1.8rem;
  font-family:"Open Sans Condensed Bold", "Arial Narrow", sans-serif;
}
#site-title a {
  color:#fff;
}
.libnav {
  background-color:#fff;
}
.navbar-bg-trans {
  background:transparent;
}


.ip-alert-success span {
  color:#252525;
  font-weight:700;
}
#main-background {
  background-color:#F5F5F5;
  padding-top:10px;
  padding-left:0px;
  padding-right:0px;
}
.content-card {
  margin:8px 0px;
  display:inline-block;
  background-color:#FFF;
  width:100%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  border-radius:2px
}
.content-card .nav>li>a {
  padding: 8px 15px;
}
.action-card .list-group h4, .info-card .list-group h4 {
  margin-top:5px;
  margin-bottom:5px;
}
.action-card, .info-card {
  padding-bottom:8px;
}

.note-head {
  padding:8px;
  background-color:#444;
  color:#fff;
  font-weight:700;
  display:block;
  float:left;
  height:100%;
}
.note-body {
  padding:8px;
  margin-left:8px;
  float:left;
}

.hour-card a {
  color:#333;
}
.hour-card a:hover {
  text-decoration: none;
  background: #757575;
  color:#fff;
}
.hour-card .today{
  display:block;
  text-align:center;
  margin-top:6px;
  margin-bottom:5px;
}
.hour-card .date-select{
  margin-bottom:0px;
  margin-top:0px;
}
.no-border {
  border:none;
  border-color:transparent;
}
.hour-card .media-list{
  padding-left:16px;
  padding-right:16px;
  margin-bottom:0px;
  margin-top:0px;
}

.hour-card #hours_interruptions {
  margin: 10px;
  padding: 10px;
  border-radius: unset; /* override border-radius set by Bootstrap */
}

@media screen and (min-width: 769px) {
  .hour-card .media {
    display:block;
    width: 50%;
    float: left;
    margin-top:0px;
    margin-bottom:8px;
    min-height:7.5em;
  }
}
.hour-card .media-heading {
}
.building-hour {
  font-weight: 700;
  border-left: 0.5em solid #FCE082;
  padding-left: 6px;
}
.hour-card .media-left{
  display:table-cell;
  vertical-align:top;
}
.media-left img {
  max-height:80px;
  max-width:80px;
}
.hour-card .media-body {
  display:table-cell;
  vertical-align:top;
  padding-left:8px;
}
.card-btns {
  text-align:center;
}
.hour-btns .btn {
  margin-left:8px;
}
.content-card .list-group {
  margin-bottom:5px;
}
.content-card .list-group-item {
  border:none;
  border-radius:0px;
  color: #333;
}
.content-card .card-title {
  padding-left:16px;
  font-weight: 600;
  margin-top: 0px;
  margin-bottom: 0px;
  color: #757575;
  text-transform: uppercase;
  border-bottom: 1px solid #fdd54f;
  padding-bottom: 8px;
  padding-top: 8px;
  font-size: 1.5em;
}
.news-card .news-img {
  width: 30%;
  float: right;
  padding-left: 8px;
  display:inline-block;
}
.news-card .news-img-text {
  display:inline-block;
  width:70%;
}
.search-result-card {
  margin: 2px 1px;
  display: inline-block;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
  /*border-radius: 2px;*/
}
.search-result-card>h2,.search-result-card>h3,.search-result-card div>h4, .search-result-card p, .search-result-card>ul {
  padding-left:15px;
  padding-right:15px;
}
.search-result-card .search-result-content {
  margin-bottom: 25px;
}
ul.result-list {
  margin-right: 15px;
  margin-left: 15px;
}
.jump-card {
  width:auto;
}
.affix {
  top:20px;
}
.affix-bottom {
  position:relative;
}
.cal-card {
  padding-left:15px;
  padding-right:15px;
}
.embed-cal {
  width:100%;
}
.more-opt-card .card-title, .jump-card .card-title {
  margin-bottom:8px;
}
.bg-circle {
  border-radius:50%;
  display:block;
  height:30px;
  width:30px;
  background-color:#bdbdbd;
}
h1, h2, h3, h4, h5, h6 {
  margin-top: 10px;
  font-family: 'Open Sans Condensed';
}
h1 {
  font-weight: bold;
}
h2 {
  font-size: 1.66em;
}
h3 {
  font-size: 1.3em;
}
h1 > a, h1 > a:hover, h1 > a:active{
  text-decoration: none;
  color:#000;
  margin:5px;
}
h1 sup{
  color:#FCE082;
}
.lib-site-title {
  /*text-transform: uppercase;*/
  /*padding-top: 15px;*/
  padding-right: 15px;
  margin-top:5px;
  margin-bottom:0px;
}
#search-div, .search-card .search-div {
  margin-top:8px;
  margin-bottom:8px;
  margin-left:16px;
}
.search-btn-container{
  float:right;
  margin:0;
  height:50px;
  padding: 8px 56px 7px 7px;
}
.btn-search {
  background-color: #fdd54f;
  border: 1px solid #ccc;
  border-radius: 12px;
  color: #000;
  font-size: 110%;
  height: 100%;
  /*
  height:100%;
  border-radius:0px;
  color: #000;
  background-color: #FCE082;
  border-color: #FCE082;
  font-size:110%;
  */
  /*****
  background-color: #fff;
  border-color: #252525;
  border-radius: 5px;
  color: #000;
  font-size: 110%;
  height: 100%;
  margin: 8px;
  **********/
}
.btn-search:hover {
  color: #fff;
  background-color: #757575;
  border-color: #757575;
}
.search-card .advanced {
  padding-left: 16px;
}


.search-card .nav-tabs > li > a {
  color: #757575;
 /* background-color: #EEEEEE;*/
 /* border-bottom: 1px solid #ddd;*/
 /* border-right: 1px solid #ddd;*/
  box-sizing: border-box;
  margin-left: 4px;
  margin-right: 4px;
  border-radius:0px;
  border:none;
}
.search-card .nav-tabs > li > a:hover {
  color: #000;
 /* background-color: #FFFFFF;*/
 /* border: 1px solid transparent;*/
 /* border-right: 1px solid #ddd;*/
}


.search-card .nav-tabs > li > a:hover,
.search-card .nav-tabs > li.active > a{
 /* border-bottom:1px solid #FFFFFF;
  border-top:1px solid #FFFFFF;
  border-left:1px solid #FFFFFF;*/
  background: #fff;
  border:none;
}
.search-card .nav-tabs > li.active > a:hover{
  background: #fff;
  border:none;
  border-bottom: 5px solid #444;
}
.search-card .nav-tabs > li.active > a {
 /* background-color: #FFFFFF;*/
 /* border: 1px solid transparent;*/
 /* border-right: 1px solid #ddd;*/
  color:#000;
  font-weight:700;
  border:none;
  border-bottom: 5px solid #444;
}


.form-inline .form-control {
  width: 100%;
  border-radius:12px;
}
.no-side-padding {
  padding-left: 0px;
  padding-right: 0px;
}
.extra-buffer {
  margin-top: 15px;
  margin-bottom: 30px;
}
.extra-top-buffer {
  margin-top: 20px;
}

.result-title {
  margin-top: 22px;;

}
.uw .navbar .yamm-content ul>.no-border {
 border-bottom: 0px;
}
.crop-top {
  margin-top: -10px;
}
.crop-bottom {
  margin-bottom: -20px;
}
.crop-left {
  margin-left: -30px;
}
.crop-right {
  margin-right: -30px;
}
.navbar-nav {
  float:none;
  display:table;
  margin-left:auto;
  margin-right:auto;
}
.navbar-default .navbar-nav>li>a {
  font-weight: bold;
  /*border-left: 1px solid #f0f0f0;*/
}
/*.navbar-default .navbar-nav .tips{
  border-right: 1px solid #f0f0f0;
}*/
.navbar-collapse {
  padding-left: 0px;
}
.bg-light-grey {
  background: #eee;
}
.bg-md-gray{
  background-color: #555;
  color:#FFF;
}
.bg-dark-grey {
  background: #252525;
}
.bg-black {
  background: #000;
}
.bg-white {
  background: #fff;
}
.no-text-decor:hover{
  text-decoration: none;
}
.yamm-content>.row>ul>li{
  padding-bottom:5px;
  padding-top:5px;
  padding-left:10px;
  padding-right:5px;
}
.yamm-content .row>ul>li>a {
  font-size:110%;
  font-weight: normal;
}
.yamm-content .row ul li small {
 padding-left:1.5em;

}
.yamm-content .row ul li.yamm-unstyled-list-item {
  list-style-type: none;
/*  margin-left: -15px;*/
}
.yamm-content .row ul li.yamm-section-title {
  list-style-type: none;
  margin-left: -15px;
  margin-bottom: 15px;
}
.yamm-content .row ul li.yamm-section-title a {
  color: #000;
  font-weight: bold;
  text-decoration: none;
}
@media screen and (min-width: 769px) {
.uw .navbar .yamm-content .row ul .highlight {
  margin-top:18em;
}
}
.uw .navbar .yamm-content .row ul .highlight a {
    color:#FCE082;
    font-weight: bold;
}
.ip-alert{
  border:1px solid #FFEBC5;
  background-color: #FFFBD9;
  color:#252525;
}
.ip-alert a{
  color: #96172E;
  text-decoration:underline;
}
/*
.lib-footer {
  background-color: #737373;
  padding: 10px;
  margin-top: 0px;
  margin-bottom: 0px;
  color: #ffffff;
}
*/
.lib-footer {
    background-color: #737373;
    padding: 14px;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #ffffff;
    padding-left: 338px;
}
.inner-footer {
  margin: 0 auto;
  max-width: 1024px;
  max-width: 64rem;
}
.inner-footer .footer-title {
  color: #ffffff;
  line-height: 40px;
  line-height: 2.5rem;
  text-decoration: none;
  cursor: pointer;
  font-size: 25.6px;
  font-size: 1.6rem;
  font-family: "Open Sans Condensed Bold", "Arial Narrow", sans-serif;
  font-weight: 700;
}
.inner-footer a{
  font-size: 0.75rem;
  color:#ffffff;
}
.global-footer {
  background: #313131;
  color: #fff;
  font-size: 0.8em;
  padding: 10px;
}
.uw-address {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 1rem;
  margin-top: 1rem;
}
.uw-address p {
  margin-bottom: 0px;
}
.addr-title {
  font-size: 110%;
  font-weight:600;
}
.uw-footer-links {
  text-align: center;
}
.uw-footer-links a, .uw-footer-links p {
  color: #FCE082;
  text-transform: uppercase;
}
.global-footer li {
  list-style: none;
}
.global-footer li a {
  color: #fff;
}
.dl-horizontal dt {
  width: 75px;
}
.dl-horizontal dd {
  margin-left: 85px;
}
div.featured-item {
  display: none;
}

.lib-event-item .date {
  display: block;
  float:left;
  font-weight: bold;
  border:1px solid #757575;
  /*margin-top: -2px;*/
  width: 20%;
  padding-top:4px;
}
.lib-event-item .date .day {
  color: #757575;
  display: block;
  font-size: 3em;
  line-height: 1em;
  text-align:center;
}
.lib-event-item .date .month {
  color: #757575;
  font-size: 1.2 em;
  display: block;
  text-transform: uppercase;
  text-align:center;
}
.lib-event-item .date .year {
  display:none;
}
span.lib-event-text {
    width: 80%;
    float: right;
}
.lib-event-item .lib-event-item-heading {
  padding-left: 16px;
  display: block;
  /*float: left;*/
  margin-top: 0px;
  margin-bottom: 8px;
  margin-left: 0px;
}
.lib-event-item .lib-event-time {
  padding-left: 16px;
  display: block;
  /*float:left;*/
  margin-left: 0px;
  color: #757575;
}
.lib-event-item:hover .date {
  border-color:#fff;
}
.lib-event-item:hover .day, .lib-event-item:hover .month, .lib-event-item:hover .lib-event-time {
  color:#fff;
}

a.list-group-item:hover, a.list-group-item:hover .list-group-item-heading {
  background: #757575;
  color:#ffffff;
}

/**
* Style for News section.
*/
.centre-align {
  margin-left:auto;
  margin-right:auto;
}
/**
* End style for News section.
*/

/**
* Style for search result pages
*/
#linkBooksCtr, #linkArticlesCtr, #linkWebpagesCtr {
text-align:right;
}
.searchword {
  /*background-color: #FCE082;*/
  border-bottom:1px dotted #252525;
}
/**
* End of style for search result pages
*/

/**
* Fixes for Bootstrap
*/
.navbar {
  margin-bottom: 0px;
}

/**
* End of fixes for Bootstrap
*/

/**
* Fixes for smaller screens
*/
@media screen and (max-width: 767px) {

  .nav-mobile {
    float:none;
  }
  .nav-mobile li a {
  padding:20px;
  }
  .container-fluid>.navbar-collapse {
    max-height:none;
	margin-left:20%;
	padding-left:10px;
  }
  .navbar-collapse .bg-md-gray {
  background-color:inherit;
  }
  .yamm-content a{
  display:block;
  width:80%;
  padding:10px;
  }
  .lib-header-watermark {
  width:auto;
  float:none;
  }
}
/**
* End of fixes for smaller screens
*/

.mark-bg {
  background: #fff;
  margin-top: 8px;
  padding-top: 16px;

}

/**
* Copied from app.css
* Style for UW footer watermark
*/
.uwm-uwaterloo-mark-wrap {
  background: transparent;
  min-height: 68.8px;
  min-height: 4.3rem;
  position: relative;
  z-index: 4;
  width: 100%;
  }
@media only screen and (min-width: 48.063em) {
  /* line 872, ../scss/app.scss */
  .uwm-uwaterloo-mark-wrap {
    min-height: 112px;
    min-height: 7rem; } }

/* line 886, ../scss/app.scss */
.uwm-uwaterloo-mark {
  min-height: 68.8px;
  min-height: 4.3rem;
  background: url(../media/ghost-waterloo-grey.png) no-repeat center top;
  background: url(../media/ghost-waterloo-grey.svg) no-repeat center top;
  background-size: contain;
  position: absolute;
  padding: 0px 32px;
  padding: 0rem 2rem;
  z-index: 5;
  max-width: 1024px;
  max-width: 64rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 95%; }
@media only screen and (min-width: 48.063em) {
  /* line 886, ../scss/app.scss */
  .uwm-uwaterloo-mark {
    min-height: 112px;
    min-height: 7rem; }
}
.pagination {
  margin:16px;
}

.uw-site-footer1-contact {
    text-align: right;
    valign: top;
}

.uw-footer-social {
    display: inline;
    text-align: right;
    margin-left: 597px;
}
