body {
    background: #fff; /* fallback for old browsers */

    color: #000;
    font-size: 18px;

    /* font-family: 'Excel'; */
}

.header {
    background: #0575E6; /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #021B79, #0575E6); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #021B79, #0575E6); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */


    color: #fff;
}

.header-2 {

    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../img/bg3.png);
    background-size: cover;
    padding-top: 100px;
    padding-bottom: 40px;
}

header .nav-item {
    font-size: 20px;
    font-weight: bold;
    margin-left: 3px;
    margin-right: 3px;

}

header .nav-item .nav-link {
    color: #000 !important;
    padding: 15px !important;
    font-size: 20px;
}

header .btn {
    background-color: #fff;
    color: #000;
}

#navbarSupportedContent {
    padding: 0;
    margin: 0;
}

#navbarSupportedContent a.active, #navbarSupportedContent a:hover {
    background-color: #000;
    color: #fff !important;
}

.logo h1 {
    margin-top: 100px;
    font-family: 'EXCEL', serif;
    font-size: 60px;
}

.logo p {
    font-size: 24px;;
}

.cards {
    margin-bottom: 80px;
}

#about {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 80px;
    padding-bottom: 0;
}

.card {
    width: 20rem;
}

.card:hover {
    /* background-color: rgba(141, 209, 248, 0.5); */
    cursor: pointer;
}

.nosotros {
    max-width: 700px;
    margin-bottom: 0;
    padding-bottom: 50px;
}

#about h1 {
    margin-bottom: 50px;
}


#elecfact {
    /*margin-top: 20px;*/
    margin-bottom: 0;
    /*padding-top: 80px;*/
    /*padding-bottom: 40px;*/
}

#elecfact > div {

    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}

#elecfact .btnSolicitar2 {
    width: 200px;
}

/* Contenedor principal del captcha */
.captcha-code {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

/* Área que muestra el código dinámico */
.captcha-code .code {
    background: #f7f7f7;
    border: 1px solid #ced4da;
    padding: 10px 15px;
    font-size: 1.2rem;
    letter-spacing: 2px;
    font-weight: bold;
    color: #333;
    flex-grow: 1;
    text-align: center;
    border-radius: 4px 0 0 4px;
}

/* Botón para recargar el captcha */
.captcha-code .captcha-reload {
    cursor: pointer;
    padding: 10px;
    background: #e9ecef;
    border: 1px solid #ced4da;
    border-left: none;
    border-radius: 0 4px 4px 0;
    font-size: 1.2rem;
    color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.captcha-code .captcha-reload:hover {
    color: #0056b3;
}

/* Área para la entrada del captcha */
.captcha-input {
    margin-top: 10px;
}

/* Opcional: estilos para el input (se puede ajustar según se requiera) */
.captcha-input input.form-control {
    border-radius: 4px;
    border: 1px solid #ced4da;
}

/* Estilo para el mensaje de error del captcha */
.captcha-input span#errCaptcha {
    color: red;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

/* From Uiverse.io by satyamchaudharydev */
.btnSolicitar2 {
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    padding-block: 0.5rem;
    padding-inline: 1.25rem;
    background-color: rgb(0 107 179);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffff;
    gap: 10px;
    font-weight: bold;
    border: 3px solid #ffffff4d;
    outline: none;
    overflow: hidden;
    font-size: 15px;
    cursor: pointer;
}

.btnSolicitar2 .icon {
    width: 24px;
    height: 24px;
    position: absolute;
    right: 0.5rem;
    transition: all 0.3s ease-in-out;
}

.btnSolicitar2:hover {
    transform: scale(1.05);
    border-color: #fff9;
}

.btnSolicitar2:hover .icon {
    transform: translate(4px);
}

.btnSolicitar2:hover::before {
    animation: shine 1.5s ease-out infinite;
}

.btnSolicitar2::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(
            120deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0) 70%
    );
    top: 0;
    left: -100px;
    opacity: 0.6;
}

@keyframes shine {
    0% {
        left: -100px;
    }

    60% {
        left: 100%;
    }

    to {
        left: 100%;
    }
}


#services {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 80px;
    padding-bottom: 0;
}

#services h1, #about h1, #clients h1 {
    font-size: 40px;
}

#services p {
    margin: 0;
    margin-bottom: 40px;
    font-size: 25px;
}

#footer {
    background-color: #212529;
    color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}

#services h4 {
    padding-top: 15px;
    padding-bottom: 35px;
    font-size: 20px;
}

#services i, #services h4 {
    cursor: pointer;
}

#clients {
    padding-top: 80px;
}

#clients .card-body img {
    height: 90px;
    padding-bottom: 10px;
}

.card-body {
    padding: 30px 20px;
}

#clients .card a {
    color: #000;
    text-decoration: none;
}

#contact {
    margin-top: 50px;
}

#contact i {
    padding-top: 5px;
}

hr.solid {
    border-top: 3px solid #bbb;
    margin-bottom: 50px;
}

.bg-icon {
    padding: 5px;
    background-repeat: no-repeat;
    background-position: center;
    color: #fff;
}

.bg-icon.yellow {
    background-image: url(../img/bg-icon-yellow.png);
}

.bg-icon.blue {
    background-image: url(../img/bg-icon-blue.png);
}

.bg-icon.green {
    background-image: url(../img/bg-icon-green.png);
}

.img-logo {
    height: 60px;
}

.img-logo-header {
    height: 50px;
}

.text-white, .logo {
    color: #fff;
}

.logo {
    /* background-color: rgba(124, 123, 124, .5); */
    /*color: #fff;*/
}

.toogleButton {
    color: #000;
}

.navbar-brand {
    margin: 0;
    /* padding: 0px; */
}

/* #signIn {
    background-color: #000 !important;
    color: #fff !important;
} */

#navbar-example2 {
    border-bottom-color: #bbb;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

@media (max-width: 500px) {
    #services h4 {
        font-size: 18px;
    }

    .img-logo-header {
        height: 40px;
    }
}

@media (max-width: 1080px) {
    .img-logo {
        height: 50px;
    }
}

@media (max-width: 890px) {
    .img-logo {
        height: 45px;
    }
}

@media (max-width: 1130px) {
    header .text {
        font-size: 18px;
    }
}


/*bootstrap centering modal*/
.vertical-alignment-helper {
    display: table;
    height: 100%;
    width: 100%;
    pointer-events: none;
}

.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
    pointer-events: none;
}

.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width: inherit;
    max-width: inherit; /* For Bootstrap 4 - to avoid the modal window stretching full width */
    height: inherit;
    /* To center horizontally */
    margin: 0 auto;
    pointer-events: all;
}

.btn-block {
    display: block;
    width: 100%
}

.btn-block + .btn-block {
    margin-top: .5rem
}

#login-form .form-group {
    margin-bottom: 15px;
}
