/*  phpBB3 Style Sheet
    --------------------------------------------------------------
	Style name:			prosilver (the default phpBB 3.1.x style)
	Based on style:
	Original author:	Tom Beddard ( http://www.subblue.com/ )
	Modified by:		phpBB Limited ( https://www.phpbb.com/ )
    --------------------------------------------------------------
*/

@import url("normalize.css");
@import url("base.css");
@import url("utilities.css");
@import url("common.css");
@import url("links.css");
@import url("content.css");
@import url("buttons.css");
@import url("cp.css");
@import url("forms.css");
@import url("icons.css");
@import url("colours.css");
@import url("responsive.css");


/* Contenitore header */
#page-header {
    position: relative;
    margin-bottom:	5px;
	border: 1px solid;
}

/* Fascia del banner */
#header-banner {
    position: relative;
    height: 220px; /* altezza del banner */
    overflow: hidden;
    background-color: #2c3e54; /* fallback */
}

/* Elemento che scorre */
#header-banner .mover {
    position: absolute;
    top: 0;
    left: 0;
    width: 300%; /* 3x la larghezza per loop fluido */
    height: 100%;
    background-repeat: repeat-x; /* importante per loop */
    background-position: 0 50%;
    background-size: auto 100%; /* mantiene proporzioni */
    transform: translate3d(0, 0, 0);
    animation: headerMove 80s linear infinite;
    will-change: transform;
}

/* Animazione */
@keyframes headerMove {
    100% {
        transform: translateX(-66.6666%);
    }
}

/* Logo centrato sopra il banner */
#header-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 950px;
    height: 130px;
    background: no-repeat center / contain;
    text-indent: -9999px;
    overflow: hidden;
}

/* Navbar sotto al banner */
#page-navbar {
    background: rgba(0, 0, 0, 0.45);
}

/* Accessibilità (per il testo nascosto nel logo) */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive */
@media (max-width: 768px) {
    #header-banner {
        height: 180px;
    }

    #header-logo {
        width: 220px;
        height: 56px;
    }
}