/*
 Theme Name:   ReliefAid 2024
 Theme URI:    https://reliefaid.org.nz
 Description:  ReliefAid 2024 theme
 Author:       Dane Mitchell
 Author URI:   https://onoff.co.nz
 Template:     generatepress
 Version:      0.1
*/

/* Set the main content area to a minimum of 65vh */
#main {
	min-height: 65vh;
}
/* 
body {
	background-color: var(--background);
} */

/* Site Wrapper to set overall site max width */
.site-wrapper {
	width: 100% !important;
	/* background-color: var(--white);
}

body {
	background-color: var(--background); */
}

.header-wrap {
	z-index: 100;
}


/* HELPER CLASSES */

/* Font Selector */
.serif {
	font-family: var(--gp-font--roboto-slab);
}

/* Standard Shadow(s) */

.shadow-standard {
	box-shadow: 0px 5px 16px -5px rgba(33, 33, 33, 0.2);
	transition: all .2s ease-in;
}

.shadow-standard:hover {
	box-shadow: 0px 8px 32px 0px rgba(33, 33, 33, 0.1);
}

/* Max Width(s) */

.max-width-1024 {
	max-width: 1024px;
}

.max-width-768 {
	max-width: 768px;
}

.max-width-640 {
	max-width: 640px;
}

.max-width-480 {
	max-width: 480px;
}

/* Margin Auto */

.margin-auto {
	margin-left: auto;
	margin-right: auto;
}

/* Position Properties */

.relative {
	position: relative;
}

.absolute {
	position:absolute;
	top: 0px;
	left: 0px;
}

.sticky {
	position: sticky;
	top: 24px;
}

/* Image Aspect Ratios */

.aspect-1-1 img{
    aspect-ratio: 1/1;
	object-fit: cover;
}

.aspect-3-2 img{
    aspect-ratio: 3/2;
	object-fit: cover;
}

.aspect-2-3 img{
    aspect-ratio: 2/3;
	object-fit: cover;
}

.aspect-4-3 img{
    aspect-ratio: 4/3;
	object-fit: cover;
}

.aspect-3-4 img{
    aspect-ratio: 3/4;
	object-fit: cover;
}

.aspect-16-9 img{
    aspect-ratio: 16/9;
	object-fit: cover;
}

.aspect-9-16 img{
    aspect-ratio: 9/16;
	object-fit: cover;
}

/* Text prettifiers */

.text-balance {
	text-wrap: balance;
}

.text-pretty {
	text-wrap: pretty;
}

/* Blockquote */

blockquote {
	border: none;
	padding: 40px 7% 40px 7%;
	position: relative;
}

blockquote p {
	font-family: var(--gp-font--roboto-slab);
	font-size: 1.6rem;
	text-align: center;
	font-weight: 400;
}

blockquote p:before {
	content: "“";
	font-family: georgia, serif;
	position: relative;
	font-size: 50px;
	line-height: 0.41em;
	left: 0px;
	top: 12px;
	color: var(--reliefaid-primary-d20);
}

blockquote p:after {
	content: "”";
	font-family: georgia, serif;
	position: relative;
	font-size: 50px;
	line-height: 0.41em;
	left: 0px;
	top: 12px;
	color: var(--reliefaid-primary-d20);
}

blockquote cite {
	text-transform: uppercase;
	font-size: .8rem;
	font-style: normal;
	font-weight: 700;
	color: var(--reliefaid-primary-d20) !important;
	letter-spacing: 0.05rem;
	position: relative;
}

blockquote cite:before {
	content: "";
	position: absolute;
	top: -22px;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	border-top: 1px solid var(--reliefaid-grey);
}

.wp-block-pullquote {
	padding: 0 !important;
}

/*
body
.give-submit,
.givewp-donation-form-link,
.givewp-donation-form-modal__open,
.givewp-donation-form__steps-button-next,
.givewp-donation-form__steps-body {

}
*/

:root {
    --give-primary-color: #B60008;
    --give-primary-hover-color: #920006;
}


body button.givewp-donation-form-link,
body button.givewp-donation-form-modal__open {
	border-radius: 8px !important;
	background-image: linear-gradient(165deg,rgba(255,255,255,0.1) 30%,rgba(0,0,0,0.30)) !important;
	font-family: var(--gp-font--noto-sans) !important;
	font-weight: 600 !important;
	font-size: 1rem !important;
	letter-spacing: 0.05rem !important;
	border: 2px solid var(--reliefaid-primary-d20) !important;
	padding: 7px 14px !important;
	max-width: 200px;
	margin: 0 auto !important;
	box-shadow: 0 3px 10px 2px rgba(0, 0, 0, 0.2);
	}

body .givewp-donation-form {
	--givewp-button-padding: 7px 14px !important;
}

body button.givewp-donation-form-modal__open > span span {
    padding: 7px 14px !important;
}

@media (max-width: 480px) {
            body button.givewp-donation-form-link,
			body button.givewp-donation-form-modal__open {
				font-size: 0.85rem !important;
				letter-spacing: 0.025rem !important;
				padding: 7px 12px; !important;
				}
        }

/* Shift underline links */
a {
	text-decoration-thickness: 1px !important;
    text-underline-offset: 0.2em !important;
}
a:hover {
	text-decoration: underline;
}

/* G Form */
.gform-theme--framework .gfield_consent_description:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
	border: none !important;
	max-height: var(--gf-ctrl-desc-max-height-consent);
	outline-color: unset !important;
	outline-offset: unset !important;
	outline-style: none !important;
	outline-width: 0 !important;
	overflow-y: auto;
	padding: 0 !important;
	transition: none !important;
}

/* GiveWP edits */
.give-campaigns-component-campaign-title,
.give-campaigns-component-campaign-description {
	text-align:center;
	padding: 20px 20px 0 20px !important;
}

