/* Artfully masterminded by ZURB  */

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

:: Type Ref
:: Shared Styles
:: Grid
:: Header
:: Header - Mobile
:: Footer
:: Home
:: Main
:: Page-Specific
:: Template-Specific
:: Blog
:: Careers
:: Featured Work
:: Gravity Forms
:: Search Results
:: Gallery
:: Classes
:: Admin

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

/*

    Mr Eaves XL Mod OT 
        Book
            font-family: "mr-eaves-xl-modern", sans-serif; font-weight: 300; font-style: normal;
        Reg
            font-family: "mr-eaves-xl-modern", sans-serif; font-weight: 400; font-style: normal;

    Mr Eaves XL San OT 
        Reg
            font-family: "mr-eaves-xl-sans", sans-serif;font-weight: 400; font-style: normal;
        Reg Italic
            font-family: "mr-eaves-xl-sans", sans-serif; font-weight: 400; font-style: italic;
        Bold
            font-family: "mr-eaves-xl-sans", sans-serif; font-weight: 700; font-style: normal;
        Heavy
            font-family: "mr-eaves-xl-sans", sans-serif; font-weight: 800; font-style: normal;

    Mrs Eaves XL Serif OT 
        Reg
            font-family: "mrs-eaves-xl-serif", serif; font-weight: 400; font-style: normal;
        Bold
            font-family: "mrs-eaves-xl-serif", serif; font-weight: 700; font-style: normal;

    Mrs Eaves XL Serif Nar OT 
        Reg Italic
            font-family: "mrs-eaves-xl-serif-narrow", serif; font-weight: 400; font-style: italic;

*/

.mrs-eaves-reg {font-family: "mrs-eaves-xl-serif", serif; font-weight: 400; font-style: normal;}


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

html {scroll-behavior: smooth;}

@media screen and (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}


body {font-family: "mr-eaves-xl-sans", sans-serif; font-weight: 400; font-style: normal; font-size: 1.125rem;}

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

/*
h1, .h1 {font-size: 1.5rem;} 		24
h2, .h2 {font-size: 1.25rem;} 		20
h3, .h3 {font-size: 1.1875rem;} 	19
h4, .h4 {font-size: 1.125rem;} 		18
h5, .h5 {font-size: 1.0625rem;} 	17
h6, .h6 {font-size: 1rem;} 			16
*/

@media print, screen and (max-width: 39.99875em) { /* Small Only */
    
    h1, .h1 {font-size: 1.75rem;} 
    
}

@media print, screen and (min-width: 40em) and (max-width: 63.99875em) { /* Medium Only */
    
    h1, .h1 {font-size: 2.5rem;}     /*  */	
    /*.h2-5 {font-size: 1.25rem;}*/      /*  */
}

@media print, screen and (min-width: 64em) { /* Large and Up */
    
    body {font-size: 1.25rem;}
	
    h1, .h1 {font-size: 3.5rem;}   /* 56 */
    .h1-48 {font-size: 3rem;}      /* 48 */
    .h2-5 {font-size: 2.25rem;}    /* 36 */
}

strong {font-weight: 800;}

/* 
 * Link Colors
 */
a {}
a:hover, a:focus {}

.button {background: #f6a800; color: #1e2b3b; border-radius: 25px; text-transform: uppercase; font-family: "mr-eaves-xl-sans", sans-serif; font-weight: 800; font-style: normal; letter-spacing: 1px; transition: all 0.25s ease-out;}

.button, .button.disabled, .button[disabled], .button.disabled:hover, .button[disabled]:hover, .button.disabled:focus, .button[disabled]:focus {
	font-size: 1rem; 
	padding: 1em 1.5em;
	letter-spacing: .5px;
}
.button:hover, .button:focus {background: #f6b72e; color: #1e2b3b;}

.button.hollow {border-color: #1e2b3b; color: #1e2b3b; border-width: 2px;}
.button.hollow:hover, .button.hollow:focus {}

@media print, screen and (min-width: 64em) { /* Large and Up */
	
	.button, .button.disabled, .button[disabled], .button.disabled:hover, .button[disabled]:hover, .button.disabled:focus, .button[disabled]:focus {
		padding: 1em 2.75em;	
	}
}

hr {max-width: none;}

.button-arrow span {display: inline-block; background: url("../img/arrow-right.svg") no-repeat right center; background-size: 22px 11px; padding-right: 29px;}



/* -----------------------------------------
:: Grid
----------------------------------------- */

.grid-container {max-width: 94.75rem; /* 1500px */} 

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

.header-announcement { padding: 10px 30px; position: relative; text-align: center; color: #fff; font-size: 1rem; }
.header-announcement a {text-decoration: underline; }

.header-announcement .close-button-announcement {
	margin: 0 0 0 0;
	display:inline-block;
	width: 24px; height: 24px;
	text-indent:-9999px;
	background: url("../img/iconfinder_Close_1031533-white.svg") no-repeat center center;
	background-size: 16px 16px;
	cursor: pointer;
	position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(-50%);
	opacity: .5;
	transition: all 0.25s ease-out;
}
.header-announcement .close-button-announcement:hover {opacity: 1;}

.site-header {background: #fff; padding:0; font-size: 1rem; box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 8px 0px; position: relative; z-index: 1;}

.site-header .site-header-top {text-align: right; background: #1e2b3b;}
.site-header .secondary-navigation ul {margin:0; list-style: none; line-height: 1.2; }
.site-header .secondary-navigation ul li {display: inline-block;  margin: 0; text-transform: none;}
.site-header .secondary-navigation ul li a {display: inline-block; color: #fff; padding: 11px 12px; }
.site-header .secondary-navigation ul li:only-child a {padding-right: 0;}
.site-header .secondary-navigation ul li.current-menu-item a {text-decoration: underline;}
.site-header .secondary-navigation ul li a:hover {}

.site-header .site-header-bottom {padding: 19px 0;}



.site-header #primary-menu {
    font-family: "mrs-eaves-xl-serif", serif; font-weight: 400; font-style: normal;
    font-size: 1.125rem;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
    
}

.site-header .dropdown.menu > li > a {color: #000;}
.site-header .dropdown.menu > li.is-dropdown-submenu-parent > a {padding-right: 2rem; /* 32px, was 24px */}
.site-header .dropdown.menu > li.is-dropdown-submenu-parent > a::after {right: 15px; border-color: #ccc transparent transparent;}

.site-header .is-dropdown-submenu {padding: 0; border-color: #fff; 
-webkit-box-shadow: 0 3px 6px 0 rgba(0,0,0,.25);
box-shadow: 0 3px 6px 0 rgba(0,0,0,.25);
}
.site-header .is-dropdown-submenu.menu a {color: #000; line-height: 1.1875;}
.site-header .is-dropdown-submenu.menu a:hover {background: rgba(232,233,235,.75);}
.site-header .is-dropdown-submenu.menu li.current-menu-item > a {text-decoration:underline;}

@media print, screen and (min-width: 75em) { /* 1200px and up */
    .search-button-width {min-width: 180px; text-align: right; }
}

#search-toggle {display: inline-block; margin: 0;}
#search-toggle span {
	display:inline-block;
	height:23px;
	width:23px;
	background:url(../img/icon-search.svg?ver=2.0) no-repeat center center;
	background-size: contain;
	text-indent:-9999px;
	text-align:left;
	opacity:1;
	cursor:pointer;
}
#search-toggle:focus {outline: none;}

#searchModal {background: rgba(30,43,59,.9); padding-top: 75px;}
#searchModal .reveal-close-button {margin: 0; background-image: url("../img/iconfinder_Close_1031533-white.svg")}
#searchModal .search-form-wrap {max-width: 1200px; margin: 0 auto;}
#searchModal .search-form {padding: 100px 0 5px 0;}
#searchModal .search-form .grid-x {background: #fff;}
#searchModal .search-form .search-field {border-color: #fff; box-shadow: none; margin-bottom: 0;}
#searchModal .search-form .button { margin-bottom: 0; border-radius: 0;}

#searchModal .search-form .search-field {margin-bottom: 0;}
#searchModal .search-form [type=search] {box-shadow: none; border-color: #fff;}
#searchModal .search-form [type=search]:focus {border-color:#fff; background: #fff; box-shadow: none;}
#searchModal .search-form .button { font-size: 1rem; padding: 0.85em 1em; margin: 0;}

#searchModal .close-button:focus, 
#searchModal .close-button:hover {color: #fff;}

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

.off-canvas {background:#fff;}
.off-canvas.is-transition-overlap.is-open {-webkit-box-shadow: none; box-shadow: none;}
.js-off-canvas-overlay {background: rgba(0, 0, 0, .85);}

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

.site-header-mobile { padding: 15px; background: #fff; box-shadow: rgba(36, 36, 36, 0.04) 0.25px -2.75px 3px 0px, rgba(36, 36, 36, 0.19) 0px 0px 9px 0px;}

#menu-mobile-toggle { margin: 12px 0 0 0; background: url("../img/iconfinder_menu_309053.svg") no-repeat center center; cursor:pointer; display:inline-block; line-height:1; font-size:1rem; background-size:contain; width: 28px; height: 28px;}

#search-toggle-mobile:focus,
#menu-mobile-toggle:focus {outline: none;}

#search-toggle-mobile {display: inline-block; margin: 0 0 0 0;}
#search-toggle-mobile span {
	display:inline-block;
	height:24px;
	width:24px;
	background: url(../img/icon-search.svg?ver=2.0) no-repeat center center;
	text-indent:-9999px;
	text-align:left;
	opacity:1;
	cursor:pointer;
}

#site-navigation-mobile {padding: 15px 0; }
#site-navigation-mobile li a:focus {outline: none;}

#primary-menu-mobile li { margin: 0; line-height: 1.2;}
#primary-menu-mobile li a {color: #000;  }
#primary-menu-mobile li.current-menu-item > a {text-decoration: underline;}

#mobileNav {padding: 15px 0; background: #fff}
#mobileNav .top {padding: 0 15px;}

#searchMobileModal {padding: 15px 0; background: #e8e9eb}
#searchMobileModal .top {padding: 0 15px;}
#searchMobileModal .reveal-close-button {margin: 0;}
#searchMobileModal .search-form-wrap {padding: 50px 15px 0 15px;}
#searchMobileModal .search-form-wrap .grid-x {background: #fff;}
#searchMobileModal .search-form-wrap .search-form {background: #fff;}
#searchMobileModal .search-form-wrap .search-field {margin-bottom: 0;}
#searchMobileModal .search-form-wrap .button { font-size: 1rem; padding: 0.85em 1.25em; margin: 0; border-radius: 0;}
#searchMobileModal .search-form-wrap [type=search] {box-shadow: none; border-color: #fff;}
#searchMobileModal .search-form-wrap [type=search]:focus {border-color:#fff; background: #fff; box-shadow: none;}

.reveal-close-button {
	margin: 0;
	display:inline-block;
	width: 28px; height: 28px;
	text-indent:-9999px;
	background: url("../img/iconfinder_Close_1031533.svg") no-repeat center center;
	background-size: 22px 22px;
	cursor: pointer;
}


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

.site-footer {background: #1e2b3b; padding: 100px 0 70px 0; color: #fff; text-align: center;}

.site-footer-top {padding-bottom: 30px; color: #fff;}
.site-footer-top a { color: #fff;}
.site-footer-top a:hover, .site-footer-top a:focus {}

.site-footer .contact-info {font-size: 1.125rem; font-family: "mrs-eaves-xl-serif", serif; font-weight: 400; font-style: normal;}
.site-footer .contact-info li {line-height: 1.2; margin: 0 0 10px 0; color: #e9eaec;}
.site-footer .contact-info strong {text-transform: uppercase; letter-spacing: 3px; font-size: 1.1875rem; font-weight: 700; color: #fff;}
.site-footer .contact-info a:hover, .site-footer .contact-info a:focus {color: #f6a800;}

.footer-social-wrap { padding-bottom: 15px; }
.footer-social {margin: 0; }
.footer-social li {display:inline-block;}
.footer-social li a {display: inline-block; margin: 0 10px 12px 10px; }
.footer-social li a img {border-radius: 20px; border: solid 1px #f6a800;}

.site-footer-bottom {color: #a5a9af; font-size: 1.125rem;}
.site-footer-bottom a {color: #a5a9af; text-decoration: underline;}
.site-footer-bottom a:hover, .site-footer-bottom a:focus {color: #fff;}

a.back-to-top {
	position: fixed; 
	bottom: 10px; 
	right: 10px; 
	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 {}

/* -----------------------------------------
:: Home
----------------------------------------- */

body.home .video-hero {background-repeat: no-repeat; background-position: center center; background-size: cover;}


.home-flex-layout_split {text-align: center; margin: 100px 0 100px 0;}
.home-flex-layout_split#home-row-1 {margin-bottom: 60px;}
.home-flex-layout_split .grid-container {max-width: 90rem; /* 1440px */}
.home-flex-layout_split .grid-x {background: #f6f6f6}
.home-flex-layout_split .grid-x .text {text-align: center; padding: 30px; color: #575b5d;}
.home-flex-layout_split .grid-x .title {line-height: 1.0625;}
.home-flex-layout_split .grid-x .title em {font-family: "mrs-eaves-xl-serif-narrow", serif; font-weight: 400; font-style: italic;}
.home-flex-layout_split .grid-x .buttons {margin-top: 2rem;}
.home-flex-layout_split .grid-x .buttons .button {}

@media screen and (min-width: 64em) { /* Large and Up */
    .home-flex-layout_split .grid-x .text {text-align: center; padding: 50px 85px;}
}

.home-flex-layout_logos {margin: 70px 0;}
.home-flex-layout_split + .home-flex-layout_logos {margin: 0 0 70px 0;}
.home-flex-layout_logos .group + .group  {padding: 30px 0 0 0;}
.home-flex-layout_logos .title {font-size: 1.125rem; text-transform: uppercase; font-weight: 800; letter-spacing: .5px;}
.home-flex-layout_logos .logo {display: inline-block; max-width:150px; margin: 30px;}
.home-flex-layout_logos .logo img {filter: grayscale(1); transition: all 0.25s ease-out;}
.home-flex-layout_logos .logo img:hover {filter: grayscale(0);}

.home-flex-layout_full {margin: 50px 0;}
.home-flex-layout_full .text {padding: 20px 0px; color: #2b2b2b;}
.home-flex-layout_full .text ul {color: #2b2b2b;}
.home-flex-layout_full .text ul li {line-height: 1.2; margin-bottom: .5rem;}
.home-flex-layout_full .text p {line-height: 1.25;}

@media screen and (max-width: 63.99875em) { /* Small and Medium */
	.home-flex-layout_full {background-image: none !important;}
}

@media print, screen and (min-width: 64em) { /* Large and Up */
	.home-flex-layout_full {background-repeat: no-repeat; background-size: cover; background-position: center center; margin: 100px 0;} 
    .home-flex-layout_full .grid-y {min-height: 750px;}
	.home-flex-layout_full .text {
        margin: 50px 0;
        padding: 40px 40px;
        background:rgba(255,255,255,.9);
	}

}

.home-flex-layout_split-thirds {margin: 100px 0 100px 0;}
.home-flex-layout_split-thirds .grid-x .text { color: #575b5d; padding: 15px 0;}
.home-flex-layout_split-thirds .grid-x .title {line-height: 1.0625; margin-bottom: .5rem;}
.home-flex-layout_split-thirds .grid-x .sub-title {font-family: "mr-eaves-xl-sans", sans-serif; font-weight: 400; font-style: italic;}
.home-flex-layout_split-thirds .grid-x .buttons {margin-top: 2rem;}
.home-flex-layout_split-thirds .grid-x .buttons .button {}

@media print, screen and (min-width: 64em) { /* Large and Up */
    .home-flex-layout_split-thirds .grid-x .text-on-left {padding-right: 50px;}
    .home-flex-layout_split-thirds .grid-x .text-on-right {padding-left: 50px;}
}

.home-flex-layout_two-up {background: #222342; padding: 90px 0;}
.home-flex-layout_two-up .title {color: #fff; font-family: "mrs-eaves-xl-serif-narrow", serif; font-weight: 400; font-style: italic; margin-bottom: 65px;}
.home-flex-layout_two-up .block-link {display: block; position: relative;}
.home-flex-layout_two-up .block-link h3 {margin: 0; padding: 0 20px 30px 40px; color: #fff; position: absolute; bottom: 0; left: 0; line-height: 1;}
.home-flex-layout_two-up .block-link::before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.66) 100%)
}

.home-flex-layout_four-up {margin: 100px 0 90px 0; padding: 0 5px;}
.home-flex-layout_four-up .block-link {display: block; margin: 5px; position: relative;}
.home-flex-layout_four-up .block-link h3 {margin: 0; padding: 0 15px 25px 30px; color: #fff; position: absolute; bottom: 0; left: 0; line-height: 1;}
.home-flex-layout_four-up .block-link::before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.66) 100%)
}

.home-flex-layout_difference {margin: 80px 0; }
.home-flex-layout_difference .title {margin-bottom: 3.5rem;}
.home-flex-layout_difference .icon-wrap {width: 40px;}
.home-flex-layout_difference .icon-wrap img {}
.home-flex-layout_difference .text {padding: 0 0 0 25px;}
.home-flex-layout_difference .gold-title {color: #be882a; font-family: "mrs-eaves-xl-serif", serif; font-weight: 700; font-style: normal; margin-bottom: .75rem;}
.home-flex-layout_difference .text p {color: #666; line-height: 1.4;}
.home-flex-layout_difference .text .link {text-decoration: underline; color: #000}

@media print, screen and (min-width: 64em) { /* Large and Up */
    .home-flex-layout_difference .text {padding-right: 15px;}
}

.home-flex-layout_testimonials {background: #6e7275; color: #fff; padding: 100px 0 90px 0;}
.home-flex-layout_testimonials .title {color: #fff; font-family: "mrs-eaves-xl-serif-narrow", serif; font-weight: 400; font-style: italic; margin-bottom: 1.5rem;}
.home-flex-layout_testimonials .testimonial {}
.home-flex-layout_testimonials .quote {background: url("../img/icon-quotes.svg") no-repeat top center; background-size: 40px 33px; padding-top: 40px;}
.home-flex-layout_testimonials .quote p {line-height: 1.4;}
.home-flex-layout_testimonials .name {font-family: "mr-eaves-xl-sans", sans-serif; font-weight: 800; font-style: normal;}
.home-flex-layout_testimonials .company {text-transform: uppercase; font-size: 1.125rem;}

@media print, screen and (min-width: 64em) { /* Large and Up */
    .home-flex-layout_testimonials .testimonial {padding: 0 15px;}
    .home-flex-layout_testimonials .quote {background-size: 60px 50px; padding-top: 70px; padding-bottom: 20px;}

}

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

#primary {padding:40px 0 40px 0;}

@media screen and (min-width: 64em) { /* Large and Up */
   #primary {padding:80px 0 80px 0;} 
}


.breadcrumbs {margin: 0; padding: 12px 0; font-size: 0.875rem;}
.breadcrumbs a, .breadcrumbs span {color: #000;}

.breadcrumb-and-title {padding-bottom: 30px;}
.breadcrumb-and-title h1 {text-align: center; margin-bottom: 0;}

/*
 * Page Banner
 */
.hero-overlay {}
.hero-overlay .hero-img {width: 100%;}
.hero-overlay .text {padding: 30px 0;}

@media screen and (max-width: 63.99875em) { /* Small and Medium */
	.hero-overlay {background-image: none !important; text-align: center;}
    .hero-overlay .text {padding: 30px 0 0 0;}
}

.hero-overlay .text h1 {line-height: 1; margin-bottom: 0; }
.hero-overlay .text h2 {margin: .125rem 0 0 0; font-family: "mrs-eaves-xl-serif-narrow", serif; font-weight: 400; font-style: italic;}
.hero-overlay .text .buttons {padding: 15px 0 0 0;}
.hero-overlay .text .buttons .button {margin: 0; }
.hero-overlay .text .buttons .button:not(.hollow) span {display: inline-block; background: url("../img/arrow-right.svg") no-repeat right center; background-size: 22px 11px; padding-right: 29px;}

@media print, screen and (min-width: 64em) { /* Large and Up */
	.hero-overlay {background-repeat: no-repeat; background-size: cover; background-position: center center;}
	.hero-overlay .grid-y {min-height: 620px;}
	.hero-overlay .text {
        padding: 150px 10px 45px 10px;
        background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%);
	}
    .hero-overlay .text h1 {color: #fff; letter-spacing: -.5px;}
    .hero-overlay .text h2 {color: #e7e7e7;}
    .hero-overlay .text .buttons {text-align: right; padding: 0 0 5px 0;}
	
}


/*
 * Intro
 */
.intro-text { margin: 0 0 60px 0; font-size: 1.25rem; line-height: 1.5; color: #262728; text-align: center;}
.intro-text p {font-size: 1.25rem; line-height: 1.5; color: #262728;}


.intro-links {text-align: center;}
.intro-links a {margin-right: 5px; }
.intro-links a:last-child {margin-right: 0;}

@media print, screen and (min-width: 64em) { /* Large and Up */
	
	.intro-text {margin: 0 10px 90px 10px; font-size: 1.5rem; }
	.intro-text p {font-size: 1.5rem; }
	
}

p.lead {font-size: 1.125rem /* 18px */; line-height: 1.33333;}

@media print, screen and (min-width: 64em) { /* Large and Up */
	
	p.lead { font-size: 1.5rem; }
	
}



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

/*
 * History Timeline
 */
.history-timeline {margin: 30px 0;}
.history-timeline .year {line-height: 1.2; margin-bottom: .125rem;}
.history-timeline .text {}
.history-timeline img {margin-top: 1.25rem;}

@media screen and (min-width: 64em) { /* Large and Up */
	.history-timeline {
		background-image: linear-gradient(#666, #666);
		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: 12px;
		background: #fff;
		border: solid 1px #666;
		border-radius: 50%;
		width: 14px;
		height: 14px;
		content: '';
	}
	.history-timeline .odd .wrap::after {
		position: absolute; 
		right: -22px; 
		top: 12px;
		background: #fff;
		border: solid 1px #666;
		border-radius: 50%;
		width: 14px;
		height: 14px;
		content: '';
	}
}

/*
 * Contact 
 */
body.page-template-template_Contact .entry-content {padding-top: 20px;}
body.page-template-template_Contact .contact-details-callout {margin-top: 1.25rem; padding-bottom: 2rem; display: inline-block; background: #f6f6f6; border-color: rgba(0,0,0,.05)}
body.page-template-template_Contact .contact-details-callout .google-map {margin-bottom: 1rem;}
/*body.page-template-template_Contact .contact-details-callout h2 {margin-bottom: .25rem;}*/


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



/*
 * Sub-Pages
 */
body.page-template-template_SubPages .intro-text {margin-bottom: 0;}
.sub-pages {margin: 70px 0 0 0;}
.sub-pages .sub-page {padding-bottom: 30px;}
.sub-pages .sub-page img {margin: 0 0 1rem 0;}
.sub-pages .sub-page .teaser {padding-bottom: 1rem;}
.sub-pages .sub-page .text {padding-bottom: 30px;}
.sub-pages .sub-page .text .title {margin: 0 0 .5rem 0;}


/*
 * Leadership 
 */
.leadership-listing {padding-top: 30px;}


/*
 * Flex Page
 */
body.page-template-template_FlexPage #primary {padding-bottom: 0;}

.flex-layout_split {text-align: center; margin: 100px 0 100px 0;}
.flex-layout_split#flex-row-1 {margin-top: 0;}
.flex-layout_split .grid-container {max-width: 90rem; /* 1440px */}
.flex-layout_split .grid-x {background: #f6f6f6}
.flex-layout_split .grid-x .text {text-align: center; padding: 30px; color: #575b5d;}
.flex-layout_split .grid-x .title {line-height: 1.0625;}
.flex-layout_split .grid-x .title em {font-family: "mrs-eaves-xl-serif-narrow", serif; font-weight: 400; font-style: italic;}
.flex-layout_split .grid-x .buttons {margin-top: 2rem;}
.flex-layout_split .grid-x .buttons .button {}

@media screen and (min-width: 64em) { /* Large and Up */
    .flex-layout_split .grid-x .text {text-align: center; padding: 50px 85px;}
}
.flex-layout_full {margin: 50px 0;}
.flex-layout_full .text {padding: 20px 0px; color: #2b2b2b;}
.flex-layout_full .text ul {color: #2b2b2b;}
.flex-layout_full .text ul li {line-height: 1.2; margin-bottom: .5rem;}
.flex-layout_full .text p {line-height: 1.25;}

@media screen and (max-width: 63.99875em) { /* Small and Medium */
	.flex-layout_full {background-image: none !important;}
}

@media print, screen and (min-width: 64em) { /* Large and Up */
	.flex-layout_full {background-repeat: no-repeat; background-size: cover; background-position: center center; margin: 100px 0;} 
    .flex-layout_full .grid-y {min-height: 750px;}
	.flex-layout_full .text {
        margin: 50px 0;
        padding: 40px 40px;
        background:rgba(255,255,255,.9);
	}

}

.flex-layout_split-thirds {margin: 100px 0 100px 0;}
.flex-layout_split-thirds .grid-x .text { color: #575b5d; padding: 15px 0;}
.flex-layout_split-thirds .grid-x .title {line-height: 1.0625; margin-bottom: .5rem;}
.flex-layout_split-thirds .grid-x .sub-title {font-family: "mr-eaves-xl-sans", sans-serif; font-weight: 400; font-style: italic;}
.flex-layout_split-thirds .grid-x .buttons {margin-top: 2rem;}
.flex-layout_split-thirds .grid-x .buttons .button {}

@media print, screen and (min-width: 64em) { /* Large and Up */
    .flex-layout_split-thirds .grid-x .text-on-left {padding-right: 50px;}
    .flex-layout_split-thirds .grid-x .text-on-right {padding-left: 50px;}
}

.flex-layout_two-up {background: #222342; padding: 90px 0;}
.flex-layout_two-up .title {color: #fff; font-family: "mrs-eaves-xl-serif-narrow", serif; font-weight: 400; font-style: italic; margin-bottom: 65px;}
.flex-layout_two-up .block-link {display: block; position: relative;}
.flex-layout_two-up .block-link h3 {margin: 0; padding: 0 20px 30px 40px; color: #fff; position: absolute; bottom: 0; left: 0; line-height: 1;}
.flex-layout_two-up .block-link::before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.66) 100%)
}

.flex-layout_four-up {margin: 100px 0 90px 0; padding: 0 5px;}
.flex-layout_four-up .block-link {display: block; margin: 5px; position: relative;}
.flex-layout_four-up .block-link h3 {margin: 0; padding: 0 15px 25px 30px; color: #fff; position: absolute; bottom: 0; left: 0; line-height: 1;}
.flex-layout_four-up .block-link::before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.66) 100%)
}

.flex-layout_difference {margin: 80px 0; }
.flex-layout_difference .title {margin-bottom: 3.5rem;}
.flex-layout_difference .icon-wrap {width: 40px;}
.flex-layout_difference .icon-wrap img {}
.flex-layout_difference .text {padding: 0 0 0 25px;}
.flex-layout_difference .gold-title {color: #be882a; font-family: "mrs-eaves-xl-serif", serif; font-weight: 700; font-style: normal; margin-bottom: .75rem;}
.flex-layout_difference .text p {color: #666; line-height: 1.4;}
.flex-layout_difference .text .link {text-decoration: underline; color: #000}

@media print, screen and (min-width: 64em) { /* Large and Up */
    .flex-layout_difference .text {padding-right: 15px;}
}

.flex-layout_testimonials {background: #6e7275; color: #fff; padding: 100px 0 90px 0;}
.flex-layout_testimonials .title {color: #fff; font-family: "mrs-eaves-xl-serif-narrow", serif; font-weight: 400; font-style: italic; margin-bottom: 1.5rem;}
.flex-layout_testimonials .testimonial {}
.flex-layout_testimonials .quote {background: url("../img/icon-quotes.svg") no-repeat top center; background-size: 40px 33px; padding-top: 40px;}
.flex-layout_testimonials .quote p {line-height: 1.4;}
.flex-layout_testimonials .name {font-family: "mr-eaves-xl-sans", sans-serif; font-weight: 800; font-style: normal;}
.flex-layout_testimonials .company {text-transform: uppercase; font-size: 1.125rem;}

@media print, screen and (min-width: 64em) { /* Large and Up */
    .flex-layout_testimonials .testimonial {padding: 0 15px;}
    .flex-layout_testimonials .quote {background-size: 60px 50px; padding-top: 70px; padding-bottom: 20px;}

}

.flex-layout_custom {margin: 80px 0;}
.flex-layout_custom#flex-row-1 {margin-top: 0;}

/*
 * Downloads
 */
.downloads-section {padding: 30px 0 0 0;}
.downloads-section .button {padding: 1em;}

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

/*
 * Teaser
 */
.teaser.type-post .thumb {margin: 0 0 12px 0;}
.teaser.type-post a .entry-meta {color: #666;}
.teaser.type-post a:hover .entry-title {text-decoration: underline;}


/*
 * Single Post
 */
body.single-post #primary .entry-header {padding-bottom: 1rem;}
body.single-post #primary .entry-header .updated,
body.single-post #primary .entry-header .byline {display: none;}

body.single-post #primary .entry-content {padding: 0 0 2rem 0;}

body.single-post #primary .entry-footer {border-top: solid 1px #ddd; padding-top: 1rem; clear: both;}
body.single-post #primary .entry-footer .edit-link {display: none;}

body.single-post #primary .entry-footer .tags-links {display: block;}

@media print, screen and (min-width: 40em) { /* Medium and Up */
	.text-right-on-medium-up {text-align: right;}
}

/*
 * Sidebar
 */
#blog-sidebar .widget_block {padding: 0 0 32px 0;}
#blog-sidebar .widget_block:nth-last-of-type(1) {padding-bottom: 0;}
#blog-sidebar .wp-block-group h2 {line-height: 1.2; font-size: 1.25rem; margin: 0 0 1rem 0;}

#blog-sidebar .wp-block-latest-posts__list {margin: 0;}
#blog-sidebar .wp-block-latest-posts__list li {line-height: 1.2; margin: 0 0 20px 0;}
#blog-sidebar .wp-block-latest-posts__list li:last-child {margin-bottom: 0;}
#blog-sidebar .wp-block-latest-posts__list li a {}
#blog-sidebar .wp-block-latest-posts__list li time {font-size: 14px;}


/* -----------------------------------------
:: Careers
----------------------------------------- */

/*
 * Archive
 */
.career-teaser-cell {border: solid 2px rgba(0, 0, 0,.15); }
.career-teaser-cell:hover {border-color: rgba(0, 0, 0,.3);}
.career-teaser a {color: #666; display: block; padding: 20px 20px 30px 20px;}
.career-teaser a h2 { margin: 0 0 .75rem 0; }
.career-teaser .entry-content {line-height: 1.5;}

/*body.post-type-archive-yhd_careers #primary {padding-bottom: 50px;}*/

/*
 * Single
 */
body.single-yhd_careers .career-attributes {}
body.single-yhd_careers .career-attributes li {display: inline-block; border-left:solid 1px rgba(0,0,0,.15); margin-left: 10px; padding-left: 10px;}
body.single-yhd_careers .career-attributes li:first-child {border-left: none; margin-left: 0; padding-left: 0;}

body.single-yhd_careers .intro-text {padding-bottom: 0;}

body.single-yhd_careers #career_block-disclaimer {padding-top:30px;}
body.single-yhd_careers #career_block-disclaimer p {line-height: 1.3; font-size: 14px;}




/* -----------------------------------------
:: Featured Work
----------------------------------------- */

body.post-type-archive-yh-featured-work .page-header {margin-bottom: 40px;}

/*
 * Teaser
 */
.teaser.yh-featured-work {margin: 10px 0 50px 0;}
.teaser.yh-featured-work img {border: solid 1px rgba(255,255,255,0); width: 100%;}
.teaser.yh-featured-work .entry-title {margin-bottom: 1rem; line-height: 1.2;}
.teaser.yh-featured-work a:hover .entry-title {}
.teaser.yh-featured-work .button.hollow {margin-bottom: 0;}
.teaser.yh-featured-work a:hover .button.hollow {}

/*
 * Single
 */
body.single-yh-featured-work #primary .logo-by-row {padding-bottom: 30px; }
body.single-yh-featured-work #primary .logo-by {width: 200px;}
body.single-yh-featured-work #primary .featured-gallery {margin: 20px 0;}

body.single-yh-featured-work #primary .breadcrumb-and-title.has-logo {padding-bottom: 15px;}
body.single-yh-featured-work #primary .breadcrumb-and-title.has-logo h1 {}

body.single-yh-featured-work #primary .gallery-single {margin: 25px 0 75px 0;}
body.single-yh-featured-work #primary .gallery-single > h2 {margin-bottom: 2rem;}
body.single-yh-featured-work #primary .gallery-single .gallery-single-imgs {}


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

#content .gform_wrapper {margin-top: 0;}

#content .gform_wrapper .gfield_label {color: #000;}

#content .gform_wrapper .gsection {
	background:rgb(238, 238, 238);
    border-bottom: solid 1px #ddd;
    padding: 10px;
	line-height:1;
	margin:2rem 0 1rem 0;
}
#content .gform_wrapper .gform_fields > .gsection:first-child {margin-top: 0;}

#content .gform_wrapper .gsection .gsection_title {margin:0; font-size:1rem; text-transform:uppercase;}

#content .gform_wrapper .gfield_required {font-style:normal; font-weight: normal; margin-left:2px;}

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


input::-webkit-input-placeholder, textarea::-webkit-input-placeholder,
input::-moz-placeholder, textarea::-moz-placeholder,
input:-ms-input-placeholder, textarea:-ms-input-placeholder,
input::placeholder, textarea::placeholder {
	color: #222;
}

::-webkit-input-placeholder {
	color: #222;
}
:-ms-input-placeholder {
	color: #222;
}
::-ms-input-placeholder {
	color: #222;
}
::placeholder {
	color: #222;
}

/* File Upload */
#content .gform_legacy_markup_wrapper ul.gform_fields:not(.top_label) .gform_fileupload_multifile .gform_drop_area {width: 100%; margin-left: 0;}
.gform_drop_area .button {margin: 0;/* background: none; border: solid 1px #fff; color: #fff;*/}
.gform_drop_area .button:hover {/*border-color: #e1d148; color: #e1d148;*/}

/* Hide Max Upload */
#content .ginput_container_fileupload .gform_fileupload_rules {display:none;}

/* Request a Quote - Date Drop-down */
#content .gform_legacy_markup_wrapper ul.gform_fields:not(.top_label) #input_5_29 .clear-multi {width: 100%; margin-left: 0;}

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

body.search-results #primary {padding: 60px 0;}
body.search-results #primary .page-header {margin-bottom: 50px;}
body.search-results #primary .page-header .search-term { font-style: italic;}
body.search-results #primary .page-header .search-term::before {content: open-quote;}
body.search-results #primary .page-header .search-term::after {content: close-quote;}

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

.search-result {padding:1rem 0; border-top: solid 1px #ddd;}
.search-result a h2 {color: inherit}
.search-result a:hover h2 {text-decoration: underline}
.search-result h2 {margin:0 0 4px 0; font-size:1.25rem; font-weight: bold; font-style: normal;}
.search-result .search-permalink {
	line-height: 1.2;
	display: block;
	margin:0 0 3px 0; 
	font-size: 14px;
	color: #666;
	-ms-word-break: break-all; word-break: break-all; word-break: break-word;
}
.search-result p {margin:0; line-height:1.5;}
.search-result .posted-on {color:#888;}

/* -----------------------------------------
:: 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;
	-webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
}
.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);}

@media print, screen and (min-width: 40em) and (max-width: 63.99875em) { /* Medium Only */
	
	.gallery.gallery-columns-6 > .gallery-item {width: calc(25% - 1.25rem);}
	
}
@media print, screen and (max-width: 39.99875em) {/* Small Only */

	.gallery.gallery-columns-6 > .gallery-item {width: calc(33.33333% - 1.25rem);}

}

.gallery .gallery-item .wp-caption-text {display: none; }

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

@media print, screen and (min-width: 64em) {
	
	.large-up-9 > .cell {width: 11.11111%; } 
	.grid-margin-x.large-up-9 > .cell {width: calc(11.11111% - 1.875rem); }
	
	.large-up-10 > .cell {width: 10%; } 
	.grid-margin-x.large-up-10 > .cell {width: calc(10% - 1.875rem); }
}


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

table.unstriped.lumber-chart {margin-bottom: 60px; }
table.unstriped.lumber-chart thead {background-color:#eee; }

/* -----------------------------------------
:: Admin
----------------------------------------- */

/*#wpadminbar {position: sticky;}*/

