:root {
    --idromec-button-style1-color: #3B815E;
    --idromec-button-style1-color-hover: #212D55;
    --idromec-button-style1-text-color: #FFF;
    --idromec-button-style1-text-color-hover: #FFF;

    --idromec-button-style2-color: #212D55;
    --idromec-button-style2-color-hover: #686868;
    --idromec-button-style2-text-color: #FFF;
    --idromec-button-style2-text-color-hover: #FFF;

    --idromec-button-style3-color: #3B815E;
    --idromec-button-style3-color-hover: #E0E0E0;
    --idromec-button-style3-text-color: #FFF;
    --idromec-button-style3-text-color-hover: #212D55;

    --idromec-button-style4-color: #F5F5F5;
    --idromec-button-style4-color-hover: #FFFFFF;
    --idromec-button-style4-text-color: #212D55;
    --idromec-button-style4-text-color-hover: #212D55;

    --idromec-card-style1-color: rgba(33, 45, 85,0.9);
    --idromec-card-style1-color-hover: rgba(59, 129, 94, 0.9);

}

.idromecbutton,
.idromecbutton::before,
.idromecbutton .lines .line,
.idromecbutton .lines,
.idromecbutton .label{
    transition: all 0.4s ease-in-out
}


a.idromecbutton,
button.idromecbutton
 {
    position: relative;
    display: inline-flex;
    color: white;
    border:none;
    padding:0
}

a.idromecbutton::before,
button.idromecbutton::before {
    content: "";
    display: block;
    background-color: var(--idromec-button-style1-color);
    width: calc(100% - 40px);
    height: 100%;
    position: absolute;
    top: 0;
    left: 40px;
    transform: skewX(23deg)
}

a.idromecbutton .label,
button.idromecbutton .label {
    color: var(--idromec-button-style1-text-color);
    font-weight: bold;
    padding: 12px 20px 12px 24px;
    white-space: nowrap;
    z-index: 2;
	text-transform: uppercase;
    font-family: 'Open Sans';
    font-weight: 700;
    font-size: 14px;
	min-width: 30px;
	text-align:center;
}

a.idromecbutton .lines,
button.idromecbutton .lines {
    display: flex;
    gap: 7px;
    transform: skewX(23deg)
}

a.idromecbutton .lines .line,
button.idromecbutton .lines .line {
    background-color: var(--idromec-button-style1-color);
    width: 3px;
    height: 100%;
}


a.idromecbutton:hover .lines .line,
a.idromecbutton:hover::before,
button.idromecbutton:hover .lines .line,
button.idromecbutton:hover::before {
    background-color: var(--idromec-button-style1-color-hover);
}

a.idromecbutton:hover,
button.idromecbutton:hover,
button.idromecbutton:focus,
button.idromecbutton:active {
    background-color: transparent;
}

:is(a, button).idromecbutton:is(:hover, :active, :focus){
    color: var(--idromec-button-style1-text-color-hover);

}
/*a.idromecbutton:hover .label,
a.idromecbutton:active .label,
button.idromecbutton:hover .label,
button.idromecbutton:focus .label,
button.idromecbutton:active .label {
}
*/

/* Style 2 */
a.idromecbutton.ib_style2::before,
a.idromecbutton.ib_style2 .lines .line,
button.idromecbutton.ib_style2::before,
button.idromecbutton.ib_style2 .lines .line {
    background-color: var(--idromec-button-style2-color);
}

a.idromecbutton.ib_style2:hover::before,
a.idromecbutton.ib_style2:hover .lines .line,
button.idromecbutton.ib_style2:hover::before,
button.idromecbutton.ib_style2:hover .lines .line {
    background-color: var(--idromec-button-style2-color-hover);
}

a.idromecbutton.ib_style2 .label,
button.idromecbutton.ib_style2 .label {
    color: var(--idromec-button-style2-text-color);
}

a.idromecbutton.ib_style2:hover .label,
button.idromecbutton.ib_style2:hover .label {
    color: var(--idromec-button-style2-text-color-hover);
}

/* Style 3 */
a.idromecbutton.ib_style3::before,
a.idromecbutton.ib_style3 .lines .line,
button.idromecbutton.ib_style3::before,
button.idromecbutton.ib_style3 .lines .line {
    background-color: var(--idromec-button-style3-color);
}

a.idromecbutton.ib_style3:hover::before,
a.idromecbutton.ib_style3:hover .lines .line,
button.idromecbutton.ib_style3:hover::before,
button.idromecbutton.ib_style3:hover .lines .line {
    background-color: var(--idromec-button-style3-color-hover);
}

a.idromecbutton.ib_style3 .label,
button.idromecbutton.ib_style3 .label {
    color: var(--idromec-button-style3-text-color);
}

a.idromecbutton.ib_style3:hover .label,
button.idromecbutton.ib_style3:hover .label {
    color: var(--idromec-button-style3-text-color-hover);
}

/* Style 4 */
a.idromecbutton.ib_style4.idromecbutton::before,
a.idromecbutton.ib_style4.idromecbutton .lines .line,
button.idromecbutton.ib_style4.idromecbutton::before,
button.idromecbutton.ib_style4.idromecbutton .lines .line {
    background-color: var(--idromec-button-style4-color);
}

a.idromecbutton.ib_style4.idromecbutton:hover::before,
a.idromecbutton.ib_style4.idromecbutton:hover .lines .line,
button.idromecbutton.ib_style4.idromecbutton:hover::before,
button.idromecbutton.ib_style4.idromecbutton:hover .lines .line {
    background-color: var(--idromec-button-style4-color-hover);
}

a.idromecbutton.ib_style4.idromecbutton .label,
button.idromecbutton.ib_style4.idromecbutton .label {
    color: var(--idromec-button-style4-text-color);
}

a.idromecbutton.ib_style4.idromecbutton:hover .label,
button.idromecbutton.ib_style4.idromecbutton:hover .label {
    color: var(--idromec-button-style4-text-color-hover);
}


/* Size Small */
a.idromecbutton.ib_small .label,
button.idromecbutton.ib_small .label {
    padding: 8px 16px 8px 24px;
}

/* Size Small */
a.idromecbutton.ib_large,
button.idromecbutton.ib_large {
    margin-left: 5px;
}

a.idromecbutton.ib_large .label,
button.idromecbutton.ib_large .label {
    padding: 20px 36px
}



/* Animation */
a.idromecbutton.ib_animation:hover .lines,
button.idromecbutton.ib_animation:hover .lines {
    margin-left: 16px;
    gap: 3px;
}
a.idromecbutton.ib_animation:hover .label,
button.idromecbutton.ib_animation:hover .label{
	padding-left:20px;
}

a.idromecbutton.ib_large.ib_animation:hover .label,
button.idromecbutton.ib_large.ib_animation:hover .label{
	padding-left:32px;
}





/* Idromec Card */
a.idromeccard{
    line-height: 0;
}
a.idromeccard.ib_animation,
a.idromeccard.ib_animation::before,
a.idromeccard.ib_animation::after,
a.idromeccard.ib_animation>span,
a.idromeccard.ib_animation>span::before {
    transition: all 0.3s ease-in
}
a.idromeccard.ib_animation>span::after{
    transition: all 0.5s ease-in

}

a.idromeccard::before {
    position: absolute;
    content: "";
    top: -30px;
    background-color: var(--idromec-card-style1-color);
    width: 140px;
    height: 110px;
    right: -90px;
    transform: rotate(64deg);
    border-bottom: 4px solid rgba(255,255,255,0.9);
    z-index: 3;
}

a.idromeccard::after {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
    content: "";
    z-index: 2;
    top: 0;
    left: 0;
}

a.idromeccard .label {
    z-index: 3;
}

a.idromeccard {
    background-color: var(--idromec-card-style1-color);
    display: block;
    overflow: hidden;
    position: relative;
aspect-ratio: 16/11
}

a.idromeccard img {
width: 100%;
    object-fit: cover;
    height: 100%;
}
a.idromeccard .label {
    z-index: 3;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 15px;
    color: white;

    font-family: Oswald;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
max-width: 80%;

}

a.idromeccard .label::before {
    position: absolute;
    transform: skewX(23deg);
    background-color: var(--idromec-card-style1-color);
    content: "";
    width: calc(100% + 30px);
    height: 100%;
    z-index: -1;
    top: 0;
    left: -15px;
}

a.idromeccard:is(:hover, :active,:focus),
a.idromeccard:is(:hover, :active,:focus) .label::before,
a.idromeccard:is(:hover, :active,:focus)::before {
    background-color: var(--idromec-card-style1-color-hover);

}

a.idromeccard:is(:hover, :active,:focus)::after {
    opacity: 0;

}

a.idromeccard .label::after {
    content: "";
    border-bottom: 3px solid var(--idromec-card-style1-color);
    bottom: 12px;
    position: absolute;
    width: 30px;
    left: 16px;
}

a.idromeccard:is(:hover, :active,:focus) .label::after {
    width: calc(100% - 30px);
}


/*
    : #212D55;
    --idromec-card-style1-color-hover: #3B815E;
*/





.square-image{
    aspect-ratio: 1;
}

.square-image img{
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
}