/*Tags*/

p {
font-family: 'Muli', sans-serif;
font-size:18px;
font-weight:400;
}

h1, h2, h3, h4, h5 {
font-family: 'Muli', sans-serif;
color:#0075AA;
font-weight:500;
}

li{
  font-family: 'Muli', sans-serif;
  font-size: 18px;
  font-weight:400;
  
}

dl,dt,dd{
  font-family: 'Muli', sans-serif;
  font-size:18px;
}

.page-header  h2 a{
font-family: 'Muli', sans-serif;
color:#000000;
}

.page-header  h2 a:hover{
font-family: 'Muli', sans-serif;
color:#000000;
}

a{
font-family: 'Muli', sans-serif;
color:#000000;
}

a:hover{
color:#000000;
}

ul {
font-family: 'Muli', sans-serif;
font-size:14px;  
}

table {
font-family: 'Muli', sans-serif;
font-size: 14px;
}

td, th {
padding: 8px;
}

label {
  font-size: 18px;
  font-family: 'Muli', sans-serif;
}

/*Component Form*/
legend{
    font-family: 'Muli', sans-serif;
    
}

/*Module Contact us*/
#contact-us{
  margin-top:12px;
}

#contact-us p{
  color:#FFFFFF;
}

#contact-us a {
    color:#FFFFFF;
}

#contact-us a:hover {
    color:#FFFFFF;
}

/*Module Services*/

#services-1 h3 {
  font-weight: 500;
  font-family: 'Muli', sans-serif;
  color:#666666;
}


#services-1 p {
  font-weight: 400;
  font-family: 'Muli', sans-serif;
  color:#3e3e3d;
}


/*Module Products*/


#products h1 {
  font-weight: 800;
  font-family: 'Muli', sans-serif;
  color:#0075AA;
}

#products h3 {
  font-weight: 800;
  font-family: 'Muli', sans-serif;
  color:#FFFFFF;
}

#products p {
  font-weight: 400;
  /*font-size:18px;*/
  color:#FFFFFF;
  font-family: 'Muli', sans-serif;
}

/*Modules Titles*/

#title-1 {
  background:#FFFFFF;
  margin-bottom: 50px;
  margin-top: 30px;
}

#title-1 h1 {
  font-weight: 800;
  font-family: 'Muli', sans-serif;
  color:#0075AA;
}

#title-1 h2 {
  font-weight: 700;
  font-family: 'Muli', sans-serif;
  color:#3e3e3d;
}

#title-1 p {
  font-weight: 400;
  font-size:25px;
  color:#3e3e3d;
  font-family: 'Muli', sans-serif;
}

#title-2 {
  margin-top: 50px;
  margin-bottom:50px;
}

#title-2 h1 {
  font-weight: 800;
  color:#0075AA;
  font-family: 'Muli', sans-serif;
}


#title-2 h2 {
  font-weight: 700;
  color:#3e3e3d;
  font-family: 'Muli', sans-serif;
}

#title-3 {
  
  margin-bottom:30px;
}

#title-3 h1 {
  font-weight: 800;
  color:#328FB9;
  font-family: 'Muli', sans-serif;
}

#title-3 p {
  font-weight: 400;
  font-size:18px;
  color:#3e3e3d;
  font-family: 'Muli', sans-serif;
}

#title-4 {
  margin-top: 20px;
  margin-bottom: 30px;
}

#title-4 h1 {
  font-weight: 800;
  font-family: 'Muli', sans-serif;
  color:#328FB9;
}

/*Module Copyright*/

#bar-footer a {
color:#FFFFFF;  
}

#bar-footer h3 {
  color:#FFFFFF;
  font-family: 'Muli', sans-serif;
  font-weight:600;
}

#bar-footer h4 {
  color:#FFFFFF;
  font-family: 'Muli', sans-serif;
  font-weight:600;
}

#bar-footer p {
  color:#FFFFFF;
  font-family: 'Muli', sans-serif;
  font-weight:400;
}

/*Module Privacy*/

#bar-privacy p {
  color:#FFFFFF;
  font-family: 'Muli', sans-serif;
  font-weight:400;
}

/*Component Content*/

#component-content{
  margin-bottom:5%;
  padding: 10px 30px;
}

/*Module News*/

#news p {
  font-weight: 300;
  color:#777777;
  font-family: 'Muli', sans-serif;
  font-size: 20px;
}

#news .newsflash-title{
 color:#0075AA;
}

#news a{
color:#FFFFFF;
font-family: 'Muli', sans-serif;
}

#news a:hover{
color:#FFFFFF;
font-family: 'Muli', sans-serif;
}

/*Module search*/

.search{
  margin-top:38px;
}

/*contact*/
#contact-form{
    
    font-family: 'Muli', sans-serif;
    }


/*Keywords*/

.tags li{
list-style:none; 
display:inline-block; 
padding-left: 2px;
}

.tags {
  padding-bottom:25px; 
  padding-left:0;
}


/*Component-Content*/
#component{
  background:#FFFFFF; 
  padding-bottom:20px;
  margin:10px 10px;
}

/*Module Breadcrumb*/
.breadcrumb{ 
  font-family: 'Muli', sans-serif;
  color: gray; 
  margin-top: 50px; 
  background: #f6f6f6; 
  border-radius: 5px; 
  padding: 10px 0 15px 15px;
}

/*.breadcrumb li{
  text-transform:uppercase;
}

.breadcrumb > .active{
  text-transform:uppercase;
}

.breadcrumb > a:hover {
 color:#00418A;    
}

/*detail information*/
.article-info{
  font-family: 'Muli', sans-serif;
  font-size:14px;
}

/*Plugin See More*/

/*seemore*/
.seemore{
  margin-top:15px;
}

/* ==========================================================================
   PARIDAD VISUAL CON PRODUCCIÓN (Bootstrap 3 -> Bootstrap 5 / Joomla 6)
   Pegar al FINAL de media/templates/site/ciudadfutura/css/custom.css
   ========================================================================== */

/* --- Base tipográfica de Bootstrap 3 --- */
body { font-size: 14px; line-height: 1.42857; color: #333; }
h1, h2, h3 { margin-top: 20px; margin-bottom: 10px; line-height: 1.1; }
h4, h5, h6 { margin-top: 10px; margin-bottom: 10px; line-height: 1.1; }
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }
p { margin: 0 0 10px; line-height: 1.42857; }
a { text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* --- Botones con el degradado de bootstrap-theme --- */
.btn { font-size: 14px; line-height: 20px; border-radius: 4px; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075); }
.btn:hover, .btn:focus { text-decoration: none; }
.btn-primary, #news .btn-secondary {
  color: #fff; background-color: #337ab7; border: 1px solid #245580;
  background-image: linear-gradient(to bottom, #337ab7 0, #265a88 100%); }
.btn-primary:hover, .btn-primary:focus, #news .btn-secondary:hover, #news .btn-secondary:focus {
  color: #fff; background-color: #265a88; border-color: #245580; background-image: none; }
.btn-success {
  color: #fff; background-color: #5cb85c; border: 1px solid #3e8f3e;
  background-image: linear-gradient(to bottom, #5cb85c 0, #419641 100%); }
.btn-success:hover, .btn-success:focus {
  color: #fff; background-color: #419641; border-color: #3e8f3e; background-image: none; }

/* --- Barra superior (sin el solape que tiene producción) --- */
#bar-top { padding-left: 15px; padding-right: 15px; }
#button-top > .row { justify-content: flex-end; align-items: center; min-height: 54px; }
#bar-top #contact-us { order: 1 !important; width: auto; flex: 0 0 auto; margin-top: 0; }
#bar-top #contact-us p { margin-bottom: 0; }
#button-top > .row > div:not(#contact-us) { order: 2 !important; width: auto; flex: 0 0 auto; }
#button-top .d-flex.pt-2 { padding-top: 0 !important; }
#bar-top .btn::before { font-family: "Font Awesome 5 Free"; font-weight: 400; margin-right: 5px; }
#bar-top .btn:first-child::before { content: "\f075"; }
#bar-top .btn:last-child::before { content: "\f1cd"; }

/* --- Menú --- */
#custom-bootstrap-menu.navbar { padding: 0; background-color: #fff !important; }
#custom-bootstrap-menu .navbar-brand { margin: 0; padding: 0; white-space: normal; }
#custom-bootstrap-menu .navbar-brand p { margin: 0; }
#custom-bootstrap-menu .navbar-collapse { justify-content: flex-end; }
#custom-bootstrap-menu.navbar .navbar-nav > li > a {
  line-height: 20px; padding: 15px 15px 15px 22px; }
#custom-bootstrap-menu .navbar-nav > li > a:hover { text-decoration: none; }
#custom-bootstrap-menu .dropdown-item { white-space: normal; }

/* --- Slider principal: ancho completo y proporción de producción --- */
#ciudadFuturaSlider { margin: 0 -12px; }
#ciudadFuturaSlider .carousel-item img {
  width: 100%; aspect-ratio: 1438 / 694; max-height: 694px; min-height: 360px; object-fit: cover; }
#ciudadFuturaSlider .carousel-caption {
  top: 50%; bottom: auto; left: 8%; right: 8%; padding: 0; transform: translateY(-50%); text-align: center; }
#ciudadFuturaSlider .carousel-caption h1 {
  color: #fff; font-weight: 500; font-size: clamp(26px, 4.1vw, 56px); line-height: 1.15; margin: 0 0 16px; }
#ciudadFuturaSlider .carousel-caption h3 {
  color: #fff; font-weight: 600; font-size: clamp(15px, 2vw, 28px); line-height: 1.25; margin: 0 0 26px; }
#ciudadFuturaSlider .cf-cta {
  display: inline-block; padding: 12px 20px; border-radius: 12px; background: #bbd93d;
  color: #fff; font-size: 17px; font-weight: 700; line-height: 1.2; }
#ciudadFuturaSlider .cf-cta:hover { background: #a6c42f; color: #fff; text-decoration: none; }

/* --- Servicios: flechas moradas y botones alineados --- */
#carousel-1 { padding-bottom: 40px; }
#carousel-1 h3 { hyphens: auto; overflow-wrap: break-word; font-size: clamp(16px, 1.6vw, 24px); margin-bottom: 24px; }
#carousel-1 .row > [class*="col-"] { display: flex; flex-direction: column; }
#carousel-1 .row > [class*="col-"] br { display: none; }
#carousel-1 .row > [class*="col-"] .btn { margin-top: auto; }
#carousel-1 .carousel-control-prev, #carousel-1 .carousel-control-next { width: 5%; opacity: 1; }
#carousel-1 .carousel-control-prev { left: 3%; }
#carousel-1 .carousel-control-next { right: 3%; }
#carousel-1 .carousel-control-prev::before, #carousel-1 .carousel-control-next::before {
  font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 22px; color: #cd7bfe; }
#carousel-1 .carousel-control-prev::before { content: "\f053"; }
#carousel-1 .carousel-control-next::before { content: "\f054"; }

/* --- Noticias: tarjetas como las de producción --- */
#news .mod-articles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px; list-style: none; margin: 0; padding: 0; }
#news .mod-articles-grid > li { min-width: 0; margin: 0; padding: 12px 14px; background: #fff;
  border: 1px solid #ddd; border-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.075); }
#news .mod-articles-item, #news .mod-articles-item-content { display: flex; flex-direction: column; height: 100%; }
#news .mod-articles-title { font-size: 24px; line-height: 1.1; margin: 20px 0 10px; }
#news .mod-articles-item img { display: block; width: 100%; height: auto; margin: 10px 0 16px; }
#news p.readmore { margin: auto 0 0; padding-top: 16px; }
#news p.readmore .btn { display: block; width: 100%; }
#news p.readmore .icon-chevron-right { display: none; }

/* --- Pie --- */
#bar-footer h3 { font-weight: 500; }
#bar-footer h4 { font-weight: 500; }

/* --- Tableta y móvil --- */
@media (max-width: 991.98px) {
  #custom-bootstrap-menu .navbar-toggler { margin-left: auto; margin-right: 56px; }
  #carousel-1 .carousel-control-prev { left: 0; }
  #carousel-1 .carousel-control-next { right: 0; }
  #news .mod-articles-grid { grid-template-columns: minmax(0, 1fr); }
  #button-top > .row { justify-content: center; }
  #bar-top #contact-us, #button-top > .row > div:not(#contact-us) { width: 100%; }
  #button-top > .row > div:not(#contact-us) .d-flex { justify-content: center !important; }
  #bar-top #contact-us p { text-align: center; }
  #bar-top { height: auto; padding-bottom: 10px; }
}

/* --- Migas de pan --- */
.breadcrumb .divider { margin: 0 6px; }

/* --- Títulos en móvil, igual que las demás secciones --- */
@media (max-width: 480px) {
  #title-4 h1 { font-size: 22px; }
}
