/********** Template CSS **********/

body {
    background-color: #ffff;
    color:#212B59;
    font-family: 'REM', Arial, sans-serif;
}

a {
    color:#212B59;
}
h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    color: #212B59;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Fuente ***/


@font-face {
  font-family: 'REM';
  src: url('../fonts/REM-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: normal;
}

@font-face {
    font-family: 'REM';
    src: url('../fonts/REM-bold.tff') format('truetype');
    font-weight: bold;
    font-style: bold;
}

/*** 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;
    border-radius: 50px;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 52px;
    height: 52px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: inherit;
}

.btn-primary {
    color: var(--bs-white);
}

.btn-outline-primary {
    color: #212B59;
    border-color: #212B59;
}

.btn-outline-primary:hover {
    color: white;
    background-color: #212B59;
    border-color: grey;
}

.btn-redes {
    color: #fff;
    border-color: #fff;
}

.btn-check:focus+.btn, .btn:focus {
    box-shadow: none;
}

/*** Navbar ***/
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    transition: .5s;
    background-color: white;
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 25px 0;
    color: #212B59;
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link,
    .navbar.bg-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid var(--bs-light);
    }
}

@media (min-width: 992px) {
    .navbar.bg-dark .navbar-nav .nav-link {
        padding: 20px 0;
    }

    .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;
    }
}

.navbar-toggler {
    border-color: #212B59;
}

.navbar-toggler-icon {
    background-image: var(--bs-navbar-toggler-icon-bg) !important;
}

:root {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833,43,89,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link:hover, .navbar .navbar-nav .nav-link.active {
    color: grey;
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 100px;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 1024px) {
    #header-carousel .carousel-item img {
        position: relative;
        height: 580px;
    }
}

@media (max-width: 768px) {
    .navbar {
        background-color: white;
    }

    #header-carousel {
        padding-top: 60px;
    }

    #header-carousel .carousel-item {
        position: relative;
        min-height: 430px;
    }
    
    .carousel-caption {
        padding-top: 30px;
    }

    .carousel-caption .title .title-center h1 {
        font-size: 1.5rem;
    }

    .carousel-caption .title .title-center p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    
    #header-carousel .carousel-item {
        min-height: 260px;
    }

    .logo-prometeon {
    width: 150px;
    }   
}

.page-header {
    padding-top: 200px;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-1.jpg) top center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-white);
}


/*** Title ***/
.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid var(--bs-white);
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}


/*** Service ***/
.service-item {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
}

.service-item .service-img {
    position: relative;
    display: inline-block;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: calc(100% - 12rem);
    height: calc(100% - 12rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3rem solid rgba(0, 0, 0, .5);
    border-radius: 300px;
    z-index: 1;
}

.service-item.service-item-left {
    border-radius: 500px 0 0 500px;
    background: linear-gradient(to right, var(--bs-secondary), var(--bs-dark));
}

.service-item.service-item-right {
    border-radius: 0 500px 500px 0;
    background: linear-gradient(to left, var(--bs-secondary), var(--bs-dark));
}

@media (max-width: 767.98px) {
    .service-item.service-item-left,
    .service-item.service-item-right {
        border-radius: 500px 500px 0 0;
        background: linear-gradient(to bottom, var(--bs-secondary), var(--bs-dark));
        text-align: center;
    }
}


/*** Team ***/
.team-item {
    position: relative;
}

.team-item .team-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .7);
}

.team-item .team-body {
    position: relative;
    overflow: hidden;
}

.team-item .team-body .team-before,
.team-item .team-body .team-after {
    position: absolute;
    content: "";
    width: 0;
    height: calc(100% - 60px);
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
}

.team-item .team-body .team-after {
    left: auto;
    right: 0;
}

.team-item .team-body .team-before {
    text-align: right;
}

.team-item:hover .team-body .team-before,
.team-item:hover .team-body .team-after {
    width: 50%;
}

.team-item .team-body .team-before span,
.team-item .team-body .team-after span {
    margin: 5px;
    color: var(--bs-white);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-body .team-before span,
.team-item:hover .team-body .team-after span {
    opacity: 1;
    transition-delay: .2s;
}


/*** Testimonial ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: var(--bs-dark);
    border-radius: 100px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .1;
    transition: .5s;
    border-radius: 100px;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/


.footer {
    background-color: #212B59;
}

/* CONTENEDOR BASE */
.carousel-bg, .carousel-bg-2, .carousel-bg-3, .carousel-bg-4, .carousel-bg-5 {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* DESKTOP */
.carousel-item .carousel-bg {
    background-image: url('../img/slider-1.webp');
}

.carousel-item .carousel-bg-2 {
    background-image: url('../img/slider-2.webp');
}

.carousel-item .carousel-bg-3 {
    background-image: url('../img/slider-3.webp');
}

.carousel-item .carousel-bg-4 {
    background-image: url('../img/slider-4.webp');
}

.carousel-item .carousel-bg-5 {
    background-image: url('../img/slider-5.webp');
}
/* TABLET */
@media (max-width: 1024px) {
    .carousel-item .carousel-bg {
        background-image: url('../img/slider-1-tablet.webp');
        height: 70vh;
        background-position: bottom;
    }

    .carousel-item .carousel-bg-2 {
        background-image: url('../img/slider-2-tablet.webp');
        height: 70vh;
        background-position: bottom;
    }

    .carousel-item .carousel-bg-3 {
        background-image: url('../img/slider-3-tablet.webp');
        height: 70vh;
        background-position: bottom;
    }

    .carousel-item .carousel-bg-4 {
        background-image: url('../img/slider-4-tablet.webp');
        height: 70vh;
        background-position: bottom;
    }

    .carousel-item .carousel-bg-5 {
        background-image: url('../img/slider-5-tablet.webp');
        height: 70vh;
        background-position: bottom;
    }

}

/* MOBILE */
@media (max-width: 576px) {
    .carousel-item .carousel-bg {
        background-image: url('../img/slider-1-tablet.webp');
        height: 62vh;
        background-position: bottom;
    }

    .carousel-item .carousel-bg-2 {
        background-image: url('../img/slider-2-tablet.webp');
        height: 62vh;
        background-position: bottom;
    }

    .carousel-item .carousel-bg-3 {
        background-image: url('../img/slider-3-tablet.webp');
        height: 62vh;
        background-position: bottom;
    }

    .carousel-item .carousel-bg-4 {
            background-image: url('../img/slider-4-tablet.webp');
            height: 62vh;
            background-position: bottom;
    }
    .carousel-item .carousel-bg-5 {
        background-image: url('../img/slider-5-tablet.webp');
        height: 62vh;
        background-position: bottom;
    }

    .carousel-caption {
        padding-top: 40px;
    }
    
}

.logo-prometeon {
    width: 200px;
}

.logo-prometeon-footer {
    width: 300px;
}

.btn-prometeon {
    height: calc(3.5rem + 2px);
    padding: 1rem .75rem;
    border-radius: 10px;
    color: #212B59;
    border-color: #212B59;
    background-color: white;
}

.btn-prometeon:hover {
    color: #212B59;
    border-color: #212B59;
    background-color: white;
}

.btn-check:checked+.btn-secondary, .btn-check:active+.btn-secondary, .btn-secondary:active, .btn-secondary.active, .show>.btn-secondary.dropdown-toggle {
    color: #212B59;
    border-color: #212B59;
    background-color: white;
}

.form-floating>.form-control, .form-floating>.form-select {
    border-color: #212B59;
    color: #212B59;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #212B59;
}

.btn-check:checked+.btn-secondary:focus, .btn-check:active+.btn-secondary:focus, .btn-secondary:active:focus, .btn-secondary.active:focus, .show>.btn-secondary.dropdown-toggle:focus {
    box-shadow: none;

}

.form-control:focus {
    box-shadow: none;
}

.btn-check:checked+.btn-outline-primary, .btn-check:active+.btn-outline-primary, .btn-outline-primary:active, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show { 
    color: #212B59;
    border-color: #212B59;
    background-color: white;   
}
.form-select:focus {
    box-shadow: none;
}
/* Mensaje Enviado */
.success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.success-box {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.success-box h2 {
    margin-bottom: 10px;
}

.d-none {
    display: none !important;
}

#success-message {
    max-width: 500px;
    margin: 0 auto;
}

.carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
    pointer-events: none; 
}

.carousel-caption h1,
.carousel-caption p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}



.contact-form-wrapper {
    position: relative;
}

.contact-form-wrapper .grecaptcha-badge {
    position: relative !important;
    margin: 20px auto 0;
    right: auto !important;
    bottom: auto !important;
    box-shadow: none !important;
}