/********** Template CSS **********/
:root {
    --primary: #62c0d9;
    --light: #F6F7F8;
    --dark: #40388e;
}
body {
    font-family: "DM Sans", sans-serif;
}
.fw-medium {
    font-weight: 500 !important;
}
.dropdown-item {
    color: #40388e;
}
.bg-blue {
    background-color: #40388e !important;
}
h1 span {
    color: #62c0d9;
}
.fw-bold {
    font-weight: 700 !important;
}
p {
    line-height: 1.3;
}
.fw-black {
    font-weight: 900 !important;
}
.btn-primary {
    color: white;
    background-color: #62c0d9;
    border-color: #62c0d9;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    color: white;
    background-color: #40388e;
    border-color: #40388e;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 45px;
    bottom: 20px;
    z-index: 99;
}
a:hover,
a:active, 
a:focus {
    color: #62c0d9;
}

/*** 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.btn-primary,
.btn.btn-outline-primary:hover {
    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;
}

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

.navbar .navbar-brand,
.navbar a.btn {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #62c0d9;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    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 {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .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;
    }
}


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

@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 .owl-dot img {
    left: 0;
}
.header-carousel .owl-dots .owl-dot {
    position: relative;
    display: inline-block;        
}
.header-carousel .owl-dots {
    position: absolute;
    width: 100%;
    height: auto;
    top: auto;
    right: auto;
    display: block;
    bottom: 0;
    text-align: center;
}


.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 25px;
    height: 25px;
    margin:5px 5px;
    background: #FFFFFF;
    border-radius: 45px;
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    background: #62c0d9;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    border-radius: 45px;
    transition: .5s;
    display: none!important;
}

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

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


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    min-height: 400px;
}
.service-item p {
    font-size: 0.9rem;
}
.service-icon {
    position: relative;
    margin: 10px 0 25px 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #40388e;
    background: #FFFFFF;
    border-radius: 100px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
    font-size: 48px;
}
.service-item a {
    position: absolute;
    bottom: 20px;
}
.service-item:hover .service-icon {
    color: #FFFFFF;
    background: #62c0d9;
}
.service-item > div {
    min-height: 360px;
}

/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: #62c0d9;
    border-color: #62c0d9;
}

.portfolio-img {
    position: relative;
}

.portfolio-img::before,
.portfolio-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    background: var(--dark);
    transition: .5s;
}

.portfolio-img::before {
    left: 50%;
}

.portfolio-img::after {
    right: 50%;
}

.portfolio-item:hover .portfolio-img::before {
    width: 51%;
    left: 0;
}

.portfolio-item:hover .portfolio-img::after {
    width: 51%;
    right: 0;
}

.portfolio-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 1;
    transition: .5s;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
    transition-delay: .3s;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    border-radius: 8px 60px 0 0;
}

.team-item .team-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: #FFFFFF;
    transition: .5s;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: #62c0d9;
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    color: #62c0d9;
    transition: .3s;
    display: inline;
}
.blue {
    color: #62c0d9;
}
.footer .btn.btn-social:hover {
    color: #62c0d9;
}
.footer p {
    font-size: 0.95rem;
}
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #9B9B9B;
    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;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;
    letter-spacing: 1px;
    box-shadow: none;
}

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

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

.footer .copyright a:hover {
    color: #62c0d9;
}
.container:focus, 
.container:hover,
.container:active {
    border: none!important;
}
.contame {
    background-color: #40388e;
}
.contame span, .contame h1{
    color: white;
    font-size: 2.5rem;
    display: inline-block;
}
.contame h5 {
    color: white;    
}
.br-1 {
    border-right:1px solid white;
}
.br-0 {
    border-right:none;
}


/**********************
Ws botón redondo con 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;
  }
.logos img {
    width: 100%;
}
.navbar-light .navbar-toggler {
    color: #40388e;
    border:none!important;
}
  @media screen and (max-width: 800px) {
    .wow{
        animation-name: none !important;
        visibility: visible !important;
    }
    .logos {
        display: block;
    }
    .navbar .navbar-brand img {
    width: 170px;
    }    
    .footer p {
        font-size: 1rem;
    }
    .supertop {
        height: auto;
        padding: 10px 0 !important;
    }
    .supertop .h-100 {
        height: auto!important;
    }
}
.lalo {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
}
.owl-carousel-inner h1 {
    text-transform: uppercase;
    font-weight: 400;
}
.owl-carousel-inner h1 span {
    font-weight: 900;
}
/*Estilos para contacto solo*/

/* Contacto */

.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: inherit;
        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], 
    fieldset[disabled] .btn  {
    background: #44c0d8;
    color: #161717;
    text-transform: uppercase;
    width: 165px;
    border: none;
    cursor: pointer;
    font-size: calc(12px + 0.4vw);
    opacity: 1;
    }
    .btn.disabled:hover,  .btn.disabled:active, .btn.disabled:focus,
    .btn[disabled]:hover, .btn[disabled]:active, .btn[disabled]:focus,
    fieldset[disabled] .btn:hover, fieldset[disabled] .btn:active, fieldset[disabled] .btn:focus
    {
      background: #313875;
      color: white;
      opacity: 1;
      }
    .btn-send {
    background: #44c0d8;
    color: #161717;
    text-transform: uppercase;
    width: 165px;
    border: none;
    cursor: pointer;
    font-size: calc(12px + 0.4vw);
    opacity: 1;
    }
    .btn-send:hover, .btn-send:active, .btn-send:focus {
      background: #313875;
      color: white;
      opacity: 1;
    }
    .btn-success {
    background: #44c0d8;
    color: #161717;
    text-transform: uppercase;
    width: 165px;
    border: none;
    cursor: pointer;
    font-size: calc(12px + 0.4vw);
    opacity: 1;
    }
    .btn-success:hover, .btn-success:active, .btn-success:focus {
      background: #313875;
      color: white;
      opacity: 1;
    }
  
    .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;
  }

  .form-floating>.form-control, .form-floating>.form-select {
    height: calc(3.5rem + 2px);
    padding: 1rem .75rem;
    margin-bottom: 16px;
}
textarea.form-control {
    min-height: calc(6.5em + .75rem + 2px);
}
  
    /* Termina Contacto */