/**
* HEADER 
*/
header {
	min-height: calc(100vh - 70px);
	display: flex;
	background-size: cover;
	background-repeat: no-repeat;
	max-height: 900px;
	align-items: stretch;
    position: relative;
}

header.header-half {
	min-height: 60vh;
}
header.header-min {
	min-height: 30vh;
}

header .text-wrap {
	max-width: 50%;
	width: 100%;
	padding: calc(var(--gutter) * 2);
	display: flex;
	align-content: center;
	align-items: flex-start;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
}
.top-bar.no-nav + header:not(.payments) {
    min-height: 100vh;
}

header.single_order .text-wrap {
    margin-top: 4rem;
}

.home header .text-wrap {
    /* justify-content: stretch; */
}
header .image-wrap {
	max-width: 50%;
	width: 100%;
	display: flex;
	align-content: center;
	align-items: stretch;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
}
header .image-wrap.banner-img-full {
    max-width: 100%;
}
.banner-img-full a.button-primary, .banner-img-full a.button {
    --color-start: transparent;
    --color-end: var(--white);
}

.banner-img-full a.button-primary:before, .banner-img-full a.button:before {
    border-color: white;
}

.banner-img-full a.button-primary:hover, .banner-img-full a.button:hover {
    color: var(--off-black);
}
header h1 {
	margin-top: 0;
	width: 100%;
}
.home header h1 .yellow {
	display: block;
	margin-top: 1em;
}
header {
    overflow: hidden;
}

header.no-image.single_order {
    min-height: 18rem;
}
p.header-subtitle {
    margin-top: 1.5rem;
}

.header-single-context {
    margin-bottom: 1.5rem;
}


header > .flex-container {
    position: relative;
}
header > .flex-container:before,
header > .flex-container:after {
    content:'';
    background-size: cover;
    background-repeat: repeat-x;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}
header > .flex-container:before {
    background-image: url('../../img/flags/Flag-Circle-Blue.svg');
}
header > .flex-container:after {
    background-image: url('../../img/flags/Flag-Stripe-Green.svg');
}
header > .flex-container:before {
    background-position: right;
    left: calc( -100vw  + var(--gutter));
}
header > .flex-container:after {
    background-position: left;
    right: calc( -100vw  + var(--gutter));
}


/**
  * Give Header
  */
.header-give-box {
    padding: var(--gutter);
    margin: 0 4rem 2rem;
    width: 100%;
}

.header-give-box .appeal-contact {
	display: none;
}

.header-give-box .appeal-donation-amount-card-image {
	display: none;
}

.header-give-box .appeal-donation-amount-card-text p {
    display: none;
}

.header-give-box .donation-amounts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
}

.header-give-box .appeal-donation-amount-card {
	--color-start: var(--white);
	--color-end: var(--yellow);
	width: calc(33% - 1rem);
	margin-right: 1rem;
	display: flex;
	align-content: center;
	justify-content: center;
	align-items: center;
	padding: 0.25rem 1rem;
	font-size: var(--text-h5);
	transition: all 150ms ease;
	position: relative;
	background: linear-gradient(to right, var(--color-end) 50%, var(--color-start) 50%);
	background-size: 200% 100%;
	background-position: right bottom;
	background-repeat: no-repeat;
	margin-bottom: 0.5rem;
	margin-top: 0.5rem;
}

.header-give-box .appeal-donation-amount-card:last-child {
    width: calc(66% - 0.9rem);
}

.appeal-donation-amount-card-text h6 {
    margin-bottom: 0;
    font-size: var(--text-h5);
}

.header-give-box .appeal-legal > * {
    display: none;
}

.header-give-box .appeal-legal > p:nth-child(3) {
    display: block;
    font-size: var(--text-s2);
}

.header-give-box .appeal-donation-amount-card.active {
    --color-start: var(--off-black);
    --color-end: var(--purple);
    color: var(--white);
}

.header-give-box .appeal-donation-amount-card:hover {
    cursor: pointer;
	background-position: left bottom;
}

.header-give-box .appeal-donation-amount-card:after {
    border: solid 1px var(--off-black);
    content: '';
    width: calc(100% - 1rem);
    height: calc(100% + 0.25rem);
    position: absolute;
}

.appeal-donation-amount-card-text {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
}

header .appeal-donation-amount-card-text input.appeal-other-amount {
    max-width: 7rem;
    width: 100%;
    z-index: 0;
    position: relative;
    border: 0;
    background-color: transparent;
    padding-left: 0.5rem;
    text-align: right;
    font-family: var(--ff-rg-narrow);
    color: var(--off-black);
    height: var(--text-h5);
    padding-right: 0.5rem;
    appearance: none;
    -webkit-appearance: none;
    text-align: center;
}

.appeal-donation-payment-buttons {
    margin-top: -2.5rem;
    margin-bottom: 1.5rem;
}

.active .appeal-donation-amount-card-text input.appeal-other-amount {
    color: var(--white);
	z-index:999;
}

.appeal-donation-amount-card-text input.appeal-other-amount:focus {
    outline: 0;
}

.header-give-box .subheading {
    margin-bottom: 2rem;
}

.header-give-box .subheading select {
    margin-left: 1rem;
}

.appeal-donation-payment-buttons .button-primary, .appeals-frequency .button  {
    font-size: var(--text-h5);
    padding: 0.25rem 1rem;
    width: calc(33% - 0.9rem);
    display: block;
    margin-left: auto;
    margin-right: 1rem;
    text-align: center;
}

p.appeal-donation-intro.single-description {
    font-size: var(--text-s0);
    margin-bottom: 1.5rem;
    display: none;
}

.appeal-donation-amounts .appeals-frequency {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.appeals-frequency a.button {
    margin-right: 0;
    margin-left: 0;
    width: calc(50% - 1rem);
    margin-bottom: 1rem;
}

.appeals-frequency a.button.active {
    --color-start: var(--off-black);
    color: var(--white);
}

.appeals-frequency a.button:first-child {
    margin-right: 1rem;
}

.bwa-icon-wrap {
    max-width: 4rem;
}

.header-give .header-button-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 1rem;
}

.header-give .bwa-icon-wrap {
    margin-right: 2rem;
    padding-right: 2rem;
    border-right: 1px solid var(--off-black);
margin-top: 1.5rem;}


.header-give .image-wrap {
    display: flex;
    align-items: flex-end;
    align-content: flex-end;
    justify-content: center;
}


.fund-selector h6 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    margin-right: 1.5rem;
}


.header-give-box .heading-wrap h5, .appeal-quick-donate h6 {
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--off-black);
}

.appeal-donation-amount-card.hide {
    display: none !important;
}

.header-give .text-wrap {
    justify-content: space-between;
    flex-direction: column;
}

.header-give .text-wrap > * {
    width: 100%;
}

.header-give .text-wrap .header-subtitle {
    margin-top: auto;
}

.header-give .text-wrap .title {
    margin-top: auto;
    margin-bottom: 7rem;
}

header .image-credit {
    width: 100%;
    position:absolute;
    bottom: 0.1rem;
    right: 0;
    text-align: right;
    margin-right: calc( (100vw - var(--max-width)) / 2);
    color: var(--white);
    padding-right: calc(var(--gutter) * 1.2);
}
header .image-credit a {
    max-width: var(--max-width);
    display: block;
    text-align: right;
    margin: 0 auto;
    padding: 0 calc(var(--gutter) * 2);
    color: var(--white);
    text-decoration: none;
    font-size: var(--text-s1);
}



@media screen and (min-width: 1400px ) {
    header > .flex-container:before {
        left: calc( var(--max-width) * -1 + var(--gutter));
    }
    header > .flex-container:after {
        right: calc( var(--max-width) * -1 + var(--gutter));
    }
}

.header-button-wrap .button-primary {
    position: relative;
    z-index: 0;
    margin-right: 1rem;
    display: inline-block;
    margin-top: 1.5rem;
}

header.campaign {}

.woocommerce {}

.expandable-title .button {
    --color-start: transparent;
}

section.page.splash-page > .container {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    align-content: center;
    justify-content: center;
    flex-direction: column;
}

section.page.splash-page {
    /* min-height: 100vh; */
}

.splash-page > .flex-container {
    min-height: 100vh;
    flex-direction: column;
    padding: 0 calc(var(--gutter) * 2 );
    align-content: center;
    justify-content: center;
}

header.splash-page {
    max-height: 100vh;
    color: var(--white);
}

.splash-button-wrap {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.splash-page .title .yellow {
    display: block;
}

.splash-page .back-home a {
    color: var(--white);
}

.splash-button-wrap .button-primary {
    margin-right: 1rem;
    --color-start: var(--purple);
    --el-color: var(--white);
    --color-end: var(--blue);
}

.close-splash {
    padding: var(--gutter);
}

.close-splash a {
    color: var(--white);
    text-decoration: none;
    border: 1px solid var(--white);
    padding: 0.5rem 1rem;
    transition: all 150ms ease;
}

.close-splash a:hover {
    background-color: var(--blue-light);
    color: var(--off-black);
    border-color: var(--off-black);
}

header .recurring-description {
    display: none;
}

header .appeal-quick-donate h6 {
    font-size: var(--text-h5);
}

.appeal-quick-donate .appeals-frequency {
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 1rem;
    gap: 1rem;
}

.appeal-quick-donate .appeals-frequency.single-only {
    display: none;
}

.appeal-quick-donate:not(.handles) .donation-amounts .button {
    flex: 1 0 calc(50% - 1rem);
    text-align: center;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.appeal-quick-donate .donation-amounts .button.active:not(.button-pill) {
    --color-start: var(--off-black);
    --color-end: var(--purple);
    color: var(--white);
}

.appeal-quick-donate .donation-amounts {
    gap: 2rem 1rem;
    margin-bottom: 2rem;
}

.sidebar-widget .appeal-quick-donate.inline p {font-size: var(--text-s0);width: 100%;margin-top: 1rem;}

.appeal-quick-donate .appeals-frequency a.button:first-child {
    margin-right: 0;
}

.appeal-quick-donate .appeals-frequency a.button {
    flex: 1 0;
}

.button.appeal-quick-other-amount input {
    position: relative;
    z-index: 2;
    border: 0;
    max-width: 90px;
}

.button.appeal-quick-other-amount {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    flex: 1 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-evenly;
}

.appeal-quick-donate .appeal-donation-payment-buttons {
    margin-top: 0rem;
    text-align: center;
    margin-bottom: 0;
    /*min-width: 6.7rem;max-width: 6.7rem;border: solid 1px var(--off-black);border-left: 0;*/
}

.appeal-quick-donate .appeal-donation-payment-buttons .button-primary {
    display: inline-block;
    margin-bottom: 1rem;
    width: 50%;
    margin-right: 0;
}

.appeal-quick-donate .appeal-donation-payment-buttons p {
    font-size: var(--text-s0);
    opacity: 0.7;
    margin-bottom: 0;
}

header h1 span:not(.yellow) {
    display: inline-block;
}

span#cycleText {
    display: block;
}


.appeal-donation-amount-card-text input.appeal-other-amount::-webkit-inner-spin-button {
    margin-left: 0.5rem;
    display: none;
}



span#cycleText span {
    border-right: 5px solid var(--off-black);
    animation: caret 1s steps(1) infinite;
    display: inline;
    margin-left: 0.5rem;
}
  
@keyframes caret {
    50% {
      border-color: transparent;
    }
}

.home header .title.long-title {
    width: 100%;
    min-height: 600px;
}

header h1 span#sponsorLogo {
    color: transparent;
    background-image: url('../../logos/It-Takes-A-Child-to-Raise-a-Village-Logo-v2.svg');
    background-position: left center;
    background-size: contain;
    background-repeat: no-repeat;
    font-size: var(--text-h1);
    display: block;
}

.single .long-title h1, .blog .long-title h1 {
    font-size: var(--text-h2);
}

/**
  * Sponsorship
  */

header.banner-sponsorship > .flex-container {
    background-image: url('../../img/flags/CS-Flecks.png');
    background-size: 40%;
    background-repeat: repeat-x;
    background-position: left center;
    align-items: center;
}

.christmas-theme header.banner-sponsorship > .flex-container {
    background-image: url('../../img/flags/Christmas-CS-Flecks-alt.png');
}
header.banner-sponsorship > .flex-container > .text-wrap {
    background-color: transparent;
    padding-left: 0;
}
header.banner-sponsorship h1 .yellow {
    color: var(--purple);
}
header.banner-sponsorship {
    background-image: url('../../img/flags/BWAA-CS-FlagStrip.svg');
    background-size: 1.5rem;
    background-repeat: no-repeat;
    background-position: top left;
    /* padding-left: var(--gutter); */
}

.christmas-theme header.banner-sponsorship:not(.sponsor-me) {
    background-image: url('../../img/flags/Christmas-BWAA-CS-FlagStrip.png');
    background-size: auto 100%;
}
header.banner-sponsorship > .flex-container:before {
    background-image: none;
    content: unset;
}
header.banner-sponsorship .image-wrap, .sponsor-me-wrapper .image-wrap {
    position: relative;
    z-index: 3;
    height: 100%;
}
header.banner-sponsorship .image-wrap:after {
    content:'';
    border: solid 3px var(--off-black);
    position: absolute;
    right: 0;
    width: calc( 5.5 / 6 * 100% );
    height: calc(100% - 10vh - 4rem);
    bottom: 4rem;
}
header.banner-sponsorship > .flex-container:after {
    background-image: none;
    width: calc( 4 / 12 * 100%);
    right: -4vw;
    z-index: 2;
}

header.banner-sponsorship.sponsor-me > .flex-container:after {
    margin-top: 2rem;
    transition: all 150ms ease-in-out;
}

header.banner-sponsorship.sponsor-me.hide-block > .flex-container:after {
    background-color: transparent;
}
.has-block-purple >  .flex-container:after { background-color: var(--purple); }
.has-block-black > .flex-container:after { background-color: var(--black);}
.has-block-white > .flex-container:after { background-color: var(--white);}
.has-block-blue > .flex-container:after { background-color: var(--blue);}
.has-block-blue-light > .flex-container:after { background-color: var(--blue-light);}
.has-block-green > .flex-container:after { background-color: var(--green);}
.has-block-lime > .flex-container:after { background-color: var(--lime);}
.has-block-orange > .flex-container:after { background-color: var(--orange);}
.has-block-orange-light > .flex-container:after { background-color: var(--orange-light);}
.has-block-pink > .flex-container:after { background-color: var(--pink);}
.has-block-purple > .flex-container:after { background-color: var(--purple);}
.has-block-red > .flex-container:after { background-color: var(--red);}

img.hero-sponsorship {
    position: absolute;
    z-index: 4;
    bottom: 0;
    transform: translate(5vw, 0px);
	max-height: calc( 100vh - 70px - 1rem);
}
header.banner-sponsorship .header-button-wrap {
    width: 100%;    
    margin-top: 0rem;
}
header.banner-sponsorship .header-button-wrap .button-primary {
    --color-start: var(--yellow);
    --color-end: var(--green-light);
    min-width: 66%;
    text-align: center;
}
header.banner-sponsorship .header-button-wrap .button-primary:before {
    border-width: 3px;
    top: -8px;
    left: 7px;
}