/* ========================================================================== *\
   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
\* ========================================================================== */
body.pt6.wt258 #block-digitaldcore-node_nav_terms {
  display: none;
}

.main-channel .title, #block-views_blocks-term-block_1-4 .title {
  text-transform: uppercase;
}


#admin-menu a {
  font-size: 14px;
  line-height: 1.3em;
}

.events.block .views-row {
  background-color: #888;
}

.events.block .views-row:hover {
  background-color: #284b82;
}

.events.block .views-row:before {
  background-color: #0095c6;
}

/* Hide all passed events */

.node-teaser .passed,
.node-full .passed {
  display: none;
}

.plan .field-image {
  margin-bottom: 0;
}

.node-inner {
  overflow: hidden;
}

.banner {
  margin-bottom: 0;
}

.banner .node {
  margin-bottom: 0;
}

.node-1019 .node-content ul {
  -webkit-perspective: 1;
  font-size: 12px;
}

.node-1019 .node-content li {
  list-style: none;
  line-height: 1.8;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .node-1019 .node-content ul {
    -webkit-columns: 2;
    -moz-columns: 2;
    columns: 2;
  }
}

@media (min-width: 1024px) {
  .node-1019 .node-content ul {
    -webkit-columns: 3;
    -moz-columns: 3;
    columns: 3;
  }
}

/* --------------------------------------------------------------------- *\ 
   FD Issues:
   https://support.digitaldeployment.com/helpdesk/tickets/5976
   https://support.digitaldeployment.com/helpdesk/tickets/5977
\* --------------------------------------------------------------------- */

@media (max-width: 727px) {
  /* Reduce bottom spacing */
  .hero {
    margin-bottom: 0;
  }

  .heros .node {
    margin-bottom: 10px;
  }

  /* Center text header while having the brackets be responsive to the title text */
  .hero .node-header {
    text-align: center;
    background-color: #0095c6;
  }
  .hero .node-header a {
    display: inline-block;
    color: white;
  }
  .hero .node-header a:before, .hero .node-header a:after {
    background-image: url(/sites/default/themes/dtheme/img/whaletail-white.svg);
  }
}

/* Oversample the image by default incase it needs to fill up more space. */
.plan .field-image img {
  width: 100%;
}

/* === Ticket 6379 === */
/* SPONSORS .node-item */
.sponsors * {
  text-align: center;
}
.sponsors .title {
  display: none;
}
.sponsors td {
  text-align: center;
  border-bottom: 2px solid #009ABF;
  background-color: white;
}
.sponsors tr:last-child td {
  border-bottom: none;
}
.sponsors table .field-image {
  max-width: 120px !important;
  max-height: 120px !important;
  margin: 5px;
  display: inline-block;
  float: none;
  vertical-align: middle;
}
/* DISCLAIMER */
.disclaimer .node-header {
  display: none;
}
.disclaimer .field-image {
  margin-top: 0;
  max-width: 25% !important;
}
.disclaimer p {
  margin-top: 0;
  font-size: 14px;
}

/* Ticket 6891 */
#block-digitaldcore-search { right: 210px; }
.headerlinks { width: 200px; }

/* Ticket 6967 */
#node-1367-teaser {
  background: none;
}
#node-1367-teaser *:hover {
  cursor: pointer !important;
}
#node-1367-teaser .node-header {
  display: none;
}
#node-1367-teaser .node-content {
  display: block;
  position: absolute;
  top: 80px;
  left: 0;
}
#node-1367-teaser .node-content img {
  max-height: 300px;
  width: auto;
}
@media (max-width: 730px) {
  #node-1367-teaser .node-header {
    display: block;
  }
  #node-1367-teaser .node-content {
    display: none;
  }
}

/* XOLA CHECKOUT BUTTON STANDARDIZATION */

.xola-checkout button {
  display: inline-block;
  -webkit-appearance: none;
  border: 0;
  border-radius: 4px;
  padding: 12px 15px;
  font-size: 16px;
  font-weight: bold;
  background-color: #c33;
  color: #fff;
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease-out;
  transition: background-color 0.2s ease-out;
}

/* Remove top border from first post featured in these right sidebar blocks */

.contact-posts .views-row-1 .node-upper-meta,
.related-posts .views-row-1 .node-upper-meta {
  border-top: 0;
}

/* CAROUSEL TICKET #12555 */

.pt428 .node-header .subtitle {
 display: block;
 color: white;
}

.pt428 .node-item {
 display: block !important;
}

.pt428 .link-read-more {
 display: block !important;
}

.pt428 .node-header a:before {
 display: none;
}

@media (min-width: 728px) {
  /* Remove the defult blue bg */
  .hero .views-row:before {
    content: none;
  }

  /* Only apply blue bg for certain post type */ 
  .hero .pt116:before {
    content: '';
    position: absolute;
    z-index: 1;
    top: -400px;
    left: -400px;
    right: 58%;
    bottom: -200px;
    background-color: #0095c6;
    box-shadow: 10px 0 0 rgba(255, 255, 255, 0.4);
    opacity: 0.65;
    -webkit-transform: rotate(10deg);
     -ms-transform: rotate(10deg);
    transform: rotate(10deg);
  }

  .pt428 .node-header {
    top: 10%;
    bottom: unset;
  }

  .pt428 .node-links {
    position: fixed;
    top: 30%;
    margin-left: 2.5em;
  }

  .pt428 .node-links .link a {
    color: #fff;
    font-size: 22px;
    line-height: 35px;
    text-transform: uppercase;
  }
}

@media (max-width: 728px) {
  .pt428 .node-links ul.links li {
    margin: 0;
    text-align: center;
    background-color: #0095c6;
    padding-bottom: 5px;
  }

  .pt428 .node-links ul.links li a {
    color: #fff;
  }
}