/********** Template CSS **********/
:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #0066FF;
    --secondary: #f4faec;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #FFFFFF;
    --dark: #212121;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: 'Vollkorn', sans-serif;
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  
  
  html {
    font-family: 'Vollkorn', sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }
 
body {
    margin: 0;
    font-family: 'Vollkorn', sans-serif;
    font-size: 1.2rem;
    font-weight: bolder;
    line-height: 1.5;
    color: #656565;
    text-align: justify;
    background-color: #F3F3F3;
    justify-content: center;
    align-items: center;
    
  }
  h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
  } 
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 500;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-weight: normal;
}

.btn-nvo{
    width: 140px;
    height: 40px;
    align-items: center;
    border-radius: 20px;
    font-weight: normal;
    padding: 0;
    display: flex;
    text-transform: none;
    background-color: #C8C9C7;
    font-family: 'Vollkorn';
    font-weight: bolder;
    color: #004B87;
}
.btn-nvo:hover{
    background-color: #C59C33;
}
.btn-guia{
    width: 170px;
    height: 40px;
    align-items: center ;
    border-radius: 20px;
    font-weight: normal;
    padding: 0;
    display: flex;
    text-transform: none;
    background-color: #004B87;
    font-family: 'Vollkorn';
    font-weight: bolder;
    color: #C8C9C7;
}
.btn-guia:hover{
    background-color: #C59C33;
}
.btn-inst{
    width: 150px;
    height: 40px;
    align-items: center;
    border-radius: 20px;
    font-weight: normal;
    padding: 0;
    display: flex;
    text-transform: none;
    background-color: #C59C33;
    font-family: 'Vollkorn';
    font-weight: bolder;
    color: #004B87;
}
.btn-inst:hover{
    background-color: #C8C9C7;
}


.icon-box-primary,
.icon-box-light {
    position: relative;
    padding: 0 0 10px 10px;
    z-index: 1;
}

.icon-box-primary i,
.icon-box-light i {
    font-size: 60px;
    line-height: 0;
}

.icon-box-primary::before,
.icon-box-light::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    bottom: 0;
    border-radius: 35px;
    transition: .5s;
    z-index: -1;
}

.icon-box-primary::before {
    background: var(--bs-primary);
}

.icon-box-light::before {
    background: var(--bs-light);
}


/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 20px;
    padding: 5px 0;
    color: var(--bs-dark);
    font-size: 16px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    background-color: #C59C33; 
    color: #000 !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f0d7";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 5px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .sticky-top {
        margin-top: -34px;
    }

    .navbar {
        height: 68px;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}
 .a:hover {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
        background-color: #C59C33;
    }


/*** Header ***/
@media (min-width: 992px) {
    .header-carousel,
    .page-header {
        margin-top: -34px;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--bs-primary);
    border: 15px solid var(--bs-primary);
}

@media (max-width: 767.98px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 50%;
        object-fit: fill;
    }
}

.page-header {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/testimonial.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}
.banner-prin {
    background-image: url(https://www.seg.guanajuato.gob.mx/RIMA/SitePages/2024/img/Portada-RIMA.png); 
    background-size: 100% 100%;
    height: 100vh;
}

/*** Features ***/
.feature {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(https://www.seg.guanajuato.gob.mx/RIMA/SitePages/2024/img/13.jpeg) left center no-repeat;
    background-size: cover;
    height: 100vh;
}
.feature-row {
    box-shadow: 0 0 4px rgba(0, 0, 0, .08);
    background-color: #D7F6FF;
}
.Descriptores-row {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    background-color: #004B87;
}
.feature-item {
    border-color: rgba(0, 0, 0, .08) !important;
    background-color: #69B3E7;
}

.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
}

.experience .nav-pills .nav-link {
    color: var(--dark);
}

.experience .nav-pills .nav-link.active {
    color: #FFFFFF;
}

.experience .tab-content hr {
    width: 30px;
}


/*** About ***/
.about-fact {
    width: 220px;
    height: 220px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

@media (min-width: 576px) {
    .about-fact.mt-n130 {
        margin-top: -130px;
    }
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 36px;
    height: 46px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--bs-primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--bs-primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--bs-primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 3px;
    border-left: 30px solid #FFFFFF;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
.container-service {
    position: relative;
}

.container-service::before {
    position: absolute;
    content: '';
    background: var(--bs-light);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 70%);
    z-index: -1;
}

.service-item {
    position: relative;
    height: 100%;
    padding: 45px 30px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service-item::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: .5s;
    background: #004B87;
}

.service-item:hover::before {
    height: 100%;
    top: 0;
}

.service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover h5,
.service-item:hover p {
    color: var(--bs-white);
}

.service-item:hover .icon-box-primary::before {
    background: var(--bs-dark);
}

.service-item:hover .icon-box-primary i {
    color: var(--bs-white) !important;
}


/*** Team ***/
.container-team {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-team::before {
    position: absolute;
    content: '';
    background: var(--bs-light);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 70%, 100% 30%, 100% 100%, 0% 100%);
    z-index: -1;
}

.team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: #004B87;
    display: flex;
    align-items: center;
    justify-content: center;
}


.team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/testimonial.jpg) left center no-repeat;
    background-size: cover;
}

.testimonial-item img {
    width: 55px !important;
    height: 70px !important;
    border-radius: 10px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-left: 15px;
    color: var(--bs-primary);
    font-size: 30px;
    line-height: 0;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Proxima Nova";
    font-weight: 900;
    color: rgba(255, 255, 255, .5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    border-top: 1px dashed rgba(255, 255, 255, .2);
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}

.texto-span{
color: #FF8200;
font-family: "Proxima Nova", sans-serif;
font-weight: bolder;
}

.texto-guia{
    color: #C59C33;
    font-size: 1.5rem;
    font-family: "Vollkorn", sans-serif;
    text-align: justify;
    font-weight: bolder;
}
.titulo-guia{
    color: #004B87;
    font-size: 2rem;
    font-family: 'Vollkorn', sans-serif;
    text-align: left;
    font-weight: bolder;
}
.titulo{
    color: #004B87;
    font-size: 1.5rem;
    font-family: 'Vollkorn', sans-serif;
    text-align: justify;
    font-weight: bolder;
}
.titulo-header{
    font-size: 3rem;
    font-family: 'Vollkorn', sans-serif;
    text-align: left;
    font-weight: bolder;
}
.titulos{
    color: #004B87;
    font-size: 2.5rem;
    font-family: 'Vollkorn', sans-serif;
    text-align: center;
    font-weight: bolder;
}

.texto{
    color: #C8C9C7;
    font-size: 1rem;
    font-family: 'Proxima Nova', sans-serif;
    text-align: justify;
    font-weight: bolder;
}
.textoD{
    text-align: right;
}
.textoI{
    text-align: left;
}
.textos{
    color: #63666A;
    font-size: 1.2rem;
    font-family: 'Vollkorn', sans-serif;
    text-align: center;
    font-weight: bolder;
}
.texto-pie{
    color: #C8C9C7;
    font-size: 1.2rem;
    font-family: 'Vollkorn', sans-serif;
    font-weight: bolder;
}
.texto-btn{
    color: #ffffff;
    font-size: 1rem;
    font-family: "Proxima Nova", sans-serif;
    text-align: justify;
    font-weight: bolder;
}
.texto-btn-prin{
    color: #F45197;
    font-size: 1rem;
    font-family: "Proxima Nova", sans-serif;
    text-align: justify;
    font-weight: bolder;
}
.guias{
    width: auto;
    height: auto;
}
.pad{
    padding-left: 5vh;
}

.bg-pr{
    background-color:#69B3E7;
}
.bg-pri{
    background-color:#004B87;
}
.bg-sec{
    background-color: #69B3E7;
}
.bg-eb{
    background-color: #C59C33;
}
.bg-tot{
  background-color: #ffc107;
  box-shadow: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5))
}
.contenedor-parrafos-grid {
    display: grid;
    grid-template-columns: repeat(3, auto);  
}
.texto-grid{
    color: #000000;
    font-size: 1rem;
    font-family: 'Proxima Nova', sans-serif;
    text-align: center;
    font-weight: bolder;
    margin: 0;
}
.bg-pie {
    background-image: url(https://www.seg.guanajuato.gob.mx/RIMA/SitePages/2024/img/Directorio.png);    
    background-size: cover;
    background-position: bottom;
    height: 80vh;
}
.bg-inst {
    background-image: url(https://www.seg.guanajuato.gob.mx/RIMA/SitePages/2024/img/Nvos_Instrumentos.png); 
    background-size: contain;
    height: 100vh;
}

.Tip{
    opacity: 0.9;
    width: 30rem;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto; /* Esto centrarÃ¡ horizontalmente */
    position: relative; /* Cambiado a relative */
    border-radius: 10px;
    line-height: normal;
}  
.img-Tip{
    justify-content: center;
    margin-left:  140px;
    margin-right: 20px;
    position: relative;
    align-items: center;
    }

.bannerAp {
        background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url(../img/banner_aplicacion24.png), no-repeat center center;
        background-size: cover;
        background-position: center;
        width: 530px;
        height: 300px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-bottom: 5rem;
        margin: 0 auto; /* Esto centrarÃ¡ horizontalmente */
        position: relative; /* Cambiado a relative */
        border-radius: 10px;
}
.bg-RIMA24 {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: flex-start; /* Centra verticalmente al inicio */
    height: 50vh; /* Ajusta segÃºn sea necesario */
    margin-top: 40px; /* Ajusta el espacio superior segÃºn sea necesario */
    margin-bottom: 20px;
    width: 600px;
  }
  .image-container {
    position: absolute;
  }   
