/* Wallpaper ------------------------------------------------------------------------------------------- */
.Wallpaper {
    padding-top: 50px;
    padding-bottom: 50px;
    background: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)), url("../img/wallpaper.jpg");
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    background-repeat: no-repeat;
    font-size: 14px;
}

.Wallpaper h1 {
    color: white;
    font: 400 24px/32px Roboto, Helvetica Neue, sans-serif;
}

/* header ------------------------------------------------------- */
.header {
    height: auto;
    background-color: #fff;
    border-top: 5px solid #cb0017;
    border-bottom: 5px solid #cb0017;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #CB0017;
}

.logo, .vacio, .menu {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    text-align: center;
    font-size: 14px;
    min-width: 300px;
    width: auto;
}

.menu li {
    display: inline-block;
    margin-right: 20px;
}

.menu li:hover {
    color: #212121;
}

/* Buscador ------------------------------------------------------- */

input {
    width: 100%;
    outline: none;
    background-color: #F7F7F7;
    text-overflow: ellipsis;
    border: none;
    border-bottom: 1px solid black;
    padding: 5px;
}

#Button2, #buscar, #limpiar, #limpiar_1 {
    background-color: white;
    border-radius: 10px;
    border-color: #686868;
    padding: 5px;
    padding-right: 5px;
    padding-left: 5px;
    color: #686868;
}

.bloque {
    display: flex;
}

.select-wrap {
    border: 1px solid #777;
    border-radius: 4px;
    margin-bottom: 10px;
    padding: 0 5px 5px;
    width: 100%;
    background-color: #ebebeb;
}

.select-wrap label {
    font-size: 10px;
    text-transform: uppercase;
    color: #777;
    padding: 2px 8px 0;
}

details {
    padding: 15px;
    background-color: white;
    margin-bottom: 20px;
    color: #686868;
}

table {
    background: white;
    width: 100%;
    text-align: left;
    position: relative;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
}

th {
    color: #686868;
    background: white;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}

tr:nth-child(even) {
    background-color: #dddddd;
}

.mi_texto {
    text-align: left;
    width: 1200px;
}

.DL {
    text-align: center;
    width: 100px;
}

select {
    width: 100%;
    color: #686868;
}

.miRecord:hover {
    color: #cb0017;
    cursor: pointer;
}

#PDF_Ficha {
    color: deepskyblue;
}

#PDF_Ficha:hover {
    color: dodgerblue;
    cursor: pointer;
}

.col-xl h6 {
    color: #686868;
}

/* Catálogos ------------------------------------------------------- */
.catalogo {
    background-color: #F0F0F0;
    padding: 30px 30px;
}

.catalogo a {
    color: #CB0017;
    text-decoration: none;
}

.catalogo a:hover {
    color: #212121;
}

.imagen {
    border-bottom: 5px solid #CB0017;
    margin: 10px auto;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background: url("../img/Portada_Catalogo.png");
    background-size: cover;
}

/* Contacto ----------------------------------------------------------------------------------------------- */
.formularioContacto {
    background-color: #F0F0F0;
    padding: 16px;
}

.formularioContacto p {
    color: #686868;
    font-size: 14px;
}

.formularioContacto a {
    color: #cb0017;
    font-size: 14px;
}

.formularioContacto a:hover {
    color: #212121;
    transition: all .2s;
}

.bloqueformularioContacto {
    display: flex;
    width: 100%;
}

.bloqueformularioContacto input {
    padding: 10px;
}

.bloqueformularioContacto textarea {
    width: 100%;
    padding: 10px;
}

.btnEnviar {
    width: 85px;
    height: 35px;
    border-radius: 5px;
    margin-top: 20px;
    cursor: pointer;
    color: #686868;
}

/* Footer ------------------------------------------------------------------------------------------ */
.comunidadMadrid {
    border-top: 5px solid #cb0017;
    text-align: center;
    padding: 25px;
    color: #686868;
    font-size: 14px;
}

.comunidadMadrid p {
    font-size: 14px;
}

.foot {
    text-align: center;
}

.foot1 {
    color: #686868;
}

.foot2 {
    align-items: center;
}

.foot3 {
    align-items: center;
}

.foot1, .foot2, .foot3 {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    text-align: center;
    font-size: 14px;
    min-width: 300px;
    width: 33%;
}

.foot2 label span, .foot3 label span {
    color: #686868;
}

.foot2 label span:hover, .foot3 label span:hover {
    color: #cb0017;
    transition: all .2s;
}

/* Ficha HTML ------------------------------------------------------- */
p {
    font-size: 12px;
    color: #686868;
}

.titulo-ficha {
    padding: 100px;
    background: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)), url("../img/wallpaper.jpg");
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    background-repeat: no-repeat;
}

.titulo-ficha h1 {
    color: white;
    font: 400 24px/32px Roboto, Helvetica Neue, sans-serif;
}

.titulo-ficha li {
    list-style: none;
    cursor: pointer;
}

.titulo-ficha a {
    color: white;
}

.titulo-ficha a:hover {
    color: white;
}

p.justify {
    text-align: justify;
}

.ficha {
    display: flex;
    padding-top: 20px;
}

.ficha .linea {
    padding: 5px;
}

.drc {
    background-color: #EFEEEE;
    padding: 20px;
    font-size: 12px;
}

@media only screen and (max-width: 600px) {
    .header, .bloqueformularioContacto {
        display: block;
        text-align: center;
    }

    .bloque {
        display: block;
        text-align: left;
    }
}

.miRecord a:hover {
    color: #cb0017 !important;
}