@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Libre+Baskerville:400,700");
@import url("https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700");

/* Reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1; overflow-x: hidden; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
body { -webkit-text-size-adjust: none; }
*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

/* Containers */
.container { margin-left: auto; margin-right: auto; width: 80rem; }

/* Grid */
.row { border-bottom: solid 1px transparent; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
.row > * { float: left; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
.row:after, .row:before { content: ''; display: block; clear: both; height: 0; }
.row > * { padding: 0 0 0 2rem; }
.row { margin: 0 0 -1px -2rem; }
.row.uniform > * { padding: 2rem 0 0 2rem; }
.row.uniform { margin: -2rem 0 -1px -2rem; }
.\31 2u, .\31 2u\24 { width: 100%; clear: none; margin-left: 0; }
.\31 1u, .\31 1u\24 { width: 91.6666666667%; clear: none; margin-left: 0; }
.\31 0u, .\31 0u\24 { width: 83.3333333333%; clear: none; margin-left: 0; }
.\39 u, .\39 u\24 { width: 75%; clear: none; margin-left: 0; }
.\38 u, .\38 u\24 { width: 66.6666666667%; clear: none; margin-left: 0; }
.\37 u, .\37 u\24 { width: 58.3333333333%; clear: none; margin-left: 0; }
.\36 u, .\36 u\24 { width: 50%; clear: none; margin-left: 0; }
.\35 u, .\35 u\24 { width: 41.6666666667%; clear: none; margin-left: 0; }
.\34 u, .\34 u\24 { width: 33.3333333333%; clear: none; margin-left: 0; }
.\33 u, .\33 u\24 { width: 25%; clear: none; margin-left: 0; }
.\32 u, .\32 u\24 { width: 16.6666666667%; clear: none; margin-left: 0; }
.\31 u, .\31 u\24 { width: 8.3333333333%; clear: none; margin-left: 0; }

/* Offset */
.-2u { margin-left: 16.66667%; }
.-4u { margin-left: 33.33333%; }

/* Basic */
@-ms-viewport { width: device-width; }
body { -ms-overflow-style: scrollbar; background: #fff; }
body.is-loading *, body.is-loading *:before, body.is-loading *:after {
    -moz-animation: none !important; -webkit-animation: none !important;
    -ms-animation: none !important; animation: none !important;
    -moz-transition: none !important; -webkit-transition: none !important;
    -ms-transition: none !important; transition: none !important;
}

/* Type */
html { font-size: 13pt; }
body { background-color: #fff; color: #444; }
body, input, select, textarea { font-family: "Poppins", sans-serif; font-weight: 300; font-size: 1rem; line-height: 1.65; }
a { text-decoration: underline; color: #97181d; }
a:hover { text-decoration: none; }
strong, b { font-weight: 600; color: #555; }
em, i { font-style: italic; }
p { margin: 0 0 2rem 0; }
p.special {
    text-transform: uppercase; font-size: .75rem; font-weight: 300;
    margin: 0 0 .5rem 0; padding: 0 0 1rem 0; letter-spacing: .25rem;
    position: relative;
}
p.special:after {
    content: ''; position: absolute; margin: auto; right: 0; bottom: 0;
    left: 0; width: 50%; height: 1px; background-color: rgba(0, 0, 0, 0.125);
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Baskerville', Georgia, serif; font-weight: 300;
    line-height: 1.5; margin: 0 0 1rem 0; font-variant: small-caps; color: #555;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; text-decoration: none; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
header p { position: relative; margin: 0 0 1.5rem 0; color: #bbb; }
ul { list-style: disc; margin: 0 0 2rem 0; padding-left: 1rem; }
ul li { padding-left: 0.5rem; }
ul.contact-list { list-style: none; padding-left: 0; }
ul.contact-list li { padding-left: 0; padding: 0.3rem 0; font-size: 0.95rem; }
ul.contact-list li i { width: 20px; text-align: center; margin-right: 0.5rem; color: #97181d; }

/* Box */
.box { margin-bottom: 2rem; background: #FFF; border-radius: 2px; }
.box .content { padding: 3rem; }
.box header p {
    text-transform: uppercase; font-size: .75rem; font-weight: 300;
    margin: 0 0 .25rem 0; padding: 0 0 .75rem 0; letter-spacing: .25rem; position: relative;
}
.box header p:after {
    content: ''; position: absolute; margin: auto; right: 0; bottom: 0;
    left: 0; width: 50%; height: 1px; background-color: rgba(0, 0, 0, 0.125);
}
.box > :last-child, .box > :last-child > :last-child, .box > :last-child > :last-child > :last-child { margin-bottom: 0; }

/* Button */
input[type="submit"], input[type="reset"], input[type="button"], button, .button {
    -moz-appearance: none; -webkit-appearance: none; -ms-appearance: none; appearance: none;
    -moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    -ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    border-radius: 2px; border: 0; cursor: pointer; display: inline-block;
    font-weight: 300; height: 2.85rem; line-height: 2.95rem; padding: 0 1.5rem;
    text-align: center; text-decoration: none; white-space: nowrap; text-transform: uppercase;
    background-color: #8a4680; color: #ffffff !important;
}
input[type="submit"]:hover, .button:hover { background-color: #9b4f90; }

/* Button light variant */
.button.light {
    background-color: #ffffff;
    color: #97181d !important;
}
.button.light:hover {
    background-color: #f2f2f2;
}

/* Image */
.image { border-radius: 2px; border: 0; display: inline-block; position: relative; }
.image img { border-radius: 2px; display: block; }
.image.fit { display: block; margin: 0 0 2rem 0; width: 100%; }
.image.fit img { width: 100%; }

/* Align */
.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }

/* Narrow centered container */
.narrow-center {
    max-width: 66.667%;
    margin: 0 auto;
    text-align: center;
}
@media screen and (max-width: 980px) {
    .narrow-center { max-width: 80%; }
}
@media screen and (max-width: 736px) {
    .narrow-center { max-width: 100%; }
}

/* Wrapper */
.wrapper { padding: 6rem 0 4rem 0; position: relative; margin: 0; }
.wrapper > .inner { margin: 0 auto; width: 80rem; }

/* Wrapper Style1 — Viola */
.wrapper.style1 { background-color: #8a4680; color: #e2d1df; }
.wrapper.style1 a { color: #ffffff; }
.wrapper.style1 strong, .wrapper.style1 b { color: #ffffff; }
.wrapper.style1 h1, .wrapper.style1 h2, .wrapper.style1 h3,
.wrapper.style1 h4, .wrapper.style1 h5, .wrapper.style1 h6 { color: #ffffff; }
.wrapper.style1 p { color: rgba(255,255,255,0.85); }
.wrapper.style1 header p { color: rgba(255,255,255,0.5); }
.wrapper.style1 p.special:after { background-color: rgba(255, 255, 255, 0.25); }
.wrapper.style1 ul { list-style: none; padding-left: 0; }
.wrapper.style1 ul li { padding-left: 0; padding: 0.4rem 0; position: relative; padding-left: 1.2rem; }
.wrapper.style1 ul li:before { content: '\f00c'; font-family: FontAwesome; position: absolute; left: 0; color: rgba(255,255,255,0.6); font-size: 0.8rem; }
.wrapper.style1 .box { background: rgba(255,255,255,0.08); border-radius: 4px; }
.wrapper.style1 .box header p:after { background-color: rgba(255,255,255,0.15); }

/* Wrapper Style2 — Grigio */
.wrapper.style2 { background-color: #f2f2f2; color: #444; }
.wrapper.style2 a { color: #8a4680; }
.wrapper.style2 strong, .wrapper.style2 b { color: #444; }
.wrapper.style2 h1, .wrapper.style2 h2, .wrapper.style2 h3,
.wrapper.style2 h4, .wrapper.style2 h5, .wrapper.style2 h6 { color: #555; }
.wrapper.style2 header p { color: #999; }
.wrapper.style2 p.special:after { background-color: rgba(0,0,0,0.08); }

/* Wrapper Style9 — Bordeaux istituzionale */
.wrapper.style9 { background-color: #97181d; color: #e8c8ca; }
.wrapper.style9 input, .wrapper.style9 select, .wrapper.style9 textarea { color: #ffffff; }
.wrapper.style9 a { color: #ffffff; }
.wrapper.style9 strong, .wrapper.style9 b { color: #ffffff; }
.wrapper.style9 h1, .wrapper.style9 h2, .wrapper.style9 h3,
.wrapper.style9 h4, .wrapper.style9 h5, .wrapper.style9 h6 { color: #ffffff; }
.wrapper.style9 p { color: rgba(255,255,255,0.85); }
.wrapper.style9 header p { color: rgba(255,255,255,0.5); }
.wrapper.style9 p.special:after { background-color: rgba(255, 255, 255, 0.25); }
.wrapper.style9 ul { list-style: none; padding-left: 0; }
.wrapper.style9 ul li { padding-left: 0; padding: 0.4rem 0; position: relative; padding-left: 1.2rem; }
.wrapper.style9 ul li:before { content: '\f00c'; font-family: FontAwesome; position: absolute; left: 0; color: rgba(255,255,255,0.6); font-size: 0.8rem; }
.wrapper.style9 .box { background: rgba(255,255,255,0.1); border-radius: 4px; }
.wrapper.style9 .box header p:after { background-color: rgba(255,255,255,0.15); }

/* Timeline */
.timeline { position: relative; max-width: 900px; margin: 3rem auto 0; padding-left: 40px; }
.timeline:before {
    content: ''; position: absolute; left: 15px; top: 0; bottom: 0;
    width: 2px; background: rgba(0,0,0,0.12);
}
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-marker {
    position: absolute; left: -40px; top: 5px; width: 16px; height: 16px;
    border-radius: 50%; border: 2px solid #fff;
}
.timeline-marker.official { background: #8a4680; border-color: #f2f2f2; }
.timeline-marker.autobiographic { background: #bbb; border-color: #f2f2f2; }
.timeline-content {
    background: #fff; padding: 1.5rem 2rem; border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.timeline-date {
    font-family: "Poppins", sans-serif; font-size: 0.75rem; font-weight: 600;
    color: #8a4680; text-transform: uppercase; letter-spacing: 0.05rem;
}
.timeline-content h3 {
    margin: 0.3rem 0 0.5rem 0; font-size: 1.1rem; color: #555;
}
.timeline-content p {
    font-size: 0.9rem; margin: 0; color: #666; line-height: 1.6;
}
.timeline-badge {
    display: inline-block; font-family: "Poppins", sans-serif;
    font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05rem;
    padding: 0.15rem 0.5rem; border-radius: 2px; margin-top: 0.5rem;
}
.timeline-badge.official { background: rgba(138,70,128,0.1); color: #8a4680; }
.timeline-badge.autobiographic { background: rgba(0,0,0,0.06); color: #888; }

/* Tiles */
.tiles {
    display: -moz-flex; display: -webkit-flex; display: -ms-flex; display: flex;
    -moz-flex-wrap: wrap; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap;
    position: relative; margin: -2.0em 0 0 -2.0em;
}
.tiles article {
    -moz-transition: -moz-transform 0.5s ease, opacity 0.5s ease;
    -webkit-transition: -webkit-transform 0.5s ease, opacity 0.5s ease;
    -ms-transition: -ms-transform 0.5s ease, opacity 0.5s ease;
    transition: transform 0.5s ease, opacity 0.5s ease;
    position: relative; width: calc(33.333% - 2.5em); margin: 2.0em 0 0 2.0em;
}
.tiles article > .image {
    -moz-transition: -moz-transform 0.5s ease;
    -webkit-transition: -webkit-transform 0.5s ease;
    -ms-transition: -ms-transform 0.5s ease;
    transition: transform 0.5s ease;
    position: relative; display: block; width: 100%; border-radius: 5px; overflow: hidden;
}
.tiles article > .image img { display: block; width: 100%; }
.tiles article > .image:before {
    -moz-pointer-events: none; -webkit-pointer-events: none; -ms-pointer-events: none;
    pointer-events: none;
    -moz-transition: background-color 0.5s ease, opacity 0.5s ease;
    -webkit-transition: background-color 0.5s ease, opacity 0.5s ease;
    -ms-transition: background-color 0.5s ease, opacity 0.5s ease;
    transition: background-color 0.5s ease, opacity 0.5s ease;
    content: ''; display: block; position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; opacity: 0.8; z-index: 1;
}
.tiles article > .image:after {
    -moz-pointer-events: none; -webkit-pointer-events: none; -ms-pointer-events: none;
    pointer-events: none;
    -moz-transition: opacity 0.5s ease;
    -webkit-transition: opacity 0.5s ease;
    -ms-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
    content: ''; display: block; position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cstyle%3Eline %7B stroke-width: 0.25px%3B stroke: %23ffffff%3B %7D%3C/style%3E%3Cline x1='0' y1='0' x2='100' y2='100' /%3E%3Cline x1='100' y1='0' x2='0' y2='100' /%3E%3C/svg%3E");
    background-position: center; background-repeat: no-repeat;
    background-size: 100% 100%; opacity: 0.25; z-index: 2;
}
.tiles article > a {
    display: -moz-flex; display: -webkit-flex; display: -ms-flex; display: flex;
    -moz-flex-direction: column; -webkit-flex-direction: column; -ms-flex-direction: column;
    flex-direction: column;
    -moz-align-items: center; -webkit-align-items: center; -ms-align-items: center; align-items: center;
    -moz-justify-content: center; -webkit-justify-content: center; -ms-justify-content: center; justify-content: center;
    -moz-transition: background-color 0.5s ease, -moz-transform 0.5s ease;
    -webkit-transition: background-color 0.5s ease, -webkit-transform 0.5s ease;
    -ms-transition: background-color 0.5s ease, -ms-transform 0.5s ease;
    transition: background-color 0.5s ease, transform 0.5s ease;
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    padding: 1em; border-radius: 4px; border-bottom: 0;
    color: #ffffff; text-align: center; text-decoration: none; z-index: 3;
}
.tiles article > a:hover { color: #ffffff !important; }
.tiles article > a h2 {
    font-size: 12pt; color: #fff; margin: 0; text-decoration: none;
}
.tiles article > a .content {
    -moz-transition: max-height 0.5s ease, opacity 0.5s ease;
    -webkit-transition: max-height 0.5s ease, opacity 0.5s ease;
    -ms-transition: max-height 0.5s ease, opacity 0.5s ease;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    width: 100%; max-height: 0; line-height: 1.5; margin-top: 0.35em; opacity: 0;
}
.tiles article > a .content > :last-child { margin-bottom: 0; }
.tiles article > a .content p { font-size: 10pt; text-align: center; margin: 0; }

/* Tile color overlays */
.tiles article.style1 > .image:before { background-color: #97181d; }
.tiles article.style2 > .image:before { background-color: #4e7281; }
.tiles article.style3 > .image:before { background-color: #124e1f; }
.tiles article.style4 > .image:before { background-color: #5d4b49; }
.tiles article.style5 > .image:before { background-color: #0c509f; }
.tiles article.style6 > .image:before { background-color: #d51e29; }
.tiles article.style7 > .image:before { background-color: #166f57; }
.tiles article.style8 > .image:before { background-color: #e3602d; }

/* Tile hover effects */
body:not(.is-touch) .tiles article:hover > .image {
    -moz-transform: scale(1.1); -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1); transform: scale(1.1);
}
body:not(.is-touch) .tiles article:hover > .image:before {
    background-color: #333333; opacity: 0.35;
}
body:not(.is-touch) .tiles article:hover > .image:after { opacity: 0; }
body:not(.is-touch) .tiles article:hover .content { max-height: 15em; opacity: 1; }
body.is-loading .tiles article {
    -moz-transform: scale(0.9); -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9); transform: scale(0.9); opacity: 0;
}
body.is-touch .tiles article .content { max-height: 15em; opacity: 1; }

/* Tiles responsive */
@media screen and (max-width: 1280px) {
    .tiles { margin: -1.25em 0 0 -1.25em; }
    .tiles article { width: calc(33.333% - 1.25em); margin: 1.25em 0 0 1.25em; }
}
@media screen and (max-width: 980px) {
    .tiles { margin: -2.5em 0 0 -2.5em; }
    .tiles article { width: calc(50% - 2.5em); margin: 2.5em 0 0 2.5em; }
}
@media screen and (max-width: 736px) {
    .tiles { margin: -1.25em 0 0 -1.25em; }
    .tiles article { width: calc(50% - 1.25em); margin: 1.25em 0 0 1.25em; }
    .tiles article:hover > .image {
        -moz-transform: scale(1.0); -webkit-transform: scale(1.0);
        -ms-transform: scale(1.0); transform: scale(1.0);
    }
}
@media screen and (max-width: 480px) {
    .tiles { margin: 0; }
    .tiles article { width: 100%; margin: 1.25em 0 0 0; }
}

/* Header */
body.subpage { padding-top: 3.25em; }
@-moz-keyframes reveal-header { 0% { top: -4em; opacity: 0; } 100% { top: 0; opacity: 1; } }
@-webkit-keyframes reveal-header { 0% { top: -4em; opacity: 0; } 100% { top: 0; opacity: 1; } }
@-ms-keyframes reveal-header { 0% { top: -4em; opacity: 0; } 100% { top: 0; opacity: 1; } }
@keyframes reveal-header { 0% { top: -4em; opacity: 0; } 100% { top: 0; opacity: 1; } }

#header {
    background: rgba(151, 24, 29, 0.975); color: #a6a6a6; cursor: default;
    height: 3.25em; left: 0; line-height: 3.25em; position: fixed;
    text-align: right; top: 0; width: 100%; z-index: 10001;
}
#header > .logo {
    display: inline-block; height: inherit; left: 1.0em; line-height: inherit;
    margin: 0; padding: 0; position: absolute; top: 0;
}
#header > .logo a {
    font-family: 'Libre Baskerville', Georgia, serif; color: #fff;
    font-size: .75em; text-decoration: none; text-transform: uppercase;
}
#header > .logo a:hover { color: rgba(255, 255, 255, 0.65); }
#header > a {
    -moz-transition: color 0.2s ease-in-out; -webkit-transition: color 0.2s ease-in-out;
    -ms-transition: color 0.2s ease-in-out; transition: color 0.2s ease-in-out;
    display: inline-block; padding: 0 0.75em; color: inherit; text-decoration: none; color: #FFF;
}
#header > a:hover { color: #f2f2f2; }
#header > a[href="#menu"] { text-decoration: none; -webkit-tap-highlight-color: transparent; }
#header > a[href="#menu"]:before {
    content: "\f0c9"; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased;
    font-family: FontAwesome; font-style: normal; font-weight: normal; text-transform: none !important;
    margin: 0 0.5em 0 0;
}
#header > a + a[href="#menu"]:last-child {
    border-left: solid 1px rgba(0, 0, 0, 0.15); padding-left: 1.25em; margin-left: 0.5em;
}
#header > a:last-child { padding-right: 1.25em; }
#header.reveal {
    -moz-animation: reveal-header 0.5s ease; -webkit-animation: reveal-header 0.5s ease;
    -ms-animation: reveal-header 0.5s ease; animation: reveal-header 0.5s ease;
}
#header.alt {
    -moz-animation: none; -webkit-animation: none; -ms-animation: none; animation: none;
    background-color: transparent; box-shadow: none; overflow: hidden; position: absolute; top: 1.5em;
}

/* Menu Sidebar */
#menu {
    -moz-transform: translateX(20rem); -webkit-transform: translateX(20rem);
    -ms-transform: translateX(20rem); transform: translateX(20rem);
    -moz-transition: -moz-transform 0.5s ease, box-shadow 0.5s ease, visibility 0.5s;
    -webkit-transition: -webkit-transform 0.5s ease, box-shadow 0.5s ease, visibility 0.5s;
    -ms-transition: -ms-transform 0.5s ease, box-shadow 0.5s ease, visibility 0.5s;
    transition: transform 0.5s ease, box-shadow 0.5s ease, visibility 0.5s;
    -webkit-overflow-scrolling: touch; background: rgba(151, 24, 29, 0.95);
    box-shadow: none; color: #000; height: 100%; max-width: 80%;
    overflow-y: auto; padding: 3rem 2rem; position: fixed; right: 0; top: 0;
    visibility: hidden; width: 20rem; z-index: 10002;
}
#menu > ul { margin: 0 0 1rem 0; }
#menu > ul.links { list-style: none; padding: 0; }
#menu > ul.links > li { padding: 0; }
#menu > ul.links > li > a:not(.button) {
    border: 0; border-top: solid 1px rgba(255, 255, 255, 0.125);
    color: rgba(255, 255, 255, 0.5); display: block; line-height: 3.5rem;
    text-decoration: none; text-transform: uppercase;
}
#menu > ul.links > li > a:not(.button):hover { color: #FFF; }
#menu > ul.links > li:first-child > a:not(.button) { border-top: 0 !important; }
#menu .close {
    text-decoration: none; -moz-transition: color 0.2s ease-in-out;
    -webkit-transition: color 0.2s ease-in-out; -ms-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out; -webkit-tap-highlight-color: transparent;
    border: 0; color: #999999; cursor: pointer; display: block; height: 3.25rem;
    line-height: 3.25rem; padding-right: 1.25rem; position: absolute; right: 0;
    text-align: right; top: 0; vertical-align: middle; width: 7rem;
}
#menu .close:before {
    -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased;
    font-family: FontAwesome; font-style: normal; font-weight: normal;
    text-transform: none !important; content: '\f00d'; font-size: 1.25rem;
}
#menu .close:hover { color: #000; }
#menu.visible {
    -moz-transform: translateX(0); -webkit-transform: translateX(0);
    -ms-transform: translateX(0); transform: translateX(0);
    box-shadow: 0 0 1.5rem 0 rgba(0, 0, 0, 0.2); visibility: visible;
}

/* Banner */
.banner { background-color: #7c273b; color: #dfcacb; padding: 4em 0; position: relative; }
.banner a { color: #ffffff; }
.banner strong, .banner b { color: #ffffff; }
.banner h1, .banner h2, .banner h3, .banner h4, .banner h5, .banner h6 { color: #ffffff; }
.banner.full { padding: 0; min-height: 100vh; height: 100vh !important; }
.banner > article {
    -moz-transition: opacity 1.5s ease, visibility 1.5s;
    -webkit-transition: opacity 1.5s ease, visibility 1.5s;
    -ms-transition: opacity 1.5s ease, visibility 1.5s;
    transition: opacity 1.5s ease, visibility 1.5s;
    background-attachment: fixed; background-position: center;
    background-repeat: no-repeat; background-size: cover;
    height: 100%; left: 0; opacity: 0; position: absolute;
    text-align: right; padding-right: 1.8em; top: 0; visibility: hidden;
    width: 100%; z-index: 0;
}
.banner > article:before { content: ''; display: inline-block; height: 100%; vertical-align: bottom; }
.banner > article:after {
    content: ''; display: block; width: 100%; height: 100%;
    position: absolute; top: 0; left: 0; background: #000; opacity: 0.45;
}
.banner > article .inner {
    position: relative; display: inline-block; vertical-align: bottom; z-index: 1;
}
.banner > article .inner > :last-child { margin-bottom: 10px; }
.banner > article h2 {
    font-size: 0.7rem; margin-bottom: 0; color: #fff; font-weight: 300;
}
.banner > article h2:after { display: none; }
.banner > article p {
    color: rgba(255, 255, 255, 0.65); text-transform: uppercase;
    font-size: 1rem; font-weight: 300; margin: 0; padding-bottom: 1.5rem;
    letter-spacing: .25rem;
}
.banner > article a { color: #FFF; text-decoration: none; }
.banner > article img { display: none; }
.banner > article.visible { opacity: 1; visibility: visible; }
body.is-loading .banner:after { opacity: 1.0; visibility: visible; }

/* Main */
#main { padding: 4rem 0 2rem 0; }

/* Footer */
#footer {
    padding: 4rem 0 2rem 0; background: rgba(151, 24, 29, 0.95);
    text-align: center;
}
#footer a { color: rgba(255, 255, 255, 0.5); }
#footer a:hover { color: #FFF; }
#footer .copyright { color: #bbb; font-size: 0.9rem; margin: 0 0 2rem 0; padding: 0; text-align: center; }
#footer .copyright p { color: #ccc; }

/* Responsive */

@media screen and (max-width: 1680px) {
    html { font-size: 11pt; }
    .container { width: 80rem; }
    .wrapper > .inner { width: 80rem; }
}

@media screen and (max-width: 1280px) {
    html { font-size: 11pt; }
    .wrapper > .inner { width: 75rem; }
    .row > * { padding: 0 0 0 1.5rem; }
    .row { margin: 0 0 -1px -1.5rem; }
    .row.uniform > * { padding: 1.5rem 0 0 1.5rem; }
    .row.uniform { margin: -1.5rem 0 -1px -1.5rem; }
}

@media screen and (max-width: 980px) {
    html { font-size: 12pt; }
    .wrapper > .inner { width: 90%; }
    .row > * { padding: 0 0 0 1.5rem; }
    .row { margin: 0 0 -1px -1.5rem; }
    /* Stack 3-column grids on tablets */
    #competenze .row { display: flex; flex-direction: column; margin: 0; }
    #competenze .row > * { width: 100%; float: none; padding: 0 0 1.5rem 0; margin-left: 0; }
    .row.uniform > * { padding: 1.5rem 0 0 1.5rem; }
    .row.uniform { margin: -1.5rem 0 -1px -1.5rem; }
    .\31 2u\28medium\29, .\31 2u\24\28medium\29 { width: 100%; }
    .\36 u\28medium\29, .\36 u\24\28medium\29 { width: 50%; }
    .\34 u\28medium\29, .\34 u\24\28medium\29 { width: 33.3333%; }
    .\38 u\28medium\29, .\38 u\24\28medium\29 { width: 66.6667%; }
    .\35 u\28medium\29, .\35 u\24\28medium\29 { width: 41.6667%; }
    .-2u\28medium\29 { margin-left: 16.66667%; }
    .-4u\28medium\29 { margin-left: 33.33333%; }
    .banner > article { background-attachment: scroll; }
    .banner.full { min-height: 70vh; height: 70vh !important; }
}

@media screen and (max-width: 736px) {
    html { font-size: 12pt; }
    .wrapper { padding: 3rem 0 1.5rem 0; }
    .wrapper > .inner { width: 90%; }
    .row > * { padding: 0 0 0 1rem; }
    .row { margin: 0 0 -1px -1rem; }
    .row.uniform > * { padding: 1rem 0 0 1rem; }
    .row.uniform { margin: -1rem 0 -1px -1rem; }
    .\31 2u\28small\29, .\31 2u\24\28small\29,
    .\36 u\28small\29, .\36 u\24\28small\29,
    .\34 u\28small\29, .\34 u\24\28small\29,
    .\38 u\28small\29, .\38 u\24\28small\29,
    .\35 u\28small\29, .\35 u\24\28small\29 { width: 100%; clear: both; float: none; }
    .-2u\28small\29, .-4u\28small\29 { margin-left: 0; }
    /* Stack all grid rows via flexbox — replaces fragile escaped selectors */
    .row { display: flex; flex-direction: column; margin: 0; }
    .row > * { width: 100%; float: none; padding: 0 0 1rem 0; margin-left: 0; box-sizing: border-box; }
    .row > .-2u, .row > .-4u { margin-left: 0; }
    /* Header */
    #header > a { padding: 0 0.5em; }
    #header > a + a[href="#menu"]:last-child { padding-left: 1em; margin-left: 0.25em; }
    #header > a:last-child { padding-right: 1em; }
    #header > .logo { left: .5em; top: 0; }
    #header > .logo a { font-size: .65em; }
    /* Menu */
    #menu { padding: 2.5rem 1.75rem; width: 16rem; }
    #menu .close { height: 4rem; line-height: 4rem; }
    /* Banner */
    .banner.full { min-height: 60vh; height: 60vh !important; }
    .banner > article { text-align: center; padding-right: 0; }
    .banner > article:before { vertical-align: middle; }
    .banner > article .inner { width: 90%; vertical-align: middle; }
    .banner > article h2 { font-size: 1.6rem; }
    .banner > article p { font-size: 0.75rem; letter-spacing: 0.12rem; margin-bottom: 0; }
    /* Box */
    .box .content { padding: 1.5rem; }
    /* Timeline */
    .timeline { padding-left: 28px; margin-top: 2rem; }
    .timeline-marker { left: -28px; width: 12px; height: 12px; }
    .timeline-content { padding: 1rem 1.25rem; }
    .timeline-content p { font-size: 0.85rem; }
}

@media screen and (max-width: 480px) {
    html { font-size: 11pt; }
    .wrapper > .inner { width: 92% !important; }
    .container { width: 92% !important; }
    .wrapper { padding: 2.5rem 0 1rem 0; }
    .row > * { padding: 0; }
    .row { margin: 0; }
    /* Banner */
    .banner.full { min-height: 55vh; height: 55vh !important; }
    .banner > article h2 { font-size: 1.3rem; }
    .banner > article p { font-size: 0.65rem; letter-spacing: 0.06rem; }
    /* Box */
    .box .content { padding: 1.25rem; }
    /* Timeline */
    .timeline { padding-left: 22px; }
    .timeline-marker { left: -22px; width: 10px; height: 10px; }
    .timeline-content { padding: 0.85rem 1rem; }
    .timeline-date { font-size: 0.7rem; }
    .timeline-content h3 { font-size: 1rem; }
    .timeline-content p { font-size: 0.8rem; }
    /* Header */
    #header > .logo a { font-size: .55em; }
    /* Footer */
    #footer .copyright { font-size: 0.8rem; }
    #footer .copyright p { font-size: 0.8rem; }
}

@media screen and (max-width: 360px) {
    html { font-size: 10pt; }
    .wrapper > .inner { width: 94% !important; }
    .banner.full { min-height: 50vh; height: 50vh !important; }
    .banner > article h2 { font-size: 1.1rem; }
    .banner > article p { font-size: 0.6rem; letter-spacing: 0.04rem; }
    .box .content { padding: 1rem; }
    #menu { width: 14rem; padding: 2rem 1.25rem; }
    .timeline { padding-left: 18px; }
    .timeline-marker { left: -18px; width: 8px; height: 8px; }
    .timeline-content { padding: 0.75rem; }
}
