* {
	box-sizing: border-box;
}

body,
html {
	width: 100%;
	height: 100%;
	margin: 0;
	background-color: #121516;
}

p {
	color: #444;
	font-family: 'Merriweather', serif;
	font-size: 16px;
	line-height: 1.5;
	padding: 0;
	max-width: 750px;
	margin: 20px auto;
}

#overlay {
	position: fixed;
	top: 0;
	width: 100%;
	height: 100%;
	background: #000;
	display: block;
	z-index: 999;
}

#back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 42px;
	height: 42px;
	display: none;
	z-index: 998;
	opacity: 0.5;
	cursor: pointer;
	transition: opacity .3s ease-in-out;
}

#back-to-top:hover {
	opacity: 1;
}



header {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 997;
	padding: 20px;
	background: -moz-linear-gradient(top,  rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0.1) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(0,0,0,0.1) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8f000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
	transition: background .3s ease-in;
}

header.story-on {
	transition: background .3s ease-in;
	background: -moz-linear-gradient(top,  rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8f000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
}

header .col-33 {
	float: left;
  width: 33.333%;
}

@media(max-width: 950px) {
	.col-33, header.story-on .col-33 {
		width: 50%;
	}
}

header .logo {
    width: 128px;
    background-image: url(http://docs.rferl.org/Branding/RFE/infographics-branding/img/logos/logo-dark-desktop.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 38px;
    display: block;
}

header .title {
    color: #fff;
    font-family: 'Merriweather', serif;
    line-height: 38px;
    font-size: 18px;
    text-align: center;
		text-shadow: 1px 1px 1px rgba(0,0,0,0.8);

		opacity: 0;
		transition: opacity 0.5s ease-in;
}

header.story-on .title {
	display: block;
	opacity: 1;
}

@media(max-width: 950px) {
	header.story-on .title {
		display: none;
	}
}

header .social {
	line-height: 38px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	font-family: 'Open Sans', sans-serif;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: color .3s ease-in-out;
}

header .social-bar {
	position: absolute;
	height: 42px;
	padding: 7px;
	background: #24292D;
	border-radius: 999px;
	display: none;
	top: 18px;
	right: 18px;
	z-index: 999;
}

header .social-bar a {
	text-decoration: none;
	cursor: pointer;
}

header .social-bar a:last-child {
	border-left: 1px #555 solid;
	padding-left: 10px;
}

header .social svg,
header .social-bar a svg {
	vertical-align: middle;
	margin-right: 5px;
	transition: fill .3s ease-in-out;
	fill: #fff;
}

header .social:hover {
	color: #FFC72C;
}

header .social:hover svg,
header .social-bar a:hover svg {
	fill: #FFC72C;
}
footer {
	width: 100%;
	background-color: #202223;
	padding: 60px 0;
}

footer a {
	text-decoration: none;
	margin: 0 10px;
}

footer a svg {
	fill: #616668;
	transition: fill .3s ease-in;
}

footer a:hover svg {
	fill: #FFC72C;
}
footer .torch {
	width: 42px;
	height: auto;
	margin: 10px 0;
}

footer p.credits {
	color: #9DA4A9;
	font-size: 14px;
	font-family: 'Open Sans', sans-serif;
	margin: 0 auto;
	padding: 3px 30px;
}

footer p.copyright {
	color: #616668;
	font-weight: 600;
	font-size: 13px;
	font-family: 'Open Sans', sans-serif;
	margin: 5px auto;
	text-transform: uppercase;
	padding: 15px 30px;
}


#hero {
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0);
	overflow: hidden;
}

#hero .hero-more {
    cursor: pointer;
    display: inline-block;
		z-index: 2;
		color: #fff;
		border-radius: 5px;
		padding: 10px 15px;
		border: 1px solid #fff;
		font-weight: 600;
		font-size: 13px;
		margin: 20px 0 0 0;
		font-family: 'Open Sans', sans-serif;
		text-transform: uppercase;
		transition: all .3s ease-in-out;
}

#hero .hero-more:hover {
	background-color: #FFC72C;
	color: #444;
	border: 1px solid #FFC72C;
	text-shadow: none;
}

#hero #hero-video {
	position: absolute;
	width: 100%;
	height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
	overflow: hidden;
}

#hero #hero-video video {
	background-color: black;
  background-image: /* our video */;
  background-position: center center;
  background-size: contain;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter:contrast(120%) saturate(1.5);
}

#hero #video-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
	background: -moz-linear-gradient(-45deg,  rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.4) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(-45deg,  rgba(0,0,0,0.6) 0%,rgba(0,0,0,0.3) 50%,rgba(0,0,0,0.4) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg,  rgba(0,0,0,0.6) 0%,rgba(0,0,0,0.3) 50%,rgba(0,0,0,0.4) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7d000000', endColorstr='#40000000',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
	z-index: 2;
}


#hero .hero-container {
	position: absolute;
	text-align: right;
	z-index: 3;
	padding: 0 30px;
	right: 50px;
	bottom: 100px;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
}

#hero h1 {
	color: #fff;
	font-family: 'Merriweather', serif;
	font-size: 64px;
	line-height: 1.2;
	padding: 0;
	max-width: 600px;
	margin: 0;
}

@media(max-width: 1200px) {
		#hero h1 {
			font-size: 48px;
			max-width: 500px;
		}
}

@media(max-width: 860px) {
		#hero h1 {
			font-size: 42px;
			max-width: 500px;
			text-align: center;
			margin: 0 auto;
		}

		#hero h3 {
			text-align: center;
		}

		.hero-container {
		 	position: relative;
			text-align: center !important;
			z-index: 3;
			padding: 0 30px;
			width: 100%;
			right: 0;
			left: 0;
				text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
		}
}

#hero h3 {
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	font-family: 'Open Sans', sans-serif;
	margin: 0;
	text-transform: uppercase;
	padding: 0;
}


.clearfix {
	clear: both;
}

.text-center {
	text-align: center;
}

.text-right {
	text-align: right;
}


.container {
	max-width: 980px;
	padding: 0 30px;
	margin: 0 auto;
}

a {
	color: #ea6903;
}

section#story {
	padding-top: 150px;
	z-index: 999
}

/* Photo Figures */
figure {
	position: relative;
	margin: 0 0 50px 0;
	transition: opacity 1s ease-in-out;
	opacity: 0.2;/*CORRECT*/
	opacity: 1;
}

figure figure {
	margin-top: 50px;
	margin-bottom: 0;
}

figure figure figcaption {
	margin-bottom: 0;
	padding-bottom: 0;
}

figure.visible {
	opacity: 1;
}

figure .figure-overlay {
	width: 38px;
	height: 38px;
	position: absolute;
	border-radius: 4px;
	border: 1px solid #f5f5f5;
	background-image: url("../img/gallery/zoom.svg");
	background-position: center;
	background-repeat: no-repeat;
	top: 10px;
	right: 10px;
	opacity: 0;
	transition: opacity .2s ease-in-out;
}

figure:hover > .figure-overlay {
	opacity: 1;
}
figure img {
	width: 100%;
	height: auto;
}

figure.figure-text {
	width: 100%;
	padding: 0;
	margin-top: -50px;
	cursor: auto;
}

figure.figure-jumbo {
	width: 100%;
	padding: 0;
}

/* Photo Figure Captions */
figure figcaption {
	width: 100%;
	max-width: 600px;
	padding: 30px 0 50px 0;
	margin: 0 auto;
}

figure figcaption p {
	max-width: 100%;
}

figure figcaption p.figcaption-title {
	color: #DEE1E2;
	font-family: 'Merriweather', serif;
	font-weight: 400;
  font-size: 17px;
	line-height: 1.7;
	margin: 2px 0;
	padding: 0;
}

figure.figure-text figcaption p.figcaption-title {
	color: #DEE1E2;
	font-family: 'Merriweather', serif;
	font-weight: 300;
	font-size: 17px;
	line-height: 1.7;
	margin: 2px 0;
	padding: 0;
}

figure figcaption p.figcaption-credit {
	color: #9DA4A9;
	font-family: 'Merriweather', serif;
	font-weight: 400;
	font-size: 12px;
	line-height: 1.5;
	font-style: italic;
	margin: 10px 0 2px 0;
	padding: 0;
}
