@font-face {
    font-family: "Stencil";
    src: url("https://docs.rferl.org/Infographics/2019/2019_08/2019_08_RomanianRevolution/css/fonts/boston.woff2") format("woff2"), url("https://docs.rferl.org/Infographics/2019/2019_08/2019_08_RomanianRevolution/css/fonts/boston.woff") format("woff");
    font-weight: 600;
}
@font-face {
  font-family: "Skolar Sans";
  src: url("https://docs.rferl.org/Infographics/sources/fonts/Apollo_Framework/SkolarSansLatnCyrl-Bd.woff");
  font-weight: 700;
}
@font-face {
  font-family: "Skolar Sans";
  src: url("https://docs.rferl.org/Infographics/sources/fonts/Apollo_Framework/SkolarSansLatnCyrl-Rg.woff");
  font-weight: 400;
}
html, body {
    margin: 0;
    padding: 0;
    font-family: "Skolar Sans"
}
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.2);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #000;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #000;
}
.infographic_container {
    position: relative;
    padding-top: 65px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 520px;
    overflow: hidden;
}
@media(max-width: 860px){
    html, body {
        overflow-x: hidden;
    }
    .infographic_container {
        width: 300%;
        left: -100%;
        transition: left .4s;
    }
    .infographic_container.left {
        left: 0;
        transition: left .4s;
    }
    .infographic_container.right {
        left: -200%;
        transition: left .4s;
    }
}
.container_left {
    position: relative;
    float: left;
    width: 33.33%;
    height: calc(100vh - 65px);
    background-position: center;
    background-size: cover;
    background-image: url("https://docs.rferl.org/Infographics/2019/2019_08/2019_08_RomanianRevolution/images/FlagBlue.jpg");
}
.container_left-moved {
    position: relative;
    padding: 16px;
    box-sizing: border-box;
    transition: left .2s;
    left: -100%;
    max-height: 100%;
    overflow-y: auto;
}
/*@media(max-width: 860px){
    .container_left-moved {
        left: 0%;
    }
}*/
.container_left-moved.active {
    left: 0;
    transition: left .4s;
}
.container_right {
    position: relative;
    float: left;
    width: 33.33%;
    height: calc(100vh - 65px);
    background-position: center;
    background-size: cover;
    background-image: url("https://docs.rferl.org/Infographics/2019/2019_08/2019_08_RomanianRevolution/images/FlagRed.jpg");
}
.container_right-moved {
    position: relative;
    padding: 16px;
    box-sizing: border-box;
    transition: left .2s;
    left: 100%;
    max-height: 100%;
    overflow-y: auto;
}
.container_right-moved.active {
    left: 0;
    transition: left .4s;
}
.container_middle {
    position: relative;
    float: left;
    width: 33.33%;
    height: calc(100vh - 65px);
    background-position: center;
    background-size: cover;
    background-image: url("https://docs.rferl.org/Infographics/2019/2019_08/2019_08_RomanianRevolution/images/FlagYellow.jpg");
}
h1 {
    color: white;
    font-family: "Stencil";
    font-size: 48px;
    text-align: center;
}
.button_year {
    position: absolute;
    left: 24px;
    right: 24px;
    margin: auto;
    padding: 24px 8px 8px;
    text-align: center;
    background-color: rgba(0,0,0,0.5);
    color: white;
    font-family: "Stencil";
    font-size: 48px;
    cursor: pointer;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.5);
}
.button_year:hover {
    transition: all .3s;
    background-color: rgba(0,0,0,0.6);
    box-shadow: 0px 0px 2px rgba(0,0,0,0.5);
}
.button_year span {
  position: relative;
  display: inline-block;
  font-size: 32px;
  top: -6px;
}
.button_year.up {
    top: 24px;
}
.button_year.down {
    bottom: 24px;
}
@media(max-width: 1180px){
    h1 {
        font-size: 42px;
    }
    .button_year {
        font-size: 42px;
    }
    .button_year span {
        font-size: 24px;
        top: -7px;
    }
}
@media(max-width: 998px){
    h1 {
        font-size: 36px;
    }
    .button_year {
        font-size: 36px;
    }
    .button_year span {
        font-size: 20px;
        top: -7px;
    }
}
.button_article {
    display: block;
    margin-bottom: 24px;
    padding: 8px;
    border-bottom: 1px rgba(255,255,255,0.3) solid;
    color: white;
    text-decoration: none;
}
.button_article:hover {
    transition: background-color .3s;
    background-color: rgba(0,0,0,0.5);
}
.button_article h2{
    margin: 0 0 4px;
    font-size: 18px;
}
.button_article p{
    margin: 4px 0;
    font-size: 15px;
}
.button_article img {
    width: 20%;
    margin-right: 8px;
    /*margin-bottom: 8px;*/
    float: left;
}
.button_back {
    position: absolute;
    top: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: none;
}
@media(max-width: 860px){
    .button_back {
        display: block;
    }
}
.button_back svg {
    position: relative;
    display: inline-block;
    top: 2px;
    padding: 0 8px;
    width: 16px;
    height: 16px;
    fill: white;
}
.clearfix {
    clear: both;
}

/*   introduction   */

.introduction {
      color: white;
      text-align: center;
      padding: 96px 24px;
      height: 100%;
      box-sizing: border-box;
      display: flex;
      align-items: center;
}
.introduction_inside {
      max-width: 302px;
      margin: auto;
      text-shadow: 0px 0px 10px black, 0px 0px 10px black;
}

/*   header   */

#page__header {
    width: 100%;
    height: 65px;
    padding: 5px 15px 0;
    box-sizing: border-box;
    background-color: black;
    position: fixed;
    top: 0;
    z-index: 997;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){
    #page__header {
        background-color: black;
    }
}
@supports (-ms-ime-align:auto) {
    #page__header {
        background-color: black;
    }
}

a.page__header-logo {
    position: absolute;
    width: auto;
    top: 12px;
    height: 40px;
    display: inline-block;
}
a.page__header-logo svg {
          width: auto;
          height: 40px;
}
.svg-logo__type {
    fill: white;
}
.svg-logo__avatar {
    fill: #ea6903;
}

.header__right-container {
    /*display: flex;
    align-items: center;*/
    float: right;
    padding-top: 12px;
}
/* Share Button */

.page__header-share {
    margin: 0 15px;
    width: auto;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    text-transform: uppercase;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-family: "Skolar Sans", "Georgia", "Times New Roman", "Times", serif;
    float: left;
    position: relative;
    cursor: pointer;
}
.page__header-share svg {
    width: 24px;
    height: 24px;
    margin-top: -3px;
    margin-right: (10px / 2);
    fill: #FFFFFF;
    stroke: #FFFFFF;
}

.page__header-share:hover {
    color: white;
    transition: color 0.3s;
}
.page__header-share:hover svg {
    fill: white;
    stroke: white;
}
.page__header-share:hover svg path {
    animation: share 0.2s ease-out forwards;
}

.page__header-share:hover svg circle:not(:first-of-type) {
    animation: sharecirc 0.2s ease-out forwards;
}

.header__right-container .sharing-icons {
    display: block;
    width: auto;
    padding: 6px 4px 0px;
    background: #fff;
    position: absolute;
    border-top-left-radius: 21px;
    border-bottom-left-radius: 21px;
    top: 13px;
    right: -100%;
    transition: right 0.4s ease-out;
}
.sharing-icons a {
    width: 30px;
    height: 30px;
    display: inline-block;
    margin: 0 2px;
}
.sharing-icons a svg circle {
    /*.background*/
    transition: fill 0.3s;
    fill: #5c646b;
}

.sharing-icons a svg .svg__path {
    /*.logo*/
    fill: #fff;
}

.sharing-icons a svg:hover circle {
    /*.background*/
    transition: fill 0.3s;
    fill: #ea6903;
    }
.sharing-iconsa:last-child {
    position: relative;
    bottom: 8px;
    box-sizing: border-box;
    padding: 8px;
}

#share__close {
    cursor: pointer;
}
#share__close svg .svg__path {
        fill: #000;
}

.header__right-container .opened {
    right: 0;
}

#page__header.page__header--onpage {
    background-color: black;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.5s;
}
.page__header--onpage .svg-logo__avatar {
        fill: #ea6903;
    }

.page__header--onpage .svg-logo__type {
    fill: white;
}

.page__header--onpage .page__header-share {
    color: #fff;
}
.page__header--onpage svg {
    fill: #fff;
    stroke: #fff;
}

.page__header--onpage:hover circle:first-of-type {
    color: white;
    fill: white;
    stroke: none;
}
.page__header--onpage .page__header-nav svg line {
    stroke: #fff;
}

#nav__site {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s;
    display: none;
    z-index: 999;
    background-color: rgba(0,0,0,0.85);
}

#nav__site-container {
    width: 300px;
    height: 100%;
    box-shadow: 0 5px 10px rgba(0,0,0,0.5);
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #24292D;
    align-items: flex-start;
    float: right;
}

#nav__site-header {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}
#nav__site-header svg {
    fill: #fff;
}

#nav__site.nav__site-visible {
    display: block;
    opacity: 1;
    transition: opacity 0.5s;
}
#nav__site-close {
    position: absolute;
    right: 18px;
    top: 22px;
    width: 14px;
    height: 14px;
    cursor: pointer;
}
#nav__site-close:hover svg {
    transition: fill 0.3s;
    fill: white;
}

#nav__site-closesvg {
    fill: #fff;
}

#nav__site-container ul {
    padding: 46px 20px 20px;
    margin: 0;
    list-style: none;
}
#nav__site-container ul li {
    padding: 0;
    margin: 0;
    list-style: none;
}
#nav__site-container ul li a {
    display: block;
    padding: 12px 10px;
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
    font-family: "Skolar Sans", "Georgia", "Times New Roman", "Times", serif;
    font-size: 18px;
    text-transform: uppercase;
}
#nav__site-container ul li:hover {
    color: white;
}
@media(max-width: 992px) {
    .page__header-share,
    a.page__header-nav {
        font-size: 0;
    }
}
/* animation */
@keyframes share {
    from {
        fill: none;
        stroke: none;
        stroke-dasharray: 0;
        stroke-dashoffset: 0;
    }

    to {
        stroke: white;
        stroke-dasharray: 15;
        stroke-dashoffset: 0;
    }
}
@keyframes sharecirc {
    from {
        fill: none;
        stroke: none;
    }

    80% {
        fill: none;
    }

    to {
        stroke: none;
        fill: white;
    }
}
