/*!
Theme Name: Outgrid Child
Theme URI: https://uicore.co
Description: Multi-Purpose Elementor WordPress Theme
Author: UiCore
Author URI: https://uicore.co
Template: outgrid
Version: 1.0.0
Text Domain: outgrid
*/
:root{
    	--yith-wcan-anchors_style_text_hover: #dd052c !important;
    	--yith-wcan-anchors_style_text_active: #dd052c !important;
		--yith-wcan-filters_colors_accent: #dd052c !important;
}
@font-face {
  font-family: 'UnitRoundedWeb W03 Bold';
  src: url('https://alfacediva.com/wp-content/uploads/2025/02/UnitRoundedWeb-W03-Bold.ttf') format('ttf');
  font-display: swap;
}

.uicore-toggle .bar {
  background-color: #db052c !important; /* Replace with your desired color */
}
.uicore-navbar nav.uicore ul.sub-menu:not(.uicore-megamenu) a::after {
    content: "" !important;
}
.uicore-navbar nav.uicore ul.sub-menu:not(.uicore-megamenu) a {
	line-height:0.9 !important;
}
.uicore-navbar nav.uicore ul.sub-menu,
.uicore-navbar nav.uicore ul.sub-menu:not(.uicore-megamenu) {
  min-width:0px !important;
}
.uicore-h-classic.uicore-navbar .uicore-menu>.menu-item-has-children>a:after {
 content: "" !important;
}
.LINKSITE:hover .elementor-heading-title {
  color: black !important; /* Change to your desired color */
  transition: color 0.3s ease;
}
@media (min-width: 1025px) {
.uicore-navbar.uicore-scrolled.ui-hide {
  opacity: 0;
  transform: translateY(-60px);
  transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.3s ease;
}
.uicore-navbar.uicore-scrolled:not(.ui-hide) {
  opacity: 1;
  transform: translateY(0);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px); 
}
}

#related{
    max-height: 430px;
    overflow:hidden;
	margin-bottom: 80px;
	
}
.ui-e-pagination {
  display: flex;
  justify-content: center;
}
.ui-e-load-more.elementor-button {
    color:white !important;
    background-color: #db052c !important;
}
.ui-e-load-more.elementor-button:hover{
	background-color:black !important;
}
/*#boton_cont:hover .ti.ti-arrow-right{
	color:#DB052C;
    background-color: white;
	transition: all .3s;
}*/
.elementor-button-icon .ti-arrow-right { 
	color:white;
    background-color: #db052c;
	transition: all .3s;
    padding:6px;
    border-radius: 25px;
    /*margin-left:10px;*/
}
[type="submit"]{
    cursor: pointer;
    padding:15px 15px 15px 15px !important;*/
}
[type="submit"]:hover .ti-arrow-right{
    background-color:white !important;;
    color:red !important;;
}
#boton_cont .ti.ti-arrow-right{
    transition: all .3s;
    padding:6px;
    color:#DB052C;
    background-color: white;
    border-radius: 25px;
    position:absolute;
}
#boton_cont:hover .ti.ti-arrow-right{
    color:white !important;
    background-color: #db052c !important;
}
#boton_cont {
    padding-right: 40px !important;  
}
#boton_contact:hover .ti.ti-arrow-right{
    color:black !important;
    background-color: white !important;

}
#boton_contact .ti.ti-arrow-right{
  position: absolute !important;
 background-color:white !important;
	color:#DB052C;
}
#boton_contact {
    padding-right: 45px !important;  
}
/*body .uicore-logo.uicore-second {
    content: url('https://alfacediva.com/wp-content/uploads/2025/02/Alfa-Cediva_horizontal_v2.png');
}*/

[title="reCAPTCHA"] {
  border-radius: 25px;
}
.elementor-message.elementor-message-danger {
   color:white !important;
}

.select-caret-down-wrapper{
    display:none;
}
.search-field-container {
    display: none;
}
.matching-items.filter-items {
  margin-top: 0px !important;
}
@media (min-width: 768px) and (max-width: 1024px){
   #filtro-valvula {
	width: 100% !important;
	}
}
@media (min-width: 768px){
.yith-wcan-filter.filter-tax.select-design {
  width: 23% !important;
}
}
.custom-filter-form {
  display: flex;
	justify-content: center;
  gap: 70px; 
}
@media (max-width: 1024px){
    .custom-filter-form{
        gap: 30px !important;
    }
}
.filter-title {
	color:#dd052c !important;	
}
.ui-e-post-content a:hover .ui-e-post-title span {
    color: #FF0000;
}
.ui-e-post-content a{
  align-items: flex-end;
  display: flex;
  justify-content: left;
}
.ui-e-post-meta.ui-e-top {
	z-index:3;
}
.uicore-swatch.uicore-swatch--label {
	background-color: white;	
}
.uicore-swatch.uicore-swatch--label div{
		color: #FF0000;
	font-family: Calibri, sans-serif;
  font-size: calc(var(--total-scale-factor) *12.03px);
}
.uicore-swatch.uicore-swatch--label {
	width: auto !important;
  height: auto !important;
	border-radius: 30px;
}
.uicore-swatches-wrp {
	width: 100%;
	display: block ruby !important;
}
.ui-e-post-img-wrapp img {
    max-height: 80% !important; /* Adjust image height without breaking layout */
    width: auto !important; /* Keeps aspect ratio */
    object-fit: contain !important; /* Ensures image stays fully visible */
}

.ui-e-post-content {
    overflow: hidden !important;
	align-items: flex-start !important; /* Prevents content from getting cut off */
	padding: 20px 20px 20px 20px !important;
	text-align: left !important;
}
.ui-e-post-top {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
	aspect-ratio: 1 / 1;
}
.ui-e-post-top {
	background-color: #e0e0e0 !important;
}
.filter-title {
    font-family: "UnitRoundedWeb W03 Regular", Sans-serif;
    font-size: 14pt;
	margin-top:10px;
    margin-bottom: 10px;
	color:#dd052c !important;
	font-weight: bold;
}
.yith-wcan-dropdown{
    font-family: "UnitRoundedWeb W03 Regular", Sans-serif;
    font-size: 15pt !important;
	padding: 1px 15px !important;
}
.matching-items.filter-items{
    font-family: "UnitRoundedWeb W03 Regular", Sans-serif;
    font-size: 14pt !important;
}
.yith-wcan-dropdown {
			border: 1px solid #47474e !important;
            border-radius: 2px !important;
            box-shadow:none !important;
    &.open {
        border: 1px solid #47474e !important;
    }
}
.dropdown-wrapper{
    box-shadow:none !important;
   border: none !important;
}
@media (max-width: 767px) {
.custom-filter-form {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  align-items: center;
  gap:0px;
}
.yith-wcan-filter{
        width:70%;
	margin-bottom:8px !important;
    }  
}
@media (max-width: 1024px){
    .custom-filter-form{
        gap: 30px !important;
    }
}
#filtro-valvula {
    display: block;
	width: 70%;
}
#filtro-bomba {
    display: block; 
}
#filtro-mezcla {
    display: block; 
}
#filtro-aplicaciones {
    display: block;
}
.ui-e-load-more:hover{
	background-color:black;
}

body:not([data-url*="valvulas-y-accesorios"]) #filtro-valvula {
    display: none !important;
}
body:not([data-url*="bombas"]) #filtro-bomba {
    display: none !important;
}
body:not([data-url*="aplicaciones"]) #filtro-aplicaciones {
    display: none !important;
}
body:not([data-url*="mezcla"]) #filtro-mezcla {
    display: none !important;
}
.woocommerce-product-attributes.shop_attributes {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    border: none;
}

.woocommerce-product-attributes-item {
    background: #f2f2f2;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
}

.woocommerce-product-attributes-item__label {
    display: none;
} 
.custom-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
	text-transform: uppercase !important;
	z-index:3;
    /*margin-bottom: 10px;*/
}
.ui-e-post-title{
	margin-bottom:5px !important;
	margin-top:5px !important;
	text-align: left !important;
	z-index:4;
}
.attribute-tag {
    background: #ffffff;
    color: #ea052f;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-block;
    white-space: nowrap;
}
.ui-e-post-img-wrapp {
	z-index:2;
}
#cmplz-document{
	margin-top: 130px;
}
label[for="form-field-field_fe1ad44"] {
  color:white !important;
}