/*
Theme Name: Tri-Valley Divers
Author: Tri-Valley Divers
Description: The Tri-Valley Divers site design. Built from the playable mockups.
Version: 0.1.22
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: tvd
*/
@font-face{font-family:"FF Good Pro";src:url(assets/FFGoodPro-News.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"FF Good Pro";src:url(assets/FFGoodPro-Medium.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"FF Good Pro";src:url(assets/FFGoodPro-Bold.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"FF Good Pro";src:url(assets/FFGoodPro-Black.woff2) format("woff2");font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:"FF Good Pro";src:url(assets/FFGoodPro-Ultra.woff2) format("woff2");font-weight:900;font-style:normal;font-display:swap}
body{margin:0}
a{color:#183D5E}a:hover{color:#0E2A44}
a.tvd-light{color:#FFFFFF}a.tvd-light:hover{color:#F5D41F}
.tvd-narrow{display:none}
@container (max-width:720px){.tvd-wide{display:none !important}.tvd-narrow{display:inline-flex}}
.tvd-dd-panel{display:none}
.tvd-dd:hover .tvd-dd-panel,.tvd-dd:focus-within .tvd-dd-panel{display:flex}
.tvd-dd-panel a:hover{background:rgba(117,199,193,0.35)}
.tvd-menu{display:none}
@container (max-width:720px){.tvd-menu{display:flex}}
.tvd-narrow-block{display:none}
@container (max-width:720px){
.tvd-narrow-block{display:block}
.tvd-table,.tvd-table tbody,.tvd-table tr,.tvd-table td{display:block}
.tvd-table{min-width:0 !important}
.tvd-table thead{display:none}
.tvd-table tr{padding:12px 0;border-top:2px solid #183D5E}
.tvd-table td{border:0 !important;padding:2px 0 !important;text-align:left !important;white-space:normal !important;font-size:1.0625rem !important}
.tvd-table td:first-child{font-size:1.1875rem !important}
.tvd-table td:not(:first-child)[data-label]::before{content:attr(data-label);display:block;font-size:.8125rem;font-weight:700;margin-top:6px}
}
@container (max-width:1180px){.tvd-fig{display:none !important}}

/* ---- theme additions, not in the mockups ---- */
html{-webkit-text-size-adjust:100%}body{margin:0}img{max-width:none}
tvd-if{display:contents}.tvd-off{display:none !important}
/* the old header and footer that WPCode still adds to every page. Hidden until those slots are switched off. */
body > .tvd-home{display:none !important}
.tvd-only-phone{display:none}
@container (max-width:720px){.tvd-only-phone{display:block}.tvd-menupanel{display:block}}
.tvd-stickwrap{position:fixed !important;left:0;right:0;bottom:0;height:0;z-index:40}
@media (min-width:721px){.tvd-stickwrap{display:none}}
.tvd-stick{transform:translateY(115%);visibility:hidden;transition:transform .28s ease,visibility 0s linear .28s}
.tvd-stick.tvd-on{transform:none;visibility:visible;transition:transform .28s ease}
@media (prefers-reduced-motion:reduce){.tvd-stick,.tvd-stick.tvd-on{transition:none}}
@media (max-width:720px){.tvd-sun{animation-play-state:paused}.tvd-sun.tvd-go{animation-play-state:running}}
/* WPForms forms, drawn to match the mockup fields */
figure{margin:0}
.tvd-form .wpforms-container{margin:0 !important;font-family:'FF Good Pro','Helvetica Neue',Arial,sans-serif}
.tvd-form .wpforms-container .wpforms-field{padding:0 0 18px !important}
.tvd-form .wpforms-container .wpforms-field-label,.tvd-form .wpforms-container legend.wpforms-field-label{font-weight:700 !important;font-size:1rem !important;line-height:1.3 !important;color:#183D5E !important;margin:0 0 6px !important}
.tvd-form .wpforms-container .wpforms-field-sublabel,.tvd-form .wpforms-container .wpforms-field-description,.tvd-form .wpforms-container .wpforms-field-label-inline{font-size:0.9375rem !important;line-height:1.4 !important;color:#183D5E !important}
.tvd-form .wpforms-container input[type=text],.tvd-form .wpforms-container input[type=email],.tvd-form .wpforms-container input[type=tel],.tvd-form .wpforms-container input[type=number],.tvd-form .wpforms-container input[type=date],.tvd-form .wpforms-container select,.tvd-form .wpforms-container textarea{width:100% !important;max-width:100% !important;box-sizing:border-box !important;border:2px solid #183D5E !important;border-radius:12px !important;padding:10px 14px !important;font:500 1.0625rem/1.3 'FF Good Pro','Helvetica Neue',Arial,sans-serif !important;color:#183D5E !important;background-color:#FFFFFF !important;min-height:48px !important;height:auto !important;box-shadow:none !important}
.tvd-form .wpforms-container textarea{min-height:110px !important}
.tvd-form .wpforms-container .wpforms-field-medium,.tvd-form .wpforms-container .wpforms-field-large,.tvd-form .wpforms-container .wpforms-field-small{max-width:100% !important}
.tvd-form .wpforms-container input:focus,.tvd-form .wpforms-container select:focus,.tvd-form .wpforms-container textarea:focus{outline:3px solid #F5D41F !important;outline-offset:2px}
.tvd-form .wpforms-container .wpforms-submit-container{padding:8px 0 0 !important}
.tvd-form .wpforms-container button[type=submit],.tvd-form .wpforms-container .wpforms-submit{background:#F8AB5B !important;color:#183D5E !important;font:800 1.25rem/1.2 'FF Good Pro','Helvetica Neue',Arial,sans-serif !important;padding:18px 30px !important;border:0 !important;border-radius:12px !important;min-height:44px !important;height:auto !important;cursor:pointer}
.tvd-form .wpforms-container .wpforms-required-label{color:#183D5E !important}
.tvd-form .wpforms-container label.wpforms-error,.tvd-form .wpforms-container em.wpforms-error{color:#183D5E !important;font-weight:700 !important;font-size:0.9375rem !important}
.wpforms-confirmation-container-full{background:#FFFFFF !important;border:2px solid #183D5E !important;border-radius:12px !important;padding:24px 28px !important;margin:0 !important;color:#183D5E !important;font:500 1.0625rem/1.5 'FF Good Pro','Helvetica Neue',Arial,sans-serif !important}
.wpforms-confirmation-container-full p,.wpforms-confirmation-container-full li{color:#183D5E !important;margin:0 0 12px !important}
.wpforms-confirmation-container-full a{color:#183D5E !important;font-weight:700}
/* the free trial date picker opens outside the page container, so it needs the font named */
.flatpickr-calendar,.flatpickr-calendar input,.flatpickr-calendar select,.flatpickr-calendar span{font-family:'FF Good Pro','Helvetica Neue',Arial,sans-serif !important}
.flatpickr-calendar{color:#183D5E}
/* plain pages and blog posts that have no drawn page yet */
.tvd-plain{background:#FFFFFF;color:#183D5E}.tvd-plain-inner{max-width:820px;margin:0 auto;padding:64px clamp(20px,4cqw,48px) 72px;font-size:1.125rem;line-height:1.6}
.tvd-plain h1{margin:0 0 8px;font-weight:800;font-size:clamp(2.2rem,4.2cqw,3.75rem);line-height:1.02}.tvd-plain h2{font-weight:800;font-size:1.75rem;line-height:1.1;margin:40px 0 0}
.tvd-plain img{max-width:100%;height:auto;border-radius:12px}.tvd-plain a{color:#183D5E;font-weight:700}.tvd-plain .tvd-meta{font-weight:700;font-size:1rem;margin:0 0 28px}
.tvd-postlist{list-style:none;margin:28px 0 0;padding:0;border-bottom:2px solid #183D5E}.tvd-postlist li{padding:16px 0;border-top:2px solid #183D5E}
.tvd-postlist a{display:block;text-decoration:none;font-weight:800;font-size:1.5rem;line-height:1.15}.tvd-postlist span{display:block;font-weight:700;font-size:1rem;margin-bottom:6px}
