/*--------------------------------------------------------------
Basic
--------------------------------------------------------------*/
body {
    height:100%;
}

body, input, select, textarea {
    color: #333;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
    /* font-weight: 300; */
    line-height: 1.65;
}

em, i {
    font-style: italic;
}

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

a:hover{
    color: #c00;
}

p {
    margin: 0 0 2em 0;
}

h1, h2, h3, h4, h5, h6 {
    color: #3d4449;
    font-family: "Roboto Slab", serif;
    /* line-height: 1.4; */
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: inherit;
    text-decoration: none;
}

h6 a {
    color: #C00;
}

h1 {
    color: #cc0000;
    font-size: 2.5em;
    margin: 0 0 0.5em 0;
    /* line-height: 1.3; */
}

@media screen and (max-width: 736px) {
    h1 {
        font-size: 2em;
        /* line-height: 1.4; */
    }
    h2 {
        font-size: 1.5em;
    }
}

blockquote {
    border-left: solid 3px rgba(210, 215, 217, 0.75);
    font-style: italic;
    margin: 0 0 2em 0;
    padding: 0.5em 0 0.5em 2em;
}

code {
    background: rgba(230, 235, 237, 0.25);
    border-radius: 0.375em;
    border: solid 1px rgba(210, 215, 217, 0.75);
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    margin: 0 0.25em;
    padding: 0.25em 0.65em;
}

pre {
    -webkit-overflow-scrolling: touch;
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    margin: 0 0 2em 0;
}

pre code {
    display: block;
    line-height: 1.75;
    padding: 1em 1.5em;
    overflow-x: auto;
}

.hr-set{
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 15px;
    margin-bottom: 15px;
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

/*--------------------------------------------------------------
Scroll Up
--------------------------------------------------------------*/
.cd-top {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 40px;
    right: 10px;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: rgba(232, 98, 86, 0.8) url(../img/cd-top-arrow.svg) no-repeat center 50%;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
    transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
}

.cd-top.cd-top--show,
.cd-top.cd-top--fade-out,
.cd-top:hover {
    -webkit-transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
    transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
}

.cd-top.cd-top--show {
    visibility: visible;
    opacity: 1;
    z-index: 1;
}

.cd-top.cd-top--fade-out {
    opacity: .5;
}

.cd-top:hover {
    background-color: #e86256;
    opacity: 1;
}

@media only screen and (min-width: 768px) {
    .cd-top {
        right: 20px;
        bottom: 20px;
    }
}

@media only screen and (min-width: 1024px) {
    .cd-top {
        height: 60px;
        width: 60px;
        right: 30px;
        bottom: 30px;
    }
}

@media screen and (max-width: 480px) {

    .features article {
        -moz-flex-direction: row;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -moz-align-items: -moz-flex-start;
        -webkit-align-items: -webkit-flex-start;
        -ms-align-items: -ms-flex-start;
        align-items: flex-start;
    }

    .features article .icon {
        height: 6em;
        line-height: 6em;
        margin: 0 0 1.5em 0;
        width: 6em;
    }

    .features article h3 {
        font-size: 1.4em;
    }
}

/*--------------------------------------------------------------
Breadcrums
--------------------------------------------------------------*/
.breadcrumb {
    padding: 0rem 0rem;
    margin-bottom: 0rem;
    background-color: transparent;
}

.breadcrumb a {
    color: #c00;
}

.breadcrumb li:first-child {
    padding-right: 5px;
}

/*--------------------------------------------------------------
Custom CSS
--------------------------------------------------------------*/

/* X-Small devices (portrait phones, less than 576px)
// No media query for `xs` since this is the default in Bootstrap */

.wrapper {
    padding: 50px 0 0 0;
}

h1 {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 30px;
    font-weight: 500;
    color: white;
}

.tit {
    margin-top: -50px;
}

#Carrusel {
    position: relative;
    border-bottom: 3px solid #B02418;
}

#Carrusel h1,
#Carrusel h2 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

#Carrusel .breadcrumb a,
#Carrusel .breadcrumb-item.active,
#Carrusel .breadcrumb-item+.breadcrumb-item::before {
    color: white;
}

#Carrusel .bcn {
    left: 0;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
    position: absolute;
    right: 0;
    top: 1rem;
    z-index: 999;
}

#Carrusel .herramientas,
#Carrusel .herramientas a {
    color: white;
}

#Carrusel .item {
    min-height: 400px;
}

#Carrusel .item .overlay {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #272727;
    background: linear-gradient(0deg,rgba(39, 39, 39, .8) 0%, rgba(0, 0, 0, 0) 100%);
}

#Carrusel .container {
    position: relative;
    color: white;
}

#Carrusel .texto {
    margin-bottom: 20px;
    width: 100%;
}

#Carrusel h2 {
    color: white;
    font-size: 32px;
    line-height: 34px;
    margin-bottom: 0;
    text-transform: uppercase;
    width: 100%;
}

#Carrusel .bajada {
    display: none;
}

#Carrusel .boton a {
    border-radius: 100px;
    padding: 1rem;
    width: 180px;
}

#Carrusel .boton {
    margin-bottom: 50px;
}

#Carrusel .tipo,
#Detalle .tipo {
    background-color: rgba(0, 0, 0, .5);
    border: 1px solid white;
    border-radius: 6px;
    color: white;
    display: inline-block;
    padding: 0 10px;
}

#Carrusel .owl-dots {
    background-color: transparent;
    margin-top: -38px;
    padding-top: 10px;
    display: block;
    position: relative;
}

#Carrusel .owl-dots.disabled button {
    opacity: 0;
}

#Carrusel .owl-dot span,
#Contenidos .owl-dot span {
    background: transparent;
    border: 2px solid white;
}

#Carrusel .owl-dot.active span {
    background: white !important;
}

#Nav {
    background-color: #343434;
    padding: 20px 0;
}

#Nav .menu {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 0;
    margin-top: 10px;
}

#Nav .btn-filtros {
    display: block;
    text-align: center;
}

#Nav .btn-filtros .btn {
    color: white;
}

#Nav .filtros {
    display: none;
}

#Nav .filtros.activo {
    display: block;
}

#Nav .menu a {
    border-radius: 6px;
    color: white;
    font-size: 13px;
    height: auto;
    line-height: 18px;
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
}

#Nav .menu a:hover {
    background: #403D3D;
}

#Nav .menu a.activo,
#Nav .menu a.activo:hover {
    background: #dc3545;
}

#Nav .buscador {
    background: white;
    border: 2px solid #343434;
    border-radius: 6px;
    margin-top: 16px;
    padding: 5px;
}

#Nav .buscador .form-control,
#Nav .buscador .form-control:focus  {
    background-color: transparent;
    box-shadow: none;
}

#Contenidos .container {
    position: relative;
}

#Contenidos .rsbtn {
    position: absolute;
    right: 13px;
    top: 80px;
}

#Contenidos .owl-dots {
    text-align: center;
}

#Contenidos .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px 7px;
    background: #D6D6D6;
    display: block;
    -webkit-backface-visibility: visible;
    transition: opacity .2s ease;
    border-radius: 30px;
}

#Contenidos .owl-dots .owl-dot.active span {
    background: #869791;
}

#Contenidos h3 {
    color: #B02418;
    font-size: 20px;
}

#Contenidos .imagen,
#Grilla .imagen {
    border-radius: 10px;
    height: 185px;
    margin-bottom: 1rem;
    width: auto;
    transition: .2s;
}

#Contenidos h4,
#Grilla h4 {
    font-size: 18px;
}

#Contenidos a:hover .imagen,
#Grilla a:hover .imagen {
    opacity: .8;
    transition: .2s;
}

#Contenidos a:hover h4,
#Grilla a:hover h4 {
    color: #B02418;
    transition: .2s;
}

#Contenidos .owl-nav {
    position: absolute;
    top: 77px;
    width: 100%;
}

#Contenidos .owl-nav .disabled {
    opacity: 0.1;
    cursor: default;
}

#Contenidos .owl-nav .owl-prev {
    position: absolute;
    left: -20px;
}

#Contenidos .owl-nav .owl-next {
    position: absolute;
    right: -20px;
}

#Contenidos .owl-nav img {
    width: 12px;
}

#Contenidos .car-int {
    border-bottom: 1px solid #CCC;
    padding-bottom: 1rem;
}

#Contenidos .car-int:last-child {
    border-bottom: none;
    padding-bottom: 2rem;
}

#Grilla .container,
#Detalle .container,
#Error .container {
    padding-bottom: 2rem;
    padding-top: 2rem;
}

#Grilla h3 {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 30px;
}

#Grilla .grilla {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 16px;
}

#Grilla .grilla .item {
    margin-bottom: 30px;
}

#Detalle .img-thumbnail {
    margin-bottom: 2rem;
}

#Detalle h2 {
    color: #B02418;
}

#Detalle .autores {
    line-height: 20px;
}

#Detalle .btn {
    display: block;
    margin-bottom: 1rem;
}

#Error a {
    color: #C00;
}

#Error a:hover {
    text-decoration: underline;
}

.btn-volver {
    margin-top: -44px;
}

.btn {
    font-weight: 500;
    text-transform: uppercase;
}

.img-thumbnail {
    border: 1px solid black;
    padding: .5rem;
    width: 100%;
}

.imagen {
    border: 1px solid #333;
}

.bread-acce-portada {
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

#carPortada {
    display: none !important;
}


/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    #Carrusel .bcn {
        max-width: 540px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

    #Carrusel .bcn {
        max-width: 720px;
    }

    #Nav .menu {
        grid-template-columns: repeat(3, 1fr);
    }

    #Grilla .grilla {
        grid-template-columns: repeat(2, 1fr);
    }

    #Detalle .img-thumbnail {
        margin-bottom: 0;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    h1 {
        font-size: 38px;
    }

    .tit {
        margin-top: 0;
    }

    #Carrusel .bread-acce {
        background-color: rgba(0, 0, 0, .3);
        border: 1px solid rgba(0, 0, 0, .1);
        border-radius: 6px;
        color: white;
        margin-bottom: 10px;
        padding: 5px 10px;
    }

    #Carrusel .bcn {
        max-width: 960px;
    }

    #Carrusel .texto {
        margin-bottom: 50px;
        padding-right: 20px;
        width: 77%;
    }

    #Carrusel h2 {
        font-size: 39px;
        line-height: 42px;
        margin-bottom: 10px;
    }

    #Carrusel .bajada {
        display: block;
        font-size: 20px;
        line-height: 26px;
        width: 80%;
    }

    #Nav {
        padding: 20px 0 40px 0;
    }

    #Nav .menu {
        grid-template-columns: repeat(5, 1fr);
        grid-gap: 10px;
        margin-top: 0;
    }

    #Nav .menu a {
        font-size: 16px;
        height: 80px;
        line-height: 18px;
    }

    #Nav .btn-filtros {
        display: none;
    }

    #Nav .filtros {
        display: block;
    }

    #Nav .buscador {
        margin-top: 10px;
    }

    #Grilla .grilla {
        grid-template-columns: repeat(3, 1fr);
    }

    #Detalle .btn {
        display: inline-block;
        margin-bottom: 0;
    }

    .btn-volver {
        margin-top: 0;
    }

    #carPortadaM {
        display: none !important;
    }

    #carPortada {
        display: block !important;
    }
}

/* X-Large Header BCN (large desktops, 1100px and up) */
@media (min-width: 1101px) {

    .wrapper {
        padding: 60px 0 0 0;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    #Carrusel .bcn {
        max-width: 1140px;
    }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {

    h1 {
        font-size: 40px;
    }

    #Carrusel .bcn {
        max-width: 1320px;
    }

    #Carrusel .bajada {
        font-size: 18px;
    }
}
