/*
Theme Name: Zafiro Child
Description: Child theme for Zafiro theme
Template: zafiro
Version: 1.0
*/

/* Overlays
================================================================================================= */

#preloader { background-color: #fff; }

.overlay-backdrop { background-color: #fff; }
.modal-backdrop.show, 
.offcanvas-backdrop.show { background-color: #111; opacity: .85; }

.icons-on-hover::before,
.overlay-layer, 
.overlay-before:before { background-color: rgba(0, 0, 0, 0.5); };

/* Title Bar
================================================================================================= */

.title-bar-wrapper .title-bar-content,
.title-bar-wrapper .title-bar-content .alignwide { position: relative; }

.title-bar-wrapper .title-bar-content.title-bar-default { position: relative; color: #111; padding-top: 15px; padding-bottom: 15px; background-color: #fff; border-top: 1px solid #e1e1e1; border-bottom: 1px solid #e1e1e1; }
.title-bar-wrapper .title-bar-content.title-bar-default a { color: #111; }
.title-bar-wrapper .title-bar-content.title-bar-default .title-bar h1.entry-title { margin: 0; color: #111; font-size: 22px; }
.title-bar-wrapper .title-bar-content.title-bar-default .breadcrumb { padding: 0; margin: 0; background-color: transparent; border-radius: 0; }
.title-bar-wrapper .title-bar-content.title-bar-default .breadcrumb li.breadcrumb-item { margin: 0; font-size: 13px; }
.title-bar-wrapper .title-bar-content.title-bar-default .nav-breadcrumb { display: inline-block; position: relative; z-index: 2; }

.title-bar-wrapper .title-bar-content.title-bar-bg,
.title-bar-wrapper .title-bar-content.title-bar-bg a { color: #FFF; }
.title-bar-wrapper .title-bar-content.title-bar-bg .grid { height: 420px; }
.title-bar-wrapper .title-bar-content.title-bar-bg .title-bar h1.entry-title { margin: 0; color: #FFF; font-size: 38px; }

/* Header Main Global
================================================================================================= */

@media (max-width: 1199px) {
	.header-wrapper.header-original .wp-block-site-logo img { width: auto !important; height: 55px !important; }
}

/* Sticky Header
================================================================================================= */

.header-wrapper.header-sticky { background-color: rgba(255, 255, 255, 1.0); box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.08); }
.header-wrapper.header-sticky .wp-block-site-logo img { width: auto !important; height: 55px !important; }

.header-wrapper.header-sticky .sticky-hidden { display: none !important; }

.header-wrapper.header-original .sticky-visible { display: none !important; }
.header-wrapper.header-sticky .sticky-visible { display: block !important; }

.header-wrapper.header-sticky .wp-block-header { padding-top: 8px !important; padding-bottom: 8px !important; }

/* Block Menu Main
================================================================================================= */

.menu-container ul.menu-main li:not(li li) { margin-right: calc(45px / 2); }
.menu-container ul.menu-main li:last-child { margin-right: 0; }
.menu-container ul.menu-main a { display: inline-block; }

.menu-container ul.menu-main > li > a { font-size: var(--wp--preset--font-size--small); padding: 10px; font-weight: 700; letter-spacing: 1px; }
.menu-container ul.menu-main > li > a,
.menu-container ul.menu-main > li > a:focus { color: #111; }
.menu-container ul.menu-main > li:hover > a { color: #c72a22; }

/* Nav Current */
.menu-container ul.menu-main li.current-menu-item:not(.item-scrollto) > a, 
.menu-container ul.menu-main li.current_page_item:not(.item-scrollto) > a { background-color: transparent; color: #c72a22; }
    
/* Nav Dropdown */
.menu-container ul.menu-main .menu-item-has-children ul { min-width: 200px; max-width: 300px; background-color: #fff; box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25); padding: 10px; border-radius: 12px; }
.menu-container ul.menu-main .menu-item-has-children ul li { background-color: #fff !important; color: #444; transition: all 0.5s ease; }
.menu-container ul.menu-main .menu-item-has-children ul li a { color: #444; font-size: 14px; }
.menu-container ul.menu-main .menu-item-has-children ul li:hover > a,
.menu-container ul.menu-main .menu-item-has-children ul li.current-menu-item a, 
.menu-container ul.menu-main .menu-item-has-children ul li.current_page_item a { color: #333 !important; }

ul li.item-scrollto:before,
ul li.item-scrollto:after { position: absolute; -webkit-transition: all 0.35s ease; transition: all 0.35s ease; }
ul li.item-scrollto:before { bottom: 0; display: block; height: 3px; width: 0%; content: ""; background-color: #666; }
ul li.item-scrollto:hover:before,
ul li.item-scrollto.active:before { opacity: 1; width: 100%; }

/* WP Block Button Style
-------------------------------------------------------- */
/* .wp-block-button__link { width: auto; min-width: 260px !important; } */
.wp-block-button.is-style-zd-button .wp-block-button__link { border-radius: 0; padding: 0; border: none; }

/* Bootstrap
================================================================================================= */

.form-control:focus { color: #565973; background-color: #fff; border-color: rgba(91, 91, 102, 0.35); outline: 0;  box-shadow: inset 0 0 0 transparent,0 .5rem 1.125rem -0.5rem rgba(91, 91, 102, 0.35); }
.accordion {
	--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='GRAY'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
	--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='GRAY'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* WP Plugins */
.joinchat { --bottom: 120px; --s: 45px; --header: 45px; }
.back-to-top { right: 25px !important; bottom: 70px; }

@media (max-width: 480px), (orientation: landscape) and (max-width: 767px) {
	.back-to-top { right: 15px !important; }
}

/* Custom
================================================================================================= */

footer > * + * { margin-block-start: 0 !important; }

.text-style-01 { display: inline-block; color: transparent; background: linear-gradient(130deg, #CCC, #f9f9f9); background-clip: text; font-size: 150px; line-height: 150px; font-weight: 600; }
.border-top-graylight { border-top: 1px solid rgba(255, 255, 255,.12); }
.border-bottom-graylight { border-bottom: 1px solid rgba(255, 255, 255, .12); }

/* Text Size Clamp */
.text-2x { font-size: clamp(1.5rem, -0.0556rem + 3.2407vw, 2.375rem) !important; }
.text-3x { font-size: clamp(1.75rem, -0.4722rem + 4.6296vw, 3rem) !important; }

.btn,
.wp-block-button__link { width: auto; min-width: 260px !important; }

/* Gallery Size */
.gallery-w-50 figure.image-wrapper { display: flex; justify-content: center; align-items: center; }
.gallery-w-50 figure.image-wrapper img { object-fit: contain; width: auto; height: 50px; filter: saturate(0); opacity: .4; }

.gallery-w-160 figure.image-wrapper { display: flex; justify-content: center; align-items: center; }
.gallery-w-160 figure.image-wrapper img { object-fit: contain; width: auto; height: 160px; }

.gallery-logos .swiper .swiper-wrapper .swiper-slide { display: flex; align-items: center; justify-content: center; border: 1px solid #e1e1e1; border-radius: 6px; }
.gallery-logos .swiper .swiper-wrapper .swiper-slide figure img { object-fit: contain; height: 36px; width: auto; margin-top: 2rem !important; margin-bottom: 2rem !important; }

.svg-separator-wrapper svg { fill: #fff; }
.svg-separator-wrapper .svg-separator-layer-1 { transform: none; }

.text-highlight:after { background-color: var(--zd-color, --wp--custom--color--gray ) !important; }
.text-highlight.text-highlight--yellow:after { background-color: #fff300 !important; }
.text-highlight.text-highlight--green:after { background-color: #79fe0c !important; }
.text-highlight.text-highlight--blue:after { background-color: #4af1f2 !important; }
.text-highlight.text-highlight--purple:after { background-color: #df00ff !important; }
.text-highlight.text-highlight--red:after { background-color: #ff2226 !important; }
.text-highlight.text-highlight--orange:after { background-color: #ff7b19 !important; }
.text-highlight.text-highlight--pink:after { background-color: #ff70c5 !important; }

.newsletter-icon { left: 15px !important; top: 13px !important; position: absolute !important; font-size: 20px; color: #9397ad; z-index: 5; }

.menu-hamburger { color: #111 !important; border: 1px solid #111; padding-left: 10px; padding-right: 10px; line-height: 1.9; }

pre { background-color: #0f172a; }

/*
.header-wrapper.header-original { position: absolute; left: 0; top: 0; width: 100%; padding-left: var(--wp--custom--spacing--outer); padding-right: var(--wp--custom--spacing--outer); z-index: 1030; }
.header-wrapper.header-original .wp-block-header { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
*/

.card-product { border: 2px solid #CCC; overflow: hidden; transition: all 0.5s ease; }
.card-product:hover { border: 2px solid #c72a22; background-color: #f6f6f6; }
.card-product h3 { text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 0; font-size: 16px; }

.logos-clients .swiper-wrapper { align-items: center; display: flex; }
.logos-clients figure .gallery__img { width: 180px !important; height: 120px !important; object-fit: contain;  mix-blend-mode: multiply; filter: grayscale(1); opacity: 0.7; }

@media (min-width: 576px) {}

@media (min-width: 768px) {}

@media (min-width: 992px) {}

@media (min-width: 1200px) {

	/* Site Header */
	body.is-side-header a:where(:not(.wp-element-button)) { color: var(--wp--custom--color--contrast); text-decoration: none; }

	body.is-side-header .wp-site-blocks .wp-block-top-header, 
	body.is-side-header footer.wp-block-template-part,
	body.is-side-header .title-bar-wrapper, 
	body.is-side-header .wp-site-blocks main { margin-left: 280px !important; margin-right: 0 !important; }
	body.is-side-header .wp-site-blocks .title-bar-content { width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
	body.is-side-header .header-wrapper .wp-block-header { padding: 50px 15px 15px !important; border-right: 1px solid #e1e1e1; width: 280px !important; position: fixed; top: 0; left: 0; height: 100vh; margin-left: 0 !important; margin-right: 0 !important; }
}

.image-link-zoom:hover { cursor: zoom-in }
.image-link-page:hover { cursor: pointer }