/*
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 { opacity: 1.0; 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: #333; padding-top: 25px; padding-bottom: 25px; background-color: #f6f6f6; border-top: 1px solid #e1e1e1; border-bottom: 1px solid #e1e1e1; }
.title-bar-wrapper .title-bar-content.title-bar-default a { color: #333; }
.title-bar-wrapper .title-bar-content.title-bar-default .title-bar h1.entry-title { margin: 0; color: #333; font-size: 22px; }
.title-bar-wrapper .title-bar-content.title-bar-default .breadcrumb { padding: 0; margin-bottom: 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: 40px !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: 40px !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
================================================================================================= */

.navbar li:not(li li) { margin-right: calc(45px / 2); }
.navbar li:last-child { margin-right: 0; }
.navbar a { font-size: var(--wp--preset--font-size--small); padding: 10px; text-transform: uppercase; font-weight: 700; }
.navbar a,
.navbar a:focus { color: #111; }
.navbar li:hover > a { color: #bf0b0c; }

/* Nav Current */
.navbar li.current-menu-item:not(.item-scrollto) a, 
.navbar li.current_page_item:not(.item-scrollto) a { background-color: transparent; color: #bf0b0c; }
    
/* Nav Dropdown */
.navbar .dropdown 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; }
.navbar .dropdown ul li { background-color: #fff !important; color: #444; transition: all 0.5s ease; }
.navbar .dropdown ul li a { color: #444; font-size: 14px; }
.navbar .dropdown ul li:hover,
.navbar .dropdown ul li.current-menu-item, 
.navbar .dropdown ul li.current_page_item { color: #333 !important; }
.navbar .dropdown ul li:hover,
.navbar .dropdown ul li.current-menu-item, 
.navbar .dropdown ul li.current_page_item { color: #333; }

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%; }

/* Block Footer style
================================================================================================= */

footer .wp-block-image { margin-top: 0; }
footer > * + * { margin-block-start: 0 !important; }

.wp-block-footer.wp-block-widget-area { background-color: #f6f6f6; color: #111; }
.wp-block-footer.wp-block-widget-area h2,
.wp-block-footer.wp-block-widget-area h3,
.wp-block-footer.wp-block-widget-area h4,
.wp-block-footer.wp-block-widget-area h5,
.wp-block-footer.wp-block-widget-area h6 { color: #111; }
.wp-block-footer.wp-block-widget-area a { color: #111; }
.wp-block-footer.wp-block-widget-area a:hover,
.wp-block-footer.wp-block-widget-area a:focus { color: #666; }

.wp-block-footer.wp-block-footer-copyright { font-size: var(--wp--preset--font-size--small); background-color: #f6f6f6; color: #111; }
.wp-block-footer.wp-block-footer-copyright h2,
.wp-block-footer.wp-block-footer-copyright h3,
.wp-block-footer.wp-block-footer-copyright h4,
.wp-block-footer.wp-block-footer-copyright h5,
.wp-block-footer.wp-block-footer-copyright h6 { color: #111; }
.wp-block-footer.wp-block-footer-copyright a { color: #111; }
.wp-block-footer.wp-block-footer-copyright a:hover,
.wp-block-footer.wp-block-footer-copyright a:focus { color: #666; }
  
.wp-block-footer.wp-block-footer-copyright .wp-block-navigation__responsive-container-open,
.wp-block-footer.wp-block-footer-copyright .wp-block-navigation__responsive-container-close,
.wp-block-footer.wp-block-footer-copyright .wp-block-navigation .current-menu-item .wp-block-navigation-item__content,
.wp-block-footer.wp-block-footer-copyright .wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-footer.wp-block-footer-copyright .wp-block-navigation .wp-block-navigation-item__content:focus { color: #111; }

/* 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
================================================================================================= */

.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
================================================================================================= */

.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 dashed #999; }
.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; }

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

.text-highlight::after { background-color: var(--wp--preset--color--primary); }
pre { background-color: #0f172a; }

/*
.header-wrapper.header-original { position: fixed; 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; }
*/

.custom-title { color: #012147; border-bottom: 5px solid #bf0b0c; padding-bottom: 20px; margin-bottom: 45px !important; }

.btn {
	display: inline-block;
	overflow: hidden;
	transform: perspective(0) translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	border-color: transparent;
	border: 0;
	border-style: solid;
	box-shadow: none;
	transition: all 0.5s ease 0s;
	cursor: pointer;
	z-index: 1;
	position: relative;
  }
  
  .btn::before {
	content: "";
	background: #111;
	height: 50%;
	width: 0;
	position: absolute;
	top: 0;
	left: 0;
	right: auto;
	transition: 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
	z-index: -1;
  }
  
  .btn::after {
	content: "";
	background: #111;
	height: 50%;
	width: 0;
	position: absolute;
	bottom: 0;
	right: 0;
	left: auto;
	transition: 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
	z-index: -1;
  }
  
  .btn:focus, .btn:focus:active {
	box-shadow: none;
  }
  
  .btn:hover {
	color: #ffffff;
  }
  
  .btn:hover::before {
	width: 100%;
	right: 0;
	left: auto;
  }
  
  .btn:hover::after {
	width: 100%;
	left: 0;
	right: auto;
  }


.box-shadow { box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); }
.box-shadow-2 { box-shadow: 0px 4px 16px 10px rgba(0, 0, 0, 0.04); }
.box-shadow-3 { box-shadow: 0 5px 15px 0 rgba(0,0,0,.35); }
.box-shadow-4 { box-shadow: 10px 10px 0 0 rgba(0,0,0,.4); }
.box-shadow-inner { box-shadow: inset 0 0 15px rgba( 0,0,0,0.10 ); }
.box-shadow-none { box-shadow: none; }

.box-number { position: absolute; left: -50px; top: -40px; display: inline-block; background-color: #013173; width: 45px; height: 45px; text-align: center; line-height: 45px; color: #fff; font-size: 20px; font-weight: 600; border-radius: 50%; }

.is-style-list-ok li:before { color: #bf0b0c; }

.wp-block-button__link, 
.btn {
	font-weight: 600;
	font-size: 1.125rem;
    width: auto;
    min-width: 260px;
  }

  .gallery-logos .swiper .swiper-slide figure img { width: auto; height: 100px !important; object-fit: contain; display: inline-block; margin: 0 auto; }

@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--foreground); 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; }
}

ul#menu-main.nav.nav-id-3.wp-block-zd-menu a{
	font-size: 18px !important;
}