/*global*/
@font-face {
    font-family: 'Gill Sans Std Bold';
    src: url(../fonts/GillSansStd-Bold.eot);
    src: url(../fonts/GillSansStd-Bold.eot?#iefix) format('embedded-opentype'), url(../fonts/GillSansStd-Bold.woff2) format('woff2'), url(../fonts/GillSansStd-Bold.woff) format('woff'), url(../fonts/GillSansStd-Bold.ttf) format('truetype'), url(../fonts/GillSansStd-Bold.svg#GillSansStd-Bold) format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Gill Sans Std Bold Italic';
    src: url(../fonts/GillSansStd-BoldItalic.eot);
    src: url(../fonts/GillSansStd-BoldItalic.eot?#iefix) format('embedded-opentype'), url(../fonts/GillSansStd-BoldItalic.woff2) format('woff2'), url(../fonts/GillSansStd-BoldItalic.woff) format('woff'), url(../fonts/GillSansStd-BoldItalic.ttf) format('truetype'), url(../fonts/GillSansStd-BoldItalic.svg#GillSansStd-BoldItalic) format('svg');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Gill Sans Std semi Bold';
    src: url(../fonts/GillSans-SemiBold.eot);
    src: url(../fonts/GillSans-SemiBold.eot?#iefix) format('embedded-opentype'), url(../fonts/GillSans-SemiBold.woff2) format('woff2'), url(../fonts/GillSans-SemiBold.woff) format('woff'), url(../fonts/GillSans-SemiBold.ttf) format('truetype'), url(../fonts/GillSans-SemiBold.svg#GillSans-SemiBold) format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Gill Sans Std Bold Condensed';
    src: url(../fonts/GillSansStd-BoldCondensed.eot);
    src: url(../fonts/GillSansStd-BoldCondensed.eot?#iefix) format('embedded-opentype'), url(../fonts/GillSansStd-BoldCondensed.woff2) format('woff2'), url(../fonts/GillSansStd-BoldCondensed.woff) format('woff'), url(../fonts/GillSansStd-BoldCondensed.ttf) format('truetype'), url(../fonts/GillSansStd-BoldCondensed.svg#GillSansStd-BoldCondensed) format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Gill Sans Std Italic';
    src: url(../fonts/GillSansStd-Italic.eot);
    src: url(../fonts/GillSansStd-Italic.eot?#iefix) format('embedded-opentype'), url(../fonts/GillSansStd-Italic.woff2) format('woff2'), url(../fonts/GillSansStd-Italic.woff) format('woff'), url(../fonts/GillSansStd-Italic.ttf) format('truetype'), url(../fonts/GillSansStd-Italic.svg#GillSansStd-Italic) format('svg');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Gill Sans Std Light';
    src: url(../fonts/GillSansStd-Light.eot);
    src: url(../fonts/GillSansStd-Light.eot?#iefix) format('embedded-opentype'), url(../fonts/GillSansStd-Light.woff2) format('woff2'), url(../fonts/GillSansStd-Light.woff) format('woff'), url(../fonts/GillSansStd-Light.ttf) format('truetype'), url(../fonts/GillSansStd-Light.svg#GillSansStd-Light) format('svg');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gill Sans Std';
    src: url(../fonts/GillSansStd.eot);
    src: url(../fonts/GillSansStd.eot?#iefix) format('embedded-opentype'), url(../fonts/GillSansStd.woff2) format('woff2'), url(../fonts/GillSansStd.woff) format('woff'), url(../fonts/GillSansStd.ttf) format('truetype'), url(../fonts/GillSansStd.svg#GillSansStd) format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gill Sans Std Extra Bold Disp';
    src: url(../fonts/GillSansStd-ExtraBoldDisp.eot);
    src: url(../fonts/GillSansStd-ExtraBoldDisp.eot?#iefix) format('embedded-opentype'), url(../fonts/GillSansStd-ExtraBoldDisp.woff2) format('woff2'), url(../fonts/GillSansStd-ExtraBoldDisp.woff) format('woff'), url(../fonts/GillSansStd-ExtraBoldDisp.ttf) format('truetype'), url(../fonts/GillSansStd-ExtraBoldDisp.svg#GillSansStd-ExtraBoldDisp) format('svg');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Gill Sans Std Condensed';
    src: url(../fonts/GillSansStd-Condensed.eot);
    src: url(../fonts/GillSansStd-Condensed.eot?#iefix) format('embedded-opentype'), url(../fonts/GillSansStd-Condensed.woff2) format('woff2'), url(../fonts/GillSansStd-Condensed.woff) format('woff'), url(../fonts/GillSansStd-Condensed.ttf) format('truetype'), url(../fonts/GillSansStd-Condensed.svg#GillSansStd-Condensed) format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gill Sans Std Extra Bold';
    src: url(../fonts/GillSansStd-ExtraBold.eot);
    src: url(../fonts/GillSansStd-ExtraBold.eot?#iefix) format('embedded-opentype'), url(../fonts/GillSansStd-ExtraBold.woff2) format('woff2'), url(../fonts/GillSansStd-ExtraBold.woff) format('woff'), url(../fonts/GillSansStd-ExtraBold.ttf) format('truetype'), url(../fonts/GillSansStd-ExtraBold.svg#GillSansStd-ExtraBold) format('svg');
    font-weight: 800;
    font-style: normal;
}

:root {
    --main-bg-color: #353535;
    --gray-color: #c1c1c1;
    --over-color: #F4A833;
    --azul-igac: #33669e;
    --azul-igac-dark: #234570;
    --bg-igac-gris: #eff0f1;
    --rojo-igac: #e10818;
}

::-webkit-scrollbar {
    width: 8px;
    background: #fff;
}

::-webkit-scrollbar-thumb {
    background-color: var(--gray-color);
    background: var(--main-bg-color);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--main-bg-color) var(--gray-color);
}

html,
body {
    font-family: "Gill Sans Std";
    margin: 0;
    padding: 0;
    width: 100%;
    font-size: 16px !important;
    line-height: normal;
    /* background: #f7f7f7; */
}

.container-fluid {
    padding: 0;
}

img {
    width: 100%;
}

a {
    color: #3169af;
}

b {
    font-weight: 900;
}

.user-info {
    display: flex;
    justify-content: center;
}

#nombre-usuario {
    width: 100%;
}

#userPhoto {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}


main .btn a {
    font-size: 14px;
    background-color: #3595e0;
    color: #fff;
    border-radius: 50px;
    padding: 10px 40px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
}

/*porada*/
.portada {
    height: 430px;
    border-bottom: 6px solid var(--azul-igac);
}

/*Main*/
main {
    background: #f7f7f7;
    z-index: 1000;
}

main .section {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    position: relative;
}

main .section:last-child {
    margin-bottom: 0;
    padding-bottom: 40px;
}

main .title {
    line-height: 1.8rem;
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    color: #1b57a1;
    font-family: 'Gill Sans Std Bold';
}

.title-applications {
    line-height: 1.8rem;
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    color: #1b57a1;
    font-family: 'Gill Sans Std Bold';
}

main .card .title {
    font-size: 0.9rem;
}

.title.bg-primary {
    padding: 1rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    background: #10406f !important;
}

main .subtitle {
    font-size: 1.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #10406f;
}

main .card-title {
    font-size: 1.2rem;
    font-weight: bold;
}

main .resume {
    font-weight: 600;
}

main .container .btn,
main .container a.btn {
    padding: 10px 20px 8px;
    border: 2px solid #10406f;
    color: #3169af;
    background: #f7f7f7;
    font-weight: 600;
}

.container a:hover {
    text-decoration: none;
}

/*hero banner*/
.herobanner {
    height: 280px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #191814;
}

.home .herobanner {
    height: auto;
    overflow: inherit;
}

.herobanner::after {
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgb(35, 41, 46) 38%, rgba(35, 41, 46, 0) 100%);
    top: 0;
    position: absolute;
    z-index: 10;
}

.herobanner-text {
    color: #fff;
    position: absolute;
    z-index: 9999;
}

.herobanner-text b {
    color: #3169af;
    font-family: 'Gill Sans Std Bold';
}

.herobanner a {
    color: #fff;
    font-weight: 400;
    background: #3169af;
}

#youtubeVideo {
    width: 560px;
    height: 315px;
}

/* swiper */
.swiper-herobanner {
    height: 500px;
    overflow: hidden;
}

.swiper-herobanner .swiper-pagination-bullets.swiper-pagination-horizontal {
    position: relative;
    top: inherit !important;
    bottom: inherit !important;
}

.swiper-pagination-bullet {
    background: #fff !important;
}

.swiper-pagination-bullet-active {
    border: 2px solid #fff;
    background: transparent !important;
}

.swiper-pagination2 .swiper-pagination-bullet {
    background: #10406f !important;
}

.swiper-pagination2 .swiper-pagination-bullet-active {
    border: 2px solid #10406f;
    background: transparent !important;
}

.swiper-pagination3 .swiper-pagination-bullet {
    background: #10406f !important;
}

.swiper-pagination3 .swiper-pagination-bullet-active {
    border: 2px solid #10406f;
    background: transparent !important;
}

.swiper-pagination2 {
    justify-content: center;
    bottom: var(--swiper-pagination-bottom, -30px) !important;
}

.swiper-pagination3 {
    justify-content: center;
    bottom: var(--swiper-pagination-bottom, -30px) !important;
}

.swiper-slide {
    height: auto !important;
    min-height: 180px;
}

.swiper-slide img {
    width: 100%;
    transition: transform 10s;
}

.swiper-herobanner .swiper-slide.zoomed img {
    transform: scale(1.09);
    width: auto;
    height: 100%;
    position: absolute;
    right: 0;
    margin-right: 0;
}

.swiper-slide.zoomed img {
    transform: scale(1.09);
}

.swiper-button-next {
    color: #10406f !important;
    right: var(--swiper-navigation-sides-offset, -50px) !important;
}

.swiper-button-prev {
    color: #10406f !important;
    left: var(--swiper-navigation-sides-offset, -50px) !important;
}

.swiper-navigation-icon {
    display: none;
}

/* filtros */
.red-activa .herobanner {
    border-bottom: 7px solid #316aafa8 !important;
}

.red-pasiva .herobanner {
    border-bottom: 7px solid #2c3e50bc !important;
}

.gravimetrica .herobanner {
    border-bottom: 7px solid #d6a80086 !important;
}

.vertical .herobanner {
    border-bottom: 7px solid #80008036 !important;
}

/* cards */
.card-container.b {
    height: inherit !important;
}

.card-container {
    height: 100%;
    display: flex;
}

.aplicaciones .card.d-flex {
    height: 100%;
    flex-direction: inherit;
    color: #fff;
    border: 0;
    background-color: #33669e;
    background-image: url('../images/cards-background2.png');
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
    align-items: center;
    padding: 20px 15px;
}

.aplicaciones .card.d-flex:hover {
    color: #fff !important;
    cursor: pointer;
}

.card-inicio {
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-inicio:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.card-inicio:hover img {
    border-radius: 10px;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

/* componentes */
.componentes .shape {
    top: -7vw;
    position: absolute;
    z-index: -1000;
}

.componentes .card {
    color: #333333;
    border: 0;
}

.componentes .card.red-activa {
    border-bottom: 5px solid #3366cc;
}

.componentes .card.red-activa .title {
    color: #3366cc;
}

.componentes .card.red-pasiva {
    border-bottom: 5px solid #2C3E50;
}

.componentes .red-pasiva .title {
    color: #2C3E50;
}

.componentes .card.gravimetrica {
    border-bottom: 5px solid #D6A600;
}

.componentes .gravimetrica .title {
    color: #D6A600;
}

.componentes .card.vertical {
    border-bottom: 5px solid #800080;
}

.componentes .vertical .title {
    color: #800080;
}

.componentes .card.geomagnetica {
    border-bottom: 5px solid #8B4513;
}

.componentes .geomagnetica .title {
    color: #8B4513;
}

.componentes .card.iga {
    border-bottom: 5px solid #808080;
}

.componentes .iga .title {
    color: #808080;
}



/* aplicaciones */
.aplicaciones {
    line-height: normal;
}

.aplicaciones .shape {
    top: -7vw;
    position: absolute;
    z-index: -1000;
}

.aplicaciones #swiper2 {
    height: 30px;
}

.aplicaciones .swiper-slide {
    display: flex;
    align-items: center;
}

.aplicaciones .img-container {
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.aplicaciones .card .card-body {
    width: 80%;
    padding-left: 20px !important;
    transition: all 0.5s ease;
}

.aplicaciones .card.d-flex:hover .card-body {
    opacity: 0.5;
    transition: all 0.5s ease;
}

.aplicaciones .card .card-title {
    font-size: 1.2rem;
}

.card-activa {
    width: 100%;    
}

.texto-indicador-activa {
    align-self: flex-start;
    padding-top: 1rem;  
}

/* soluciones*/
.soluciones {
    line-height: normal;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.soluciones .shape {
    top: -7vw;
    position: absolute;
    z-index: -1000;
}

.soluciones #swiper2 {
    height: 30px;
}

.soluciones .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.soluciones .card.d-flex {
    height: 100%;
    flex-direction: inherit;
    color: #fff;
    border: 0;
    background-color: #004794;
    background-image: url('../images/cards-background2.png');
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;


}

.soluciones .card.d-flex:hover {
    color: #fff !important;
    cursor: pointer;
}

.soluciones .img-container {
    width: 20%;
    display: fle;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.soluciones .card .card-body {
    width: 80%;
    padding-left: 20px !important;
    padding-right: 20px;
    transition: all 0.5s ease;
}

.soluciones .card.d-flex:hover .card-body {
    opacity: 0.5;
    transition: all 0.5s ease;
}

.soluciones .card .card-title {
    font-size: 1.2rem;
}


/* normatividad */
.normatividad {
    line-height: normal;
}

.normatividad .shape {
    top: -7vw;
    position: absolute;
    z-index: -1000;
}

.normatividad .swiper-slide {
    display: flex;
    align-items: center;
}

.normatividad .card.d-flex {
    height: 100%;
    flex-direction: inherit;
    color: #fff;
    border: 0;
    background-color: #33669e;
    background-image: url('../images/cards-background.png');
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
    align-items: center;
    padding: 20px 15px;
}

.normatividad .card.d-flex:hover {
    color: #fff !important;
    cursor: pointer;
}

.normatividad .img-container {
    width: 18%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.normatividad .card .card-body {
    width: 80%;
    padding-left: 20px !important;
    transition: all 0.5s ease;
}

.normatividad .card.d-flex:hover .card-body {
    opacity: 0.5;
    transition: all 0.5s ease;
}

.normatividad .card .card-title {
    font-size: 1.2rem;
}

/* objetivos */
.objetivos .card-img-top {
    width: 100px;
    height: 100px;
    margin: auto;
}

main .objetivos .card-title {
    color: #10406f;
}

/* plataforma */
main .plataforma {
    display: flex;
    align-items: center;
    background-image: url('../images/cultivos.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

main .plataforma h3 {
    margin-bottom: 0;
}

main .plataforma .number {
    font-size: 5rem;
    height: 80px;
    color: #3169af;
    margin-bottom: 10px;
}

main .video .card-text {
    background: #3169af;
}

main .video .card-text p,
main .video .card-text .title {
    color: #fff;
}

/* swiperjs */
.swiper-container .container-swiper {
    position: relative;
    width: 100%;
    max-width: 600px;
    /* Adjust as needed */
    margin: 0 auto;
    overflow: hidden;
}

.swiper-container .swiper {
    width: 100%;
    height: auto;
}

.swiper-container .swiper img {
    width: 100%;
    height: auto;
    display: block;
}

.swiper-container .handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 2;
}

.buscando .text {
    flex-wrap: wrap;
}

/* swiperbeer */
.swiper-section .beer-slider {
    position: absolute;
    width: 100%;
    height: 100%;
}

.swiper-section .swiper-module {
    position: relative;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: Montserrat;
}

.swiper-section .pat1 {
    background-image: url(../images/derecha-febrero-2024.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.swiper-section .pat2 {
    background-image: url(../images/izquierda-agosto-2023.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.swiper-section .beer-handle {
    bottom: 0;
    top: auto;
}

.swiper-section h1,
p {
    position: relative;
    z-index: 10;
    margin: 0;
}

.swiper-section h1 {
    font-size: 3rem
}

.swiper-section a {
    color: inherit;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

/* wizard */
main .wizard {
    margin-top: -4px;
    background: #23292e;
}

main .wizard .wizard-buttons button,
main .wizard .wizard-buttons div.btn {
    width: 100%;
    color: #fff;
    background: #28353b;
    border: 0;
    border-radius: 0;
    margin: 5px 0;
}

main .wizard .wizard-buttons button.active {
    color: #ffffff;
    background: #3169af;
}

main .wizard .wizard-buttons div.btn {
    font-size: 1.3rem;
    line-height: normal;
    white-space: wrap;
    text-align: left;
}

main .wizard .step {
    position: relative;
}

main .wizard .step p {
    bottom: 30px;
    right: 0;
    position: absolute;
    padding: 5px 15px 3px;
    color: #fff;
    background: #23292e69;
}

main .wizard .step .img-container {
    height: 390px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

main .panel-consultas {
    color: #fff;
    background: #23292e;
}

main .panel-consultas .title {
    color: #fff;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

/*hero_redes*/
.hero_redes {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #191814;
}

.hero_redes::after {
    content: '';
    width: 100%;
    height: 100%;
    background: rgb(35, 41, 46);
    background: linear-gradient(90deg, rgba(35, 41, 46, 0.9514180672268907) 38%, rgba(35, 41, 46, 0) 100%);
    top: 0;
    position: absolute;
    z-index: 10;
}

.hero_redes-text {
    color: #fff;
    position: absolute;
    z-index: 10000;
}

.hero_redes-text b {
    color: #3169af;
    font-family: 'Gill Sans Std Bold';
}

.hero_redes a {
    color: #fff;
    font-weight: 400;
    background: #3169af;
}

.swiper-hero_redes {
    height: 500px;
    overflow: hidden;
}

.justificado {
    text-align: justify;
}

.leyenda {
    font-size: 1.1rem;
}


#coordenadasSemanales tbody tr {
    cursor: pointer;
}



/* detalle activa */


:root {
    --color-blue: #1b57a1;
    --color-lightgrey: #BABABA;
    --color-white: #ffffff;

}


.main-content,
.info-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.info-section1 {
    flex: 0.8;
}

.image-section {
    flex: 0.5;
    display: flex;
    margin-bottom: 20px;
    align-items: center;
}

.image-section img {
    border-radius: 5px;
}

.section,
.section0,
.section1,
.section2,
.section3 {
    margin-bottom: 20px;
}

.p1 {
    border: 1px solid var(--color-lightgrey);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}


.p-informacion {
    padding: 15px;
}



table {
    width: 100%;
    font-size: 0.9rem !important;
    border-collapse: collapse;
}

.section td,
.section0 td {
    padding: 5px;
    text-align: center;
}

.section th,
.section0 th {
    padding: 5px;
    text-align: center;
}

div.dt-container div.dt-layout-row div.dt-layout-cell.dt-layout-end {
    z-index: 0;
}

.form-control {
    padding: 0.2rem 0.1rem;
}

table.dataTable th.dt-type-numeric,
table.dataTable td.dt-type-numeric {
    text-align: left !important;
}



.info-section2 h2,
.info-section3 h2 {
    background-color: var(--color-blue);
    padding: 10px;
    margin: 0;
    color: var(--color-white);
    margin-bottom: 10px;
    border-radius: 3px;
}

.info-section2 {
    flex: 0.5;
}

.info-section3 {
    flex: 0.5;
}

.image-section1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px
}

.image-section1 img {
    width: 97%;
}

.image-section1 iframe {
    width: 600px;
    height: 455px;
}

.dt-layout-row {
    display: block;
}

.pdf-icons-img {
    display: flex;
    justify-content: center;
}

.pdf-icon {
    width: 2.5vw;
}

.sin-pdf-icon {
    width: 2.5vw;
}

.pdf-icon:hover {
    cursor: pointer;
    filter: drop-shadow(3px 3px 5px rgba(132, 56, 56, 0.5));
}



/* modal */
.modal {
    z-index: 10001;
}

.modal-body img {
    width: 50vw;
    height: 80vh;
}

.modal-body-inicio {
    display: grid;
    grid-template-columns: 40% 60%;
}

.modal-body-inicio input {
    width: 100%;
    background-color: #1b4059;
    border: 2px solid #ffffff !important;
    color: #ffffff;
}

.modal-body-inicio label {
    font-family: 'Gill Sans MT Regular';
    color: #ffffff;
}

.img-body-inicio {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
}

.modal-body {
    background-color: #1b4059;
    display: flex;
    align-items: center;
}

.login-form {
    width: 100%;
}

#tituloLogin {
    font-family: 'Gill Sans Std Bold';
    color: #ffffff;

}

.modal-dialog {
    margin-top: 25vh;
}

.modal-content {
    width: 40vw;
}

#modal-content-mantenimiento {
    width: 100%;
}

#modal-content-mantenimiento .modal-body {
    background-color: white;
}


#modalAuth.show {
    backdrop-filter: blur(8px);
    background-color: rgba(214, 209, 209, 0.3);
}


#imgMantenimiento {
    width: 100%;
}


#buttonInicio button {
    background: #1e8db0;
}

#olvide-contrasena {
    font-family: 'Sans MT Bold';
    color: #ffff;
}

.btn-download {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* .modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.9) !important;
}  */


/*red_geomagnetica*/
datos_observatorio .title {
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    color: #1b57a1;
    font-family: 'Gill Sans Std Bold';
}

datos_observatorio .subtitle {
    font-size: 1.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #10406f;
    text-align: center;
}

datos_observatorio .card-title {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
}

datos_observatorio .resume {
    font-weight: 600;
    text-align: center;
}

.select {
    width: 6rem;
    padding: 6px 10px 5px 10px;
    font-size: 18px;
    border-color: rgb(115, 145, 228);
    outline: 2px;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    background-color: #f7f7f7;
}


.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.margin-left {
    margin-left: 6vw;
}

.subtitle {
    text-align: center;
}

.btnMagnetica {
    background: #1AAB8A;
    border: none;
    position: relative;
    height: 40px;
    font-size: 1.2em;
    padding: 0 2em;
    cursor: pointer;
    transition: 800ms ease all;
    outline: none;
    border-radius: 10px;
}

.btnMagnetica:hover {
    background: #000;
    color: #1AAB8A;
}

.btnMagnetica:before,
.btnMagnetica:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 2px;
    width: 0;
    background: #1AAB8A;
    transition: 400ms ease all;
}

.btnMagnetica:after {
    right: inherit;
    top: inherit;
    left: 0;
    bottom: 0;
}

.btnMagnetica:hover:before,
.btnMagnetica:hover:after {
    width: 100%;
    transition: 800ms ease all;
}

.btnMagnetica:active {
    transition: none;
    background: whitesmoke;
}



/* formulario de contacto  */

.mensaje-contacto {
    background-color: #fcf8e3;
    border-color: #faebcc;
    color: #8a6d3b;
    margin-bottom: 2vh;
    border: 1px solid #faebcc;
    border-radius: 0;
}

.mensaje-contacto p {
    margin: 0;
    padding: 10px;
    font-size: 1rem;
}

.formulario-contacto {
    font-family: Arial, sans-serif;
    padding: 20px;
    margin-bottom: 5vh;
}

.formulario-contacto h2 {
    font-family: Arial, sans-serif;
    color: var(--azul-igac) !important;
}

.formulario-contacto form {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    margin: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.formulario-contacto .form-label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: rgb(70, 164, 167) !important;
}

.formulario-contacto .form-input,
.formulario-contacto .form-select,
.formulario-contacto .form-textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.formulario-contacto .form-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.formulario-contacto .form-button-iniciar {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #0f8d09;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.formulario-contacto .form-button:hover {
    background-color: #0056b3;
}


.toast-header img {
    width: 2vw;
    height: 3vw;
}

.white-text {
    color: white;
}

.verde-success {
    background: #28a745;
}

.red-danger {
    background: red;
}


.horas,
.timeline {
    display: grid;
    grid-template-columns: 60px repeat(24, minmax(0, 1fr));
    gap: 2px;
    width: 100%;
    max-width: 1000px;
    margin: 5px auto;
}

.tabla-rastreo {
    margin: 20px 20px;
}

.filtro-fecha {
    margin: 20px 55px;
}

.filtro-fecha p {
    margin: 10px 0;
}

.horas-indi {
    height: 20px;
    background-color: #eee;
    /* color por defecto */
    cursor: pointer;
    position: relative;
}

.hora-estacion {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--azul-igac);
    color: white;
    width: 60px;
}

.hour {
    height: 30px;
    background-color: #eee;
    /* color por defecto */
    cursor: pointer;
    position: relative;
}


.hour.active {
    background-color: green;
    /* horas activas */
}

/* Tooltip sencillo */
.hour:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: black;
    color: white;
    padding: 4px 6px;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
}

#btn_rastreo {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#btn_rastreo:hover {
    background-color: #0056b3;
}

#fecha_rastreo {
    appearance: none;
    /* quita estilos por defecto (soporte variable) */
    -webkit-appearance: none;
    -moz-appearance: none;

    font-family: Arial, sans-serif;
    font-size: 14px;
    padding: 8px 12px;
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    color: #333;

    transition: all 0.2s ease-in-out;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Hover */
#fecha_rastreo:hover {
    border-color: #0077cc;
}

/* Focus */
#fecha_rastreo:focus {
    outline: none;
    border-color: #005fa3;
    box-shadow: 0 0 4px rgba(0, 119, 204, 0.5);
}

/* Ícono de calendario en navegadores WebKit (Chrome, Edge, Safari) */
#fecha_rastreo::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(40%) sepia(100%) saturate(300%) hue-rotate(190deg);
    opacity: 0.8;
    transition: opacity 0.2s ease-in-out;
}

#fecha_rastreo::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}


.error {
    color: red;
}

.success {
    color: green;
}

.tabla-ppp {
    display: flex;
    justify-content: center;
    margin-top: 5vh;
}

.tabla-ppp table {
    /* border: 1px solid rgb(191, 170, 170); */
    border-radius: 10px;
    border-collapse: separate;
    overflow: hidden;
    width: 50vw;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.tabla-ppp thead {
    border: 1px solid rgb(191, 170, 170) !important;
    background-color: rgb(236, 239, 243) !important;
}

.tabla-ppp tbody tr {
    border: 1px solid rgb(41, 37, 37) !important;
}

.tabla-ppp tbody tr:hover {
    background-color: rgb(236, 243, 236) !important;
    cursor: pointer;
}

.tabla-ppp tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.ppp-info {
    border: 1px solid #ccc;
    font-size: 0.9rem;
    color: #2b2828;
    margin-top: 20px;
    padding: 10px;
    background-color: #dbddea;
    border-radius: 5px;
}

.ppp-info-head {
    display: flex;
}

.icono-info {
    width: 6vw;
    height: 8vh;
    vertical-align: middle;
    margin-right: 5px;
}


/* CALENDARIO GPS */
.month {
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 20px;
}

#month-year {
    font-family: Arial, Helvetica, sans-serif;
}

#gps-calendar h5 {
    color: #003366;
    text-align: center;
}

#gps-calendar table th {
    background-color: #d4ecf1;
}

#gps-calendar table {
    font-size: 0.85rem;
}

#calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}

#calendar-header button {
    background: #0056a6;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
}

#calendar-header button:hover {
    background: #003e7a;
}

.calendar-table,
.calendar-table th,
.calendar-table td {
    border: #dbe3e4 1px solid;
}

.buscador input {
    width: 20%;
}

.calendar-table td,
th {
    text-align: center;
}

.calendar-table td:not(.fecha-gris) {
    cursor: pointer;
}

.fecha-gris {
    color: #aaa;
}

.calendar-table td:hover:not(.fecha-gris),
.calendar-table th:hover:not(.fecha-gris) {
    background-color: #b4c7da;
}

.celda-seleccionada {
    background-color: #6ab1f3;
    color: #fff;
}

.celda-dia {
    background-color: #c3e2e4;
    color: #448ed3;
}

.indicadores {
    width: 30%;
    height: 70px;
    margin-left: 20px;
}

.card-indicadores {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 30px;
}

.indicadores-total {
    display: flex;
    align-items: center;
}

@media (max-width: 992px) {
    .herobanner {
        height: 350px;
    }

    .modal-content {
        width: 60vw;
    }
}

@media (max-width: 768px) {
    main .section {
        margin-bottom: 10px;
        padding-top: 40px;
        padding-bottom: 0;
    }

    .herobanner::after {
        background: #23292ed9 !important;
    }

    .row.switch {
        flex-direction: column-reverse;
    }

    .modal-content {
        width: 70vw;
    }

    #imgMantenimiento {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .herobanner {
        height: auto;
        padding: 50px 0;
        position: relative;
        padding: 0 0;
    }

    .swiper-container {
        height: 450px;
    }

    .swiper-herobanner {
        height: 500px;
        overflow-x: visible;
    }

    .swiper-herobanner .swiper-slide.zoomed img {
        position: relative;
        transform: scale(1.5);
    }

    main .title {
        font-size: 1.3rem;
    }

    .aplicaciones .card.d-flex {
        min-height: 189px;
    }

    .swiper-button-next,
    .swiper-rtl .swiper-button-prev {
        display: none !important;
    }

    .modal-content {
        width: 95vw;
    }

    #imgMantenimiento {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95vw;
    }

    .modal-body-inicio {
        grid-template-columns: 100%;
        grid-template-rows: 30% auto;
        /* opcional, por si quieres forzar filas */
    }

    .modal-dialog {
        margin-top: 10vh;
    }

    #imgMantenimiento {
        width: 100%;
    }
}

@media (max-width: 320px) {
    .modal-body-inicio {
        grid-template-columns: 100%;
        grid-template-rows: 30% auto;
        /* opcional, por si quieres forzar filas */
    }

    .modal-dialog {
        margin-top: 10vh;
    }
}