@import url(https://fonts.googleapis.com/css?family=Rajdhani:400,500,600,700,300);

/* --------------------------------------------- 
* Filename:     ffpltc.css
* Version:      1.0.0 (2016-10-03)
* Website:      http://ffpltc.ca
* Description:  FFPLTC Styles
* Author:       FFPLTC
                info@ffpltc.ca
-----------------------------------------------*/

.navbar.topnav {
  margin-bottom: 0;
}

.ffpltc-event-logo,
.ffpltc-event-background,
.ffpltc-slideshow-logo {
    display: none;
}

.carousel-caption {
  left: 10%;
  top: 20%;
  right: auto;
  display: block;
  position: absolute;
  
  /* original */
  background-color: #fff;
  background: rgba(0, 0, 0, 0.75);
  color: #ddd;
  text-shadow: none;
  padding: 20px;
  bottom: auto;
  font-size: 16px;
  line-height: 120%;
  text-align: left;
}

.path-events .carousel-caption {
  left: auto;
  right: auto;
  display: block;
  position: relative;
  /* original */
  background-color: #fff;
  background: rgba(0, 0, 0, 0.75);
  color: #ddd;
  text-shadow: none;
  padding: 20px;
  bottom: auto;
  font-size: 16px;
  line-height: 120%;
  text-align: left;
}

.carousel-caption  h3, .carousel-caption  p {
  display: block;
}

.path-events h2.field-content {
  margin: 0;
}

@media (min-width: 767px) {
  .ffpltc-event-logo {
    display: block;
    position: absolute;
    top: 20%;
    left: 10%;
    margin: 20px;
  }
  
  .ffpltc-event-background {
    display: block;
  }

  .ffpltc-slideshow-logo {
    display: block;
    position: absolute;
    top: 20%;
    right: 10%;
    margin: 20px;
    z-index: 10;
  }
  
  .path-events .carousel-caption {
    width: 40%;
    left: auto;
    right: 10%;
    display: block;
    position: absolute;
  }
}

/* events view exposed forms */
.path-events .views-exposed-form label {
  display: block;
}

.path-events .views-exposed-form .js-form-item {
  display: inline-block;
  margin: 10px;
}

.toc-filter h2 {
  margin-bottom: 20px;
}

.toc-filter ul {
  padding-left: 30px;
  margin-top: 0; /*was 20px */
}

.toc-filter p {
  margin-bottom: 0; /*was zero */
}

.toc-filter ol {
  counter-reset: item;
  list-style-type: none;
  padding-left: 0;
  margin-top: 0; /*was 20px */
}

.toc-filter ol ol {
  padding-left: 50px;
}

.toc-filter p + p {
  margin-top: 10px;
}
.toc-filter ol > li {
  display: block;
  position: relative;
  margin-bottom: 0; /*was 20px */
}

.toc-filter ol > li:before {
  counter-increment: item;
  content: counters(item, "-")")";
  position: absolute;
  margin-right: 100%;
  right: 10px;
  white-space:nowrap;
}

.toc-filter > ol > li:before {
  font-size: 20px;
  font-weight: 600;
}

/* Table of Contents Block */

.block-toc-filter ol {
  counter-reset: item;
  list-style-type: none;
}

.block-toc-filter ol > li {
  display: block;
  position: relative;
}

.block-toc-filter ol > li:before {
  counter-increment: item;
  content: counters(item, "-")")";
  position: absolute;
  margin-right: 100%;
  right: 10px;
  white-space:nowrap;
}

/* policies */

.ffpltc-policy ul {
  padding-left: 0;
}

.ffpltc-policy-number {
  display: inline-block;
}

.ffpltc-policy-name {
  display: inline-block;
  margin-left: 20px;
  text-color: black;
}

/* Policy field labels */
/* This should be changed to check for inline before changing display */

.node--type-policy .node__content .field__label,
.node--type-policy .node__content .field__item {
  display: inline-block;
}

.node--type-policy .node__content .field__label {
  font-weight: bold;
  padding-right: 0.5em;
}

.node--type-policy .node__content .field__label::after {
  content: ":";
}

/* Breadcrumbs */
.breadcrumb ul li:first-child {
  display: none;
}

/* Board Menu */
#block-board > ul {
  list-style-type: none;
}

/* tables */
table {
  border-spacing: 10px;
  border-collapse: initial;
}

/* eResources */

/* Buttons */
.eResource .button-access {
  padding: 10px;
  background-color: #8bc34a;
  color: white;
  position: absolute;
  right: 35px;
  top: 35px;
  line-height: 30px;
  width: 169px;
  text-align: center;
  font-weight: 600;
  font-size: 20px;
  font-family: "Roboto",UILanguageFont,Arial,sans-serif;
}

.eResource .views-field-field-android {
  position: absolute;
  right: 214px;
  top: 35px;
}

.eResource .views-field-field-ios {
  position: absolute;
  right: 392px;
  top: 35px;
}

.eResources h2,
.services h2,
.acknowledgments h2 {
  clear: both;
}

.eResource .list-group-item:first-child {
  min-height: 122px;
}

.eResource .screenshots {
  clear: both;
  margin-left: 20px;
}

.eResources .list-group-item,
.services .list-group-item {
  margin: 1em;
  float: left;
  text-align: left;
  min-height: 193px;
}

.acknowledgments .list-group-item,
.tutorials .list-group-item {
  margin: 1em;
  float: left;
  text-align: center;
  min-height: 130px;
}

.eResources .views-field-field-eresource-vendor .field-content,
.eResource .views-field-field-eresource-vendor .field-content,
.eResource .views-field-field-url-1 .field-content {
  display: inline-block;
  margin-left: 0.25em;
}

.eResources .item-list .views-field-title,
.services .item-list .views-field-title,
.acknowledgments .item-list .views-field-title,
.tutorials .item-list .views-field-title {
  font-family: "Roboto",UILanguageFont,Arial,sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 17px;
  margin-top: 12px;
}

.eResources .item-list .views-field-title,
.services .item-list .views-field-title {
  width: 100px;
  overflow: hidden;
}

.eResources .item-list .views-field-title {
  white-space: nowrap;
}

.acknowledgments .item-list .views-field-title{
  width: 200px;
  /*
  overflow: hidden;
  white-space: nowrap;
  */
}

.eResources .item-list .views-field-field-eresource-vendor {
  width: 100px;
  overflow: hidden;
  white-space: nowrap;
  font-family: "Roboto",UILanguageFont,Arial,sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 15px;
}

.eResources .item-list .views-field-field-slogan {
  width: 100px;
  overflow: hidden;
  white-space: nowrap;
  font-family: "Roboto",UILanguageFont,Arial,sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 15px;
  margin-top: 12px;
}

.eResource .views-label-body,
.eResource .views-label-field-eresource-features,
.eResource .views-label-field-accessibility,
.eResource .views-label-description__value {
  font-size: 20px;
  font-weight: 600;
}

.eResource .views-field-body {
  clear: both;
}

.eResource .views-field-field-logo {
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
}

.eResources>footer,
.services>footer {
  float: left;
  clear: both;
}

#block-ffpltc-views-block-eresources-block-featured>h2,
#block-ffpltc-views-block-services-block-featured>h2 {
  clear: both;
}

/* eresource pages had a huge padding added by Media module to maintain an aspect ratio
 * that I can't figure out how to set.
 * JG
 */
div#slick-views-eresources-screenshots-1-slider div[style*=padding-bottom] {
    padding-bottom: 10px !important;
}

/* Voting */

.blue-spruce-2017 .list-group-item {
  text-align: center;
  display: inline-block;
  padding: 15px;
  margin: 15px;
  min-width: 280px;
}

#webform-submission-blue-spruce-2017-form {
  font-size: 36px;
}

.book-club .list-group-item {
  text-align: center;
  display: inline-block;
  padding: 15px;
  margin: 15px;
  min-width: 130px;
}

/* MakerSpace */

.makerspace .list-group-item {
  text-align: center;
  display: inline-block;
  padding: 15px;
  margin: 15px;
  min-width: 240px;
}

.makerspace .list-group-item .views-field-title {
  font-size: 20px;
  font-weight: 600;
}

.makerspace .list-group-item .views-field-field-makerspace-license {
  font-style: italic;
}

.makerspace .list-group-item .views-field-field-makerspace-print-time {
  font-weight: 600;
}


/*
#webform-submission-blue-spruce-2017-form #edit-book,
#webform-submission-blue-spruce-2017-form #edit-submit,
#webform-submission-blue-spruce-2017-form label {
  font-size: 36px;
}
*/

/* Slick Carousel */

/* the slides */
#slick-views-eresources-screenshots-1 .slick-slide {
  margin: 0 5px;
}

/* the parent */
#slick-views-eresources-screenshots-1 .slick-list {
  margin: 0 -5px;
}

/* blocks */
#block-views-block-eresources-block-featured,
#block-views-block-services-block-featured {
  clear: both;
}

/* Accessibility */
.accessible-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Forms */
form label {
  min-width:110px;
}

#webform-submission-shaw-form #edit-contact--wrapper legend,
#webform-submission-study-room-form #edit-contact--wrapper legend {
  display: none;
}
/*
.form-required:after {
  content: '*';
  color: red;
}
*/
/* Menu */
/*
.main-header > .topnav {
  height: 80px;
  line-height: 80px;
  text-align: center;
}

.main-header > .topnav > .container {
  width: 100%;
}

.region-primary-menu .menu-base-theme li a {
  font-family: "Trebuchet MS", "Helvetica Neue", Arial, Helvetica, sans-serif;
  text-transform: none;
  font-size: 22px;
  
  height: 80px;
}

.region-primary-menu .menu-base-theme li ul a {
  font-size: 16px;
  text-align: left;
  height: initial;
}
*/
/* Height and alignment */
/*
.col-md-7, .col-md-3 {
  height: 80px;
  vertical-align: middle;
  display: inline-block;
  line-height: normal;
  float: none;
}

.site-branding__logo img {
  padding-left: 3px;
  height: 74px;
  max-width: initial;
}
*/

/* Print */
.node--view-mode-print > h2,
.node--view-mode-print .toc-filter .back-to-top {
  display: none;
}

.print {
  float: right;
}

.print,
.button {
  background-color: #996600;
  border: none;
  padding: 15px 32px;
  text-align: center;
  display: inline-block;
}

.print a,
.button a {
  color: white;
  text-decoration: none;
}

/* Hours */
#hours-list {
  list-style-type: none;
}

.hours-day {
  min-width: 80px;
  font-weight: 700;
  display: inline-block;
}

.hours-until {
}

.hours-closed {
  color: red;
  display: inline-block;
}

.hours-open {
  color: green;
  display: inline-block;
}

.hours-irregular {
  color: orange;
  display: inline-block;
}

.hours-circle {
  display: inline-block;
  margin-right: 0.25em;
  border-radius: 50%;
  width: 0.75em;
  height: 0.75em;
}

.hours-circle-open {
  background-color: #86bd52;
}

.hours-circle-closed {
  background-color: #c92707;
}

/* Slick */
/*
#slick-views-slideshow-slick-test-2-1 div,
#slick-views-slideshow-slick-test-2-1 a {
  outline: none;
}

#slick-views-slideshow-slick-test-2-1 .slick__arrow,
.gallery .slick__arrow {
    pointer-events: none;
    position: absolute;
    top: 50%;
    width: 100%;
    z-index: 2;
    background: none;
}

.slick-prev:before {
  content: '\f053';
  color: white;
  font: normal normal normal 36px/1 FontAwesome;
}

.slick-next:before {
  content: '\f054';
  color: white;
  font: normal normal normal 36px/1 FontAwesome;
}

.slick-prev {
  position: absolute;
  left: 50px !important;
  pointer-events: initial;
  
  font-size: 0;
  background: none;
  border: none;
  outline: none;
}
.slick-next {
  position: absolute;
  right: 50px !important;
  pointer-events: initial;
  
  font-size: 0;
  background: none;
  border: none;
  outline: none;
}
*/
.gallery .slick__slide {
  margin-left: 5px;
  margin-right: 5px;
}

#slick-views-slideshow-slick-test-2-1 .slick__slide {
  margin-left: 0;
  margin-right: 0;
  position: relative;
  
  max-height: 500px;
}

#slick-views-slideshow-slick-test-2-1 .slide__content {
  max-height: 500px;
}

#slick-views-slideshow-slick-test-2-1 .slide__caption {
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

#slick-views-slideshow-slick-test-2-1 .slide__logo {
  position: absolute;
  top: 20%;
  right: 20%;
}

#slick-views-slideshow-slick-test-2-1 .slide__description {
  position: absolute;
  top: 20%;
  margin-left: 20%;
  padding: 20px;
  
  max-width: 450px;
  
  background: rgba(0, 0, 0, 0.75);
  color: #ddd;
  font-size: 16px;
  line-height: 120%;
  text-align: left;
}

.slide__description  h3 {
  margin-top: 0;
  color: #996600;
  font-size: 32px;
}

.path-events h2.field-content {
  margin: 0;
}

#slick-views-slideshow-slick-test-2-1-slider .slide__media .media__image {
  height: initial;
}

.slide__description .list-inline {
  margin-bottom: 0;
}

.slide__description .list-inline-item {
  vertical-align: middle;
}

/* Footer Menu */
.col-sm-6 {
  width: initial;
}

.footer-menu li ul {
  display: inline-block;
  vertical-align: top;
}

.footer-menu li ul li {
  display: block;
}

.footer-menu nav > ul > li > a {
  font-weight: 700;
  font-size: 18px;
}

.footer-menu a {
  color: white;
}

/* Main Menu */
.region-primary-menu, .menu-base-theme li a {
  text-transform: none !important;
}

/* Library Programs */
#block-views-block-eresources-block-featured footer,
#block-views-block-services-block-featured footer {
  float: right;
  clear: both;
}
