/* Plezer Adam – Divi child: reproduces the original plezeradam.com look */
@font-face { font-family: 'Helvetica Neue Light'; src: url(../fonts/helvetica-neue-light.ttf); }

body.pa-site, body.pa-site .et_pb_module, body.pa-site .et_pb_text,
body.pa-site input, body.pa-site textarea, body.pa-site button, body.pa-site select { font-family: 'Helvetica Neue Light', Helvetica, Arial, sans-serif; }
body.pa-site { font-size: 14px; line-height: 1.42857143; color: #333; background: #fff; font-weight: 400; }
body.pa-site #page-container { position: relative; padding-top: 0 !important; overflow: visible; }
body.pa-site #main-content { background: transparent; }
body.pa-site #main-content .container:before { display: none; }
body.pa-site a { color: #337ab7; }
body.pa-site a:hover { color: #23527c; }

body.pa-site h1, body.pa-site .et_pb_text h1 { font-family: inherit; font-size: 36px; font-weight: 500; line-height: 1.1; color: #333; margin: 20px 0 10px; padding-bottom: 0; }
body.pa-site hr { border: 0; height: 1px; margin: 20px 0; background-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,.75), rgba(0,0,0,0)); }
body.pa-site p { padding-bottom: 0; margin: 0 0 10px; }
body.pa-site .et_pb_text { line-height: 1.42857143; }
.text-block { margin-bottom: 20px; text-align: justify; }
body.pa-site .pa-mini .text-block, body.pa-site .pa-mini .et_pb_text { text-align: center; }

body.pa-site .pa-sec { padding: 0 !important; text-align: center; background: #fff; }
body.pa-site .pa-sec .et_pb_row { width: calc(100% - 30px); max-width: 1140px; padding: 0 !important; }
body.pa-site .pa-sec .et_pb_text { text-align: inherit; }
body.pa-site .pa-sec .et_pb_module { margin-bottom: 0; }
body.pa-site .pa-sec .et_pb_column { margin-bottom: 0; }
body.pa-site .pa-sec .et_pb_image { margin-bottom: 10px; }
body.pa-site .pa-sec .et_pb_image .et_pb_image_wrap { display: block; }
body.pa-site .pa-sec .et_pb_image img { width: 100%; }
body.pa-site .pa-logo-small img { max-width: 60% !important; width: auto !important; margin: 0 auto 20px; display: block; }
body.pa-site .pa-space-top { margin-top: 30px !important; }

/* Home hero (slider + logo) */
body.pa-site.home #page-container { padding-top: calc(100vh - 80px) !important; }
body.admin-bar.pa-site.home #page-container { padding-top: calc(100vh - 112px) !important; }
body.pa-site .pa-hero-sec { position: absolute !important; top: 0; left: 0; right: 0; height: calc(100vh - 80px); padding: 0 !important; z-index: 1; }
body.admin-bar.pa-site .pa-hero-sec { height: calc(100vh - 112px); }
body.pa-site .pa-hero-sec .et_pb_fullwidth_slider, body.pa-site .pa-hero-sec .et_pb_slides, body.pa-site .pa-hero-sec .et_pb_slide { height: 100%; min-height: 200px; }
.pa-hero .et_pb_slide { padding: 0 !important; background-size: cover !important; background-position: center !important; }
.pa-hero .et_pb_slide_description, .pa-hero .et_pb_container { display: none !important; }
.pa-hero .et_pb_slide_overlay_container { display: none; }
.pa-hero .et-pb-arrow-prev, .pa-hero .et-pb-arrow-next { opacity: 1 !important; color: #fff; font-size: 30px; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.pa-hero .et-pb-arrow-prev { left: 3% !important; }
.pa-hero .et-pb-arrow-next { right: 3% !important; }
.pa-hero .et-pb-controllers { bottom: 20px; }
.pa-hero .et-pb-controllers a { width: 10px; height: 10px; border: 1px solid #fff; background: transparent; border-radius: 10px; margin: 1px; opacity: 1; }
.pa-hero .et-pb-controllers .et-pb-active-control { width: 12px; height: 12px; margin: 0; background: #fff; }
body.pa-site .pa-hero-logo { position: absolute; top: 5%; left: 0; width: 100%; z-index: 20; margin: 0 !important; pointer-events: none; }
body.pa-site .pa-hero-logo img { display: block; margin: -30px auto 0; max-height: 250px; width: auto; }

/* Menu */
#pa-nav-holder { min-height: 80px; position: relative; z-index: 50; }
.pa-navbar { background: #f5f5f5; min-height: 80px; width: 100%; text-align: center; z-index: 9999; }
.pa-navbar.pa-fixed { position: fixed; top: 0; left: 0; }
body.admin-bar .pa-navbar.pa-fixed { top: 32px; }
.pa-menu { display: inline-block; padding-top: 15px; }
.pa-nav { list-style: none; margin: 0; padding: 0; }
.pa-nav > li { display: inline-block; position: relative; }
.pa-nav > li > a { display: block; padding: 15px; line-height: 20px; color: #777 !important; font-size: 14px; text-decoration: none; }
.pa-nav > li > a:hover, .pa-nav > li > a:focus { color: #333 !important; }
.pa-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 190px; list-style: none; margin: 0; padding: 5px 0; background: #fff; border: 1px solid rgba(0,0,0,.15); box-shadow: 0 6px 12px rgba(0,0,0,.175); text-align: left; z-index: 1000; }
.pa-nav > li.menu-item-has-children > a:after { content: ''; display: inline-block; margin-left: 4px; vertical-align: middle; border-top: 4px dashed; border-right: 4px solid transparent; border-left: 4px solid transparent; }
.pa-nav .sub-menu a { display: block; padding: 3px 20px; line-height: 1.42857; color: #333 !important; white-space: nowrap; }
.pa-nav .sub-menu a:hover { background: #f5f5f5; color: #262626 !important; }
.pa-toggle { display: none; position: absolute; right: 15px; top: 18px; padding: 9px 10px; background: transparent; border: 1px solid #ddd; border-radius: 4px; cursor: pointer; }
.pa-toggle span { display: block; width: 22px; height: 2px; border-radius: 1px; background: #888; }
.pa-toggle span + span { margin-top: 4px; }
@media (min-width: 993px) { .pa-nav > li:hover > .sub-menu { display: block; } }
@media (max-width: 992px) {
	.pa-toggle { display: block; }
	.pa-menu { display: none; width: 100%; padding-top: 80px; }
	.pa-navbar.pa-open .pa-menu { display: block; }
	.pa-nav > li { display: block; }
	.pa-nav > li > a { padding-top: 10px; padding-bottom: 10px; }
	.pa-nav .sub-menu { display: block; position: static; border: 0; box-shadow: none; background: transparent; text-align: center; }
	.pa-nav .sub-menu a { color: #777 !important; padding: 6px 15px; }
	.pa-nav > li.menu-item-has-children > a:after { display: none; }
}

/* Footer bar */
.pa-footer { position: relative; width: 100%; height: 35px; background: #f5f5f5; text-align: center; z-index: 9998; }
.pa-footer-inner { display: inline-block; margin-top: 5px; line-height: 20px; }
body.pa-site #et-main-area { padding-bottom: 0; }

/* Portfolio grid (global Divi section) */
body.pa-site .pa-portfolio .pa-grid { margin-bottom: 30px; }
.pa-pf-item { position: relative; overflow: hidden; margin-bottom: 0 !important; }
.pa-pf-item .et_pb_main_blurb_image { margin-bottom: 0 !important; width: 100%; }
.pa-pf-item .et_pb_main_blurb_image .et_pb_image_wrap, .pa-pf-item .et_pb_main_blurb_image img { width: 100%; max-width: 100% !important; display: block; }
.pa-pf-item img { transition: all .2s ease; }
.pa-pf-item:hover img { filter: brightness(.3); -webkit-filter: brightness(.3); }
.pa-pf-item .et_pb_blurb_container { position: absolute; top: 0; left: 0; width: 100%; padding: 0 0 0 20px; pointer-events: none; text-align: left; display: none; }
.pa-pf-item:hover .et_pb_blurb_container { display: block; }
.pa-pf-item h4, .pa-pf-item .et_pb_module_header { color: #fff !important; font-family: Arial, sans-serif !important; text-transform: uppercase; font-size: 14px !important; margin: 10px 0 0; padding: 0; line-height: 1.1; transform: translate(0, -50%); font-weight: 500; }
.pa-pf-item h4 a { color: #fff !important; }
@media (max-width: 767px), (pointer: coarse) {
	.pa-pf-item img { filter: brightness(.8); -webkit-filter: brightness(.8); }
	.pa-pf-item .et_pb_blurb_container { display: block; }
}
@media (max-width: 980px) {
	body.pa-site .pa-grid .et_pb_column { width: 31% !important; margin-right: 3.5% !important; float: left !important; }
	body.pa-site .pa-grid .et_pb_column:last-child { margin-right: 0 !important; }
}

/* FooGallery: original masonry look */
.container_gall .foogallery { margin: 0 auto; }
.container_gall .foogallery .fg-item-inner { border: 0 !important; box-shadow: none !important; background: transparent !important; }
.container_gall .foogallery .fg-image { transition: all .2s ease; }
.container_gall .foogallery .fg-thumb:hover .fg-image { filter: brightness(.3); -webkit-filter: brightness(.3); }
.container_gall .foogallery .fg-caption, .container_gall .foogallery .fg-image-overlay { display: none !important; }

/* Videos */
body.pa-site .pa-video { width: 80%; margin: 0 auto !important; }

/* Contact form (Divi module styled like the original) */
body.pa-site .pa-contact-logo img { max-height: 100px; width: auto !important; margin: 0 auto; display: block; }
body.pa-site .pa-contact { margin-top: 40px !important; padding-left: 20%; text-align: left; }
.pa-contact .et_pb_contact_form { margin-left: 0; }
.pa-contact .et_pb_contact_field { position: relative; padding-left: 35px !important; margin-bottom: 30px !important; width: 100% !important; float: none !important; }
.pa-contact .et_pb_contact_field:before { font-family: FontAwesome; position: absolute; left: 0; top: 6px; font-size: 20px; width: 15px; color: #333; }
.pa-contact .et_pb_contact_field[data-id="first_name"]:before, .pa-contact .et_pb_contact_field[data-id="last_name"]:before { content: "\f007"; }
.pa-contact .et_pb_contact_field[data-id="email"]:before { content: "\f003"; }
.pa-contact .et_pb_contact_field[data-id="message"]:before { content: "\f040"; }
.pa-contact input.input, .pa-contact textarea.input { width: 70% !important; background: #fff !important; border: none !important; border-bottom: 1px solid #000 !important; border-radius: 0 !important; padding: 6px 12px !important; font-size: 14px !important; color: #555 !important; box-shadow: none !important; }
.pa-contact textarea.input { height: 54px; min-height: 54px; padding: 10px !important; }
.pa-contact .et_contact_bottom_container { float: none; text-align: center; margin-top: 0; padding-right: 30%; }
body.pa-site .pa-contact .et_pb_contact_submit, body.pa-site .pa-contact .et_pb_button { background: #3385ff !important; border: 1px solid #3385ff !important; color: #fff !important; border-radius: 0 !important; padding: 10px 30px !important; font-size: 16px !important; line-height: 1.42857 !important; margin-left: -60px !important; transition: all .2s ease; }
body.pa-site .pa-contact .et_pb_contact_submit:hover { background: #0066ff !important; border-color: #0066ff !important; padding: 10px 30px !important; }
body.pa-site .pa-contact .et_pb_contact_submit:after { content: "\f1d8" !important; font-family: FontAwesome !important; opacity: 1 !important; position: static !important; margin-left: 6px !important; font-size: 15px !important; display: inline !important; line-height: inherit !important; }
.pa-contact .et-pb-contact-message { color: green; }
@media (max-width: 992px) {
	body.pa-site .pa-contact-photo { display: none; }
	body.pa-site .pa-contact { padding-left: 10%; }
}

/* hero must be positioned against #page-container */
body.pa-site.home #et-main-area, body.pa-site.home #main-content, body.pa-site.home #main-content article, body.pa-site.home .entry-content, body.pa-site.home #et-boc, body.pa-site.home .et-l, body.pa-site.home .et_builder_inner_content { position: static !important; }

/* override Divi theme options inherited from the previous site (boxed layout, background) */
html body.pa-site, body.pa-site #page-container, body.pa-site #et-main-area, body.pa-site #main-content { background: #fff !important; }
body.pa-site #page-container { max-width: none !important; width: 100% !important; margin: 0 !important; box-shadow: none !important; }
/* hero slide height */
body.pa-site .pa-hero .et_pb_slide { height: calc(100vh - 80px) !important; min-height: 200px; }
body.admin-bar.pa-site .pa-hero .et_pb_slide { height: calc(100vh - 112px) !important; }
/* contact button centered under the fields */
body.pa-site .pa-contact .et_contact_bottom_container { display: block !important; float: none !important; width: 70%; margin-left: 35px; padding: 0 !important; text-align: center; }
body.pa-site .pa-contact .et_pb_contact_submit { margin-left: 0 !important; float: none !important; }
body.pa-site .pa-contact input.input:focus, body.pa-site .pa-contact textarea.input:focus { border-bottom-color: #000 !important; outline: none; }

/* widths measured against the original (container 1140 / content 1110) */
body.pa-site .pa-sec .et_pb_row { max-width: 1110px !important; width: calc(100% - 60px) !important; }
body.pa-site #contact .et_pb_row:last-child { max-width: 1140px !important; width: calc(100% - 30px) !important; }
body.pa-site .pa-contact input.input, body.pa-site .pa-contact textarea.input { width: 80% !important; }
body.pa-site .pa-contact .et_contact_bottom_container { width: 80%; }

/* virtual tour cover images (#virtual_tour img in the original) */
body.pa-site .pa-sec .et_pb_image a[target="_blank"] img { margin-bottom: 60px; }
body.pa-site .pa-sec .et_pb_image { margin-bottom: 0; }

/* Divi Visual Builder: show the hero in the normal flow while editing */
body.et-fb.pa-site.home #page-container, body.et-fb.admin-bar.pa-site.home #page-container { padding-top: 0 !important; }
body.et-fb.pa-site .pa-hero-sec { position: relative !important; height: 600px !important; }
body.et-fb.pa-site .pa-hero .et_pb_slide { height: 600px !important; }
body.et-fb .pa-navbar.pa-fixed { position: static; }

/* Virtual tours page grid */
body.pa-site .pa-vt .pa-vt-row { margin-bottom: 30px !important; }
body.pa-site .pa-vt .pa-vt-item { margin-bottom: 0 !important; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
body.pa-site .pa-vt .pa-vt-item img { margin-bottom: 0 !important; display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease, filter .3s ease; }
body.pa-site .pa-vt .pa-vt-item:hover img { transform: scale(1.04); filter: brightness(1.08); }
@media (max-width: 767px) { body.pa-site .pa-vt .pa-vt-row .et_pb_column { margin-bottom: 20px !important; } body.pa-site .pa-vt .pa-vt-row { margin-bottom: 0 !important; } }

/* Footer always at the bottom */
body.pa-site #page-container { display: flex; flex-direction: column; min-height: 100vh; }
body.admin-bar.pa-site #page-container { min-height: calc(100vh - 32px); }
body.pa-site #et-main-area { flex: 1 0 auto; }
body.pa-site #pa-nav-holder, body.pa-site .pa-footer { flex-shrink: 0; }
body.pa-site .pa-video { margin-bottom: 60px !important; }
/* end footer */

/* Space above footer (all pages) */
body.pa-site #et-main-area { padding-bottom: 60px !important; }
body.pa-site .pa-sec.pa-vt { padding-bottom: 0 !important; }
body.pa-site .pa-video { margin-bottom: 0 !important; }
/* end space */
