/* CSS Variables here - use realtime colors */
:root {
  --clr-text: #000;
  --clr-main-nav: #8ab0ae;
  --clr-primary-btn: #2c2b7d;
  --clr-secondary-btn: #007473;
  --clr-footerbg: #0e4c90;
  --clr-member-topnav: #2e388d;
  --clr-navbg: rgba(45, 42, 128, 0.85);
  --clr-heading-text2: #6aa242;
  --clr-accent1: #f2f7f6;
  --clr-accent2: #6ca23f;
  --clr-accent3: #2e388d;
  --clr-accent4: #c6d97c;

  --clr-white: #fff;
  --clr-topmenu: #0d2142;
  --clr-background-main: #fff;
  --clr-background-accent: #ccc;
  --clr-text-link: #008cba;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  font: inherit;
}

html {
  scroll-behavior: smooth;
  scroll-padding: 3rem;
  overflow-x: hidden;
  font-size: 1em;
}

img,
picture,
svg,
video,
iframe.media-oembed-content {
  max-width: 100%;
  display: block;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
}

iframe.media-oembed-content {
  min-width: 100%;
  aspect-ratio: 16 / 9;
}
/* .hide,
.animation {
  display: none;
}
.active {
  display: block;
} */
body {
  background-color: #c5d8d7;
  margin: 0;
  padding: 0;
  vertical-align: top;
  /* font-family: "Open Sans", sans-serif; */
  font-family: aglet-slab, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  /* font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100; */
}

body.node--12,
body.node--13 {
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 0.9em;
  background-image: url(/themes/custom/myscilife/images/backgroundv3.png);
  background-repeat: repeat-y;
  background-size: 100%;
  .layout-content {
    max-width: 700px;
    margin: 5em auto;
  }
  h1 {
    background-color: #2c2c80;
    color: #fff;
    font-size: 1.5em;
    border-radius: 5em;
    text-transform: uppercase;
    text-align: center;
    padding: 0.25em;
    margin-top: -50px;
  }
  h2 {
    color: var(--clr-black);
    font-size: 1em;
  }
  p {
    max-width: 100ch;
  }
}

.layout-container {
  max-width: 1280px;
  width: 100%;
  margin-top: 15px;
  padding-top: 15px;
  display: block;
  overflow: hidden;
  margin: 15px auto;
}

.fullwidth {
  margin: 0 calc(50% - 50vw);
}
p {
  margin-bottom: 1.5em;
}
/* h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
} */

a.button {
  box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.34);
  border-radius: 10px;
  margin: 10px 0 20px 0;
  padding: 1em;
  font-weight: 400;
  text-decoration: none;
  display: inline-block;
  color: var(--clr-white);
  font-family: aglet-slab, sans-serif;
  /* width: 50%; */
  min-width: 300px;
  line-height: 1.2;
}

a.button span.large {
  font-size: 1.5em;
  line-height: 1;
  color: var(--clr-white);
  font-family: aglet-slab, sans-serif;
  font-weight: 600;
  text-decoration: none;
  text-align: left;
}
a.button.blue {
  background-color: var(--clr-primary-btn);
  text-align: left;
}
a.button.green {
  background-color: var(--clr-secondary-btn);
  text-align: left;
}
hr {
  /* margin-top: 17px;
  margin-bottom: 17px; */
  border: 0;
  border-top-width: 0px;
  border-top-style: none;
  border-top-color: currentcolor;
  border-top: 1px solid #007473;
}
#block-myscilife-primary-local-tasks {
  width: min(100% - 3rem, 1100px);
  margin-inline: auto;
}

#block-myscilife-primary-local-tasks ul {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
#block-myscilife-primary-local-tasks ul li {
  flex: 1;
  padding: 0.5em 1em;
  text-align: center;
}
.layout-content,
.region-header {
  max-width: 1276px;
  width: 100%;
}
.region-content {
  background-color: var(--clr-white);
  margin-bottom: 10px;
  -webkit-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.34);
  -moz-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.34);
  box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.34);
  margin-bottom: 25px;
  background-color: #fff;
  padding: 5px 25px;
  border-radius: 15px;
}

.layout--twocol > * {
  padding: 0 1em 1em 1em;
}
.layout--twocol-bricks {
  display: flex;
  flex-wrap: wrap;
  padding: 1em 0;
}

.panel {
  max-height: 0;
  transition: max-height 0.5s ease-in;
}
.panel:not([aria-hidden="true"]) {
  max-height: 1000px;
}
@media screen and (min-width: 768px) {
  .layout--twocol-bricks > .layout__region--first-above {
    flex-basis: 65% !important;
    padding-right: 2% !important;
  }
  .layout--twocol-bricks > .layout__region--second-above {
    flex-basis: 33% !important;
    text-align: right;
  }
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  color: var(--clr-secondary-btn);
  margin: 0.25rem 0 1em 0;
  font-weight: 700;
  font-family: "Open Sans", sans-serif;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--clr-secondary-btn);
  font-family: benton-sans, sans-serif;
  margin: 0.25rem 0 0.5em 0;
}

div [aria-hidden="true"] {
  display: none;
}

.paragraph--type--accordion-container li {
  list-style: none;
  background: var(--clr-accent1);
  padding: 0.5em 0.25em;
  border-radius: 1em;
  width: 99%;
  margin-bottom: 0.5em;
}
.paragraph--type--accordion-container li button {
  font-size: 24px;
  line-height: 27px;
  color: #007473;
  margin-top: 5px;
  background-color: transparent;
  border: none;
  font-weight: 700;
  display: flex;
  gap: 1em;
  text-align: left;
  font-size: 1.6rem;
}
.paragraph--type--accordion-container li button:hover,
.paragraph--type--accordion-container li button:focus {
  cursor: pointer;
}
.paragraph--type--accordion-container li button span.secondary-heading {
  color: #2d2a80;
  font-weight: bold;
  font-style: italic;
  display: block;
  font-size: 0.75em;
}
.paragraph--type--accordion-container li button span.third-heading {
  color: #000;
  font-family: aglet-slab, sans-serif;
  font-weight: normal;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 600;
}
.paragraph--type--accordion-container div ul {
  margin: 0 8em 0 8em;
}
.paragraph--type--accordion-container div ul li {
  list-style: disc;
  margin: 0;
  padding: 0 0 0.3em 0;
  line-height: 1.4;
}
.node__content ol,
.node__content ul {
  margin: 1em 3em;
}

.node__content a {
  color: var(--clr-secondary-btn);
  font-weight: 700;
  text-decoration: none;
}
.node__content a.button {
  color: var(--clr-white);
}
.layout-paragraphs-component-form label {
  display: block;
  font-weight: bold;
}

.js-media-library-item-preview {
  width: 100%;
  height: auto;
  max-width: 150px;
  padding: 1em;
}

.layout-container {
  position: relative;
}
.region-primary-menu {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
}
nav#block-myscilife-main-menu ul {
  background-color: rgba(45, 42, 128, 0.85);
  padding: 0.25em 0.5em;
  display: flex;
  gap: 2em;
  margin: 0 auto;
  text-align: center;
  justify-content: center;

  li a {
    color: var(--clr-main-nav);
    text-decoration: none;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    &.is-active {
      color: var(--clr-white);
    }
  }
}

.layout__region.layout__region--second img,
.layout__region.layout__region--first img {
  width: 100% !important;
  height: auto;
}

.topheader {
  display: grid;
  grid-template-areas: "gridlayers";
  place-items: center;
  max-width: 100%;
  /* max-height: 150px;
  min-height: 150px; */
}

img.title {
  width: 70%;
  @media screen and (min-width: 700px) {
    width: 50%;
  }
  height: auto;
  margin-top: 0;
}
.topheader > * {
  grid-area: gridlayers;
}
.top {
  position: relative;
}

main p,
main li {
  max-width: 80ch;
}

.signin {
  position: absolute;
  top: 0;
  right: 20px;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  padding: 8px 55px;
  text-align: center;
  background-color: #2d2c80;
  font-size: 15px;
  font-weight: 700;
  z-index: 4;
}
#topbanner {
  position: relative;
}
.loginpanel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 867px;
  height: 141px;
  background-color: #2c2b7d;
  border-top-right-radius: 0px;
  border-top-left-radius: 0;
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
  z-index: 3;
  ul {
    list-style: none;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    li {
      display: inline-block;
      padding: 15px 50px;
      margin-top: 35px;
    }
    h3 {
      font-size: 24px;
      line-height: 24px;
      margin: 0;
      padding: 0;
    }
  }
}
.signin a,
.loginpanel a {
  color: #fff;
  text-decoration: none;
  font-family: benton-sans, sans-serif;
  display: block;
}

.mobile-trigger {
  display: none;
}

@media screen and (max-width: 1240px) {
  .refimg img.below1240 {
    width: 99%;
    display: block !important;
    height: auto;
  }
  .refimg img.bkgimg,
  .refimg img.below768 {
    display: none !important;
  }
}
@media screen and (max-width: 767px) {
  .refimg img.below768 {
    width: 99%;
    display: block !important;
    height: auto;
  }
  .refimg img.bkgimg {
    display: none !important;
  }
  .mobile-trigger {
    font-size: 60px;
    line-height: 8px;
    font-weight: 400;
    position: absolute;
    top: 0;
    right: 25px;
    z-index: 20;
    color: #fff;
    display: block;
    font-family: "open sans", sans-serif;
    &:hover,
    &:focus {
      cursor: pointer;
    }
  }
  .region-primary-menu {
    position: relative;
    z-index: 1;
    margin-left: 100%;
    height: 0;
    transition: all 0.3s;
    &.active {
      margin-left: 0;
      height: auto;
    }

    ul li {
      display: block;
      margin: 0;
      padding: 0;
      border-bottom: solid 1px #fff;
      text-align: left;
      &:last-of-type {
        border-bottom: none;
      }
      a {
        display: block;
      }
    }
  }
  nav#block-myscilife-main-menu ul {
    display: block;
    width: 100%;
  }

  div#signin {
    width: 33%;
    left: 0;
    margin: 0;
    padding: 10px;
    display: block;
    clear: both;
    position: relative;
    text-align: center;
    top: 0;
    right: 0;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
  }

  .loginpanel {
    height: inherit;
    position: relative;
    border-radius: 0;
    p {
      font-size: 20px;
      line-height: 22px;
      margin: 5px 0 0 0;
      padding: 0;
    }
    ul {
      list-style: none;
      width: 100%;
      margin: 0 auto;
      padding: 0;
      text-align: center;
      margin-top: 0;
      li {
        padding: 5px 15px;
        float: none;
        display: block;
        clear: both;
        margin: 10px 0;
        width: 100%;
        border-bottom: solid 1px #fff;
        margin-top: 0;
        a {
          color: #fff;
          text-decoration: none;
          font-family: benton-sans, sans-serif;
          display: block;
        }
      }
    }
  }
}

footer {
  font-family: "open sans", sans-serif;
  font-weight: 400;
  padding: 0.5em 1em 3em 1em;
  .col-sm-7 {
    width: 100%;
    display: block;
    @media screen and (min-width: 767px) {
      width: 70%;
      float: left;
      /* display: inline-block; */
    }
  }
}
.footer-left div {
  margin-top: 15px;
}
.footer-logo-wrapper {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: end;
  align-items: flex-end;
}
.footer-logo-wrapper p {
  font-size: 13px;
  line-height: 15px;
  font-style: normal;
  margin-left: 20px;
  font-family: "open sans", sans-serif;
  font-weight: 700;
  color: var(--color--black);
}

.copy-right {
  font-size: 13px;
  line-height: 15px;
  margin: 0;
  color: var(--color--black);
}
.footer-logo-wrapper img {
  max-width: 100px;
}
.footer-right.col-sm-5 {
  text-align: right;
}
/* .col-sm-5 {
  width: 41.66667%;
  float: left;
} */
.footer-logo-wrapper p {
  margin-bottom: 5px;
}
.footer-menu {
  padding: 0;
  list-style: none;
  margin-top: 5px;
  margin-bottom: 0;
}
.footer-menu li {
  display: inline-block;
  position: relative;
}

.footer-menu li:not(:last-child) {
  padding-right: 15px;
  margin-right: 10px;
}
.footer-menu li a {
  font-weight: 700;
  text-decoration: underline;
  color: #233a76;
  font-size: 0.8rem;
  text-transform: uppercase;
}

footer-right.col-sm-5 {
  text-align: right;
}

.col-sm-5 {
  margin-top: 1em;
  @media (min-width: 768px) {
    float: right;
  }
}
#block-myscilife-views-block-banners-for-myscilife-block-1 {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 0;
  background-color: var(--clr-primary-btn);
  background: rgb(2, 0, 36);
  background: radial-gradient(
    circle,
    rgba(2, 0, 36, 1) 0%,
    rgba(44, 43, 125, 1) 35%,
    rgba(30, 131, 130, 1) 100%
  );
  border-radius: 1em;
  .view-content {
    margin: 0 auto;
    padding: 1em;
    /* max-width: 1280px; */
    width: 100%;
    div {
      width: 100%;
      margin: 0 auto;
    }
  }
  .views-row {
    width: 100%;
    display: block;
    overflow: hidden;
    color: white;
    overflow: hidden;
    color: white;
    min-width: 100%;
    margin: 0 auto;
    text-align: center;
    display: block;
    p {
      padding: 0;
      margin: 0;
      font-size: 1.2rem;
      line-height: 1.4;
      text-align: center;
      min-width: 100%;
    }
  }
}
h2.greenbar {
  font-size: 30px;
  width: 85%;
  background-color: #007473;
  color: #fff;
  padding: 10px 0 10px 20px;
  border-radius: 15px;
}

div#views_slideshow_cycle_main_banners_for_myscilife-block_1 a {
  color: #fff;
}

.paragraph--type--tf-sfl-service-block {
  margin: 1em;
  a div {
    border: solid 1px #ccc;
    border-bottom: none;
  }

  .promo-block {
    font-weight: bold;
    position: relative;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
    margin-bottom: 1em;
    h2 {
      /* font-weight: bold; */
      text-align: left;
      margin-bottom: 2em;
      font-size: 1.25rem;
      line-height: 1.3;
      margin: 20px 10px;
      color: #2a4384;
      font-family: Arial, Helvetica, sans-serif;
      font-weight: normal;
    }
    .button {
      border-radius: 0;
      color: #fff;
      text-transform: uppercase;
      padding: 8px 20px;
      margin: 0.5em auto 0 auto;
      background: #2a4384;
      display: block;
      position: absolute;
      font-family: usual, sans-serif;
      width: 100%;
      bottom: 0;
      left: 0;
      :hover {
        background-color: #990099;
      }
    }
  }
}
.promo-block-inner {
  position: relative;
  height: 300px;
  max-height: 300px;
  padding: 1.5em;
}
