/************** GENERAL ****************/

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

body {
  font-family: 'Helvetica';
}

a {
  text-decoration: none;
  color: black;
}

.window-content a {
  color: #555555;
}

#nav-window a {
  color: lightgrey;
}

#dossier .window-content a {
  color: blue;
  text-decoration: underline;
}

.centered {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/**************  TITLES ****************/

h1 {
  font-size: 20px;
  font-weight: 100;
}



.window h2 {
  font-size: 12px;
  color: #555555;
  text-align: center;
  font-weight: 400;
  letter-spacing: .3px;
}

.description h2 {
  font-weight: 100;
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 30px;
  margin-bottom: 4%;
}

/************* NAVIGATION *************/

nav {
  z-index: 200;
}

nav li {
  display: inline;
  font-weight: 100;
}

#nav-window {
  position: fixed;
  top: 20%;
  left: 2%;
}

#nav-window li {
  display: block;
  font-weight: 400;
  margin-bottom: 4%;
  text-shadow: -1px 0 grey, 0 1px grey, 1px 0 grey, 0 -1px black;
  letter-spacing: 2px;
}


#nav-top-right {
  position: fixed;
  top: 2.5%;
  right: 2%;
}

#nav-bottom-left {
  position: fixed;
  bottom: 2%;
  left: 2%;
}

#nav-bottom-right {
  position: fixed;
  bottom: 2%;
  right: 2%;
}

/************ HOME PAGE **************/

.banner {
  position: fixed;
  top: 2%;
  left: 2%;
}

.underline {
  text-decoration: underline;
}

#dossier a {
  display: block;
}

/************ DOSSIER PAGE **************/

.description {
  font-weight: 500;
  margin: 50px;
  margin-top: 80px;
  position: relative;
}

section {
  font-family: 'Helvetica';
  font-size: 12px;
}

#other p {
  margin-top: 5%;
  margin-bottom: 2%;
}

.mini-summary  {
  margin-top: 2%;
  line-height: 120%;
}

.one {
  width: 400px;
}

/*************** IMAGES ***************/

#home img {
  z-index: -1;
  max-width: 100%;
}

#other img {
  width: 300px;
  display: block;
  margin: 50px auto;
  vertical-align: middle;
}

/*************** VIDEO ***************/

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
  width: 80%;
  margin: 0 auto;
  text-align: center;
}

 iframe {
  margin: 50px auto;
  width: 300px;
  height: 169px;
  display: block;
}

/*************** WINDOWS ****************/

.window {
  min-width: 200px;
  border-radius: 5px;
  border: 1px solid #c1c1c1;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  box-shadow: 5px 5px 30px #666666;
  font-family: 'Helvetica Neue';
  position: fixed;
  background-color: #ECECEC;
  overflow: auto;
}

#news.window {
  top: 50%;
  height: 200px;
  margin-top: -150px;
}

#dossier.window {
  top: 50%;
  height: 350px;
  margin-top: -175px;
}

.window-banner {

  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e6e4e6+0,e1dfe1+30,dcdadc+58,d3d1d3+100 */
  background: #e6e4e6; /* Old browsers */
  background: -moz-linear-gradient(top, #e6e4e6 0%, #e1dfe1 30%, #dcdadc 58%, #d3d1d3 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #e6e4e6 0%,#e1dfe1 30%,#dcdadc 58%,#d3d1d3 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #e6e4e6 0%,#e1dfe1 30%,#dcdadc 58%,#d3d1d3 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6e4e6', endColorstr='#d3d1d3',GradientType=0 );
  /* IE6-9 */

  padding: 2%;
  border-bottom: 1px solid #acabac;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;

}

.window-content {
  background-color: #ECECEC;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  font-weight: 400;
  color: #555555;
  padding: 5%;
}

/*************** POP UPS ****************/

.popup {
  font-size: 12px;
  width: 100%;
  letter-spacing: 1px;
  line-height: 20px;
  display: none;
  opacity: 0;
  overflow: auto;
}

.popup h2 {
  font-size: 16px;
}

.popup ul {
  list-style: none;
}

.popup li {
  margin-bottom: 2%;
}

.popup:target {
  display: block;
  opacity: 1;
  z-index: 9999;
}

.popup .close {
  position: absolute;
  top: 6px;
  right: 20px;
  font-size: 30px;
}

.popup .description {
  position: absolute;
  bottom: 20px;
  left: 30px;
  font-size: .63em;
  color: grey;
}

/************* MEDIA QUERIES ************/

@media (min-width: 800px) {
  a:hover {
    color: blue;
  }
  h1 a:hover {
    color: blue;
  }
  #nav-window a:hover {
    color: blue;
  }
  .popup .close:hover {
    color: #ff5f58;
  }
  #news.window {
    left: 50%;
    margin-left: -300px;
  }
  #dossier.window {
    left: 50%;
    margin-left: -400px;
    height: 480px;
    margin-top: -240px;
  }
  #dossier .window-content a:hover:after {
    content: " ➝ " attr(data);
  }
  .draggable:hover {
    cursor:grab;
  }

  .draggable:active {
    cursor:grabbing;
  }
  #home img {
    max-width: 750px;
  }
  .popup {
    width: 600px;
  }
  .popup .close {
    position: absolute;
    top: 11px;
    font-size: 25px;
  }
  #dossier.popup {
    width: 800px;
  }
  #other img {
    width: 500px;
  }

   iframe {
    width: 500px;
    height: 281px;
  }
}
