*{
	margin: 0; padding: 0; border: none;
}
body {

}
h6 {
	font-size: 1.3em;
	font-weight: bold;
	padding: 20px 0 20px 0;
}
#content2 {
	background-color: #ffffff;
}
#pie li {
	padding-top: 5px;
}
#pie li a {
	vertical-align: middle;
	font-size: 1rem;
}
#pie li a i {
	vertical-align: bottom;
}
#pie li a img {
	vertical-align: bottom;
}

/* Corrección para la alineación vertical del menú de navegación */
.navbar-fixed nav .nav-wrapper ul.right li a {
	line-height: 64px;
	height: 64px;
	padding: 0 15px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.navbar-fixed nav {
	height: 64px;
	line-height: 64px;
}

.navbar-fixed nav .nav-wrapper {
	display: flex;
	align-items: center;
	height: 100%;
	position: relative;
}

/* Centrar el menú de navegación horizontalmente */
.navbar-fixed nav .nav-wrapper ul.right {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	margin: 0;
	float: none;
	right: auto;
}

/* Alineación del logo */
.navbar-fixed nav .nav-wrapper .brand-logo {
	display: flex;
	align-items: center;
	height: 64px;
	position: absolute;
	left: 10px;
	transform: none;
}

#logo {
	vertical-align: middle;
}

/* Menú móvil */
.side-nav li a {
	display: flex;
	align-items: center;
	padding: 0 16px;
	height: 48px;
}

@media only screen and (max-width: 992px) {
    .navbar-fixed nav .nav-wrapper .brand-logo {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Ocultar menú centrado en móvil para evitar superposiciones */
    .navbar-fixed nav .nav-wrapper ul.right {
        display: none;
    }
}

/* Ajustar espacio del logo en pantallas medianas donde el menú está centrado */
@media only screen and (min-width: 993px) and (max-width: 1200px) {
    .navbar-fixed nav .nav-wrapper .brand-logo {
        left: 20px;
    }
}

.fondo1 {
	background-image: url('../img/vectores/clouds-1923545.svg');
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}
.fondo2 {
	background-image: url('../img/vectores/blue-1634110-2.svg');
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}
.fondo3 {
	background-image: url('../img/water-1759703_1920.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}
.fondo4 {
	background-image: url('../img/binary-1607203_1920.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}
.fondo5 {
	background-image: url('../img/abstract-14347.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}
.fondo6 {
	background-image: url('../img/abstract-graphics-1494667.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}
.fondo7 {
	background-image: url('../img/grid-725266_1920.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}
.fondo8 {
	background-image: url('../img/blue-757258_1920.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}
.fondo9 {
	background-image: url('../img/d4l9f-y8kfs.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}
.collapsible-header {
	color: white;
}
#logo2 {
	width: 60px;
	height: 60px;
}
#logo3 {
	width: 60px;
	height: 60px;
}
#callus {
	--call-us-form-header-background: #007bc7;  /* Primary Color */
	--call-us-header-text-color: #ffffff;       /* Secondary Color */
	position: fixed;
	
	bottom: 20px;
	
	right: 6px;
	width: 5px;
}

/* Estilos para el formulario de búsqueda */
.search-container {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    display: flex;
    align-items: center;
}

.search-container .input-field {
    margin: 0;
    padding: 0;
    height: 40px;
    display: flex;
    align-items: center;
    position: relative;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    width: 220px;
}

.search-container .input-field .search-icon {
    position: absolute;
    color: white;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    font-size: 1.5rem;
}

.input-field input[type=search] {
    height: 40px !important;
    line-height: 40px !important;
    color: white;
    margin: 0;
    padding-left: 2.7rem;
    width: 100% !important;
    box-sizing: border-box;
    background-color: transparent;
    border: none;
    transition: background-color 0.3s ease;
}

.input-field input[type=search]:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    box-shadow: none;
}

.input-field input[type=search]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Eliminar las líneas de búsqueda por defecto de materialize */
.input-field input[type=search]:focus {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: none !important;
}

/* Eliminar bordes y estilos por defecto de materialize */
.input-field input[type=search]:focus + label i,
.input-field input[type=search]:focus ~ .material-icons {
    color: white !important;
}

.input-field input[type=search] ~ .material-icons {
    display: none !important;
}

.input-field input[type=search] ~ label {
    display: none !important;
}

.search-box {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Ajustar posición del dropdown de resultados */
.navbar-fixed nav .input-field input[type=search] + .dropdown-content {
    top: 64px !important;
    left: auto !important;
    right: 10px !important;
    width: 300px !important;
}

/* Estilos adicionales para los resultados de búsqueda en el dropdown */
.dropdown-content li > a {
    color: #5c6bc0;
    padding: 12px 16px;
}

.dropdown-content li:hover {
    background-color: rgba(92, 107, 192, 0.1);
}

/* Asegurarse que el dropdown esté sobre otros elementos */
.dropdown-content {
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
}

/* Estilos para el selector de idiomas */
.language-selector {
    position: relative;
}

.language-selector a.dropdown-trigger {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 15px;
}

.language-selector a.dropdown-trigger .material-icons.left {
    margin-right: 5px;
}

.language-selector a.dropdown-trigger .material-icons.right {
    margin-left: 0;
}

#language-dropdown {
    min-width: 100px;
    background-color: white;
    border-radius: 2px;
    overflow: hidden;
    z-index: 999;
}

#language-dropdown li a {
    color: #5c6bc0;
    padding: 14px 16px;
    font-weight: 500;
}

#language-dropdown li a:hover {
    background-color: rgba(92, 107, 192, 0.1);
}

.language-option {
    display: flex;
    align-items: center;
}

.language-option i {
    margin-right: 10px;
}

/* Resaltar idioma actual */
.language-option.active {
    background-color: rgba(92, 107, 192, 0.1);
}

@media only screen and (max-width: 600px) {
    #language-dropdown {
        width: 100%;
    }
}

/* Media query para dispositivos móviles */
@media only screen and (max-width: 992px) {
    .search-container {
        display: none;
    }
}

/* Ajustar posición y z-index para el menú lateral en móvil */
.side-nav {
    z-index: 1000;
}

/* Estilo para el botón de búsqueda independiente en el menú lateral */
.search-icon-container {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
}

.search-icon-container a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: white;
    background-color: #5c6bc0;
    border-radius: 0;
}

.search-icon-container a i {
    font-size: 24px;
    margin: 0;
}

.search-icon-container a:hover {
    background-color: #4a5ab1;
}

/* Formulario de búsqueda móvil flotante */
.mobile-search-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #5c6bc0;
    z-index: 1100;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.mobile-search-container.active {
    transform: translateY(0);
}

.mobile-search-container .input-field {
    margin: 0;
    height: 60px;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

.mobile-search-container input[type=search] {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: white;
    height: 40px !important;
    width: calc(100% - 50px) !important;
    box-sizing: border-box;
    padding-left: 3rem !important;
    transition: background-color 0.3s ease;
}

.mobile-search-container input[type=search]:focus {
    background-color: rgba(255, 255, 255, 0.4);
}

.mobile-search-container input[type=search]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.mobile-search-container .input-field label i {
    color: white;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-search-container .close-search {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    cursor: pointer;
}

/* Asegurar que el botón de búsqueda no se solape con los controles de idioma en móvil */
.side-nav .search-box {
    padding: 15px 0;
    margin-top: 10px;
    margin-bottom: 10px;
    clear: both;
    width: 100%;
    position: relative;
    z-index: 100;
}

.side-nav li.divider {
    margin: 8px 0;
}

/* Posicionar correctamente los controles de idioma en el menú móvil */
.side-nav .language-option {
    width: 100%;
    height: 48px;
    line-height: 48px;
}

/* Ajustar posición del dropdown de resultados */
.navbar-fixed nav .input-field input[type=search] + .dropdown-content {
    top: 64px !important;
    left: auto !important;
    right: 10px !important;
    width: 300px !important;
}