/*
  Theme Name: Stupski
  Theme URI: https://www.4sitestudios.com
  Description: Stupski Theme based on Revolution
  Version: 1.0.1
  Author: fuelthemes
  Template: revolution
  Text Domain: revolution
    Domain Path: /inc/languages
    
    You will find the real stylesheet (where you should put your work)
    in assets/scss/style.scss.
*/

/* Temporary Theming by Mike W to be replaced by Fernando later */
#blue-line-wrapper,
#green-line-wrapper,
#orange-line-wrapper {
  height: auto;
  width: 50%;
  position: absolute;
  max-width: 800px;
}

@media only screen and (max-width: 890px) {
  #green-line-wrapper,
  #blue-line-wrapper,
  #orange-line-wrapper {
    display: none;
  }
}
@media only screen and (min-width: 889px) {
  #green-line-wrapper {
    height: auto;
    width: 75%;
    transform: translateX(-50%) translateY(60%) rotate(-30deg);
  }
  #blue-line-wrapper {
    width: 75%;
    transform: translateX(-40%) translateY(60%) rotate(-30deg);
  }
  #orange-line-wrapper {
    width: 75%;
    transform: translateX(0%) translateY(55%) rotate(-90deg);
  }
}
@media only screen and (min-width: 1001px) {
  #green-line-wrapper {
    transform: translateX(-50%) translateY(50%);
  }
  #blue-line-wrapper {
    transform: translateX(-30%) translateY(60%);
  }
  #orange-line-wrapper {
    transform: translateX(0%) translateY(45%) rotate(-120deg);
  }
}
@media only screen and (min-width: 1201px) {
  #green-line-wrapper {
    transform: translateX(-50%) translateY(20%);
  }
  #blue-line-wrapper {
    transform: translateX(-50%) translateY(60%);
  }
  #orange-line-wrapper {
    transform: translateX(0%) translateY(25%) rotate(-90deg);
  }
}

.latest-news-wrapper,
#resources {
  margin-bottom: 45px;
}


.st-hero-section {
  background-size: cover;
  background-repeat: no-repeat;
}
.st-image-header-centered {
  padding: 12vh 0 48vh 0 !important;
}
@media (max-width: 640px) {
  .st-hero-section {
    background-size: contain;
  }
  .st-image-header-centered {
    padding: 3vh 0 23vh 0 !important;
  }
  .st-image-header-centered h1 {
    padding: 12px 20px !important;
  }
}
@media (min-width: 641px) and (max-width: 1023px) {
  .st-hero-section {
    background-size: cover;
  }
  .st-image-header-centered {
    padding: 5vh 0 30vh 0 !important;
  }
  .st-image-header-centered h1 {
    padding: 2px 20px !important;
  }  
}



.grants-list-pre-footer {
  background-image: url(/wp-content/themes/stupski/assets/images/stupski-bottom-graphic-variant.svg) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  min-height: 300px;
}

.grants-list-static-tag {
  font-size: 12px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.67;
  letter-spacing: 0.37px;
  text-align: left;
  padding: 0 4px;
  display: inline-block;
  margin: 10px 0;
}
.grants-list-pre-footer-tag {
  background-color: #3498d8;
  color: #ffffff;  
}
.grants-list-post-header-tag {
  background-color: #f4d35e;
  color: #444444;    
}

.grants-list-pre-footer.row.no-column-padding > div.columns {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 35px;
}

.grants-list-pre-footer.row.no-column-padding > div.columns > .vc_column-inner {
  padding: 96px 20px;
}



.grants-list-pre-footer-description {
  max-width: 800px;
  /*font-weight: 900;*/
  font-size: 44px;
  line-height: 1;
}

.grants-list-pre-footer-description a {
  color: #3498d8;
}

.grants-list-pre-footer-description a svg {
  height: 40px;
  width: auto;
  margin-bottom: -8px;
}


#grants-list-learn-more {
  margin-bottom: 30px;
}
#grants-list-learn-more svg {
  margin-right: 5px;
  display: block;
}
#grants-list-learn-more a {
  color: inherit !important;
  display: flex;
  align-items: center;
}
#debug { display: none; }

.template-historical-grants {
  background-color: #f9f8f6;
  padding-top: 125px;
}
.sgi__historical_menu {
  background-color: #ffffff;
}
.sgi-historical-menu-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
.sgi-historical-menu-wrapper .sgi__historical_menu {
  width: 350px;
}

@media (max-width: 1000px) {
  .sgi-historical-menu-wrapper .sgi__historical_menu {
    width: 1000%;
  } 
}

/* Tayo additions to historical grants */
.template-historical-grants .description p {
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.2px;
}
.template-historical-grants h1.entry-title {
    line-height: 84px;
    letter-spacing: -2px;
}
.sgi-historical-menu-wrapper .sgi__historical_menu {
    width: 417px;
}
.sgi__historical_menu {
    padding: 50px 50px !important;
    border-radius: 6px;
}
.sgi__historical_menu ul li a {
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.sgi__historical_menu ul li a:hover {
    opacity: 0.8;
    transform: translateX(10px);
}
.page-historical-grants a.sgi-view-more {
    background-color: #F9F8F6;
}
.page-historical-grants a.sgi-view-more {
    background-color: #F9F8F6;
    border: solid 2px !important;
    border-radius: 4px;
}
.sgi__section.issue-area-food-security .sgi-view-more:hover {
    background-color: #4fb96f;
    color: #fff !important;
    border: 2px solid #4fb96f !important;
}
.sgi__section.issue-area-special-initiative .sgi-view-more:hover {
    background-color: #f5d35f;
    color: #444 !important;
    border: 2px solid #f5d35f !important;
}
.sgi__section.issue-area-early-brain-development .sgi-view-more:hover {
    background-color: #ed476f;
    color: #fff !important;
    border: 2px solid #ed476f !important;
}
.sgi__section.issue-area-serious-illness-care .sgi-view-more:hover {
    background-color: #3497d8;
    color: #fff !important;
    border: 2px solid #3497d8 !important;
}
.sgi__section.issue-area-postsecondary-success .sgi-view-more:hover {
    background-color: #f08e24;
    color: #fff !important;
    border: 2px solid #f08e24 !important;
}
.sgi__section__content ul {
    margin-bottom: 12px !important;
}
.sgi__section {
    margin-bottom: 100px !important;
}
.post-content .sgi__section__content ul {
    padding-left: 0px;
}
.sgi__section__content ul li > div .sgi-first-line {
    padding-bottom: 4px;
}
.sgi__section__content ul li.sgi-subsection-top > div hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.grants-list-pre-footer-description {
    max-width: 740px;
    font-style: normal;
    font-size: 32px;
    line-height: 32px;
    letter-spacing: -0.88px;
}
.grants-list-pre-footer-description p, .grants-list-pre-footer-description p a {
    font-style: inherit;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}
.grants-list-pre-footer-description p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .grants-list-pre-footer-description {
    max-width: 100%;
    font-size: 22px;
    line-height: 22px;
  }

  .grants-list-pre-footer-description a svg {
    display: none;
  }
}

.thb-testimonials a .thb-testimonial:hover {
    text-decoration: underline;
}
.hover-only {
  display: none;  
}
a:hover .hover-only {
  display: block;
}

.mt-10 {
  margin-top: 10px;
}

@media (max-width: 1000px) {
  .mobile-only {
  }
  .desktop-only {
    display: none;
  }
}
@media (min-width: 1001px) {
  .mobile-only {
    display: none;
  }
  .desktop-only {
    display: block;
  }
}