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

/* Layout
================================================================================================= */

.wp-site-blocks > * + *,
[data-type="core/group"],
.wp-block-group,
[data-type="zd/section"],
.wp-block-zd-section { margin-block-start: 0 !important; }

body > .is-root-container,
.edit-post-visual-editor__post-title-wrapper,
.is-root-container .has-no-background,
.wp-block-cover.alignfull,
.wp-block-group.alignfull,
.wp-block-zd-section.alignfull,
.wp-block-group.has-background,
.wp-site-blocks { padding-left: var(--wp--custom--spacing--outer); padding-right: var(--wp--custom--spacing--outer); }

.block-editor-block-list__layout.is-root-container > .alignfull,
.is-root-container > .wp-block-cover,
.is-root-container > .wp-block-group.has-background,
.is-root-container > .wp-block-template-part > .wp-block-cover,
.is-root-container > .wp-block-template-part > .wp-block-group.has-background,
.is-root-container .has-no-background,
.wp-site-blocks .alignfull,
.wp-site-blocks > .wp-block-cover,
.wp-site-blocks > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background { margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important; margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important; width: unset; }

.wp-block-group,
.wp-block-zd-section { margin-block-start: 0 !important; }

.top-bar,
.header-meta,
.title-bar-content,
.wp-block-group.fullwidth,
.wp-block-zd-section.fullwidth { margin: 0 calc(50% - 50vw) !important; max-width: 100vw !important; width: 100vw !important; padding-left: var(--wp--custom--spacing--outer); padding-right: var(--wp--custom--spacing--outer); }

.row { margin-right: calc(var(--bs-gutter-x) * -.5); margin-left: calc(var(--bs-gutter-x) * -.5); }

.wp-site-blocks .alignfull.px-alignfull-0,
.anchor { padding-left: 0 !important; padding-right: 0 !important; }

@media (min-width: 1200px) {

	/* Site Header */
	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 main { padding-left: 0; padding-right: 0; }
	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; }
}

/* 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); };

.overlay-layer, 
.overlay-backdrop, 
.overlay-before::before { height: 100vh; width: 100%; }

/* Title Bar
================================================================================================= */
.title-bar-content.title-bar-default { position: relative; background-color: #f6f6f6; color: #333; padding-top: 45px; padding-bottom: 45px; border-top:none; border-bottom: none; }
.title-bar-content.title-bar-default a { color: #333; }
.title-bar-content.title-bar-default .title-bar h1.entry-title { margin: 0; color: #333; font-size: 22px; }
.title-bar-content.title-bar-default .breadcrumb { padding: 0; margin-bottom: 0; background-color: transparent; border-radius: 0; }
.title-bar-content.title-bar-default .breadcrumb li.breadcrumb-item { margin: 0; font-size: 13px; }
.title-bar-content.title-bar-default .nav-breadcrumb { display: inline-block; position: relative; z-index: 2; }

.title-bar-content.title-bar-bg { border-top: none; border-bottom: none; color: #FFF; }
.title-bar-content.title-bar-bg a { color: #FFF; }
.title-bar-content.title-bar-bg .row { height: 420px; }
.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: 60px !important; }
}

/* Sticky Header
================================================================================================= */
.header-wrapper.header-sticky { -webkit-animation-duration: .5s; animation-duration: .5s; }
.header-wrapper.header-sticky > div { background-color: rgba(255, 255, 255, 1.0); box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.1 ); }
.header-wrapper.header-sticky .header-meta { display: none !important; }
.header-wrapper.header-sticky .wp-block-site-logo img { width: auto !important; height: 60px !important; }

/* Block Menu Main
================================================================================================= */
.navbar li:not(li li) { margin-right: calc(25px / 2); }
.navbar li:last-child { margin-right: 0; }
.navbar a { font-size: var(--wp--preset--font-size--tiny); padding: 10px; text-transform: uppercase; font-weight: 600; }
.navbar a,
.navbar a:focus { color: #111; }
.navbar li:hover > a { color: var(--wp--preset--color--primary); }

/* Nav Current */
.navbar li.current-menu-item:not(.item-scrollto) a, 
.navbar li.current_page_item:not(.item-scrollto) a { color: var(--wp--preset--color--primary); }
    
/* Nav Dropdown */
.navbar .dropdown ul { background-color: #fff; box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25); }
.navbar .dropdown ul li { background-color: #f5f5f5 !important; color: #333; transition: all 0.5s ease; }
.navbar .dropdown ul li a { color: #111; }
.navbar .dropdown ul li:hover,
.navbar .dropdown ul li.current-menu-item, 
.navbar .dropdown ul li.current_page_item { background: #f5f5f5 !important; }
.navbar .dropdown ul li:hover a,
.navbar .dropdown ul li.current-menu-item a, 
.navbar .dropdown ul li.current_page_item a { 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: var(--wp--preset--color--dark); color: #fff; }
.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: #fff; }
.wp-block-footer.wp-block-widget-area a { color: #bfbfbf; }
.wp-block-footer.wp-block-widget-area a:hover,
.wp-block-footer.wp-block-widget-area a:focus { color: #fff; }

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

/* Styles Default
================================================================================================= */
ul ul, ul ol, ol ol, ol ul { margin: 15px 0 20px 20px; }
hr { clear: both; display: block; border-top: 1px solid #e0dede; margin: 20px 0; }
table, tr, td { border: 1px solid #e5e5e5; border-collapse: collapse; }

/* Posts
================================================================================================= */
.wp-block-post-template li .wp-block-columns { border-bottom: 1px solid #e5e5e5; padding-bottom: 30px; }
.wp-block-post-template li:last-child .wp-block-columns { border-bottom: none; }

/* 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 solid #666; }
.border-bottom-graylight { border-bottom: 1px solid rgba(0, 0, 0, .32); }

/*
body.is-front .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; }
body.is-front .header-wrapper.header-sticky { padding-left: 0; padding-right: 0; }
body.admin-bar .header-wrapper.header-original { top: 40px; }
*/

.wc-block-grid__products .wc-block-grid__product-image img,
.products .product img.attachment-woocommerce_thumbnail,
.custom-product img { display: inline-block; margin-left: auto !important; margin-right: auto !important; height: auto !important; max-height: 250px !important; max-width: auto !important; width: auto !important; }
.wc-block-components-product-image,
.woocommerce-LoopProduct-link { margin-top: auto; }

.top-bar-info { color: inherit; font-size: 14px; padding-top: 5px; padding-bottom: 5px; }
.top-bar-info a { color: inherit; }

.wc-block-mini-cart__icon { height: 1.3em; width: 1.3em;  }

.custom-product { text-align: center; display: flex; flex-direction: column; }
.custom-product img { margin-bottom: 15px; }
.custom-product h2 { font-size: var(--wp--preset--font-size--small); padding: 0; }
.custom-product .price  { margin: 0 auto 12px; display: block; }
.custom-product .price ins, 
.custom-product bdi { text-decoration: none; }
.custom-product .price ins { font-weight: 700; }
.custom-product .button { display: inline-block !important; position: relative !important; margin: auto auto 0 auto !important; }

.icon-circle-large { border: 1px solid; margin: 2px; text-align: center; width: 60px; height: 60px; font-size: 25px; line-height: 60px;  border-radius: 50%; }

.swiper-horizontal > .swiper-pagination-bullets, 
.swiper-pagination-bullets.swiper-pagination-horizontal, 
.swiper-pagination-custom, .swiper-pagination-fraction { bottom: -40px; left: 0; width: 100%; }

.icon-phone:before { font-family: "Font Awesome 5 Free";
	content: "\f095";
	display: inline-block;
	padding-right: 10px;
	vertical-align: middle;
	font-weight: 900; color: #666; }
.icon-email:before { font-family: "Font Awesome 5 Free";
	content: "\f0e0";
	display: inline-block;
	padding-right: 10px;
	vertical-align: middle;
	font-weight: 900; color: #666; }

.link-access a:before { font-family: "Font Awesome 5 Free";
	content: "\f007";
	display: inline-block;
	padding-right: 10px;
	vertical-align: middle;
	font-weight: 900; color: #666; }

.list-blog-archives { list-style: none;}

/* Group
--------------------------------------------- */

.wp-block-group.is-style-full-height {
	align-items: center;
	display: grid;
	min-height: 100vh;
}

.wp-block-group.is-style-shadow {
	box-shadow: 0 0 50px rgb(0 0 0 / 10%);
}

.wp-block-group.is-style-shadow-solid {
	border: 1px solid var(--wp--preset--color--contrast);
	box-shadow: 5px 5px var(--wp--preset--color--contrast);
}

figure.alignright {
	padding-right: -var(--wp--custom--spacing--outer);
  }

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

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

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

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