/**{
  border: 1px solid red;
}*/
.award{
  background-color: #efefef;
  color: black;
  height: 2.6rem;
  text-align: center;
  padding-top: 0rem;

}
.award img{
  height: 1.3rem;
  margin-right: 1rem;
  padding-top: 0.1rem;
  position: relative;
  top: 0.1rem;
}
.smartphone,
#asylum-countries-smartphone {
    display: none;
}

@font-face {
    font-family: 'calibre-bold';
    font-weight: normal;
    font-style: normal;
    src: url('../fonts/CalibreWeb-Bold.eot');
    src: url('../fonts/CalibreWeb-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/CalibreWeb-Bold.woff') format('woff'), url('../fonts/CalibreWeb-Bold.ttf') format('truetype'), url('../fonts/CalibreWeb-Bold.svg#calibre-bold') format('svg');
}

@font-face {
    font-family: 'calibre-semibold';
    font-weight: normal;
    font-style: normal;
    src: url('../fonts/CalibreWeb-Semibold.eot');
    src: url('../fonts/CalibreWeb-Semibold.eot?#iefix') format('embedded-opentype'), url('../fonts/CalibreWeb-Semibold.woff') format('woff'), url('../fonts/CalibreWeb-Semibold.ttf') format('truetype'), url('../fonts/CalibreWeb-Semibold.svg#CalibreWeb-Semibold') format('svg');
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

.language-switcher {
    text-align: center;
    padding: : 1rem 0 1rem 0!important;
    margin: 0!important;
    background: #0000ff;
    color: white;
    /*display: none;*/
}

.language-switcher a {
    color: white;
    background: transparent;
}

image {
    image-rendering: pixelated;
}

body {
    font-family: 'Inconsolata', monospace;
    font-size: 1.65rem;
    letter-spacing: 0.01rem;
    font-weight: 400;
    line-height: 1.6;
    color: #222;
    background-color: #efefef;
    text-rendering: optimizeLegibility;
    /*border-image: url(../images/grey-paper-texture.jpg);*/
}

a {
    color: #000000;
    /*background-color: rgba(255, 255, 0, 0.42);*/
    text-decoration: underline;
    padding: 0 0.1rem;
}

.highlight {
    color: #000000;
    background-color: rgba(255, 255, 0, 0.36);
    padding: 0 0.1rem 0.63rem;
    /*text-decoration: underline;*/
}

a:hover {
    color: #000000;
    background-color: rgba(255, 255, 0, 0.36);
    /*text-decoration: none; */
    /*background-color: transparent;*/
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'calibre-bold';
    color: black;
    margin-bottom: -1.3rem;
}

h3 {
    margin-bottom: -0.2rem;
}

.logo {
    background: url(../images/europa-dreaming.png);
    background-position-x: 50%;
    height: 7rem;
    background-size: 163px 72.5px;
    display: none;
}

.title {
    margin-top: 10rem;
    text-align: center;
    font-size: 5rem;
    font-family: "Calibre-bold", Times;
    margin-bottom: -0.1rem;
}


/* TIMELINE */

button {
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: normal;
    letter-spacing: 0.05rem;
}

button:active {
    color: #333;
    outline: 0;
    text-transform: uppercase;

}

button:focus {
    color: #333;
    border-color: transparent;
    outline: 0;
    text-transform: uppercase;
    background-color: rgba(203, 210, 214, 0.45);
    color: rgb(60, 58, 58);
}
button.focus {
    color: #333;
    border-color: transparent;
    outline: 0;
    text-transform: uppercase;
    background-color: rgba(203, 210, 214, 0.45);
    color: rgb(60, 58, 58);
}


/* carousel */

.brennero-carousel-container {
    /* width: 1200px;*/
    background-color: white;
    overflow: hidden;
    margin: 0!important;
    height: 54rem;
}

.brennero-carousel-container #italian {
    opacity: .55;
}

.brennero-carousel-container #spanish {
    opacity: .55;
}

.brennero-carousel-container #greek {
    opacity: .2;
}

.brennero-carousel-container #turkey {
    opacity: .2;
}

.brennero-svg-container {
    /* width: 1200px; */
    background-color: transparent;
    margin: 0!important;
    position: relative;
    /*top: -23rem;
    background-color: transparent;*/
}

.brennero-carousel {
    width: 100%;
    height: 54rem;
}

.gallery-cell {
    background-color: #FFFFFF;
    width: 100%;
    height: 100%;
    padding: 3em 6em;
    margin: 0 auto;
}

.flickity-page-dots {
    display: none;
}

.flickity-prev-next-button {
    padding: 0px;
}

#timeline-svg {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    display: block;
    position: relative;
    top: 0;
    left: 0;
}

#eventi .event,
#eventi .event:hover {
    cursor: pointer;
}

#sfondo-anni {
    fill: #EFEFEF!important;
}


/* svg */

.gallery-cell {
    background-size: 100%;
}

.gallery-cell h3 {
    margin-bottom: 0rem;
}

#sfondo {
    display: none;
}

.event-label {
    font-size: 1.3rem;
    fill: #efefef;
    font-weight: 500;
    cursor: pointer;
    font-family: Calibre;
    letter-spacing: 0.03rem;
}

#eventi > rect {
    transform: translate(0px, -2px);
}

#eventi > text {
    transform: translate(1px, 0px);
}

#eventi > text,
#anni > text {
    font-size: 1rem;
    font-weight: 400;
}

.bg-line {
    stroke-dasharray: 0, 4.991;
}

.bg-line,
.bg-line-2 {
    fill: none;
    stroke: #4d4d4d;
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-miterlimit: 10;
}

#brenner-wall {
    transform-origin: center;
    transform: translate(0px, 13px) rotate(50deg);
}


/*#eventi > g:hover {
    fill: #efefef;
}
*/

#eventi text {
    font-size: 1.3rem;
}

.active polygon,
.active rect {
    fill: #FFF!important;
    stroke: #000!important;
    stroke-width: 2px!important;
}

.active text {
    fill: #000!important;
    font-family: Calibre-Semibold;
}

#aste line,
#aste path {
    fill: none;
    stroke: #000;
    stroke-width: 2px;
    transform: translateX(-1.5px);
}

#guerre polygon {
    fill: #b3b3b3;
}

.black-back {
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: .83;
    position: absolute;
    top: 0;
    left: 0;
}

#nasce-brennero {
    background-image: url("http://www.mediafire.com/convkey/ec5c/du5a8pc5dnk59f5zg.jpg");
}

.gallery-cell p {
    background-size: 100%;
    color: #efefef!important;
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 2.4rem;
}

.gallery-cell h3,
.gallery-cell h5 {
    background-size: 100%;
    color: #efefef!important;
    letter-spacing: 0.02rem;
    margin-bottom: 0;
    height: 4rem;
}

.gallery-cell iframe {
    max-width: 960px;
    max-height: 540px;
    /* width: 47.2vw;
    height: 36vw;*/
    width: 31.2vw;
    height: 24vw;
    margin: 0 auto;
}

#optanti {
    background-image: url("../images/timeline/optanten2.jpg");
}

#brennero-ww1 {
    background-image: url("../images/timeline/mondia03.jpg");
}

#seconda-guerra-mondiale {
    background-image: url("../images/timeline/brennero-ww2.jpg");
}

#gastarbeiter .video-container {
    text-align: left;
}

#migranti-brennero {
    background-image: url("../images/timeline/1920_cappella_culti_p.jpg");
}

#nasce-brennero {
    background-image: url("../images/DomCorr1921001.jpg");
}

#primi-lavoratori {
    background-image: url("../images/timeline/ruralinazi.jpg");
}

#gastarbeiter {
    background-image: url("../images/timeline/monacocentrale1960.jpg");
}

#rientro-profughi {
    background-image: url("../images/timeline/profughi-italiani-in_fuga-caporetto-sito.jpg");
}

#primo-levi-back {
    background-image: url("../images/timeline/primo-levi-back.jpg");
}

#milionesimo {
    background-image: url("../images/timeline/Der-millionste-Gastarbeiter.jpg");
}

#ponte-europa {
    background-image: url("../images/timeline/europabrucke.jpg");
}

#profughi-jugoslavia {
    background-image: url("../images/timeline/hugo-senoner.jpg");
}

#primo-levi {
    z-index: 15;
}

#anni-boom {
    background-image: url("../images/timeline/merhaba_autos.jpg");
}

#nuova-forza-lavoro {
    background-image: url("../images/timeline/nuova-forza-lavoro.jpg");
}

#aboliti-confini {
    background-image: url("../images/timeline/aboliti-i-confini.jpg");
}

#muro-brennero {
    background-image: url("../images/timeline/brennero-chiuso.jpg");
}

#trattato-schengen {
    background-image: url("../images/timeline/schengen-agreement.jpg");
}

#italiani-germania {
    background-image: url("../images/timeline/italiani-in-germania.jpg");
}

#primo-levi img {
    max-width: 840px;
    width: 100%;
    top: -2rem;
    left: -2rem;
    z-index: -1;
    position: relative;
}

.riammissioni {
    display: none;
}


/*.brennero-carousel iframe {

    max-width: 960px;
    max-height: 540px;
    width: 62.2vw;
    height: 50vw;
}
*/

#rientro-profughi .six {
    overflow: hidden;
}


/* END TIMELINE */

.video-langer img {
    width: 100%;
}

.didascalie h6 {
    font-family: 'calibre-semibold';
    margin-bottom: 0;
    line-height: 2.3rem;
    padding-right: 2px;
}

.didascalie p,
.didascalie h6 {
    position: relative;
    top: -2.9rem;
    padding: 0 0.2rem 0 2%;
    text-align: left;
}

.row.didascalie:nth-child(2) {
    position: relative;
    top: -3rem;
}

.didascalie p {
    font-family: 'Inconsolata';
    font-size: 1.3rem;
    line-height: 1.8rem;
}

.didascalie span {
    color: white;
    padding: 0.2rem;
    background: black;
    box-shadow: 10px 0 0 black, -6px 0 0 black;
}

#dublin-anim li:nth-child(6) {
    border: 1px solid black;
    opacity: 0;
    padding: 0.8rem;
    position: relative;
    left: -1rem;
}

span#dublin-anim-step-6 {
    color: black;
    background: transparent;
    box-shadow: 0px 0 0 #F8F8AD, 0px 0 0 #F8F8AD;
}

.spain {
    background-color: rgba(159, 194, 255, .4);
    font-weight: normal;
    color: black;
    padding: 0 0.1rem;
}

.greece {
    background-color: rgba(255, 194, 184, .4);
    font-weight: normal;
    color: black;
    padding: 0 0.1rem;
}

.italy {
    background-color: rgba(177, 204, 107, .4);
    font-weight: normal;
    color: black;
    padding: 0 0.1rem;
}

#value-legend {
    text-align: left;
}

#migrants-arrival,
#asylum-request {
    text-align: center;
}

#asylum-request-static {
    max-width: 560px;
    display: none;
}

.rifugiati h4 {
    text-align: center;
    margin-bottom: -0.7rem;
    line-height: 2.9rem;
    margin-bottom: 0.6rem;
}

.rifugiati-chart {
    margin-top: 5rem;
}

.asilo-chart {
    margin-top: 10rem;
}

.asilo-chart.chart {
    margin-top: 0rem;
}

.asilo-chart .eight p {
    text-align: center;
}

.sources {
    font-size: 1.1rem;
    margin-top: 0rem;
    text-align: center;
}

.legend {
    text-align: center;
}

.legend svg {
    max-width: 10px;
}

.didascalie img {
    width: 100%;
    max-width: 320px;
}

.didascalie .columns {
    margin: 0.05%;
    width: 33.2%;
    /*background: black;*/
}

.player-interviste {
    width: 100%;
    text-align: center;
    margin: 0rem!important;
}

.player-interviste #text {
    text-align: left;
}

.player-interviste iframe {
    /* Reset default border */
    max-width: 960px;
    max-height: 540px;
    width: 100vw;
    height: 56.25vw;
}


/*making the video responsive*/

.vimeo-youtube {
    position: relative;
    padding-bottom: 54%;
    /*padding-bottom: 56.25%;*/
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.vimeo-youtube iframe,
.vimeo-youtube object,
.vimeo-youtube embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.interviste {
    text-align: left;
    margin: 0rem!important;
    position: relative;
    top: -0.6rem;
}

.interviste p {
    margin-bottom: 0px;
}

.fotorama__caption__wrap {
    padding: 0.5rem 13rem 1rem 13rem!important;
    background-color: black!important;
    color: white!important;
    font-family: inconsolata;
}

.fotorama__caption {
    text-align: center!important;
}

#photo-disclaimer {
    font-size: 80%;
    margin-bottom: 0.1rem;
}

.quote {
    font-size: 5.7rem;
    text-align: center;
    color: #FFFFFF;
    line-height: 6.4rem;
    margin-top: 10rem;
    margin-bottom: 10rem;
}

.quote p {
    color: black;
    font-size: 3rem;
}

.quote span {
    font-weight: bold;
    font-family: "Calibre-semibold", Times;
    text-align: center;
    background-color: black;
    color: #ffffff;
    box-decoration-break: clone;
    background: black;
    box-shadow: 10px 0 0 black, -10px 0 0 black;
}


/*.section.schengen .quote p span {
    font-weight: bold;
    font-family: "calibre-regular", Times;
    text-align: center;
    background-color: black;
    color: #ffffff;
    box-decoration-break: clone;
    background: black;
    box-shadow: 10px 0 0 black, -10px 0 0 black;
    font-size: 1rem;
}
*/

.section.europa-ermetica {
    display: none;
}

#map {
    width: 100%;
    height: 600px;
    background-color: black;
}

#typed {
    display: inline-block;
}

span.typed-cursor {
    opacity: 1;
    position: relative;
    -webkit-animation: blink 0.7s infinite;
    -moz-animation: blink 0.7s infinite;
    animation: blink 0.7s infinite;
    background-color: transparent!important;
    color: #000!important;
    padding-bottom: 1.3rem!important;
    box-shadow: none!important;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-moz-keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.schengen-map .container {
    max-width: 80%;
}

.schengen-map .map {
    text-align: right;
    margin-left: 0px;
}

.schengen-map .aquis {
    margin-left: 8%;
}

.schengen-map .comment {
    margin-left: 1rem;
    padding-top: 1.4rem;
}

.schengen-map .comment h4 {
    text-align: left!important;
    line-height: 4rem;
}

.schengen-map .comment .title {
    margin-top: 0rem!important;
}

.schengen-map .comment span {
    background-color: black;
    color: white;
    padding-bottom: 1.3rem;
    box-shadow: 7px 0 0 black, -7px 0 0 black;
}

svg#schengen-aquis {
    max-width: 960px;
    max-height: 618px;
}

ul#dublin-anim {
    list-style-type: none;
    margin-left: 0rem;
    margin-top: 1.5rem;
}

ul#dublin-anim li {
    margin-bottom: 1rem;
}

ul#dublin-anim p,
ul#dublin-anim li {
    margin-bottom: 0;
}

#dublin-anim li:nth-child(2),
#dublin-anim li:nth-child(6) {
    margin-top: 2.5rem;
}

#dublin-anim-step-1,
#dublin-anim-step-2,
#dublin-anim-step-3,
#dublin-anim-step-4,
#dublin-anim-step-5,
#dublin-anim-step-6 {
    background-color: black;
    color: #ffffff;
    box-decoration-break: clone;
    background: black;
    box-shadow: 10px 0 0 black, -10px 0 0 black;
    padding: 0.8rem 0;
}

.section.dublino {
    display: none;
}

.schengen-map {
    margin-bottom: 0;
    margin-left: 0;
}

.schengen-map #outer-border {
    opacity: 0;
}

.schengen-map #inner-border {
    opacity: 1;
}

.schengen-map #mobile-controls line {
    opacity: 0;
}

.schengen-map #airports rect,
.schengen-map #migrant-flow,
.schengen-map #migrant-border {
    opacity: 0;
}

.schengen-map .title {
    text-align: left;
}

.schengen-map h5 {
    font-size: 3.6rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.schengen-map #patch {
    transform: translate(0, -116px);
}

.assistenza {
    margin-top: 30rem!important;
    position: relative;
    top: -51px;
}

.assistenza .quote {
    margin-top: 0!important;
}

.comment img {
    position: relative;
    left: 2px;
    top: -21px;
    z-index: -1;
    display: none;
}


/*SVG DUBLINO*/


/*the arrows rotation happened in the SVG code */

#arrows-1 {
    clip-path: url(#mask-1);
    transform-origin: center;
}

@-webkit-keyframes rotating-reverse {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes rotating {
    from {
        -webkit-transform: rotate(360deg);
    }
    to {
        -webkit-transform: rotate(0deg);
    }
}

g#arrows-1 g,
g#arrows-2 g,
g#arrows-3 g {
    -webkit-animation: rotating 8s linear infinite;
    transform-origin: center;
}

g#arrows-4 g,
g#arrows-5 g {
    -webkit-animation: rotating-reverse 8s linear infinite;
    transform-origin: center;
}


/*PHOTOCOPY*/

body {
    background-image: url(../images/background/dirt.png);
}

.section {
    margin: 5rem 0 5rem 0;
}

.section.before-after {
    margin: 0;
    height: 66rem;
}

.section.before-after .vimeo-youtube {
    outline: 17px solid black;
    margin-top: 2rem;
}

.section.before-after .five {
    margin-top: 1rem;
}

.section.before-after .five p {
    margin-bottom: 0rem;
}

.section.sub-header {
    background-image: url(../images/background/E2317_06_90.gif);
    background-repeat: no-repeat;
    height: 10rem;
    margin: 0rem;
    background-position: 110%;
}

#bottom-twentytwenty {
    margin-top: 3rem;
}

.section.muri-europa {
    background-image: url(../images/background/E2317_06.gif);
    background-repeat: no-repeat;
    margin-top: 10rem;
}

.section.intro {
    position: relative;
    background-image: url(../images/background/E2317_06_90.gif);
    background-repeat: no-repeat;
    margin: 0rem;
    background-position: 110% 0%;
    padding: 0rem;
    margin-top: 6rem;
}

.intro h3 {
    text-align: center;
}

.section.intro p {
    margin-top: 1.25rem;
}

.section.header {
    margin-bottom: 0rem;
    margin-top: 0rem;
    height: 50rem;
    padding-top: 10rem;
}

.quote-mobile {
    display: none;
}

.section.timeline {
    background-image: url(../images/background/E2317_07.gif);
    background-repeat: no-repeat;
}

.section.timeline .title {
    padding-top: 6rem;
    margin-bottom: 0rem;
}

.section.schengen {
    background-image: url(../images/background/582d982055d45848b69149afbfb21ea6.gif);
    background-repeat: no-repeat;
    background-position-x: 100%;
}

.sogno {
    margin-bottom: 0;
}

.sogno h5 {
    line-height: 5rem;
    text-align: center;
}

.sogno .quote {
    margin-bottom: 3rem;
}

.quote {
    background-image: url(../images/background/E2317_06.gif);
    background-repeat: no-repeat;
}

.header .quote {
    margin-top: 12.1rem;
    background-image: none;
}

#schengen-dublin {
    stroke-dasharray: 0;
}

.now-playing {
    background-color: #000;
    /*    outline: 10px solid black;*/
    position: relative;
    border: 1px solid black;
}


/*ASYLUM*/

#value-cyprus,
#value-germany,
#value-uk,
#value-italy,
#value-croatia,
#value-greece,
#value-belgium,
#value-hungary,
#value-france,
#value-bulgaria {
    opacity: 0;
}

.drop-chart {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

ul {
    list-style-type: none;
    display: table-cell;
    vertical-align: middle;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

ul li {
    background-repeat: no-repeat;
    background-size: 7rem;
    text-align: left;
    vertical-align: middle;
}

ul li svg {
    width: 5rem;
    margin: auto;
}

.circle {
    background-color: transparent;
    border: 0.13rem solid #FFF;
    height: 50px;
    width: 50px;
    -moz-border-radius: 75px;
    -webkit-border-radius: 75px;
    vertical-align: middle;
}

.cell {
    display: block;
    max-width: 300px;
    text-align: center;
    height: 150px;
    color: white;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position-y: 1.5rem;
}

.inner-cell {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.inner-cell p {
    font-family: Inconsolata;
    font-size: 1.5rem;
    text-align: center;
    margin: auto;
    margin-top: 0rem;
    color: #FFF;
    width: 60px;
    height: 60px;
    border: 1px solid #9e9e9e;
    border-radius: 75px;
    padding-top: 12.5%;
}

.asylum-data p {
    font-size: 1.4rem;
    text-align: center;
}

.asylum-data #value-legend p {
    text-align: left;
}

#asylum-sources {
    margin-bottom: 2.5rem;
}

.cell img {
    image-rendering: pixelated;
}

.fourth .cell,
.fourth .cell p,
.second .cell,
.second .cell p {
    font-family: Inconsolata;
    font-size: 0.8rem;
    padding: 0rem;
    text-align: center;
    vertical-align: top;
    margin-top: 0rem;
}

#legend p {
    color: #000;
}

.source {
    display: block;
}


/*ASYLUM*/


/*PRELOADER*/

body {
    overflow: hidden;
}


/* Preloader */

#preloader,
#splash-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    /* change if the mask should have another color then white */
    z-index: 99;
    /* makes sure it stays on top */
}

#splash-page {
    background-color: #efefef;
    /* change if the mask should have another color then white */
    z-index: 98;
    /* makes sure it stays on top */
}

#splash-page #intro {
    max-width: 580px;
    margin: auto;
    font-size: 1.55rem;
}

#splash-page h4 {
    margin-bottom: -0.35rem;
}

#intro button {
    color: #000;
    font-size: 1.1rem;
    font-weight: normal;
}

#status {
    width: 300px;
    height: 300px;
    position: absolute;
    left: 50%;
    /* centers the loading animation horizontally one the screen */
    top: 50%;
    /* centers the loading animation vertically one the screen */
    background-image: url(../images/preloader.gif);
    /* path to your loading animation */
    background-repeat: no-repeat;
    background-position: center;
    margin: -150px 0 0 -150px;
    /* is width and height divided by two */
}


/*PRELOADER*/

.credits h4,
.credits h5 {
    text-align: center;
    margin-top: 10rem;
    margin-bottom: 0.1rem;
}

.credits ul {
    text-align: center;
    margin: auto;
    display: block;
}

.credits ul li {
    text-align: center;
    margin-bottom: 0px;
}

.credits ul li.support a {
    background-color: transparent;
}

.partners img {
    height: 50px;
    margin-top: 3rem;
}

.partners a {
    text-decoration: none;
    background: transparent;
}

ul.partners li {
    display: inline;
    height: 100px;
}
