/*--------------------------------------------------------------
Basic
--------------------------------------------------------------*/
body {
    background: #ffffff;
    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: #CC0000;
    text-decoration: none;
}

a:hover{
    color: #CC0000;
    text-decoration: underline;
}

p {
    margin: 0 0 2em 0;
}

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

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;
}

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;
}

.btn {
    text-decoration: none !important;
}

.fb-ic {
    color: #3b5998 !important;
}

.tw-ic {
    color: #55acee !important;
}

.whatsapp-ic {
    color: #25d366 !important;
}

.form-switch .form-check-input {
    width: 1.8em;
    margin-left: -2.2em;
}

.form-check-input:checked {
    background-color: #F2CF8C;
    border-color: #F2CF8C;
}

.form-switch label {
    font-size: 15px;
    font-weight: bolder;
}

/*--------------------------------------------------------------
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;
}

.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;
    }
}

#static-header a:hover {
    text-decoration: none;
}

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

body {
    background-color: #E8E7E3;
}

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

.fondo-portada {
    background-image: url("../img/fondo-portada.png");
    background-size: 100%;
    background-position-y: 50px;
    background-repeat: no-repeat;
}

.breadcrumb {
    font-size: 15px;
}

.btn {
    border-radius: 100rem;
}

.modal {
    z-index: 3001;
}

.titulos-portada {
    padding: 4rem 0 0 2rem;
}

.titulos-portada h3,
.caja-buscador h1 {
    font-weight: normal;
    margin-bottom: -.7rem;
}

.titulos-portada h1 {
    font-weight: normal;
}

.buscador-portada {
    background-color: #F2CF8C;
    border-radius: 100rem;
    padding: 1rem;
}

.buscador-portada input {
    background-color: transparent;
    border: none;
    border-radius: 100rem;
    margin-right: 1rem;
}

.buscador-portada input::placeholder {
    color: #333 !important;
}

.buscador-portada input:focus {
    background-color: #F8DBA2;
    border: none;
    box-shadow: none;
}

.buscador-portada .btn {
    border-radius: 100rem;
    height: 50px;
    width: 52px;
}

.cajas {
    margin: -9rem 0 3rem 0;
}

.cajas button {
    background-color: white;
    border: none;
    border-radius: 30px;
    box-shadow: 15px 15px 20px rgba(0, 0, 0, .05);
    color: inherit;
    display: block;
    font-family: "Roboto Slab", serif;
    font-size: 1.1rem;
    font-weight: bolder;
    margin: 20px;
    height: 150px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: 0.3s;
    width: 173px;
}

.cajas button span {
    line-height: 1.2rem;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}

.cajas button i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    opacity: 0;
    transition: 0.3s;
}

.cajas button:hover {
    background-color: #F2CF8C;
    transition: 0.3s;
}

.cajas button:hover i {
    opacity: 1;
    top: 30%;
    transition: 0.3s;
}

.side-nav {
    background-color: white;
    box-shadow: -5px 0 5px rgba(0,0,0,.1);
    height: 100%;
    position: fixed;
    right: -320px;
    top: 65px;
    transition: 0.3s;
    width: 300px;
}

.side-nav.activo {
    right: 0;
    transition: 0.3s;
}

.side-nav .list-group-item {
    font-family: "Roboto Slab", serif;
}

.caja {
    background-color: white;
    border: none;
    border-radius: 30px;
    box-shadow: 15px 15px 20px rgba(0, 0, 0, .05);
    padding: 2rem;
}

.caja-buscador {
    margin-top: 1rem;
}

.caja-buscador h1,
.caja-buscador h3 {
    font-weight: normal;
    margin: 0 2rem;
}

.caja-buscador h1 {
    font-weight: normal;
    margin-bottom: -.5rem;
}

.caja-buscador h3 {
    font-size: 1.3rem;
}

.form-select {
    background-color: transparent !important;
    border: 3px solid #333;
    margin-top: 1rem;
}

.accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-width: none;
    margin-top: 1rem;
}

.accordion-item:first-of-type .accordion-button  {
    border-top-left-radius: 100rem;
    border-top-right-radius: 100rem;
}

.accordion-item:last-of-type .accordion-button.collapsed {
    border-bottom-right-radius: 100rem;
    border-bottom-left-radius: 100rem;
}

.accordion-button {
    border-radius: 100rem;
    padding: .5rem 1rem;
}

.accordion-button:not(.collapsed) {
    color: #CC0000;
    background-color: #F2CF8C;
    box-shadow: none;
}

.accordion-button::after {
    background-image: url("../img/flecha-filtro.svg");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("../img/flecha-filtro.svg");
}

.accordion a {
    color: #333;
    font-family: "Roboto Slab", serif;
}

.accordion a:hover,
.accordion .activo a {
    color: #CC0000;
    font-weight: bold;
}

.resultados .caja h2,
.detalle .caja h2 {
    font-size: 1.5rem;
}

.resultados .caja p,
.detalle .caja p {
    font-family: "Roboto Slab", serif;
    margin-bottom: 1rem;
}

.caja .btn {
    font-family: "Roboto Slab", serif;
}

.resultados .caja small,
.detalle .caja small {
    padding-right: 1rem;
}

.resultados .caja .btn,
.detalle .caja .btn {
    background-color: #F2CF8C;
    display: block;
    font-size: .8rem;
    padding: .1rem 1rem;
    text-align: center;
}

.detalle .caja .btn {
    display: inline-block !important;
}

.resultados .caja button {
    width: 100%;
}

.resultados .caja .btn:hover,
.detalle .caja .btn:hover {
    background-color: #F8DBA2;
}

.resultados div.paginate li {
    display: inline-block;
    background: white;
    padding: 5px;
    width: 30px;
    border-radius: 5px;
    font-weight: 400;
    text-align: center;
}
.resultados div.paginate li.active {
    background: #f2cf8c
}

.list-group-item .btn {
    background-color: #F2CF8C;
    font-size: .8rem;
    padding: .1rem 1rem;
    text-align: center;
}


.list-group-item .btn i {
    color: #111;
}

.fecha-autor {
    font-family: "Roboto Slab", serif;
    margin-bottom: .6rem;
}

.fecha-autor i,
.list-group-item i {
    color: #F2CF8C;
}

.btn-compartir {
    background-color: #dc3545;
    border: none;
    border-radius: 50%;
    color: white;
    display: inline-block;
    height: 35px;
    padding: 2px 0 0 0;
    position: relative;
    text-align: center;
    transition: 0.3s;
    vertical-align: middle;
    width: 35px !important;
}

.btn-compartir:hover {
    background-color: #b02a37;
    color: white;
    transition: 0.3s;
}


@media only screen and (min-width: 992px){
    .wrapper {
        padding: 85px 0 0 0;
    }

    .fondo-portada {
        background-position-y: 60px;
    }

    .btn-filtros {
        display: none !important;
    }

    .filtros {
        display: block !important;
    }

    .accordion,
    .form-select {
        margin-top: 0;
    }
}

@media only screen and (min-width: 1400px){
    .titulos-portada {
        padding: 5rem 0 0 2rem;
    }

    .cajas {
        margin: -7rem 0 3rem 0;
    }
}

/* MEDIA QUERYS */
/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199px) {

    .cajas {
        margin: 0;
    }

    .side-nav {
        top: 60px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991px) {

    .fondo-portada {
        background-image: none;
    }

    .titulos-portada {
        padding: 0 1rem;
    }

    .caja-sm {
        background-color: white;
        border: none;
        border-radius: 30px;
        box-shadow: 15px 15px 20px rgba(0, 0, 0, .05);
        margin: 1rem 0;
        padding: 1rem;
    }

    .side-nav {
        top: 50px;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767px) {

    h1 {
        font-size: 1.4em;
    }

    .titulos-portada h3 {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .cajas button {
        margin: 10px;
        width: 44%;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {

    .oculta-xs {
        display: none !important;
    }
}