/********** Template CSS **********/
:root {
    --primary: #b41616;
    --secondary: #1e3c64;
    --light: #f6f5f7;
    --dark: #000;
    --white: white;
}
body {
    color: black;
}
.back-to-top {
    position: fixed;
    display: none;
    left: 30px;
    bottom: 30px;
    z-index: 99;
}
.no-padding {
    padding: 0!important;
}
a:hover, a:focus, a:active, 
button:hover, button:active, button:focus,
.btn:hover, .btn:active, .btn:focus {
    outline: 0!important;
    box-shadow: none!important;
}
.btn-rounded {
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary:hover:focus {
    color: white;
    background-color: black;
    border-color: black;
}

/*** 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-nav .nav-link {
    margin-left: 30px;
    padding: 25px 0;
    color: var(--secondary);
    font-weight: 500;    
    outline: none;
}

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

.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-left: 0;
        padding: 10px 0;
    }

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

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;    
    z-index: 1;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--dark);
    border: 15px solid var(--dark);
    border-radius: 50px;
}

.carousel-caption .breadcrumb-item+.breadcrumb-item::before {
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

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

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

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}
h6, .h6 {
    font-size: 16px!important;
}

/*** Facts ***/
.facts-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: top;
    background: rgba(0, 0, 0, .65);
}
.facts-overlay p {
    font-size: 16px;
}

.facts-overlay h1 {
    font-size: 120px;
    color: transparent;
    -webkit-text-stroke: 2px var(--white);
}
.actividad:hover .facts-overlay h1 {
    color: var(--primary) !important;
    -webkit-text-stroke: 2px var(--white);
}

.facts-overlay a:hover {
    color: var(--white) !important;
}

.actividad:hover .facts-overlay {
    background: rgba(0, 0, 0, .25);
    transition: all 0.4s ease;
}
.actividad .facts-overlay {    
    transition: all 0.4s ease;
}
.actividad:hover a {
    background: var(--primary);
}
.actividad h4 {
    font-size: 1.2rem;
}

/*** Service ***/
.service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: var(--primary);
    opacity: 0;
    transition: .5s;
}

.service-item:hover .service-text::before {
    height: 100%;
    opacity: 1;
}

.service-text * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

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


/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team-text {
    position: absolute;
    width: 75%;
    bottom: 30px;
    left: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    width: 100%;
}

.team-text * {
    transition: .5s;
}

.team-item:hover .team-text * {
    letter-spacing: 2px;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    color: #999999;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: white;
    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: white;
    margin-right: 10px;
}

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

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

.footer .copyright a {
    color: white;
}

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



/**********************
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;
  }

  .bg-dark {
    background-color: #000 !important;
}

  /* Comienza formulario */
  .form-control:focus {
    color: white!important;   
}
.form-floating>.form-control, .form-floating>.form-select {
    color: white !important;
    height: calc(3.5rem + 2px)!important;
    padding: 1rem .75rem!important;    
}
textarea.form-control {
    min-height: calc(8em + .75rem + 2px);
}
.form-floating {
    color: white !important;
    height: calc(3.5rem + 2px)!important;
    padding: 1rem .75rem!important;
    margin-bottom: 10px;
}

::-webkit-input-placeholder {
    color: white !important;
  }
  
  :-ms-input-placeholder {
    color: white !important;
  }
  
  ::-ms-input-placeholder {
    color: white !important;
  }
  
  ::placeholder {
    color: white !important;
  }

  .btn-check:checked+.btn-success, 
  .btn-check:active+.btn-success,
   .btn-success:active, 
   .btn-success.active, 
   .show>.btn-success.dropdown-toggle,
  .btn-success.btn-send,
  .btn-success.btn-send:hover, 
  .btn-success.btn-send:active, 
  .btn-success.btn-send:focus {
    color: white;
    background-color: #b41616;
    border-color: #b41616;
    width: 100%;
}

.help-block.with-errors {
    color: white;
    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: grey;
    }
    .history-text p.text-muted {
    color: grey;
    }
    .messages {background: black; color: white;}
    
    .btn.disabled, .btn[disabled], 
    fieldset[disabled] .btn  {
    background: #b41616;
    color: white;   
    }
    .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: #b41616;
      color: white;
      opacity: 1;
      }
    .btn-send {
    background: #b41616;
    color: white;
    }
    .btn-send:hover, .btn-send:active, .btn-send:focus {
      background: #b41616;
      color: white;
      opacity: 1;
    }
    .btn-success {
    background: #b41616;
    color: white;
    text-transform: uppercase;
    opacity: 1;
    }
    .btn-success:hover, .btn-success:active, .btn-success:focus {
      background: #b41616;
      color: white;
      opacity: 1;
    }  

  .nice-select.wide {
      width: 100%;
      border-radius: 0;
  }
  .input-group-addon {
    position: absolute;
      right: 10px;
      z-index: 1;
      top: 8px;
  }
  
    /* Termina Contacto */

    .copyright  {
        color: white;
    }
    .copyright  a {
        color: white;
    }
    .footer p, .footer a, .footer p a  {
        color: white;
    }

    /* Comienza responsive */
    @media (max-width: 768px) {
        .position-relative {
            margin-bottom: 20px;
        }
    }