/*
    Theme Name: myTheme
    Theme URI: https://www.hamiltrowebsitedesign.com
    Description: BASE THEME
    Version: 1.
    Author: hamiltro
*/

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

/* HTML / FONTS
------------------------------------------------------------------------------------*/
html, body	{
	width: 100%;
}
html {
  font-size: 30px;
}
@media (max-width: 2560px) {
  html { font-size: 24px;}
}

@media (max-width: 2048px) {
  html { font-size: 17px;}
}

@media (max-width: 900px) {
  html { font-size: 15px; }
}
@media (max-width: 400px) {
  html { font-size: 13px; }
}
/* From here on, use rems (or % or vh) for divs and ems for font-sizes within divs) */

html .clamp {font-size: 16px;}

@font-face {
    font-family: 'DIN Condensed';
    src: url('./fonts/DINCondensed-Bold.woff2') format('woff2'),
        url('./fonts/DINCondensed-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


@font-face {
	font-family: 'FuturaPT';
	src: url('./fonts/FuturaPT-Light.eot');
	src: url('./fonts/FuturaPT-Light.eot?#iefix') format('embedded-opentype'),
		url('./fonts/FuturaPT-Light.woff') format('woff'),
		url('./fonts/FuturaPT-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
	font-display:swap;
}

/* PALETTE / VARIABLES
*****************************************/
/* NB rgba doesn't work from variable */
:root {
	--color: #666;
	--color-a: BLACK;
	--color-a-button: BLACK;
	--color-a-button-background: WHITE;
	--color-a-button-border: BLACK;
	--color-a-button-hover: WHITE;
	--color-a-button-background-hover: BLACK; 
	--color-a-button-border-hover: BLACK;
	--color-a-hover: #608ad0;
	--color-accent1: #0384ae; 			/* ACCENT 1 teal blue */
	--color-accent2: #015e7c; 			/* ACCENT 2 dark teal*/
	--color-accent3: /*#aeaf53; 			 ACCENT 3  */
	--color-background: white;
	--color-banner-background: #0384ae; 			/* ACCENT 1 */
	--color-border-subtle: #EEE;
	--color-contact-background: #125b64; /* TEAL */
	--color-currentPageLink: BLACK;
	--color-editLink: #000000;
	--color-footer: #CCC;
	--color-footer-a: #DDD;
	--color-footer-a-hover:#FFF;
	--color-footer-background: #182233;/*  #192b2b;  #015e7c;  ACCENT 2 */
	--color-footer-border: #888888;
	--color-footer-credit: #999;
	--color-footer-credit-a:#aaa;
	--color-footer-credit-a-hover:#FFFFFF;
	--color-form-input-border: TRANSPARENT;
	--color-form-button-background: TRANSPARENT;
	--color-form-button-text: TRANSPARENT;
	--color-form-button-bg-hover: TRANSPARENT;
	--color-hero-span-line1: GREY;
	--color-hero-span-line2: GREY;
	--color-mainNav-text-link: #ffffff;			
	--color-mainNav-text-link-hover: #72b020 ; /*#608ad0; */
	--color-mainNav-text-link-hover: #a3bb84; 
	--color-mob-menu-li-background-color: TRANSPARENT;
	--color-mob-menu-li-border: TRANSPARENT;
	--color-navbar-wrapper-background: #0f1909; /*#192b2b;  PURPLE was #6B4D7D; */
	--color-outline: #DDD; /* for tabbing */
	--color-overBanner: #FFFFFF;
	--color-overBanner-shadow: #3f4034; /*#656754;*/
	--color-pageRowHeader: BLACK;
	--color-pageTitle: BLACK; 
	--color-readMore-a: #000000;
	--color-readMore-a-background: rgba(212,53,38,0.7);
	--color-readMore-a-border: #d43526;
	--color-readMore-a-hover: #000000!important;
	--color-readMore-a-hover-background: #d43526;
	--color-readMore-a-hover-border: BLACK;
	--color-row-border: #EEEEEE;
	--color-siteSlogan: #ffffff;					
	--color-siteTitle: #ffffff;			
	--color-siteTitle-hover: #ffffff;			/* ACCENT 2 */
	--color-siteTitle-shadow-hover: TRANSPARENT;
	--color-icon-style: GREY;
	--color-icon-style-hover: GREY;
	--color-sub-menu-li-background: rgba(238,238,238,0.98);
	--color-sub-menu-li-background-hover: rgba(243,243,243,0.98);
	--color-sub-menu-li-border: rgba(209, 209,209,0.25);
	--color-wpcf7-sent: GREY;


	--font-body: 'Open Sans', sans-serif; 
	--font-nav:   'Open Sans', sans-serif;
	--font-quote: 'Playfair Display', Baskerville, serif;
	--font-readMore:  'Open Sans', sans-serif;
	--font-siteTitle:  'Montserrat Medium', 'Disco','DIN Condensed', , sans-serif;
	--font-siteSubTitle: 'Open Sans', sans-serif;
}

.readMore a.button     {
	background-color: rgba(212,53,38,0.1);
	color: #d43526;
  }
  
  .readMore a.button:hover     {
	background-color: rgba(212,53,38,0.6);
	border-color: #d43526;

  }
  


/* 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;}}


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

@media (min-width:769px) {
	.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;}
}

/* LAYOUT (site specific)
***********************************************/
section.subpageBannerImage .sectionInner	{
	padding: 0;
}

section.footer {min-height: 120px;}
section.footer .sectionInner { padding: 3rem 4% 1rem 4%; }

.mainContent	{min-height: calc(100% - 60px);}

.row.nothingHere	{ /*404*/
	width: 700px;
	max-width: 100%;
	margin: 10% auto 0;
	text-align: center;
}

.one-col, .two-col,.row	{
	margin: 0 auto;
	width: 100%;
	max-width: 60rem;
}
/*.two-col, .row {max-width: 70rem;}*/
.row	{
	margin: 0 auto 6vh;
	padding-bottom: 6vh;
	border-bottom: 1px solid var(--color-row-border);
}

.row:last-child	{
	border-bottom: 1px solid transparent;
	padding-bottom: 1vh;
}

/* NAVBAR / Wrapper
------------------------------------------------------ */
.navbar-wrapper { 
	min-height: 100px;
	padding: calc(1vh + 1.8rem) 0 1vh 0;  
}

.navbar-wrapper .container	{
	max-width: 92%;
}

#navbar{}
.navbar{}
.navbar.flexContainer {}


/* NAVBAR / Site Title 
------------------------------------------------------ */
.siteTitle.flexItem {
	width: 85%;
}

@media only screen and (min-width:992px)	{
	.siteTitle.flexItem { width: 26rem; }
	.mainNavigation.flexItem { width: calc(100% - 26rem);}
}

.siteTitle .mainSiteTitle	{
	font-size: 2.2em;/* Fallback value */
	font-size: clamp(24px, 3vw, 36px);
	font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.25rem);
	font-weight: normal;
    line-height: 1.5rem;
}
  
.siteTitle .siteSlogan{
	color: var(--color-siteSlogan);
	font-size: clamp(1.2rem, 1.5vw + 0.3rem, 1.55rem);
}

/* NAVBAR / Main Navigation
------------------------------------------------------ */
.mainNavigation {}
.mainNavigation.flexItem {

}

.navbar-icon {}
.navbar-toggle {}
span.icon-bar {}


.navbar-collapse {}
.menu-main-navigation-container ul.nav.navbar-nav>li.menu-item>a{
    font-size: 1.1em;
    font-size: clamp(16px, 1vw, 22px);
    font-size: clamp(.9rem, 1.1vw + 0.2rem, 1rem);
    letter-spacing: 0.09em;
    padding: 0 9px 0 0.4em;
    text-transform: uppercase;
}

.sub-menu {
	font-size: 1em;	
	text-transform: uppercase;
	width: 180px;
}


.menu-main-navigation-container ul.nav.navbar-nav>li.menu-item>a{padding: 0 .4vw 0 .3vw;}


@media (max-width: 1350px) {
	.menu-main-navigation-container ul.nav.navbar-nav>li.menu-item>a{
		padding: 10px .1vw 0 0;
		font-size: clamp(.6rem, 1vw + 0.13rem, .9rem);
	}
}

@media (max-width: 992px)	{
	.sub-menu	{width: 100%;}
	.menu-main-navigation-container ul.nav.navbar-nav>li.menu-item>a{font-size: 16px; }
	.menu-main-navigation-container ul.nav.navbar-nav>li.menu-item:last-child>a {padding-bottom: 20px;}	
}

@media only screen and (min-width: 992px) {
    .menu-main-navigation-container ul.nav.navbar-nav>li.menu-item {
        padding-top: 0px;
    }
}

@media only screen and (min-width: 1350px) {
    .menu-main-navigation-container ul.nav.navbar-nav>li.menu-item {
        padding-top: 16px;
    }
}

@media screen and (max-width: 991px) {
    .navbar-header.navbar-icon {
    	top: 30px;
    }
}

/* HTML / headers in general
------------------------------------------------------ */
h1,h2,h3,h4,h5,h6,p,figure,figure.wp-block-image {
	line-height: 1.4em;
}

h2	{
	font-size: clamp(1.5rem, 2vw, 2.5rem);
	font-weight: normal;
}

.noImage p	{
	max-width: 100%;
}

p.readMore	{
	padding-right: 10px;
	text-align: right;
}

.pageTitle,
.sectionHeader,
.sectionTitle h2,
.rowHeader {
	font-size: 2.2em;
	font-weight: normal;
	padding: 1.5em 0 0;	
	font-family: var(--font-siteTitle);
	text-transform: none;
}

.sectionHeader	{
	font-size: 1.8em;
	text-transform: uppercase;
}

.sectionTitle h2	{
	padding: 0;
}

.sectionInner .sectionHeader	{
	padding-top: 0;
}

.postTitle	{
	font-size: 1.8em;
	font-weight: normal;
	margin-top: -.3em;
	max-width: 100%;
}


.pageTitle,
.sectionHeader {text-align: center; }

.leftAlign {text-align: left;}

a.button     {
	padding: 8px 20px;
	border-radius: 2px;
  }
  
.wp-block-image figcaption 	{
	font-size: .8em;
	margin-top: .1em !important;
}

.mainContent ul,
.mainContent ol {
	margin: 1.8rem auto;
	max-width: 44rem;
	padding-left: 5.4rem;
	width: 90%;
}


.mainContent ul li,
.mainContent ol li {
	margin-bottom: 1.5rem;
}

.mainContent li::marker {
	content: "›› ";
	/*font-family: 'Century Gothic';*/
	color: var(--color-mainNav-text-link-hover);
}

p.entry-date	{
	font-size: .9em;
	margin-top: -16px;	
}

h3.catName,
h3	{
	font-weight: normal;
	font-size:1.6em;
	margin: 3vw 0 1vw;
	color: BLACK;
}

p.readMore {
    text-align: right;
    width: 100%;
    max-width: 100%;
    padding-right: 4vw;
    padding-top: 30px;
}


.page-safe-photo-video-project .one-col,
.one-col p {
	width: min(100%,40em);
	margin: 0 auto 20px;
}



.page-recommended-reading .overBanner, /* also page-home */
.page-services .overBanner,
.page-contact .overBanner {
    margin: 6vh auto 0;
}

.wp-block-separator {
	margin: 60px auto 50px;
	border-top: 1px solid;
	color: #ddd;
}

/* full cover background images
------------------------------------------------------------------------------------*/
	
section.bannerImage {
	width: 100%;
    height: 50vh;
    background-image: url('');
    background-repeat: no-repeat;
    background-position: center center;
    -o-background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    overflow-x: hidden;
}

.page-id-154 section.bannerImage {
	background-position: center center;
}

section.quote {
	background-color: #54542f;
	background-color: #b7b589;
	color: white;	
}

section.quote p	{
	max-width: 36rem;
	text-align: center;
	font-family: serif;
}

section.quote p:nth-child(1)	{
	font-size: 2.4rem;
	font-style: italic;
	margin: 0 auto .5em;	
}
section.quote p:nth-child(2)	{
	font-size: 1.5rem;
	padding-right: 20px;
	text-align: right;
	margin: 0 auto 2em;	
}


/* FOOTER
------------------------------------------------------------------------------------*/
section.contact	{

	background-color: var(--color-contact-background);
	background-image: url('/wp-content/themes/rwcarman/images/BG-leaves-04.jpg');
	background-repeat: no-repeat;
    background-position: top center;
    -o-background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
}

section.contact .flexItem1	{
	text-align: center;
	padding-bottom: 30px;
}

section.contact .flexItem2	{
	padding-bottom: 30px;
}

section.contact .flexItem h3	{
	margin-top: 0;
}

section.contact .flexItem h3,
section.contact .flexItem p	{
	max-width: 350px;
	margin: 0 auto 1em;
	color: white;
}
section.footer	{
	line-height: 1.2rem;
	padding: 30px 15px 0px;
	text-align: center;
}

@media (max-width: 600px){
	.footer .flexContainer {flex-direction: column;}
	.footer .flexContainer .flexItem1 {order: 1; text-align: center;  width: 98%; }
	.footer .flexContainer .flexItem2 {order: 3; text-align: center; width: 98%; }
	.footer .flexContainer .flexItem3 {order: 2; text-align: center; width: 98%; }
}

p.copyright,
p.credit	{
	text-align: center;
	}


#news_cat, .gmsearch input {
    padding: 5px;
    margin-top: 10px;
}
.gmsearch
{
	float:right;
}

.iframe-container {
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
}

.iframe-container iframe {
   border: 0;
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   width: 100%;
}

.mp4_parent {
	 padding-top: 0!important;
}

.publication .pageIntro	{
	font-size: 1.1em;
	font-style: italic;
	padding-bottom: 0;
}

.news_slide a img{
	max-height: 560px;
}
.wp-caption.aligncenter, .my_gal_item, .list_item_img{
	margin: 0 auto;
    text-align: center;
}
.my_list .my_list_item{
	display: flex;
	justify-content: center;
	align-items: center;
}

.page-when-i-was-six .my_list .my_list_item {
	align-items: start;
}
.page-when-i-was-six .my_list .my_list_item img	{
	margin-top: calc(3vw + 10px);
}
.left_item_col, .right_item_col{
	width: 50%;
}
.my_list_item.reverse_item{
	flex-direction: row-reverse;
}

@media (orientation: portrait) {
	.left_item_col, .right_item_col	{
		padding: 0 5px;
	}
}

section.contact a[href^="tel"] {
  color: white !important;
}

/* Remove iOS default styling */
.wpcf7-submit,
.wpcf7-form-control.has-spinner.wpcf7-submit,
form.wpcf7-form input.wpcf7-submit {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  border-radius: 2px !important; /* Remove the rounded corners */
  background-color: #DDD !important; /* Replace with your desired color */
  color: #000 !important; /* Replace with your desired text color */
  border: 1px solid #000;
  font-size: 16px;
  font-weight: normal;
  /* Add your other button styles here */
}