menu,

#cssmenu ul,
#cssmenu ul li a {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "Monotype Corsiva";
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#cssmenu {
  width: 100%;
  color: #ffffff;
}
#cssmenu ul ul {
  display: none;
}
.center{
	text-align:center;
}
.align-right {
  float: right;
}
#cssmenu > ul > li > a {
 /*  padding: 15px 20px; */
  cursor: pointer;
  z-index: 2;
  text-decoration: none;
  color: #98847d;
  
}
#cssmenu > ul > li > a:hover,
#cssmenu > ul > li.active > a,
#cssmenu > ul > li.open > a {
  color: #A8A5A5;
  
}
#cssmenu > ul > li.open > a {
  border-bottom: 1px solid #98847d;
}
#cssmenu > ul > li:last-child > a,
#cssmenu > ul > li.last > a {
  border-bottom: 1px solid #98847d;
}
.holder {
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  right: 0;
}
.holder::after,
.holder::before {
  display: block;
  position: absolute;
  content: "";
  width: 6px;
  height: 6px;
  right: 20px;
  z-index: 10;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
.holder::after {
  top: 17px;
  border-top: 2px solid #674631;
  border-left: 2px solid #674631;
}
#cssmenu > ul > li > a:hover > span::after,
#cssmenu > ul > li.active > a > span::after,
#cssmenu > ul > li.open > a > span::after {
  border-color: #98847d;
}
.holder::before {
  top: 18px;
  border-top: 2px solid;
  border-left: 2px solid;
  border-top-color: #674631;
  border-left-color:#674631;
}
.holder::before:hover {
	color:#FFFFFF;
}
.holder::after:hover {
	color:#FFFFFF;
}
#cssmenu ul ul li a {
  cursor: pointer;
  padding: 10px 20px;
  z-index: 1;
  text-decoration: none;
  color: #4B2D1B;
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li.open > a,
#cssmenu ul ul li.active > a {
  color: #4B2D1B;
}
#cssmenu ul ul li:first-child > a {
  box-shadow: none;
}

#cssmenu ul ul ul li a {
  padding-left: 30px;
}
#cssmenu > ul > li > ul > li:last-child > a,
#cssmenu > ul > li > ul > li.last > a {
  border-bottom: 0;
}
#cssmenu > ul > li > ul > li.open:last-child > a,
#cssmenu > ul > li > ul > li.last.open > a {
  border-bottom: 1px solid #98847d;;
}
#cssmenu > ul > li > ul > li.open:last-child > ul > li:last-child > a {
  border-bottom: 0;
}

#cssmenu ul ul li.has-sub > a::after {
  display: block;
  position: absolute;
  content: "";
  width: 5px;
  height: 5px;
  right: 20px;
  z-index: 10;
  top: 11.5px;
  border-top: 2px solid #eeeeee;
  border-left: 2px solid #eeeeee;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
#cssmenu ul ul li.active > a::after,
#cssmenu ul ul li.open > a::after,
#cssmenu ul ul li > a:hover::after {
  border-color: #ffffff;
  color:white;
}
.lista-menu:hover{
	background-color: #98847d;
	color:white;
}
.enlace-menu:hover{
	color:white !important;
}
.enlace-menu{
	text-shadow: none;
}
.menu-item h4:hover{
	color:white;
}
.enlace-menu h4{
	padding:10px 20px;
	margin-bottom:0px;
}
.submenu-item{
	padding:0px !important;
}
.active{
	background-color: #98847d;
	color:white;
}
.enlace-menu.active{
	color:white;
}
.last-lista{
	  border-bottom: 1px solid !important;
}
/* VISOR DE FOTOS */

/*.royalSlider {
  width: 60%;
  height: 500px;
  -webkit-user-select: none;
  -moz-user-select: none;  
  user-select: none;
}*/

/* SLIDER */

/*#full-width-slider {
  width: 100%;
  color: #000;
}*/
.coloredBlock {
  padding: 12px;
  background: rgba(255,0,0,0.6);
  color: #FFF;
   width: 200px;
   left: 20%;
   top: 5%;
}
.infoBlock {
  position: absolute;
  top: 30px;
  right: 30px;
  left: auto;
  max-width: 25%;
  padding-bottom: 0;
  background: #FFF;
  background: rgba(255, 255, 255, 0.8);
  overflow: hidden;
  padding: 20px;
}
.infoBlockLeftBlack {
  color: #FFF;
  background: #000;
  background: rgba(0,0,0,0.75);
  left: 30px;
  right: auto;
}
.infoBlock h4 {
  font-size: 20px;
  line-height: 1.2;
  margin: 0;
  padding-bottom: 3px;
}
.infoBlock p {
  font-size: 14px;
  margin: 4px 0 0;
}
.infoBlock a {
  color: #FFF;
  text-decoration: underline;
}
.photosBy {
  position: absolute;
  line-height: 24px;
  font-size: 12px;
  background: #FFF;
  color: #000;
  padding: 0px 10px;
  position: absolute;
  left: 12px;
  bottom: 12px;
  top: auto;
  border-radius: 2px;
  z-index: 25; 
} 
.photosBy a {
  color: #000;
}
.fullWidth {
  max-width: 1400px;
  margin: 0 auto 24px;
}
.introduccion{
	margin:80px;
}
.titleIntro{
	margin-bottom:15px;
	font-family: "Monotype Corsiva";
}
.pIntro{
	margin-bottom:25px;
	text-align: justify;
	font-family: "Monotype Corsiva"; 
	font-size: 1.4em;
}
.imageIntro{
	text-align: center;
	margin-top: 20px;
	max-width: 50%;
    margin-left: 25%;
}
.imgFooter{
    max-width: 90%;
    margin-top: 20px;
}
.submenu {
    background-color: #f7f3f4;
    padding-left: 10px !important;
}

button.accordion {
    color: #444;
    cursor: pointer;
    padding: 25px;
    width: 100%;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
    text-align: center;
    background-color: #efefef !important;
    border: 1px solid #e0e0e0;
    height: auto;
}

button.accordion:hover {
    background-color: #ddd;
}

div.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease-in-out;
    opacity: 0;
}

div.panel.show {
    opacity: 1;
    max-height: 100%;
}
.img_list{
	max-width: 300px !important;
}


#mod-finder-searchword<?php echo $module->id ?> {
    padding: 5px 9px;
    height: 32px;
    width: 380px;
    border: 1px solid ##a8a8a8;
    font: normal 13px 'trebuchet MS', arial, helvetica;
    background: #f1f1f1;
    border-radius: 50px 3px 3px 50px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset, 0 1px 0 rgba(255, 255, 255, 1);
}
#submit-search-button {
    background-color: #6cbb6b;
    background-image: linear-gradient(#674631, #98847d);
    border-radius: 3px 50px 50px 3px;
    border-width: 1px;
    border-style: solid;
    border-color: #674631 #674631 #444;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    height: 35px;
    margin: 0 0 0 10px;
    padding: 0;
    width: 90px;
    cursor: pointer;
    font: bold 14px Arial, Helvetica;
    color: #f8f8f8 !important;
}
#mod-finder-searchword<?php echo $module->id ?>, #submit-search-button {
    float: left;
}

#Footer p {
    font-size: 1.1em;
}

#mod-search-searchword {
    width: 80%;
    height: 25px;
    border-color: #98847d;
    border-radius: 16px;
    background: #f4f6f7 url(../images/search.png) 95% 50% no-repeat;
    margin-left: auto;
    margin-right: auto;
}

div[itemprop="articleBody"] tr td:first-child {
    background-color: #98847d;
    color: #ffffff;
}

.sublevel_active > ul, .sublevel_current > ul {
    background-color: #efefef;
    border-bottom: 1px solid;
    /*border-top: 1px solid;*/
}

.sublevel_current > ul > li > a {
    *color: #005e8d;
}
.sublevel_current > ul > li > a:hover {
    background-color: #674631d1;
}

.sublevel_active > ul > li > a {
    color: #674631;
    *color: #005e8d;
}
.sublevel_active > ul > li > a:hover {
    background-color: #674631d1;
}

.sublevel_active > ul > li > a.sublevel_current {
    background-color: #674631d1 !important;
}

/* content */
.contentTitle {
    padding:20px 30px 25px; 
    background-color:#674631; 
    /*background-image: linear-gradient(#98847d, #674631);*/
    margin-bottom: 16px; 
    /*border-radius: 4px;*/
}

/* footer */
.column_attr button {
    background-color: #674631 !important;
}

.tauroarteTableArticle {
    font-size: 16px;
}

    #ver_menu {
	    display:none;
    }

#footer_main {
    padding-left: 150px; padding-right: 150px;
}

#checkbox-boton{
    display: none;
}

/* CONTENIDO ADAPADO A DISPOSITIVOS MÓVILES */
/*  30/05/2022  */
@media only screen and (max-width: 1200px) {

    #ver_menu {
	    display: block;
    }

    .header {
	    /*display: none;*/
    }
    .rsBullets {
	    display: none;
    }
    .rsOverflow {
	    height: 110px !important;
    }
    .rsMainSlideImage {
	    height: 110px !important;
    }
    #logo_img {
	    width: 160px;
    }
    .body .container {
	    margin-top: 0px;
    }
    #player {
	    display: none;
    }
    #sidebar {
        display: none; 
	margin-top: 90px;
    }
    #checkbox-boton:checked ~ #sidebar {
        display: block;
    }
    #aside {
        display: none; 
    }
    #system-message-container {
	width: 70%;
        margin: auto;
    }
    #footer_main {
        padding-left: 8px; padding-right: 8px;
    }

    #footer_col1, #footer_col2 {
	    display: contents;
    }

    /* MENU */
    /*------Ajustes de boton y logo--------*/
    .menu-boton{
        width: 50px;
        height: 30px;
        position: relative;
        cursor: pointer;
        margin-left: 8px;
        float: left;
        margin-top: -48px;
    }
    .menu-boton #logo{
        position: relative;
        content: '';
        top: -10px;
        width: 140px;
        height: 50px;
        left: 60px;
        opacity: 0;
        animation: logo-animation-reverse 0.6s ease-out forwards;
    }
    .menu-boton #span1, #span2, #span3{
        position: absolute;
        content: '';
        background: rgb(103, 70, 49);
        width: 50px;
        height: 5px;
        border-radius: 30px;
        animation: close 0.6s ease-out forwards;
    }
    #span2{
        top: 11px;
    }
    #span3{
        top: 22px;
    }
    #checkbox-boton{
        display: none;
    }
    /* Comportamiento del botón */
    #checkbox-boton:checked ~ .menu-boton #span1{
        animation: uno-open 0.6s ease-out forwards;
    }
    #checkbox-boton:checked ~ .menu-boton #span2{
        animation: dos-open 0.6s ease-out forwards;
    }
    #checkbox-boton:checked ~ .menu-boton #span3{
        animation: tres-open 0.6s ease-out forwards;
    }
    #checkbox-boton:checked ~ .menu-boton #logo{
        animation: logo-animation 0.6s ease-out forwards;
    }
    /* Animaciones del botón */
    @keyframes uno-open {
        0%{
            width: 50px;
            height: 5px;
        }
        50%{
            width: 5px;
        }
        75%{
            width: 5px;
        }
        100%{
            transform: translate(0px, 21px) rotate(45deg);
            background: rgb(103, 70, 49);
        }
    }
    @keyframes dos-open {
        0%{
            width: 50px;
            height: 5px;
        }
        50%,100%{
            width: 5px;
            background: rgb(103, 70, 49);
            opacity: 0;
        }
    }
    
    @keyframes tres-open {
        0%{
            width: 50px;
            height: 5px;
        }
        50%{
            width: 5px;
        }
        75%{
            width: 5px;
            background: rgb(103, 70, 49);
        }
        100%{
            transform: translate(0px, 0px) rotate(-45deg);
            background: rgb(103, 70, 49);
        }
    }
    
    @keyframes logo-animation {
        0%{
            width: 140px;
        }
        100%{
            opacity: 100%;
        }
    }
    
    @keyframes close {
        0%{
            transform: rotate(45deg);
            background: rgb(103, 70, 49);
        }
        50%{
            width: 5px;
        }
        75%{
            width: 5px;
        }
        100%{
            width: 50px;
            height: 5px;
        }
    }
    @keyframes logo-animation-reverse {
        0%{
            opacity: 100%;
            transform: translate(-25px, 0px)
    
        }
        100%{
            width: 140px;
        }
    }
} 
    
    


/* ===== Joomla 6: Tauroarte legacy menu ===== */

/* Joomla 6 intenta convertir mod-menu en un menú moderno/flex.
   Tauroarte era una lista vertical clásica. */
#mainlevel.mod-menu {
    display: block !important;
    flex-direction: initial !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 19px !important;
}

#mainlevel li {
    display: block !important;
    position: relative;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Estilo exacto del menú Protostar antiguo */
#mainlevel a {
    font-style: italic;
    font-weight: 300;
    font-size: 20px !important;
    display: block !important;
    padding: 6px 0 6px 16px !important;
    text-decoration: none !important;
}

/* Hover original */
#mainlevel a:hover {
    text-decoration: none !important;
    color: #fff !important;
    background-color: #674631 !important;
}

/* Joomla 6 añade botones para desplegar submenús.
   Tauroarte NO tenía esos botones. */
#mainlevel .mod-menu__toggle-sub {
    display: none !important;
}

/* Todos los submenús cerrados por defecto */
#mainlevel ul {
    display: none !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Solo se muestra la rama por la que estamos navegando */
#mainlevel li.active > ul,
#mainlevel li.current > ul {
    display: block !important;
    background-color: #efefef !important;
    border-bottom: 1px solid !important;
}

/* Padre activo / página actual */
#mainlevel li.active > a,
#mainlevel li.current > a {
    background-color: #674631 !important;
    color: #fff !important;
    font-size: 20px !important;
}

/* Hijos de la sección activa */
#mainlevel ul li > a {
    padding-left: 36px !important;
    font-size: 20px !important;
    color: #674631;
}

/* Hover de los hijos, exactamente como custom.css antiguo */
#mainlevel ul li > a:hover {
    background-color: #674631d1 !important;
    color: #fff !important;
}

/* Elemento hijo actualmente seleccionado */
#mainlevel ul li.current > a {
    background-color: #674631d1 !important;
    color: #fff !important;
}

/* Neutralizar detalles visuales del mod_menu de Joomla 6 */
#mainlevel.mod-list,
#mainlevel .mod-menu__sub,
#mainlevel .list-unstyled,
#mainlevel .small {
    font-size: inherit !important;
}



/* ===== Joomla 6: buscador Tauroarte ===== */

.mod_search87 {
    margin: 20px 0 -16px 0 !important;
}

#mod-search-searchword87,
#mod-search-searchword {
    width: 80% !important;
    height: 25px !important;
    border-color: #98847d !important;
    border-radius: 16px !important;
    background: #f4f6f7 url(../images/search.png) 95% 50% no-repeat !important;
    margin-left: auto !important;
    margin-right: auto !important;
}




/* ===== Ajuste final menú Tauroarte ===== */

/* Caja general del menú */
#sidebar .sidebar-nav .well {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
}

/* Evitar doble margen interno */
#mainlevel.mod-menu {
    padding: 0 !important;
}

/* Entradas principales */
#mainlevel > li > a {
    padding: 6px 0 6px 16px !important;
}

/* Rama activa desplegada */
#mainlevel > li.active > ul,
#mainlevel > li.current > ul {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #efefef !important;
    border-bottom: 1px solid #674631 !important;
}

/* Subentradas */
#mainlevel > li.active > ul > li > a,
#mainlevel > li.current > ul > li > a {
    padding: 6px 0 6px 16px !important;
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 1.2;
}

/* Hover de subentradas */
#mainlevel > li.active > ul > li > a:hover,
#mainlevel > li.current > ul > li > a:hover {
    background-color: rgba(103,70,49,.82) !important;
    color: #fff !important;
}

/* Subentrada actual */
#mainlevel ul li.current > a {
    background-color: rgba(103,70,49,.82) !important;
    color: #fff !important;
}

/* Sin huecos extra entre los LI del submenú */
#mainlevel ul li {
    margin: 0 !important;
    padding: 0 !important;
}


/* Tauroarte: menú sin caja exterior */
#sidebar .sidebar-nav .well {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}


/* Ajuste fino altura entradas del menú */
#mainlevel > li > a,
#mainlevel > li.active > ul > li > a,
#mainlevel > li.current > ul > li > a {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    line-height: 1.15 !important;
}


/* Joomla 6: títulos de página con estética Tauroarte original */
#content .page-header h1 {
    font-family: "Monotype corsiva", serif !important;
    font-weight: 300 !important;
    font-size: 30px !important;
    line-height: 32px !important;
    color: #674631 !important;
    margin: 0 0 15px 0 !important;
}

#content .page-header {
    margin: 2px 0 10px 0 !important;
    padding-bottom: 5px !important;
    border-bottom: 1px solid #eee !important;
}


/* ===== Encabezado de página Tauroarte original ===== */
#content .page-header {
    width: 100% !important;
    box-sizing: border-box !important;

    margin: 0 0 12px 0 !important;
    padding: 13px 10px !important;

    background: #674631 !important;
    border: 0 !important;
}

#content .page-header h1 {
    margin: 0 !important;
    padding: 0 !important;

    font-family: "Monotype corsiva", serif !important;
    font-size: 24px !important;
    line-height: 30px !important;
    font-weight: 300 !important;

    color: #fff !important;
    text-align: center !important;
    letter-spacing: 4px !important;
}


/* Títulos de páginas de categorías - estilo Tauroarte original */
#content .com-content-categories > h1 {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;

    margin: 0 0 12px 0 !important;
    padding: 14px 10px !important;

    background: #674631 !important;

    font-family: "Monotype corsiva", serif !important;
    font-size: 24px !important;
    line-height: 30px !important;
    font-weight: 300 !important;

    color: #ffffff !important;
    text-align: center !important;
    letter-spacing: 4px !important;
}


/* Título categorías Joomla 6 = contentTitle original Tauroarte */
#content .com-content-categories > h1 {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;

    background-color: #674631 !important;

    /* 20px del contenedor + 8px del margen superior del h3 original */
    padding: 28px 30px 25px !important;

    margin: 0 0 16px 0 !important;
    border: 0 !important;

    font-family: "Monotype corsiva", serif !important;
    font-size: 30px !important;
    line-height: 32px !important;
    font-weight: 300 !important;

    color: #ffffff !important;
    text-align: center !important;
    letter-spacing: normal !important;
}


#content .com-content-categories > h1 {
    letter-spacing: 4px !important;
}


/* Cabecera original Tauroarte para view=categories */
#content .contentTitle {
    padding: 20px 30px 25px !important;
    background-color: #674631 !important;
    margin: 0 0 16px 0 !important;
    border: 0 !important;
}

#content .contentTitle h3 {
    margin: 8px 0 0 0 !important;
    padding: 0 !important;

    font-family: "Monotype corsiva", serif !important;
    font-size: 30px !important;
    line-height: 32px !important;
    font-weight: 400 !important;

    letter-spacing: 5px !important;
    color: #ffffff !important;
    text-align: center !important;
}


/* Artículos Joomla 6 = cabecera original Tauroarte */
#content .com-content-article > .page-header {
    box-sizing: border-box !important;
    width: 100% !important;

    padding: 20px 30px 25px !important;
    margin: 0 0 16px 0 !important;

    background-color: #674631 !important;
    border: 0 !important;
}

#content .com-content-article > .page-header > h1 {
    margin: 8px 0 0 0 !important;
    padding: 0 !important;

    font-family: "Monotype corsiva", serif !important;
    font-size: 30px !important;
    line-height: 32px !important;
    font-weight: 400 !important;

    letter-spacing: 5px !important;
    color: #ffffff !important;
    text-align: center !important;
}


/* Listado de subcategorías - aspecto Joomla 3 Tauroarte */
#content .com-content-categories__item-title-wrapper {
    display: block !important;
}

#content .com-content-categories__item-title {
    display: block !important;

    margin: 2px 0 10px 0 !important;
    padding: 0 0 22px 0 !important;

    font-family: "Monotype corsiva", serif !important;
    font-weight: 400 !important;
    line-height: 32px !important;

    letter-spacing: 5px !important;
    text-align: center !important;

    border: 0 !important;
}

#content .com-content-categories__item-title a {
    color: #674631 !important;
    font-family: "Monotype corsiva", serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    letter-spacing: 5px !important;
    text-decoration: none !important;
}

#content .com-content-categories__item-title a:hover {
    color: #4b2d1b !important;
}


/* Botón enviar formulario de contacto */
#button-contactus-lightbox,
.contactus-button {
    background-color: #674631 !important;
}

#button-contactus-lightbox:hover,
.contactus-button:hover {
    background-color: #4b2d1b !important;
}



/* ===== TAUROARTE VIEW-CATEGORY ===== */

/*
 * com_content / view=category / Category List
 * Aplicación global por tipo de vista.
 */

/* Atrás */
body.com_content.view-category
#content .tauroarte-category-back {
    display: inline-block;
    margin-bottom: 10px;
}


/* Alfabeto */
body.com_content.view-category
#content #alphabet {
    margin: 30px 0 30px 0;
    text-align: center;
}

body.com_content.view-category
#content #alphabet ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.com_content.view-category
#content #alphabet li {
    display: inline;
    margin: 0 10px 0 0;
    padding: 0;
}

body.com_content.view-category
#content #alphabet a {
    color: #98847d;
    background: transparent !important;
    text-decoration: none !important;
}

body.com_content.view-category
#content #alphabet a:hover {
    color: #98847d;
    background: transparent !important;
    text-decoration: underline !important;
}


/* Selector Cantidad a mostrar */
body.com_content.view-category
#content form.com-content-category__articles
> .com-content-category__pagination {
    float: none !important;
    clear: both;

    display: flex;
    justify-content: flex-end;
    align-items: center;

    width: 100%;
    margin: 0 0 8px 0;
    padding: 0;
}

body.com_content.view-category
#content #limit {
    box-sizing: border-box;

    width: 60px;
    min-width: 60px;
    height: 30px;

    margin: 0;
    padding: 4px 6px;

    border: 1px solid #ccc;
    border-radius: 4px;

    background: #fff;
    color: #674631;

    font-family: "Monotype corsiva", serif;
    font-size: 14px;
    line-height: 20px;
}


/*
 * Joomla 6 añade caption y thead.
 * El HTML original Tauroarte no los mostraba.
 */
body.com_content.view-category
#content table.category caption,
body.com_content.view-category
#content table.category thead {
    display: none !important;
}


/* Tabla */
body.com_content.view-category
#content table.category {
    clear: both;

    width: 100%;
    margin: 0 0 20px 0;

    border: 1px solid #ddd;
    border-collapse: collapse;

    background: #fff;
}


/*
 * Joomla 3 generaba TD.
 * Joomla 6 utiliza TH scope=row.
 */
body.com_content.view-category
#content table.category tbody th.list-title,
body.com_content.view-category
#content table.category tbody td.list-title {
    padding: 8px;

    border: 0;
    border-top: 1px solid #ddd;

    background: transparent;

    font-family: "Monotype corsiva", serif;
    font-size: 16px;
    line-height: 18px;
    font-weight: normal;

    text-align: left;
    vertical-align: top;
}

body.com_content.view-category
#content table.category tbody tr:first-child
.list-title {
    border-top: 0;
}

body.com_content.view-category
#content table.category tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

body.com_content.view-category
#content table.category tbody tr:nth-child(even) {
    background-color: #fff;
}

body.com_content.view-category
#content table.category tbody tr:hover {
    background-color: #f5f5f5;
}

/* ===== END TAUROARTE VIEW-CATEGORY ===== */

/* =========================================================
   TAUROARTE - view=category - tabla y paginación
   ========================================================= */



/* ===== TAUROARTE PAGINATION CLEAN ===== */

/*
 * Adaptación del pagination de Protostar/Joomla 3
 * al HTML generado por Joomla 6.
 */

body:is(.com_content.view-category, .com_finder.view-search)
#content .com-content-category__navigation {
    clear: both !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body:is(.com_content.view-category, .com_finder.view-search)
#content nav.pagination__wrapper {
    display: block !important;

    width: 100% !important;

    margin: 18px 0 !important;
    padding: 0 !important;

    text-align: right !important;
}


/* Equivalente al antiguo .pagination ul */
body:is(.com_content.view-category, .com_finder.view-search)
#content nav.pagination__wrapper > ul.pagination {
    display: inline-block !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 4px !important;

    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.05) !important;

    list-style: none !important;
}


/* Equivalente al antiguo .pagination ul > li */
body:is(.com_content.view-category, .com_finder.view-search)
#content nav.pagination__wrapper
> ul.pagination > li.page-item {
    display: inline !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* Equivalente al antiguo a/span */
body:is(.com_content.view-category, .com_finder.view-search)
#content nav.pagination__wrapper
> ul.pagination > li.page-item > .page-link {

    float: left !important;

    display: block !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 4px 12px !important;

    line-height: 18px !important;

    text-decoration: none !important;

    background-color: #fff !important;

    border: 1px solid #ddd !important;
    border-left-width: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    color: #98847d !important;
}


/* Página actual */
body:is(.com_content.view-category, .com_finder.view-search)
#content nav.pagination__wrapper
> ul.pagination > li.active > .page-link {

    background-color: #f5f5f5 !important;

    color: #999 !important;
    cursor: default !important;
}


/* Deshabilitados */
body:is(.com_content.view-category, .com_finder.view-search)
#content nav.pagination__wrapper
> ul.pagination > li.disabled > .page-link {

    color: #999 !important;

    background-color: transparent !important;

    cursor: default !important;
}


/* Primer elemento */
body:is(.com_content.view-category, .com_finder.view-search)
#content nav.pagination__wrapper
> ul.pagination > li:first-child > .page-link {

    border-left-width: 1px !important;

    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
}


/* Último elemento */
body:is(.com_content.view-category, .com_finder.view-search)
#content nav.pagination__wrapper
> ul.pagination > li:last-child > .page-link {

    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}


/* Hover original */
body:is(.com_content.view-category, .com_finder.view-search)
#content nav.pagination__wrapper
> ul.pagination > li:not(.active):not(.disabled)
> .page-link:hover {

    background-color: #f5f5f5 !important;
}


/* ===== END TAUROARTE PAGINATION CLEAN ===== */


/* ===== Iconos paginación Joomla ===== */

body:is(.com_content.view-category, .com_finder.view-search)
#content .pagination .icon-angle-double-left::before {
    content: "«";
}

body:is(.com_content.view-category, .com_finder.view-search)
#content .pagination .icon-angle-left::before {
    content: "‹";
}

body:is(.com_content.view-category, .com_finder.view-search)
#content .pagination .icon-angle-right::before {
    content: "›";
}

body:is(.com_content.view-category, .com_finder.view-search)
#content .pagination .icon-angle-double-right::before {
    content: "»";
}

body:is(.com_content.view-category, .com_finder.view-search)
#content .pagination [class^="icon-angle"]::before,
body:is(.com_content.view-category, .com_finder.view-search)
#content .pagination [class*=" icon-angle"]::before {
    display: inline-block;
    font-family: Georgia, "Times New Roman", serif !important;
    font-style: normal !important;
    font-weight: normal !important;
    line-height: 1 !important;
    color: inherit !important;
}


/* =========================================================
   Buscador Finder dentro de descripción de view-category
   ========================================================= */

body.com_content.view-category
#content .category-desc .mod-finder {
    margin: 20px 0 10px 0 !important;
}

/* Formulario en una sola línea y centrado */
body.com_content.view-category
#content .category-desc .mod-finder form {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;

    margin: 0 !important;
}

/* Joomla 6 oculta "Buscar": recuperarlo */
body.com_content.view-category
#content .category-desc .mod-finder label.finder {
    position: static !important;

    width: auto !important;
    height: auto !important;

    margin: 0 4px 0 0 !important;
    padding: 0 !important;

    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;

    white-space: nowrap !important;

    font-family: "Monotype corsiva", serif !important;
    font-size: 16px !important;
    color: #674631 !important;
}

/* El input-group de Bootstrap no debe ocupar todo el ancho */
body.com_content.view-category
#content .category-desc .mod-finder .input-group {
    display: flex !important;
    flex: 0 0 auto !important;

    width: auto !important;
}

/* Campo Buscar... */
body.com_content.view-category
#content .category-desc .mod-finder input[type="text"] {
    box-sizing: border-box !important;

    width: 220px !important;
    height: 30px !important;

    margin: 0 !important;
    padding: 4px 8px !important;

    border: 1px solid #ccc !important;
    border-radius: 4px 0 0 4px !important;

    background: #fff !important;
    box-shadow: none !important;

    font-family: "Monotype corsiva", serif !important;
    font-size: 14px !important;
    color: #674631 !important;
}

/* Botón Buscar */
body.com_content.view-category
#content .category-desc .mod-finder button[type="submit"] {
    box-sizing: border-box !important;

    height: 30px !important;

    margin: 0 !important;
    padding: 4px 12px !important;

    border: 1px solid #98847d !important;
    border-radius: 0 4px 4px 0 !important;

    background: #98847d !important;
    box-shadow: none !important;

    color: #fff !important;

    font-family: "Monotype corsiva", serif !important;
    font-size: 14px !important;
    line-height: 20px !important;
}

body.com_content.view-category
#content .category-desc .mod-finder button[type="submit"]:hover {
    background: #674631 !important;
    border-color: #674631 !important;
}


/* =========================================================
   Finder dentro de category-desc - aspecto Tauroarte original
   ========================================================= */

/* Contenedor */
body.com_content.view-category
#content .category-desc .mod-finder {
    width: 100% !important;
    margin: 60px 0 35px 0 !important;
    padding: 0 !important;
}

/* Ocultar la etiqueta superior "Buscar" */
body.com_content.view-category
#content .category-desc .mod-finder label.finder {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

/* Formulario */
body.com_content.view-category
#content .category-desc .mod-finder form {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Cápsula gris */
body.com_content.view-category
#content .category-desc .mod-finder .input-group {
    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;

    width: 520px !important;
    max-width: 90% !important;
    height: 57px !important;

    margin: 0 auto !important;
    padding: 10px 30px 10px 12px !important;

    border: 1px solid #c9c9c9 !important;
    border-radius: 30px !important;

    background: linear-gradient(
        to bottom,
        #f7f7f7 0%,
        #eeeeee 48%,
        #c8c8c8 100%
    ) !important;

    box-shadow:
        inset 0 1px 2px rgba(255,255,255,.9),
        0 1px 2px rgba(0,0,0,.15) !important;

    gap: 10px !important;
}

/* Campo */
body.com_content.view-category
#content .category-desc .mod-finder
input.js-finder-search-query {
    box-sizing: border-box !important;

    flex: 1 1 auto !important;

    width: auto !important;
    height: 34px !important;

    margin: 0 !important;
    padding: 6px 9px !important;

    border: 1px solid #ccc !important;
    border-radius: 0 !important;

    background: #fff !important;
    box-shadow:
        inset 0 1px 3px rgba(0,0,0,.12) !important;

    font-family: Arial, sans-serif !important;
    font-size: 13px !important;
    color: #777 !important;
}

/* Botón */
body.com_content.view-category
#content .category-desc .mod-finder
button[type="submit"] {
    box-sizing: border-box !important;

    flex: 0 0 90px !important;

    width: 90px !important;
    height: 36px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid #674631 !important;
    border-radius: 0 18px 18px 0 !important;

    background: linear-gradient(
        to bottom,
        #8b6a58 0%,
        #674631 100%
    ) !important;

    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.25) !important;

    color: #fff !important;

    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: bold !important;
    line-height: 34px !important;
    text-align: center !important;
}

/* Quitar icono de Joomla del botón */
body.com_content.view-category
#content .category-desc .mod-finder
button[type="submit"] .icon-search {
    display: none !important;
}

/* Hover */
body.com_content.view-category
#content .category-desc .mod-finder
button[type="submit"]:hover {
    background: #674631 !important;
}


/* Ajuste final buscador Finder */
body.com_content.view-category
#content .category-desc .mod-finder .input-group {
    justify-content: stretch !important;
}

body.com_content.view-category
#content .category-desc .mod-finder
input.js-finder-search-query {
    flex: 1 1 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

body.com_content.view-category
#content .category-desc .mod-finder
button[type="submit"] {
    flex: 0 0 90px !important;
    width: 90px !important;
}


/* Ajuste definitivo ancho buscador */
body.com_content.view-category
#content .category-desc .mod-finder .input-group {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 90px !important;
    gap: 10px !important;
}

body.com_content.view-category
#content .category-desc .mod-finder
input.js-finder-search-query {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

body.com_content.view-category
#content .category-desc .mod-finder
button[type="submit"] {
    display: block !important;
    width: 90px !important;
    min-width: 90px !important;
    max-width: 90px !important;
}


/* Forma original del campo de búsqueda */
body.com_content.view-category
#content .category-desc .mod-finder
input.js-finder-search-query {
    border-radius: 4px 0 0 4px !important;
}


/* Redondeo izquierdo del campo como en Tauroarte original */
body.com_content.view-category
#content .category-desc .mod-finder
input.js-finder-search-query {
    border-top-left-radius: 14px !important;
    border-bottom-left-radius: 14px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

#sidebar form.mod-finder {
    margin: 0 0px 18px;
}

#sidebar .mod-finder input[name="q"] {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 32px;
    margin: 0;
    padding: 4px 34px 4px 12px;
    border: 1px solid #98847d;
    border-radius: 16px;
    background: #f4f6f7 url(../images/search.png) right 10px center no-repeat;
}

#sidebar .mod-finder label.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

#sidebar form.mod-finder .awesomplete {
    display: block;
    width: 100%;
}

#content .tauroarte-search-heading {
    margin: 0 0 18px;
    padding: 25px 20px;
    background: #674631;
    color: #fff;
    font-size: 24px;
    line-height: 1.2;
    text-align: center;
}

#content .com-finder__form .input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 420px;
}

#content .com-finder__form .awesomplete {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

#content .com-finder__form input[name="q"] {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 34px;
    margin: 0;
    padding: 4px 12px;
    border: 1px solid #98847d;
    border-radius: 17px;
}

#content .com-finder__form button[type="submit"] {
    flex: 0 0 auto;
    padding: 6px 14px;
    border: 1px solid #674631;
    border-radius: 17px;
    background: #674631;
    color: #fff;
    text-shadow: none;
}

#content .com-finder__counter {
    margin: 0 0 16px;
    font-weight: bold;
}

#content ol.com-finder__results-list {
    margin: 0;
    padding-inline-start: 2rem;
    list-style: decimal;
}

#content .com-finder__results-list > li {
    display: list-item;
    margin-bottom: 16px;
}

#content .com-finder__results .result__title {
    margin-bottom: 4px;
    font-weight: bold;
}

#content .com-finder__results .result__date,
#content .com-finder__results .result__taxonomy-item:not(.result__taxonomy--Category) {
    display: none;
}

#content .com-finder__results .result__taxonomy {
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

body.com_finder.view-search #content nav.pagination__wrapper {
    text-align: center !important;
}

@media (max-width: 767px) {
    #content .com-finder__navigation .pagination
    > li.page-item:nth-child(n + 3):nth-last-child(n + 3) {
        display: none !important;
    }
}

#content .com-finder__search-legend.visually-hidden,
#content .com-finder__form label[for="q"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

#content .com-finder__form button[type="submit"] .icon-search {
    display: none;
}

