/*!
 * Senate Democratic Caucus
 * California Latino Legislative Caucus Theme

 */

/* Table of Contents
*************************
 ** Admin
 ** Global
 ** Typography
 ** Buttons
 ** Navigation
 ** General Page
 ** Home Page
*/


/* Main Fonts */
@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@1,8..60,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');


:root {
  --primary-color: #314563;
  --accent-color: #F5E9C4;
  --light-color: #fff;
  --dark-color: #000;
  --head-font: 'Oswald', sans-serif;
  --accent-font: 'Source Serif 4', serif;
  --body-font: 'Montserrat', sans-serif;
  --head-weight: 400;
  --link-weight: 600;
  --body-weight: 400;
  --lg: linear-gradient(90deg, #0B2645, transparent);
  --br: 0px;
  --border: 1px solid;
  --shadow: 0px 4px 20px rgba(149, 157, 165, 0.6);
  --transition: all 0.35s ease-in-out;
}

::selection {
  background: var(--accent-color);
  color: #fff;
  text-shadow: none;
}


/* Admin 
*************************/
.page-user-login #main-wrapper {
  max-width: 800px;

  #edit-submit {
    padding: 0px 28px !important;
  }
}

.user-logged-in {
  .toolbar-bar {
    display: block;
    z-index: 1100 !important;
  }

  .tabs {
    position: fixed;
    bottom: 0;
    left: 0;
    background: #f3f4f9;
    width: 100%;
    height: 104px;
    margin: 0px auto;
    z-index: 1100 !important;
  }

  .nav-tabs {
    padding: 28px 60px;
    border: 0px solid transparent;

    .nav-item {
      .nav-link {
        background-color: #d3d4d9;
        color: var(--dark-color);
        margin-right: 12px;
        border: 0px solid transparent;

        &:hover {
          background-color: #003ecc;
          color: white;
        }
      }

      &:nth-child(2) {
        .nav-link {
          background-color: #003ecc;
          color: white;
        }
      }
    }

    li:not(.we-mega-menu-li) {
      a {
        display: inline-block;
        padding: 20px 24px;
        cursor: pointer;
        text-align: center;
        -webkit-text-decoration: none;
        text-decoration: none;
        color: white;
        border: 1px solid transparent;
        border-radius: 2px;
        font-size: 1.4rem;
        font-weight: 700;
        line-height: 1rem;
        appearance: none;
        -webkit-font-smoothing: antialiased;
      }
    }
  }
}

/* Global 
*************************/
html,
body {
  overflow-x: hidden;
}

html {
  font-size: 62.5%;
}

body {
  background-color: #fff;
  color: #000;
  font-family: var(--body-font) !important;
  font-size: 1.6rem !important;
}

.container-fluid {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.row {
  margin-right: 0px !important;
  margin-left: 0px !important;
}

.row>* {
  flex-shrink: 0;
  max-width: 100%;
  margin-top: var(--bs-gutter-y);
}

.img-wrapper,
.node--type-champion .field--name-field-front-image {
  position: relative;
  margin-bottom: 36px;

  img {
    max-width: 100%;
    height: auto;
    margin-bottom: 0px;
  }

  &:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 12px;
    background: var(--primary-color);
    width: 100%;
    max-width: 100%;
    height: 100%;
    z-index: -1;
  }
}

img,
.img-responsive {
  width: 100%;
  max-width: 100%;
  height: auto;
}

#main-wrapper {
  li {
    margin-bottom: 12px;
  }
}

hr {
  width: 70%;
  margin: 80px auto;
}

.mt-20 {
  margin-top: 20px !important;
}

.mt-40 {
  margin-top: 40px !important;
}

.mt-60 {
  margin-top: 60px !important;
}

.mt-80 {
  margin-top: 80px !important;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.mb-40 {
  margin-bottom: 40px !important;
}

.mb-60 {
  margin-bottom: 60px !important;
}

.mb-80 {
  margin-bottom: 80px !important;
}

.p-0 {
  padding: 0px !important;
}

.p-20 {
  padding: 20px !important;
}

/* Typography 
*************************/
h1 {
  font-family: var(--head-font);
  font-size: 4.8rem !important;
  letter-spacing: 0px;
  line-height: 1.2;
  font-weight: var(--head-weight) !important;
  text-transform: uppercase;
  margin-bottom: 24px;
}

h2 {
  font-family: var(--head-font);
  font-size: 4.8rem !important;
  letter-spacing: 0px;
  line-height: 1.2;
  font-weight: var(--head-weight) !important;
  text-transform: uppercase;
  margin-bottom: 24px;
}

h3 {
  font-family: var(--body-font);
  font-size: 2.4rem;
  font-weight: var(--link-weight) !important;
  letter-spacing: 0px;
  line-height: 1.2;
  text-transform: capitalize;
  margin-bottom: 12px;
}

h4,
.field--name-taxonomy-vocabulary-2 {
  font-family: var(--accent-font);
  font-size: 2.8rem !important;
  font-weight: var(--body-weight) !important;
  font-style: italic;
  text-transform: capitalize;
  margin-bottom: 12px;
}

h5,
.field--name-field-pubdate {
  font-family: var(--accent-font);
  font-size: 2rem !important;
  font-weight: var(--body-weight) !important;
  font-style: italic;
  text-transform: capitalize;
  margin-bottom: 12px;
}

a {
  color: var(--primary-color);
  font-weight: var(--link-weight);
  text-decoration: none;
  transition: var(--transition);
}

p a,
li a {
  font-family: var(--body-font);
  color: var(--primary-color);
  text-decoration: underline;
}

a:hover {
  color: var(--accent-color);
}

/* Buttons
*************************/
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  font-size: 1.5rem !important;
  font-family: var(--body-font) !important;
  font-weight: var(--link-weight);
  text-align: center;
  border-radius: 50px;
  transition: var(--transition);

  &.btn-primary {
    background: transparent;
    color: white !important;
    border: var(--border) white;
    transition: var(--transition);

    &:hover {
      background: var(--accent-color);
      color: var(--primary-color) !important;
      border: var(--border) var(--primary-color) !important;
    }
  }

  &.btn-secondary {
    background: transparent;
    color: var(--dark-color) !important;
    border: var(--border) var(--dark-color);
    transition: var(--transition);

    &:hover {
      background: var(--accent-color);
      color: var(--primary-color) !important;
      border: var(--border) var(--primary-color) !important;
    }
  }
}

.read-more {
  display: block;
  width: 200px;
  transition: var(--transition);

  i {
    background: white;
    width: 40px;
    height: 40px;
    margin-right: 12px;
    padding: 12px;
    border-radius: 50px;
  }

  a {
    color: var(--dark-color);
    transition: var(--transition);
  }
}

.read-more:hover {
  background: white;
  padding: 0px 12px;
  border-radius: 50px;
}

.resource-btn-wrapper {
  max-width: 800px;
  margin: 0px auto;
  text-align: center;

  .resource-btn {
    justify-content: center;
    background: var(--accent-color);
    width: 100%;
    height: 120px;
    margin-bottom: 20px;
    border-radius: 100px;
  }
}


/* Navigation
*************************/
header {
  position: fixed;
  background: var(--primary-color);
  width: 100%;
  padding: 0px 4%;
  box-shadow: none;
  z-index: 100;
  transition: var(--transition);

  .navbar-expand-xl {
    width: 100%;
    margin: 0px auto;
    padding: 0px;
    transition: var(--transition);

    .navbar-brand {
      position: relative;
      height: auto;
      width: 240px;
      padding: 0px !important;
      overflow: hidden;
      opacity: 1;
      z-index: 10;

      img {
        position: relative;
        height: auto;
        width: 100% !important;
        margin: 0px auto;
        padding: 12px 0px;
        text-align: center;
        z-index: 1;
      }
    }


    .translate {
      display: flex;
      width: 240px;
      justify-content: flex-end;
    }


  }

  nav.block-menu ul li .nav-link,
  nav.block-menu ul li .dropdown-toggle {
    position: relative;
    color: white;
    cursor: pointer;
  }

  .navbar-nav {
    padding: 0px;
    margin: 0px !important;
    float: none;

    &>li {
      position: relative;
      color: white;
      font-family: var(--body-font);
      font-weight: 600;
      font-size: 1.4rem;
      letter-spacing: 0.5px;
      text-transform: capitalize;
      z-index: 100;

      a {
        color: white;
      }

      a:hover {
        color: var(--accent-color);
      }
    }

    &>li:hover,
    &>li:focus,
    &>li:active {
      background-color: transparent;
      color: var(--accent-color);
    }

    .nav-link {
      padding: 28px 20px !important;
    }

    .nav-link.active {
      color: var(--accent-color) !important;
    }
  }
}

/* Override header for spirit award header */
.page-taxonomy-term-47 {
  header {
    /* padding: 0px !important; */
    /* position: unset !important; */
    /* background: none !important; */
  }

  .view-content {
    .views-row {
      header {
        padding: 0px !important;
        position: unset !important;
        background: none !important;
        text-indent: 5px;
      }
    }
  }
}

.path-frontpage,
.node--type-honoree,
.page-node-1590 {
  header {
    background: transparent;
    padding: 40px 4% 0px;
    transition: var(--transition);

    .navbar-expand-xl {
      width: 90%;
      border-bottom: var(--border) white;

      @media(max-width: 468px) {
        width: 100%;
      }
    }
  }
}

.scrolled {
  header {
    background: var(--primary-color) !important;
    padding: 0px 4% !important;

    .navbar-expand-xl {
      width: 100%;
      border-bottom: 0px solid;
    }
  }
}

/* Dropdown */
.navbar-nav {
  .nav-item {
    .dropdown-menu {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      background: var(--primary-color);
      min-width: 200px;
      max-width: 280px;
      margin: 0px auto;
      padding: 8px;
      border: 0px solid var(--primary-color) !important;
      border-top-left-radius: 0px;
      border-top-right-radius: 0px;
      border-bottom-left-radius: 4px;
      border-bottom-right-radius: 4px;

      &>li {
        background: transparent;
        text-align: center;
        padding: 4px;
        margin: 4px auto;
      }

      &>li>a {
        padding: 10px 12px;
        font-family: var(--body-font);
        font-weight: 600;
        font-size: 1.4rem;
        color: white;
        letter-spacing: 0.5px;
        text-transform: capitalize;
        text-decoration: none;
      }
    }
  }
}

.path-frontpage {
  .navbar-nav {
    .nav-item {
      .dropdown-menu {
        background: var(--primary-color);
      }
    }
  }
}


.dropdown-item.active {
  background: var(--accent-color) !important;

  a {
    color: var(--primary-color) !important;
  }
}

.dropdown-menu>li:focus,
.dropdown-menu>li:hover {
  background: var(--accent-color) !important;
  text-decoration: none !important;

  &>a {
    color: var(--primary-color) !important;
  }
}

.dropdown-menu>li:hover:last-child {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

@media (min-width: 1201px) {
  .dropdown-toggle::after {
    content: "";
    display: none;
    position: relative;
    top: 2px;
    left: 4px;
    margin-left: 0px;
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
  }
}



.navbar-collapse.collapse {
  display: flex !important;
  width: 100%;
}

.navbar-collapse {
  display: inline-block !important;
  float: right;
}

ul.nav li.dropdown:hover>ul.dropdown-menu {
  display: block;
}

/* General Page 
*************************/
#main-wrapper {
  padding: 160px 80px 0px;
}

.featured-bottom {

  .region-featured-bottom-first,
  .region-featured-bottom-second {
    padding: 120px 80px 0px;

    @media(max-width: 468px) {
      padding: 60px 20px 0px;
    }
  }

  .region-featured-bottom-third {
    padding: 120px 0px 0px;
    /* @media(max-width: 468px){
      padding: 60px 20px 0px;
    } */
  }
}

@media(max-width: 1200px) {
.featured-bottom {
  .region-featured-bottom-first,
  .region-featured-bottom-second {
    padding: 120px 40px 0px;
  }
  .region-featured-bottom-third {
    padding: 120px 0px 0px;
  }
}
}


/* Home Page 
*************************/
.path-frontpage {
  .featured-top {
    overflow: hidden;
  }

  .highlighted {
    .text-lg {
      position: relative;
      top: -120px;
      background: var(--primary-color);
      width: 80%;
      margin: 0px auto;
      padding: 60px;
      border-top-left-radius: 100px;
      border-top-right-radius: 100px;

      @media(max-width: 468px) {
        width: 90%;
      }

      h3 {
        color: white;
        max-width: 800px;
        margin: 0px auto;
        text-align: center;

        span {
          color: var(--accent-color);
        }
      }
    }
  }

  #main-wrapper {
    display: none;
  }

  .region-featured-bottom-first {
    padding: 0px 0px 0px 8%;

    .sa-container {
      display: flex;
      flex-direction: column;
      justify-content: center;

      .sa-wrapper {
        max-width: 480px;

        img {
          max-width: 320px;
          margin-bottom: 40px;
        }

        a {
          margin-top: 40px;
        }
      }
    }

    .sa-bg {
      img {
        object-fit: cover;
        object-position: 5% 50%;
        height: 100vh;
      }
    }
  }

  .region-featured-bottom-second {
    .latest-news {
      .view-header {
        text-align: center;
      }

      .news-wrapper {
        .news-item {
          display: flex;
          flex-direction: column;
          justify-content: space-evenly;
          background: var(--accent-color);
          height: 360px;
          padding: 40px;

          h3 {
            display: -webkit-box;
            position: relative;
            inset: auto auto 0px 0px;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 4;
            overflow: hidden;

            a {
              color: var(--dark-color);
            }
          }
        }
      }

      .news-wrapper:first-child .news-item {
        border-top-left-radius: 50px;
      }

      .news-wrapper:last-child .news-item {
        border-top-right-radius: 50px;
      }

      .view-footer {
        padding: 40px 0px 0px;
        text-align: center;
      }
    }
  }

  .region-featured-bottom-third {
    .video-blk {
      background: url(/sites/latinocaucus.legislature.ca.gov/files/website/lc_video_bg.jpg);
      background-size: cover;
      background-position: 100% 50%;
      height: 800px;
      scroll-margin-top: 77px;

      @media screen and (max-width:1200px) {
        background-position: 60% 50%;
      }

      /* Adjust based on your header height */
      &:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, transparent, var(--primary-color));
        z-index: -1;
      }

      .view-videos {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        padding: 80px 4%;
        width: 100vw;
        z-index: 1;

        .view-header {
          max-width: 600px;
          min-height: 600px;
          color: white;
          padding-right: 80px;

          h2 {
            color: var(--accent-color);
          }

          .read-more {
            margin-bottom: 40px;

            a {
              color: white;
            }

            i {
              color: var(--dark-color);
            }
          }

          .read-more:hover {
            a {
              color: var(--dark-color);
            }
          }
        }

        .view-content {
          max-width: 800px;

          .video-item {
            iframe {
              width: 100%;
              min-height: 240px;
              height: auto;
              margin-bottom: 20px;
            }
            @media screen and (max-width:1200px) {
              margin-bottom: 40px;
            }
          }

          a,
          h5 {
            color: white;
          }
        }
      }
    }

    .photo-blk {
      background: url(/sites/latinocaucus.legislature.ca.gov/files/website/lc_photo_bg.jpg);
      background-size: cover;
      background-position: 50% 100%;
      height: 800px;
      scroll-margin-top: 77px;

      @media screen and (max-width:1200px) {
        background-position: 60% 50%;
      }

      /* Adjust based on your header height */
      &:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, transparent, var(--primary-color));
        z-index: -1;
      }

      .view-photo-gallery {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        padding: 80px 4%;
        width: 100vw;
        z-index: 1;

        .view-header {
          max-width: 600px;
          min-height: 600px;
          color: white;
          padding-right: 40px;

          h2 {
            color: var(--accent-color);
          }

          .read-more {
            margin-bottom: 40px;

            a {
              color: white;
            }

            i {
              color: var(--dark-color);
            }
          }

          .read-more:hover {
            a {
              color: var(--dark-color);
            }
          }
        }

        .view-content {
          max-width: 800px;

          .photo-item {
            img {
              object-fit: cover;
              width: 100%;
              min-height: 240px;
              height: auto;
              margin-bottom: 20px;
            }   
            @media screen and (max-width:1200px) {
              margin-bottom: 40px;
            }
          }

          a,
          h5 {
            color: white;
          }
        }
      }
    }
  }
}

/* Media Slider */
.slider {
  .slides {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;

    /*
    scroll-snap-points-x: repeat(300px);
    scroll-snap-type: mandatory;
    */

    &>div {
      scroll-snap-align: start;
      flex-shrink: 0;
      background: #eee;
      transform-origin: center center;
      transform: scale(1);
      transition: transform 0.5s;
      position: relative;

      display: flex;
      justify-content: center;
      align-items: center;
    }

  }

  .slides::-webkit-scrollbar {
    display: none;
  }

  .slides::-webkit-scrollbar-thumb {
    background: black;
  }

  .slides::-webkit-scrollbar-track {
    background: transparent;
  }

  .slider-dots {
    position: relative;

    .dots {
      display: flex;
      position: absolute;
      top: 20px;
      right: 20px;
      z-index: 2;

      a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 100%;
        height: 60px;
        background: rgba(255, 255, 255, 0.5);
        color: var(--primary-color);
        text-decoration: none;
        margin-left: 8px;
        padding: 20px;
        border-radius: 50px;
        transition: var(--transition);

        i {
          margin-right: 8px;
        }

        span {
          width: 100%;
        }
      }

      a:hover {
        background: white;
      }

      a.active {
        width: 60px;
        background: white;
        border-radius: 50px;

        i {
          margin: 0px auto;
        }

        span {
          width: 0px;
          overflow: hidden;
        }
      }
    }
  }
}


/* Footer
*************************/
.site-footer {
  background: var(--primary-color);
  margin-top: 160px;

  h2,
  .block {
    color: white;
    border: 0px solid;
  }

  .region-footer-second {
    width: 76%;

    ul {
      list-style: none;

      li {
        a {
          color: white;
          font-family: var(--body-font);
          font-weight: 600;
          font-size: 1.6rem !important;
          letter-spacing: 0.5px;
          text-transform: capitalize;
          border: 0px solid;
        }
      }
    }
  }

  .smfooter {
    margin: 40px auto 20px;
    text-align: center;
    
    i {
      font-size: 2.5rem;
    }
  }

  .copyright {
    color: white;
    font-family: var(--body-font);
    font-size: 1.6rem;
    text-align: center;
    padding: 0px 40px;
  }
}

.path-frontpage .site-footer {
  margin-top: 0px;
}

/* Spirit Awards Single
*************************/
.node--type-honoree {
  #main-wrapper {
    padding: 0px;
  }

  .main-content {
    padding-left: 0px;
    padding-right: 0px;

    .spirit-award-header {
      display: flex;
      flex-direction: column;
      justify-content: center;
      background: url(/sites/latinocaucus.legislature.ca.gov/files/website/lc_sa_bg.jpg) center 25%;
      height: 600px;
      padding-top: 80px;

      &>div {
        margin-left: 80px;
      }

      img {
        max-width: 280px;
        margin-bottom: 40px;
      }

      .field--name-field-year,
      .field--name-field-official-title {
        color: var(--accent-color);
        font-family: var(--accent-font);
        font-size: 2.8rem !important;
        font-weight: var(--body-weight) !important;
        font-style: italic;
        text-transform: capitalize;
        margin-bottom: 12px;
      }

      .field--name-node-title {
        color: white;

        h2 {
          margin-bottom: 12px;
        }
      }
    }

    .field--name-field-member-photo {
      position: absolute;
      top: 200px;
      right: 80px;
      max-width: 480px;
    }

    .field--name-field-biography {
      padding: 160px 80px 40px;

      .field__label {
        position: relative;
        font-family: var(--head-font);
        font-size: 4.8rem !important;
        letter-spacing: 0px;
        line-height: 1.2;
        font-weight: var(--head-weight) !important;
        text-transform: uppercase;
        margin-bottom: 40px;

        &:after {
          content: 'ACHIEVEMENTS';
          position: absolute;
          left: 0;
          top: -80px;
          width: 100%;
          height: 100%;
          font-family: var(--head-font);
          font-size: 10rem !important;
          letter-spacing: 0px;
          font-weight: var(--head-weight) !important;
          opacity: 0.1;
        }
      }
    }

    .field--name-field-back-button {
      padding: 0px 80px 160px;
    }
  }
}

/* Spirit Awards Landing
*************************/
.page-node-1590 {
  .featured-top {
    padding-left: 0px;
    padding-right: 0px;

    .spirit-award-header {
      display: flex;
      flex-direction: column;
      justify-content: center;
      background: url(/sites/latinocaucus.legislature.ca.gov/files/website/lc_sa_bg.jpg) center center;
      height: 100vh;
      padding-top: 80px;

      .spirit-award-header-wrapper>div:first-child {
        color: white;
        padding-left: 80px;

        img {
          max-width: 360px;
          margin-bottom: 40px;
        }
      }

      .spirit-award-header-wrapper>div:last-child {
        img {
          object-fit: cover;
          width: 1000px;
          max-width: unset;
        }
      }
    }
  }

  .main-content {
    .field--name-node-title {
      display: none;
    }

    .text-lg {
      position: relative;
      text-align: center;
      margin: 40px auto 0px;

      &:after {
        content: 'INSPIRATIONAL FIGURES';
        position: absolute;
        left: 0;
        top: -80px;
        width: 100%;
        height: 100%;
        font-family: var(--head-font);
        font-size: 10rem !important;
        letter-spacing: 0px;
        font-weight: var(--head-weight) !important;
        opacity: 0.1;
      }
    }

    .spirit-award-body-container {
      margin: 160px auto 0px;

      .row {
        height: 600px;
      }

      .spirit-award-body-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: url(/sites/latinocaucus.legislature.ca.gov/files/website/lc_sa_bg_brown.jpg) 0% 0%;
        height: 100%;
        padding: 40px 80px;
        border-top-left-radius: 50px;
      }

      .spirit-award-body-recap {
        background: url(/sites/latinocaucus.legislature.ca.gov/files/website/lc_sa_bg.jpg) 100% 0%;
        color: white;
        height: 100%;
        border-top-right-radius: 50px;

        img {
          object-fit: cover;
          height: 300px;
          border-top-right-radius: 50px;
        }

        .text-wrapper {
          padding: 40px;

          p {
            margin-bottom: 20px;
          }
        }
      }
    }
  }

  .region-featured-bottom-second {
    padding: 0px 80px;

    .view-latino-spirit-awards {
      text-align: center;

      .view-header {
        margin: 0px auto 80px;
        max-width: 800px;
      }

      .spirit-award-item {
        margin-bottom: 40px;

        .views-field-field-member-photo {
          max-width: 300px;
          margin: 0px auto 20px;
        }

        h3 a {
          color: var(--dark-color);

          &:hover {
            color: var(--accent-color);
          }
        }
      }

      .spirit-award-item:last-child {
        background: url(/sites/latinocaucus.legislature.ca.gov/files/website/lc_sa_bg_legacy.jpg) 0% 50%;
        margin: 0px auto;
        padding: 40px;
        width: 50%;
        border-radius: 50px;

        h3 a,
        h5 {
          color: white;
          text-transform: none;
        }

        .views-field-field-member-photo {
          max-width: 400px;
        }
      }
    }
  }
}

/* Legacy */
.page-node-1770 {
  .main-content {
    .spirit-award-header {
      background: url(/sites/latinocaucus.legislature.ca.gov/files/website/lc_sa_bg_legacy.jpg) center 25%;

      .field--name-field-year,
      .field--name-field-official-title,
      h2 {
        color: white;
      }
    }

    .field--name-field-member-photo {
      max-width: 680px;
    }
  }
}

/* Spirit Awards Previous
*************************/
.page-view-latino-spirit-awards {

  .view-header,
  .view-footer {
    margin: 0px auto 80px;
    max-width: 800px;
    text-align: center;
  }

  .spirit-award-item {
    margin-bottom: 40px;
    text-align: center;

    .views-field-field-member-photo {
      max-width: 300px;
      margin: 0px auto 20px;
    }

    h3 a {
      color: var(--dark-color);

      &:hover {
        color: var(--accent-color);
      }
    }
  }
}

/* Members
*************************/
.former-member {
  .col {
    img {
      max-width: 240px !important;
      height: 300px !important;
    }
  }
}
.page-view-member-directory {
  .member-info {
    margin-bottom: 40px;

    img {
      border-radius: 12px;
    }
  }
}

/* News Landing
*************************/
.path-news {
  .main-content {
    max-width: 800px;
    margin: 0px auto;

    h3 a {
      color: var(--dark-color);

      &:hover {
        color: var(--accent-color);
      }
    }
  }
}

/* News Single
*************************/
.node--type-news {
  .field--name-taxonomy-vocabulary-2 a {
    color: var(--dark-color);

    &:hover {
      color: var(--accent-color);
    }
  }

  .field--name-body {
    p:first-of-type {
      margin-top: 80px;
    }

  }
}


/* Resources
*************************/
.page-node-1705 {
  .featured-top {
    padding-left: 0px;
    padding-right: 0px;

    .resource-header {
      display: flex;
      flex-direction: column;
      justify-content: center;
      background: var(--primary-color);
      height: 600px;
      padding-top: 80px;

      .resource-header-wrapper>div:first-child {
        display: flex;
        flex-direction: column;
        justify-content: center;
        color: white;
        padding-left: 80px;

        h4 {
          color: var(--accent-color);
        }

        img {
          max-width: 360px;
          margin-bottom: 40px;
        }

        a {
          color: var(--accent-color);

          &:hover {
            color: white;
          }
        }
      }

      .resource-header-wrapper>div:last-child {
        img {
          position: relative;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          object-fit: cover;
          object-position: 50% 50%;
          height: 480px;
          width: auto;
          padding: 0px;
        }
      }
    }
  }

  .main-content {
    .field--name-node-title {
      display: none;
    }
  }
}

/* Videos
*************************/
.cllc-video-teaser {
  height: 420px;

  h3 a {
    display: -webkit-box;
    position: relative;
    inset: auto auto 0px 0px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
}

.media-oembed-content {
  width: 100%;
  max-width: 100%;
  height: 280px;
  border: none;
  border-radius: 12px;
}

.node--type-video {
  .media-oembed-content {
    width: 400px;
  }
}

/* Photos Landing
*************************/
.page-view-photo-gallery {
  .photo-gallery-item {
    background: var(--accent-color);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;

    .list-group {
      flex-direction: row;

      .list-group-item {
        background: transparent;
        border: 0px solid;
      }

      .list-group-item:first-child {
        img {
          border-top-left-radius: 0px;
        }
      }

      .list-group-item:last-child {
        img {
          border-top-right-radius: 0px;
        }
      }
    }

    h3 a {
      color: var(--dark-color);

      &:hover {
        color: var(--primary-color);
      }
    }
  }
}

/* Photos Gallery
*************************/
.node--type-photo-gallery {
  .field--name-field-images {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;

    .field__item {
      width: 32.3333%;

      a {
        padding: 12px;

        img {
          border-radius: 12px;
        }
      }
    }
  }
}

/* Pagination
*************************/
.pagination {
  margin: 40px auto 0px;
  justify-content: center;
}

.page-link {
  background-color: transparent !important;
  color: var(--dark-color) !important;
  padding: 16px !important;
  margin: 0px 4px;
  font-size: 1.8rem !important;
  font-weight: var(--link-weight) !important;
  border: 1px solid transparent !important;

}

.page-item:first-child {
  .page-link {
    padding: 16px 12px 16px 18px !important;
    border-top-left-radius: 50px !important;
  }
}

.page-item:last-child {
  .page-link {
    padding: 16px 18px 16px 12px !important;
    border-top-right-radius: 50px !important;
  }
}

.page-link:hover,
.page-item.active .page-link {
  background-color: var(--accent-color) !important;
  color: var(--primary-color) !important;
  border: var(--border) var(--primary-color) !important;
}


@media (min-width: 991px) {
  .node--type-honoree {
    & .main-content {
      & .spirit-award-header {
        &>div {
          width: 50%;
        }
      }
    }
  }
}

/* Responsive Design 1200px below */

@media(max-width: 1200px) {

  /* Mobile Menu */
  .navbar-collapse {
    &.collapse {
      display: none !important;
    }
  }

  /* Hide language button */
  #CollapsingNavbar.collapse:not(.show)~#block-cllc-2026-translatebutton {
    display: none;
  }


  header:has(#CollapsingNavbar.show) {
    height: 100vh;
    background-color: var(--primary-color);
    border-bottom: transparent;

    .navbar-expand-xl {
      border-bottom: transparent;
    }

  }

  header {
    padding: 0px 4% 0px !important;

    @media(max-width: 500px) {
      padding: 10px 4% 0px !important;
    }

    .navbar {
      border-bottom: none;

      & .navbar-brand {

        img {
          width: 80% !important;
        }

        @media (max-width: 500px) {
          width: 150px;
        }
      }

      .translate {
        display: block;
        width: auto;
        margin: 0 auto;
        margin-top: 20px;
      }

      .nav-item {
        .dropdown-toggle {

          &.show,
          &:hover {
            color: var(--accent-color);
          }
        }

        .dropdown-menu {
          position: unset !important;
          transform: translateX(0%);
          min-width: unset;
          max-width: unset;
          margin: 0px auto;
          padding: 8px;
          border: 0px solid var(--primary-color) !important;
          border-top-left-radius: 0px;
          border-top-right-radius: 0px;
          border-bottom-left-radius: 4px;
          border-bottom-right-radius: 4px;

          &.show {
            display: block;
            animation: dropdownEaseIn 0.6s ease forwards;
            border-bottom: solid 1px var(--accent-color) !important;
            border-radius: 0px;
          }

          &>li {
            background: transparent;
            text-align: center;
            padding: 10px;
            margin: 4px auto;
            border-top-right-radius: 100px;
            border-top-left-radius: 100px;
          }
        }
      }

      .menuBtn {
        border: 1px transparent !important;
        background: var(--primary-color);
        padding: 10px;

        &:hover {
          border: solid 1px var(--accent-color) !important;

          .lines {
            i {
              color: var(--accent-color);
            }
          }
        }
      }

      .lines {
        i {
          font-size: 24px !important;
          color: #fff;

          &.fa-x {
            color: var(--accent-color);
          }
        }
      }
    }
  }

  .dropdown-menu {
    display: none !important;
  }

  .dropdown-menu.show {
    display: block !important;
  }

  @keyframes dropdownEaseIn {
    0% {
      opacity: 0;
      transform: translateY(-10px);
    }

    70% {
      opacity: 1;
      transform: translateY(2px);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Home Page */

  .path-frontpage {
    .text-lg {
      position: relative;
      top: -56px !important;
      background: var(--primary-color);
      width: 100%;
      margin: 0px auto;
      padding: 60px;
      border-top-left-radius: 50px !important;
      border-top-right-radius: 50px !important;
    }

    & .region-featured-bottom-first {
      & .sa-bg {
        img {
          object-fit: cover;
          object-position: 5% 50%;
          height: unset;
          align-items: center;

          @media (max-width:767px) {
            margin-top: 80px;
          }
        }
      }
    }

    & .region-featured-bottom-second {
      & .latest-news {
        .news-wrapper:first-child .news-item {
          border-top-left-radius: 50px;
          border-top-right-radius: 50px;
          margin-bottom: 20px;
        }

        .news-wrapper:last-child .news-item {
          border-top-right-radius: 0px;
          border-bottom-right-radius: 0px;
          border-bottom-left-radius: 0px;
          margin-top: 20px;
        }
      }
    }

    & .region-featured-bottom-third {
      .photo-blk {
        height: unset;

        .view-photo-gallery {
          flex-direction: column;
          padding: 80px 6%;

          .view-header {
            max-width: unset;
            min-height: unset;
            padding-right: unset;
            padding: 10px;
            margin-top: 40px;
            margin-bottom: 20px;
          }

          .view-content {
            max-width: unset;
            margin-top: 40px;

            .photo-item {
              img {
                border-radius: 10px;
              }
            }
          }
        }

        &:after {
          background: linear-gradient(176deg, #314563cc, var(--primary-color));
        }
      }

      & .video-blk {
        height: unset;

        &:after {
          background: linear-gradient(176deg, #314563cc, var(--primary-color));
        }

        & .view-videos {
          flex-direction: column;
          align-items: center;
          padding: 80px 6%;

          .view-header {
            max-width: unset;
            min-height: unset;
            color: white;
            padding-right: unset;
            padding: 10px;
            margin-top: 40px;
            margin-bottom: 20px;
          }
        }
      }
    }
  }
  
  /* Mainwrapper */
  #main-wrapper {
    padding: 120px 40px 0px;
    word-break: break-word;
  }

  /* Spirit Awards Page */
  .page-node-1590 {
    .region-featured-bottom-second {
      padding: 0px 40px;

      .view-latino-spirit-awards {
        .spirit-award-item:last-child {
          width: 100%;
        }
      }
    }

    .main-content {
      .spirit-award-body-container {
        margin: 80px auto 0px;

        .row {
          height: auto;
        }

        .spirit-award-body-recap {
          img {
            object-fit: cover;
            height: auto;
            border-top-right-radius: 0px;

          }
        }

        .spirit-award-body-wrapper {
          padding: 40px;
          border-top-right-radius: 50px;

          @media(max-width: 991px) {

              padding: 40px;

          }
        }
      }

      .text-lg {
        &:after {
          top: -54px;
          color: var(--primary-color);
          font-size: 4rem !important;
          opacity: 0.8;
        }
      }
    }

    & .featured-top {
      & .spirit-award-header {
        .spirit-award-header-wrapper {
          padding-top: 15%;

          @media(max-width:991px) {
            padding-top: 80px;
          }

          @media(max-width: 767px) {
            padding-top: 40px;
          }
        }

        .spirit-award-header-wrapper>div:first-child {
          padding-left: 0;
          padding: 40px;
        }

        .spirit-award-header-wrapper>div:last-child {
          img {
            width: 100% !important;
          }
        }
      }
    }
  }

  /* Spirit Award Individual Page */
  .node--type-honoree {
    & .main-content {
      .field--name-field-back-button {
        text-align: center;
      }

      .field--name-field-member-photo {

        top: 260px;
        right: 20px;
        max-width: 390px;
      }
    }
  }

  /* Immigration Page */
  .page-node-1705 {
    & .featured-top {
      .resource-header {
        height: unset;
        padding-top: 80px;


        .resource-header-wrapper>div:first-child {
          order: 1;
          display: flex;
          flex-direction: column;
          justify-content: center;
          color: white;
          padding-left: 0px;
          padding: 20px 40px;
        }

        .resource-header-wrapper>div:last-child {

          img {
            height: auto;
          }
        }
      }
    }
  }

  /* Photo Gallery */

  .node--type-photo-gallery {
    .field--name-field-images {

      .field__item {
        width: 48%;
      }

      @media (max-width: 500px) {

        .field__item {
          width: 100%;
          flex-direction: column;
        }
      }

    }
  }

  /* News */
  .node--type-news {
    #main-wrapper {
      h1 {
        font-size: 3.8rem !important;
      }
    }
  }

  /* Footer */


  .site-footer__top .region {
    float: none;
    position: relative;
    width: 100%;
  }

  .site-footer {

    h2,
    .block {
      color: white;
      border: 0px solid;
      text-align: center;
    }
  }
  /* .smfooter {
    justify-content: center;
    margin:0 auto;
  } */



}

/* closing bracket */

@media (max-width: 991px) {
  h2 {
    font-size: 4rem !important;
  }

  .node--type-honoree {
    & .main-content {
      .field--name-field-biography {
        padding: 180px 40px 40px;

        .field__label {
          text-align: center;

          &:after {


            @media (max-width:767px) {
              top: -30px;
              font-size: 4rem !important;
            }

          }
        }
      }

      & .spirit-award-header {
        justify-content: center;
        padding-top: 0px;

        img {
          max-width: 200px;
          margin-bottom: 10px;
        }

        &>div {
          margin-left: 16px;
        }
      }

      .field--name-field-member-photo {
        top: 400px;
        right: 10px;
        max-width: 280px;

        @media (max-width: 767px) {

          top: 500px;
          left: 0;
          right: 0;
          max-width: 230px;
          margin: 0 auto;
        }
      }
    }
  }
}