/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #000;
}

/* trying to customize timeline JS */
.vco-storyjs p, .vco-storyjs blockquote, .vco-storyjs blockquote p, .vco-storyjs .twitter blockquote p {
font-family: 'Slabo 13px'; !important
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/* FONTS */
@font-face {
  font-family: 'Uranium';
  src: url('../fonts/uranium.ttf');
}

@font-face {
  font-family: 'Bodoni';
  src: url('../fonts/BodoniXT.ttf');
}

@font-face {
  font-family: 'Typewriter';
  src: url('../fonts/typewriter.ttf');
}

@font-face {
  font-family: 'Building';
  src: url('../fonts/Building.ttf');
}

@font-face {
  font-family: 'OldStyle';
  src: url('../fonts/oldstyle.ttf');
}

@font-face {
  font-family: 'TypewriterE';
  src: url('../fonts/typewriterE.ttf');
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* font declaration */
@font-face {
    font-family: 'junction_regularregular';
    src: url('../fonts/Junction-webfont.eot');
    src: url('../fonts/Junction-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Junction-webfont.woff') format('woff'),
         url('../fonts/Junction-webfont.ttf') format('truetype'),
         url('../fonts/Junction-webfont.svg#junction_regularregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

#cover {
  background: url(../img/syria.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 100%;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body, html{
	/* important */
	height: 100%;
    font-family: 'Gudea', serif;
    text-align: justify;
}

.table-of-contents{
    width:25%;
    background-image: -webkit-linear-gradient(to right, #ffffff 0%,  #ffffff 98%, #eeeeee 100%);
    background: linear-gradient(to right, #ffffff 0%,  #ffffff 98%, #eeeeee 100%);
    height:100%;
    margin:0;
    position: fixed;
    z-index: 2;
    padding:0;
    border-right: 1px solid #aaaaaa;
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition:  all 0.3s cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transition:  all 0.3s cubic-bezier(0.755, 0.05, 0.855, 0.06);
    overflow: auto;
}

.overlay {
   background:transparent; 
   position:relative; 
   width:100%;
   height:700px; /* your iframe height */
   top:700px;  /* your iframe height */
   margin-top:-700px;  /* your iframe height */
}

.table-of-contents a {
      color: #d80e00;
}
.bg-title a {
      color: #FFF;
}
.tc-open{
	-webkit-transform: translateX(0%);
	-ms-transform: translateX(0%);
	transform: translateX(0%);
}

h2.turning-points {
text-align: center;
margin-top: 20%;
}

.contents{
	padding: 0;
}

.menu-icon{
	/* margin: 6px; */
	z-index: 1;
	transition: 0.6s;
	color: white;
	float:left;
	position: absolute;
	left: 8px;
	top: 6px;
}

.nav{
	/* float: right; */
	position: absolute;
	right: 14px;
}

.nav a{
        color:white;
}

.header a{
    color: white;
    text-decoration: underline;
}

.header a:hover{
    color: #d80e00;
    text-decoration: underline;
}
a:hover{
    text-decoration: underline;
}

.col a:hover{
    text-decoration: none;
}

.contents-close{
	margin:6px;
	color: black;
    position: fixed;
    top: 0;
    left: 0;
}

.menu-icon-open{
	color: black;
}

.contents li {
list-style: none;
text-align: center;
margin: 21px;
position: relative;
}

.contents li:before{
	content: '';
	width: 1px;
	height: 14px;
	background-color: lightgray;
	left: 50%;
	position: absolute;
	top: -1.03em;
}

.contents li:after {
content: '';
width: 18px;
height: 1px;
background-color: lightgray;
left: calc(50% - 9px);
position: absolute;
top: -0.13em;
}


h1,h2,h3{
    margin:0;
    padding:0;
    font-family: 'Playfair Display', serif;
}

h4 {
    font-family: 'Playfair Display', sans-serif;
}

.fixed-header{
    background:#000000;
    height: 50px;
	width: 100%;
	position: fixed;
	color: white;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
    z-index: 1;
}
 .header{
    width: 100%;
    height: 100%;
    padding: 0 20%;
    box-sizing:border-box;
 }
.col {
float: left;
height: 184px;
margin: 4px 0.4% 0 0;
}

.col-md{
	width: 32.9%;
		background-color:green;
}

.col-lg{
	width: 40.9%;
	background-color:blue;
}

.col-sm{
	width: 24.8%;
		background-color:orange;
}

@media(max-width:1100px){
.col-md:first-child{
	width: 99.5%;
}

.col{
	margin: 4px 0.5% 0 0;
}

.col-md{
	width: 49.5%;
}


.col-lg{
	width: 99.5%;
}

.col-sm{
	width: 49.5%;
}
}

@media(max-width:600px){
	.col{
		width: 100%
	}
}

.trib{
	font-size: 2.2em;
	position: relative;
	top: -6px;
    color: white;
    text-decoration:none;
    font-family: 'bebas_neueregular';
}

a {
    text-decoration: none;
}
.mosaic{
	width: 100%;
	min-height: 100%;
	overflow: hidden;
	padding: 94px 8%;
	box-sizing: border-box;
}
.bg-scroll{
	background-size: cover;
	background-attachment: fixed;
    background-image: url("../img/desert.jpg");
    background-repeat: no-repeat;
	background-position: center center;    
	min-height: 60%;
	overflow: hidden;
}

.article h1, .article h2, .article h3, .article h4 {
	width: 100%;
	text-align: center;
}

.article h1 {
    font-size: 2em;
    margin: 0% 0 0%;
}

.article h3 {
	font-size: 1.5em;
	margin: 0% 0 0%;
}

.article h4{
	margin: margin: 25px 10px;
}


.article{
	min-height: 100%;
	width: 100%;
	float: right;
	height: 100%;
}

.bg-fix{
	min-height: 40%;
	background-image: url("../img/desert.jpg");
	padding:5% 20%;
    line-height: 1.4;
    font-size: 1.2em;
}

.caption {
  font-family: 'TypewriterE';
  font-weight: normal;
  font-style: normal;
  color: #FFFFFF;
  background-color: rgba(0,0,0,0.8);
  padding: 10px 20px;
  font-size: 15px;
  line-height: 23px;
  bottom: 0px;
  right: 0px;
}

.bg-title{
    margin: 100px 0 0%;
    width: 100%;
    text-align: center;
    color: #FFF;
    font-size: 2em;
    letter-spacing: 3px;
    text-shadow: 3px 3px 5px #000000;
}

.fa {
  text-align: center;
  margin: 0 auto;
  width: 100%;
}

.pull {
    margin: 0 auto;
    width: 70%;
    line-height: 1.3;
    text-align: center;
    font-size: 1.2em;
    font-style: italic;
    font-weight: bold;
}

.col{
background-size: cover;
background-position: center;
position: relative;
z-index: 0;
}

.col .text{
    padding: 20px 3%;
    width: 100%;
    height: 100%;
    background-color: rgba(50,50,50,0.2);
    box-sizing:border-box;
    transition:0.6s;
    -webkit-transition:0.6s;
}

.col .text:hover{
    background-color: rgba(150,150,150,0.4);
    text-decoration: none;
}

.col h3{
    font-size: 2em;
    text-align: left;
    margin: 0;
}

.col h4{
    font-size: 1.4em;
    text-align: left;
    margin: 0;
}


@media(max-width:1000px){
    .table-of-contents{
        width:40%;
    }
    .bg-scroll{
			background-size: cover;
			background-attachment: fixed;
			background-repeat: no-repeat;
			background-position: center center;
			min-height: 60%;
			overflow: hidden;
		}
}
@media(max-width:700px){
	.nav{display: none;}
}

@media(max-width:500px){
    .table-of-contents{
        width:60%;
    }

    #timeline{display: none;}

    body, html{
    text-align: left;
    }

.bg-title{
    margin: 15% 0 0%;
    }

    .bg-scroll{
			background-size: cover;
			background-attachment: fixed;
			background-repeat: no-repeat;
			background-position: center center;
			min-height: 60%;
			overflow: hidden;
		}
}

@media screen and (max-device-width: 480px) {
    .bg-scroll{
        background-attachment: scroll;
        }
    .bg-title {
    margin: 25% 0 0%;
    font-size: 1.5em;
}
}












/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
