/********** Template CSS **********/
:root {
    --primary: #292f71;
    --secondary: #90b6e1;
    --light: #f8f8f8;
    --dark: #1e2251;
}

#section-uno,
#section-dos,
#section-tres,
#section-cuatro,
#section-cinco,
#section-seis,
#section-siete {
  position: absolute;
  top: -80px;
}


body {
    font-family: "Special Gothic", sans-serif;
    color: #1e2251;
    font-size: 1.1rem;
    overflow-x: hidden;
}

.texto-color {
    color: var(--secondary);
}

.text-primary {
    color: #1e2251 !important;
}
.bg-dark {
    background-color: var(--primary)!important;
}
.recurso::before {
    content: "";
    position: absolute;
    height: 2px;
    top: -10px;
    left: 0;
    background-color: #292f71;
    visibility: visible;
    width: 10%;
    transition: all 0.3s ease-in-out 0s;
}

.recurso-centrado::before {
    content: "";
    position: absolute;
    height: 2px;
    top: -10px;
    left: 44%;
    background-color: #292f71;
    visibility: visible;
    width: 10%;
    transition: all 0.3s ease-in-out 0s;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 400 !important;
    font-family: "Bebas Neue", sans-serif;
    position: relative;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
    font-family: "Bebas Neue", sans-serif;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
    font-family: "Bebas Neue", sans-serif;
}

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


/*** 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 {
    font-weight: 500;
    transition: .5s;
}

.btn-primary {    
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 50px;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {    
    background-color: var(--secondary);
    border-color: var(--secondary);
    border-radius: 50px;
    color: var(--primary);
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.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;
    font-weight: normal;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Navbar ***/

.navbar-light .navbar-brand img {
    max-height: 50px;
}

.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 {
    margin-right: 15px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
    font-size: 0.90rem;
    position: relative;
}

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

.navbar .navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    height: 2px;
    top: 22px;
    left: 0;
    background-color: #292f71;
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
}

.navbar .navbar-nav .nav-link:hover::before,
.navbar .navbar-nav .nav-link.active::before {
    content: "";
    position: absolute;
    height: 2px;
    top: 22px;
    left: 0;
    background-color: #292f71;
    visibility: visible;
    width: 100%;
    transition: all 0.3s ease-in-out 0s;
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

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

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(41, 47, 113, .3);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

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

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

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.celula {
    border-radius: 50px;
    background-color: var(--secondary);
}

/*** Section Title ***/
.section-title {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .btn {
    background-color: #292f71;
    color: white;
    position: absolute;
    bottom: 20px;
    left: calc(50% - 75px);
    width: 150px;
}
.fact-item .btn i{
    color: white!important;
}
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}
.fact-item p {
    margin-bottom: 25px;
    font-size: 1rem;
}
.fact-item {
    position: relative;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5s;
    font-size: 3rem;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

/* .about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
} */

.about-img img {
    position: absolute;
    width: 100%;
    height: auto;
    object-fit: cover;
    left: -25%;
    bottom: -8%;
}

/* .about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
} */

/* .about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
} */


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(41, 47, 113, .6);
}

.service-item * {
    transition: .5s;
    color: #1e2251;
}
.service-item i {
    font-size: 3rem;
    color: #1e2251;
}

.service-item p {
    opacity: 0;
    visibility: hidden;
    height: 10px;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item:hover p {
    opacity: 1;
    visibility: visible;
    height: auto;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item .btn i {
    font-size: 18px;
}

.service-item:hover .btn {
    width: 140px;
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

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

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

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

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

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

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

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


/*** Footer ***/
.footer {
    background-color: #1e2251;
}
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #777777;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}
.footer p {
    font-size: 14px;
}
.footer h3, .footer h3 {
    font-size: 16px;
}

/* Nosotros */

.bg-uno {
    background-image: url(../imagenes/bg1.png);
    background-attachment: fixed;    
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
}
.bg-light {
 background-color: var(--light);  
}

.bg-dos {
    background-image: url(../imagenes/bg2.png);
    background-attachment: fixed;    
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
}

/* Parallax */

.parallax {
    background-image: url("../imagenes/parallax.jpg");
    height: 100%;
    min-height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;    
  }

.parallax  .parallax-text {
     left: 0;
    padding: 5vw;
    width: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: stretch;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    height: 100%;   
    }
.parallax  .parallax-text h1 {
    color: white;
    font-size: calc(28px + 0.5vw);
    margin-bottom: 20px;
    }
.parallax  .parallax-text p {
    color: white;
    font-size: calc(16px + 0.5vw);
} 



/**********************
Ws botón redondo con tooltip ws-tooltip
***********************/
#chat-ws-redondo.ws.tooltip {
  position: fixed;
  bottom: 13px;
  right: 40px;
  width: 60px;
  height: 60px;
  border-radius: 50%!important;
  cursor: pointer;
  display: block;
  -webkit-box-shadow: 0px 0px 20px 0px rgba(91, 91, 91, 0.5);
          box-shadow: 0px 0px 20px 0px rgba(91, 91, 91, 0.5);
  z-index: 999;
  background: #1ca550;
  padding: 8px 11px;
  opacity: 1;
}

#chat-ws-redondo.ws.tooltip img {
  padding-left: 0px;
  padding-top: 0px;
  width: 100%;
}

#chat-ws-redondo.ws.tooltip i {
  font-size: 44px;
  color: white;
}

.ws.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #1ca550;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.ws.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #1ca550 transparent transparent transparent;
}

.ws.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* Contacto */

a:hover, a:focus, a:active, .form-control:focus, .form-control:active, .form-control:hover, [type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled), .btn-success.focus, .btn-success:focus,
button:hover, button:active, button:focus, .btn-success, .btn, [type=button], [type=reset], [type=submit], button,
.btn:hover, .btn:active, .btn:focus {
    outline: 0!important;
    box-shadow: none!important;
}

textarea.form-control {    
    min-height: 140px;
    margin-bottom: 20px;
}

.no-margin {
  margin:0px!important;
}
.help-block.with-errors {
  color: #313875;
  margin-top: 5px;
  }
  
  .alert-success {
  color: #fff;
  background-color: transparent;
  border-color: #f1f0f5;
  }
.alert-dismissable .close, .alert-dismissible .close {
    position: absolute;
    top: 0;
    right: 0px;
    color: white;
    font-weight: 300;
    background: black;
    border: 0;
}
  .alert {
    position: relative;
    padding: 2rem;
    margin-bottom: 1rem;
    border: 0px solid transparent;
    border-radius: 0px;
}
  
  .text-muted {
  color: #313875;
  }
  .history-text p.text-muted {
  color: #313875;
  }
  .messages {background: black; color: white;}
  
  .btn.disabled, .btn[disabled],  .btn-send, .btn-success,
  fieldset[disabled] .btn  {
  background: #90b6e1;
  color: #161717;
  text-transform: uppercase;
  width: 165px;
  border: none;
  height: 46px;
  cursor: pointer;
  font-size: calc(12px + 0.4vw);
  opacity: 1;
  line-height: 1;
  border-radius: 50px;
  }
  .btn.disabled:hover,  .btn.disabled:active, .btn.disabled:focus, .btn-success:hover, .btn-success:active, .btn-success:focus,
  .btn[disabled]:hover, .btn[disabled]:active, .btn[disabled]:focus,
  fieldset[disabled] .btn:hover, fieldset[disabled] .btn:active, fieldset[disabled] .btn:focus,
    .btn-send:hover, .btn-send:active, .btn-send:focus
  {
    background: #313875;
    color: white;
    opacity: 1;
    border-radius: 50px;
    }
  
.alert-danger {
    color: black;
    background-color: #f1f0f5;
    border-color: #f1f0f5;
}
.form-group {
  margin-top:10px;
  margin-bottom: 10px;  
}
.form-control {
    height: 55px;
}
.form-group input {
      min-height: 45px;
    border-color: #e8e8e8;
}
  .d-none {
    display: none!important;
}
.nice-select.wide {
    width: 100%;
    border-radius: 0;
}
.input-group-addon {
  position: absolute;
    right: 10px;
    z-index: 1;
    top: 8px;
}

  /* Termina Contacto */

  @media (max-width : 768px) {
    .header-carousel .owl-dots {
        display: none!important;
    }
    .navbar-light .navbar-brand img {
        max-height: 35px;
    }
    .navbar .navbar-nav .nav-link:hover::before, .navbar .navbar-nav .nav-link.active::before {
        top: 3px;
        width: 5%;
    }
    .about-img img {
        position: relative;
        width: 100%;
        height: 100%;
        object-fit: cover;
        left: 0;
        bottom: 0;
    }
    .contacto h3, .contacto .h3 {
        font-size: 18px!important;
    }
   }