/* =====================================================================
   Domaine de Cawood — Prosotheme v2 child
   Visual parity layer with the original theme (values measured on the
   the original theme render: html/before snapshots, 1440 px and 375 px).
   ===================================================================== */

/* ---------- Base typography (the original theme: html 10px, body 1.4em Libre Baskerville) ---------- */
html { font-size: 10px; }
body {
	font-family: "Libre Baskerville", serif;
	font-size: 14px;
	line-height: 1.714em;
	font-weight: 400;
	color: #2c2c2c;
	background-color: #440b19;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.content-outer, .content { background-color: #f8f8f8; }

h1, h2, h3, h4, h5, h6 { color: #2e2f31; font-family: "Libre Baskerville", serif; line-height: 1.267em; margin-bottom: 30px; }
h1, .h1 { font-size: 2em; font-weight: 700; font-style: normal; text-transform: uppercase; }
h2, .h2 { font-size: 1.5em; font-weight: 400; font-style: italic; text-transform: none; }
h3, .h3 { font-size: 1.4em; font-weight: 700; font-style: normal; }
h4, .h4 { font-size: 1.2em; font-weight: 400; font-style: italic; }
h5, .h5 { font-size: 1.143em; font-weight: 400; font-style: normal; }
h6, .h6 { font-size: 1em; font-weight: 400; font-style: normal; }
@media (max-width: 991px) { body h1 { font-size: 2.17em; } }
@media (max-width: 767px) {
	body h2 { font-size: 1.82em; }
	body h3 { font-size: 1.485em; }
	body h4 { font-size: 1.143em; }
}
/* v2 zeroes the margin of a last-child heading/paragraph; the original theme never did */
.content-inner h1, .content-inner h2, .content-inner h3,
.content-inner h4, .content-inner h5, .content-inner h6 { margin-bottom: 30px; }
p { line-height: 1.714em; margin-bottom: 1.571em; }
.content-inner p:last-child { margin-bottom: 1.571em; }
.wpb_text_column :last-child, .wpb_text_column p:last-child { margin-bottom: 0; }
strong, b { font-weight: bold; }
.content-inner a { color: #f04649; transition: color .2s linear, opacity .2s linear, background-color .2s linear, border-color .2s linear; }
.content-inner a:hover { color: #2c2c2c; }
.content-inner ul:not([class]) { list-style: disc outside; padding-left: 18px; margin-bottom: 1.571em; }
img { max-width: 100%; height: auto; }

/* ---------- Containers (the original theme bootstrap-like grid) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html body[class] .container { max-width: 100%; margin-left: auto; margin-right: auto; padding: 0 15px; width: auto; }
@media (min-width: 768px) { html body[class] .container { width: 750px; } }
@media (min-width: 992px) { html body[class] .container { width: 940px; } }
@media (min-width: 1200px) { html body[class] .container { width: 1140px; } }
@media (min-width: 1480px) { html body[class] .container { width: 1400px; } }
.content-inner, .content-inner.container { padding-top: 0; padding-bottom: 0; }

/* The original theme grid used inside the CF7 forms */
.l-grid-row { margin-left: -15px; margin-right: -15px; }
.l-grid-row::after { content: ""; display: table; clear: both; }
[class*="l-grid-"]:not(.l-grid-row) { width: 100%; float: left; padding-left: 15px; padding-right: 15px; }
@media (min-width: 768px) {
	[class*="l-grid-"].l-grid-1 { width: 8.33333%; } [class*="l-grid-"].l-grid-2 { width: 16.66667%; } [class*="l-grid-"].l-grid-3 { width: 25%; }
	[class*="l-grid-"].l-grid-4 { width: 33.33333%; } [class*="l-grid-"].l-grid-5 { width: 41.66667%; } [class*="l-grid-"].l-grid-6 { width: 50%; }
	[class*="l-grid-"].l-grid-7 { width: 58.33333%; } [class*="l-grid-"].l-grid-8 { width: 66.66667%; } [class*="l-grid-"].l-grid-9 { width: 75%; }
	[class*="l-grid-"].l-grid-10 { width: 83.33333%; } [class*="l-grid-"].l-grid-11 { width: 91.66667%; } [class*="l-grid-"].l-grid-12 { width: 100%; }
}

/* ---------- Header — desktop (the original theme: transparent 150 px, logo 90 px, white bold menu) ---------- */
.main-header .header-bottom { background: transparent; padding: 0; transition: background-color .3s ease; }
.main-header .header-bottom > .container { width: 90%; max-width: 100%; }
@media (min-width: 1480px) { .main-header .header-bottom > .container { width: 1400px; } }
@media (max-width: 1199px) { .main-header .header-bottom > .container { width: 95%; } }
@media (max-width: 1099px) { .main-header .header-bottom > .container { width: 100%; } }
.main-header .logo-wrapper { height: 150px; line-height: 150px; transition: height .4s cubic-bezier(.215,.61,.355,1), line-height .4s cubic-bezier(.215,.61,.355,1); }
.main-header .logo-wrapper a { display: inline-block; vertical-align: middle; line-height: 0; }
.main-header .logo-wrapper img { height: 90px; width: auto; max-width: none; transition: height .4s cubic-bezier(.215,.61,.355,1); }
.main-header .main-menu > li > a {
	font-family: "Libre Baskerville", serif; font-size: 16px; font-weight: 700;
	line-height: 150px; padding: 0 17px; color: #fff;
	transition: color .2s linear, line-height .4s cubic-bezier(.215,.61,.355,1);
}
.main-header .main-menu > li > a:hover,
.main-header .main-menu > li.current-menu-item > a:hover { color: #d1d1d1; }
.main-header .main-menu > li.current-menu-item > a { color: #fff; }
@media (max-width: 1299px) { .main-header .main-menu > li > a { padding: 0 10px; } }
@media (max-width: 1199px) { .main-header .main-menu > li > a { padding: 0 6px; font-size: 15px; } }
@media (max-width: 1099px) { .main-header .main-menu > li > a { padding: 0 5px; font-size: 15px; } }
/* sticky state = the original theme "small header": from 150 px of scroll and > 767 px wide, dark #2c2c2c bar
   76 px high, logo 60 px (class set by js/javascript.js, same rule as the original theme small-header option) */
.main-header.cawood-small .header-bottom { background-color: #2c2c2c; }
.main-header.cawood-small .logo-wrapper { height: 76px; line-height: 76px; }
.main-header.cawood-small .logo-wrapper img { height: 60px; }
.main-header.cawood-small .main-menu > li > a { line-height: 76px; }
/* v2's own scroll states must not restyle the header */
.main-header.scrollmin .header-bottom:not(.cawood-x), .main-header.scrolled .header-bottom:not(.cawood-x) { box-shadow: none; }
.main-header:not(.cawood-small) .header-bottom { background-color: transparent; }

/* ---------- Page header band (the original theme page header: cover.jpg, 175 px, no title) ---------- */
.title-outer .title { height: 175px; padding: 0; background-color: transparent; background-size: cover; background-position: top center; }
.title-outer .title .title-inner { visibility: hidden; }

/* ---------- Header — mobile below 768 px: dark 65 px bar, logo left + burger right (v2 options header_mobile_logo_position=left, header_mobile_menu_position=right, set by JP; the original theme had burger left, logo centred) ---------- */
@media (max-width: 767px) {
	.main-header .header-mobile { background-color: #2c2c2c; }
	.header-mobile-inner-padding { padding: 0 15px; }
	.header-mobile-logo, .header-mobile-menu-btn { line-height: 65px; height: 65px; }
	.header-mobile-logo a { display: inline-block; line-height: 0; vertical-align: middle; }
	.header-mobile-logo img { height: 35px; width: auto; }
	.header-mobile-menu-btn .mobile-menu-btn { color: #fff; font-size: 20px; display: inline-block; padding: 0 0 0 18px; vertical-align: middle; line-height: 65px; }
	/* The original theme burger = Ionicons navicon-round: three 18 x 3 px rounded bars, 6 px pitch, top at y 26 */
	.header-mobile-menu-btn .mobile-menu-btn { display: block; width: auto; height: 65px; line-height: 0; padding: 26px 0 0 18px; box-sizing: border-box; }
	.header-mobile-menu-btn .mobile-menu-btn i { display: block; width: 18px; height: 3px; border-radius: 1.5px; background: currentColor; box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor; font-size: 0; line-height: 0; }
	.header-mobile-menu-btn .mobile-menu-btn i::before { content: none; }
}
/* The original theme #mobile-nav panel: the same panel opens from the phone bar (< 768) and from the tablet burger (768-991) */
@media (max-width: 991px) {
	.header-mobile-menu { background-color: #2c2c2c; padding: 15px 15px 45px; }
	.header-mobile-menu .mobile-menu li { border-bottom: 0; }
	.header-mobile-menu .mobile-menu li > a { color: #bfbfbf; padding: 10px 0; border-bottom: 1px solid #fff; line-height: 1.6em; font-size: 14px; }
	.header-mobile-menu .mobile-menu li.current-menu-item > a { color: #fff; }
	/* The original theme #mobile-nav: fixed panel under the 65 px bar that overlays the page (no push-down),
	   items fade + scale in with a 400 ms + 100 ms/item stagger, scrollable when taller than the screen */
	.main-header .header-mobile-menu { position: fixed; top: 65px; left: 0; right: 0; width: 100%; z-index: 101; box-sizing: border-box; max-height: calc(100vh - 65px); overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
	.admin-bar .main-header .header-mobile-menu { top: 111px; }
	.header-mobile-menu .mobile-menu > li { opacity: 0; transform: scale(1.2) translateY(-24px); transition: opacity .35s ease-out, transform .35s ease-out; }
	.header-mobile-menu.header-mobile-menu-open .mobile-menu > li { opacity: 1; transform: none; }
	.header-mobile-menu.header-mobile-menu-open .mobile-menu > li:nth-child(1) { transition-delay: 400ms, 400ms; }
	.header-mobile-menu.header-mobile-menu-open .mobile-menu > li:nth-child(2) { transition-delay: 500ms, 500ms; }
	.header-mobile-menu.header-mobile-menu-open .mobile-menu > li:nth-child(3) { transition-delay: 600ms, 600ms; }
	.header-mobile-menu.header-mobile-menu-open .mobile-menu > li:nth-child(4) { transition-delay: 700ms, 700ms; }
	.header-mobile-menu.header-mobile-menu-open .mobile-menu > li:nth-child(5) { transition-delay: 800ms, 800ms; }
	.header-mobile-menu.header-mobile-menu-open .mobile-menu > li:nth-child(6) { transition-delay: 900ms, 900ms; }
	.header-mobile-menu.header-mobile-menu-open .mobile-menu > li:nth-child(7) { transition-delay: 1000ms, 1000ms; }
	.header-mobile-menu.header-mobile-menu-open .mobile-menu > li:nth-child(8) { transition-delay: 1100ms, 1100ms; }
	.header-mobile-menu.header-mobile-menu-open .mobile-menu > li:nth-child(9) { transition-delay: 1200ms, 1200ms; }
	.header-mobile-menu .mobile-menu li > a:hover { color: #f04649; }
}

/* ---------- Buttons (the original theme button: btn-l btn-full btn-rounded) ---------- */
.dist-btn, .content-inner input.wpcf7-form-control.wpcf7-submit {
	position: relative; display: inline-block; vertical-align: middle; overflow: hidden;
	font-family: "Libre Baskerville", serif; font-size: 16px; font-weight: 400; line-height: 1.429em; letter-spacing: 0;
	padding: 12px 30px; border: 0; border-radius: 50px;
	background-color: #752231; color: #fff !important; text-align: center; text-decoration: none; cursor: pointer;
	transition: color .2s linear, background-color .2s linear, border-color .2s linear, opacity .2s linear;
	-webkit-appearance: none; appearance: none;
}
.dist-btn:hover, .content-inner input.wpcf7-form-control.wpcf7-submit:hover { background-color: #8e5c67; color: #fff !important; }
.content-inner input.wpcf7-form-control.wpcf7-submit { padding: 12px 25px; width: auto; height: auto; margin: 0; border-radius: 50px; }
.wpcf7 .wpcf7-spinner { display: none; }
@media (max-width: 767px) {
	.dist-btn { padding: 10px 28px; border-radius: 50px; }
	.content-inner input.wpcf7-form-control.wpcf7-submit { padding: 11px 23px; }
}

/* ---------- Forms (the original theme inputs + site custom CSS) ---------- */
.content-inner input[type="text"], .content-inner input[type="tel"], .content-inner input[type="number"], .content-inner input[type="email"], .content-inner textarea {
	background-color: transparent; border: 1px solid #bfbfbf; line-height: 1.286em; padding: 12px;
	font-family: "Libre Baskerville", sans-serif; color: #5d5d5d; font-size: 1em; width: 100%;
	outline: none; -webkit-appearance: none; appearance: none; border-radius: 0;
	transition: border-color .2s linear, background-color .2s linear, color .2s linear;
}
.content-inner textarea { line-height: 1.714em; padding: 15px; }
.content-inner input:focus, .content-inner textarea:focus { border-color: #737373; }
.info input[type="text"], .info input[type="tel"], .info input[type="number"], .info input[type="email"], .info input[type="password"], .info input[type="search"], .info input[type="url"], .content-inner select {
	background-color: transparent; border-bottom: 2px solid #7e2321; border-top: none; border-left: none; border-right: none;
	line-height: 1.286em; padding: 12px; font-family: "Libre Baskerville", sans-serif; color: #5d5d5d; font-size: 1em; width: 100%;
}
#commande .wpcf7-form textarea, #commande input[type="text"], #commande input[type="tel"], #commande input[type="number"], #commande input[type="email"], #commande input[type="password"], #commande input[type="search"], #commande input[type="url"], #commande select {
	background-color: #fff; border: none; border-radius: 50px; line-height: 1.286em; padding: 22px; margin-bottom: 25px;
	font-family: "Libre Baskerville", sans-serif; color: #5d5d5d; font-size: 1em; width: 100%; text-align: center;
}
.commande-btn { float: right; }
#map .wpb_content_element { margin-bottom: 0; }
form.wpcf7-form .wpcf7-response-output { border: 0; background-color: #fff; padding: 15px; border-top: 3px solid #8fae1b; margin: 0 0 30px 0; display: inline-block; }
@media only screen and (max-width: 600px) {
	#mobile-center, #mobile-center [class*="cawood-d-"] * { text-align: center !important; }
	.info input[type="text"], .info input[type="tel"], .info input[type="number"], .info input[type="email"], .info input[type="password"], .info input[type="search"], .info input[type="url"], .content-inner select { margin-bottom: 20px; }
	#vin-blanc, #qualite-produits { flex-direction: column-reverse; }
}

/* ---------- WPBakery helpers ---------- */
/* Prosotheme v2 zeroes two WPBakery defaults that the original theme kept: restore the js_composer values */
div.vc_col-has-fill>.vc_column-inner,
div.vc_row-has-fill+.vc_row-full-width+.vc_row>.vc_column_container>.vc_column-inner,
div.vc_row-has-fill+.vc_row>.vc_column_container>.vc_column-inner,
div.vc_row-has-fill>.vc_column_container>.vc_column-inner { padding-top: 35px; }
.wpb_button:last-child, .wpb_content_element:last-child, ul.wpb_thumbnails-fluid>li:last-child { margin-bottom: 35px; }
/* The original theme full-height column: jQuery .height(window) on a border-box inner with 35 px top padding */
.cawood-full-height-column > .vc_column-inner { min-height: calc(100vh + 35px); }
.vc_custom_heading.cawood-heading { margin-bottom: 30px; }

/* ---------- News cards ([dist_post_listing] = the original theme masonry standard, 3 columns) ---------- */
.blog-listing-holder { margin-bottom: 0; }
.blog-listing-holder .blog-listing-inner { display: flex; flex-wrap: wrap; justify-content: flex-start; column-gap: 2%; margin: 0; }
.blog-listing-holder .blog-listing-inner::after { display: none; }
.blog-listing-holder .blog-listing-inner { margin-bottom: -2%; } /* isotope height ignored the last gutter */
.blog-listing-holder article.cawood-post-card {
	position: relative; float: none; width: 100%; margin: 0 0 2%; padding: 0;
	background-color: #fff; overflow: hidden; text-align: left;
}
@media (min-width: 460px) { .blog-listing-holder article.cawood-post-card { width: 49%; } }
@media (min-width: 992px) { .blog-listing-holder article.cawood-post-card { width: 32%; } }
@media (min-width: 1480px) { .blog-listing-holder article.cawood-post-card { width: 32.3333%; } }
/* The original theme init.js: masonry gutter = 1.5 % when jQuery(window).width() > 1480 (scrollbar excluded), else 2 % - class set by js/javascript.js */
html.cawood-wide .blog-listing-holder .blog-listing-inner { column-gap: 1.5%; margin-bottom: -1.5%; }
html.cawood-wide .blog-listing-holder article.cawood-post-card { margin-bottom: 1.5%; }
/* packery layout (js/javascript.js): absolute cards, margins off, height set by JS */
.blog-listing-holder .blog-listing-inner.is-packed { display: block; position: relative; margin-bottom: 0; }
.blog-listing-holder .blog-listing-inner.is-packed > article.cawood-post-card { position: absolute; margin: 0; }
.page-id-9 .blog-listing-holder article.cawood-post-card,
.page-id-361 .blog-listing-holder article.cawood-post-card { border-radius: 4px; }
.cawood-post-card .blog-listing-thumbnail { position: relative; margin: 0; }
.cawood-post-card .blog-listing-thumbnail a { display: block; }
.cawood-post-card .blog-listing-thumbnail img { display: block; width: 100%; height: auto; }
.cawood-post-card .blog-listing-thumbnail::after {
	position: absolute; top: 0; left: 0; z-index: 1; width: 100%; height: 100%; content: " "; pointer-events: none;
	background-image: linear-gradient(rgba(0,0,0,.4) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 100%);
}
.cawood-post-card .blog-listing-content { padding: 12%; margin: 0 0 35px; }
.cawood-post-card .blog-listing-title {
	font-family: "Libre Baskerville", serif; font-size: 1.429em; line-height: 1.267em; font-weight: 400; font-style: normal;
	text-transform: none; color: #2e2f31; margin: 10px 0 10px; word-wrap: break-word;
}
.cawood-post-card .blog-listing-title a { color: #2e2f31; }
.cawood-post-card .blog-listing-title a:hover { color: #f04649; }
.content-inner .cawood-post-card p.blog-listing-text { margin: 0; }
.cawood-post-card .blog-listing-meta {
	position: absolute; left: 0; bottom: 0; width: 100%; z-index: 1; padding: 0 15px; border-top: 1px solid #ededed;
}
.cawood-post-card .blog-listing-meta a {
	display: inline-block; margin: 10px 0; font-size: .786em; line-height: 1.4em; text-transform: uppercase; letter-spacing: 1px; color: inherit;
}

/* ---------- Testimonials (port of the original theme testimonials, modern style) ---------- */
.cawood-testimonials { position: relative; width: 100%; cursor: grab; }
.cawood-testimonials .owl-stage-outer { overflow: hidden; }
.cawood-testimonial { text-align: center; transition: opacity .3s ease; }
.cawood-testimonial span { display: block; font-family: "Open Sans", sans-serif; font-weight: normal; line-height: normal; }
.cawood-testimonial .cawood-testimonials-name { font-size: 1.143em; font-weight: 600; color: #2e2f31; }
.cawood-testimonial .cawood-testimonials-position { opacity: .6; }
.cawood-testimonials.has-image .cawood-testimonials-content {
	position: relative; background-color: #f04649; color: #fff; padding: 25px 25px 25px 50px; border-radius: 5px;
	text-align: left; font-size: 1em; line-height: 1.8em; quotes: "\201C" "\201D";
	transition: transform .3s ease, box-shadow .3s ease;
}
.content-inner .cawood-testimonials.has-image .cawood-testimonials-content p { margin: 0 0 1.571em; line-height: 1.714em; }
@media (min-width: 992px) { .cawood-testimonials.has-image .cawood-testimonials-content { font-size: 1.143em; } }
@media (min-width: 1480px) { .cawood-testimonials.has-image .cawood-testimonials-content { font-size: 1.429em; padding: 50px 50px 50px 100px; } }
.cawood-testimonials.has-image .cawood-testimonials-content::before {
	content: open-quote; font-family: sans-serif; font-size: 60px; line-height: 60px; color: #2e2f31; opacity: .5;
	position: absolute; left: 25px; top: 25px;
}
@media (min-width: 1480px) { .cawood-testimonials.has-image .cawood-testimonials-content::before { font-size: 120px; line-height: 120px; top: 50px; left: 50px; } }
.cawood-testimonials.has-image .cawood-testimonials-author { text-align: center; margin-top: 40px; }
.cawood-testimonials.has-image .cawood-testimonials-author span { margin: 0; }
.cawood-testimonials.has-image.has-arrow .cawood-testimonials-content::after {
	width: 0; height: 0; border-style: solid; border-width: 20px 20px 0 20px; border-color: #f04649 transparent transparent transparent;
	position: absolute; left: 50%; content: " "; bottom: -20px; margin-left: -20px;
}
.cawood-testimonials.has-hover-animation.has-image .cawood-testimonials-content { transform: scale(.85); }
.cawood-testimonials.has-hover-animation.has-image .owl-item:hover .cawood-testimonials-content,
.cawood-testimonials.has-hover-animation.has-image .owl-item.center .cawood-testimonials-content { transform: scale(1); box-shadow: 0 4px 15px rgba(0,0,0,.3); }
.cawood-testimonials.has-shadow.has-image .owl-item:hover .cawood-testimonials-content,
.cawood-testimonials.has-shadow.has-image .owl-item.center .cawood-testimonials-content { box-shadow: 0 4px 15px rgba(0,0,0,.3); }
@media (min-width: 992px) {
	.cawood-testimonials.has-opacity.has-image .cawood-testimonial { opacity: .2; }
	.cawood-testimonials.has-opacity.has-image .owl-item:hover .cawood-testimonial,
	.cawood-testimonials.has-opacity.has-image .owl-item.center .cawood-testimonial { opacity: 1; }
}
.cawood-testimonials.hide-faces.has-image .cawood-testimonials-author { opacity: 0; }
.cawood-testimonials.hide-faces.has-image .owl-item:hover .cawood-testimonials-author,
.cawood-testimonials.hide-faces.has-image .owl-item.center .cawood-testimonials-author { animation: cawood-pop-in .6s forwards cubic-bezier(.64,1.87,.24,-.03); }
@keyframes cawood-pop-in { 0% { opacity: 1; transform: scale(.6); } 100% { opacity: 1; transform: scale(1); } }
.cawood-testimonials.cawood-no-owl { display: flex; gap: 30px; }

/* ---------- Footer (the original theme: forest image, 2 columns, burgundy copyright bar) ---------- */
.main-footer .footer-top-bottom { background-color: #1a1c1d; background-size: cover; background-position: 0 0; background-repeat: repeat; }
.main-footer .footer-top { padding: 60px 0; color: #fff; background: transparent; }
.main-footer .footer-top .container { padding: 0; }
.main-footer .footer-top .footer-col { padding: 0 15px; }
.main-footer .footer-top .footer-col-1 { text-align: left; }
.main-footer .footer-top .footer-col-2 { text-align: right; }
.main-footer .footer-top .widget { color: #fff; margin-bottom: 4em; }
@media (min-width: 768px) { .main-footer .footer-top .footer-col-1 .widget { margin-bottom: 0; } }
.main-footer .footer-top .widget h3 { color: #fff; margin-bottom: 30px; }
.main-footer .footer-top .widget h5 {
	color: #fff; font-size: 1em; font-style: normal; font-weight: 800; text-transform: uppercase; letter-spacing: 2px;
	line-height: 1em; margin: 0 0 1em; padding-top: 60px; padding-bottom: 40px; font-family: inherit;
}
.main-footer .footer-top a { color: #fff; }
.main-footer .footer-top p { margin-bottom: 1.571em; }
.main-footer .footer-top .widget_media_image img { display: inline-block; vertical-align: baseline; }
.main-footer .footer-top .dist-btn { margin-top: 0; }
.main-footer .footer-bottom { background-color: #440b19; color: #8e5c67; padding: 15px 0; line-height: 1.714em; }
.main-footer .footer-bottom a { color: #8e5c67; }
.main-footer .footer-bottom .widget { margin: 0; }
.main-footer .footer-bottom.footer-col-count-2 .footer-bottom-left { width: auto; }
.main-footer .footer-bottom.footer-col-count-2 .footer-bottom-right { width: auto; }
.main-footer .footer-bottom img { display: block; width: 400px; max-width: 100%; height: auto; }
@media (max-width: 767px) {
	.main-footer .footer-top .footer-col { float: none; width: 100% !important; text-align: center !important; }
	.main-footer .footer-bottom { text-align: center; }
	.main-footer .footer-bottom.footer-col-count-2 .footer-bottom-left,
	.main-footer .footer-bottom.footer-col-count-2 .footer-bottom-right { float: none; width: 100%; text-align: center; }
	/* JP: footer centred below 768 - the Trinergie credit image is display:block, so centre it with auto margins */
	.main-footer .footer-bottom img { margin-left: auto; margin-right: auto; }
}
.content-outer, .content-inner { display: flow-root; }

/* CF7: v2 turns fields into blocks (the <br> in the forms then adds a blank line) — the original theme kept them inline-block */
input.wpcf7-form-control.wpcf7-date, input.wpcf7-form-control.wpcf7-number, input.wpcf7-form-control.wpcf7-quiz,
input.wpcf7-form-control.wpcf7-text, select.wpcf7-form-control.wpcf7-select, textarea.wpcf7-form-control.wpcf7-textarea { display: inline-block; resize: vertical; vertical-align: revert; } /* UA default like the original theme: baseline in Chrome, text-bottom in Firefox */
form.wpcf7-form .wpcf7-response-output { position: static; color: inherit; font-weight: 400; font-size: 1em; text-transform: none; letter-spacing: 0; }
form.wpcf7-form .wpcf7-response-output::before { content: none; }

/* Single post without its own WPBakery layout: title in the band, exactly where the original theme printed it
 * (the original theme bug kept for parity: the band is only 175 px, so the title runs under the transparent header) */
body.cawood-band-title .title-outer .title .title-inner { visibility: visible; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 1140px; max-width: 100%; height: auto; padding: 0 15px; text-align: left; }
body.cawood-band-title .title .display-table, body.cawood-band-title .title .display-cell { display: block; }
body.cawood-band-title .title h1 { display: inline-block; margin: 0; font-size: 70px; line-height: 80px; font-weight: 700; text-transform: uppercase; color: #2e2f31; }
@media (max-width: 1199px) { body.cawood-band-title .title-outer .title .title-inner { width: 940px; } }
@media (max-width: 991px) { body.cawood-band-title .title-outer .title .title-inner { width: 750px; } }
@media (max-width: 767px) {
	body.cawood-band-title .title-outer .title .title-inner { width: 100%; }
	body.cawood-band-title .title h1 { font-size: 22.4px; line-height: 25.6px; }
}
body.single-post .content-inner > article { min-height: 0; }

/* WordPress editor alignment classes (the original theme defaults) */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter, div.aligncenter { display: block; margin: 5px auto 5px auto; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.alignright { float: right; margin: 5px 0 20px 20px; }
a img.alignnone { margin: 5px 20px 20px 0; }
a img.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; padding: 5px 10px; text-align: center; }
.wp-caption img { border: 0 none; height: auto; margin: 0; max-width: 98.5%; padding: 0; width: auto; }
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; margin: 0; padding: 0 4px 5px; }

/* The original theme had no viewport min-height on the content (v2 JS sets one inline) */
.content { min-height: 0 !important; }
/* The original theme single post spacing: .post-content padding-bottom 2.143em + 50 px before the footer */
body.single-post .content-inner > article.post { padding-bottom: 30px; margin-bottom: 50px; }
body.single-post .blog-single-middle, body.single-post .blog-single-content, body.single-post .blog-single-text { margin: 0; padding: 0; }

/* ---------- the original theme listing templates: search, 404, archives (child search.php / 404.php / archive.php) ---------- */
.cawood-tpl .cawood-container { max-width: 1140px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
@media (min-width: 1480px) { .cawood-tpl .cawood-container { max-width: 1400px; } } /* The original theme .container is 1400 px from 1480 */
.cawood-tpl .cawood-page-header { padding: 50px 0; border-bottom: 1px solid #ededed; }
.content-inner .cawood-tpl h1.cawood-page-header-title { margin: 0; font-family: "Libre Baskerville", serif; font-size: 44.8px; line-height: 51.2px; font-weight: 700; font-style: normal; text-transform: uppercase; letter-spacing: normal; color: #2e2f31; text-align: left; }
.cawood-tpl-search { padding: 50px 0 30px; }
.cawood-tpl-404 .cawood-page-header { margin-bottom: 50px; }
.content-inner .cawood-tpl-404 h1.cawood-page-header-title { font-size: 53.2px; line-height: 60.8px; text-align: center; }
.cawood-search-form { margin: 30px 0; }
.content-inner .cawood-search-form input.search { display: block; width: 100%; height: auto; box-sizing: border-box; margin: 0; padding: 12px; border: 1px solid #bfbfbf; border-radius: 0; background: transparent; font-family: "Open Sans", sans-serif; font-size: 14px; line-height: 1.286em; color: #5d5d5d; }
.content-inner .cawood-search-form input.search-submit { display: inline-block; vertical-align: middle; margin: 15px 0 0; padding: 12px 25px; border: 0; border-radius: 50px; background-color: #752231; color: #fff; font-family: "Libre Baskerville", serif; font-size: 16px; line-height: 22.864px; font-weight: 400; cursor: pointer; -webkit-appearance: none; appearance: none; transition: color .2s linear, background-color .2s linear; }
.content-inner .cawood-search-form input.search-submit:hover { background-color: #8e5c67; }
/* search cards: the original theme masonry, 4 columns, 2 % gutters (positions set by js/javascript.js) */
.cawood-search-results { position: relative; }
.cawood-search-results::after { content: ""; display: block; clear: both; }
.cawood-search-card { position: relative; float: left; width: 23.5%; margin: 0 2% 2% 0; background-color: #fff; box-sizing: border-box; }
.cawood-masonry.is-laid-out .cawood-search-card { position: absolute; margin: 0; float: none; }
.cawood-search-card .cawood-card-img a { display: block; }
.cawood-search-card .cawood-card-img img { display: block; width: 100%; height: auto; }
.cawood-search-card .cawood-card-type { position: absolute; top: 15px; left: 15px; z-index: 2; font-size: 11.004px; line-height: 15.4056px; text-transform: uppercase; letter-spacing: 1px; color: #2c2c2c; }
.cawood-search-card .cawood-card-type span { display: inline; padding: 2px 5px; border: 2px solid rgba(255,255,255,.8); border-radius: 12px; color: rgba(255,255,255,.8); }
.cawood-search-card:not(.has-img) .cawood-card-type span { border-color: rgba(0,0,0,.2); color: rgba(0,0,0,.5); }
.cawood-search-card:not(.has-img) .cawood-card-content { margin-top: 6%; }
.cawood-search-card .cawood-card-content { padding: 12%; margin: 0 0 35px; font-size: 14px; line-height: 23.996px; color: #2c2c2c; word-wrap: break-word; }
.content-inner .cawood-search-card h2.cawood-card-title { margin: 10px 0; font-family: "Libre Baskerville", serif; font-size: 20.006px; line-height: 25.3476px; font-weight: 400; text-transform: none; color: #2e2f31; }
.content-inner .cawood-search-card h2.cawood-card-title a, .content-inner .cawood-archive-post h2.cawood-archive-title a { color: #2e2f31; }
.content-inner .cawood-search-card h2.cawood-card-title a:hover, .content-inner .cawood-archive-post h2.cawood-archive-title a:hover { color: #f04649; }
.cawood-search-card .cawood-card-meta { position: absolute; left: 0; bottom: 0; width: 100%; padding: 0 15px; border-top: 1px solid #ededed; box-sizing: border-box; }
.content-inner .cawood-search-card .cawood-card-meta a, .content-inner .cawood-archive-meta a { display: inline-block; margin: 10px 0; font-size: 11.004px; line-height: 15.4056px; text-transform: uppercase; letter-spacing: 1px; color: #2c2c2c; }
.content-inner .cawood-archive-meta a { margin: 0; }
.content-inner .cawood-search-card .cawood-card-meta a:hover, .content-inner .cawood-archive-meta a:hover { color: #f04649; }
/* pagination (the original theme .pagination-container .page-numbers) */
.cawood-pagination { display: flow-root; }
.cawood-pagination .page-numbers { display: block; float: left; width: 32px; height: 32px; margin: 15px 3px 15px 0; line-height: 32px; text-align: center; font-size: 14px; font-weight: 600; color: #fff; background-color: #1b1d1f; }
.content-inner .cawood-pagination a.page-numbers { color: #fff; }
.cawood-pagination .page-numbers.current, .content-inner .cawood-pagination a.page-numbers:hover { background-color: #f04649; color: #fff; }
.cawood-pagination .page-numbers.dots { background: none; color: #2c2c2c; }
/* 404 */
.cawood-tpl-404 .cawood-main { max-width: 800px; margin: 0 auto 30px; padding: 0 15px; box-sizing: border-box; text-align: center; }
.content-inner .cawood-tpl-404 .cawood-main h2 { margin: 0 0 30px; font-family: "Libre Baskerville", serif; font-size: 21px; line-height: 26.607px; font-style: italic; font-weight: 400; text-transform: none; color: #2e2f31; }
.content-inner .cawood-tpl-404 .cawood-main p { margin: 0 0 21.994px; }
.cawood-tpl-404 .cawood-search-form { margin: 0; }
.content-inner .cawood-tpl-404 .cawood-search-form input.search { margin-bottom: 15px; }
.content-inner .cawood-tpl-404 .cawood-search-form input.search-submit { margin: 0; }
/* archives: the original theme "standard" layout, full width */
.cawood-tpl-archive { padding: 50px 0 30px; }
.cawood-tpl-archive .cawood-main { padding: 0 15px; }
.cawood-archive-post { margin: 0 0 50px; }
.cawood-archive-img a { display: block; }
.cawood-archive-img img { display: block; max-width: 100%; height: auto; }
.cawood-archive-content { padding: 0 0 31.002px; } /* The original theme .post-content measured 1 px taller than its 30 px padding */
.cawood-archive-meta { margin: 20px 0 15px; font-size: 11.004px; line-height: 15.4056px; text-transform: uppercase; letter-spacing: 1px; }
.content-inner .cawood-archive-post h2.cawood-archive-title { margin: 0 0 10px; font-family: "Libre Baskerville", serif; font-size: 30.002px; line-height: 38.0125px; font-weight: 400; text-transform: none; color: #2e2f31; }
@media (max-width: 767px) {
	.cawood-tpl-search { padding: 0; }
	.cawood-tpl-archive { padding: 50px 0 0; }
	.cawood-tpl .cawood-page-header { padding: 25px 0; margin-bottom: 25px; }
	.content-inner .cawood-tpl h1.cawood-page-header-title, .content-inner .cawood-tpl-404 h1.cawood-page-header-title { font-size: 28px; line-height: 32.004px; }
	.cawood-tpl-404 .cawood-main { max-width: none; }
	.content-inner .cawood-tpl-404 .cawood-main h2 { font-size: 25.48px; line-height: 32.2832px; }
	.content-inner .cawood-search-form input.search-submit { padding: 11px 23px; }
	.cawood-search-card { width: 100%; margin-right: 0; }
}
/* v2 global h2 is italic: the original theme listing titles are roman */
.content-inner .cawood-tpl h1.cawood-page-header-title, .content-inner .cawood-search-card h2.cawood-card-title, .content-inner .cawood-archive-post h2.cawood-archive-title { font-style: normal; }
/* The original theme 404: the search input is inline-block (its line box adds 3 px) and centred like the rest of the column */
.content-inner .cawood-tpl-404 .cawood-search-form input.search { display: inline-block; vertical-align: baseline; text-align: center; }
textarea.wpcf7-form-control.wpcf7-textarea { vertical-align: revert; } /* UA default like the original theme: baseline in Chrome, text-bottom in Firefox */
@media (max-width: 767px) {
	/* The original theme mobile logo sits at y 15 (v2 vertical-middle rounding put it at 16) */
	.header-mobile-logo a { vertical-align: top; margin-top: 15px; }
}
/* JP rule (buttons never touch): the original theme pagination squares were 3 px apart -> 15 px */
.cawood-pagination .page-numbers { margin-right: 15px; }
/* The original theme masonry-standard image shade (same as the news cards) */
.cawood-search-card .cawood-card-img { position: relative; }
.cawood-search-card .cawood-card-img::after { position: absolute; top: 0; left: 0; z-index: 1; width: 100%; height: 100%; content: " "; pointer-events: none; background-image: linear-gradient(rgba(0,0,0,.4) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 100%); }
/* The original theme small (sticky) header: the current menu item is dimmed like the hover state */
.main-header.cawood-small .main-menu > li.current-menu-item > a { color: #d1d1d1; }
/* The original theme mobile header is fixed (stays on screen while scrolling); the page starts under it */
@media (max-width: 991px) {
	html body .main-header, html body.scroll-type-fixed .main-header, html body.scroll-type-sticky .main-header { position: fixed; top: 0 !important; left: 0; right: 0; width: 100%; z-index: 102; }
}
@media (max-width: 767px) { .wrapper { padding-top: 65px; } }
/* The original theme desktop header metrics: menu links 15 px side padding; logo top at 30 px (8 px in the 76 px small header) */
/* (the original theme site CSS narrows the links to 10 / 6 / 5 px below 1300 / 1200 / 1100 px: rules near the top of this file) */
@media (min-width: 1300px) { .main-header .main-menu > li > a { padding-left: 15px; padding-right: 15px; } }
@media (min-width: 992px) { .main-header .main-menu > li + li { margin-left: 4px; } } /* The original theme inline-block items: one space (~4 px) between them */
@media (min-width: 768px) {
	.main-header .logo-wrapper a { display: block; line-height: 0; padding-top: 30px; }
	.main-header .logo-wrapper img { display: block; margin: 0; }
	.main-header.cawood-small .logo-wrapper a { padding-top: 8px; }
}
@media (max-width: 767px) {
	/* The original theme: container 15 px + row −15 px + main 15 px = one 15 px gutter on phones */
	.cawood-tpl-404 .cawood-main { margin-left: -15px; margin-right: -15px; }
}
@media (min-width: 992px) {
	/* The original theme centred its band title 10 px lower (h1 top 17.5 px in the 175 px band) */
	body.cawood-band-title .title-outer .title .title-inner { top: calc(50% + 10px); }
}

/* ---------- Header — tablet 768-991 px (the original theme: same transparent 150 px desktop header, big logo left,
   menu replaced by the navicon burger right; 96 px tall at exactly 768 px because the original theme's 150 px rule is
   min-width 769; the burger opens the fixed #mobile-nav panel at top 65 px, under the header layer) ---------- */
.cawood-nav-buttons { display: none; }
@media (min-width: 768px) and (max-width: 991px) {
	/* undo v2's 991 px mobile switch (options.css header_mobile_breakpoint) */
	.main-header .header-container { display: block; position: relative; z-index: 102; pointer-events: none; }
	.main-header .header-container .logo-wrapper a, .main-header .header-container .cawood-nav-buttons { pointer-events: auto; }
	.main-header .header-mobile { display: block; height: 0; background: transparent; }
	.main-header .header-mobile-inner-padding { display: none; }
	.main-header .header-bottom .main-menu-container, .main-header .header-bottom .widget-header-bottom-left, .main-header .header-bottom .widget-header-bottom-right { display: none; }
	.main-header .header-bottom > .container { width: 100%; }
	.main-header .cawood-nav-buttons { display: block; float: right; margin: 0; padding: 0; list-style: none; }
	.main-header .cawood-nav-buttons > li { float: left; margin: 0; border-left: 1px solid transparent; }
	.main-header .cawood-nav-buttons .cawood-tablet-menu-btn { position: relative; display: block; width: 34.7px; height: 150px; padding: 0 10px; color: #fff; transition: height .4s cubic-bezier(.215,.61,.355,1), color .2s linear; }
	/* Ionicons navicon-round at 19.6 px: three 15 x 3 px rounded bars, 5 px pitch, first bar 7 px above the middle */
	.main-header .cawood-nav-buttons .cawood-tablet-menu-btn i { position: absolute; left: 10px; top: calc(50% - 7px); display: block; width: 15px; height: 3px; border-radius: 1.5px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor; }
	.main-header.cawood-small .cawood-nav-buttons .cawood-tablet-menu-btn { height: 76px; }
	.main-header .logo-wrapper { text-align: left; }
}
@media (min-width: 768px) and (max-width: 768px) {
	.main-header:not(.cawood-small) .logo-wrapper { height: 96px; line-height: 96px; }
	.main-header:not(.cawood-small) .logo-wrapper a { padding-top: 3px; }
	.main-header:not(.cawood-small) .cawood-nav-buttons .cawood-tablet-menu-btn { height: 96px; }
}
/* The original theme copyright bar keeps its two columns (copyright left, credit right) down to 768 px;
   v2's footer_bottom_breakpoint (991) stacked + centred them from 991 px */
@media (min-width: 768px) and (max-width: 991px) {
	.main-footer .footer-bottom.footer-col-count-2 .footer-bottom-left { float: left; width: auto; text-align: left; }
	.main-footer .footer-bottom.footer-col-count-2 .footer-bottom-right { float: right; width: auto; text-align: right; }
}
/* The original theme #page-header-custom .page-header-title sizes (single-post band title): 5.714em, 5em at 1200-1479
   (and on any >= 992 px window no taller than 660 px), 4em at 768-991, 2.6em at 460-767, 1.6em below 460
   (rule further up); line-height 1.143em; centred 10 px below the band middle from 460 px up */
@media (min-width: 1480px), (min-width: 992px) and (max-width: 1199px) { body.cawood-band-title .title h1 { font-size: 79.996px; line-height: 91.4354px; } }
@media (min-width: 992px) and (max-height: 660px) { body.cawood-band-title .title h1 { font-size: 70px; line-height: 80.01px; } }
@media (min-width: 768px) and (max-width: 991px) { body.cawood-band-title .title h1 { font-size: 56px; line-height: 64.008px; } }
@media (min-width: 460px) and (max-width: 767px) { body.cawood-band-title .title h1 { font-size: 36.4px; line-height: 41.6052px; } }
@media (min-width: 460px) { body.cawood-band-title .title-outer .title .title-inner { top: calc(50% + 10px); } }
/* The original theme .container widths for the search / 404 / archive templates (940 at 992-1199, 750 at 768-991) */
@media (max-width: 1199px) { .cawood-tpl .cawood-container { max-width: 940px; } }
@media (max-width: 991px) { .cawood-tpl .cawood-container { max-width: 750px; } }
@media (max-width: 767px) { .cawood-tpl .cawood-container { max-width: none; } }
/* The original theme listing templates at 768-991: page header padding 35 px, 404/search title 3.2em (44.8 px),
   404 column = the full 750 px container; 2-column search cards from 460 px (js/javascript.js) */
@media (min-width: 768px) and (max-width: 991px) {
	.cawood-tpl .cawood-page-header { padding: 35px 0; }
	.cawood-tpl-404 .cawood-page-header { margin-bottom: 35px; }
	.content-inner .cawood-tpl-404 h1.cawood-page-header-title { font-size: 44.8px; line-height: 51.2px; }
	.cawood-tpl-404 .cawood-main { max-width: none; margin-left: -15px; margin-right: -15px; }
}
@media (min-width: 460px) and (max-width: 767px) {
	.content-inner .cawood-tpl h1.cawood-page-header-title, .content-inner .cawood-tpl-404 h1.cawood-page-header-title { font-size: 39.2px; line-height: 44.8px; }
	.cawood-search-card { width: 49%; }
}
/* The original theme back-to-top button (#to-top, markup from inc/cawood.php) */
#to-top { position: fixed; right: 10px; bottom: 10px; z-index: 50; width: 40px; height: 40px; line-height: 40px; text-align: center; font-size: 14px; color: #fff; background-color: #000; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
@media (min-width: 768px) { #to-top { right: 30px; bottom: 30px; } }
#to-top.top-is-visible { visibility: visible; opacity: .8; }
#to-top.top-fade-out { visibility: visible; opacity: .5; }
#to-top:hover { opacity: 1; color: #fff; }
/* FontAwesome 4 fa-angle-up at 14 px (thin 8 x 5 px chevron, apex 18 px from the top), drawn in CSS */
#to-top i { position: absolute; left: 50%; top: 19px; width: 5.5px; height: 5.5px; margin-left: -2.5px; border-left: 1.2px solid currentColor; border-top: 1.2px solid currentColor; transform: rotate(45deg); box-sizing: border-box; }

/* JP: never split a word inside a heading. WPBakery 9 sets .vc_custom_heading { overflow-wrap: break-word } (the original theme heading did not),
   which cut e.g. "grapevines" at 320 px. The original theme behaviour: words stay whole. */
html body .vc_custom_heading { overflow-wrap: normal; word-wrap: normal; }
