/* footer */

.main-footer .footer-widget h4 {
    margin-top: 5px;
    padding-bottom: 10px;
    margin-top: 0;
}

.service-block .inner-box h3 {
    font-size: var(--font-22);
    margin-top: var(--margin-top-35);
    margin-bottom: var(--margin-bottom-35);
    padding-bottom: var(--padding-bottom-15);
}

.service-block .inner-box h3 a {
    position: relative;
    color: var(--white-color);
}

.service-block .inner-box h3:before {
    position: absolute;
    content: '';
    left: 0px;
    bottom: 0px;
    width: 60px;
    height: 3px;
    background-color: var(--white-color);
}

.text-ask-desk {
    color: var(--color-five);
    font-size: 17px;
    line-height: 1.7rem;
}

._h4 {
    line-height: 1.4em;
    font-weight: 500;
    font-size: var(--font-24);
    position: relative;
    margin: 0px;
    background: none;
    color: var(--black-color);
    font-family: var(--font-family-anton);
}

.fz-30 {
    font-size: 30px;
}

._h2 {
    font-weight: 500;
    color: var(--main-color);
    margin-bottom: var(--margin-bottom-15);
    font-size: var(--font-40);
}


.main-footer .instagram-widget .w-imge-box {
    width: 20%;
    margin-right: 12px;
}

.btn-green {
    text-transform: uppercase;
    color: var(--white-color);
    background-color: var(--main-color);
}

.btn-green:hover {
    color: var(--white-color);
}

.main-footer .instagram-widget .image-box .reduce-size {
    width: 70%;
    margin: 0;
}

.card-division-check:hover {
    cursor: pointer;
    background-color: var(--color-green-one) !important;
}

.main-header .outer-box {
    position: relative;
    float: right;
    padding: 12px 0px 12px;
}

/* btn catalog nav */
.btn-web-catalog {
    position: relative;
    padding: 10px 35px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    font-size: var(--font-14);
    color: var(--white-color);
    text-transform: uppercase;
    background-color: var(--color-green-one);
    font-family: var(--font-family-Roboto);
}

.btn-web-catalog:hover {
    color: var(--white-color) !important;
}

.btn-footer-webcat {
    padding: 5px;
    position: absolute;
    bottom: -17px;
    left: -1px;
    font-size: var(--font-10);
    border-radius: 0%;
}

/* our products */

.project-section .tabs-content {
    position: relative;
    padding-left: 410px;
    padding-right: 0px;
}

.aut-container2 {
    max-width: 1319px;
}

/* popular products */
.sec-title .text-title2 {
    font-size: var(--font-50);
}

.active-sector {
    color: var(--white-color) !important;
    border-color: var(--color-green-one) !important;
    background-color: var(--color-green-one) !important;
}

.active-category-blog {
    color: var(--main-color) !important;
    font-size: var(--font-20) !important;
}

/* .seccion-contact {
    background-color: var(--color-fourteen);
    z-index: 1;
} */

/* .service-block-two .inner-box .overlay-box-2 {
    padding-left: 0px;
    bottom: 90px;
    right: 0px;
} */
.max-w-150px {
    max-width: 138px;
}

.icon-center {
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

/* form */
.alert-dismissible .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 1rem;
}

.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
}

/* important */
.service-block-two .inner-box .overlay-box-2 .content h5 {
    font-size: var(--font-34);
    text-align: center;
}

.list-value li {
    list-style-type: disc;
    padding-left: 20px;
}

/* margin form */
.margin-contact {
    margin-top: 100px;
}

/* .clients-section {
    background-color: var(--color-thirtytwo);
} */
.rm-auto-container {
    max-width: 1420px;
}

.color-green1 {
    color: var(--main-color) !important;
}

.color-green2 {
    color: var(--color-two) !important;
}

.color-green3 {
    color: var(--color-green-one) !important;
}

.color-yellow1 {
    color: var(--color-msb) !important;
}

.color-blue1 {
    color: var(--color-jet-stream) !important;
}

.color-black1 {
    color: var(--color-r-black) !important;
}

.bg-green3 {
    background: var(--color-green-one) !important;
}

.bg-r-black {
    background: var(--color-r-black) !important;
}

.bg-r-black:hover {
    background: var(--color-r-black) !important;
}

.button-main {
    background: var(--color-green-one) !important;
    color: white !important;
}

.button-main:hover {
    background: var(--main-color) !important;
}

.bg-brown {
    background-color: var(--color-timberwolf) !important;
}

.skill-section .image-layer:before {
    background-color: var(--color-r-black);
}


.product-block:hover a {
    color: var(--white-color) !important;
}

.team-section .owl-nav {
    color: var(--color-r-black);
}

.news-section .owl-nav {
    color: var(--color-r-black);
}

.form-label {
    font-size: 16px;
    font-weight: bold;
}

.title-category-product {
    font-size: var(--font-20) !important;
    font-weight: 800;
    color: var(--main-color) !important;
    margin-bottom: var(--margin-bottom-15) !important;
}

/* ----------------------------------------------------------------------------------------------
------------------------------------- CARDS PARTNERTS --------------------------------------------- */
.card-partner {
    visibility: visible;
    height: 297px;
    /* background-image: url(images/resource/service-4.png); */
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-partner:hover .tile-card-partners {
    display: none;
}

.image-layer {
    padding: 15px;
}

/* ----------------------------------------------------------------------------------------------
------------------------------------- FILE INPUT --------------------------------------------- */

.file-upload-wrapper {
    position: relative;
    width: 100%;
    height: 60px;
    border: 1px solid rgba(var(--black-color-rgb), 0.1);
    border-radius: 6px;
}

.file-upload-wrapper:after {
    content: attr(data-text);
    font-size: var(--font-16);
    font-family: var(--font-family-Roboto);
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    padding: 10px 15px;
    display: block;
    width: calc(100% - 40px);
    pointer-events: none;
    z-index: 20;
    height: 40px;
    line-height: 40px;
    color: var(--dark);
    border-radius: 5px 10px 10px 5px;
    /* font-weight: 300; */
}

.file-upload-wrapper .upload-text {
    content: "Upload";
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    height: 60px;
    background: var(--color-green-one);
    color: #fff;
    font-weight: 700;
    z-index: 25;
    font-size: 16px;
    line-height: 60px;
    padding: 0 15px;
    text-transform: uppercase;
    pointer-events: none;
    border-radius: 0 5px 5px 0;
}

.file-upload-wrapper:hover .upload-text {
    background: var(--main-color);
}

.file-upload-wrapper input {
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    /* height: 40px; */
    margin: 0;
    padding: 0;
    display: block;
    cursor: pointer;
    width: 100%;
}

.sprucecss {
    align-items: flex-start;
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.05);
    color: #444;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    inset: auto auto 1rem 1rem;
    line-height: 1.5;
    max-width: 11rem;
    padding: 1.5rem;
    position: fixed;
    text-decoration: none;
}

.sprucecss img {
    height: 1.5rem;
    width: auto;
}

/* ----------------------------------------------------------------------------------------------
------------------------------------- END FILE INPUT--------------------------------------------- */

/* ----------------------------------------------------------------------------------------------
------------------------------------- DROPDOWN language--------------------------------------------- */

.dropdown button {
    margin: 0 auto;
    background-color: #253849;
    min-width: 130px;
    width: max-content;
    height: 40px;
    border-radius: 5px;
    color: white;
    padding: 10px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    justify-content: space-evenly;
}

.dropdown img {
    margin: 0 5px 0 0;
    max-height: 20px;
}

.dropdown button img,
.dropdown-content li img {
    width: 10px;
    max-height: 20px;
}

.dropdown button,
.dropdown-content li {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-family: "Open Sans", sans-serif;
    font-family: "Noto Sans JP", sans-serif;
    font-family: "Noto Sans Arabic", sans-serif;
    font-family: "Noto Sans KR", sans-serif;
    font-weight: 500;
}

.arrow-down {
    width: 0;
    height: 0;
    display: inline-block;
    vertical-align: middle;
    border-style: solid;
    border-width: 4px 4px 0 4px;
    border-color: #fff transparent transparent transparent;
    margin: 0 0 0 5px;
}

.dropdown button:hover {
    cursor: pointer;
    background-color: #3c5b77;
}

/* Style for the dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    margin: 1px 0 0 0;
    padding: 0;
    background-color: #f5f5f5;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    overflow-y: scroll;
    max-height: 315px;
}

/* Style for the dropdown content items */
.dropdown-content li {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    justify-content: end;
}

.dropdown-content li img {
    margin: 0 20px 0px 20px;
}

/* Style for the dropdown content items on hover */
.dropdown-content li:hover {
    background-color: #f1f1f1;
    cursor: pointer;
    color: blue;
    border-radius: 5px;
}

/* Show the dropdown content when the dropdown button is clicked */
.dropdown:focus-within .dropdown-content {
    display: block;
}

/* Animate the dropdown content */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-content {
    animation: slideIn 0.3s ease-out;
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 8px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: #c2c9d2;
}

/* ----------------------------------------------------------------------------------------------
------------------------------------- END DROPDOEN language--------------------------------------------- */

@media only screen and (max-width: 767px) {
    .main-header .outer-box {
        margin: auto;
        display: flex;
        justify-content: center;
        margin-top: 10px;
        max-width: 400px;
        float: none;
    }
}

@media only screen and (max-width: 1020px) {
    .project-section .tabs-content {
        padding-left: 0px;
    }
}

/* ----------------------------------------------------------------------------------------------
------------------------------------- LOADER--------------------------------------------- */
.cont-loader {
    z-index: 1;
    position: absolute;
    top: 50%;
    right: 50%;
    background: var(--white-color);
}

.loader {
    width: 50px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #25b09b;
    --_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: l3 1s infinite linear;
}

@keyframes l3 {
    to {
        transform: rotate(1turn);
    }
}


/* -------------------------------------------------------------------------------------------------------------- */

.news-detail .inner-box p span {
    color: var(--color-five) !important;
    font-weight: 400;
    text-decoration: auto;
}

.team-block .inner-box .image {
    position: relative;
    min-height: 224px;
}

.btn-login-custom {
    background-color: var(--color-thirtyfour);
    justify-content: center;
    width: 250px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.btn-login-custom:hover {
    background-color: #035544;
    color: #ffffff;
    text-decoration: none;
}

.login-text {
    font-size: 1rem;
}


.image-container-rectangular {
    width: 100%;
    height: 400px;
    overflow: hidden;

}

.image-container-rectangular img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Estilos para el botón general */
.btn-read-more {
    /* 1. Color de Fondo (Verde Oscuro) */
    background-color: #174229; /* Un verde oscuro similar al de la imagen */
    border-color: #174229; /* Asegura que el borde también sea del mismo color */
    color: white; /* Color del texto */
    font-weight: bold; /* Hace el texto más grueso */
    padding: 12px 30px; /* Ajusta el padding para que el botón sea más grande */

    /* 2. Forma: Borde muy redondeado (Óvalo) */
    border-radius: 50px; /* Un valor alto para hacerlo muy ovalado */

    /* Efecto al pasar el mouse (opcional, para una mejor UX) */
    transition: background-color 0.3s ease;
}

.btn-read-more:hover {
    background-color: #235839; /* Un poco más claro al pasar el mouse */
    border-color: #235839;
}

/* Estilos para el signo de más (+) */
.read-more-icon {
    margin-left: 5px; /* Separa el signo del texto "Read more" */
    font-size: 1em; /* Mantiene el tamaño del ícono */
}

.text-truncate-multiline {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 5;
    /* Muestra hasta 3 líneas */
    max-height: calc(1.4em * 5);
    /* Altura máxima basada en el número de líneas */
    line-height: 1.4em;
    /* Altura de línea */
}
