/*!
    
 =========================================================
 * WebEngine CMS
 * https://webenginecms.org/
 =========================================================
 
 * Author Lautaro Angelico (https://lautaroangelico.com/)
 * Copyright (c) 2013-2020 Lautaro Angelico, All Rights Reserved
 
 * 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;
}

/* 1. Liberamos el ancho fijo del contenedor para que se adapte */
.header-info-container {
    width: 100% !important;
    max-width: 1200px !important; /* Puedes aumentar esto si necesitas más espacio */
    margin: 0 auto !important;
}

/* 2. Forzamos al menú a ocupar todo el espacio disponible */
.headersito {
    width: 100% !important;
}

.headersito .navbar-collapse, 
.headersito .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    width: 100% !important;
}

/* 3. Ajustamos los items para que quepan */
.headersito .nav-item {
    white-space: nowrap !important;
    margin: 0 8px !important;
}

.headersito .nav-link {
    font-size: 0.9rem !important; /* Ligeramente más pequeño para que entre todo */
    padding: 0.5rem 0.3rem !important;
}

.economia-cyber-container {
    background: rgba(20, 15, 35, 0.95);
    border: 1px solid #4a2c7a;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
    margin-bottom: 30px;
}

.economia-titulo {
    font-family: 'Cinzel', serif;
    text-align: center;
    color: #fff;
    text-shadow: 0 0 10px #7b4fb8;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.item-joya {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #332255;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    transition: 0.3s;
}

.item-joya:hover {
    background: rgba(123, 79, 184, 0.2);
    border-color: #7b4fb8;
    transform: translateY(-5px);
}

.item-joya img {
    height: 50px;
    margin-bottom: 15px;
}

/* Ajuste para que las columnas se vean parejas */
.col-md-2-4 {
    width: 20%;
    float: left;
    padding: 10px;
}

/* Corregir color de nombres y evitar desbordamiento */
.item-joya h4 {
    color: #ffffff !important; /* Fuerza los nombres a color blanco */
    font-size: 0.9rem !important; /* Ligeramente más pequeño para evitar saltos de línea */
    white-space: nowrap !important; /* Evita que el texto se rompa en dos líneas */
}

/* Ajuste de contenedor para evitar que los elementos se salgan */
.item-joya {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #332255;
    border-radius: 10px;
    padding: 15px 5px; /* Reducción de padding lateral para dar más espacio */
    margin-bottom: 20px;
    text-align: center;
    transition: 0.3s;
    overflow: hidden; /* Corta cualquier contenido que intente salirse */
}

/* Forzar que el recuadro de Creation tenga el mismo ancho y comportamiento */
.col-md-2-4 {
    width: 20%;
    float: left;
    padding: 5px; /* Espaciado más reducido */
}