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

body a{
	text-decoration: none;
}

:root :where(a:where(:not(.wp-element-button))) {
 text-decoration: none;
}
.btn-youtube-single{
	color:#FFF;
}


.page-id-18 .header-wrapper.header-sticky{
	position:relative;
}
.page-id-18 .bumper{
	display:none!important;
}

.accordion-button[aria-expanded="true"]{
color: #000 !important;
}

 .border-bottom-yellow{
    border-bottom: rgb(255 157 0);
    border-bottom-style: solid;
    border-bottom-width: 2px;
    padding-bottom: 10px;
}

.zoom-in-img a img, .zoom-in-img img{
  -ms-transform: scale(1); 
  -webkit-transform: scale(1); 
  transform: scale(1); 
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
   transition: all .3s ease;
}
.zoom-in-img:hover a img, .zoom-in-img:hover img{
  -ms-transform: scale(0.98); 
  -webkit-transform: scale(0.98); 
  transform: scale(0.98); 
}

/* Proyectos
================================================================================================= */


.wrap-cards-proyectos{
  background-color: #F7F6F2;
  margin-left: calc(clamp(1.25rem, 3.5vw, 4rem) * -1) !important;
  margin-right: calc(clamp(1.25rem, 3.5vw, 4rem) * -1) !important;
  width: auto;
  padding: 60px 0;
}

.cards-proyectos li{
  box-shadow: 0 1px 18px 0 rgba(0, 0, 0, 0.09);
	background-color: #FFF;
	border-radius:10px;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.cards-proyectos li:hover{
  transform: translateY(-2px);
   box-shadow: 0 10px 28px 0 rgba(0, 0, 0, 0.14);
}

@media (max-width: 767px) {
	.cards-proyectos{
		grid-template-columns: repeat(1, minmax(0, 1fr));
		max-width: 90%;
        margin: 0 auto
	}
	
}
/* Overlays
================================================================================================= */
#preloader { background-color: #fff; }

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

.icons-on-hover::before,
.overlay-layer, 
.overlay-before:before { background-color: rgba(255, 255, 255, 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: 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: #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: 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
================================================================================================= */
.header-wrapper,
.header-wrapper a { color: inherit; }

@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 { -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 .wp-block-site-logo img { width: auto !important; height: 40px !important; }
.header-wrapper.header-sticky .sticky-hidden { display: none !important; }

/* Block Menu Main
================================================================================================= */
.navbar li:not(li li) { margin-right: calc(45px / 4); }
.navbar li:last-child { margin-right: 0; }
.navbar a { font-size: 12px; letter-spacing: 1px; padding: 5px 6px; text-transform: uppercase; font-weight: 700; border-radius: 6px; }
.navbar a,
.navbar a:focus { color: #111; }
.navbar li:hover > a { color: #111; background-color: #ebf1f3; }

/* Nav Current */
.navbar li.current-menu-item:not(.item-scrollto) > a, 
.navbar li.current_page_item:not(.item-scrollto) > a { background-color: transparent; color: var(--wp--preset--color--primary); }
    
/* Nav Dropdown */
.navbar .dropdown ul { min-width: 300px; max-width: 400px; background-color: #3d419a; box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25); padding: 10px; border-radius: 12px; }
.navbar .dropdown ul li { background-color: #3d419a !important; color: #fff; margin-bottom: 3px; transition: all 0.5s ease; }
.navbar .dropdown ul li a { color: #fff; font-size: 15px; }
.navbar .dropdown ul li:hover,
.navbar .dropdown ul li.current-menu-item, 
.navbar .dropdown ul li.current_page_item { color: #111; background-color: #ebf1f3 !important; border-radius: 6px; }

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-gray); color: rgba(255,255,255,.7); }
.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: rgba(255, 255, 255, 1); }
.wp-block-footer.wp-block-widget-area a { color: rgba(255, 255, 255, .7); }
.wp-block-footer.wp-block-widget-area a:hover,
.wp-block-footer.wp-block-widget-area a:focus { color: var(--wp--preset--color--white); }

.wp-block-footer.wp-block-footer-copyright { font-size: var(--wp--preset--font-size--small); background-color: var(--wp--preset--color--dark-gray); color: rgba(255,255,255,.7); }
.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: var(--wp--preset--color--dark-gray); }
.wp-block-footer.wp-block-footer-copyright a { color: var(--wp--preset--color--dark-gray); }
.wp-block-footer.wp-block-footer-copyright a:hover,
.wp-block-footer.wp-block-footer-copyright a:focus { color: #333; }
  
.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: #333; }

/* WP Block Button Style
-------------------------------------------------------- */
.wp-block-button.is-style-zd-button .wp-block-button__link { border-radius: 0; padding: 0; border: none; }

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

/*
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.admin-bar .header-wrapper.header-original { top: 40px; }
*/

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

.post-navigation-link__label { display: inline-block; width: 100%; font-weight: 600; }

.back-to-top { box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; }

.wp-block-post-author .wp-block-post-author__avatar > .avatar { width: 40px; height: 40px; }

.custom-title { background-color: #3d419a; color: #FFF; display: block; padding: 15px; font-size: 20px; }
.custom-title .fa-text-icon { margin-right: 10px; }

.nav-p-0 .nav-link { padding: 2px 0 !important; }
.nav-p-0 .nav-link .active { border-bottom: 2px solid #111; }

.card-product { border-width: 2px; transition: all ease-in-out 0.4s; height: 100%; color: #666; overflow: hidden; }
.card-product .card-image .featured-image { object-fit: contain; width: auto; height: 240px; }
.card-product .category { display: inline-block; margin-bottom: 12px; font-size: 12px; background-color: #3d419a; color: #fff; padding: 3px 20px; border-radius: 6px; }
.card-product h2 { font-size: 16px; color: #111; margin-bottom: 0; }
.card-product:hover { border-color: #3d419a; transform: translateY(-0.5%); box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2); }

.card-product-cat { background-color: #f2f2f2; font-size: 14px; }
.card-product-cat h2.card-title { font-size: 18px; }

.quantity { display: flex; flex-direction: row; }
.quantity .minus,
.quantity .plus { width: 40px; border: none; background-color: #fff; font-size: 20px; }
.quantity .qty { max-width: 80px; text-align: center; -moz-appearance: textfield; margin: 0; }
.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.slide-title { padding-bottom: 6px; border-bottom: 2px solid rgba(255, 157, 0, 0.6); }

.dropdown-lang { font-size: 13px !important; }
.btn-lang { font-weight: 600; font-size: 13px; }
.btn-lang img { margin-right: 5px; }
.dropdown-menu.show { padding: 5px 0; }

.top-bar,
.top-bar a { font-size: 15px; }
.top-bar .fa-text-icon { margin-right: 5px; }
.navbar ul li a i { margin-top: 3px; }

.wpsr-follow-icons { z-index: 140; }
.wpsr-follow-icons.sr-fb-vl .sr-fb-title { font-weight: 700; color: #666; text-align: center; }

.navbar-toggle ul:first-child > li { border-bottom: 1px solid #e1e1e1; }
.navbar-toggle ul:first-child > li:last-child { border-bottom: none; }

.navbar-toggle ul li.dropdown ul ul li a:before { content: "--"; margin-right: 6px; }

.wpsr-follow-icons.sr-fb-vl { margin-bottom: 100px; }

.sr-fb-br { bottom: 20px; right: 20px; }
.sr-40px a { width: 45px !important; height: 45px !important; font-size: 26px; box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; }

.wpsr-follow-icons.sr-fb-vl .sr-fb-title { font-size: 12px; font-weight: 700; color: #666; text-align: center; background-color: #fff; padding: 5px; border-radius: 10px; width: 7em; box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; }

.back-to-top { right: 35px; }

table.has-fixed-layout { text-align: center; }

.swiper-single-gallery .swiper { max-width: 500px; }

.single-product { margin-bottom: 0; }
.single-product .btn-quote { position: fixed; right: 20px; bottom: 200px; background-color: #f02a39 !important; color: #fff; padding: 5px 10px; border-radius: 6px; font-size: 12px; line-height: 18px; font-weight: 600; z-index: 1040; }

.alert-form .quantity .minus, 
.alert-form .quantity .plus {
	width: 40px;
	border: none;
	background-color: transparent !important;
}

.text-highlight::after {
	content: "";
	background-color: #3d419a;
	position: absolute;
	left: 0;
	bottom: 10%;
	width: calc(100% + 0.3em);
	height: 10%;
	margin-left: -0.15em;
	transform: skew(-12deg) translateX(0);
	z-index: -1;
  }

  .icons-on-hover a i {
	display: block;
	font-size: 20px;
	line-height: 45px;
	width: 45px;
	height: 45px;
	background-color: #3d419a;
	color: #fff !important;
	text-align: center;
	color: #000000;
	border-radius: 50%;
  }

  .swiper-thumbs { margin-top: 20px; }
.swiper-thumbs .swiper-wrapper .swiper-slide { opacity: 0.4; transition: all 0.5s ease; border: 2px solid #e1e1e1; }
.swiper-thumbs .swiper-wrapper .swiper-slide.swiper-slide-thumb-active,
.swiper-thumbs .swiper-wrapper .swiper-slide:hover { opacity: 1; cursor: pointer; border: 2px solid #999; }
.swiper-thumbs .swiper-wrapper .swiper-slide img { width: 100%; height: 68px; object-fit: cover; }
.swiper-thumbs .swiper-wrapper .swiper-slide.slide-thumb-video:before { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: "Font Awesome 6 Brands"; content: "\f167"; color: #fff; font-size: 2rem; display: inline-block; padding-right: 3px; vertical-align: middle; font-weight: 900; }

.card-header,
.card-footer { width: 100%; }

.accordion.accordion-flush .accordion-item .accordion-button:not(.collapsed) { border-radius: 0 !important; }
.accordion.accordion-flush .accordion-item .accordion-button.collapsed { color: #3d419a !important; }

.accordion-downloads.accordion-flush .accordion-item .accordion-button:before { font-family: "Font Awesome 5 Free";
	content: "\f56d";
	display: inline-block;
	padding-right: 10px;
	vertical-align: middle;
	font-weight: 900;
}

.accordion-body a:hover { text-decoration: underline; }

.link-hover:hover { text-decoration: underline; }

  @media (min-width: 768px) and (max-width: 992px) {
	.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
  }

  @media (max-width: 767px) {
	.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
  }

@media (max-width: 991px) {
	.single-product { margin-bottom: 45px; }
	.single-product .btn-quote { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; text-align: center; padding: 15px 10px; border-radius: 0; font-size: 13px; }
	.custom-title-single { font-size: 24px !important; margin: 30px 0 !important; }
}

.swiper-single .swiper { padding-top: 25px; padding-bottom: 50px; }
.swiper-single .swiper-wrapper { height: 100% !important; display: flex; align-items: stretch; }

.text-highlight:after { background-color: #3d419a !important; }

.btn-quote { width: 80px; text-align: center; font-size: 90%; line-height: 1.2 !important; }

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

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

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

@media (min-width: 1200px) {

	.navbar li:not(li li) { margin-right: calc(45px / 3); }
	.navbar a { font-size: 13px; }

	.btn-menu-main a { background-color: #3d419a; color: #fff !important; border-radius: 6px; padding-left: 20px; padding-right: 20px; }
	.btn-menu-main a:hover { background-color: #3d419a !important; color: #fff !important; opacity: .8; }
    .navbar li.btn-menu-main.current_page_item:not(.item-scrollto) > a { background-color: #3d419a !important; color: #fff !important;; }

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