/* CSS Document */

:root {
    /*-- paleta de colores ----*/
    --telemadrid-primary-red: #f6303e;
    --telemadrid-primary-red-muy-claro: #FDD5D8;
    --telemadrid-primary-pink: #B1105C;
    --telemadrid-primary-orange: #FBB833;
    --telemadrid-primary-verde: #22C19B;
    --telemadrid-primary-dark-blue: #103EDA;
    --telemadrid-primary-body-color: #35342F; /* h1 */
    --telemadrid-primary-gris-oscuro: #3B3D40; /* h2*/
    --telemadrid-primary-gris-muy-claro: #F4F4F4; /* Fondo barra breadcrum, fondo cards*/
}

/* 
-----------------------------------
   Cabecera e imagen de Telemadrid
-----------------------------------
*/
@media only screen and (min-width: 768px) {
    #LogoYTitulo {        
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
    }
}
/* 
  ------------------
       Colors
  ------------------
*/
.bg-primary-red {
    background-color: var(--telemadrid-primary-red);
}

.bg-primary-gris-muy-claro {
    background-color: var(--telemadrid-primary-gris-muy-claro);
}

.text-red {
    color: var(--telemadrid-primary-red);
}

.text-gris-oscuro {
    color: var(--telemadrid-primary-gris-oscuro);
}

.color-fecha-actualizacion {
    color: orange;
}

.color-fecha-publicado {
    color: green;
}
/* -------------- 
    Font sizes  
-----------------*/
.h1, h1 {
}

.h2, h2 {
    font-size: 1.563rem; /*-- 25px --*/
    font-family: Cambria, 'Hoefler Text', 'Liberation Serif', Times, 'Times New Roman', 'serif'
}

.h3, h3 {
    font-size: 1.563rem; /*-- 25px --*/
    font-family: Cambria, 'Hoefler Text', 'Liberation Serif', Times, 'Times New Roman', 'serif'
}

.h4, h4 {
    font-size: 1.125rem; /*-- 18px --*/
}

.h5, h5 {
    font-size: 1rem; /*-- 16px --*/
}

.h6, h6 {
    font-size: 0.875rem; /*-- 14px --*/
}
.font-size-12px {
    font-size: 0.75rem;
}

/* -------------- 
    Image sizes  
-----------------*/

.img-xs {
    width: 1.7rem; /* for icons */
}

.img-md {
    width: 3rem;
}

.img-lg {
    width: 6rem;
}

.img-xl {
    width: 12rem;
}

.img-xxl {
    width: 16rem; /* for logo web */
}
/*
----------------------
     Cabecera
-------------------------
*/
@media only screen and (min-width: 1200px) {
    #LogoYTitulo {
        border-bottom: 1px solid white;
    }
}
/* ----------------------
      Menu principal
------------------------- */

#Menu2 {
    border-left: 1px solid var(--telemadrid-primary-red);
    border-right: 1px solid var(--telemadrid-primary-red);
}

@media only screen and (min-width: 1200px) {
    #Menu2 {
        border-bottom: 1px solid white;
    }
}

#Menu2 nav.navbar {
    margin: 0;
    padding: 0;
}

#Menu2 ul.navbar-nav {
    text-align: center;
    border-top: 1px solid var(--telemadrid-primary-red);
}

#Menu2 li.nav-item {
    width: 100%;
    background-color: var(--telemadrid-primary-red);
}

#Menu2 li.nav-item.active {
        background-color: white;
}

#Menu2 li.active a.nav-link.active {
    color: var(--telemadrid-primary-red);
    font-weight: 600;
}

#Menu2 li.nav-item a.active:not(.dropdown-toggle) {
    background-color: white;
    color: var(--telemadrid-primary-red);
    font-weight: 600;
}


#Menu2 a.nav-link {
    color: white;
    font-weight: 600;
}

#Menu2 .dropdown-toggle {
    white-space: normal;
}

    #Menu2 .dropdown-toggle::after {
        display: none;
    }


#Menu2 .navbar-light .navbar-toggler {
    border-color: transparent;
}

#Menu2 .navbar-toggler-icon {
    background-image: none;
}

    #Menu2 .navbar-toggler-icon i {
        color: var(--telemadrid-primary-red);
        font-size: 2rem;
    }

button.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem var(--telemadrid-primary-red);
}
/* -----------------------------
    Breadcrumb and Search
--------------------------------
*/
@media only screen and (max-width: 1200px) {
    #breadcrumbAndSearch {
        border-left: 1px solid var(--telemadrid-primary-red);
        border-right: 1px solid var(--telemadrid-primary-red);
    }
}

#breadcrumbAndSearch {
    /*border: 1px solid var(--telemadrid-primary-red);*/
    background-color: var(--telemadrid-primary-gris-muy-claro);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
}

#breadcrumb li a {
    color: var(--telemadrid-primary-red);
}

#breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: var(--bs-breadcrumb-divider, ">");
}

#breadcrumb li.breadcrumb-item.active {
    font-weight: 600;
    color: var(--telemadrid-primary-gris-oscuro);
}
/* 
   ------------------------
    toolsForAccesibility
   ------------------------
*/
#toolsForAccesibility {
}
/* 
   -----------------------
    Menu aside 
   -----------------------
*/
#asideMenu ul.navbar-nav {
    width:100%;
}
#asideMenu.navbar .navbar-nav .nav-item .nav-link {
    color: var(--telemadrid-primary-gris-oscuro);
}

#asideMenu.navbar .navbar-nav .nav-item {
    border-bottom: 1px dashed var(--telemadrid-primary-red);
 
}

#asideMenu li.nav-item a.active {
    font-weight: 700;
}

#asideMenu li.nav-item:hover {
    background-color: var(--telemadrid-primary-red-muy-claro);
}

/* 
   -----------------------
    Menu en el footer 
   -----------------------
*/

#menuFooter.navbar .navbar-nav .nav-item .nav-link {
    padding: 0 0.5em;
    color: white;
}

#menuFooter.navbar .navbar-nav .nav-item:not(:last-child) .nav-link {
    border-right: 2px solid #ffffff;
}


/* -------------------
    footer menu
--------------------*/

#footer-menu li a {
    text-decoration: underline;
}

/* -------------------
    home Options
---------------------*/
.homeOption {
    border-left: 8px solid var(--telemadrid-primary-red);
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--telemadrid-primary-gris-muy-claro);
    border-right: 0.5rem solid #fff;
    font-weight: bold;
}

    .homeOption a {
        color: var(--telemadrid-primary-body-color);
        text-decoration: none;
    }

        .homeOption a:hover {
            color: var(--telemadrid-primary-red);
        }
/* -------------------
    Cards
--------------------*/

header h2 {
    border-left: 10px solid var(--telemadrid-primary-pink);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

header h3 {
    border-left: 6px solid var(--telemadrid-primary-orange);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

header h4 {
    border-left: 4px solid var(--telemadrid-primary-dark-blue);
    padding-left: 1.5rem;
    margin-top: 1.5rem;
}

.card a {
    color: var(--telemadrid-primary-red);
}

/* -------------------
    Boton ir al top
--------------------*/
#goToTopOfThePage {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    cursor: pointer;
    border-radius: 25px;
}

    #goToTopOfThePage:hover {
        background-color: #555;
    }

/* --------------------------
   Tabla busquedas 
   ------------------- */
#tableResultsSearch a {
    color: var(--telemadrid-primary-red);
    font-weight: bold;
}

/* ------------------------
    Form
    -----------------------
*/
.input_error {
    color: var(--telemadrid-primary-red);
}

#rbl_mio label{
    display:inline!important;
}
/* ------------------
    Accordion
   ------------------
*/
.accordion-button:not(.collapsed) {
    background-color: var(--telemadrid-primary-gris-muy-claro) !important;
    box-shadow: none !important;
}
.accordion-button a {
    color: var(--telemadrid-primary-red) !important;
}
/* ------------------
    REcaptcha
   ------------------
*/
#ReCaptchContainer {
    transform: scale(0.84);
    transform-origin: 0 0;
}
/* --------------------------
   Lista de contenido 
   ------------------- */

#myUL .caret::before {
    /* 
  content: "\25B6";
  color: black;
  display: inline-block;
  margin-right: 6px;
  */
}

#myUL ul, #myUL li {
    list-style-type: none;
}

#myUL .contenido-titulo {
    margin-top: 1.2rem;
}

#myUL .contenido-grupo-encabezado {
    font-weight: 500;
}

#myUL a[href$=".pdf"]::after {    
    content: url(/assets/images/fichero_pdf.svg);
    width:2rem;
    display: inline-block;
    margin-left: 6px;
}

#myUL a[href$=".xlsx"]::after {
    content: url(/assets/images/fichero_xlsx.svg);
    width: 1.25rem;
    display: inline-block;
    margin-left: 6px;
}

#myUL a[href$=".docx"]::after {
    content: url(/assets/images/fichero_docx.svg);
    width: 1.25rem;
    display: inline-block;
    margin-left: 6px;
}

#myUL a.contenido-titulo-enlace {
    color:#797979;
    cursor:pointer;
    text-decoration:underline;
}
