
  body { 
	margin:0; 
	padding:0;
  }

 a {
	text-decoration: none;
	color: #FFF0BB;
	font-weight: bold;
  }
  
h2 {
	margin-top: 0;
	font-weight: bold;
	font-family: lyoncaps, sans-serif;
	text-align: center;
	font-size: 2em;
}

.container, .row {
	margin: 0;
	padding: 0;
}


#map { 
	position:fixed; 
	top:0; 
	bottom:0; 
	width:100%; 
	z-index: 0;
}


/********************************************************************************
*************                   BEGIN PAGE                       ****************
********************************************************************************/


#next, #last {
	position: fixed;
	color: black;
	z-index: 10;
	cursor: pointer;
}

#next {
	top: 30px;
	left: 50%;
	background-image: url('img/norte-button.png');
	width: 91px;
	height: 47px;
	margin-left: -45px;
}

#last {
	bottom: 30px;
	left: 50%;
	background-image: url('img/casa-button.png');
	width: 91px;
	height: 47px;
	display: none;
	margin-left: -45px;
}

#next.terminar {
  	background-image: url('img/terminar-button.png');
}


#landing-page {        
	background: url('img/background.png') no-repeat center center fixed;
	background-size: cover;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 20;
	position: fixed;
}

#begin-panel, #end-panel {
	width: 100%;
	height: 100%;
	overflow-y: scroll;
	overflow-x: hidden;
	background-color: rgba(0,0,0,.1);
	color: white;
	font-size: 1.4em;
	font-weight: lighter;
	font-family: lyonregular, serif;
}


#begin-panel .row {
  	position: relative;
}

#begin-panel img#header {
	margin: 0 auto;
	display: block;
	width: 100%;
}


#begin-text, #end-text {
	text-align: left;
	font-size: 1.2em;
	width: 50%;
	margin: 20px auto;
	margin-bottom: 175px;
	text-shadow: 0px 0px 3px rgba(0,0,0,.3);
}

#begin-text :first-child:first-letter {
	font-size: 3em;
	float: left;
	vertical-align: top;
	margin-top: 10px;
	margin-right: 4px;
	color: #FFF0BB;
}

span.ear {
	width: 23px;
	height: 23px;
	background-image: url('img/ear-small.png');
	display: inline-block;
}

span.norte {
	width: 36px;
	height: 19px;
	background-image: url('img/norte-small.png');
	display: inline-block;
}

.role {
	font-weight: bold;
	text-align: right;
	display: inline-block;
	vertical-align: top;
	color: #FFF0BB;
}

.credits {
	font-weight: normal;
	font-size: 1em;
	text-shadow: 1px 1px 3px rgba(0,0,0,.3);
	line-height: 1.7em;
	text-align: right;
	padding-top: 20px;
	padding-right: 40px;
	font-family: 'Raleway', sans-serif;
}


#begin-panel button {
	color: #2f928b;
	text-shadow: 2px 0 1px white;
	background: none;
	background-color: #FFF0BB;
	font-family: 'Raleway', sans-serif;
	text-align: center;
	margin: 0 auto;
	display: block;
	font-size: 1em;
	padding: 5px 50px;
}

#footer {
	background-color: rgba(0,0,0,.8);
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 10px 20px;
	color: white;
	font-weight: bold;
	font-size: .8em;
	font-family: 'Raleway', sans-serif;
}

/********************************************************************************
*************                   MAP PAGES                        ****************
********************************************************************************/


#episode-popup {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 400px;
	height: 500px;
	margin-left: -200px;
	margin-top: -250px;
	background-color: rgba(255,255,255,.9);
	color: black;
	display: none;
	z-index: 50;
	padding: 2px;
	border: 1px solid #DFE1E1;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
	border: none;
	border-radius: 5px;
  }

.photo-wrapper {
  	position: relative;
}

#episode-popup h2 {
	margin-top: 15px;
}

#episode-popup .close-button {
	position: absolute;
	top: 3px;
	right: 0px;
	color: white;
	font-size: 1.2em;
  	background-color:  #3F3D3D;
	padding: 3px 2px 2px 3px;
	border-radius: 2px;
	margin-right: 5px;
	cursor: pointer;
	width: 1.3em;
}

#episode-popup .close-button:hover {
  	background-color: black;
}

#episode-popup img {
	width: 100%;
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
}

#episode-popup p.popup-description {
	font-family: 'Raleway', sans-serif;
  	font-size: .9em;
  	padding: 5px;
}

#episode-popup audio {
  	width: 97%;
  	bottom: 5px;
  	left: 5px;
  	margin: 0 auto;
  	position: absolute;
  	display: block;
}

#pullquote {
	position: fixed;
	display: none;
	color: white;
	background-color: rgba(0,0,0,.4);
	border-radius: 10px;
	font-family: serif;
	padding: 15px 25px;
	font-size: 2.7em;
	line-height: 1.2em;
	text-shadow: 1px 1px 3px rgba(0,0,0,.3);
	font-family: lyonregular, serif;
}

#pullquote .quote-content {
	margin-bottom: 0;
}

#pullquote .attribution {
	font-size: .7em;
	text-align: right;
	margin: 0;
  }

.top-left {
	top: 5%;
	left: 5%;
}

.top-right {
	top: 5%;
	right: 5%;
}

.bottom-left {
	bottom: 5%;
	left: 5%;
}

.bottom-right {
	bottom: 5%;
	right: 5%;
}


/********************************************************************************
*************                    END PAGE                        ****************
********************************************************************************/


#end-panel {
	display:none;
	text-align: center;
	font-family: 'lyonregular' serif;
}


#end-panel .cifra {
	font-family: 'Raleway', sans-serif;
	text-align: center;
	font-size: 1.5em;
	font-weight: bold;
  	margin: 0px;
  	padding-top: 0px;
  	line-height: 1em;
  	color: #fff0bb;
}

#end-panel .fuente {
	text-align: right;
	font-size: .7em;
	margin-bottom: 50px;
}

#end-panel .fuente a {
	color: white;
	font-family: 'lyonregular' serif;
}

#end-panel table {
	margin: 0 auto;
}

#end-panel td {
	padding: 5px 10px;
	text-align: center;
}

#end-panel img {
	width: 70%;
	margin: 0 auto;
	display: block;
}

#end-panel button {
	color: #2f928b;
	text-shadow: 2px 0 1px white;
	background: none;
	background-color: #FFF0BB;
	font-family: 'Raleway', sans-serif;
	text-align: center;
	margin: 0 auto;
	display: block;
	font-size: 1em;
	padding: 5px 50px;
}

/* Wobble Vertical */
/* courtesy:; https://github.com/IanLunn/Hover/blob/master/css/hover.css */
@-webkit-keyframes hvr-wobble-vertical {
  16.65% {
	-webkit-transform: translateY(8px);
	transform: translateY(8px);
  }

  33.3% {
	-webkit-transform: translateY(-6px);
	transform: translateY(-6px);
  }

  49.95% {
	-webkit-transform: translateY(4px);
	transform: translateY(4px);
  }

  66.6% {
	-webkit-transform: translateY(-2px);
	transform: translateY(-2px);
  }

  83.25% {
	-webkit-transform: translateY(1px);
	transform: translateY(1px);
  }

  100% {
	-webkit-transform: translateY(0);
	transform: translateY(0);
  }
}

@keyframes hvr-wobble-vertical {
  16.65% {
	-webkit-transform: translateY(8px);
	transform: translateY(8px);
  }

  33.3% {
	-webkit-transform: translateY(-6px);
	transform: translateY(-6px);
  }

  49.95% {
	-webkit-transform: translateY(4px);
	transform: translateY(4px);
  }

  66.6% {
	-webkit-transform: translateY(-2px);
	transform: translateY(-2px);
  }

  83.25% {
	-webkit-transform: translateY(1px);
	transform: translateY(1px);
  }

  100% {
	-webkit-transform: translateY(0);
	transform: translateY(0);
  }
}

.hvr-wobble-vertical {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
}
.hvr-wobble-vertical:hover, .hvr-wobble-vertical:focus, .hvr-wobble-vertical:active {
  -webkit-animation-name: hvr-wobble-vertical;
  animation-name: hvr-wobble-vertical;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

