/*
    Theme Name: Tenerife Networking
    Theme URI: 
    Author: CBT Comunicación y multimedia
    Author URI: https://cbt.es
    Description: Theme Diseñado para Tenerife Networking
    Version: 1
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: tenerife.cbtpruebas.es
*/

:root {
    --primary: #000B8C !important;
    --bs-primary-rgb: 0,11,140 !important;
    --secondary:#F1F2F7 !important;
    --GrisFondos : #F4F4F4;
    --GrisLetras : #373A36;
    --destacar : #DBF6F8;
  }


*{
    font-family: "Lato", sans-serif;
    color:#373A36;
    font-size: 16px;
}
a{
    color:#373A36 !important;
}

h1, h2, h3, h4, h5, h6{
    font-family: "canada-type-gibson", sans-serif !important;
}

h1{
    font-size: 40px !important;
    color: #000B8C !important;
    font-weight: 600 !important;
}

h2{
    font-size: 36px !important;
    color: #000B8C !important;
    font-weight: 600 !important;
}
h3{
    font-size: 24px !important;
    color: #373A36 !important;
    font-weight: 600 !important;
}

.f14{
    font-size: 14px !important;
}

label{
    font-size: 18px !important;
    font-weight: 600;
    color: #373A36;
    margin-bottom: 10px;

}
.menu a{
   /* font-size: 18px !important;*/
    color:#373A36 !important;
}
.deshabilitar{
    display: none !important;
}

.acf-input-wrap input, .acf-input textarea, .acf-input select{
    width: 100% !important;
    
    margin-bottom: 50px;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #999;
}

.acf-basic-uploader input[type="file"]{
    margin-bottom: 20px;
} 
.acf-button, .boton, .um-button, a.um-button, .wpcf7-submit{
    background-color: #DBF6F8 !important;
    border: none;
    border-radius: 20px !important;
    padding: 10px 40px;
    font-family: "canada-type-gibson", sans-serif !important;
    text-decoration:none;
    color:#373A36 !important;
    margin-bottom: 20px;
    font-size: 16px;
}

placeholder{
    opacity: 0.5 !important;
}
.encabezado-tabla tr{
    border-bottom: 1px solid #eaeaea;
     font-size: 16px !important;
}
.encabezado-tabla th{
    font-size: 16px !important;
    font-weight: 400;
    color: #A0A19F;
    line-height: 2.5;
}
.um-postmessage{
    text-align: center;
    margin: 70px;
}
.acf-actions{
    text-align: right;
}

.datos-empresa .acf-field-text .acf-label, .datos-empresa .acf-field-email .acf-label, .datos-empresa .acf-field-url .acf-label, .ubicacion .acf-field-text .acf-label{
    display: none !important;
}
.datos-empresa .acf-input .acf-fields .acf-field-text, .datos-empresa .acf-input .acf-fields .acf-field-email, .datos-empresa .acf-input .acf-fields .acf-field-url{
    width: 33%;
    display: inline-block;
}
.datos-empresa .acf-input-wrap input, .ubicacion .acf-input-wrap input{
    margin-bottom: 20px;
}
.datos-empresa, .ubicacion {
    margin-bottom: 30px !important;
}

.acf-input select{
    padding: 6px;
    background-color: white;
}

.acf-field p.description{
    font-style: italic !important;
    margin-top: 0px;
}

.acf-checkbox-list label{
    font-weight: 400;
    font-size: 16px !important;
}

.parallax{   
      background-size: cover !important;
      background-position: center center;
      background-attachment: fixed; /* Hace que la imagen de fondo esté fija mientras el contenido se desplaza */
      background-repeat: no-repeat;
      /*will-change: transform;*/
      transition: transform 0.2s ease-in-out;
   
}



.descripcion-empresa {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limitar a 2 líneas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 3em; /* Ajusta la altura si es necesario */
}

.listado-home:hover, a.bg-white:hover, button.bg-white:hover {
   background-color: #DBF6F8 !important;
}
.btn{    
    margin-top: -10px;
}
.btn:hover, .menu a:hover, a.bg-primary:hover {
     background-color: #DBF6F8 !important;
     color: #373A36 !important;
}


.destacado .foto{
    height:200px;
}
/*.destacado:hover .foto{
    height:210px;
    -webkit-transition: -webkit-transform 0.5s ease;
    transition: height 0.5s ease;
}*/
.destacado:hover{
    background-color: #DBF6F8 !important;
}

a:empty {
    display: none !important;
}
.acf-field a:empty, #subfooter a{
    display: block !important;  /* O incluso 'inline' si es necesario */
}


.contiene-video {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
}

.contiene-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.miscroll::-webkit-scrollbar {
  width: 5px;
}

.miscroll::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #eee;
  border-radius: 15px;
}

/* Handle */
.miscroll::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 15px;
}



.cuadricula a {
    display: block;
    background: url('.$fondo.') center;
    background-size: cover;   
    position: relative;
    transition: background-size 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.cuadricula a:hover {
    background-size: 120%; /* Ajusta el valor para el zoom */
    transform: scale(1.05); /* Para un leve zoom adicional */
}

 #tabla-usuarios th , .encabezado-tabla th:hover{
     cursor: pointer; /* Cambia el cursor cuando pasas sobre el encabezado */
 }

 .bot_acer{
    background: rgba(0, 11, 140, 0.8) !important; 
    min-height: 20%;
    color: white;
 }
  a:hover > .bot_acer{
    background: rgba(256,256,256,0.9) !important; 
    color:#373A36;
    cursor: pointer;
}

.logo-empresa{
    transform: translateY(50px) !important;
    max-width: 350px;
}
.acciones{
        width: 300px !important;
    }

/* Estilo para la flecha de subir */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #000B8C !important;
  color: white !important;
  padding: 0 10px;
  border-radius: 5px;
  display: none; /* Inicialmente estará oculta */
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  z-index: 99;
}
.scroll-to-top i{
    color: white !important;
    font-size: 28px;
}
/* Efecto al pasar el cursor */
.scroll-to-top:hover {
  background-color: #DBF6F8 !important;
}
.scroll-to-top:hover i{
    color: #373A36 !important;
}

.columna{
    width: 110px;
    text-align: center;
}
#empresasCarousel .carousel-control-prev{
    left: 0;
    transform: translateX(-40px);
    width: 20px;

}

#empresasCarousel .carousel-control-next{ 
    right: 0;
    transform: translateX(40px);
    width: 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.3); /* Otro color para hover */
    border-radius: 50%;
    background-size: 70% !important;
    background-position: center;
}

/* Cambiar el color cuando se pasa el cursor por encima (hover) */
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: rgba(0, 0, 0, 0.7); /* Otro color para hover */
}

/*  Paginacion  //////////////////////////////////// */
.paginacion {
    margin-top: 20px;
    text-align: center;
}

.paginacion a {
    margin: 0 5px;
    padding: 8px 15px;
    background-color: #f1f1f1;
   /* border: 1px solid #ddd;*/
    text-decoration: none;
    border-radius: 5px;
}

.paginacion .pagina-actual {
    padding: 8px 15px;
    background-color: #000B8C;
    color: white;
}

.paginacion a:hover {
    background-color: #ddd;
}
.paginacion .current{ 
     padding: 8px 15px;
 }


/* ////////////////  chat */ 
.Toastify__toast-body .bm-toast-site-message-info div, .Toastify__toast-body .bm-deleted-message p{
    color:white !important;
}

.bm-toast-site-message .bm-toast-site-message-container .bm-toast-site-message-avatar>.avatar,.bp-messages-wrap .chat-header .mass-message {
    display: none !important;
}

/* ////////////////  Mapa */ 
.gm-style .gm-style-iw-c {
    max-width: 280px !important;
}
.gm-style-iw-chr {
    position: relative;
    height: 30px;
}

.gm-style-iw-chr button{
    margin-top: -5px !important;
}


.limited-text {
    display: -webkit-box;
    -webkit-line-clamp: 5 !important; /* Limita a 5 líneas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*.limited-list {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5; 
  overflow: hidden;
   text-overflow: ellipsis;
}
*/

.limited-list-expand {
  /*display: block;*/
}


@media (max-width: 1400px) {
    .acciones{
        width: 220px !important;
    }
   .acciones .btn{
    padding: 5px !important;
   } 
   .eliminar2{
        display: none !important;
    }

}
/* //////////////  filtro-mapa     */
.filtro-mapa form{
    width: 90%;
    margin-left: 0 !important;
}

.filtro-mapa h3{
    font-size: 22px !important;
    text-align: left !important;
}

/* ///////////////   footer                  */
footer a:hover, footer button:hover{
    text-decoration: underline !important;
}
footer form{
    text-align: center !important;
}

#modal_buzon span > input, #modal_buzon textarea{
    padding: 10px 15px;
    width: 100%;
    border-radius: 5px;
    border: none;
}
#modal_buzon form{
    max-width: 500px;
    margin: auto;
}

.um_request_name label{
    visibility: hidden !important;
    display: none;
}

.bpbmuc {
    margin: 0px -10px 20px 10px !important;
    
}

.bm-deleted-thread p, .bm-deleted-thread p span, .Toastify{
    color: white;
}

@media (max-width: 1200px) {
    .datos-empresa .acf-input .acf-fields .acf-field-text, .datos-empresa .acf-input .acf-fields .acf-field-email{
        width: 100% !important;
    }
    .eliminar{
        display: none !important;
    }
    .logo-empresa{
    transform: translateY(0px) !important;
}
  #menuresposive .menu-res{
    color: white !important;
} 
.parallax {
    background-attachment: scroll; /* Desactivar parallax en pantallas pequeñas */
  }

}

@media (max-width: 768px) {

    h1{
        font-size: 30px !important;
    }

    h2{
        font-size: 30px !important;
    }

   /* .overflow-y-scroll.miscroll{
        overflow-y: initial !important;
    }*/
}

/* estilos h3 customs */
.sub-titulos
	{
		font-weight: 600 !important;
	}




/* pantallas grandes */

@media (min-width: 1600px) {
    .xxxl-8{
        width: 67% !important;
    }
}



#floatingBtn {
  position: fixed;
  right: 0px;      /* distancia del borde derecho */
  bottom: 10%;         /* a media altura */
  transform: translateY(-50%);
  background-color: #000B8C !important;
    color: white !important;
    padding: 0 10px;
    border-radius: 5px;
  width: 50px;
  height: 50px;
  padding: 0;
  z-index: 1055;    /* encima de modales */
 
}


#floatingBtn i {
    pointer-events: none; /* que solo el botón capture el clic */
    color: white !important;
    font-size: 20px !important;
}


/* Si el idioma es español */
.lang-es .en {
  display: none !important;
  
}

/* Si el idioma es inglés */
.lang-en .es {
  display: none !important;
}

.offcanvas .menu a{
    color:white !important;
    font-size: 18px !important;
    display: block;
}

.offcanvas .menu a:hover{
     color:#373A36 !important;
}