.userrole-authenticated #contentview-aw-upload,#contentview-folderContents{order:-1}
.userrole-authenticated .plone-toolbar-main{display:flex;flex-direction:column}
.aw-description{margin-bottom:1.2rem;font-size:1.2rem;font-weight:300}
#content-core a{border-bottom:none}
#folder-image{float:right;margin:0 0 10px 10px}
#folder-image img{width:200px!important;height:150px!important;object-fit:cover}
#folder:not(.row1) #folder-header{min-height:150px}
.aw-contents-toolbar{margin:1em 0;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:.8em;flex-wrap:wrap}
.aw-contents-toolbar select{border:1px solid #CCC;background-color:#FFF;height:24px;padding:0 5px;line-height:24px;box-sizing:border-box}
.aw-contents-toolbar .aw-results-b-size{padding:.2em .3em;font-size:.9em}
#folder-content{margin-top:20px}
#folder-content.aw-contents-recursive{display:block}
#folder-content.aw-contents-recursive .folder-content-item{transition:margin-left .15s ease}
#folder-content.aw-contents-recursive .folder-content-item[data-depth="0"]{margin-left:0}
.folder-content-item{display:inline-block;margin:0 1% 20px 0;vertical-align:top;box-sizing:border-box}
.folder-content-item.with-image,.folder-content-item.with-image .folder-content-texts{min-height:96px}
.folder-content-item .folder-content-image{float:left;margin:0 10px 5px 0}
.folder-content-item .folder-content-image img{width:128px!important;height:96px!important;object-fit:cover}
.folder-content-title{font-size:150%}
.row1 .folder-content-item,.grid1 .folder-content-item{min-width:calc(100% - 226px)}
.row2 .folder-content-item,.grid2 .folder-content-item{width:48.8%}
.grid3 .folder-content-item{width:32%}
.grid4 .folder-content-item{width:23.7%}
.grid5 .folder-content-item{width:18.7%}
[class*="grid"] .folder-content-item{margin-bottom:3em}
.grid1 .folder-content-item,[class*="grid"] .folder-content-item .folder-content-texts{display:block;width:100%;box-sizing:border-box}
[class*="grid"] .folder-content-item.with-image .folder-content-texts{min-height:0}
[class*="grid"] .folder-content-item .folder-content-image{position:relative;width:100%;padding-top:100%;margin-bottom:10px;overflow:hidden}
[class*="grid"] .folder-content-item .folder-content-image img{position:absolute;top:0;left:0;width:100%!important;height:100%!important;display:block}
#folder-embedded-videos,#folder-embedded-pdfs{margin-top:2rem}
#folder-embedded-videos .embedded-video,#folder-embedded-pdfs .embedded-pdf{margin:1.5rem 0}
#folder-embedded-videos video{border:1px solid #ccc;border-radius:4px}
#folder-file-embedded video{width:100%;height:auto!important;max-height:90vh;object-fit:contain}
.embedded-pdf iframe{width:100%;height:90vh;border:1px solid #ccc;border-radius:4px}
img{max-width:100%}
.row1 .folder-content-item{display:flex;align-items:flex-start;width:100%;min-width:0;margin:0;padding:1em 0;border-bottom:1px solid #ddd}
.row1 .folder-content-item .folder-content-image{float:none;flex:0 0 200px;width:200px;margin:0 16px 0 0}
.row1 .folder-content-item .folder-content-image img{display:block;width:200px!important;height:auto!important;max-height:none;object-fit:contain}
.row1 .folder-content-item .folder-content-texts{display:block;flex:1 1 auto;width:auto;min-width:0}
.row1 .folder-content-item.with-image,.row1 .folder-content-item.with-image .folder-content-texts{min-height:0}

#map { width: 100%; }

:where(.aw-map-div-icon) {
  background: transparent;
  border: 0;
}

:where(.aw-map-marker) {
  display: block;
  width: 25px;
  height: 41px;
  background-image: url("/++plone++acentoweb.contenttypes/third-party/leaflet/images/marker-icon.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 25px 41px;
  pointer-events: none;
}

.aw-map-popup {
  display: inline-flex;
  align-items: flex-start;
  gap: .75rem;
  width: max-content;
  max-width: 600px;
}

.aw-map-popup-image {
  flex: 0 0 32px;
  width: 32px;
}

.aw-map-popup-image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 32px;
  max-height: 32px;
}

#map .leaflet-popup-content {
  margin: 13px 24px;
}

.aw-map-popup-text {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 600px;
}

.aw-map-popup.has-image .aw-map-popup-text {
  max-width: calc(600px - 32px - .75rem);
}

.aw-map-popup-title,
.aw-map-popup-description {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.aw-map-popup-title {
  min-width: 0;
}

.aw-map-popup-description {
  margin-top: .25rem;
}

.aw-map-popup-links {
  margin-top: .25rem;
  white-space: nowrap;
}

@media (max-width:768px){
.folder-content-item{width:100%!important;margin-right:0!important}
}
@media (max-width:720px){
#folder-image{float:none;display:block;margin:0 0 1em 0;width:100%;height:auto}
#folder-image img{width:100%;height:auto!important}
.folder-content-item{width:100%!important;margin-right:0!important}
}
@media (max-width:480px){
#folder-image{display:block;float:none;margin:0 0 1em 0}
#folder-image img{width:100%!important;height:auto!important}
.aw-contents-toolbar{gap:.4em}
.folder-content-item.with-image,.folder-content-item.with-image .folder-content-texts{min-height:0}
.folder-content-item .folder-content-image{float:none;margin:0 0 5px 0}
.row1 .folder-content-item{display:block}
.row1 .folder-content-item .folder-content-image{width:100%;margin:0 0 10px 0}
.row1 .folder-content-item .folder-content-image img{width:auto!important;max-width:100%;height:auto!important}
  .aw-map-popup {
    max-width: 70vw;
  }
}
