/*comun blog*/
section #blog-dcha {
    border-top: 12px solid #5a6221;
    padding-top: 20px;
}
section #blog-dcha #buscador-blog ~ * {
    padding-left: 15px;
    margin-top: 30px;
}
section #blog-dcha #buscador-blog .input-group .form-control {
    border-right: 0;
}
section #blog-dcha #buscador-blog .input-group .input-group-addon {
    border: 1px solid #574545;
    border-left: 0;
    background-color: transparent;
    color: #574545;
}
section #blog-dcha #buscador-blog .input-group .input-group-addon:hover {
   color: #5a6221;
}
section #blog-dcha ul {
    list-style-type: none;
    padding-left: 0;
}
section #blog-dcha ul li {
    padding: 10px 0;
}
section #blog-dcha ul li a {
    color: #a5a7a8;
}
section #blog-dcha ul li a:hover {
    color: #59621d;
}
section #blog-dcha .ul-esp li a {
    padding-left: 15px;
    font-weight: 500;
    position: relative;
    display: inline-block;
}
section #blog-dcha .ul-esp li a:before {
    content: '';
    width: 13px;
    height: 13px;
    background-image: url('../../../../images/iconos/angle-right-gray.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    top: 5px;
    left: 0;
}
section #blog-dcha .ul-esp li a:hover {
    font-weight: 700;
}
section #blog-dcha .ul-esp li a:hover:before {
    background-image: url('../../../../images/iconos/angle-right-corp.svg');
}
section #blog-dcha #archivo li > ul {
    display: none;
    padding-left: 15px;
}
section #blog-dcha #archivo li.open > ul {
    display: block;
}
section #blog-dcha #archivo li.open > a:before {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    transform: rotate(90deg);
}
section #blog-dcha #recientes a {
    text-decoration: underline;
}
@media (min-width: 992px) {
    section > .flex {
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
    }
    section #blog-dcha {
        max-width: 262px;
    }
}
@media (max-width: 991px) {
    section > .flex {
        -webkit-flex-direction: column;
        flex-direction: column;
    }
    section #blog-dcha {
        margin-top: 30px;
    }
}



/*listado*/
section .section-tit4 {
    margin-top: 25px;
    line-height: 30px;
}
section .flex {
    margin-top: 80px;
}
section .section-tit4 + .flex {
    margin-top: 25px;
}
section #posts {
    margin-top: -7px;
}
section #posts article {
    padding: 7px;
}
section #paginador {
    margin-top: 48px;
    text-align: center;
}
section #paginador a {
    vertical-align: middle;
    display: inline-block;
}
section #paginador a + a {
    margin-left: 10px;
}
section #paginador .pag {
    min-width: 18px;
    padding: 1px;
    border-radius: 9px;
    line-height: 16px;
    text-align: center;
}
section #paginador .pag-act {
    background-color: #574545;
    color: white;
}
section #paginador .pag-fst,
section #paginador .pag-lst {
    width: 11px;
    height: 10px;
    background-image: url('../../../../images/iconos/angle-double-gray.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}
section #paginador .pag-fst:hover,
section #paginador .pag-lst:hover {
    background-image: url('../../../../images/iconos/angle-double-corp.svg');
}
section #paginador .pag-prv,
section #paginador .pag-nxt {
    width: 6px;
    height: 10px;
    background-image: url('../../../../images/iconos/angle-right-gray.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}
section #paginador .pag-prv:hover,
section #paginador .pag-nxt:hover {
    background-image: url('../../../../images/iconos/angle-right-corp.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}
section #paginador .pag-fst,
section #paginador .pag-prv {
    transform: rotate(180deg);
}

/*grid
    -ms-grid-row;           fila donde empieza
    grid-row-start          fila donde empieza
    -ms-grid-row-span       nº de filas que ocupa
    grid-row-end            fila donde termina (suma de las 2 anteriores)
    -ms-grid-column         columna donde empieza
    grid-column-start       columna donde empieza (igual que anterior)
    -ms-grid-column-span    nº de columnas que ocupa
    grid-column-end         columna donde termina (suma de las 2 anteriores)
*/
/*@supports (display: -ms-grid) or (display: grid) {*/
    @media (min-width: 1440px) {
        #posts.grid {
            display: -ms-grid;
            display: grid;
            -ms-grid-rows: repeat(auto-fill, 198px);
            grid-template-rows: repeat(auto-fill, 198px);
            -ms-grid-columns: 1fr 1fr 1fr;
            grid-template-columns: repeat(3, 1fr);
        }
        #posts.grid #post0 {
            -ms-grid-row: 1;
            grid-row-start: 1;
            -ms-grid-row-span: 2;
            grid-row-end: 3;
            -ms-grid-column: 1;
            grid-column-start: 1;
            -ms-grid-column-span: 2;
            grid-column-end: 3;
        }
        #posts.grid #post5 {
            -ms-grid-row: 3;
            grid-row-start: 3;
            -ms-grid-row-span: 2;
            grid-row-end: 5;
            -ms-grid-column: 2;
            grid-column-start: 2;
            -ms-grid-column-span: 2;
            grid-column-end: 4;
        }
        #posts.grid #post6 {
            -ms-grid-row: 5;
            grid-row-start: 5;
            -ms-grid-row-span: 2;
            grid-row-end: 7;
            -ms-grid-column: 1;
            grid-column-start: 1;
            -ms-grid-column-span: 2;
            grid-column-end: 3;
        }
        #posts.grid .post img {
            height: 184px;
            object-fit: cover;
            object-position: center;
        }
        #posts.grid #post0,
        #posts.grid #post5,
        #posts.grid #post6 {
            font-size: 20px;
        }
        #posts.grid #post0 img,
        #posts.grid #post5 img,
        #posts.grid #post6 img {
            height: 382px;
        }
        #posts.grid #post0 .post-tit,
        #posts.grid #post5 .post-tit,
        #posts.grid #post6 .post-tit {
            font-size: 30px;
            font-weight: 500;
        }
    }
/*}*/
@media (min-width: 1200px) and (max-width: 1439px) {
    #posts.grid {
        width: 694px;
    }
}
@media (min-width: 768px) and (max-width: 1439px) {
    #posts.grid {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-justify-content: center;
        justify-content: center;
    }
    #posts.grid article {
        width: 50%;
    }
    #posts.grid #post0,
    #posts.grid #post5,
    #posts.grid #post6 {
        width: 100%;
    }
}
@media (min-width: 992px) {
    section #blog-izda {
        width: calc(100% - 322px);
        max-width: 1027px;
    }
}
