:root {
    --offcanvas-width: 240px;
}

/* Estilo para scrollbar en el body */
body::-webkit-scrollbar {
    width: 10px;
    background-color: #ebebeb;
}

/* Estilo para el 'thumb' del scrollbar */
body::-webkit-scrollbar-thumb {
    background-color: #777777;
}

/* Estilo para el 'thumb' cuando se pasa el ratón sobre el scrollbar */
body::-webkit-scrollbar-thumb:hover {
    background-color: #515151;
}

/* Estilo de la barra lateral */
.sidebar-nav {
    width: var(--offcanvas-width) !important;
    font-size: 15px !important;
}

/* Estilo para los enlaces dentro de la barra lateral */
.sidebar-link {
    display: flex;
    align-items: center;
}

/* Estilo para campos de texto, input y select cuando están enfocados */
textarea:focus,
input:focus,
input[type]:focus {
    -webkit-box-shadow: none !important;
    box-shadow: 0 none !important;
}

/* Estilo para los inputs y selects enfocados */
input:focus,
select:focus,
select,
input.form-control:focus,
select.form-select:focus {
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

/* Estilo para botones enfocados */
.btn:focus {
    outline: none !important;
    border: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

/* Estilo para inputs tipo number */
input[type="number"] {
    -moz-appearance: textfield;
}

/* Quitar los botones de incremento en inputs tipo number */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Estilo para la cabecera del sitio */
.header-nav {
    position: relative;
    width: 100%;
    min-height: 50px;
    background-color: #401122;
    z-index: 10;
}

/* Estilo para el logo en la cabecera */
.img-nav-logo {
    width: 150px;
    height: auto;
}

/* Estilo para los items de menú */
.item-menu {
    padding-left: 18px;
}

/* Estilo para los enlaces dentro del menú */
.item-menu a {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    color: #000;
    border-radius: 20px;
    transition: all 0.5s;
}

/* Estilo de los enlaces al pasar el ratón por encima */
.item-menu a:hover {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 20px;
    background-color: #646263;
    color: #fff;
    transition: all 0.5s;
}

/* Estilo para el menú activo */
.active-menu {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 20px;
    background-color: #646263;
    color: #fff !important;
}

/* Estilo para la imagen de portada */
.bg_portada {
    background-color: rgba(0, 155, 58, 0);
    border-radius: 20px;
}

/* Estilo para el título de la portada */
.portada_titulo {
    color: #FFFFFF;
    font-size: 50px;
    font-weight: bold;
}

/* Estilo para la descripción del título */
.descripcion_titulo {
    text-align: justify;
}

/* Estilo para los íconos de redes sociales */
.item-url {
    border: 1px solid;
    border-radius: 50%;
    color: #FFFFFF;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilo para limitar la cantidad de texto en párrafos */
.parrafo_3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    color: #646263;
}

/* Estilo para limitar la cantidad de texto en párrafos más largos */
.parrafo_6 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    color: #646263;
}

/* Estilo de las tarjetas de servicio */
.cardservice {
    overflow: hidden;
    transition: all 500ms ease-out;
}

/* Estilo para las imágenes dentro de las tarjetas de servicio */
.cardservice img {
    width: 100%;
    height: 200px;
    transition: all 500ms ease-out;
}

/* Estilo para las tarjetas de servicio al pasar el ratón */
.cardservice:hover {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    transition: all 500ms ease-out;
}

/* Estilo para las imágenes dentro de las tarjetas de servicio al pasar el ratón */
.cardservice:hover>img {
    transform: scale(1.1);
    transition: all 500ms ease-out;
    overflow: hidden;
}

/* Estilo para los botones de navegación */
.nav__btn {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: 0.2s;
}

/* Estilo para los botones de navegación al pasar el ratón */
.nav__btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Estilo para los iconos dentro de los botones de navegación */
.nav__btn::after,
.nav__btn::before {
    font-size: 20px;
    color: #FFFFFF;
}

/* Estilo para las imágenes de la empresa */
.img-empresa {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
}

/* Estilo para el fondo de la brochure */
.bg-brochure {
    background-image: url(/images/BGBROCHURE.png);
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: cover;
}

/* Estilos de los botones de redes sociales */
.bg-facebook {
    background-color: #3B5998;
}

.bg-whatsapp {
    background-color: #56CD52;
}

.bg-telegram {
    background-color: #0088CC;
}

.bg-linkedin {
    background-color: #0E76A8;
}

.bg-twitter {
    background-color: #00ACEE;
}

.bg-download {
    background-color: #768070;
}

/* Estilo para los botones de redes sociales */
.btn__facebook,
.btn__twitter,
.btn__instagram,
.btn__linkedin,
.btn__corporativo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border-radius: 10px;
    border-color: #FFFFFF;
    width: 45px;
    height: 45px;
    margin-right: 10px;
    transition: all 0.5s;
}

/* Estilo para los iconos dentro de los botones de redes sociales */
.icono__redes {
    color: #FFFFFF;
    font-size: 20px;
}

/* Estilo para el botón de Facebook al pasar el ratón */
.btn__facebook:hover {
    background-color: #3B5998;
    transition: all 0.5s;
}

/* Estilo para el botón de Twitter al pasar el ratón */
.btn__twitter:hover {
    background-color: #00ACEE;
    transition: all 0.5s;
}

/* Estilo para el botón de Instagram al pasar el ratón */
.btn__instagram:hover {
    background: #d6249f;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    transition: all 0.5s !important;
}

/* Estilo para el botón de LinkedIn al pasar el ratón */
.btn__linkedin:hover {
    background-color: #0E76A8;
    transition: all 0.5s;
}

/* Estilo para los enlaces en el encabezado */
.link {
    transition: all ease 0.3s;
}

/* Estilo para los enlaces en el encabezado al pasar el ratón */
.link:hover {
    margin-left: 15px;
    transition: all ease 0.3s;
}

/* Estilo para el enlace de login */
.link-login .icon-login {
    display: inline-flex;
    transition: all ease 0.5s;
}

/* Estilo para el enlace de login al pasar el ratón */
.link-login:hover .icon-login {
    transform: rotate(360deg);
    transition: all ease 0.5s;
}

/* Estilo para el contenedor de información de portada */
.container-info-cover {
    max-width: 800px;
    height: 420px;
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Estilo para el título de la portada */
.container-info-cover h1 {
    font-size: 60px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 20px;
}

/* Estilo para los párrafos de la portada */
.container-info-cover p {
    color: #fff;
    font-size: 20px;
    font-weight: 300;
}

/* Estilo para los enlaces activos */
.active-canva {
    color: #401122 !important;
    transition: 0.5s ease;
}

/* Estilo para el botón de WhatsApp fijo */
.btn-wsp {
    position: fixed;
    width: 60px;
    height: 60px;
    line-height: 60px;
    bottom: 50px;
    right: 25px;
    background: #401122;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transition: all 300ms ease;
}

/* Estilo para el botón de WhatsApp al pasar el ratón */
.btn-wsp:hover {
    background: #20ba5a;
    color: #ffffff;
}

/* Estilo para el menú de navegación activo */
.navbar .nav-link.active-menu {
    background-color: transparent !important;
    border-radius: 0 !important;
    color: #000;
    position: relative;
    box-shadow: none !important;
}

/* Estilo para el menú de navegación activo con un subrayado */
.navbar .nav-link.active-menu::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #525252;
}

/* Estilo para el menú de navegación activo */
.navbar .nav-link.active-menu,
.navbar .nav-link.active-menu:hover,
.navbar .nav-link.active-menu:focus {
    color: #000 !important;
}

/* Estilos de los iconos de redes sociales */
.header-nav .item-url {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    margin-left: 18px;
}

/* Estilo para los iconos de redes sociales al pasar el ratón */
.header-nav .item-url i {
    font-size: 1.5rem;
    color: #fff !important;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Estilo para los iconos de redes sociales al pasar el ratón */
.header-nav .item-url:hover i {
    transform: scale(1.2);
    color: #f0f0f0 !important;
}

/* Estilo para los íconos de redes sociales dentro de la lista */
.header-nav .item-url+.item-url {
    margin-left: 1.75rem !important;
}

/* Estilo para los enlaces dentro del menú lateral */
@media only screen and (min-width:320px) and (max-width:1199px) {
    .portada_titulo {
        color: #FFFFFF;
        font-size: 40px;
        font-weight: bold;
    }

    .offcanvas-social-list a:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

    .offcanvas-social-list i {
        font-size: 1.25rem;
        color: #000 !important;
        margin-right: 0.5rem;
    }

    .offcanvas-body .my-3 p {
        margin: 0;
        padding: 0;
    }

    /* Estilo base para todos los enlaces del drawer */
    .offcanvas-body .my-3 p a,
    .offcanvas-body a.link-login {
        display: flex !important;
        align-items: center !important;
        padding: 0.25rem 0 !important;
        color: #000 !important;
        text-decoration: none !important;
        transition: background-color 0.2s ease;
    }

    /* Iconos dentro de esos enlaces */
    .offcanvas-body .my-3 p a i,
    .offcanvas-body a.link-login i {
        font-size: 1.25rem !important;
        color: #000 !important;
        margin-right: 0.5rem !important;
    }

    .offcanvas-body .my-3 p a:hover,
    .offcanvas-body a.link-login:hover {
        background-color: rgba(0, 0, 0, 0.05) !important;
    }

    .offcanvas-body a.active-canva {
        display: inline-flex !important;
        vertical-align: middle;
        padding-bottom: 0.15rem !important;
        border-top: none !important;
        border-bottom: 2px solid #000 !important;
        text-decoration: none !important;
        color: #000 !important;
    }

    .offcanvas-body .active-canva {
        border-top: none !important;
    }

    .redes-sociales-list .item-menu a {
        font-family: inherit;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        color: #000;
        border-radius: 20px;
        transition: all 0.5s;
        padding: 0.5rem;
    }

    /* Estilos cuando se pasa el ratón sobre los enlaces de redes sociales */
    .redes-sociales-list .item-menu a:hover {
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
        border-radius: 20px;
        background-color: #646263;
        color: #fff;
        transition: all 0.5s;
    }

    .offcanvas-social-list li {
        text-align: left;
        justify-content: flex-start !important;
        padding-left: 0.75rem !important;
    }

    .offcanvas-social-list a {
        justify-content: flex-start !important;
    }


    .redes-sociales-list {
        list-style: none;
        padding-left: 0;
        margin-left: 0;
    }

    .redes-sociales-list .item-menu {
        text-align: left;
        padding-left: 0;
        margin-bottom: 5px;
    }

    .redes-sociales-list .item-menu a {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: #000;
        font-size: 16px;
        font-weight: 400;
        padding: 0.5rem 0;
        margin-left: 1px;
        text-transform: capitalize;
        padding: 0.25rem 0;
        margin-left: 1px;
    }

    .redes-sociales-list .item-menu a:hover {
        background-color: #f1f1f1;
        border-radius: 8px;
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
        color: #007BFF;
    }

    .facebook-link {
        margin-top: 30px;
    }

    /*.img-portada::before*/
    /*{*/
    /*    content:'';*/
    /*    position: absolute;*/
    /*    top: 0;*/
    /*    height: 640px;*/
    /*    left: 0;*/
    /*    right: 0;*/
    /*    background-color: rgba(0,0,0,0.3);*/
    /*}*/
}