/**== Drupal 8 Specific CSS Code for the GT 3 Theme ==**/

/** Invisible Skip Link at Top of Page for Screen Readers **/

.skip-link {
  color: black;
  background: white;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 50;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.94em;
  line-height: 1.7em;
  padding: 1px 10px 2px;
  border-radius: 0 0 10px 10px;
  border-bottom-width: 0;
  outline: 0;
}

.skip-link.visually-hidden.focusable:focus {
  position: absolute !important;
  color: black;
  background: white;
}


/** General HTML Element Formatting **/

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
}

img.align-left,
span.cke_widget_image.align-left {
  margin-right: 10px;
}

img.align-right,
span.cke_widget_image.align-right {
  margin-left: 10px;
}

p {
  margin: 0 0 1em;
}


/** HTML Body and Header Regions **/

BODY {
  line-height: 1.5;
}

HTML BODY.cke_editable {
  margin: 8px;
}

HTML textarea.cke_source {
  color: black;
}

HEADER#gt-header DIV.gt-background-site-identity UL.contextual-links,
HEADER#gt-header DIV.gt-background-site-identity UL.contextual-links A {
  color: black;
}

DIV.featured-top {
  font-size: 1.2em;
}

DIV.featured-top P {
  margin: 0;
  padding: 0 10px;
}

DIV.featured-top P + P {
  margin-top: 10px;
} 


/** Additional application of centered 1296px wide content area rules to Drupal specific regions **/

DIV.highlighted,
ASIDE.layout-container,
DIV.featured-bottom {
  max-width: 1316px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;
}

BODY.gt-widepage DIV.highlighted,
BODY.gt-widepage ASIDE.layout-container,
BODY.gt-widepage DIV.featured-bottom {
  max-width: 1500px;
}

BODY .featured-bottom .region {
  padding: 0;
}

@media all and (min-width: 966px) {

  DIV.region-featured-bottom-first {
    border-right: solid 8px transparent;
  }

  DIV.region-featured-bottom-second {
    border-left: solid 8px transparent;
  }

}

/** Featured Top Message **/

.messages--status {
  margin: 0 6px 0 14px;
}


/** Breadcrumb Bar **/

.region-breadcrumb {
  padding: 6px 15px 0 0.25em;
}

NAV.breadcrumb {
  padding-bottom: 0;
  padding-left: 6px;
}

NAV.breadcrumb OL LI::before {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 17" width="10" height="11"><polygon fill="%23B3A369" points="10.5,0 5.7,0 10.5,8.4 5.7,17 10.5,17 15.5,8.4"/></svg>');
  padding: 0 0.5rem 0 0.3rem;
}


/** Main Body Region **/

BODY DIV.gt-page-body {
  padding-bottom: 12px;
}

BODY DIV.gt-page-body .block .content {
  margin-top: 10px;
}


/** Image Caption Objects **/

.caption {
  margin-bottom: 1.2em;
  background: #F3F3F3;
  color: #303030;  color: var(--gtweb-black-text);
  padding: 0.5ex;
  border: 1px solid #CCC;
}
.caption > figcaption {
  border: 1px solid #CCC;
  border-top: none;
  background: #F3F3F3;
  color: #303030;  color: var(--gtweb-black-text);
  padding: 0.5ex;
  font-size: small;
  text-align: center;
}

.caption-pre > pre,
.caption-blockquote > blockquote {
  margin: 0;
}
.caption-blockquote > figcaption::before {
  content: "— ";
}
.caption-blockquote > figcaption {
  text-align: left; /* LTR */
}
[dir="rtl"] .caption-blockquote > figcaption {
  text-align: right;
}


/** Node Blocks **/

DIV.block-block-content DIV.field--type-entity-reference ARTICLE HEADER H2 {
  display: none;
}


/** Sidebar Callout Blocks **/

DIV.sidebar .block {
  border-color: #b0b0b0;
}

DIV.sidebar .block > H2 {
  font-size: 1.4em;
  line-height: 1.6;
  border-top-width: 7px;
  border-bottom: none;
}

DIV.sidebar UL.menu LI.menu-item {
  padding: 3px 0;
}

DIV.sidebar UL.menu A.is-active {
  font-weight: 500;
}


/** Featured Bottom Social Media List **/

DIV + DIV.block-gt3-themeblocks-socialmedia-block {
  padding-top: 16px;
}

DIV.region-featured-bottom-first DIV.gt-social-media UL {
  margin-top: 8px;
  margin-bottom: 0;
}

/* @media all and (min-width: 1196px) {

  DIV.region-featured-bottom-first DIV.gt-social-media {
    margin-left: -4px;
  }

} */


/** Site Footer Region **/

FOOTER#gt-footer DIV.gt-background-site-footer UL.contextual-links,
FOOTER#gt-footer DIV.gt-background-site-footer UL.contextual-links A {
  color: black;
}

FOOTER#gt-footer DIV.gt-site-footer {
  overflow: visible; /* Makes the contextual menu show up properly */
}

FOOTER#gt-footer DIV.gt-site-footer DIV.region-footer-first,
FOOTER#gt-footer DIV.gt-site-footer DIV.region-footer-second,
FOOTER#gt-footer DIV.gt-site-footer DIV.region-footer-third,
FOOTER#gt-footer DIV.gt-site-footer DIV.region-footer-fourth {
  padding: 4px 10px 14px 10px;
}

@media all and (min-width: 966px) {

  FOOTER#gt-footer DIV.gt-site-footer {
    display: flex;
    flex-wrap: wrap;
  }

  FOOTER#gt-footer DIV.gt-site-footer DIV.region-footer-first,
  FOOTER#gt-footer DIV.gt-site-footer DIV.region-footer-second,
  FOOTER#gt-footer DIV.gt-site-footer DIV.region-footer-third,
  FOOTER#gt-footer DIV.gt-site-footer DIV.region-footer-fourth {
    flex: 1;
    max-width: 25%;
    box-sizing: border-box;
  }

}


/* Site Footer Block Headings */

DIV.gt-site-footer DIV.region DIV.block,
DIV.gt-site-footer DIV.region NAV.block {
  font-size: 88%;
}

DIV.gt-site-footer DIV.region H2 {
  background-color: transparent;
  padding-left: 2px;
  padding-right: 2px;
  line-height: 1.3;
}

  
/* Pre-Built Super Footer Layout */

DIV.gt-super-footer DIV.gt-super-footer-column > UL,
DIV.gt-super-footer DIV.gt-super-footer-column > DIV > NAV > UL {
  margin: 0;
}

DIV.gt-super-footer DIV.gt-super-footer-column > UL LI {
  list-style-type: none;
  list-style-image: unset;
}

/* Dark Mode Rules */

@media (prefers-color-scheme: dark) {
  /* Fix for Layout Builder, which has white hard-coded as a background for the layout manager */
  BODY DIV#main-wrapper .layout-builder {
    color: #303030;  color: var(--gtweb-black-text);
  }

  BODY .node--unpublished {
    background-color: #3f3434;
  }

  BODY DIV#main-wrapper .layout-builder DIV.iac-color-black-on-white {
    background-color:#303030;  background-color: var(--gtweb-dark-background-page);
    color: #d0d0d0;  color: var(--gtweb-dark-text);
  }

  BODY DIV#main-wrapper .tabs ul.primary li a,
  BODY DIV#main-wrapper .tabs ul.primary li a,
  BODY DIV#main-wrapper .vertical-tabs ul li a,
  BODY DIV#main-wrapper .vertical-tabs ul li a:link {
    color: blue; color: var(--gtweb-link-blue);
  }
}
