@font-face{font-family:'Polo';src:url('fonts/polor-webfont.eot');src:url('fonts/polor-webfont.eot#iefix') format('embedded-opentype'),url('fonts/polor-webfont.woff') format('woff'),url('/css/fonts/polor-webfont.ttf') format('truetype')}
@font-face{font-family:'Polo-Buch';src:url('fonts/P22-Buch.eot');src:url('fonts/P22-Buch.eot#iefix') format('embedded-opentype'),url('fonts/P22-Buch.woff') format('woff'),url('/css/fonts/P22-Buch.ttf') format('truetype')}
@font-face{font-family:'Polo-Leicht';src:url('fonts/P22-Leicht.eot');src:url('fonts/P22-Leicht.eot#iefix') format('embedded-opentype'),url('fonts/P22-Leicht.woff') format('woff'),url('/css/fonts/P22-Leicht.ttf') format('truetype')}
@font-face{font-family:'Polo-Krftg';src:url('fonts/P22-Krftg.eot');src:url('fonts/P22-Krftg.eot#iefix') format('embedded-opentype'),url('fonts/P22-Krftg.woff') format('woff'),url('fonts/P22-Krftg.ttf') format('truetype')}
@font-face{font-family:'eon_icon_font';src:url('fonts/eon_icon_font.eot');src:url('fonts/eon_icon_font.eot#iefix') format('embedded-opentype'),url('fonts/eon_icon_font.woff') format('woff'),url('fonts/eon_icon_font.ttf') format('truetype'),url('fonts/eon_icon_font.svg#eon_icon_font') format('svg');font-weight:normal;font-style:normal}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    font-family: Polo-Krftg, Arial;
}

*, *:after, *:before {
    box-sizing: border-box;
}

html {
    overflow: hidden;
    width: 1920px;
    height: 1080px;
}
body {
    width: 1920px;
    height: 1080px;
    overflow: hidden;
    background-repeat: no-repeat;

}

body.instagram {
    background-image: url("../img/background_instagram.png");
}

body.twitter {
    background-image: url("../img/background_twitter.png");
    background-color: #FFE100;
}
body.lobbyscreen {
    background-image: url("../img/background_lobbyscreen.png");
}


/* ---- grid ---- */

.gridContainer {
    position: relative;
    margin-top: 183px;
    margin-left: 90px;
    max-width: 1749px;
}


.lobbyscreen .gridContainer {
    margin-top: 176px;
    margin-left: 57px;
    max-width: 1830px;
}

body.twitter .gridContainer {
    max-width: 4000px;
    width: 4000px;
    height: 700px;
}

body.twitter .grid {
    height: 900px !important;
}

/* clear fix */
.grid:after {
    content: '';
    display: block;
    clear: both;
}

.debug {
    display:none;
    position: absolute;
    text-align: center;
    top: 153px;
    left:112px;
}

#text-debug {
    font-family: monospace;
    white-space: pre;
}

.debug .repo-count, .debug .grid-repo {
    display: none;
}

.debug .grid-repo img {
    width: 50px;
    height: 50px;
}


.debug .grid-repo .post {
    float: left;
}

/* ---- .grid-item ---- */

.grid-item {
    float: left;
    width: 270px;
    height: 270px;
    margin-left: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.grid-item .has_image .images img {
    position: absolute;
}

.grid-item.outside {
    visibility: hidden!important;
}

.grid-item img, .grid-item video {
    width: 100%;
    height auto;
}

/*.grid-item video {
    margin-top: -24px;
}*/


.grid-item.wide, .grid-item.gigante { width: 560px; }
.grid-item.high, .grid-item.gigante { height: 560px; }

/* POST */
.post {
    width: 100%;
    height: 100%;
}

.post .meta {
    position: absolute;
    width: 100%;
    background-color: rgba(0,0,0,0.3);
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    height: 50px;
    text-align: right;
    z-index: 1;
}

.post .card {

}


.post .cardmeta {
    height: 80px;
    margin-top: 191px;
    width: 558px;
    background-color: white;
    text-align: left;
    padding: 8px 20px 0 40px;
}

.post .card h2 {
    font-size: 20px;
    color: black;
    font-weight: bold;
    line-height: 12px;
}

.post .card p {
    font-size: 10px;
    color: black;
}

.post .text_post .meta {
    background-color:  transparent;
}

.meta span[data-count="0"] {
    display: none !important;
}

.post .meta .time {
    display: inline-block;
    float: left;
}

.post .meta {
    width: 270px;
}

.imgWrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.zoomIn img {
    transition:30s ease;
    transform: scale(1.3);
}

.grid-item.wide .post .meta,
.grid-item.gigante .post .meta {
    width: 560px;
}

body.instagram .gigante .post .meta {
    background-image: url("../img/instagram.png");
    background-position: 13px 13px;
    background-repeat: no-repeat;
}

body.twitter .post .meta {
    background-image: url("../img/twitter.png");
    background-position: 13px 13px;
    background-repeat: no-repeat;
}


.post .meta span {
    background-repeat: no-repeat;
    display: inline-block;
    height: 50px;
    padding-left: 35px;
    margin: 13px;
}

.post .text {
    padding: 30px 20px 10px 34px;
    color: white;
    font-size: 30px;
}

.post .text p {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 180px;
}

.comments {
    background-image: url("../img/bubble.png");
    background-position: left top;
}

.likes {
    background-image: url("../img/heart.png");
    background-position: left 3px;
}


.retweets {
    background-image: url("../img/retweet.png");
    background-position: left 3px;
}


/* SPINNER */
.spinner {
    margin: 500px auto;
    width: 100px;
    height: 100px;
    position: relative;
    text-align: center;

    -webkit-animation: sk-rotate 2.0s infinite linear;
    animation: sk-rotate 2.0s infinite linear;
}

.dot1, .dot2 {
    width: 60%;
    height: 60%;
    display: inline-block;
    position: absolute;
    top: 0;
    background-color: #F21C0A;
    border-radius: 100%;

    -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
    animation: sk-bounce 2.0s infinite ease-in-out;
}

body.instagram .dot1,
body.instagram .dot2 {
    background-color: #326288;
}


body.twitter .dot1,
body.twitter .dot2 {
    background-color: #1DA1F2;
}



/* FOR LOADING SCREEN */
.dot2 {
    top: auto;
    bottom: 0;
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

@-webkit-keyframes sk-rotate { 100% { -webkit-transform: rotate(360deg) }}
@keyframes sk-rotate { 100% { transform: rotate(360deg); -webkit-transform: rotate(360deg) }}

@-webkit-keyframes sk-bounce {
    0%, 100% { -webkit-transform: scale(0.0) }
    50% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bounce {
    0%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    } 50% {
          transform: scale(1.0);
          -webkit-transform: scale(1.0);
      }
}

/* FOR TYPE ANIMATION */
.typed-cursor{
    opacity: 1;
    -webkit-animation: blink 0.7s infinite;
    -moz-animation: blink 0.7s infinite;
    animation: blink 0.7s infinite;
}
@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; }
}


/* FOR PULSATE */
@-webkit-keyframes pulse {
    from {
        -webkit-transform: scale(1.0);
    }
    50% {
        -webkit-transform: scale(1.05);
    }
    to {
        -webkit-transform: scale(1.0);
    }
}

.pulse {
    -webkit-animation-name: pulse;
    -webkit-animation-duration: 0.3s;
    -webkit-animation-iteration-count: 1;
}

/* Lobbyscreen */




.lobbyscreen .gridContainer, .lobbyscreen .wrapper {
    width: 100%;
    height: 100%;
}

/*.lobbyscreen .screen */



#screen1 {
    background-image: url('../img/lobbyscreen_bg1.png');
    background-position: -90px -59px;
    margin-left: 17px;
}

#screen2 {
    margin-left: 17px;

}
#screen3 {

}


.lobbyscreen #realtimereporting {
    color: white;
    font-family: Polo;
    font-weight: bold;
    font-size: 48px;
    position: absolute;
    left: 1263px;
    top: 36px;
}

.lobbyscreen .visual {
    width: 1060px;
    height: 845px;

    position: absolute;
    left: 712px;

    background-image: url('../img/lobbyscreen_visual1_polyglon.jpg');

    background-repeat: no-repeat;
    background-position: -803px -178px;
    z-index: 1;
}

#screen2 .visual {
      background-image: url('../img/lobbyscreen_visual2_polyglon.jpg');
}

#screen3 .visual {
    background-image: url('../img/lobbyscreen_visual3_polyglon.jpg');
    left: 0;
    width: 1040px;
    background-position: -53px -178px;

}

#screen1 .avoided>div {
    width: 600px;
    height: 600px;
    position: absolute;
    left: 1033px;
    top: 139px;
    border-radius: 50%;
}

#screen1.et-page-current .avoided_bubble {
    animation: SHW_bubble 1s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.785, 0.135, 0.150, 0.860);
}

#screen1.et-page-current .avoided_data {
    animation: SHW_data 0.3s;
    animation-delay: 0.7s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.785, 0.135, 0.150, 0.860);
}


#screen2.et-page-current .countries_small .country .chart {
    animation: SHW_data 1s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.785, 0.135, 0.150, 0.860);
}

#screen2.et-page-current .countries_small .germany .chart {
    animation-delay: 0.6s;
}
#screen2.et-page-current .countries_small .uk .chart {
    animation-delay: 0.1s;
}
#screen2.et-page-current .countries_small .denmark .chart {
    animation-delay: 0.4s;
}
#screen2.et-page-current .countries_small .poland .chart {
    animation-delay: 0.2s;
}

@keyframes SHW_bubble {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}


@keyframes h3Width {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

@keyframes SHW_data {
    0% {
        transform: scale(0.1);
        opacity: 0;
        margin-top: -20px;
        margin-left: -20px;
    }
    60% {
        transform: scale(1.08);
        opacity: 0.5;
        margin-top: 0;
        margin-left: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes SHW_data_min {
    0% {
        transform: scale(0.6);

        margin-top: -20px;
        margin-left: -20px;
    }
    60% {
        transform: scale(1.05);

        margin-top: 0;
        margin-left: 0;
    }
    100% {
        transform: scale(1);

    }
}


#screen1 .avoided_bubble {
    background-color: #225087;
    opacity: 0.8;
    z-index: 2;
}

#screen1 .avoided_data {
    background-image: url('../img/lobbyscreen_avoided.png');
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 3;
}

#screen1 .avoided_data div {
    font-size: 64px;
    color: white;
    font-family: Polo-Leicht, Arial;
    position: absolute;
    left: 308px;
}

.co2TonsAvoided {
    top: 188px;
}

.noxTonsAvoided {
    top: 283px;
}
.soxTonsAvoided {
    top: 377px;
}

#screen1 h3 {
   font-size: 32px;
}

.hm {top: -1px;}

#screen1 .megawatts {
    position: absolute;
    top: 213px;
    left: 24px;
    height: 393px;
    width: 681px;
}
#screen1 .megawatts div {
    background-repeat: no-repeat;
    height: 70px;
    transition: width 1s cubic-bezier(0.785, 0.135, 0.150, 0.860);
}
#screen1 .megawatts #houses {
    background-image: url('../img/houses.png');
    width: 100%;
}
#screen1 .megawatts #jacks {
    background-image: url('../img/jacks.png');
    width: 100%;
    margin-top: 229px;
    margin-left: 7px;
}


#screen1 .numberOfHomes {
    position: absolute;
    top: 87px;
    left: 24px;
    height: 100px;
    width: 600px;

    font-size: 110px;
    font-family: Polo-Krftg, Arial;
    color: #225087;
}

#screen1 .globalMw {
    position: absolute;
    top: 383px;
    left: 24px;
    height: 100px;
    width: 600px;

    font-size: 110px;
    font-family: Polo-Krftg, Arial;
    color: #225087;
}

#screen1 .monthToDateMw {
    position: absolute;
    left: 28px;
    top: 707px;
    height: 60px;
    width: 200px;

    font-size: 40px;
    font-family: Polo-Krftg, Arial;
    color: #225087;
}
#screen1 .ytdToDateMw {
    position: absolute;
    left: 286px;
    top: 707px;
    height: 60px;
    width: 200px;

    font-size: 40px;
    font-family: Polo-Krftg, Arial;
    color: #225087;
}


#screen2 .bottomlayer {
    width: 100%;
    height: 125px;
    background-color: white;
    opacity: 0.8;
    bottom: 0;
    position: absolute;
    z-index: 5;
}
#screen2 .bottomlayer_data {
    width: 100%;
    height: 125px;
    background-image: url('../img/lobbyscreen_screen2_trenner.png?v=2');
    background-repeat: no-repeat;
    background-position: 93px 15px;

    bottom: 0;
    position: absolute;
    z-index: 6;
}


#screen2 .bottomvalues {
    position: absolute;
    top: 760px;
    width: 200px;
    z-index: 6;
    font-family: Polo-Krftg, Arial;
    font-weight: bold;
    font-size: 40px;
    color: #1E7A67;
}

#screen2 .globalMw {
    left: 1048px;
}

#screen2 .monthToDateMw {
    left: 1299px;
}
#screen2 .ytdToDateMw {
    left: 1547px;
}

#screen2 .numberOfHomes {
    left: 802px;
}

#screen3 #capacityDonut {
    position: absolute;
    height: 400px;
    width: 800px;
    left: 1060px;
    top: -47px;
}

#screen3 .layoutOverlay {
    background-image: url('../img/lobbyscreen_bg3.png?v=2');
    width: 1920px;
    height: 954px;
    z-index: 5;
    position: absolute;
    left: -47px;
    top: -49px;
}

#screen3 .capacityFigure {
    position: absolute;
    font-size: 32px;
    color: black;
    font-family: Polo-Krftg;
    font-weight: bold;
    z-index: 6;
    text-align: right;
    width: 200px;
}

#screen3 .capacityFigure_activeMw {
    left: 806px;
}
#screen3 .capacityFigure_installedMw {
    left: 438px;
}

#screen3 .onshoreSouthernEurope_activeMw,
#screen3 .onshoreSouthernEurope_installedMw {
    top: 365px;
}

#screen3 .onshoreNorthernEurope_activeMw,
#screen3 .onshoreNorthernEurope_installedMw {
    top: 405px;
}

#screen3 .onshoreNorthAmerica_activeMw,
#screen3 .onshoreNorthAmerica_installedMw {
    top: 445px;
}

#screen3 .offshore_activeMw,
#screen3 .offshore_installedMw {
    top: 485px;
}

#screen3 .photovoltaic_activeMw,
#screen3 .photovoltaic_installedMw {
    top: 525px;
}


#screen3 .total_activeMw,
#screen3 .total_installedMw {
    top: 585px;
    font-size: 40px;
}

#screen3 .bottomvalues {
    position: absolute;
    top: 769px;
    width: 200px;
    z-index: 6;
    font-family: Polo-Krftg, Arial;
    font-weight: bold;
    font-size: 40px;
    color: black;
}

#screen3 .globalMw {
    left: 1110px;
}

#screen3 .monthToDateMw {
    left: 1361px;
}
#screen3 .ytdToDateMw {
    left: 1609px;
}

#screen3 .numberOfHomes {
    left: 866px;
}

#screen2 .countries {
    position: absolute;
    left: 50px;
    top: 53px;
    width: 900px;
    z-index: 10;
}

#screen2 .countries .country {
    display: none;
}

#screen2 .countries .country:first-child {
    display: block;
}

#screen2 .countries .country {
    position: absolute;
    width: 900px;
}

#screen2 .countries .country .countryborders {

    background-image: url('');
    position: absolute;
    width: 400px;
    height: 400px;

    top: 0;
    left: 380px;

    background-repeat: no-repeat;



}


#screen2.et-page-current .activeCountry .plop {
    animation: plop 1s;
    animation-delay: 0.2s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.785, 0.135, 0.150, 0.860);
}



#screen2 .countries .country.activeCountry .countryborders {
    animation: SHW 1s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.785, 0.135, 0.150, 0.860);
}


@keyframes SHW {
    from {
        transform:scale(0.3);
        opacity:0
    }
    to {
        transform: scale(1);
        opacity:1
    }
}

#screen2 .countries .uk .countryborders {
    background-image: url('../img/countries/UK.png');
}

#screen2 .countries .germany .countryborders {
    background-image: url('../img/countries/Germany.png');
}
#screen2 .countries .us .countryborders {
    background-image: url('../img/countries/US.png');
}
#screen2 .countries .denmark .countryborders {
    background-image: url('../img/countries/Denmark.png');
}
#screen2 .countries .poland .countryborders {
    background-image: url('../img/countries/Poland.png');
}
#screen2 .countries .italy .countryborders {
    background-image: url('../img/countries/Italy.png');
}
#screen2 .countries .sweden .countryborders {
    background-image: url('../img/countries/Sweden.png');
}

#screen2 .countries_small .country {
    width: 400px;
    height: 230px;
    float: left;
    position: relative;
}


#screen2 .countries .country h3 {
    font-size: 64px;
    font-family: Polo;
    font-weight: bold;
    color: #1E7A67;
    display: inline;
    text-transform: uppercase;
    border-bottom: 5px solid #1E7A67;

    background-repeat: no-repeat;
    height: 70px;
}

#screen2 .countries_small .country h3 {
    font-size: 40px;
    font-family: Polo-Krftg;
    font-weight: bold;
    color: white;
    display: inline;
    text-transform: uppercase;
}

#screen2 .countries .country .installedMw {
    font-size: 64px;
    font-family: Tahoma;
    font-weight: bold;
    color: #B9DCD5;
    display: block;
    padding: 16px 0;
}
#screen2 .countries_small .country .installedMw {
    font-size: 40px;
    font-family: Polo;
    color: #B9DCD5;
}
#screen2 .countries_small .outside-metric {
    font-size: 24px;
    font-family: Polo;
    font-weight: normal;
    color: white;
    line-height: 31px;
}

#screen2 .countries .chart {
    position: relative;
    top: -45px;
}
#screen2 .countries .cf-svp {
    top: -88px;
    left: -10px
    padding-left: 10px;
    position: relative;
    background-image: url('../img/lobbyscreen_installed_capacity.png');
    background-repeat: no-repeat;
    background-position: 0 80px;
    width: 466px;
    height: 630px;
    overflow: hidden;
}


#screen2 .metricbox {
    width: 177px;
    padding-top: 10px;
    text-align: right;
}

#screen2 .countries_small .cf-svp {
    left: 200px;
    top: -40px;
    position: absolute;
}

#screen2 .metrics {
    width: 100%;
    text-align: center;
    position: relative;
    top: 312px;
}
#screen2 .countries_small .metrics {
    top: 122px;
}

#screen2 .metric-big {
    font-size: 40px;
    top: 31px;
    position: relative;
}

#screen2 .metric-percent {
    font-size: 32px;
    font-weight: normal;
    font-family: Polo;
}


#screen2 .metric-mw {
    font-size: 110px;
    font-weight: bold;

}

#screen2 .countries_small .metric-mw {
    font-size: 40px;
    color: white;
}

#screen2 .country span {
    color: #1E7A67
}


#screen2 .countries_small {
    position: absolute;
    left: 950px;
    top: 30px;
    z-index: 4;
    height: 685px;
    overflow: hidden;
}



@keyframes kenburns {
    0% {
        background-size: auto 100%;
        background-position-y: 0px;
    }
    50% {
        background-size: auto 110%;
        background-position-y: -80px;
    }
    100% {
        background-size: auto 100%;
        background-position: 0px;
        background-position-y: 0px;
    }
}

@keyframes kenburns-inverted {
    0% {
        background-size: 100% auto;
    }
    50% {
        background-size: 110% auto;
    }
    100% {
        background-size: 100% auto;
    }
}
