@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --color-principal: #ce403f;
    --color-principal-hover: #963737;
    --color-bkg-container: #fafafa;
    --color-text-title: #666666;
}

body {
    -webkit-font-smoothing: antialiased !important;
}

/* quitar underline con el hover */
a:hover {
    text-decoration: none !important;
}

/* espacios en blanco entre bloques*/
#content > .section:first-child {
    padding: 0 0;
}

/*section section{
    padding: 2.5em 0;
}*/

/* menu pegado al bloque slider*/

.slider-front-landing {
    padding: 0 !important;
}

/* botones App ios android GRATIS*/

.btn.btn--primary.type--uppercase > .label {
    position: absolute;
    padding: 7px;
}

/* ajustar tarjetas noticias*/

.article-card > img {
    width: 100%;
    height: 17em;
    object-fit: cover;
}

.noticias{
    position: absolute;
    left: 0px;
    top: 0px;
}

.view-content-custom-paginas-interiores-noticias{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* region menú primario
.region-primary-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .5em;
}*/

/* mostrar barra admin y los enlaces del menu*/
.clearfix {
    overflow: visible !important;
}


/* tamaño logo slider*/
.logo__slider {
    max-width: 100px;
}

/* 4 botones home  */
.botones-home svg {
    padding: 1em;
    width: 30%;
    height: 100%;
}

.botones-home-pequeño svg {
    padding: 1em;
    width: 40%;
    height: 100%;
}

@media (max-width: 767px){
    .botones-home svg {
        width: 15%;
    }
}

/*======== sidebar ========*/
.sidebar-toools {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.sidebar-bloque-noticias, .sidebar-bloque-eventos, .sidebar-app-ayuntamiento {
    margin: 0 auto;
    width: 100%;
}

.sidebar-title {
    text-transform: capitalize;
    color: #111;
    margin: 1.5rem 0 0;

}

.sidebar-title > h1 {
    font-size: 1.15rem;
    font-weight: 600;
}

.sidebar-ultima-noticia-container, .sidebar-ultimo-evento-container {
    height: 9rem;
    max-width: 100%;
    background-size: cover !important;
    background-position: center center !important;
    display: flex;
    align-items: flex-end;
    margin: 1rem 0 0;
}

.sidebar-ultima-noticia, .sidebar-ultimo-evento {
    width: auto;
    background: rgba(0, 0, 0, 0.65);
    padding: 0.25rem 1rem;
    max-width: 100%;
}

.sidebar-ultima-noticia a, .sidebar-ultimo-evento a {
    text-decoration: none;
    text-transform: uppercase;
}

.sidebar-ultima-noticia a h2, .sidebar-ultimo-evento a h2 {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    padding: 0.5rem;
    margin: 0;
    text-shadow: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sidebar-ultima-noticia a span, .sidebar-ultimo-evento a span {
    font-weight: 600;
    font-size: 0.75rem;
    border: none;
    padding: 0.5rem;
    margin: 0;
    color: #fff;
    text-transform: initial;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-ultima-noticia:hover a h2, .sidebar-ultimo-evento:hover a h2, .sidebar-ultima-noticia:hover a span, .sidebar-ultimo-evento:hover a span {
    color: mediumaquamarine;
}


#block-sidebartooolsbanners {
    background-color: transparent !important;
    border: none;
    padding: 0;
}

#app-sidebar-botones {
    display: flex;
    flex-direction: row;
    margin: 1rem 0;
    flex-wrap: wrap;
}

#app-sidebar-botones > a > img {
    max-width: 160px;
    margin: 0 auto;
}

#app-sidebar-botones > a > img {
    max-width: 160px;
    margin: 0 auto;
}
@media screen and (max-width: 768px) {
    .feature.feature-7.boxed.imagebg {
        margin-bottom: 0;
    }
    .center-act{
        text-align: center !important;
    }
}
@media screen and (max-width: 991px) {

    #app-sidebar-botones {
        justify-content: space-around;
    }

    #app-sidebar-botones > a > img {
        max-width: 200px;
    }

    .section-w-sidebar {
        max-width: 100%;
        margin-left: 0;
    }

    #sidebar-first {
        width: 100% !important;
        margin: 1rem 0;
    }

    .layout-one-sidebar .main-content {
        width: 100%;
        margin: 0;
    }

    .sidebar-ultima-noticia, .sidebar-ultimo-evento {
        width: auto;
        background: rgba(0, 0, 0, 0.65);
        padding: 0.25rem 1rem;
    }

}

@media screen and (max-width: 500px) {
    #app-sidebar-botones > a > img {
        max-width: 210px;
    }
}


.botones-slider{
    padding-top: 0 !important;
    margin-top: -90px !important;
    padding-bottom: 0 !important;
}


/* Botones Interfaz */
.btn--primary, .btn--primary:visited{
    background: var(--color-principal) !important;
    border-color: var(--color-principal) !important;
}

.label:not([class*='bg--']){
    background: var(--color-principal-hover) !important;
}

hr.short{
    border-color: var(--color-principal) !important;
}
.color--primario{
    color: var(--color-principal) !important;
}

.imageblock > .container, .imageblock > div[class*='col-']:not(.imageblock__content){
    padding-top: 5.428571em;
    padding-bottom: 5.428571em;
}

.datos-geo{
    font-size: 1em;
    line-height: 1.85714286em;
    font-weight: 600;
    color: #252525;
    font-variant-ligatures: common-ligatures;
}

.datos-geo-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: bold;
}

.lead:not(:last-child) {
    margin-bottom: 0.368421em;
}


.fila-btn-gallery{
    display:none;
}


.tam-geo div:nth-child(2) {
    height: 600px !important;
}

/*taxonomias*/
.posirela{
    position: relative !important;
}
.view-taxonomy-term .views-row {
    width: 30%;
    margin: 1.5%;
    height: 20em;
    object-fit: cover;
}
.view-taxonomy-term .view-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
@media screen and (max-width : 991px) {
    .view-taxonomy-term .views-row {
        width: 47%;
    }
}
@media screen and (max-width : 574px) {
    .view-taxonomy-term .views-row {
        width: 90%;
    }
}

.blog-article-wide {
    border-bottom: 1px solid #ececec;
    margin-bottom: 0.71428571em;
}

section.space--xs, footer.space--xs {
    padding-top: 2.714286em;
    padding-bottom: 2.714286em;
}
.article__title{
    margin-bottom: 20px !important;
}


/*taxonomias*/
.fila-btn-gallery{
    display:none;
}
.posirela{
    position: relative !important;
}
.view-taxonomy-term .views-row {
    width: 30%;
    margin: 1.5%;
    height: 20em;
    object-fit: cover;
}
.view-taxonomy-term .view-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
@media screen and (max-width : 991px) {
    .view-taxonomy-term .views-row {
        width: 47%;
    }
}
@media screen and (max-width : 574px) {
    .view-taxonomy-term .views-row {
        width: 90%;
    }
}

.visually-hidden{
    position: absolute;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
    font-size:2em;
    display:block;
}
.visually-hidden:focus{
    position:static;
    width:auto;
    height:auto;
}
.blog-article-wide {
    border-bottom: 1px solid #ececec;
    margin-bottom: 0.71428571em;
}

section.space--xs, footer.space--xs {
    padding-top: 2.714286em;
    padding-bottom: 2.714286em;
}

.masonry-filter-holder:not(.masonry-filters--horizontal) .masonry__filters ul li.active {
    color: var(--color-principal) !important;
}

.masonry-filter-holder:not(.masonry-filters--horizontal) .masonry__filters ul li:hover {
    color: var(--color-principal) !important;
}

li.pageritem.pageritem--next span {
    color: var(--color-principal);
}
li.pageritem.pageritem--previous span {
    color: var(--color-principal);
}

.masonry-filter-holder:not(.masonry-filters--horizontal) .masonry__filters ul li:not(:last-child) {
    padding-bottom: 0.92857143em;
    margin-bottom: 0 !important;
}
#block-bloquemeteo .content{
    justify-content: flex-end;
}


/* Fix Slider Responsive*/
section.slider[class*='height-'] .slides .flickity-slider > li {
    height: 60vh !important;
}

/* Fix encabezado movil
@media screen and (max-width : 991px) {
    .region.region-primary-menu {
        justify-content: flex-end;
    }
}*/
