@charset "UTF-8";
/* CSS Document */

/* -------------------------------------------------- 
   Table of Contents
-----------------------------------------------------

:: Type Ref
:: Shared Styles
:: Header
:: Footer
:: Main 
:: Page-Specific
:: Template-Specific
:: Moulding
:: Blog
:: Personnel
:: Inspiration
:: Events
:: Gravity Forms
:: Search Results
:: Gallery
:: Classes

*/

/* -----------------------------------------
:: Type Ref
----------------------------------------- */

/* 

	Effra

		Light
			font-family: "effra", sans-serif; font-weight: 300; font-style: normal;
		Regular
			font-family: "effra", sans-serif; font-weight: 400; font-style: normal;
		Regular Italic
			font-family: "effra", sans-serif; font-weight: 400; font-style: italic;
		Bold
			font-family: "effra", sans-serif; font-weight: 700; font-style: normal;
		Bold Italic 
			font-family: "effra", sans-serif; font-weight: 700; font-style: italic;
		Heavy
			font-family: "effra", sans-serif; font-weight: 900; font-style: normal;

	Adelle
		Regular
			font-family: "adelle", serif; font-weight: 400; font-style: normal;
		Regular Italic
			font-family: "adelle", serif; font-weight: 400; font-style: italic;

 */

/* -----------------------------------------
:: Shared Styles
----------------------------------------- */

html { scroll-behavior: smooth; }

body {
	color: #353435; 
	font-family: "effra", sans-serif; font-weight: 400; font-style: normal;
}

.h1-xl,
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
	font-family: "effra", sans-serif; font-weight: 400; font-style: normal;
	line-height: 1.1;
	margin-bottom: 1rem;
}

	h1, .h1 {font-size: 1.75rem;} 		/* 28px */
	h2, .h2 {font-size: 1.5rem; } 		/* 24px */
	h3, .h3 {font-size: 1.375rem; } 	/* 22px */
	h4, .h4 {font-size: 1.25rem;} 		/* 20px */
	h5, .h5 {font-size: 1.1875rem;} 	/* 19px */
	h6, .h6 {font-size: 1.125rem;} 		/* 18px */


@media print, screen and (min-width: 40em) { /* Medium and Up */
	
	h1, .h1 {font-size: 3rem;} 			/* 48px */
	h2, .h2 {font-size: 2.5rem;} 		/* 40px */
	h3, .h3 {font-size: 1.9375rem;} 	/* 31px */
	h4, .h4 {font-size: 1.5625rem;} 	/* 25px */
	h5, .h5 {font-size: 1.25rem;} 		/* 20px */
	h6, .h6 {font-size: 1.125rem;} 		/* 18px */
	
	p.p28-on-large,
	.p28-on-large p {font-size: 1.125rem; /* 18px */}
	
}

@media screen and (min-width: 64em) { /* Large and Up */
	
	h1, .h1 {font-size: 4rem;} 			/* 64px */
	h2, .h2 {font-size: 3rem;} 			/* 48px */
	h3, .h3 {font-size: 2.25rem;} 		/* 36px */
	h4, .h4 {font-size: 1.75rem;} 		/* 28px */
	h5, .h5 {font-size: 1.5rem;} 		/* 24px */
	h6, .h6 {font-size: 1.25rem;} 		/* 20px */
	
	
	body {font-size: 1.125rem;} /* 18px */
	.h1-xl {font-size: 4.75rem; line-height: 1; letter-spacing: .5px; /* 76px */ }
	
	.h1-60 {font-size: 3.75rem; } 	/* 60px */
	
	.h2-54 {font-size: 3.375rem; } 	/* 54px */
	.h2-52 {font-size: 3.25rem; }	/* 52px */
	.h2-50 {font-size: 3.125rem; }	/* 50px */
	.h2-45 {font-size: 2.8125rem; }	/* 45px */
	
	p.p22-on-large,
	.p22-on-large p {font-size: 1.375rem; line-height: 1.45; /* 22px */}
	
	p.p28-on-large,
	.p28-on-large p {font-size: 1.75rem; line-height: 1.35; /* 28px */}
	
}

.text-light {font-weight: 300;}
.text-bold {font-weight: 700;}
.text-blue {color: #304F74;}
.text-teal {color: #3CA9B1}

hr {max-width: none;}

p {line-height: 1.3;}

a {color: #3CA9B1;}
a:hover, a:focus { /*color: #d71539;*/}


.button {
	text-transform: uppercase;
	background-color: #3CA9B1;
	font-weight: 700;
	font-size: 1.125rem; /* 18px */
	letter-spacing: .3px;

}
.button:hover, .button:focus {background: #304F74;}

.button.hollow {border-color: #3CA9B1; color: #3CA9B1;}
.button.hollow:hover, .button.hollow:focus {border-color: #304F74; color: #304F74;}

@media screen and (min-width: 64em) { /* Large and Up */
	
	.button {font-size: 1.625rem; padding: 0.85em 2em; /* 26px */}
	
	.element_button-cad .button,
	.element_wishlist .button,
	.wishlist-page-buttons .button,
	.send-wishlist-email-myself.button,
	.send-wishlist-email.button {font-size: 1.125rem; /* 18px */}

}

.button.yellow {background: #F5DB6B; color: #304F74;}

.grid-container {max-width: 93.75rem; 			/* 1500px */ }
.grid-container.narrow {max-width: 81.25rem; 	/* 1300px */ }
.grid-container.wide {max-width: 100rem; 		/* 1600px */ }

.grid-container.extra-narrow {max-width: 66.25rem; /* 1060px */}

/* -----------------------------------------
:: Header
----------------------------------------- */

.header-announcement {background: #3CA9B1; padding: 12px 35px; position: relative; text-align: center; color: #fff; font-size: 16px;}
.header-announcement a {text-decoration: underline; color: #efefef; }
.header-announcement .close-button {top: 1rem; opacity: .5}
.header-announcement .close-button:focus, 
.header-announcement .close-button:hover {opacity: .75;}
.header-announcement .close-button span {
	display: block;
	width: 18px;
	height: 18px;
	background: url("../img/icon-close.svg?ver=2.1") no-repeat center center; background-size: 23px 23px;
	text-indent: -9999px;
}

@media screen and (min-width: 64em) { /* Large and Up */
	.header-announcement {font-size: 18px;}
}

/*
 * Mobile Header
 */
.ccl-site-header-mobile {border-top: solid 8px #f5db6c; padding: 10px 0 17px 0;}

#menu-mobile-toggle {
	cursor: pointer; 
	width: 23px;
	height: 23px;
	display: inline-block;
	background: url("../img/icon-menu.svg") no-repeat center center; background-size: 23px 23px;
	text-indent: -9999px;
	margin: 0;
	float: none;
}

#search-mobile-toggle {
	cursor: pointer; 
	width: 23px;
	height: 23px;
	display: inline-block;
	background: url("../img/icon-search-2.svg") no-repeat center center; background-size: 23px 23px;
	text-indent: -9999px;
	margin: 0;
}
#search-mobile-toggle.close {background-image: url("../img/icon-close-gray.svg")}

#search-mobile {padding: 20px 0 5px 0;}

#offCanvas {background: #f1f1f1;}
.js-off-canvas-overlay {background: rgba(52, 52, 52, .9) /*url(../img/iconfinder_Close_1031533-white.svg) no-repeat*/; /*background-size: 22px 22px; background-position: right 20px top 30px;*/}

.off-canvas-content.is-open-left {position: fixed;}

@media print, screen and (min-width: 25em) { /* Mobile - 400px and up */
	.position-left {
	  width: 350px;
	  -webkit-transform: translateX(-350px);
		  -ms-transform: translateX(-350px);
			  transform: translateX(-350px);
	}
	.off-canvas-content .off-canvas.position-left {
	  -webkit-transform: translateX(-350px);
		  -ms-transform: translateX(-350px);
			  transform: translateX(-350px);
	}
	.off-canvas-content .off-canvas.position-left.is-transition-overlap.is-open {
	  -webkit-transform: translate(0, 0);
		  -ms-transform: translate(0, 0);
			  transform: translate(0, 0);
	}
}

.mobile-offcanvas #primary-menu-nav-mobile {background: #fff; padding-bottom: 15px;}

.mobile-offcanvas .mobile-main-navigation ul {list-style: none; margin: 0;}
.mobile-offcanvas .mobile-main-navigation ul li {margin: 0; line-height: 1.2;}
.mobile-offcanvas .mobile-main-navigation ul li a {display: block; padding: 10px 15px;}

.mobile-offcanvas #primary-menu-nav-mobile ul li a {color: #304F74; text-transform: uppercase; font-weight: 700;}

.mobile-offcanvas #primary-menu-nav-mobile li.current-menu-item > a {color: #3CA9B1; text-decoration: underline;}

.mobile-offcanvas #secondary-menu-nav-mobile {padding-top: 15px;}
.mobile-offcanvas #secondary-menu-nav-mobile ul li.phone a {font-weight: 700;}



/*
 * Desktop Header
 */
.ccl-site-header {border-top: solid 8px #f5db6c; padding: 10px 0 17px 0; }

.ccl-site-header #secondary-menu-nav {text-align: right; padding-top: 2px;}
.ccl-site-header #secondary-menu-nav ul {list-style: none; margin: 0; line-height: 1.2; font-size: 16px;}
.ccl-site-header #secondary-menu-nav ul li {display: inline-block; padding: 12px 11px;}
.ccl-site-header #secondary-menu-nav ul li.phone a {font-weight: 700;}
.ccl-site-header #secondary-menu-nav ul > li.current-menu-item > a,
.ccl-site-header #secondary-menu-nav ul > li.current-menu-parent > a,
.ccl-site-header #secondary-menu-nav ul > li.current-menu-ancestor > a,
.ccl-site-header #secondary-menu-nav ul > li.current_page_parent > a {text-decoration: underline;}

body.category-events .ccl-site-header #secondary-menu-nav ul > li.menu-item-18119.current_page_parent > a {text-decoration: none;}

.ccl-site-header #primary-menu-nav {text-align: right;}
.ccl-site-header #primary-menu-nav > ul {list-style: none; margin: 0; line-height: 1.2;}
.ccl-site-header #primary-menu-nav > ul > li {display: inline-block; padding: 6px 12px; font-size: 17px;}
.ccl-site-header #primary-menu-nav > ul > li > a {color: #304F74; text-transform: uppercase; font-weight: 700;}
.ccl-site-header #primary-menu-nav > ul > li > a:hover {color: #367c93;}
.ccl-site-header #primary-menu-nav > ul > li.current-menu-item > a,
.ccl-site-header #primary-menu-nav > ul > li.current-menu-parent > a,
.ccl-site-header #primary-menu-nav > ul > li.current-menu-ancestor > a {color: #3CA9B1; text-decoration: underline;}

.ccl-site-header #primary-menu-nav .submenu .is-active > a {background: #fff}

.ccl-site-header #primary-menu > li > .submenu {
	text-align: left; 
	margin: 0; 
	padding: 10px 0;
	list-style: none; 
	min-width:250px; 
	top:100%;
	right:auto;
	left:0;
	z-index:20
}
.ccl-site-header #primary-menu > li > .submenu > li > .submenu {
	margin: 0;
	padding: 10px 0;
	list-style: none;
	min-width:250px; 
	top: -10px;
}

.ccl-site-header #primary-menu > li > .submenu > li > a,
.ccl-site-header #primary-menu > li > .submenu > li > .submenu > li > a {display: block; line-height: 1.2; font-weight: 700; text-transform: uppercase; color: #304F74;}

.ccl-site-header #primary-menu > li > .submenu > li.current-menu-item > a,
.ccl-site-header #primary-menu > li > .submenu > li > .submenu > li.current-menu-item > a {color: #3CA9B1; text-decoration: underline;}

.ccl-site-header #primary-menu > li > .submenu > li > a:hover,
.ccl-site-header #primary-menu > li > .submenu > li > .submenu > li > a:hover {color: #367c93;}

.ccl-site-header #search-toggle {
	cursor: pointer; 
	width: 23px;
	height: 23px;
	display: inline-block;
	background: url("../img/icon-search-2.svg") no-repeat center center; background-size: 23px 23px;
	text-indent: -9999px;
	margin: 12px 12px 0 12px;
}
.ccl-site-header #search-toggle.close {background-image: url("../img/icon-close-gray.svg")}

#search-desktop {padding-top: 4px;}
#search-desktop .search-form {max-width: 400px; margin-left: auto;}


/*
 * Shared Search
 */
.search-form input {margin-bottom: 0; -webkit-transition:none; transition:none;}
.search-form .search-field:focus {border-color:#3CA9B1; box-shadow: none;}
.search-form .search-submit {font-size: 15px; padding-top: 11px; padding-bottom: 11px;}


/* -----------------------------------------
:: Footer
----------------------------------------- */

.ccl-site-footer {background: #343434; padding: 50px 0 100px 0; text-align: center; color: #fff;}

.footer-home-ig {padding-bottom: 30px; text-align: center;}
.footer-home-ig > h2 {margin-bottom: .375rem; }
.footer-home-ig h3 {font-weight: 700; text-transform: uppercase; font-size: 1rem;}
.footer-home-ig h3 a:hover,
.footer-home-ig h3 a:focus {color: #fff;}

.footer-home-ig #sb_instagram #sbi_load .sbi_load_btn,
.footer-home-ig #sb_instagram .sbi_follow_btn a {
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 14px;
	margin: 10px auto 0 auto;
}

.ccl-site-footer hr {border-bottom-color: #fff;}

.ccl-site-footer .top {padding-bottom: 70px; text-align: left;}
.ccl-site-footer .top p {line-height: 1.3333333}
.ccl-site-footer .top a {text-decoration: underline; color: #3CA9B1; font-weight: 700;}

.ccl-site-footer .copyright {margin: 0;}
.ccl-site-footer .copyright a {color: #fff;}
.ccl-site-footer .copyright a:hover,
.ccl-site-footer .copyright a:focus {}
.ccl-site-footer .copyright a.yh-link {color: #3CA9B1; text-decoration: underline; font-weight: 700}

.footer-social {margin: 0; padding: 15px 0 0 0; list-style: none;}
.footer-social li {display: inline-block;}

@media screen and (min-width: 64em) { /* Large and Up */
	
	.footer-home-ig h3 {font-size: 1.625rem; /* 26px */}
	.footer-home-ig #sb_instagram #sbi_load .sbi_load_btn,
	.footer-home-ig #sb_instagram .sbi_follow_btn a {
		font-size: 1rem;
	}
	
	
	.footer-social {text-align: right; padding: 0;}
	.ccl-site-footer .copyright li {display:inline-block; padding: 0 4px;}
}

a.back-to-top {
	position: fixed; 
	bottom: 20px; 
	left: 20px; 
	width: 50px;
	height: 50px;
	display:none;
	background: #000 url("../img/icon-top.svg") no-repeat center center; 
	background-size: 20px;
	color: #000;
	text-indent: -9999px;
    -webkit-border-radius:50px;
    -moz-border-radius:50px;
    border-radius:50px
}
a.back-to-top:hover {}

/* -----------------------------------------
:: Main
----------------------------------------- */

#primary {padding: 50px 0 50px 0;}
#main {padding: 0;}

.page-header h1 {text-transform: uppercase; font-weight: 700; line-height: .92;}


.page-banner .text-overlay {padding: 65px 0 50px 0;}
.page-banner .text-overlay .h1-xl {text-transform: uppercase; font-weight: 900; color: #fff; text-shadow: 0 0 24px rgba(0,0,0,.5); line-height: .92; margin-bottom: 0;}

body.has-banner .page-header {display: none;}

@media screen and (min-width: 64em) { /* Large and Up */
	
	.page-banner {margin-bottom: 30px;} 
	.page-banner .text-overlay {padding: 0;}
	.page-banner .grid-y-height { min-height: 470px;}
	
}


.page-intro {padding-bottom: 15px;}
.page-intro .page-intro-text {margin-bottom: 20px;}
.page-intro .page-intro-links {}
.page-intro .page-intro-links .button {margin: 0 .5rem 1rem .5rem;}

@media screen and (min-width: 64em) { /* Large and Up */
	
	.page-intro {padding-bottom: 30px;}
	
	.page-intro h2 {margin-bottom: 2.25rem;} 
	
	.page-intro .page-intro-text {padding-left: 15px; padding-right: 15px;}
	
}


/* -----------------------------------------
:: Page-Specific
----------------------------------------- */

/* 404 */
.error-404 .page-content hr {margin: 30px auto;}
.error-404 .page-content ul {color: #666;}

/* About */
.history-timeline {margin: 30px 0;}
.history-timeline .year {font-weight: 700; color: #304F74; margin-bottom: .25rem;}
.history-timeline .text {}
.history-timeline img {margin-top: 16px;}

@media screen and (min-width: 64em) { /* Large and Up */
	.history-timeline {
		background-image: linear-gradient(#3CA9B1, #3CA9B1);
		background-size: 1px 100%;
		background-repeat: no-repeat;
		background-position: center center;
	}
	.history-timeline .wrap {position: relative; }
	.history-timeline .odd .wrap {text-align: right;}
	.history-timeline .even .wrap::before {
		position: absolute; 
		left: -22px; 
		top: 13px;
		background: #fff;
		border: solid 1px #3CA9B1;
		border-radius: 50%;
		width: 14px;
		height: 14px;
		content: '';
	}
	.history-timeline .odd .wrap::after {
		position: absolute; 
		right: -22px; 
		top: 13px;
		background: #fff;
		border: solid 1px #3CA9B1;
		border-radius: 50%;
		width: 14px;
		height: 14px;
		content: '';
	}
}


/* Careers */
body.page-id-18719 #primary {padding-top: 0;}

/* Videos */
.flex-content .flex-videos.flex-row-1:only-child { margin-top: 30px;}

/* Lumber & Panels Pricing Update */
body.page-id-19795 .flex-custom.flex-row-1.flex-row-white-bg {margin-top: 0; }

/* Andersen Window & Doors */
/*body.page-id-19796 .flex-custom.flex-row-1.flex-row-white-bg {margin-top: 0; }*/


/* James Hardie */
body.page-id-20138 .flex-custom.flex-row-1.flex-row-white-bg {margin-top: 0; }
body.page-id-20138 .flex-custom.flex-row-2.flex-row-white-bg {background: url("https://capecodlumber.kinsta.cloud/wp-content/uploads/james-hardie-RS18606_RS18606_ur2018_backyard-08-fireplace-edited-hpr-crop.jpg") no-repeat center center; background-size: cover; padding: 100px 0;}

@media print, screen and (min-width: 64em) { /* Large and up */
	body.page-id-20138 .flex-custom.flex-row-2.flex-row-white-bg {padding: 200px 0;}
}
body.page-id-20138 .flex-custom.flex-row-2.flex-row-white-bg .text {background: rgb(249, 249, 249); padding: 30px;}


/*
 * WPConsent
 */
.wpconsent-cookie-category-name,
.wpconsent-cookie-service-name {margin-bottom: .5rem;}

.wpconsent-cookie-service-description,
.wpconsent-cookie-category-description {line-height:1.2;}

table.wpconsent-cookie-policy-table {margin-top:1rem; margin-bottom: 2rem;}


/* -----------------------------------------
:: Template-Specific
----------------------------------------- */

/*
 * Template: Sub-Pages
 */
body.page-template-template_SubPages {}

.sub-pages {padding-top: 40px;}
.sub-pages .sub-page {padding: 2px;}

.sub-pages .sub-page a {display: inline-block; position: relative; }
.sub-pages .sub-page a::before {
  content: '';
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  background: linear-gradient(0deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 100%);
}
.sub-pages .sub-page .sub-page-text {
	position: absolute; 
	bottom: 15px; 
	left: 15px; 
	margin: 0;
	padding-right: 20px; 
	color: #fff; text-transform: uppercase; font-weight: 700; display: inline-block; line-height: 1;
	z-index: 3;
}
.sub-pages .sub-page .sub-page-text hr {max-width: 130px; margin: 0 0 8px 0; border-bottom: solid 8px #F5DB6B;}
.sub-pages .sub-page .sub-page-text h2 {font-weight: 700; line-height: 1; margin-bottom: 0;}

@media screen and (min-width: 64em) { /* Large and Up */
	.sub-pages .sub-page .sub-page-text {
		bottom: 41px; 
		left: 35px; 
	}
}

/*
 * Template: Product Vendors
 */

.on-this-page {text-align: center; padding: 0px 0 30px 0;}
.on-this-page ul {margin: 0; list-style: none;}
.on-this-page ul li {display: inline-block;/* margin: 10px;*/ text-transform: uppercase; font-weight: 700; font-size: 16px; line-height: 1.2;}
.on-this-page ul li a {display: inline-block; margin: 5px 10px; padding: 5px 12px; color: rgb(60, 169, 177);}

.on-this-page ul li a:hover {background: linear-gradient(to bottom,  #ffffff 0%,#ffffff 50%,#f5db6c 50%,#f5db6c 100%);}

@media screen and (min-width: 64em) { /* Large and Up */
	
	.on-this-page {text-align: center; padding: 30px 0 40px 0;}
	
	.on-this-page ul li {font-size: 1.625rem; /* 28px */}
	
}

.vendor-section-wrap .vendor-section { padding: 35px 0;}
.vendor-section-wrap .vendor-section:nth-child(odd) {background: rgb(244, 244, 244);}

@media screen and (min-width: 64em) { /* Large and Up */
	.vendor-section-wrap .vendor-section { padding: 50px 0; /* 65px 0 */ }
}

.vendor-section .vendor-section-title { margin: 0 0 .75rem 0; }
.vendor-section .vendor-section-sub-title {margin-top: 1rem;}

.product-vendors {margin: 15px 0 0 0;}
.product-vendors .product_vendor .vendor-img-wrap {position:relative; margin:0; display: inline-block;}
.product-vendors .product_vendor .vendor-img-wrap .vendor-logo-wrap {position:absolute; display: inline-block; bottom:20px; right:20px; width: 150px; max-width: 50%; text-align: right;}
.product-vendors .product_vendor .vendor-img-wrap .vendor-logo {}

.product-vendors .product_vendor .vendor-text-wrap {padding: 15px 0;}
.product-vendors .product_vendor .vendor-text-wrap p:last-of-type {margin-bottom: 0;}

.featured-product-vendor {margin: 50px 0;}
.featured-product-vendor .vendor-logo {margin-bottom: .5rem;}
.featured-product-vendor .vendor-text-wrap {padding: 0 0 15px 0; }
.featured-product-vendor a.fancybox {display: inline-block; margin: 1px;}

@media print, screen and (min-width: 40em) { /* Medium and Up */
	
	.featured-product-vendor .vendor-text-wrap {padding: 0 30px 0 0; }
}

@media screen and (min-width: 64em) { /* Large and Up */
	
	.featured-product-vendor .feat-gallery-main-cell {width:60%}
	.featured-product-vendor .feat-gallery-side-cell {width:40%}
}

.product-vendors-secondary .secondary-vendor {padding: 15px 15px;}


/*
 * Template: Landing Page
 */
.flex-content.collapse-top .flex-custom.flex-row-1.flex-row-white-bg {margin-top: 0; }

/* Icon Blocks */
.flex-content .flex-icon-blocks {}
.flex-content .flex-icon-blocks .cell {background: #fff; border: solid 2px #F5DB6B; padding: 20px 30px 30px 30px;}

@media screen and (min-width: 64em) { /* Large and Up */
	.flex-content .flex-icon-blocks .cell {padding: 30px 35px;}
	.flex-content .flex-icon-blocks .grid-margin-x > .cell {width:calc(33% - 3.125rem); margin:1.5625rem;}
	.flex-content .flex-icon-blocks .button {padding-left: 1.5rem; padding-right: 1.5rem; width: 100%;}
}
.flex-content .flex-icon-blocks .icon {margin-bottom: 1rem;}
.flex-content .flex-icon-blocks .block-title {color: #304F74; text-transform: uppercase; letter-spacing: .5px;}

/* Gallery */
.flex-content .flex-gallery {margin: 100px 0 100px 0;}
.flex-content .flex-gallery .top h2 {color: #304F74; margin-bottom: 2rem;}
.flex-content .flex-gallery .gallery-cell {padding: 2px;}
.flex-content .flex-gallery .gallery-cell img {width: 100%}
.flex-content .flex-gallery .buttons {padding-top: 35px;}
.flex-content .flex-gallery .buttons .button {margin: 0 1rem 1rem 1rem;}

/* Recent Blog Posts */
.flex-content .flex-recent-blog-posts {margin: 100px 0 100px 0; border-bottom: solid 115px #f5db6c;}
.flex-content .flex-recent-blog-posts .top {padding-bottom: 30px;}
.flex-content .flex-recent-blog-posts .bottom {background: linear-gradient(#FFF 0%, #FFF 50%, #f5db6c 50%, #f5db6c 100%);}
.flex-content .flex-recent-blog-posts .post-cell {background: #fff; border: solid 2px #304F74; padding: 30px 30px;}

.flex-content .flex-recent-blog-posts .read-more a {font-weight: 700; text-decoration: underline;}

@media screen and (min-width: 64em) { /* Large and Up */
	.flex-content .flex-recent-blog-posts .post-cell {padding: 70px 50px 50px 50px;}
	.flex-content .flex-icon-blocks .grid-margin-x > .cell {width:calc(33% - 3.125rem); margin:1.5625rem;}
	
	.flex-content .flex-recent-blog-posts .post-date {margin-bottom: 2rem;}
	.flex-content .flex-recent-blog-posts .read-more {margin-top: 54px;}
}

/* Logos */
.flex-content .flex-logos {margin: 100px 0 100px 0;}
.flex-content .flex-logos .top {padding-bottom: 30px;}
.flex-content .flex-logos .bottom .logo {display: block; margin: 0 auto; max-width: 150px;}

/* Videos */
.flex-content .flex-videos {margin: 100px 0 100px 0;}
.flex-content .flex-videos .top {padding-bottom: 30px;}

.flex-content .flex-videos .video-image {display: inline-block; position: relative; margin-bottom: 1rem;}
.flex-content .flex-videos .video-image::before {
	content: url("../img/play-button.svg"); 
	width: 75px; 
	height: 75px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

@media screen and (min-width: 64em) { /* Large and Up */
	
	.flex-content .flex-videos .video-image::before {width: 99px; height: 99px; }
}

/* Half & Half */
.flex-content .flex-half-half {margin: 85px 0;}
.flex-content .flex-half-half .buttons {padding-top: 1rem;}
.flex-content .flex-half-half .buttons .button {margin-right: 1rem;}

.flex-content .flex-half-half.flex-row-gray-bg {background: #f4f4f4; margin: 0; padding: 65px 0;}
.flex-content .flex-half-half.flex-row-gray-bg hr {max-width: 130px; margin: 0 0 8px 0; border-bottom: solid 8px #F5DB6B;}

.flex-content .flex-half-half.flex-row-yellow-bottom {margin:0; padding: 70px 0; background: linear-gradient(to bottom,  #ffffff 0%,#ffffff 50%,#f5db6c 50%,#f5db6c 100%); }
.flex-content .flex-half-half.flex-row-yellow-bottom .inner {background: #fff; border: solid 2px #D9D9D9; padding: 45px 30px 30px 30px; }
.flex-content .flex-half-half.flex-row-yellow-bottom .inner > h2 {margin-bottom: 1rem; color: #304F74; font-family: "adelle", serif; font-weight: 400; font-style: normal; }



@media screen and (min-width: 64em) { /* Large and Up */
	
	.flex-content .flex-half-half.flex-row-yellow-bottom .inner {padding: 60px;}
	.flex-content .flex-half-half.flex-row-yellow-bottom .inner > h2 {margin-bottom: 2.5rem;}
	
}


@media screen and (min-width: 64em) { /* Large and Up */
	
	.flex-content .flex-half-half .text p {font-size: 1.375rem; line-height: 1.45; /* 22px */}

}

.flex-content .flex-half-half.flex-row-1.flex-row-white-bg {margin-top: 30px;} /* collapse top margin if first */

.flex-content .flex-half-half.flex-row-1.flex-row-gray-bg {margin-top: 30px;} /* add top margin if first*/

/* Custom Content */
.flex-content .flex-custom {margin: 85px 0;}

.image-triangle-wrap {display: inline-block; position: relative;}
.image-triangle-wrap.on-right::before {
	content: "";
	width: 23px;
	height: 53px;
	background: url("../img/triangle-right.svg") no-repeat center center;
	background-size: contain;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
}
.image-triangle-wrap.on-left::before {
	content: "";
	width: 23px;
	height: 53px;
	background: url("../img/triangle-left.svg") no-repeat center center;
	background-size: contain;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 0;
}

.flex-content .flex-half-half.flex-row-gray-bg .image-triangle-wrap.on-left::before {background-image: url("../img/triangle-left-f4f4f4.svg");}
.flex-content .flex-half-half.flex-row-gray-bg .image-triangle-wrap.on-right::before {background-image: url("../img/triangle-right-f4f4f4.svg");}

/*
 * Template: Landing Page - Brand
 */
body.page-template-template-LandingPageBrand #primary {padding: 0;}

#brand-lp-hero { text-align: center; background: #ccc; }
#brand-lp-hero .grid-y-height { min-height: 480px;}

#brand-lp-hero h1 {margin: 0 0 1rem 0; text-transform: uppercase; font-weight: 900; color: #fff; text-shadow: 0 0 24px rgba(0,0,0,.5); line-height: .92;}
#brand-lp-hero .logo {margin-bottom: 1.5rem; max-width: 50%;}

@media screen and (max-width: 63.99875em) { /* Small and Medium */
	#brand-lp-hero {text-align: center; background: #ccc; }
}
@media screen and (min-width: 64em) { /* Large and Up */
	#brand-lp-hero .grid-y-height { min-height: 680px;}
}

/*
 * Template: Contact Sidebar
 */
body.page-template-template_ContactSidebar .contact-wrap {background: #f5db6c; padding: 20px 10px 60px 10px;}

body.page-template-template_ContactSidebar .contact-sidebar-cell {background: #fff; padding: 30px; border: solid 2px #D9D9D9;}
body.page-template-template_ContactSidebar .contact-sidebar-cell .google-map {margin-bottom: 1rem;}
body.page-template-template_ContactSidebar .contact-sidebar-cell p {line-height: 1.4;}
body.page-template-template_ContactSidebar .contact-sidebar-cell ul {}
body.page-template-template_ContactSidebar .contact-sidebar-cell ul li {line-height: 1.4; margin: 0;}
body.page-template-template_ContactSidebar .contact-sidebar-cell .applications p {margin-bottom: .25rem;}
body.page-template-template_ContactSidebar .contact-sidebar-cell .applications li a {font-weight: 700;}

body.page-template-template_ContactSidebar .contact-main-cell {background: #fff; padding: 30px; border: solid 2px #D9D9D9;}


@media screen and (min-width: 64em) { /* Large and Up */
	
	body.page-template-template_ContactSidebar .contact-wrap {background: linear-gradient(to bottom, #ffffff 0%, #ffffff 40%, #f5db6c 40%,#f5db6c 100%); padding: 15px 0 80px 0;}
	
	body.page-template-template_ContactSidebar .contact-sidebar-cell,
	body.page-template-template_ContactSidebar .contact-main-cell {padding: 50px; }
	
}

/* -----------------------------------------
:: Moulding
----------------------------------------- */

.breadcrumb-and-title {margin-bottom: 0px;}
.breadcrumb-and-title h1 {
	text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    /*line-height: .92*/
	 color: #304F74
}
.breadcrumb-and-title .breadcrumbs {margin-bottom: 1rem;}
.breadcrumb-and-title .breadcrumbs li:not(:last-child)::after {color:#999;}
.breadcrumb-and-title .breadcrumbs a {}

.moulding-sub-menu {text-align: center; padding: 0;}
.moulding-sub-menu ul {margin: 0 0 1rem 0; list-style: none;}
.moulding-sub-menu ul li {display: inline-block; text-transform: uppercase; font-weight: 700; font-size: 1rem; line-height: 1.2;}
.moulding-sub-menu ul li a {display: inline-block; margin: 5px 10px; padding: 5px 12px; color: rgb(60, 169, 177);}
.moulding-sub-menu ul li.current-menu-item a {background: linear-gradient(to bottom,  #ffffff 0%,#ffffff 50%,#f5db6c 50%,#f5db6c 100%);}



@media screen and (min-width: 64em) { /* Large and Up */

	.moulding-sub-menu ul li {font-size: 1.5rem /*1.625rem*/; /* 28px */}
	
}

/* 
 * Find Mouldings By 
 */
#element_moulding-tax-filter-wrap {background: #f5db6c;}

/* ==========================================================
   "Find Mouldings By" finder: focus / highlight colors
   Change the three values below to re-skin per site.
   ========================================================== */
.yhdm-main-finder-control {
  --finder-focus-ring: #304F74;      /* outline around the focused input */
  --finder-option-bg: #304F74;       /* highlighted option in the list */
  --finder-option-text: #fff;        /* text on the highlighted option */
}

/* Skip in Windows High Contrast so the parent's forced-colors rules still apply */
@media (forced-colors: none) {
  .yhdm-main-finder-control .autocomplete__input--focused {
    outline-color: var(--finder-focus-ring);
  }

  .yhdm-main-finder-control .autocomplete__option--focused:not(.autocomplete__option--no-results),
  .yhdm-main-finder-control .autocomplete__option:not(.autocomplete__option--no-results):hover {
    border-color: var(--finder-option-bg);
    background-color: var(--finder-option-bg);
    color: var(--finder-option-text);
  }
}

/* Global keyboard focus ring (links, Go buttons, other form fields) */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, .button:focus-visible {
  outline-color: #304F74;
}

/* 
 * Main Mouldings Page
 */
.page-banner.moulding-page-banner {margin-bottom: 0;}

body.page-id-20598 #primary {padding-top: 30px;}
body.page-id-20598 .breadcrumb-and-title {padding-bottom: 15px;}
body.page-id-20598 .breadcrumb-and-title .entry-title {display: none;}
body.page-id-20598 .main-mouldings-section {padding: 70px 0;}
body.page-id-20598 .main-mouldings-section h2 {margin-bottom: 40px; text-align: center; font-weight: 300; color: #304F74; }

/* Popular Mouldings Types */
body.page-id-20598 #popular-moulding-types {padding-top: 0;}
body.page-id-20598 #popular-moulding-types h2 {color: #304F74; font-family: "adelle", serif; font-weight: 400; font-style: normal;}
body.page-id-20598 #popular-moulding-types .popular-moulding-type {line-height: 1.25;text-align: center;}
body.page-id-20598 #popular-moulding-types .popular-moulding-type a img {margin: 0 0 15px 0; width: 100%;}
body.page-id-20598 #popular-moulding-types .popular-moulding-type a {font-weight: bold;}
body.page-id-20598 #popular-moulding-types .popular-moulding-type a span {display: block; padding: 0 10px;}
body.page-id-20598 #popular-moulding-types .popular-moulding-type a .type-name {margin: 0 0 10px 0; text-transform: uppercase}

/* All Mouldings Types */
body.page-id-20598 #all-moulding-types {background: #fdfae9;}

body.page-id-20598 #all-moulding-types ul {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -moz-column-gap: 30px;
  -webkit-column-gap: 30px;
  column-gap: 30px;
}

@media screen and (min-width: 40em) { /* Medium and up */
  body.page-id-20598 #all-moulding-types ul {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -moz-column-gap: 30px;
    -webkit-column-gap: 30px;
    column-gap: 30px;
  }
}

body.page-id-20598 #all-moulding-types ul li {margin: 0 0 15px 0; line-height: 1.25;}
body.page-id-20598 #all-moulding-types ul li a {font-weight: bold; color: #304F74; }
body.page-id-20598 #all-moulding-types ul li a span { font-weight: normal; color: #777}

body.page-id-20598 #all-moulding-types ul li a:hover { text-decoration: underline;}

/* Moulding Materials */
body.page-id-20598 #mouldings-by-material a {
  display: block;
  line-height: 1.25;
  text-align: center;
  font-weight: bold;
  font-size: 15px;
}

body.page-id-20598 #mouldings-by-material a img {margin: 0 0 10px 0; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);}

/* Moulding Collections */
body.page-id-20598 #moulding-collections .text {text-align: center;}
body.page-id-20598 #moulding-collections .image {margin-bottom: 15px;}
body.page-id-20598 #moulding-collections .name {font-weight: bold;}

/* Inspiration Gallery */
body.page-id-20598 #moulding-insp-gallery {background: #f4f4f4;}

body.page-id-20598 #moulding-insp-gallery a {
  display: block;
  padding-bottom: 10px;
  text-align: center;
  font-weight: bold;
}
body.page-id-20598 #moulding-insp-gallery a img { margin: 0 0 15px 0; width: 100%;}
body.page-id-20598 #moulding-insp-gallery a:hover {text-decoration: underline;}
body.page-id-20598 #moulding-insp-gallery .random-room {aspect-ratio: 16/9; object-fit: cover;}


/* 
 * Single Profile
 */
#yhdm-moulding_wrap.yhdm-moulding_single-profile .yhdm-primary .element_full-image {background: #f4f4f4;}

#yhdm-moulding_wrap.yhdm-moulding_single-profile .yhdm-secondary .element_wishlist {background: #f4f4f4;}

/* 
 * Moulding Tax Terms
 */
#yhdm-moulding_wrap .element_material-filter .yhdm-material-filter-label,
#yhdm-moulding_wrap .element_yhdm-view-switcher p {font-family: "adelle", serif; font-weight: 400; font-style: italic;}

#yhdm-view-switcher button {color: #3CA9B1; font-size: 1rem;}
#yhdm-view-switcher button[aria-pressed="true"] {background-color: #f4f4f4; color: #304F74;}

/* 
 * Wishlist
 */
.wishlist-page-buttons .button {}
.send-wishlist-email-myself.button,
.send-wishlist-email.button {margin-bottom: 0;}

/* -----------------------------------------
:: Blog
----------------------------------------- */

/* Single */

.back-to-blog {margin-bottom: .5rem;}
.back-to-blog span {font-weight: 700;}

/*body.category #primary,*/
body.tag #primary,
body.single-post #primary {padding-top: 30px;}


.blog-category-nav {/*background: #FEFAE9;*/ padding: 15px 0;}
.blog-category-nav > ul {}
.blog-category-nav > ul > li {text-transform: uppercase; font-weight: 700;}
.blog-category-nav > .dropdown.menu > li:not(.is-dropdown-submenu-parent) > a {/*color: #304F74;*/ padding-left: .5rem; padding-right: .5rem; margin: 0 .5rem;}
.blog-category-nav > ul > li.active > a,
.blog-category-nav > ul > li.is-active > a {color: #304F74; background: linear-gradient(#fff 0%, #fff 50%, #f5db6c 50%, #f5db6c 100%);}

.blog-category-nav > ul > li.active > a:hover {color: #304F74; background: linear-gradient(#fff 0%, #fff 50%, #f5db6c 50%, #f5db6c 100%);}

.blog-category-nav .is-submenu-item > a {width: 100%}
.blog-category-nav .is-submenu-item.active > a {background: #f5db6c; color: #304F74;}

body.single-post #primary .entry-header {padding-bottom: 30px;}
body.single-post #primary .entry-header .entry-title {margin-bottom: .75rem;}

body.single-post #primary .entry-content {padding-bottom: 40px;}

@media screen and (min-width: 64em) { /* Large and Up */
	
	body.single-post #primary .entry-content.p22-on-large ul,
	body.single-post #primary .entry-content.p22-on-large ol {font-size: 1.375rem;}
	
}
	
body.single-post #primary .entry-content h1,
body.single-post #primary .entry-content h2,
body.single-post #primary .entry-content h3,
body.single-post #primary .entry-content h4,
body.single-post #primary .entry-content h5,
body.single-post #primary .entry-content h6 {font-weight: 300;}

body.single-post #primary .entry-footer {border-top: solid 1px #ddd; padding-top: 20px;}
body.single-post #primary .entry-footer .tags-links {display: block;}

@media screen and (min-width: 64em) { /* Large and Up */
	body.single-post #primary .entry-footer .tags-links {display: inline-block; border-left: solid 1px #ddd; margin-left: 10px; padding-left: 10px;}
}

/* Teaser */
.type-post.teaser {text-align: center;}
.type-post.teaser .post-title {margin-bottom: .5rem;}
.type-post.teaser .entry-content {padding-bottom: 1.5rem;}
.type-post.teaser .entry-content p {margin-bottom: 0; }
.type-post.teaser .entry-meta {margin-bottom: 1rem;}
.type-post.teaser .read-more a {text-decoration: underline; font-weight: 700;}

/* Archives */
.blog-teasers {padding: 30px 0;}
.blog-teasers .teaser-cell {background: #fff; border: solid 2px #F5DB6B; }
.blog-teasers .teaser-cell .inner {padding: 30px 30px;}

@media screen and (min-width: 64em) { /* Large and Up */
	
	.blog-teasers .teaser-cell .inner {padding: 40px;}
	
	.type-post.teaser .entry-meta,
	.type-post.teaser .entry-content, 
	.type-post.teaser .read-more {font-size: 20px;}

}

#blog-cat-dropdown select {/*width: auto;*/}

/* -----------------------------------------
:: Personnel
----------------------------------------- */

body.single-yhd_personnel #primary {padding: 0;}
body.single-yhd_personnel #primary .about {padding: 30px 0; background: linear-gradient(to bottom, #ffffff 0%, #ffffff 50%, #f5db6c 50%,#f5db6c 100%);}
body.single-yhd_personnel #primary .about .inner {background: #fff; padding: 0 30px 30px 30px; /*border: solid 2px #D9D9D9;*/ }
body.single-yhd_personnel #primary .about .image-cell {text-align: center;}

body.single-yhd_personnel #primary .back-to-designers {font-weight: 700; font-size: 16px; margin-bottom: 1.5rem;}

body.single-yhd_personnel .page-header {text-align: center;}
body.single-yhd_personnel .page-header .meet-designer {font-family: "adelle", serif; font-weight: 400; font-style: italic; margin: 0 0 .5rem 0; color: #304F74; }

body.single-yhd_personnel #primary .about .contact-details {text-align: center;}
body.single-yhd_personnel #primary .about .contact-details a {color: #304F74; text-decoration: underline;}
body.single-yhd_personnel #primary .about .contact-details a:hover {color: #367c93;}

@media print, screen and (min-width: 40em) { /* Medium and Up */
	
	body.single-yhd_personnel #primary .about .contact-details li {display: inline-block; border-left: solid 1px #ccc; padding: 0 10px;}
	body.single-yhd_personnel #primary .about .contact-details li:first-child {border-left: none; padding-left: 0;}
	
}

@media screen and (min-width: 64em) { /* Large and Up */
	
	body.single-yhd_personnel #primary .about {padding: 64px 0;}
	body.single-yhd_personnel #primary .about .inner {padding: 0 60px 50px 60px; }
	body.single-yhd_personnel #primary .about .image-cell {text-align: right;}
	
	body.single-yhd_personnel .page-header {text-align: left;}
	
	body.single-yhd_personnel #primary .about .left-text {padding-right: 30px;}
	body.single-yhd_personnel #primary .about .contact-details {text-align: left;}
	
}


body.single-yhd_personnel article.type-yhd_personnel .quote-block {/*background: #FEFAE9; */padding: 64px 0;}

body.single-yhd_personnel article.type-yhd_personnel .quote {font-family: "adelle", serif; font-weight: 400; font-style: italic; color: #304F74;  line-height: 1.2;}
body.single-yhd_personnel article.type-yhd_personnel .quote p:first-of-type::before {content: open-quote;}
body.single-yhd_personnel article.type-yhd_personnel .quote p:last-of-type::after {content: close-quote;}
body.single-yhd_personnel article.type-yhd_personnel .quote p {line-height: 1.2;}
body.single-yhd_personnel article.type-yhd_personnel .quote-name {text-transform: uppercase; font-family: "effra", sans-serif; font-weight: 700; font-style: normal;}

@media screen and (min-width: 64em) { /* Large and Up */
	
	body.single-yhd_personnel article.type-yhd_personnel .quote {padding-left: 20px;} 
	
	body.single-yhd_personnel article.type-yhd_personnel .quote p {font-size: 2.5rem; line-height: 1.4}	/* px */
}


/* Gallery */
body.single-yhd_personnel .flex-gallery {padding: 64px 0;}
body.single-yhd_personnel .flex-gallery .top h2 {color: #304F74; margin-bottom: 2rem;}
body.single-yhd_personnel .flex-gallery .gallery-cell {padding: 2px;}
body.single-yhd_personnel .flex-gallery .gallery-cell img {width: 100%}
body.single-yhd_personnel .flex-gallery .buttons {padding-top: 35px;}
body.single-yhd_personnel .flex-gallery .buttons .button {margin: 0 1rem 1rem 1rem;}


/* -----------------------------------------
:: Inspiration
----------------------------------------- */

body.post-type-archive-yhd_inspiration #primary { padding-bottom: 75px;} 

body.single-yhd_inspiration #primary {padding-top: 30px; padding-bottom: 75px;} 
body.single-yhd_inspiration #primary .entry-header {margin-bottom: 40px;}
body.single-yhd_inspiration #primary .gallery-cell {padding: 2px;}

/* -----------------------------------------
:: Events
----------------------------------------- */

.tribe-events-single-event-title {color: #353435; font-family: "adelle", serif; font-weight: 400; font-style: normal; line-height: 1.2;}

.tribe-events-calendar-list .tribe-events-calendar-list__event .tribe-events-calendar-list__event-title {line-height: 1.2;}

.tribe-events-single-event-description.tribe-events-content .button {font-size: 1rem; color:#fff; font-family: "effra", sans-serif; font-weight: 700; font-style: normal;}

@media screen and (min-width: 64em) { /* Large and Up */
	
.tribe-events-single-event-description.tribe-events-content .button {font-size: 1.125rem; /* 18px */ }

}

body.post-type-archive-tribe_events .ccl-site-header #secondary-menu-nav ul > li.menu-item-18119 > a,
body.tribe_events-template-default .ccl-site-header #secondary-menu-nav ul > li.menu-item-18119 > a {text-decoration:none;}

/*
 * Month View
 */
.tribe-events-calendar-month thead,
.tribe-events-calendar-month tbody {background-color: #fff; }
.tribe-events-calendar-month tbody tr { border-bottom: 1px solid #f1f1f1; background-color: #fff; }

/* -----------------------------------------
:: Gravity Forms
----------------------------------------- */

@media only screen and (max-width:641px) {
	#primary .gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
		line-height:1;
		min-height:0;
	}
}

#primary .gform_required_legend {display: none;}
#primary .gform_wrapper.gravity-theme .gfield_required {font-size:16px; padding-inline-start:0.125em}

#primary .gform_wrapper .require-sub-labels-hide-parent.gfield_contains_required .gform-field-label--type-sub::after {content: ' *'; color: #c02b0a;}

#primary .gform_wrapper {padding-top: 1rem;}
#primary .gform_wrapper .gform_footer {padding-top: 30px;}

#primary .gform_wrapper .gfield_checkbox li,
#primary .gform_wrapper .gfield_radio li {
    margin: 0 0 .5rem 0;
    line-height: 1.2;
}
#primary .gform_wrapper .gfield_checkbox li label,
#primary .gform_wrapper .gfield_radio li label {
	display:inline;
}
#primary .gform_wrapper input[type="checkbox"],
#primary .gform_wrapper input[type="radio"] {
  margin:0 0 0 1px;
}
#primary .gform_wrapper .gfield_checkbox li label,
#primary .gform_wrapper .gfield_radio li label {
    line-height: 1.5;
    font-size: 1rem;
}

#primary .gform_wrapper.gravity-theme .gfield_checkbox label,
#primary .gform_wrapper.gravity-theme .gfield_radio label {font-size: 16px;}

#primary .gform_wrapper.gravity-theme .gfield_label,
#primary .gform_wrapper.gravity-theme .gform-field-label--type-sub {font-size: 16px; font-weight: 400; line-height: 1.2; margin-bottom: 7px;}

#primary .gform_wrapper select {padding-right:1.5rem;}

@media screen and (min-width: 64em) { /* Large and Up */
	
	#primary .gform_wrapper .gform_body,
	#primary .gform_wrapper.gravity-theme {font-size:18px;}
	
	#primary .gform_wrapper.gravity-theme .gfield_checkbox label,
	#primary .gform_wrapper.gravity-theme .gfield_radio label,
	#primary .gform_wrapper.gravity-theme .gfield_label,
	#primary .gform_wrapper.gravity-theme .gform-field-label--type-sub {font-size:18px;}
	
}

::-webkit-input-placeholder {color:#777}
::-moz-placeholder {color:#777}
:-ms-input-placeholder {color:#777}
::-ms-input-placeholder {color:#777}
::placeholder {color:#777}

/* File Upload */
.gform_drop_area .button {margin: 0; background: none; border: solid 1px #3CA9B1; color: #3CA9B1;}
.gform_drop_area .button:hover {border-color: #3CA9B1; color: #3CA9B1;}

/* Hide Max Upload */
#primary .gform_wrapper.gravity-theme .gform_fileupload_rules {display:none; }


/* Description */
#primary .gform_wrapper.gravity-theme .field_description_above.gfield--has-description .gfield_label {margin-bottom: 0;}
#primary .gform_wrapper.gravity-theme .field_description_above .gfield_description {margin-top: 0; padding: 0; padding-bottom: 7px;}

/* Section - credit apps */
.gfield--type-section .gsection_title {margin-bottom: 0; margin-top: 1rem; color: #304F74;}

/* reCAPTCHA policy text */
.recaptcha-policy-text {padding-top:10px; font-size:15px; margin-bottom: 0;}
#primary .gform_wrapper.gravity-theme .gform_footer {display: block;}
.grecaptcha-badge { visibility: hidden; }

/* -----------------------------------------
:: Search Results
----------------------------------------- */


.search-results-page-header {margin-bottom: 30px;}
.search-results-page-header h1 span {display: block; padding: 4px 0 0 0; font-family: "adelle", serif; font-weight: 400; font-style: italic; text-transform: none; font-size: 50%;}

.search-result {padding:1.5rem 0 1.5rem 0; border-bottom: solid 1px rgba(0,0,0,.25);}

.search-result h2 {margin:0 0 4px 0; font-weight: 700;}
.search-result .pt {display: inline-block; text-transform: capitalize;}
.search-result .excerpt_part:not(:empty)::before {content: '|'; color: #777; font-weight: 300; display: inline-block; margin: 0 5px;}
.search-result .excerpt_part strong {} /* Relevanssi highlight*/
.search-result p {margin:0; line-height:1.5;}


/* Pagination */
.pagination {
	padding:30px 0; 
	text-align:center; 
	font-size: 16px; 
	line-height: 1.2;
}
.pagination .page-numbers {display:inline-block;}
.pagination .current {background: #fff; color: #000; border: solid 1px rgba(0,0,0,.15);}
.pagination a,
.pagination .current {padding: 0.625rem 0.75rem;}
.pagination a {color:#000;}
.pagination a.prev,
.pagination a.next {background: #eee;}


/* -----------------------------------------
:: Gallery
----------------------------------------- */

.gallery {
	display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
	-webkit-box-orient: horizontal; -webkit-box-direction: normal;
	-webkit-flex-flow: row wrap; -ms-flex-flow: row wrap; flex-flow: row wrap; 
	margin-left: -0.625rem;
	margin-right: -0.625rem;
}
.gallery .gallery-item {
	-webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto;
	min-height: 0px;
	min-width: 0px;
	width: 100%; 
	margin: 0 0.625rem 1.25rem 0.625rem;
}
.gallery.gallery-columns-1 > .gallery-item {width: calc(100% - 1.25rem);}
.gallery.gallery-columns-2 > .gallery-item {width: calc(50% - 1.25rem);}
.gallery.gallery-columns-3 > .gallery-item {width: calc(33.33333% - 1.25rem);}
.gallery.gallery-columns-4 > .gallery-item {width: calc(25% - 1.25rem);}
.gallery.gallery-columns-5 > .gallery-item {width: calc(20% - 1.25rem);}
.gallery.gallery-columns-6 > .gallery-item {width: calc(16.66666% - 1.25rem);}
.gallery.gallery-columns-7 > .gallery-item {width: calc(14.285714% - 1.25rem);}
.gallery.gallery-columns-8 > .gallery-item {width: calc(12.5% - 1.25rem);}
.gallery.gallery-columns-9 > .gallery-item {width: calc(11.11111% - 1.25rem);}

.gallery .gallery-item .wp-caption-text {
	border-bottom: none;
	padding: 5px 0 0 0; 
}


/* -----------------------------------------
:: Classes
----------------------------------------- */

/* Captions */
.wp-caption {max-width:100%; height:auto; }
.wp-caption img {margin-bottom:7px;}
.wp-caption-text { padding-bottom:10px; line-height:1.3; font-style: italic; color:#666;}

/* Nicolas Gallagher's micro clearfix */
.cf { *zoom: 1; }
.cf:before, .cf:after { content: " "; display: table; }
.cf:after { clear: both; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden, .screen-reader-text { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

.sep {color:rgba(0,0,0,.3); display:inline-block; margin:0 5px;}

img.left, p img.left, .alignleft { margin: 0 15px 15px 0; float: left; }
img.right, p img.right, .alignright { margin: 0 0 15px 15px; float: right; }
.aligncenter {clear: both; display: block; margin-left: auto; margin-right: auto;}

.upper {text-transform:uppercase;}


.video-link-show-play {display: inline-block; position: relative;}
.video-link-show-play::before {
	content: url("../img/play-button-white-solid.svg"); 
	width: 75px; 
	height: 75px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.video-link-show-play.yellow::before {content: url("../img/play-button-yellow.svg"); }

@media screen and (min-width: 64em) { /* Large and Up */
	
	.video-link-show-play::before {width: 99px; height: 99px; }
}

