﻿/* Hero Video Row */

/* Homepage Row - Hero header, background, and pre-roll video */

.hero-row {
    height: 91.5vh;
    height: 100vh;
    min-height: calc(20rem + 18vw);
    overflow: hidden;
    position: relative;
}

.hero-bg-lowres {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    filter: blur(10px);
    transform: scale(1.03);
    position: absolute;
    z-index: 1;
    transform-origin: center;
    display:block !important;
}

.hero-bg {
    z-index: 2;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: none;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
    display:block !important;
}

.mobile-hero-bg {
    display: none;
    z-index: -1;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: none;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0)
}

.hero-video {
    z-index: 3;
    position: absolute;
    min-width: 100%;
    min-height: 100%;   
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    display:block !important;
}

@media only screen and (max-width: 60rem){
    .mobile-hero-bg{
        z-index:3;
        display:block !important;
    }
    .hero-video{
        display:none !important;
    }
}

@media only screen and (max-width: 26.25rem) {
    .hero-video {
        display: none;
    }
}

.hero-filter {
    z-index: 4;
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: absolute;
    z-index: 6;
    bottom: 3.4vh;
    left: 3.4vh;
    padding-top: 2.1vw;
    padding-bottom: calc(-0.5rem + 2.1vw);
    /* height: 20.7vw; */
    width: 20.7vw;
    min-width: 21rem;
    background: none;
    flex-direction: column;
    justify-content: space-evenly;
    display: flex !important;
}

.hero-content.textlocation-right{
    left:auto;
    right:3.4vh;
}

.hero-content.textlocation-center {
    left: 0;
    right: 0;
    text-align: center;
    margin: 0 auto;
}

.hero-content.textlocation-center .arrow {
    left: 0;
    right: 0;
    margin: 0 auto;
}

.hero-content.bg-purple {
    background: rgba(173, 37, 141, 0.8);
}

.hero-content.bg-blue {
    background: rgba(11, 86, 152, 0.8);
}

.hero-content.bg-green {
    background: rgba(0, 134, 86, 0.8);
}

.hero-content.bg-red {
    background: rgba(173, 19, 40, 0.8);
}

.hero-content.bg-blue-green {
    background: rgba(20, 146, 152, 0.8);
}

.hero-content h1 {
    color: #fbb041;
    /* color: #f00; */
    text-transform: uppercase;
    font-family: 'Roboto', 'Lato', sans-serif;
    font-weight: 700;
    word-spacing: 100vw;
    font-size: calc(1.5rem + 6.25vw);
    line-height: calc(1.5rem + 5.2vw);
    letter-spacing: -0.2vw;
    padding-left: 1.6vw;
    padding-bottom: 0;
    margin-bottom: 0.5rem;
}

@media only screen and (max-width: 32.75rem) {
    .hero-content {
        left: 0.765rem;
        width: calc(100% - 1.5rem);
        min-width: initial;
        padding: 0.765rem;
    }

    .hero-content h1 {
        text-align: center;
        padding-left: 0;
        word-break: break-word;
    }
}

.header-overflow .hero-content {
    bottom: 4.5rem;
}

.hero-content .button-wrapper {
    display: flex;
    flex-direction: row;
    align-content: space-between;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 0 0.4vw;
}

.ie11 .hero-content .button-wrapper,
.ie10 .hero-content .button-wrapper,
.ie9 .hero-content .button-wrapper {
    justify-content: space-around;
}

.hero-content .button-wrapper .button {
    padding: calc(0.5rem + 0.2vw) calc(0.5rem + 0.4vw);
    border-color: #fbb041;
    color: #fff;
    font-size: calc(0.8rem + 0.17vw);
    flex-grow: 1;
    margin: 0 0.3vw 0.6vw;
}

.hero-content .button-wrapper .button:hover,
.hero-content .button-wrapper .button:focus {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #840065;
    text-decoration: none;
}

.hero-content.bg-purple .button-wrapper .button:hover,
.hero-content.bg-purple .button-wrapper .button:focus {
    color: #840065;
}

.hero-content.bg-blue .button-wrapper .button:hover,
.hero-content.bg-blue .button-wrapper .button:focus {
    color: #003f77;
}

.hero-content.bg-green .button-wrapper .button:hover,
.hero-content.bg-green .button-wrapper .button:focus {
    color: #006f48;
}

.hero-content.bg-red .button-wrapper .button:hover,
.hero-content.bg-red .button-wrapper .button:focus {
    color: #650000;
}

.hero-content.bg-blue-green .button-wrapper .button:hover,
.hero-content.bg-blue-green .button-wrapper .button:focus {
    color: #004c4e;
}

.hero-content .rich-text {
    padding: 0 2rem;
    color: #fff;
    font-size: calc(1rem + 0.8vw);
    line-height: calc(1.5rem + 0.45vw);
    text-align: center;
    margin-top: -0.5rem;
    margin-bottom: 0.9vw;
}

.hero-content.textlocation-left .rich-text{
    text-align:left;
}

.hero-content.textlocation-right .rich-text{
    text-align:right;
}

.hero-content.textlocation-center .rich-text{
    text-align:center;
}

.hero-content .arrow {
    width: calc(0.9rem + 0.35vw);
    height: calc(0.9rem + 0.35vw);
    position: absolute;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform: rotate(45deg);
    bottom: -2.7vh;
    left: calc(50% - 0.9rem - 0.35vw);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }

    40% {
        transform: translateY(-0.45rem) rotate(45deg);
    }

    60% {
        transform: translateY(-0.25rem) rotate(45deg);
    }
}

h1.make-a-difference-h1 {
    word-spacing: normal;
}

h1.make-a-difference-h1 span {
    white-space: nowrap;
}


/* Theme - Digital Magazine */

.hero-row.theme-digital-magazine {
    height: calc(100vh - 118px);
    min-height: calc(28rem + 18vw);
}

.hero-row.is-site-homepage.theme-digital-magazine {
    padding-top: 0;
    background: #f2f2f2;
}

.theme-digital-magazine .hero-content {
    position: absolute;
    padding: 1rem;
    height: auto;
    width: 22.7vw;
    width: calc(20rem + 14vh + 16vw);
    min-width: 21rem;
    top: auto;
    bottom: 4vh;
    left: 3vw;
    justify-content: center;
}

.theme-digital-magazine .hero-content.overrun {
    width: calc(20rem + 14vw);
}

.hero-row.is-site-homepage.theme-digital-magazine .hero-content:before {
    content: 'Feature';
    padding-left: 0;
    padding-bottom: 1vh;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: #98ceff;
}

.theme-digital-magazine .hero-content h1 {
    text-transform: none;
    /*font-family: 'EB Garamond', Georgia, serif;*/
    font-weight: normal;
    font-size: 5.8rem;
    line-height: 0.9;
    letter-spacing: -0.02em;
    word-spacing: normal;
    color: #ffffff;
    padding-left: 0;
    margin-bottom: 0;
}

/*.theme-digital-magazine .hero-content:not(.overrun) h1 .uppercase:not(:first-child) {
    font-size: 0.72em;
}*/

.theme-digital-magazine .hero-content.overrun h1 {
    font-size: calc(3rem + 1vw);
    line-height: 0.92;
}

.theme-digital-magazine .hero-content .rich-text {
    text-align: left;
    margin-top: calc(0.5rem + 2vh);
    color: #ffffff;
    padding: 0;
}

.theme-digital-magazine .hero-content.textlocation-center .rich-text{
    text-align:center;
}

.theme-digital-magazine .hero-content.textlocation-center .rich-text {
    text-align: center;
}

.theme-digital-magazine .hero-content .rich-text * {
    font-size: calc(1.1rem + 0.1vw);
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 1.5vh;
}

.hero-row.is-site-homepage.theme-digital-magazine .hero-content .rich-text > a {
    position: relative;
}

.hero-row.is-site-homepage.theme-digital-magazine .hero-content .rich-text > a,
.hero-row.is-site-homepage.theme-digital-magazine .hero-content .rich-text > a:hover,
.hero-row.is-site-homepage.theme-digital-magazine .hero-content .rich-text > a:active,
.hero-row.is-site-homepage.theme-digital-magazine .hero-content .rich-text > a:focus {
    text-decoration: none !important;
}

.hero-row.is-site-homepage.theme-digital-magazine .hero-content .rich-text > a:after {
    content: '';
    width: 100%;
    height: 2.5rem;
    border-bottom: 1px solid #ffffff;
    position: absolute;
    display: block;
    margin-left: 0;
    transition: all 0.14s ease;
    top: -0.6rem;
    left: 0rem;
    transition: all 0.17s ease;
}

.hero-row.is-site-homepage.theme-digital-magazine .hero-content .rich-text > a:hover:after {
    margin-left: 0;
    background: #ffffff30;
    left: -0.5rem;
    width: 16rem;
    border-bottom: 1px solid #ffffff;
}

.theme-digital-magazine .hero-content .arrow {
    left: 4rem;
    bottom: -1rem;
}

.theme-digital-magazine .hero-content.textcolor-white h1,
.theme-digital-magazine .hero-content.textcolor-white .rich-text * {
    color: #ffffff;
}

.theme-digital-magazine .hero-content.textcolor-orange h1,
.theme-digital-magazine .hero-content.textcolor-orange .rich-text * {
    color: #fbb041;
}

.theme-digital-magazine .hero-content.textcolor-blue h1,
.theme-digital-magazine .hero-content.textcolor-blue .rich-text * {
    color: #01529B;
}

.theme-digital-magazine .hero-content.textlocation-left {
    left: 3.4vh;
}

.theme-digital-magazine .hero-content.textlocation-right {
    left: auto;
    right: 3.4vh;
}

.theme-digital-magazine .hero-content.textlocation-right h1,
.theme-digital-magazine .hero-content.textlocation-right .rich-text,
.theme-digital-magazine .hero-content.textlocation-right .rich-text * {
    text-align: right;
}

.theme-digital-magazine .hero-content.textlocation-right .arrow {
    left: auto;
    right: 2.6vw;
}

.theme-digital-magazine .hero-content.textlocation-center {
    left: 0;
    right: 0;
    text-align: center;
    margin: 0 auto;
}

.theme-digital-magazine .hero-content.textlocation-center .arrow {
    left: 0;
    right: 0;
    margin: 0 auto;
}

@media only screen and (min-width: 120rem) {
    .theme-digital-magazine .hero-content h1 {
        font-size: 7.6rem;
    }
}

@media only screen and (max-width: 32.75rem) {

    .theme-digital-magazine .hero-content {
        padding: 0;
        width: auto !important;
        min-width: auto;
        bottom: 3rem !important;
    }

    .theme-digital-magazine .hero-content h1 {
        text-align: left;
        font-size: calc(3rem + 5.2vh);
    }

    .theme-digital-magazine .hero-content.textlocation-right h1 {
        text-align: right;
    }
}

/* Theme - Day of Giving */

.hero-row.theme-day-of-giving {
    height: calc(100vh - 62px);
    min-height: calc(28rem + 18vw);
}

.hero-row.is-site-homepage.theme-day-of-giving {
    padding-top: 0;
    background: #f2f2f2;
}

.theme-day-of-giving .hero-content {
    position: absolute;
    padding: 1rem;
    height: auto;
    width: 100%;
    min-width: 21rem;
    max-width: 58rem;
    top: auto;
    bottom: 4vh;
    left: 3vw;
    justify-content: center;
}

.theme-day-of-giving .hero-content.overrun {
    width: calc(20rem + 14vw);
}

.theme-day-of-giving .hero-content.textlocation-center {
    left: 0;
    right: 0;
    top:0;
    bottom:0;
    text-align: center;
    margin: auto auto;
}

/*.hero-row.is-site-homepage.theme-day-of-giving .hero-content:before {
    content: 'Feature';
    padding-left: 0;
    padding-bottom: 1vh;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: #98ceff;
}*/

.theme-day-of-giving .hero-content h1 {
    text-transform: none;
    font-weight: 700;
    font-size: 5rem;
    line-height: 0.9;
    letter-spacing: -0.02em;
    word-spacing: normal;
    color: #ffffff;
    padding-left: 0;
    margin-bottom: 0;
}

.theme-day-of-giving .hero-content.overrun h1 {
    font-size: calc(3rem + 1vw);
    line-height: 0.92;
}

.theme-day-of-giving .hero-content .rich-text {
    text-align: left;
    margin-top: calc(0.5rem + 2vh);
    color: #ffffff;
    padding: 0;
}

.theme-day-of-giving .hero-content.textlocation-center .rich-text{
    text-align:center;
}

.theme-day-of-giving .hero-content .rich-text * {
    /*font-size: calc(1.1rem + 0.1vw);*/
    font-size:1.4rem;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 1.5vh;
}

.hero-row.is-site-homepage.theme-day-of-giving .hero-content .rich-text > a {
    position: relative;
}

.hero-row.is-site-homepage.theme-day-of-giving .hero-content .rich-text > a,
.hero-row.is-site-homepage.theme-day-of-giving .hero-content .rich-text > a:hover,
.hero-row.is-site-homepage.theme-day-of-giving .hero-content .rich-text > a:active,
.hero-row.is-site-homepage.theme-day-of-giving .hero-content .rich-text > a:focus {
    text-decoration: none !important;
}

.hero-row.is-site-homepage.theme-day-of-giving .hero-content .rich-text > a:after {
    content: '';
    width: 100%;
    height: 2.5rem;
    border-bottom: 1px solid #ffffff;
    position: absolute;
    display: block;
    margin-left: 0;
    transition: all 0.14s ease;
    top: -0.6rem;
    left: 0rem;
    transition: all 0.17s ease;
}

.hero-row.is-site-homepage.theme-day-of-giving .hero-content .rich-text > a:hover:after {
    margin-left: 0;
    background: #ffffff30;
    left: -0.5rem;
    width: 16rem;
    border-bottom: 1px solid #ffffff;
}

.theme-day-of-giving .hero-content .button-wrapper {
    justify-content: center;
}

.theme-day-of-giving .hero-content .button-wrapper .button {
    flex-grow: 0;
    padding: 0.75rem 2rem;
    font-size: 1.2rem;
}

.theme-day-of-giving .hero-content.textcolor-white .button-wrapper .button:hover,
.theme-day-of-giving .hero-content.textcolor-white .button-wrapper .button:focus,
.theme-day-of-giving .hero-content.textcolor-white .button-wrapper .button:active {
    background-color: #2b6092;
}

.theme-day-of-giving .hero-content.textcolor-white .button-wrapper .button {
    border-color: white;
    background:rgba(0,0,0,0.3);
}

.theme-day-of-giving .hero-content .arrow {
    left: 4rem;
    bottom: -1rem;
}

.theme-day-of-giving .hero-content.textcolor-white h1,
.theme-day-of-giving .hero-content.textcolor-white .rich-text * {
    color: #ffffff;
}

.theme-day-of-giving .hero-content.textcolor-orange h1,
.theme-day-of-giving .hero-content.textcolor-orange .rich-text * {
    color: #fbb041;
}

.theme-day-of-giving .hero-content.textcolor-blue h1,
.theme-day-of-giving .hero-content.textcolor-blue .rich-text * {
    color: #01529B;
}

.theme-day-of-giving .hero-content.textlocation-left {
    left: 3.4vh;
}

.theme-day-of-giving .hero-content.textlocation-right {
    left: auto;
    right: 3.4vh;
}

.theme-day-of-giving .hero-content.textlocation-right h1,
.theme-day-of-giving .hero-content.textlocation-right .rich-text,
.theme-day-of-giving .hero-content.textlocation-right .rich-text * {
    text-align: right;
}

.theme-day-of-giving .hero-content.textlocation-right .arrow {
    left: auto;
    right: 2.6vw;
}

.theme-day-of-giving .hero-content.textlocation-center .arrow {
    left: 0;
    right: 0;
    margin: 0 auto;
}

/*@media only screen and (min-width: 120rem) {
    .theme-day-of-giving .hero-content h1 {
        font-size: 7.6rem;
    }
}*/

@media only screen and (max-width: 32.75rem) {

    .theme-day-of-giving .hero-content {
        padding: 0;
        width: auto !important;
        min-width: auto;
        bottom: 3rem !important;
    }

    .theme-day-of-giving .hero-content h1 {
        font-size: 4rem;
    }

    .theme-day-of-giving .hero-content.textlocation-right h1 {
        text-align: right;
    }
}