/* ========================================================================== *\
   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
\* ========================================================================== */

/* Remove awkward looking space below homepage messages */

.front div.messages {
  margin-bottom: 0;
}

/* Resolve issue where the sidebar background faux element creates a gigantic right side on tablets */

.page {
  overflow-x: hidden;
}

.field-embed .entity_iframe_node {
  width: 100% !important;
  height: 500px;
}

/* Not sure why overflow-x: hidden was added above, but
 * this restores the mobile menu flyout functionality.
 * Fixes ticket #5779 */
body.flyout-active .page {
  overflow-x: visible;
}

@media (min-width: 640px) {
  .hot-topics .view-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
  }
}

.hot-topics .node-upper-image {
  display: block;
}

.hot-topics .subtitle {
  font-size: 16px;
}

.hot-topics .node-header a {
  padding: 15px 15px 20px;
}

@media (max-width: 639px) {
  .hot-topics .node-upper-meta {
    position: relative;
    z-index: 2;
  }
  .hot-topics .has-image .node-upper-image {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 1;
    margin-top: -43px
  }
  .hot-topics .node {
    overflow: hidden;
  }
  .hot-topics .has-image .node-header {
    float: none;
    width: 100%;
  }
.hot-topics .node-header a {
  background: rgba(255,255,255,0.7);
}
}

/* Ticket 5774 */
.field-map { display: none; }

/* Ticket 5814 */
.view-membership-directory-2 .views-summary {
  overflow: hidden;
}
.view-membership-directory-2 .views-summary li {
  float: left;
  margin: 1px;
}
.view-membership-directory-2 .views-summary a {
  display: table-cell;
  vertical-align: middle;
  width: 30px;
  height: 30px;
  padding: 0;
  text-align: center;
}

/* Ticket 5816 */
#node-full .node-content h3 { margin-top: 1.5em; }
#node-full .node-content h4 { margin-top: 1.5em; }
#node-full .node-content h5 { margin-top: 1.5em; }
#node-full .node-content h6 { margin-top: 1.5em; }

/* Ticket 5663 */
#block-views_blocks-term-block_1-5 .title {
  /* Minimum of 3 lines */
  line-height: 1.2;
  min-height: 3.6em;
}

/* Ticket 5767 */
#node-1070-teaser .title {
  font-weight: bold;
}

@media (min-width: 640px) {
  .contact-info,
  .footer-forms,
  .footerlinks {
    width: 48%;
  }
}

.footer-forms {
  max-width: none;
}

/* Ticket 5818 */
@media (min-width: 1024px) {
  .hero .views-row {
    min-height: 620px;
  }
}

/* Ticket 5930 */
.headerlinks .views-row-first .node-header {
  display: none;
}

/* Ticket 5962 and 5930 */
.jumpmenu {
  right: 40px;
}
@media (min-width: 1024px) {
  #block-digitaldcore-search {
    right: 260px
  }
}

/* Calendar Feed: Hide the event date data below the heading */

.calendar-feed .event-date {
  display: none;
}

/* Ticket 5870 */
#node-1132-teaser .node-upper-image .field-image {
  margin-left: 0;
  margin-right: 0;
  float: none;
}
#node-full.pt68:before {
  content: '';
  display: block;
  max-width: 100%;
  background: url(img/our-take-blog.png) no-repeat;
  background-size: 100%;
  margin-bottom: 20px;
  padding-top: 36.36%;  
}
#block-views_blocks-term-block_1-7 .block-inner:before {
  content: '';
  display: block;
  max-width: 100%;
  background: url(img/our-take-blog-simple.png) no-repeat;
  background-size: 100%;
  padding-top: 33.09%;
}
#block-views_blocks-term-block_1-7 .block-title {
  display: none;
}

/* Ticket 6059 */
.overview .node {
  font-size: 16px;
}

/* Ticket 6163 */

@media (max-width: 768px) {
  .actions .node-header .title {
    font-size: 26px;
  }
}

/* Ticket 6231 */

.media-blocks .blog .node-header {
  font-size: 17px;
  font-weight: bold;
}

/* Ticket 6373 : Staff Profiles template */
.profiles .node,
.dir-profile .node {
  background: #EEEEEE;
  padding-bottom: 10px;
}
.profiles .node-item,
.dir-profile .node-item {
  display: none;
  padding: 0 15px;
}
.profiles .node-header,
.profiles .node-contact,
.profiles .node-upper-image,
.dir-profile .node-header,
.dir-profile .node-contact,
.dir-profile .node-content,
.dir-profile .node-upper-image,
.dir-profile .node-links {
  display: block !important;
}
.profiles .node-upper-image,
.dir-profile .node-upper-image {
  padding: 0;
}
.profiles .node-inner,
.dir-profile .node-inner {
  margin-bottom: 20px;
}
.profiles .field-image,
.dir-profile .field-image {
  margin: 0;
}
.profiles .node-header,
.dir-profile .node-header {
  padding-top: 15px;
}
.profiles .node-contact-wrapper {
  margin-bottom: 0;
}
.dir-profile .node {
  overflow: hidden;
  padding-bottom: 0;
}
/* Flexbox for Profiles */
.profiles .view-content {
  display: flex;
  flex-flow: wrap;
  margin-left: -3.33%;
}
.profiles .views-row {
  background: #EEEEEE;
  width: 30%;
  margin-left: 3.33%;
  margin-bottom: 3.33%;
}
.profiles .views-row .node {
  margin: 0;
  padding: 0;
}
@media (max-width: 1024px) {
  .profiles .views-row {
    width: 46.66%;
    margin-left: 3.33%;
  }
}
@media (max-width: 640px) {
  .profiles .views-row {
    width: 100%;
  }
}

/* Ticket #7773: Hide contact info on the staff profiles template */

.profiles .node-contact {
  display: none !important;
}


/* Ticket #8222: Show related links of profiles displayed in the modern directory view */

.modern-directory .node-links {
  display: block;
}