/*   
Theme Name: Nicholas James Fine Woodworking
Author: Sandlapper Creative
Author URI: http://www.sandlappercreative.com
Version: 1.0
*/

/*Reset*/
a,hr{padding:0}a,input[type=checkbox]{vertical-align:baseline}article,aside,figure,footer,header,hgroup,hr,img.aligncenter,nav,section{display:block}abbr,address,article,aside,audio,b,blockquote,body,caption,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var,video{border:0;outline:0;font-size:100%;vertical-align:baseline;background:0 0;margin:0;padding:0}td,td img{vertical-align:top}embed,img,object{max-width:100%;height:auto;}html{overflow-y:scroll}ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:none}a{font-size:100%;background:0 0;margin:0}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted #000;cursor:help}.alignleft,img.alignleft{float:left;margin:15px 15px 15px 0}alignright,img.alignright{float:right;margin:15px 0 15px 15px}.aligncenter,img.aligncenter{margin:15px auto}table{border-collapse:collapse;border-spacing:0;font:100%}th{vertical-align:bottom}td{font-weight:400}hr{height:1px;border:0;border-top:1px solid #ccc;margin:1em 0}input,select{vertical-align:middle}pre{white-space:pre-line;word-wrap:break-word}input,select,textarea{font:99% sans-serif}a:active,a:hover{outline:0}small{font-size:85%}strong,th{font-weight:700}sub,sup{font-size:75%;line-height:0;position:relative}sup{top:-.5em}sub{bottom:-.25em}code,kbd,pre,samp{font-family:monospace,sans-serif}.clickable,button,input[type=button],input[type=submit],label{cursor:pointer}button,input,select,textarea{margin:0}button{width:auto;overflow:visible}.ie7 img{-ms-interpolation-mode:bicubic}.ie6 html{filter:expression(document.execCommand("BackgroundImageCache",false,true))}.clearfix:after,.clearfix:before{content:"\0020";display:block;height:0;overflow:hidden}.clearfix:after{clear:both}.clearfix{zoom:1}.ie6 input,input[type=radio]{vertical-align:text-bottom}


/*Styles*/

body{}
body, select, input, textarea{ font-family: "Nunito Sans", Helvetica, Arial, sans-serif;}

a{ color: #99836a;}
a:hover, a:focus{ color: #000;}
.button, button{ -webkit-appearance: none; display: inline-block; font-size: 14px; line-height: 14px; font-weight: 600; letter-spacing: .2em; text-decoration: none; text-transform: uppercase; border: 2px solid #99836a; color: #3c3c3c; padding: 25px 80px; font-family: "Nunito Sans", Helvetica, Arial, sans-serif;}
.button:hover, button:hover, .button:focus, button:focus{ border: 2px solid #3c3c3c; color: #fff; background-color: #3c3c3c;}
.screen-reader{ position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden;}
a, img, .button, button{ transition: all .3s ease 0s;}

h1, h2, h3, h4, h5, h6{ line-height: normal; font-family: "EB Garamond", Georgia, Times, "Times New Roman", serif; font-weight: 600;}
h1{}
h2{ font-size: 36px;}
h3{ font-size: 30px;}
h4{ font-size: 24px;}
h5{ font-size: 21px;}
h6{ font-size: 18px;}

.page-wrap{}
.wrapper, .container{ width: 90%; max-width: 1400px; margin: 0 auto;}
.wrapper:after{ content: ""; display: table; clear: both;}
.container{ display: flex; justify-content: space-between;}

nav ul{ list-style: none; position: relative; float:left; margin:0; padding:0;}
nav ul a{ display: block; line-height: 32px; text-decoration: none;}
nav ul li{ position: relative; float: left; margin: 0; padding: 0;}
nav ul li.current-menu-item a, .nav ul li:hover > a{}
nav ul ul{ display: none; position: absolute; top: 100%; left: 0; padding: 0; text-align: left;}
nav ul ul li{ float: none; width: 200px;}
nav ul ul a{ line-height: 120%;}
nav ul ul ul{ top: 0; left: 100%;}
nav ul li:hover > ul{ display: block;}

.header{ position: absolute; top: 0; left: 0; right: 0; width: 100%; margin: auto; z-index: 9;}
.header .logo{ max-width: 250px; display: block; margin: 0 auto;}
.rmp_menu_trigger:hover, .rmp_menu_trigger:active, .rmp_menu_trigger:focus{ border: none !important;}
.rmp-container{ width: 100% !important; font-family: "EB Garamond", Georgia, Times, "Times New Roman", serif;}
.rmp-container img{ max-width: 250px !important;}
.rmp-menu-additional-content{ margin-bottom: 0 !important; padding-bottom: 0 !important;}
.rmp-menu-item-link{ padding-right: 0 !important;}
.rmp-menu-subarrow{ display: none !important;}
#rmp_menu_trigger-91 .rmp-trigger-box{ width: 30px;}

.content{ color: #3c3c3c;}
.content p{ margin-top: 15px;}
.content ul{ list-style: disc; margin: 15px 0 0 30px;}
.content ol{ margin: 15px 0 0 30px;}
.meta{}

.sidebar{}

.navigation{ padding: 0; text-align: center;}
.navigation li a, .navigation li a:hover, .navigation li.active a, .navigation li.disabled{ color: #fff; text-decoration: none;}
.navigation li{ display: inline;}
.navigation li a, .navigation li a:hover, .navigation li.active a, .navigation li.disabled{ background-color: #666; cursor: pointer;}
.navigation li a:hover, .navigation li.active a{ background-color: #333;}

.search-form{}
.search-input{}
.search-submit{}

.footer{ text-align: center; background-color: #a08b74; color: #fff; font-size: 14px; padding: 40px 0 60px;}
.footer img{ max-width: 80px; margin-bottom: 20px;}
.footer .credits a{ font-size: 12px; color: #cbb7a1; text-decoration: none;}
.footer .credits a:hover{ color: #fff;}

.video-wrapper{ position: relative; padding-bottom: 56.25%; height: 0;}
.video-wrapper iframe{ position: absolute; top: 0; left: 0; width: 100%; height: 100%;}


.hero{ text-align: center; background-size: cover; background-position: center center; height: calc(100vh - 60px); position: relative;}
.hero .container{ display: flex; justify-content: center; align-items: center; flex-direction: column; position: absolute; top: 0; left: 0; height: 100%; width: 100%; max-width: 100%; background: -moz-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.5) 1%, rgba(0,0,0,0.3) 100%); background: -webkit-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.5) 1%, rgba(0,0,0,0.3) 100%); background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.5) 1%, rgba(0,0,0,0.3) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#85000000', endColorstr='#4d000000', GradientType=0); color: #fff; font-size: 21px; line-height: 28px; font-family: "EB Garamond", Georgia, Times, "Times New Roman", serif; padding: 0 10%; box-sizing: border-box;}
.hero .lede{ font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 21px; line-height: 21px; font-weight: 600; text-transform: uppercase; color: #99836a; letter-spacing: .2em; margin: 0 auto 20px;}
.hero h1{ font-size: 60px; line-height: 60px; text-transform: uppercase; letter-spacing: .075em;}
.hero h1:after{ content: ""; display: block; height: 2px; max-width: 400px; background-color: #99836a; margin: 25px auto 20px;}
.hero p{ max-width: 515px; margin: 0 auto;}
.hero .button{ position: absolute; bottom: 40px; left: 0; right: 0; margin: auto; max-width: 275px; color: #fff; box-sizing: border-box;}
.hero .button:hover{ background-color: #99836a; border: 2px solid #99836a;}
.hero:after{ content: ""; display: block; width: 100%; height: 60px; background-image: url(images/wood-texture.jpg); background-size: cover; background-position: center center; background-attachment: fixed; position: absolute; bottom: -60px;}

.gform_wrapper{ margin-top: 60px;}
.gform_body input, .gform_body textarea{ border: none; background: none; border: 1px solid #99836a; padding: 30px !important;}
.gform_footer{ justify-content: flex-end;}
.gform_footer .button{ background: none;}
.gform_footer .button:hover{ background-color: #3c3c3c;}


/* Homepage */

.home .intro .container{ padding: 120px 0 80px; border-bottom: 2px solid #927d66; margin-bottom: 80px;}
.home .intro .column{ width: 46%;}
.home .intro h2{ font-size: 42px; line-height: 48px; text-align: right; color: #927d66; margin-bottom: 40px;}
.home .intro p:nth-of-type(1){ margin-top: 0; font-size: 18px; line-height: 38px;}
.home .intro .button{ margin-top: 40px;}
.testimonials{ text-align: center; margin-bottom: 120px; font-size: 26px; line-height: 48px; font-family: "EB Garamond", Georgia, Times, "Times New Roman", serif;}
.testimonials .wrapper{ max-width: 900px;}
.testimonials h2{ font-size: 36px; line-height: 48px; max-width: 750px; margin: 0 auto;}
.testimonials h2 span{ color: #927d66;}


/* Projects */

.project-grid{ margin-top: 60px; display: flex; flex-wrap: wrap; justify-content: center;}
.project-grid article{ flex: 0 0 25%; background-size: cover; background-position: center center; position: relative;}
.project-grid .project-overlay{ background: rgba(0,0,0,.3); width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; text-align: center; position: relative; padding: 0 10%; box-sizing: border-box; transition: all .3s ease 0s;}
.project-grid .project-overlay:after{ content: ""; padding-bottom: 120%; display: block;}
.project-grid h2{ color: #fff; text-decoration: none; text-transform: uppercase; font-size: 24px; line-height: 24px; font-weight: 600; letter-spacing: .075em; font-family: "Nunito Sans", Helvetica, Arial, sans-serif;}
.project-grid article:hover .project-overlay{ opacity: 0; transition: all .3s ease 0s;}
.project-grid a{ position: absolute; top: 0; left: 0; width: 100%; height: 100%;}

.single-project:before{ content: ""; display: block; width: 100%; height: 180px; background-image: url(images/wood-texture.jpg); background-size: cover; background-position: center center; position: absolute; top: 0; left: 0;}
.single-project .intro{ margin-top: 180px; padding: 100px 0 120px; text-align: center; position: relative; font-size: 21px; line-height: 28px; font-family: "EB Garamond", Georgia, Times, "Times New Roman", serif;}
.single-project .intro .wrapper{ max-width: 915px;}
.single-project .intro h1, .default article h1{ font-size: 48px; line-height: 60px; text-align: center;}
.single-project .intro h1:after, .default article h1:after{ content: ""; display: block; height: 2px; max-width: 400px; background-color: #99836a; margin: 40px auto 45px;}
.single-project .project-gallery{ display: flex; flex-wrap: wrap; justify-content: center;}
.single-project .project-gallery .gallery-image{ flex: 0 0 25%; background-size: cover; background-position: center center; position: relative; transition: all .3s ease 0s;}
.single-project .project-gallery .gallery-image:after{ content: ""; padding-bottom: 100%; display: block;}
.single-project .project-gallery .gallery-image:hover{ opacity: .8; transition: all .3s ease 0s;}
.single-project .project-gallery .gallery-image a{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block;}
.pp_social{ display: none;}
.pp_next, .pp_previous{ transition: none !important;}


/* Default Page */

.page-template-default .page-hero{ background-size: cover; background-position: center center; position: relative; text-align: center;}
.page-template-default .page-hero .container{ max-width: 100%; width: 100%; display: flex; justify-content: center; align-items: center; flex-direction: column; background: -moz-linear-gradient(top,  rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.7) 1%, rgba(0,0,0,0.4) 100%); background: -webkit-linear-gradient(top,  rgba(0,0,0,0.7) 0%,rgba(0,0,0,0.7) 1%,rgba(0,0,0,0.4) 100%); background: linear-gradient(to bottom,  rgba(0,0,0,0.7) 0%,rgba(0,0,0,0.7) 1%,rgba(0,0,0,0.4) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3000000', endColorstr='#66000000',GradientType=0 ); padding: 200px 10% 100px; box-sizing: border-box;}
.page-hero .lede{ font-family: "Nunito Sans", Helvetica, Arial, sans-serif; font-size: 16px; line-height: 16px; font-weight: 600; text-transform: uppercase; color: #99836a; letter-spacing: .2em; margin: 0 auto 20px;}
.page-hero h1{ font-size: 48px; line-height: 48px; color: #fff;}
.default .wrapper{ max-width: 960px;}
.default .page-section{ padding-top: 80px;}
.default .basic-content:nth-last-of-type(1){ padding-bottom: 100px;}

.callouts-content .callout .wrapper{ display: flex; justify-content: space-between; align-items: stretch; margin-bottom: 100px;}
.callouts-content .callout-content, .callouts-content .callout-visual{ width: 46%;}
.callouts-content .callout-visual{ background-size: cover; background-position: center center;}
.callouts-content .callout:nth-of-type(even){ background-color: #f4f4f4; margin-bottom: 100px;}
.callouts-content .callout:nth-of-type(even) .wrapper{ flex-direction: row-reverse; margin-bottom: 0; padding: 80px 0;}
.callouts-content .callout-content{ font-size: 14px; line-height: 30px; padding: 40px 0;}
.callouts-content .callout-content h2{ font-size: 30px; line-height: 30px; color: #927d66;}
.callouts-content .callout:nth-last-of-type(1){ margin-bottom: 0;}

.page-template-default .testimonials{ background-image: url(images/wood-texture.jpg); margin-bottom: 0; padding: 100px 0; color: #fff;}
.basic-content h2, .basic-content h3, .basic-content h4, .basic-content h5, .basic-content h6{ margin-top: 25px;}
.basic-content hr{ border: none; background: none; height: 1px; background-color: #927d66; margin: 30px 0;}

.callouts-content + .basic-content{ margin-top: -100px;}

.team-container h2{ text-align: center; font-size: 36px; font-weight: 400;}
.team-container h2:after{ content: ""; display: block; width: 200px; height: 1px; background-color: #3c3c3c; margin: 20px auto 60px;}
.team-container .team-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px;}
.team-container .single-team{ text-align: center;}
.team-container .team-visual{ background-size: cover; background-position: center center; margin-bottom: 20px; position: relative;}
.team-container .team-visual:after{ content: ""; display: block; padding-bottom: 100%;}
.team-container .single-team .team-visual:before{ content: "+"; background-color: rgba(0,0,0,.75); display: flex; justify-content: center; align-items: center; color: #fff; font-size: 200px; font-weight: 100; width: 80%; height: 80%; position: absolute; top: 10%; left: 10%; opacity: 0; visibility: hidden; transition: all .25s ease 0s;}
.team-container .single-team .team-visual a{ position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
.team-container .single-team h3{ font-size: 26px; color: #3c3c3c; font-weight: 400; margin-bottom: 5px;}
.team-container .single-team h4, .team-lightbox h4{ font-size: 16px; font-weight: 600; margin-bottom: 5px;}
.team-container .single-team h5, .team-lightbox h5{ font-size: 14px; font-weight: 400;}
.team-container .single-team a{ text-decoration: none;}
.team-container .single-team:hover .team-visual:before{ opacity: 1; visibility: visible; transition: all .25s ease 0s;}
.team-container .single-team .team-visual.no-bio:before{ display: none;}
.team-container .single-team:hover a{ color: #585657;}
.team-lightbox .lightbox-intro{ display: flex; align-items: center;}
.team-lightbox .lightbox-headshot{ width: 125px; height: 125px; background-size: cover; background-position: center center; margin-right: 30px;}
.team-lightbox h3{ font-size: 26px; font-weight: 400; margin-bottom: 3px;}
.team-lightbox h4{ margin-bottom: 5px;}



/* Media queries */

@media (max-width: 1400px) {
	.single-project .project-gallery .gallery-image, .project-grid article{ flex: 0 0 33.333%;}
}

@media (max-width: 960px) {
	.single-project .project-gallery .gallery-image, .project-grid article{ flex: 0 0 50%;}
	.hero h1{ font-size: 48px; line-height: 48px;}
	.hero .lede{ font-size: 16px; line-height: 16px;}
	.home .intro .container, .callouts-content .callout{ flex-direction: column !important;}
	.home .intro .container .column, .callouts-content .callout .callout-visual, .callouts-content .callout .callout-content{ width: 100% !important;}
	.home .intro .container .column:nth-of-type(1){ margin-bottom: 30px;}
	.home .intro h2{ text-align: center; font-size: 36px; line-height: 36px;}
	.callouts-content .callout .wrapper{ flex-direction: column !important;}
	.callouts-content .callout .callout-visual:after{ content: ""; padding-bottom: 56.25%; display: block;}
	.callouts-content .callout{ margin-bottom: 80px;}
	.team-container .team-grid{ grid-template-columns: repeat(2, 1fr);}
}

@media (max-width: 768px) {
	.team-container .team-grid{ grid-template-columns: repeat(1, 1fr); max-width: 400px; margin: 0 auto;}
}

@media (max-width: 600px) {
	.single-project .project-gallery .gallery-image, .project-grid article{ flex: 0 0 100%;}
	.hero h1, .page-hero h1{ font-size: 42px; line-height: 42px;}
	.testimonials{ font-size: 24px; line-height: 30px;}
	.button, button{ width: 100%; text-align: center; box-sizing: border-box;}
	.hero .button{ max-width: 90%;}
}
