/* Solo presentazione delle fotografie: geometria, colori e componenti preservati. */
.photo-material{position:absolute;left:25px;right:20px;bottom:76px;z-index:2;display:block;width:max-content;max-width:calc(100% - 45px);padding:4px 7px;border-radius:4px;background:rgba(7,7,7,.8);color:#fff;font:700 10px/1.3 Arial,Helvetica,sans-serif;letter-spacing:.025em;pointer-events:none}
.photo-background-material{position:absolute;left:var(--gutter);bottom:20px;z-index:2;padding:4px 7px;border-radius:4px;background:rgba(7,7,7,.8);color:#fff;font:700 10px/1.3 Arial,Helvetica,sans-serif;pointer-events:none}
.personal-mode>.photo-material{top:24px;bottom:auto}
.centro-gallery img[data-photo-position="centro:centro-gallery:3"],.centro-gallery img[data-photo-position="centro:centro-gallery:4"],.centro-gallery img[data-photo-position="centro:centro-gallery:1"]{object-fit:contain;background:#151515}
.centro-gallery img[data-photo-position="centro:centro-gallery:2"]{object-fit:contain;background:#151515}
.contacts-photo img[data-photo-position]{object-fit:contain;background:#1f1f1f}
.activities-page .activity-card>.photo-material{left:28px;bottom:76px}
.activities-page .activity-location-card>.photo-material{left:16px;top:16px;bottom:auto}
.activities-page .activity-card:focus-within>.photo-material{visibility:hidden}
@media(hover:hover) and (pointer:fine){.activities-page .activity-card:hover>.photo-material{visibility:hidden}}
@media(max-width:700px){
 .activities-page .activity-card>.photo-material{left:14px;right:12px;bottom:45px;padding:3px 4px;max-width:calc(100% - 26px);font-size:8px;line-height:1.3;letter-spacing:0}
 .centro-course-card>.photo-material{left:23px;bottom:76px}
 .personal-mode>.photo-material{left:23px;top:24px;bottom:auto}
}
