/*
 Theme Name: CSU Rec (Hello Elementor Child)
 Author: Marissa Lockwood and Shaun Geisert
 Author URI: mailto:dsaweb@colostate.edu
 Template: hello-elementor
 Description: Hello Elementor child theme for CSU Rec website
 Author: Elementor Team
 Template: hello-elementor
 Version: 0.1
*/
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

/* Stole styles usually applied to the theme's ".logo" */
#BrandLogo {
  box-sizing: border-box;
  padding: 10px 0 10px 0;
  float: left;
  vertical-align: middle;
}
@media only screen and (max-width: 767px) {
  #BrandLogo {
    position: static;
    display: table;
    width: 80%;
  }
}
#BrandLogo h1,
#BrandLogo h2 {
  margin: 0 !important;
  padding: 0 !important;
}
#BrandLogo h2 {
  font-weight: 400 !important;
}

/* ************************************************** */
/*                   Features - Important Dates MEC                    */
/* ************************************************** */

.mec-wrap {
    padding:1em;
  }
  
  .home h4.mec-event-title {
    color:#fff;
  }
  
  /*.mec-qrcode-details,
  .mec-event-social,
  .mec-single-event-category,
  .mec-booking-button,
  .mec-events-meta-group-countdown,
  .mec-single-event .mec-event-meta:first-child,
  .mec-full-calendar-wrap .mec-sl-folder,
  .mec-full-calendar-wrap #mec_category-76,
  .mec-full-calendar-wrap .mec-sl-arrow-down,
  .mec-sl-folder {
    display: none !important;
  }*/
  
  .mec-sl-folder, .mec-sl-magnifier {
    display: none !important;
  }
  
  .mec-full-calendar-wrap .mec-month-divider span,
  .mec-single-event .mec-single-title {
    font-size: 2rem;
    font-weight: 500;
  }
  
  /*.mec-full-calendar-wrap .mec-full-calendar-wrap,
  .mec-full-calendar-wrap .mec-search-form,
  .mec-single-modern .mec-single-event-bar {
    border: 2px solid #000 !important;
  }*/
  
  .mec-single-modern .col-md-4 .mec-frontbox, 
  .mec-single-modal .mec-event-export-module {
    border: 0px solid #000 !important;
  }
  
  .mec-full-calendar-wrap .mec-totalcal-box label,
  .mec-full-calendar-wrap .mec-agenda-date-wrap span.mec-agenda-day,
  .mec-full-calendar-wrap .mec-agenda-date-wrap span.mec-agenda-date,
  .mec-full-calendar-wrap .mec-start-time,
  .mec-full-calendar-wrap .mec-agenda-date-wrap i,
  .mec-full-calendar-wrap .mec-agenda-events-wrap i,
  .mec-start-date-label,
  .mec-end-date-label,
  .mec-events-abbr,
  .mec-single-event .mec-event-meta dd a.mec-more-info-button,
  .mec-event-content .mec-single-event-description *,
  .mec-event-content .mec-single-event-description p
  {
    font-size: 15px;
  }
  
  .mec-full-calendar-wrap .mec-agenda-events-wrap span.mec-agenda-event-title,
  .mec-full-calendar-wrap .mec-agenda-event-title a {
    font-size: 15px;
  }
  
  .mec-wrap .mec-simple-checkboxes-search ul li label input[type="checkbox"] {
    border: 1px solid #000;
  }
  
  .mec-wrap .mec-simple-checkboxes-search ul li label input[type="checkbox"]:before {
    background-color: #e56a54 !important;
  }
  
  .mec-wrap .mec-simple-checkboxes-search ul li label input[type="checkbox"]:checked {
    border: 1px solid #e56a54 !important;
  }
  
  .mec-full-calendar-wrap .mec-month-divider span {
    border-bottom: 10px solid #e56a54;
  }
  
  .mec-full-calendar-wrap .mec-month-divider span {
    text-transform: capitalize;
    text-align: left;
  }
  
  .mec-full-calendar-wrap .mec-searchbar-category-wrap li, .mec-gCalendar-filters-wrap li {
    display: inline;
    float: left;
    padding-right: 10px;
  }
  
  .mec-gCalendar-filters-wrap .mec-simple-checkboxes-search .mec-searchbar-category-wrap {
    width:auto !important;
    height:auto !important;
    border:0px !important;
  }
  
  .single-mec-events #main {
    background-color:#fff;
  }
  
  .mec-agenda-date-wrap {
    padding:0 10px 0 15px;
  }
  
  .mec-month-divider {
    padding:0 10px 0 10px;
  }
  
  .mec-agenda-date-wrap {
    padding-top:16px;
  }
  
  /*
  .mec-events-meta-group-gmap {
    display:none;
  }*/
  
  .col-md-8 .mec-event-export-module {
    padding: 10px 0 10px !important;
  }
  
  .mec-full-calendar-search-ends .col-md-6 {
    width:100%;
  }
  
  .mec-calendar.mec-event-calendar-classic dl.mec-calendar-table-head .mec-calendar-day-head {
    text-align: center;
  }
  
  /* Change "Local Time" to "Event Time" on event pages */
  
  h3.mec-local-time {
      display: none!important; 
  }
  
  .mec-local-time-details .mec-sl-clock:after {
      content: "Event Time";
      font-size: 16px;
      font-weight: bold; 
      text-transform: uppercase; 
      padding-left: 15px; 
      font-family: 'Poppins', sans-serif;
      color: #000;
  }
  
  /* Edit MEC categories pages to be readable */
  
  .mec-container {
      background-color: #fff;
      padding-top: 50px; 
  }
  
  .mec-container h1 {
      text-align: center; 
      margin: auto; 
  }
  
  .col-md-8 .mec-single-title {
      text-align: left; 
      margin: 0px 0px 30px 0px; 
  }
  
  /* Edit Rec Calendar formatting */
.mec-wrap {
    padding: 0;
}


  .mec-localtitle, .mec-localtime-wrap .mec-localdate {
    display: none !important;
  }
  
  .mec-localtime-wrap {
    display: block; 
  }
  
  .mec-localdate {
    float: left; 
    position: relative; 
    display: block!important; 
    padding-right: 10px; 
    margin-left: 5px; 
  }
  
  .mec-localtime {
    float: none; 
    display: block!important; 
    position: relative; 
  }
  
  .fc-event-main {
    margin-left: 3px; 
    margin-right: 3px; 
    line-height: 1.5em;
  }
  
  /* stupid they don't have 3 chars */
  .mec-calendar.mec-event-calendar-classic dl.mec-calendar-table-head .mec-calendar-day-head:nth-child(1):after {content: 'N';}
  .mec-calendar.mec-event-calendar-classic dl.mec-calendar-table-head .mec-calendar-day-head:nth-child(2):after {content: 'N';}
  .mec-calendar.mec-event-calendar-classic dl.mec-calendar-table-head .mec-calendar-day-head:nth-child(3):after {content: 'E';}
  .mec-calendar.mec-event-calendar-classic dl.mec-calendar-table-head .mec-calendar-day-head:nth-child(4):after {content: 'D';}
  .mec-calendar.mec-event-calendar-classic dl.mec-calendar-table-head .mec-calendar-day-head:nth-child(5):after {content: 'U';}
  .mec-calendar.mec-event-calendar-classic dl.mec-calendar-table-head .mec-calendar-day-head:nth-child(6):after {content: 'I';}
  .mec-calendar.mec-event-calendar-classic dl.mec-calendar-table-head .mec-calendar-day-head:nth-child(7):after {content: 'T';}
  
  /* ==========================================================================
     SOURCE Feed
     ========================================================================== */
  /* Container for All News Items */
  .sourceNewsHolder {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  /* Individual News Items */
  .sourceNewsItem {
      background: #ffffff;
      display: grid;
      grid-auto-rows: min-content min-content min-content auto;
      margin: 10px !important;
  }
  /* News Item: Feature Image */
  .sniImageHolder {
      background-position: 50% 50%;
      background-size: cover;
      box-sizing: border-box;
      display: block;
      grid-row-gap: 0ch;
      height: 150px;
      width: 100%;
  }
  /* News Item: First Text Row */
  .sniHeaderRow {
      display: flex;
      padding: 10px 15px 10px 15px;
  }
  .sniDateHolder {
      border-right: 1px solid #bababa;
      padding-right: 10px;
  }
  .sniDateHolder span {
      display: block;
      margin: 0 auto;
      text-align: center;
  }
  .sniTitleHolder {
      padding-left: 10px;
  }
  .sniTitleHolder a {
      text-decoration: none;
  }
  .sniTitleHolder a h3 {
      font-weight: 400;
      margin: 0;
  }
  .site-footer h3.sniTitle {
      font-size: 1em;
      line-height: 1.2em;
  }
  /* News Item: Second Text Row */
  .sniExcerptRow p {
      color: rgba(0, 0, 0, 0.7);
      font-size: 13px;
      font-weight:normal;
      line-height: normal;
      padding: 0px 10px 10px 10px;
      margin-bottom: 0;
  }
  a.sniReadMoreButton {
    background-image: linear-gradient(rgba(255,255,255,.15),rgba(255,255,255,0)) !important;
    border-color: rgba(0,0,0,.2) !important;
    display: inline-block;
    margin-bottom: 0;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    top: 0;
    transition: all .2s ease-in-out;
    line-height: normal;
    box-shadow: none;
    background-repeat: repeat-x;
    border-radius: 5px;
    font-size: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 20px;
    padding-right: 20px;
    color: #fff !important;
    background-color: #6ab165;
    text-decoration: none;
  }
  a.sniReadMoreButton:hover {
    background-color: #59a453 !important;
    color: #f7f7f7;
  }
  /* News Item: Read More Button */
  .sniReadMoreButtonRow {
      align-self: end;
  }
  .sniReadMoreButtonRow a {
      border-top: 1px solid #dfdfdf;
      color: rgba(0, 0, 0, 0.6);
      display: block;
      font-size: 0.8em;
      padding: 3px 0 3px 0;
      text-align: center;
      transition-delay: 0s;
      transition-duration: 0.2s;
      transition-property: all;
      transition-timing-function: ease-in-out;
      width: 100%;
  }
  .sniReadMoreButtonRow a:hover,
  .sniReadMoreButtonRow a:active {
      background: #efefef;
      color: #555555;
  }
  
  /* ---------- HOME PAGE SOURCE ---------- */
  /* Container for All News Items */
  .home .sourceNewsHolder {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
  /* Individual News Items */
  .home .sourceNewsItem {
      background: #ffffff;
      display: grid;
      grid-auto-rows: min-content min-content min-content auto;
      margin: 10px !important;
  }
  /* News Item: All Rows */
  .home .sniRow {
      border: 10px solid #fff;
  }
  /* News Item: Feature Image */
  /*.home .sniImageHolder {
      background-size: cover;
      background-position: 50% 50%;
      box-sizing: border-box;
      display: block;
      grid-row-gap: 0ch;
      height: 350px;
      width: 100%;
  }*/
  /* News Item: First Text Row */
  .home .sniHeaderRow {
      display: flex;
      padding: 10px 15px 10px 15px;
  }
  .home .sniDateHolder {
      border-right: 1px solid #bababa;
      padding-right: 10px;
      font-size:1.5em;
      line-height:1.7em;
  }
  .home .sniDateHolder span {
      display: block;
      margin: 0 auto;
      text-align: center;
  }
  .home .sniTitleHolder {
      padding-left: 10px;
  }
  .home .sniTitleHolder a {
      text-decoration: none;
  }
  .home .sniTitleHolder a h3 {
      font-weight: 400;
      margin: 0;
  }
  .home .sniTitle {
      font-size: 1.2em;
      line-height: 1.4em;
  }
  /* News Item: Second Text Row */
  .home .sniExcerptRow p {
      color: rgba(0, 0, 0, 0.7);
      font-size: 13px;
      font-weight:normal;
      padding: 0px 10px 10px 10px;
      margin-bottom: 0;
  }
  /* News Item: Read More Button */
  .home .sniReadMoreButtonRow {
      align-self: end;
  }
  .home .sniReadMoreButtonRow a {
      border-top: 1px solid #dfdfdf;
      color: rgba(255, 255, 255, 0.8);
      display: block;
      font-size: 1em;
      padding: 3px 0 3px 0;
      text-align: center;
      transition-delay: 0s;
      transition-duration: 0.2s;
      transition-property: all;
      transition-timing-function: ease-in-out;
      width: 100%;
      background-color: #d47f28;
      border-radius: 5px;
  }
  .home .sniReadMoreButtonRow a:hover,
  .home .sniReadMoreButtonRow a:active {
      background: #004810;
      color: #fff;
  }
  .home .site-footer #footerSourceFeed {
      display:none;
  }
  
  /* MEC single event page styles */
  
  .col-md-4 {
    display: none!important; 
  }
  
  .content-wrap {
    width: 100%; 
    max-width: 1200px; 
    margin: auto; 
    padding: 50px 20px; 
  }
  
  .mec-main {
    padding: 20px; 
  }
  
  .mec-sidebar {
    padding: 20px; 
    border: 1px solid #e8e8e8;
  }
  
  #event-time {
    margin-bottom: 10px!important; 
  }
  
  .mec-single-event-location {
    display: block;
    padding: 0;
    margin-top: 20px; 
  }
  
  .mec-sl-location-pin, .mec-sl-folder {
    display: inline-block;
  }
  
  .mec-single-event-category dt {
    font-family: 'Poppins', sans-serif; 
    font-weight: bold; 
    text-transform: uppercase; 
    font-size: 20px; 
  }
  
  .mec-event-meta i::before {
    vertical-align: initial!important; 
  }
  
  .mec-fa-angle-right {
    margin-right: 5px; 
  }
  
  .mec-events-event-categories a {
    text-decoration: none; 
  }
  
  .mec-events-single-section-title {
    display: inline-block;
    margin: 0; 
  }
  
  .mec-single-event-category dt {
    display: inline-block;
  }
  
  .mec-single-event-location dl {
    margin: 0;
  }
  
  .author {
    display: flex; 
    flex-direction: row; 
    align-items: center; 
    margin-left: 20px; 
  }
  
  .author h6 {
    margin: 10px 0px 10px 10px; 
  }
  
  .author h6, .mec-address, .mec-sidebar-label {
    font-size: 1.05rem!important;
    font-family: 'Poppins', sans-serif; 
  }
  
  .location {
    margin-left: 50px; 
  }
  
  #event-time {
    margin: 0; 
  }
  
  .mec-links-details ul {
    list-style-type: none; 
    display: flex; 
    flex-direction: row; 
    flex-wrap: nowrap; 
    gap: 10px; 
    padding: 0px; 
  }
  
  .mec-links-details li {
    max-width: 25%; 
    padding: 5px;
    background-color: #1E4D2B; 
    width: 30px; 
    display: flex; 
  }
  
  .mec-links-details a, .mec-links-details i, .mec-links-details svg {
    max-width: 100%; 
    font-size: 20px; 
    margin: auto!important; 
    color: white; 
    text-decoration: none; 
    max-width: 20px; 
    max-height: 20px; 
    width: auto; 
    height: auto; 
  }
  
  .mec-links-details svg {
    max-width: 100%; 
    width: 20px; 
    fill: white; 
    margin: auto!important;
  }
  
  @media screen and (min-width: 767px) {
    .content-wrap {
        display: flex; 
        flex-direction: row; 
    }
    .mec-main {
        width: 70%;
    }
    .mec-sidebar {
        width: 30%;
    }
  }
  
  @media screen and (max-width: 766px) {
    .content-wrap {
        display: block; 
    }
    .mec-main {
        width: 100%;
    }
    .mec-sidebar {
        width: 100%;
    }
  }

  /* MEC single event popup modifications */
  .mec-modal-wrap a.facebook, .mec-modal-wrap a.twitter, .mec-modal-wrap a.linkedin, .mec-modal-wrap a.email {
    background-color: transparent!important; 
  }

  .mec-modal-wrap .twitter svg {
    min-width: 20px; 
    fill: white!important;
    margin-left: -10px!important; 
  }

  .mec-modal-wrap .facebook i, .mec-modal-wrap .linkedin i, .mec-modal-wrap .email i {
    margin-left: -5px!important; 
  }

  .mec-modal-wrap .mec-event-social-icon {
    max-height: 43px!important; 
  }

  /* Adjusting a few things when logged in to make the WP admin bar less annoying */
  body.logged-in .bdt-sticky-fixed, body.logged-in #off-canvas-30106f1, body.logged-in #modal-search-92cd1b2 {
    top: 30px!important;
  }

  body.logged-in .e-off-canvas__content {
    height: calc(100% - 30px);
  }

  /* Text style changes */
  .red {
    color: #E56A54;
  }

  .p-small {
    font-size: 16px; 
  }

  h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: #D9782D!important;
  }

  #BrandLogo a {
    color: white!important;
  }

  a {
    word-wrap: break-word; 
  }

  .elementor-widget-text-editor ul {
    margin-bottom: 20px; 
  }

  /* Create a class to remove default padding from Elementor text editors */
  .no-margin p:last-child, .no-margin li:last-child, .no-margin a:last-child, .no-margin ul:last-child .no-margin ol:last-child {
    margin-bottom: 0px; 
  }

  /* Mega menu styles */ 
  .mega-indicator {
    display: none!important;
  }

  @media screen and (min-width: 1500px) {
    #mega-menu-item-139411, #mega-menu-item-139412, #mega-menu-item-139413, #mega-menu-item-139414, #mega-menu-item-139415, #mega-menu-item-139416, #mega-menu-item-139417, #mega-menu-item-139418, #mega-menu-item-139928 {
      display: none!important; 
    }
  }

#mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-item a {
  text-align: left!important; 
}

ul.mega-sub-menu a.mega-menu-link {
  line-height: 1.3!important; 
  padding: 10px!important; 
}

/* Tablepress styles */
.tablepress thead * {
  --head-active-bg-color: #E56A54!important; 
  --head-active-text-color: white!important; 
  background-color: #E56A54!important; 
  color: white!important;
}

.e-con-inner {
  overflow: hidden;
}

/* Remove last breadcrumb item to avoid duplicate titles in page header */
.aioseo-breadcrumb:last-of-type {
  display: none; 
}

/* Add a bit of offset for anchor links so they don't end up underneath the sticky nav */
html {
  scroll-padding-top: 100px!important; 
}

@media (max-width: 600px) {
  html.foobar-push-transition {
    margin-top:0px !important;
  }
}