/*!
    
 =========================================================
 * WebEngine CMS
 * https://webenginecms.org/
 =========================================================
 * Licensed under the MIT license
 * http://opensource.org/licenses/MIT
 =========================================================
 
*/

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    border-top: none !important;
}

a:focus, a:hover {
    color: inherit !important;
    text-decoration: none !important;
}

.form-control {
	background: #fafafa;
	border: 1px solid #e3e3e3;
	color: #666;
}
.form-control:focus {
	border: 1px solid #ccc;
}

/* http://stackoverflow.com/questions/19562903/remove-padding-from-columns-in-bootstrap-3 */
.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}

/* http://stackoverflow.com/questions/20547819/vertical-align-with-bootstrap-3 */
.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.thumbnail {
    background-color: #f1f1f1;
    border: 1px solid #e3e3e3;
}
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
  border-color: #ff0000;
}

.btn-primary {
    color: #3f6588;
    background-color: transparent;
	border-color: #3f6588;
	-moz-transition: all .1s ease-in;
    -o-transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
	-moz-border-radius: 0px;
	border-radius: 0px;
}
.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
    color: #fff !important;
    background-color: #3f6588 !important;
	border-color: #3f6588 !important;
}

.form-horizontal .control-label {
	text-align: left !important;
}
/* =========================================================
   SECCIÓN DOWNLOADS - MALA MU DARK MODE
   ========================================================= */

/* Contenedor de cada descarga */
.panel-downloads {
    background: rgba(15, 15, 15, 0.9) !important;
    border: 1px solid #333 !important;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 4px;
    color: #eeeeee !important;
}

/* Título de la descarga (Nombre del cliente/parche) */
.panel-downloads b, 
.panel-downloads strong {
    color: #ffda8a !important; /* Dorado Mala Mu */
    font-size: 18px;
}

/* Descripción debajo del título */
.download-description {
    color: #aaaaaa !important; /* Gris claro para que sea legible */
    font-size: 12px !important;
    display: block;
    margin-top: 5px;
}

/* Tabla de requisitos o detalles técnicos dentro de descargas */
.panel-downloads table {
    background: transparent !important;
    width: 100%;
}

.panel-downloads table td {
    color: #ccc !important;
    border-bottom: 1px solid #222 !important;
    padding: 8px !important;
}

/* Botones de descarga */
.panel-downloads a.btn, 
.panel-downloads .button {
    background: linear-gradient(180deg, #444 0%, #111 100%) !important;
    border: 1px solid #ffda8a !important;
    color: #ffda8a !important;
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px 20px;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.panel-downloads a.btn:hover {
    background: #ffda8a !important;
    color: #000 !important;
    box-shadow: 0 0 10px rgba(255, 218, 138, 0.5);
}
/* Contenedor individual de cada noticia */
.news-container-info .news-content, 
.news-content .panel {
    background: rgba(15, 15, 15, 0.9) !important;
    border: 1px solid #333 !important;
    border-left: 4px solid #8b0000 !important; /* Acento rojo Mala Mu */
    padding: 20px !important;
    margin-bottom: 25px !important;
    border-radius: 4px;
}

/* Título de la noticia */
.news-content h4, 
.news-content b, 
.news-content .news-title {
    color: #ffda8a !important; /* Dorado Mala Mu */
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
    font-size: 1.3em !important;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

/* Cuerpo del texto de la noticia */
.news-content, 
.news-content p {
    color: #eeeeee !important; /* Gris claro para lectura */
    font-size: 14px !important;
    line-height: 1.6;
}

/* Fecha y pie de noticia */
.news-content small, 
.news-content .text-muted {
    color: #777 !important;
    font-style: italic;
    display: block;
    margin-top: 15px;
    border-top: 1px solid #222;
    padding-top: 8px;
    text-align: right;
}

/* Ajuste para el título general de la sección */
.news-container-info .video-title {
    color: #fff;
    text-transform: uppercase;
    border-bottom: 2px solid #8b0000;
    padding-bottom: 10px;
    margin-bottom: 25px;
    text-shadow: 0 0 8px rgba(139, 0, 0, 0.6);
}
/* Elimina el fondo blanco de contenedores internos (well, alert, etc) */
.news-content .well, 
.news-content .alert,
.news-content blockquote {
    background-color: rgba(20, 20, 20, 0.8) !important;
    border: 1px solid #333 !important;
    color: #eeeeee !important;
    text-shadow: none !important;
}

/* ELIMINAR CUALQUIER RASTRO DE FONDO BLANCO EN NOTICIAS */
.news-content, 
.news-content * {
    background-color: transparent !important;
}

/* Re-aplicar el fondo oscuro solo al contenedor principal */
.news-container-info .news-content, 
.news-content .panel {
    background: rgba(10, 10, 10, 0.9) !important;
    border: 1px solid #222 !important;
}

/* Corregir visibilidad de tablas si las usas dentro de noticias */
.news-content table {
    background: rgba(0, 0, 0, 0.3) !important;
    color: #eee !important;
}

.news-content table td, 
.news-content table th {
    border: 1px solid #333 !important;
    padding: 10px !important;
}

/* Estilo para imágenes dentro de las noticias */
.news-content img {
    border: 1px solid #8b0000;
    max-width: 100%;
    height: auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* Reducción drástica del encabezado para Mala Mu */
#header {
    height: 500px !important; /* Altura muy reducida */
    min-height: 60px !important;
    padding: 0 !important;
    margin: 0 !important;
    background-size: 300% auto !important; /* Ajusta la imagen al ancho */
    background-position: center 50% !important; /* Enfoca la parte superior de la imagen */
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #8b0000; /* Línea roja sutil de separación */
}

/* Ajuste del texto para que no rompa el diseño pequeño */
#header a.logo-frase {
    font-size: 25px !important; /* Texto pequeño y minimalista */
    letter-spacing: 2px !important;
    margin: 100px !important;
    padding: 0 !important;
    text-shadow: 0 0 5px #000;
     display: flex !important;
    align-items: flex-end !important; /* Alinea el texto al fondo del contenedor */
    justify-content: center !important;
    height: 100% !important;
    padding-bottom: 20px !important; /* Ajusta este valor para subirlo o bajarlo del borde inferior */
    margin-top: 0 !important;
  
}

/* Eliminar cualquier residuo de espacio del index */
.espaciador-vacio {
    display: none !important;
    height: 0 !important;
}

/* Pegar el menú inmediatamente después */
#navbar {
    margin-top: 0 !important;
}
/* Reducir el ancho de los banners laterales (Register / Download) */
#sidebar a img, 
.col-md-4 a img {
    max-width: 100% !important; /* Ajusta este porcentaje para achicarlas más o menos */
    height: auto !important;
    margin: 0 auto 15px auto !important; /* Centra la imagen y da espacio abajo */
    display: block !important;
    transition: transform 0.3s ease;
}

/* Efecto opcional al pasar el mouse para que resalten */
#sidebar a img:hover, 
.col-md-4 a img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Ajuste específico para que los contenedores del sidebar no tengan padding excesivo */
.col-md-4 {
    padding-left: 30px !important; /* Da un poco de aire entre las noticias y los banners */
}
#header {
    width: 100% !important;
    max-width: 100% !important;
    background-size: cover !important; /* Estira la imagen para que no queden bordes negros */
    background-position: center center !important;
    border-bottom: 1px solid #8b0000 !important;
}

