/*------------------------*/
/* GENERALES */
/*------------------------*/

html,
body {
    background-color: #fff;
    color: #555;
    font-family: 'Lato', 'Arial', sans-serif;
    font-weight: 300;
    font-size: 20px;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    padding-right: 0 !important;
    font-weight: 400;
}

a {
    text-decoration: none;
    font-weight: 400;
    color: #c41e25;
}

h1,
h2,
h3,
h4,
h5 {
    text-transform: uppercase;
    font-weight: 300;
}

.titulo-1 {
    color: #fff;
    font-size: 240%;
    word-spacing: 4px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.titulo-2 {
    font-size: 180%;
    word-spacing: 2px;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
    width: 100%;
}

.titulo-3 {
    font-size: 110%;
    margin-bottom: 15px;
}

.titulo-4 {
    font-size: 150%;
}

.titulo-2:after {
    display: block;
    height: 2px;
    background-color: #c41e25;
    content: " ";
    width: 100px;
    margin: 0 auto;
    margin-top: 30px;
}

.texto-largo {
    line-height: 145%;
    width: 70%;
    margin-left: 15%;
}

section {
    padding-top: 32px;
}

#formLogin {
    margin: 0;
}

.tableFixHead {
    overflow: auto;
    max-height: 90%;
}

small {
    font-size: 0.8em;
}

.list-icon {
    font-size: 1.8em;
}

.fas-xl {
    font-size: 3em;
}

.form-check .form-check-input {
    width: 1rem;
    height: 1rem;
}

.form-check .form-check-input:checked~.form-check-label::before {
    width: 1rem;
    height: 1rem;
}

.form-check .form-check-label::before {
    width: 1rem;
    height: 1rem;
}

.form-check .form-check-label::after {
    width: 1rem;
    height: 1rem;
}

.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}

.btn-danger {
    background-color: #c41e25;
    border-color: #c41e25;
}

.btn-danger:hover,
.btn-danger:active {
    background-color: #c41e25;
}

.table .thead-light th {
    background-color: #fff;
    border-color: #dee2e6;
}

.list-group {
    display: inline-flex;
}

.list-group-item.active {
    background-color: #c41e25;
    border-color: #c41e25;
}

.list-group-item {
    padding: 0.25rem 0.75rem;
}

header {
    position: relative;
    background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url(../img/header1.webp);
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url(../img/header1.webp);
    background-size: cover;
    background-position: center;
    padding-bottom: 16px;

}

/* NAVBAR */
.logo {
    max-height: 100px;
    width: auto;
}

.logo-chico {
    max-height: 50px;
    width: auto;
}

nav {
    z-index: 9999;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.nav-sticky {
    display: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.08rem #fff;
}

nav ul {
    margin-top: 10px;
}

.nav-sticky ul {
    margin-top: 0;
}

nav li {
    margin-right: 20px;
}

nav li a:link,
nav li a:visited {
    padding: 8px 0;
    color: #fff;
    text-transform: uppercase;
    font-size: 90%;
    font-weight: 400;
    border-bottom: 2px solid transparent;
    -webkit-transition: border-bottom 0.2s;
    -moz-transition: border-bottom 0.2s;
    -o-transition: border-bottom 0.2s;
    transition: border-bottom 0.2s;
}

nav li a:hover,
nav li a:active {
    border-bottom: 2px solid #c41e25;
}

.registrarEnvioItem {
    border-radius: .25rem !important;
    background-color: white;
    padding: 0.25rem 0.75rem;
}

.new-indicator {
    top: -10px;
    left: -10px;
    background-color: #c41e25;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 12px;
    z-index: 10;
    cursor: pointer;
}

.envio-description {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 4px;
    line-height: 1.4;
    font-style: normal;
}

.new-indicator:hover {
    background-color: #c41e25;
}

.registrarEnvioContainer {
    z-index: 0;
    text-align: center;
    position: relative;
    top: 76px;
    padding-bottom: 16px !important;
    width: 50%;
}

.formularios {
    z-index: 0;
    text-align: center;
    position: relative;
    padding-bottom: 24px;
    width: 50%;
}

.btn-buscar {
    background-color: #c41e25;
    border-color: #c41e25;
    color: #fff;
}

.btn-principal:hover,
.btn-principal:active {
    color: #fff;
    background-color: #c41e25;
}

#resultadoRastreo {
    margin: auto;
    max-width: 650px;
}

#cardResultado {
    overflow-y: auto;
}

#servicios {
    margin-top: -70px;
    padding-top: 70px;
    display: block;
}

.dato-sucursal {
    margin-bottom: 5px;
}

.dato-sucursal i {
    display: inline-block;
    width: 30px;
    text-align: center;
    color: #c41e25;
    font-size: 120%;
    margin-right: 5px;
    line-height: 120%;
    vertical-align: middle;
    margin-top: -5px;
}

.dato-sucursal a:link,
.dato-sucursal a:visited {
    text-decoration: none;
    color: #c41e25;
    padding-bottom: 1px;
    border-bottom: 1px solid #c41e25;
    -webkit-transition: border-bottom 0.2s, color 0.2s;
    -moz-transition: border-bottom 0.2s, color 0.2s;
    -o-transition: border-bottom 0.2s, color 0.2s;
    transition: border-bottom 0.2s, color 0.2s;
}

.dato-sucursal a:hover,
.dato-sucursal a:active {
    color: #555;
    border-bottom: 1px solid transparent;
    cursor: pointer;
}

#local {
    margin-top: -70px;
    padding-top: 70px;
    display: block;
}

.mapa {
    width: 100%;
    height: 256px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    margin-bottom: 0.5em;
}

#acerca {
    margin-top: -70px;
    padding-top: 70px;
    display: block;
}

#find {
    background-color: #f4f4f4;
}

#rastreo {
    margin-top: -70px;
    padding-top: 70px;
    display: block;
}

.rastreo-paquetes {
    max-width: 450px;
    margin: auto;
}

#codigoCli {
    max-width: 100px;
}

#containerCaptcha {
    text-align: center;
}

.g-recaptcha {
    display: inline-block;
}

#card-solicitar {
    position: relative;
    /* max-height: 500px; */
    overflow: auto;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #343a40;
    font-size: 80%;
    color: #fff;
}

@media (max-width: 767px) {
    footer {
        padding-bottom: 80px;
    }
}

.bg-accent {
    background-color: #c41e25 !important;
}

.tipoVehiculo {
    display: none;
}

label i {
    font-size: 3em;
    cursor: pointer;
}

input[type="radio"].tipoVehiculo:checked+i {
    color: #007bff;
}

.swal-reconfirm {
    color: white !important;
}


.swal-reconfirm-btn {
    background-color: #28a745 !important;
    color: white !important;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
}


.swal-reconfirm-btn-cancel {
    background-color: #6c757d !important;
    color: white !important;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
}

.swal-reconfirm-btn:hover {
    background-color: #218838 !important;
}

.swal-reconfirm-btn-cancel:hover {
    background-color: #5a6268 !important;
}

.lblEnviosExpress {
    color: white !important;
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    font-style: italic;
    text-shadow: 0px 0px 16px rgba(0, 0, 0, 0.4);
    line-height: 0.1;
    white-space: pre;
}

.contenedorAnimacion {
    display: flex;
    overflow: hidden;
    width: 100%;
    flex-direction: column;
    align-items: center;
    /* position: relative; */
}

.imgCamionExpress {
    color: white !important;
    font-size: 5rem;
    font-weight: bold;
    text-transform: uppercase;
    font-style: italic;
    text-shadow: 0px 0px 16px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
    white-space: pre;
    animation: moveOut 2s ease-in-out forwards;
}

.lblNuevoTexto {
    color: white !important;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0px 0px 16px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
    animation: aparecerTexto 1s ease-in-out forwards;
    animation-delay: 1s;
    opacity: 0;
    text-align: center;
    white-space: normal;
}

.badge-nuevo {
    background-color: #c41e25;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    padding: 6px 12px;
    margin-bottom: 3px;
    border-radius: 50px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

@keyframes aparecerTexto {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


@keyframes moveOut {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(100vw);
        opacity: 0;
    }
}

@media screen and (max-width: 768px) {
    .lblEnviosExpress {
        font-size: 2.5rem;
    }

    #codigoCli {
        max-width: 100%;
    }

    .imgCamionExpress {
        font-size: 2rem;
        animation: moveOutMobile 1s ease-in-out forwards;
    }

    .lblNuevoTexto {
        font-size: 0.8rem;
    }


    .logo {
        height: 70px !important;
        width: auto;
    }

    .badge-nuevo {
        font-size: 0.5rem;
    }

    .lblEnviosExpress {
        line-height: 1.1;
        font-size: 2.5rem;
    }


}

/* Animación móvil del camión */
@keyframes moveOutMobile {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

#servicio {
    background-color: #f4f4f4;
}

#sucursales {
    background-color: #f4f4f4;
}

/* Estilo del botón flotante */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    padding: 12px 16px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: transform 0.2s ease, opacity 0.3s;
    /* opacity: 0; */
    pointer-events: auto;
}

.whatsapp-float.visible {
    opacity: 1;
    pointer-events: auto;
}

.whatsapp-float i {
    font-size: 20px;
    margin-right: 10px;
}
