/**
 * Theme Name:     BlankSlate Child
 * Author:         TidyThemes
 * Template:       blankslate
 * Text Domain:	   blankslate-child
 * Description:    Donations: https://calmestghost.com/donate. BlankSlate is the definitive WordPress boilerplate starter theme. We\&#039;ve carefully constructed the most clean and minimalist theme possible for designers and developers to use as a base to build websites for clients or to build completely custom themes from scratch. Clean, simple, unstyled, semi-minified, unformatted, and valid code, SEO-friendly, jQuery-enabled, no programmer comments, standardized and as white label as possible, and most importantly, the CSS is reset for cross-browser-compatability and no intrusive visual CSS styles have been added whatsoever. A perfect skeleton theme. For support and suggestions, go to: https://github.com/tidythemes/blankslate/issues. Thank you.
 */
 
 
 
/*************************************
SITE FONTS
**************************************/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


/*************************************
CSS RESET
**************************************/


*, ::before, ::after { box-sizing: border-box; }

html {
    line-height: normal;
}

body { margin: 0; }

[hidden] { display: none; }

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.17rem; }
h4 { font-size: 1.00rem; }
h5 { font-size: 0.83rem; }
h6 { font-size: 0.67rem; }

pre { white-space: pre-wrap; }

hr {
  border-style: solid;
  border-width: 1px 0 0;
  color: inherit;
  height: 0;
  overflow: visible;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  /* vertical-align: middle; */
  max-width: 100%;
}
audio:not([controls]) { display:none; }

picture { display: contents; }
source { display: none; }

img, svg, video, canvas {
  height: auto;
}

audio { width: 100%; }

img { border-style: none; }

svg { overflow: hidden; }

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}

[type='checkbox'],
[type='radio'] {
  box-sizing: border-box;
  padding: 0;
}



/***************************************************************************
****************************************************************************
**
** SITE STYLING
**
****************************************************************************
****************************************************************************/

html {
    font-size: 10px;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(0deg, #F1F1E9 0%, #EFDBC0 52.08%, #A67963 100%);
    height: 100%;
}

body {
	position: relative;
    height: 100%;
    background-color: #EDECE7;
    background: linear-gradient(180deg, #F1F1E9 0%, #EDECE7 calc(100% - 38.2rem));

    width: 100%;
    max-width: 60rem;
    margin: 0 auto;
    box-shadow: 0.4rem 0.4rem 1rem rgba(0, 0, 0, 0.15);
}

html, body {
	min-height: 100%;
    height: fit-content;
}

#logo-for-hospital {
	height: 100%;
    max-height: 6rem;
    /*max-width: calc(100% - 11.7em);*/
    max-width: 24.4rem;
    width: 100%;
    display: flex;
    align-items: center;
    align-self: flex-start;
}

#homepage-background-image {
	position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
}

#radial-overlay {
	position: absolute;
    width: 100%;
    height: 25.6rem;
    left: 0;
    bottom: calc(0% + 49.5rem);
    background: radial-gradient(50% 50% at 50% 50%, #FFFFF7 0%, rgba(255, 255, 245, 0) 100%);
    transform: translateY(50%);
}

#wrapper {
	padding: 2rem;
    z-index: 1;
    position: relative;
}

#donor-bar {
    display: flex;
    padding-left: 20px;
    margin-bottom: 20px;
}

header .program-title {
    font-size: 1.6rem;
    margin-bottom: 1.4rem;
}

header#header {
	display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.9rem;
    margin-left: 2rem;
}

.login-link,
.login-link:visited {
	background: rgba(211, 207, 198, 0.25);
	border: 1px solid rgba(66, 42, 30, 0.25);
	border-radius: 3px;
    padding: 1.0rem 1.4rem;
    color: #000000;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
}

.login-link:hover,
.login-link:active {
	border: 1px solid rgba(66, 42, 30, 0.5);
    background: rgba(211, 207, 198, 0.5);
}

article.page .entry-content {
	margin-top: 2.3rem;
}

article.page .entry-content h2 {
	font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

h1.entry-title {
	font-size: 3.4rem;
    font-weight: 700;
}

#container {
	padding: 0 2rem;
}

#footer {
	padding: 2.6rem 2rem 32rem 2rem;
}

.item-links-container {
	display: flex;
    gap: 2rem;
    margin-bottom: 1.7rem;
    flex-wrap: wrap;
}

a.item-links.home,
a.item-links.home:visited {
	display: flex;
    flex-direction: column;
    justify-content: space-between;
	width: 14.6rem;
	height: 15.3rem;
	background: rgba(211, 207, 198, 0.25);
	border: 1px solid rgba(66, 42, 30, 0.25);
	border-radius: 0.4rem;
    text-decoration: none;
    color: #000000;
    font-weight: 700;
    font-size: 1.6rem;
}

@media screen and (max-width: 374px) {

    a.item-links.home,
    a.item-links.home:visited {
        width: 12rem;
        height: 12.6rem;
        font-size: 1.4rem;
    }


    
}

a.item-links.home:hover,
a.item-links.home:active {
	border: 1px solid rgba(66, 42, 30, 0.5);
    background: rgba(211, 207, 198, 0.5);
}

a.item-links.home .item-title {
	height: 100%;
    display: flex;
    align-items: center;
    padding: 0 1.3rem 0 1rem;
}

a.back-link {
    font-size: 1.4rem;
    font-weight: 500;
    color: #42C0C0;
    padding-left: 1.6rem;
    position: relative;
}

a.back-link::before {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='9' height='14' viewBox='0 0 9 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.41406 0.707031L1.41406 6.70703L7.41406 12.707' stroke='%2342C0C0' stroke-width='2'/%3E%3C/svg%3E%0A");
    position: absolute;
    left: 0;
    top: calc(50% + 1px);
    transform: translateY(-50%);
    width: 0.9rem;
    height: 1.4rem;
}

.thumbnail-container {
	border-radius: 0 0 0.4rem 0.4rem;
    height: 50%;
}

.thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#home-layout-container {
	display: flex;
    gap: 2.9rem;
    flex-wrap: wrap;
}

#home-layout-container .column-2 {
	padding-top: 2.2rem;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 179px;
    min-width: 179px;
    max-width: 100%;
}

@media screen and (max-width:530px) {

	#home-layout-container {
		flex-direction: column;
	}

}

.title.program-overview,
.title.mentor-overview,
.quote-text {
	font-size: 1.6rem;
    font-weight: 700;
    line-height: 120%;
}

.quote-text {
    font-size: 1.4rem;
}

.description.program-overview,
.description.mentor-overview {
	font-size: 1.3rem;
    padding-bottom: 2rem;
    line-height: 120%;
}

.name-of-quote-person,
.title-of-quote-person {
	font-size: 1.3rem;
    font-style: italic;
    margin-top: 0.2rem;
}

.title-of-quote-person {
	padding-left: 0.9rem;
}

.contact-text,
.contact-us-link {
	font-size: 1.6rem;
	display: inline-block;
}

.contact-us-link,
.contact-us-link:visited {
	padding-left: 0.5rem;
    font-weight: 700;
    color: #42C0C0;
}

@media screen and (max-width: 500px) {

	#radial-overlay {
    	bottom: 32rem;
    }

}


@media screen and (max-width:400px) {

	h1.entry-title {
        font-size: 2.8rem;
        font-weight: 700;
    }
    
    #container {
		padding: 0 1rem;
	}
    
    #footer {
		padding: 2.6rem 1rem 24rem 1rem;
	}

}


/***************************************************************************
****************************************************************************
**
** PATIENT STORIES INDEX STYLING
**
****************************************************************************
****************************************************************************/

.page-template-patient-stories #container {
    padding-right: 1.5rem;
}

.patient-stories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.patient-story-card {
    display: block;
    width: 155px;
    text-decoration: none;
    color: #000000;
}

.patient-story-thumb {
    width: 155px;
    height: 98px;
    overflow: hidden;
}

.patient-story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.patient-story-text {
    font-size: 13px;
    margin-top: 6px;
    line-height: 1.3;
}

@media screen and (max-width:420px) {
    .page-template-patient-stories #container {
        padding: 0;
    }
}



/***************************************************************************
****************************************************************************
**
** PATIENT STORY POST STYLING
**
****************************************************************************
****************************************************************************/

.single-patient_story #container {
    padding: 0 1rem;
}

.single-patient_story h1.entry-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-top: 2.6rem;
    margin-bottom: 1.6rem;
}

.single-patient_story .patient-story-hero {
    margin-bottom: 1.6rem;
}

.single-patient_story .patient-story-content p {
    font-size: 1.6rem;
    line-height: 1.5;
    margin-bottom: 1.6rem;
}

@media screen and (max-width:600px) {

    .single-patient_story #wrapper {
        padding: 0;
    }

    .single-patient_story #container {
        padding: 0;
    }

    .single-patient_story h1.entry-title,
    .single-patient_story .patient-story-content {
        padding: 0 1.5rem;
    }

    .single-patient_story a.back-link {
        margin-left: 1.5rem;
    }

}