/*
Theme Name: Meredith College
Theme URI: https://liaisonedu.com
Author: Liaison International / Tom Bartling
Author URI: https://liaisonedu.com
Description: Meredith College landing pages.
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 7.0
Version: 1.1
License:
License URI:
Text Domain: meredith
Tags:
*/

/* -------------- DEFAULTS & GENERAL 	-------------- */
:root {
	--font-primary: Roboto, sans-serif;
	--font-headings: "Open Sans","Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;

	--color-default_text: #333333;
	--color-white: #FFFFFF;
	/* FROM THEIR SITE
	--color-maroon: #82003d;
	--color-dark_maroon: #540023;
	--color-dark_blue: #13216A;
	*/

	/* FROM THEIR BRAND GUIDELINES */
	--color-maroon: #7e223b;  /* text, headings, foreground color */
	--color-dark_maroon: #6a1d32;  /* background color */
	--color-orange: #FF585D;
	--color-yellow: #FED141;
	--color-dark_blue: #012169;
	--color-light_blue: #2dccd3;
	--color-light_green: #a4d65e;

	--color-light_gray: #F4F4F4;


    /*      UPDATE THIS  */
    --btn-color-background: var(--color-orange);
    --btn-color-text: #ffffff;

	--hero-gradient: linear-gradient(90deg, #00000022 0 100%);
}

/* HTML element classes */

BODY, HTML {
	width: 100%;
	font-size: 16px;
	font-family: var(--font-primary);
	color: #000000;
	padding: 0;
	margin: 0;
	min-width: 390px;
}

IMG, IFRAME {
	max-width: 100%;
}

FORM, INPUT, TEXTAREA, SELECT, OPTION {
	width: 100%; 
	max-width: 100%;
	/* line-height: 200%; */
}

INPUT:not([type='submit']), SELECT, OPTION {
	height: 2.0rem;
}

INPUT[type='submit'] {
	width: auto;
}


/* width: 80%; causes admin form to not display */
.wp-admin FORM {  
	width: initial;
}

/* used with js function goToForm() to scroll to 1st input... selector needs to match js */
INPUT[type='text'] {
	scroll-margin-top: 60px;
}
  


/* overwriting bootstrap */
	B, STRONG {
		font-weight: 700;;
	}

	/* not importing bootstrap typography just for this */
	.text-left {
		text-align: left;
	}
	.text-center {
		text-align: center;
	}
	.text-right {
		text-align: right;
	}


A,
A:link,
A:active,
A:visited,
A:hover {
	font-weight: 700;
	/* color: var(--color-primary); */
}

A.cta-btn, 
A.cta-btn:link, 
A.cta-btn:active, 
A.cta-btn:visited, 
A.cta-btn:hover, 
.cta-btn, 
INPUT[type="submit"],
BUTTON {
    background-color: var(--btn-color-background);
    color: var(--btn-color-text); 
    cursor: pointer;
	display: inline-block;
	padding: 0.5rem 1.0rem;
	font-size: 1.1rem;
	font-weight: 400;
	text-decoration: none;
	border: solid var(--btn-color-background) 1px;

	/* transition: color, 0.25s ease-out, border-color 0.2s ease-out; */
}



INPUT[type="submit"]:hover,
A.cta-btn:hover, 
.cta-btn:hover, 
BUTTON:hover {
    color: var(--color-yellow);
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	color: var(--color-maroon);
	
	display: block;
	font-family: var(--font-headings);
	font-size: 2.75rem;
	/* 
    text-transform: uppercase;
	letter-spacing: .8px;
	line-height: 1.1rem; 
	*/
	margin: 0 0 0.75rem 0;
}

.h1, H1 {    font-size: 2.75rem;  }
.h2, H2 {    font-size: 2.0rem;  }
.h3, H3 {    font-size: 1.75rem;  }
.h4, H4 {    font-size: 1.50rem;  }


/* generic classes */
.bg-default_text { 
	background-color: var(--color-default_text); 
	color: #000000; 
}

.bg-white { 
	background-color: var(--color-white); 
	color: #000000; 
}

.bg-maroon { 
	background-color: var(--color-maroon); 
	color: #000000; 
}

.bg-orange { 
	background-color: var(--color-orange); 
	color: #000000; 
}

.bg-yellow { 
	background-color: var(--color-yellow); 
	color: #000000; 
}

.bg-dark_blue { 
	background-color: var(--color-dark_blue); 
	color: #000000; 
}

.bg-light_gray { 
	background-color: var(--color-light_gray); 
	color: #000000; 
}

.bg_tile {
	background-color: #540023;
	background-image: url(images/bg-mc-tiled.png);
}

.copy-highlight {
	font-weight: 700;
	color: var(--color-maroon);
}

.next-step-highlight {
	font-weight: 700;
	font-size: 1.2rem;
}

/*
.hero-intro-photo IMG,
.program-benefits-row IMG,
.foundation-row IMG {
	border-radius: 8px;
}
*/


/* --------------------------------------------------------- */
/* --------- Header row    */
.header-page-row {
	/* border-bottom: solid var(--color-gold) 2px; */
}

.header-row {
	color: #ffffff;
	background-color: transparent;
	/* 
		background-image: linear-gradient(180deg, var( --color-maroon ) 0%, var( --color-dark_maroon ) 100%);
	*/
	background-image: linear-gradient(180deg, #82003D 0%, #540023 100%);
}

.header-left,
.header-center,
.header-right {
	padding: 6px 0;
}

.header-left {
	text-align: center;
}

.header-left IMG {
	max-width: 300px;
	width: 100%;
}

.header-center {
	text-align: center;
	font-weight: 600;
	font-size: 1.0rem;
	letter-spacing: 4px;
}

.header-right {
	text-align: right;
	font-weight: 700;
	font-size: 1.0rem;
	letter-spacing: 1px;
}

.header-br {
	display: inline;
}

/* --------------------------------------------------------- */
/* --------- Hero row     */
/*
.hero-row, 
.hero-row-brand {
	background-image: url(ADD_URL_HERE);
	background-size: cover;
	background-position: top left;	
}
*/

.hero-row-container {
    text-shadow: 1px 2px 1px #000000;
	min-height: 250px;
	line-height: 1.0;
}

.hero-title,
.hero-subtitle {
	color: #ffffff;
	font-size: 4.0rem;
	font-weight: 700;
}

.hero-title {
	text-transform: uppercase;
}

.hero-subtitle {
	color: var(--color-yellow);
	font-size: 2.0rem;
	margin: 10px 0 0 0;
	display: block;
}

.hero-stem-row .hero-title {
	font-size: 3.5rem;
}

.hero-psychology-row .hero-title {
	font-size: 2.9rem;
}

.hero-communications-row .hero-title {
	font-size: 2.5rem;
}

.hero-health-row .hero-title {
	font-size: 3.0rem;
}


.hero-thank-you-row,
.hero-stem-row,
.hero-psychology-row,
.hero-communications-row,
.hero-health-row,
.hero-brand-row {
	background-image: var(--hero-gradient), url(images/hero-brand.jpg);
	background-size: cover, cover;
	background-position: top center,top center;
}

.hero-stem-row {
	background-image: var(--hero-gradient), url(images/hero-stem.jpg);
}

.hero-psychology-row {
	background-image: var(--hero-gradient), url(images/hero-psychology.jpg);
}

.hero-communications-row {
	background-image: var(--hero-gradient), url(images/hero-communications.jpg);
}

.hero-health-row {
	background-image: var(--hero-gradient), url(images/hero-health.jpg);
	background-size: cover, cover;
	background-position: top center, top 100px;
}

.hero-thank-you-row {
	background-image: var(--hero-gradient), url(images/hero-thank-you.jpg);
}

.hero-intro-photo {
	padding: 20px 0;
}

.hero-intro-photo IMG {
	/* border-radius: 8px; DEFINED ABOVE */
	max-width: 80%;
	margin: 0 auto;
	display: block;
}


/* --- Hero row - Thank You page     */
.hero-thank-you-row LI {
	margin-bottom: 1.4rem;
}

.hero-thank-you-row A, 
.hero-thank-you-row A:link, 
.hero-thank-you-row A:active, 
.hero-thank-you-row A:visited, 
.hero-thank-you-row A:hover {
	color: #ffffff;
	text-decoration: underline;
}


/* --------------------------------------------------------- */
/* --------- MOBILE FORM     */
.form_container_outer {
	background-color: transparent;
	bottom: -10px;
	width: 100%;	
	padding: 0;

	position: fixed;
	top: calc(100vh - 4lh);
	filter: drop-shadow(0 -20px 4px #ffffffaa);

}

#form_container {
	background-color: #ffffff;
	/*
	position: fixed;
	bottom: -10px;
	left: 5%;
	right: 5%;
	width: 90%;
	*/
  
	border: solid var(--color-dark_maroon) 1px;
	padding: 1.0rem 0.6rem;
	border-radius: 8px;
	width: 100%;
	margin: 0;
}

#form_container H2 {
	margin: 0 0 10px 0;
	font-size: 1.9rem;
}

.form_container_outer #form_container {
	width: 94%;
}

.chevron-up {
	transform: rotate(0.5turn);
}


/* --------------------------------------------------------- */
/* --------- Primary row     */
/*
.primary-row  {
	
}
*/

/* --------------------------------------------------------- */
/* --------- Fast Facts row     */
.fast-facts-row {
	font-size: 1.0rem;
}

.icon-text-container, 
.icon IMG {
	max-width: 90%;
	margin: 0 auto 0 auto;
	height: 110px;
}

.icon-text {
	font-size: 4.0rem;
	line-height: 120%;
	padding: 0;
}


.fact-container {
	/* margin: 15px; */
	padding: 15px;
	height: 100%;
	color: #000000;
	background-color: #ffffff;
	border-radius: 24px;
	padding: 1.0rem;
}

.fact-number {
	font-size: 2.50rem;
	font-weight: 700;
	color: var(--color-maroon);
}

.fact-text {
	font-size: 1.1rem;
	margin: 10px;
}


/* --------------------------------------------------------- */
/* --------- Foundation row     */
.foundation-row {
	font-weight: 400;
	border-bottom: solid var(--color-orange) 7px;
}

.foundation-row H2 {
	font-size: 1.95rem;
}


/* testimonial */
/*
.testimonial-container {
    background-image: radial-gradient(circle at center,rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 0.5)),
        radial-gradient(circle at center,rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 0.5)
    );
    background-color: rgb(0, 0, 0, 0); 
    background-size: cover, cover;
    background-position: center center, top center;
    background-repeat: no-repeat, no-repeat;
    min-height: 600px;
    padding-bottom: 20px;
}

.testimonial-container-PERSON_NAME {
    background-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), url(images/testimonials/PHOTO_FILENAME);
}
*/
.testimonial-quote {
	font-size: 1.3rem;
	padding: 2.0rem;
}
.testimonial-quote::before {
	content: '\201C';
}
.testimonial-quote::after {
	content: '\201D';
}

.testimonial-attribution {
	font-weight: 700;
	padding: 1.25rem;
}


/* --------------------------------------------------------- */
/* --------- Photo row     */
/*
.photo-row {
	background-image: url(URL_GOES_HERE);
	background-repeat: no-repeat;
	background-position: bottom center;
	background-size: cover;
}
*/

.photo-row IMG {
	max-width: 100%;
	width: 100%;
}



/* --------------------------------------------------------- */
/* --------- Next Step row     */
.next-step-row {
	background-color: #540023;
	background-image: url(images/bg-mc-tiled.png);
	background-size: 60% auto;
	color: #ffffff;
}


.next-step-row H2,
.next-step-row H3,
.next-step-row H4 {
	color: #ffffff;
	margin: 10px 0 20px 0;
}

.next-step-thank-you-row {
	font-size: 1.2rem;
}

/* --------------------------------------------------------- */
/* --------- Footer row     */
.footer-row {
	padding: 10px 0;
	min-height: 200px;
	background-color: transparent;
	/* 
		background-image: linear-gradient(180deg, var(--color-dark_maroon) 0%, var(--color-maroon) 100%);
		background-image: linear-gradient(180deg, var(--e-global-color-eb267e5) 0%, var(--e-global-color-2a17dfc) 100%);
	*/
	background-image: linear-gradient(180deg, #540023 0%, #82003D 100%);
	color: #ffffff;
	border-top: solid var(--color-yellow) 7px;
}

.footer-address {
	font-size: 0.9rem;
	font-weight: 300;
	line-height: 150%;
}

.footer-logo {
	max-width: 300px;
	width: 100%;
}

.footer-tagline {
	font-weight: 700;
}

.footer-row A:not(.cta-btn),
.footer-row A:not(.cta-btn):link,
.footer-row A:not(.cta-btn):active,
.footer-row A:not(.cta-btn):visited,
.footer-row A:not(.cta-btn):hover {
	color: #FFFFFF;
	text-decoration: none;
}

.footer-left, 
.footer-right {
	text-align: center;
}

.best-colleges-primary, 
.best-colleges-secondary, 
.best-colleges-tertiary {
	text-transform: uppercase;
	color: #ffffff;
	line-height: 1em;
	font-size: 2.6rem;
}

.best-colleges-primary,
.best-colleges-secondary {
	font-family: "Open Sans", sans-serif;
	font-weight: 800;
	text-rendering: optimizelegibility;
	font-style: normal;
}

.best-colleges-secondary {
	color: var(--color-yellow);
}

.best-colleges-tertiary {
	font-style: italic;
	font-size: 1.4rem;
	font-family: Roboto, sans-serif;
	font-weight: 300;
	text-size-adjust: 100%;
	line-height: 1.75rem;
	display: inline-block;
	width: fit-content();
	text-align: left;
}


/* --- GRAVITY FORMS OVERRIDES ARE IN footer-scripts-row.php BECAUSE style.css CAN LOAD BEFORE GRAVITY FORMS ON SOME SITES --- */
.gfield {
	margin: 0 0 15px 0;
}

.gfield_required_text {
	margin: 0 0 0 10px;
	color: #ffffff;
	font-size: 0.8rem;
}

.ginput_container_checkbox LABEL {
	display: inline;
	margin: 0 0 0 6px;
	font-size: 0.9rem;
}

.gfield--type-honeypot,
.gfield_visibility_hidden {
	display: none;
} 


/* hiding the street address main label */
.gfield_label_before_complex {
	display: none;
}

.ginput_address_line_1,
.ginput_zip_code {
	display: block;
	margin-bottom: 15px;
}

/*--  Fix styles for WARNINGS for pages with a dark background */
.gform-theme--framework .gform_validation_errors, 
.gform-theme--framework .gform_validation_errors .gform-icon, 
.gform-theme--framework .gfield_validation_message,
.gform-theme--framework .gfield_description,
.gform-theme--framework .gform_validation_errors .gform_submission_error {
	background-color: #ffffff;
	padding: 4px 12px;
	border: solid #000000 1px;
	display: inline-block;
	margin-top: 0;
}

.gform-theme--framework .gform_validation_errors .gform-icon {
  padding: 0;
}


.gform-theme--framework .gform_validation_errors .gform_submission_error {
	display: flex;
}


:modal,
.text-optin-policy-modal {
	width: 600px;
	max-width: 90%;
	display: inline-block;
}

.modal-header {
	border-bottom: solid #cccccc 1px;
	padding-bottom: 4px;
	margin-bottom: 10px;
}

dialog:-internal-dialog-in-top-layer::backdrop,
dialog::backdrop {
  background-color: #00000066;
}

.modal-close-x {
	padding: 3px 6px;
	border: solid #bbbbbb 1px;
	text-transform: lowercase;
}



/* --------------------------------------------------------- */
/* --------- RESPONSIVE 				 */

@media screen and (min-width: 576px) {
	.header-left {
		text-align: left;
	}

	.header-right {
		text-align: right;
	}
	
	.form_container_outer {
		width: 94vh;
	}


}


@media screen and (min-width: 768px) {
	.header-center {
		font-size: 1.25rem;
	}
	.header-right {
		font-size: 1.0rem;
	}

	.form_container_outer {
		bottom: initial;
		position: initial;
		top: initial;
		width: initial;
	}

	#form_container {
		background-color: #ffffff;
		border: solid var(--color-dark_maroon) 1px;
		padding: 1.0rem;
		border-radius: 8px;
		width: 100%;
		margin: 0;
	}

	#form_chevron {
		display: none;
	}

	.fast-facts-row {
		font-size: 0.9rem;
	}

	.icon {
		max-width: 100%;
	}


	.footer-left {
		text-align: center;
	}
	
	.footer-right {
		text-align: right;
	}
	
}


@media screen and (min-width: 993px) {
	.hero-row-container {
		min-height: 400px;
	}

	.hero-communications-row .hero-title,
	.hero-psychology-row .hero-title {
		font-size: 3.5rem;
	}
}

@media screen and (min-width: 1200px) {
	.header-br {
		display: none;
	}
}


@media screen and (min-width: 1400px) {

}

