/*
    Theme Name: Keenan
    Theme URI: https://www.hamiltrowebsitedesign.com
    Description: Custom theme for Christina Keenan
    Version: 1.
    Author: hamiltro
*/

/* Breakpoints: 600 - 768/769 - 992 - 1200 w side-pad 4% */

/* PALETTE / VARIABLES
*****************************************/
:root {
/* palette 
94cae6 | 98ceea | 85cbd5 | 82c8d2
4a809c | 4f85a1 | 3f838c | 3e828b 
415095 | 425196 | 3d3d95 | 383890
*/
	--color: #666;
	--color-strong: BLACK;
	--color-background: WHITE;
	--color-accent1: #383890; /* PURPLE-BLUE */
	--color-accent2: #3f838c; /* health green */
	--color-accent3: #85cbd5; /* birds-egg */
	--color-accent4: #425196; /* Mid BLUE - footeroverlay;  */
	--color-accent5: #98ceea; /* PALE BLUE - readMoreBG;  */
	--color-headers: var(--color-accent1);
	--color-a: var(--color-accent2);
	--color-a-hover: var(--color-accent1);
	--color-banner-background: var(--color-accent5);
	--color-editLink: BLACK;
	--color-hero-span-line1: white;
	--color-hero-span-line2: white;
	--color-row-border: #EEE;

/* siteTitle/mainNav */
	--color-mainNav-text-link: var(--color-accent2);
	--color-mainNav-text-link-hover: var(--color-accent1);
	--color-mob-menu-li-current-background-color:#f3fafe;
	--color-mob-menu-li-background-color:var(--color-accent3);	
	--color-mob-menu-li-border: TRANSPARENT;
	--color-navbar-wrapper-background: WHITE;
	--color-navbar-wrapper-border:  TRANSPARENT;
	--color-outline: #DDD; /* tabbing */
	--color-sub-menu-li-background: var(--color-navbar-wrapper-background);
	--color-sub-menu-li-background-hover: rgba(243,243,243,0.98);
	--color-sub-menu-li-border: rgba(209,209,209,0.25);
	

/* headers by class */
	--color-headersDefault: black;
	--color-siteSlogan: var(--color-accent2); 
	--color-siteTitle: var(--color-accent1); 
	--color-siteTitle-hover: var(--color-accent1); 
	--color-siteTitle-shadow-hover: TRANSPARENT;
	--color-overBanner: WHITE;
	--color-pageTitle: white;
	--color-sectionTitle: var(--color-accent1);
	--color-rowHeader: var(--color-accent1);

/* buttons */
	--color-a-button: #var(--color-accent1);
	--color-a-button-background: var(--color-accent3);
	--color-a-button-border: var(--color-accent1);
	--color-a-button-hover: WHITE;
	--color-a-button-background-hover: var(--color-accent2); 
	--color-a-button-border-hover: var(--color-accent1);

	--color-readMore-a: var(--color-accent1);
	--color-readMore-a-background: var(--color-accent3);
	--color-readMore-a-border: var(--color-accent1);
	--color-readMore-a-hover: white;
	--color-readMore-a-hover-background: var(--color-accent2);
	--color-readMore-a-hover-border: var(--color-accent1);

/* forms */
	--color-form-input-border: TRANSPARENT;
	--color-form-button-background: TRANSPARENT;
	--color-form-button-text: TRANSPARENT;
	--color-form-button-bg-hover: TRANSPARENT;
	--color-wpcf7-sent: GREY;
	--color-wpcf7-sent-border: GREY;
	--color-wpcf7-sent-background: WHITE; 

/* footer */
	--color-footer: #eee;
	--color-footer-a: #DDD;
	--color-footer-a-hover:#FFF;
	--color-footer-background: var(--color-accent4);
	--color-footer-border: #888;
	--color-footer-credit: #777;
	--color-footer-credit-a:#888;
	--color-footer-credit-a-hover:#FFF;
	--color-icon-style: grey;
	--color-icon-style-hover: white;
	--color-icon-style: var(--color-accent2);
	--color-icon-style-hover: var(--color-accent3);

/* fonts */
	--font-body: 'Open Sans', sans-serif; 
	--font-input: 'Open Sans', sans-serif; 
	--font-nav:   'Open Sans', sans-serif;
	--font-quote: 'Playfair Display', Baskerville, serif;
	--font-readMore:  'Open Sans', sans-serif;
	--font-siteTitle:  'Open Sans', sans-serif;
	--font-siteSubTitle: 'Open Sans', sans-serif;
	--font-pageTitle:  'Open Sans', sans-serif;
	--font-sectionTitle:  'Open Sans', sans-serif;

/*
https://www.w3schools.com/tags/tag_hn.asp
h1 { display: block; font-size: 2em; }
h2 { display: block; font-size: 1.5em; } 
h3 { display: block; font-size: 1.17em; }
h4 { display: block; font-size: 1em; } 
h5 { display: block; font-size: .83em; } 
h6 { display: block; font-size: .67em; }
*/

	--font-size-xs: clamp(.69rem, .64rem + .22vw, .8rem);
    --font-size-sm: clamp(.83rem, .75rem + .35vw, 1rem);
    --font-size-1: clamp(1rem, calc(.88rem + .52vw), 1.25rem);
    --font-size-1b: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
    --font-size-2: clamp(1.2rem, .92rem + .76vw, 1.56rem);
    --font-size-3: clamp(1.44rem, calc(1.19rem + 1.07vw), 1.95rem);
    --font-size-4: clamp(1.73rem, 1.38rem + 1.49vw, 2.44rem);
    --font-size-5: clamp(2.07rem, 1.59rem + 2.05vw, 3.05rem);
    --font-size-6: clamp(2.49rem, 1.84rem + 2.78vw, 3.82rem);
    
    --space: clamp(1.25rem, -.294rem + 6.59vw, 3rem);
}


html{font-size: 17px;} /* default is 16px */
body {line-height: calc(1.1em + 0.5rem);}

p,li { font-size: clamp(1rem, 1rem + .2vw, 1.4rem);}
h1 {font-size: clamp(1.8rem, 1.8rem + .7vw, 3.8rem); line-height: calc(1.1em + 0.5rem);}
h2 {font-size: clamp(1.5rem, 1.5rem + .6vw, 2rem);line-height: calc(1.1em + 0.5rem);}
h3 {font-size: clamp(1.17rem, 1.17rem + .4vw, 1.67rem);line-height: calc(1.1em + 0.5rem);}
h4 {font-size: clamp(1rem, 1rem + .3vw, 1.5rem); line-height: calc(1.1em + 0.4rem);font-weight: bold;}
h5 {font-size: clamp(.83rem, .75rem + .35vw, 1rem);line-height: calc(1.1em + 0.4rem);}
h6 {font-size: clamp(.67rem, .64rem + .22vw, .8rem); line-height: calc(1.1em + 0.4rem); margin-bottom: .5rem}

h2.siteTitle {font-size: clamp(1.2rem, 1.2rem + .6vw, 2rem);padding-top: 4px;}
/* rems (or % or vh?) for divs and ems for font-sizes within divs) */

/* SCREENSIZE TESTER (for: template-parts/screensize.php; change breakpoints as needed)
*****************************************/
p.screensize {display: none;} /* BLOCK FOR TESTING; NONE FOR LIVE */
p.screensize	{font-size: .5em; padding: 4px 10px;margin:0;max-width: 100%;text-align: right; background-color: #fff;}
@media (max-width: 768px) {p.screensize	{color: red;}}
@media (max-width: 992px) {p.screensize	{color: orange;}}
@media (min-width: 993px) {p.screensize	{color: green;}}

/*
@media (max-width: 2560px) {body { color: red;}}
@media (max-width: 2048px) {body { color: orange;}}
@media (max-width: 900px)  {body { color: green;}}
@media (max-width: 400px)  {body { color: blue;}}
*/


/* BREAKPOINTS: 600 - 768/769 - 991/992 - 1200 w side-pad 4%
****************************************/

@media (min-width:769px) {
	.flex, .flexContainer {flex-direction: row;}
	.mobileOnly {display:none;}
	.desktopOnly {display:block;}
	.flex-col-11 {width: 91.7%;padding: 0 1%;}
	.flex-col-10 {width: 83.3%;padding: 0 1%;}
	.flex-col-9 {width: 75%;padding: 0 1%;}
	.flex-col-8 {width: 66.7%;padding: 0 1%;}	
	.flex-col-7 {width: 58.3%;padding: 0 1%;}
	.flex-col-6 {width: 50%;padding: 0 1%;}
	.flex-col-5 {width: 41.7%;padding: 0 1%;}
	.flex-col-4 {width: 33.3%;padding: 0 1%;}
	.flex-col-3 {width: 25%;padding: 0 1%;}
	.flex-col-2 {width: 16.7%;padding: 0 1%;}
	.flex-col-1 {width: 8.3%;padding: 0 1%;}
	
	.thumb.flex-col-3,
	.thumb.flex-col-4	{padding-left: 0;}
	.excerpt.flex-col-8,
	.excerpt.flex-col-9	{padding-right: 0;}
}

.flexContainerThumbnails{
    display: flex;
    flex-direction: row;
}

.thumb{
    margin-bottom: 20px;
    padding: 10px;
}
.thumb img {
    border: 1px solid #ccc;
}
.thumbnailTitle {
    font-size: 14px;
    position: relative;
    width: 360px;
    /* height: auto; */
    text-align: center;
    height: 6.3em;
    overflow: hidden;
    text-overflow: ellipsis;
}
.thumbnailTitle h4 {
    padding-top: 20px;
    font-size: clamp(16px, 2vw, 18px);
    font-weight: bold;
    text-transform: capitalize;
}
.readMore a.button {
    border: 1px solid black;
    background-color: var(--color-readMore-a-background);
    color: black;
    text-align: center;
    padding: 10px 30px;
    border-radius: 0px;
    font-weight: 200;
    font-size: 1em;
    font-family: var(--font-readMore);
}
.flexWrapper {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}


section.bannerImage,
section.subpageBannerImage {
	width: 100%;
    height: 50vh;
    background-image: url('./images/BG-keenan-02.jpg');
}

section.subpageBannerImage	{
	height: min(50vw, 250px);
}

h1.pageTitle	{
	width: min(100%, 45em);
}

.bordered img	{
	border: 1px solid #ccc;
}


section.footer	{
background-image: url('./images/BG-keenan-02.jpg');
}


.container.flexContainer.contact {
    width: 90%;
    max-width: 60rem;
    min-height: 250px;
    padding: 2rem 0 1rem;
    margin: 1rem auto 2rem;
    background-color: rgba(255,255,255,0.2);
    flex-direction: column;
    background-image: url();
    background-position: center bottom;
    background-repeat: no-repeat;
}

.container.flexContainer.contact .footerForm.form {
	padding-top: 2rem;
}

.footerForm.text h2	{
	text-align: center;
}

@media (min-width: 769px) {
	.container.flexContainer.contact {
		flex-direction: row;
	}
	.footerForm {
    	width: 50%;
	}
	
	.container.flexContainer.contact .footerForm {
    	padding: 2rem;
	}
}

div.wpcf7 {
	max-width: 100%;
}

.container.flexContainer.contact .footerForm h2.sectionHeader, .container.flexContainer.contact .footerForm.text p {
    width: 100%;
    max-width: 100%;
    display: block;
    padding: 0 1rem;
    margin: 0rem auto 1rem;
}

.footerForm h2.sectionHeader {
	color: white;
}

.pullquote	{

}

h6.pullquote,
h6.wp-block-heading {
	font-weight: normal;
	text-align: center;
	width: 90%;
	max-width: 40rem;
	margin: 1vw auto 1.5vw;
	font-size: clamp(1.07rem, 1.09rem + 2.05vw, 2.05rem);
	color: var(--color-accent3);
	padding: .5vw 0 1vw;
	border: 1px solid #fff;	
	font-family: var(--font-quote);
	line-height: calc(1em + .5rem);

}

h6.pullquote:after, h6.pullquote:before,
h6.wp-block-heading:after, h6.wp-block-heading:before {
    content: "";
    display: block;
    width: 30%;
    border: 0.25px solid #d3dce6;
    margin: 60px auto;
}

h2.siteTitle::before	{
	/*content:url('/wp-content/themes/keenan/images/keenan-logo-blue.svg');*/
}



/*.siteTitle.flexItem {
	width: calc(85% - 40px);
}*/

@media only screen and (min-width:992px)	{
#navbar { 
	display: flex; 
	justify-content: space-between; 
	align-items: center; 
} 

#navbar .flexContainer	{
	width:100%;
} 
.siteTitle { 
	flex:1;
	white-space: nowrap; /* Ensures site title stays on one line */ 
} 
.mainNavigation { 
	flex-grow: 1; 
	text-align: right; 
} 
.navbar-menu { 
	white-space: nowrap; /* Prevents links from wrapping */ 
}

	.logo {width: 80px;height: 80px;}
	
}

.logo	{	
	background-image: url('/wp-content/themes/keenan/images/keenan-logo-blue-118.png');
	margin: -10px 10px 4px 0;
}

@media only screen and (max-width:991px) {
.logo, .siteTitle.flexItem {float: left;}
.logo {margin-top: 0; width: 50px;height: 50px;}
}

div.verification {
	text-align: center;
	margin: 0 auto 10px;
	width: 146px;
}

div.verification.psi{
	width: 50px;
}

div.conditionsOfContact{
		margin-top: 1.5rem;
}

div.conditionsOfContact h4	{
	text-align: center;
	font-weight: normal;
}
div.conditionsOfContact li	{
	font-size: .9rem;
	line-height: calc(1.1rem + .1em);
	margin-bottom: 1.2rem;
}

.wpcf7-form-control {
	font-size: .9rem;
}

.takingNewClients {
	padding: 40px;
	border: 1px solid #eee;
	background: var(--color-accent3);
	text-align: center;
	border-radius: 20px;

}

.takingNewClients h2	{
	color: white;
}

.grecaptcha-badge	{  /* hide the reCAPTCHA slide-in at bottom right of pages */
	display: none;
}
