/*
#------------------------------------------------------------------------
# News II - February Joomla! template (for Joomla 2.5)
#
# Copyright (C) 2007-2013 Gavick.com. All Rights Reserved.
# License: Copyrighted Commercial Software
# Website: http://www.gavick.com
# Support: support@gavick.com 
*/

/* Here you can include your override CSS styles */

.gkMainbodyInner {
  padding: 25px 0px 0px 0px !important;
}


#gkContent {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 25px;
  padding-right: 25px;
  width: 100% !important;
}

.gkLogo.text .gkLogoSlogan {
  color: #444;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-transform: none;
}

.category-name > a, .mod-articles-category-category > a {
  color: #af50e5;
}

#gkBtn a {
  height: 64px;
  line-height: 64px;
  color: #af50e5;
  font-size: 13px;
  font-weight: bold;
  padding: 0 24px;
  text-transform: uppercase;
  font-family: 'Overpass',sans-serif;
}

a {
  color: #af50e5;
  text-decoration: none;
}

.gkLogo.text > span::after {
  content: ".";
  color: #af50e5;
}

#gkHeaderNav .gkMainMenu .gkmenu.level0 > li > a::before, #gkHeaderNav .gkMainMenu .gkmenu.level0 > li > span::before {
  content: "";
  width: 0;
  height: 2px;
  background: #af50e5;
  transition: width 350ms;
  position: absolute;
  left: 0;
  bottom: 0;
}

#gkOtherLinks .nav > li.active > a, #gkOtherLinks .nav > li.active > span {
  color: #af50e5;
}

.btn.btn-primary {
  border: 1px solid #af50e5;
  background: #af50e5;
  color: #fff;
}

#gkOtherLinks .nav > li > a:hover, #gkOtherLinks .nav > li > span:hover {
  background: none;
  color: #af50e5;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active,
.btn.btn-primary.active,
.btn.btn-primary.disabled,
.btn.btn-primary[disabled] {
  color: #fff;
  background: #af50e5;
  border-color: #af50e5;
}
.btn.btn-primary:active,
.btn.btn-primary.active {
  background: #af50e5;
  color: #fff;
  border-color: #af50e5;
}

.cc_container .cc_btn, .cc_container .cc_btn:visited {
  color: #ffffff !important;
  background-color: #af50e5 !important;
  transition: background 200ms ease-in-out,color 200ms ease-in-out,box-shadow 200ms ease-in-out;
  -webkit-transition: background 200ms ease-in-out,color 200ms ease-in-out,box-shadow 200ms ease-in-out;
  border-radius: 5px;
  -webkit-border-radius: 5px;
}

.cc_container a, .cc_container a:visited {
  text-decoration: none;
  color: #ffffff !important;
  transition: 200ms color;
}

/* Efecto al pasar el ratón por encima del botón de aceptación */
.cc_container .cc_btn:hover {
  background-color: #af50e5 !important; /* Un tono dorado un poco más oscuro */
  color: #ffffff !important;
}

/* Forzar el subrayado en los enlaces dentro del banner de cookies */
.cc_container a, 
.cc_container a:visited, 
.cc_container .cc_link {
  text-decoration: underline !important;
  text-decoration-style: solid !important; /* Asegura que la línea sea continua */
}

/* Efecto opcional: cambia el estilo al pasar el ratón por encima */
.cc_container a:hover, 
.cc_container .cc_link:hover {
  text-decoration: underline !important;
  opacity: 0.9; /* Hace el enlace ligeramente más claro al pasar el cursor */
}

.contact .contact-form .form-horizontal .controls textarea {
  max-height: 250px !important;
}

.convertforms .captcha-container .captcha-equation {
  font-size: 1.0em !important;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  white-space: nowrap;
}

.campo-alto-personalizado input {
    height: 55px !important;
    line-height: 55px !important; /* Centra el texto verticalmente */
    padding: 0 15px !important;
}

.campo-alto-personalizado-2 textarea {
    padding-top: 20px !important; /* Empuja todo el bloque de texto hacia abajo */
}

.page-header a:hover,
.page-header h1 a:hover,
.page-header h2 a:hover {
    color: #af50e5 !important;
}

.convertforms.cf-success .cf-response {
  background-color: #af50e5 !important;
  display: block;
}

.convertforms .cf-response {
  color: #fff;
  margin-bottom: 20px;
  padding: 10px 15px;
  width: 100%;
  border-radius: var(--input-border-radius);
  display: none;
  text-align: center;
}

.item-page div[itemprop="articleBody"] {
  color: #212121;
  font-size: 20px;
  line-height: 1.8;
  padding-left: 112px;
  padding-right: 112px;
  position: relative;
  padding-top: 30px !important;
}

/* El contenedor exterior mantiene el fondo negro de borde a borde */
.cc_container {
    display: flex !important;
    flex-direction: column !important; /* Disposición vertical */
    align-items: center !important;    /* Centra los elementos internos horizontalmente */
    justify-content: justify !important;
    width: 100% !important;            /* Ocupa el 100% de la pantalla */
    max-width: 100% !important;        /* Evita que el fondo negro se corte */
    height: auto !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    background-color: #323232 !important; /* Tu color de fondo personalizado */
}

/* El texto se limita a los 1200px de la plantilla y se centra */
.cc_container .cc_message {
    order: 1 !important;               /* Va primero (arriba) */
    display: block !important;
    max-width: 1200px !important;      /* Longitud máxima igual a tu web */
    width: 100% !important;            /* Adaptable en móviles */
    margin: 0 auto 15px auto !important; /* Centra el bloque de texto y da margen abajo */
    text-align: justify !important;     /* Centra las líneas de texto */
    line-height: 1.6 !important;       /* Interlineado más amplio y limpio */
    font-size: 14px !important;        /* Tamaño de fuente óptimo para lectura */
}

/* El botón amarillo se sitúa abajo y se centra */
.cc_container .cc_btn {
    order: 2 !important;               /* Va segundo (abajo) */
    display: inline-block !important;
    position: relative !important;
    margin: 10px auto 0 auto !important; /* Centra el botón horizontalmente */
}