/* SACAR DESPUES DEL COVID */
.covid19{
	text-align: center;
    padding: 7px 0 7px 0;
    background: 000;
    background-color: #ff6262;
    color: white;
	top: 0;
    position: fixed;
    width: 100%;
	z-index: 1000;
}

.covid19 p{
	margin: 0;
}

.navbar-fixed-top {
    
}

body {
    
}

.modal-body {
    text-align: justify;
}
/* SACAR DESPUES DEL COVID */


.nav-productos-li{

}

.menu-producto-img{
	width: 75px;
    height: 75px;
    margin: 5px 0 5px 0;
}

.nav-productos{
	margin-bottom: 	15px;
}

.thumbnail i{
	color: #45aed6;
}

.thumbnail p{
	line-height: 28px;
}

img.micro {
    position: absolute;
    right: 20%;
    top: 20px;
	width: 35px;
}

img.micro-nuevo {
    position: absolute;
    right: 20%;
    top: 145px;
	width: 35px;
}

.certificado {
	text-align: right;
	margin-bottom: 15px;
}

.certificado img {
	height:50px;
}

.productos-datos{
    height: 70px;
}

.categoriaActual {
    font-size: 24px;
    margin-top: 20px;
}

.politicas{
    margin-top: 10px;
}

.team-img{
	padding: 2px;
}

.espacio{
	margin-top: 60px;
}

.detalle-modal{
	text-transform: capitalize;
}


/* Botón flotante */
#chat-button {
  position: fixed;
  bottom: 20px;
  right: 90px;
  background-color: #005baa;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  cursor: pointer;
}

/* Caja de chat */
#chat-box {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 500px;
  max-height: 5500px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: none;
  flex-direction: column;
  z-index: 99999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  overflow: hidden;
}

#chat-header {
  background-color: #005baa;
  color: white;
  padding: 10px;
  font-weight: bold;
  text-align: center;
  font-family: 'Esphimere', sans-serif;
}

#chat-messages {
  padding: 10px;
  height: 440px;
  overflow-y: auto;
  font-size: 14px;
}

#chat-form {
  display: flex;
  border-top: 1px solid #ccc;
}

#chat-input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
}

#chat-form button {
  background-color: #005baa;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}

/* Contenedor de cada mensaje */
.message {
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  max-width: 80%;
}

/* Mensaje del usuario */
.message.user {
  align-self: flex-end;
  background-color: #e6f0fa; /* celeste suave */
  color: #003366;
  border-radius: 15px 15px 0 15px;
  padding: 10px 14px;
  margin-left: auto;
}

/* Mensaje del bot */
.message.bot {
  align-self: flex-start;
  background-color: #005baa; /* azul institucional */
  color: white;
  border-radius: 15px 15px 15px 0;
  padding: 10px 14px;
}

@media only screen and (min-width: 768px){

	#main-menu.navbar-default .dropdown-menu {
		background: rgba(255, 255, 255, 0.9);
	    -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
	    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
	}

	.navbar-right .dropdown-menu {
	    right: auto;
	    left: auto;
	}

  .media-heading-big{
    font-size: 2rem;
  }

  .media-text-big{
    font-size: 1.5rem;
    text-align: justify;
    line-height: 40px;
  }

}

@media only screen and (max-width: 768px){
	.covid19 p {
		font-size: 11px;
		line-height: 12px;
	}

  #chat-box {    
    width: 90%;
  }

  .media-heading-big{
    font-size: 2rem;
  }

  .media-text-big{
    font-size: 2rem;
    text-align: justify;
  }
}


  .video-container {
      width: 100%;
      overflow: hidden;
    }

    .video-container video {
      width: 100%;
      height: auto;
      display: block;
    }

    .video-container-vertical {
        text-align: center;
    } 

   #video-vertical {
    height: 399px;
  }

  .texto-grande {
    font-size: 2em;
  }

  

  .novedades-row {
    display: flex;
    flex-wrap: wrap;
  }
  
  /* Hace que ambas columnas se alineen verticalmente */
  .novedades-row > .col-sm-6 {
    display: flex;
    align-items: center;
  }
  
  /* Asegura que el texto no quede pegado arriba */
  .media.service-box {
    width: 100%;
  }
  
  /* Opcional: para mejorar la lectura */
  .media-body {
    text-align: justify;
  }
  
/* --- Miniatura --- */

img.img-responsive.center-block {
  height: 399px;
}

.portada-video-horizontal {
    width: 100%;
}

.video-thumbnail {
  position: relative;
  display: inline-block;
  cursor: pointer;
  max-width: 100%;
  transition: transform 0.3s ease;
}

.video-thumbnail:hover {
  transform: scale(1.02);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 80px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.video-thumbnail:hover .play-button {
  opacity: 1;
}

.play-button i {
  text-shadow: 0 0 20px rgba(0,0,0,0.7);
}

/* --- Overlay del video --- */
.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* --- Video centrado --- */
.video-overlay video {
  height: 90vh;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0,0,0,0.7);
}

/* --- Botón de cierre --- */
.close-video {
  position: absolute;
  top: 20px;
  right: 30px;
  background: transparent;
  border: none;
  color: white;
  font-size: 50px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s;
  z-index: 10000;
}

.close-video:hover {
  opacity: 1;
}
