/* ========================================================================== *\
   The entire theme for this site was created using less locally. The theme
   is contained within a minified CSS file in addition to all javascript.
   Please place theme overrides below here to lock and protect the original
   site theme. If heavy changes need to be made, take care of them locally and
   produce another minified theme base
\* ========================================================================== */
/* ========== APB ONLINE ============ */
#node-1723-teaser {
  margin-bottom: 0;
}
#node-1723-teaser .field-image {
  max-width: 100% !important;
  margin: 0;
}
body.wt238 .posts .node-header .title,
body.wt238 #node-full .title {
  color: #1b3564;
  font-size: 45px;
  border-bottom: 3px solid #fbb128;
  font-family: ITC Franklin Gothic W01;
}
body.wt238 .posts .node-content p:first-child:first-letter,
body.wt238 #node-full .node-content p:first-child:first-letter {
  float: left;
  color: #d61f26;
  font-size: 45px;
  line-height: 30px;
  padding-top: 4px;
  padding-right: 4px;
  padding-left: 3px;
  font-weight: bold;
}

body.wt238 #node-full .node-content p:first-child:first-letter {
  font-size: 75px;
  line-height: 55px;
}

.upcoming.block .node-header {
  position: relative;
  z-index: 2;
}

.upcoming.block .node-links {
  display: block;
}

.upcoming.block .node-links .link {
  display: none;
}

.upcoming.block .node-links .link-read-more {
  display: block;
}

.upcoming.block .node-links .link-read-more a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  z-index: 1;
}

.upcoming.block .node-links .link-read-more a:after,
.upcoming.block .node-links .link-read-more .read-more-text {
  display: none;
}

.upcoming.block .node:hover .meta-item {
  -webkit-transition: color 0.2s linear;
  transition: color 0.2s linear;
}

.upcoming.block .node:hover .meta-item,
.upcoming.block .node:hover .node-header a {
  color: white;
}

.node-content ul,
.node-content ol {
  clear: none;
}

/* Show full node meta info */

.node-full .node-meta {
  display: block;
}

/* Fix the photo gallery */

.photo-gallery .slick-slide {
  float: none !important;
  display: table-cell;
  margin: 0 !important;
  vertical-align: middle;
  background-color: #000;
}

.photo-gallery .slick-slide .caption {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.7);
  padding: 20px;
  color: white;
  font-size: 14px;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
}

.photo-gallery .slick-slide:hover .caption {
  opacity: 1;
}

/* Remove focus form sortable table headers */

table th {
  outline: none;
}

/* Fixing unpublished pods display */
.pods .node-unpublished .title {
  color: black;
}

/* Fix reorder posts images and other cases where the img height attribute dictates the sizing of the image even though the width is limited. This results in a wonky image display. */

img {
  height: auto;
}

/* set a minimum height for the related news section posts on the homepage */

@media (min-width: 640px) {
  .related-news .views-row {
    min-height: 200px;
  }
}

@media (min-width: 1024px) {
  .related-news .views-row {
    min-height: 300px;
  }
}

@media print {
  .page-header .layout {
    height: 200px !important;
  }

  .site-identity {
    bottom: 0;
  }
}

.view-cal>.attachment .calendar-calendar {
  opacity: 1;
}

#cal .calendar-calendar div.date-nav a {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

#cal .calendar-calendar ul.links li a {
  border-radius: 0;
  border-color: white;
}

/* Manipulate placement of lightmessages which houses the authorized content message */

.lightmessages {
  max-width: 980px;
  margin: 60px auto 0;
}

.node-content .photo-grid,
.node-content .photo-gallery {
  clear: both;
}

.node-content .photo-gallery .slick-prev {
  left: 0;
}

.node-content .photo-gallery .slick-next {
  right: 0;
}

/* TICKET 6058 */
body.section-user .profile {
  display: none;
  visibility: hidden;
}
body.section-user h1:before {
  content: 'Welcome ';
}
body.section-user.logged-in .tabs:after {
  content: 'Login Successful';
  color: white;
  font-size: 16px;
  display: block;
  background: #187323;
  border: 2px solid #21a031;
  margin: 10px;
  padding: 10px;
}

/* Ticket 6207 */
.home-pods .node { margin-bottom: 10px; }
.home-pods .views-row-last .node { margin-bottom: 0; }

/* Make lightframe wider to fit iframe content */

#lightbox {
  top: 25px !important;
}

#outerImageContainer {
  width: 90% !important;
  height: 520px !important;
}

#lightboxFrame {
  width: 100% !important;
  height: 500px !important;
}

/* =========================================================================== *\
   MAKE REMEMBER CAPTIONS MORE VISIBLE
\* =========================================================================== */

.remember .caption {
  color: white;
}

/* =========================================================================== *\
   ALLOW MORE CAROUSEL TITLE SPACE
\* =========================================================================== */

@media (min-width: 1024px) {
  .masthead .node-header .title {
    width: 50%;
  }
}
