/* Modal */
.section-portal_registry .modal-dialog{max-width:100%;width:100%;margin:0;height:100%}
.section-portal_registry .modal-content{height:100%;border-radius:0}
.section-portal_registry #form-widgets-value{height:77vh}
.section-portal_registry .modal-footer{position:fixed;bottom:0;left:0;width:100%;background:#fff;border-top:1px solid #ccc;padding:10px;z-index:2000;display:flex;justify-content:center;align-items:center}
.section-portal_registry .modal-footer .pattern-modal-buttons button{margin:0 1em}
.section-portal_registry .modal-body{margin-bottom:60px}

/* Paginación */
.pagination{display:flex;flex-wrap:wrap;gap:2px}
.pagination li{flex:1 1 auto;min-width:28px;text-align:center}

/* General */
a,.page-link{color:#159;text-decoration:none}
a:hover,.portletNavigationTree .card-body ul li a:hover,.page-link:hover{color:#C00}
.navbar-barceloneta{--bs-navbar-background:#636469;}
.active>.page-link, .page-link.active{ background-color:#159;border-color:#159}
#portal-footer-wrapper{background-color:#636469}
.active .page-link:hover,#portal-footer-wrapper a{color:#FFF}
#portal-footer-wrapper a:hover{color:#FC0}
.portlet .plone-icon{display:none}

/* AW.CT Iconos */
.aw-icon{width:1.1em;height:1.1em;vertical-align:middle;margin-right:0.35em;margin-left:0.05em;flex-shrink:0}

/* Redes */
#redes img{width:1.25em;height:1.25em;margin-right:.5em;filter: brightness(0) saturate(100%) invert(18%) sepia(80%) saturate(2614%) hue-rotate(198deg) brightness(94%) contrast(87%)}
#redes img:hover{filter: brightness(0) saturate(100%) invert(15%) sepia(73%) saturate(5465%) hue-rotate(356deg) brightness(77%) contrast(113%)}

/* Pie de página */
#portal-footer-wrapper #portal-footer .doormat > [class^="col-"],#portal-footer-wrapper #portal-footer .doormat > [class*=" col-"]{flex:0 0 100%!important;max-width:100%!important;width:100%!important}
#portal-footer-wrapper #portal-footer .card-body .navTree{list-style:none;margin:0;padding:0;display:inline-flex;flex-wrap:wrap;gap:1em}
#categorias-title,#etiquetas-title{color:#dbe4f5}
.card-body,.site-actions{font-weight:bold}
#footer-categorias-etiquetas{text-align:left}
#footer-categorias-etiquetas{margin:1em 0 .5em 0}
#footer-categorias{margin-bottom:1em}

/* Ocultar botón Subir en folder_contents */
.template-folder_contents #btn-upload{display:none}

/* Centrar verticalmente imágenes y textos de listas AW.CT */
.collection-content-item.with-image .collection-content-image,.folder-content-item.with-image .folder-content-image{float:left;margin-right:1rem}
.collection-content-item.with-image .collection-content-image img,.folder-content-item.with-image .folder-content-image img{display:block;height:96px}
.collection-content-item.with-image .collection-content-texts,.folder-content-item.with-image .folder-content-texts{display:flex;align-items:center;min-height:96px;text-align:left!important}
.collection-content-item.with-image .collection-content-title,.collection-content-item.with-image .collection-content-title *,.folder-content-item.with-image .folder-content-title,.folder-content-item.with-image .folder-content-title *{text-align:left!important;margin:0}

/* Colecciones */
.grid4 .collection-content-item{padding:10px}
.grid4 .collection-content-item{box-sizing:border-box}
.collection-content-title{font-size:130%}
.collection-content-description{display:none}

/* Noticias */
/*.collection-content-item .collection-content-image img,*/
#newsitem-image img{object-fit:contain}

/* Instituciones */
#instituciones td{vertical-align:top}

@media (max-width:480px){
/* Resultados de búsquedas */
.d-flex.mb-2{display:flex!important;flex-direction:column!important;gap:0.75rem!important;width:100%!important}
.d-flex.mb-2 > div,.d-flex.mb-2 > .flex-fill,.d-flex.mb-2 > .nav-item{width:100%!important;max-width:100%!important;flex:0 0 100%!important}
#search-filter{width:100%!important}
#search-filter + .nav-item.dropdown{width:100%!important}
#results-count{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:0.5rem!important;text-align:left!important}
#search-results-number{flex:0 0 auto!important}
}