/*
=======
Sidebar
=======
*/

* {
  box-sizing: border-box;
}

body {
  background-color: #e9eef2;
}

#side-bar {
  position: absolute;
  padding: 0;
  margin: 0;
  left: 0;
  width: 30vw;
  border-right: 2px solid #bed1df;
  border-top: 2px solid #bed1df;
  border-bottom: 2px solid #bed1df;
  background-color: #424242;
  transition: left 0.5s;
  height: 100vh;
  z-index: 100;
  overflow-y: scroll;
}

#side-bar.hidden {
  left: -80vw;
}

.level-one {
  position: relative;
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  list-style: none;
  cursor: pointer;
}

.level-one:hover {
  background: #3f8eb9;
  -webkit-box-shadow: inset 1px 1px 10px 1px rgba(0,0,0,0.45);
  -moz-box-shadow: inset 1px 1px 10px 1px rgba(0,0,0,0.45);
  box-shadow: inset 1px 1px 10px 1px rgba(0,0,0,0.45);
}

.level-one a {
  display: block;
  text-decoration: none;
  width: 75%;
  margin: 0 12.5% 0 12.5%;
  border-bottom: 1px solid #bed1df;
}

.level-one a img {
  margin: 10% 12.5% 10% 12.5%;
  width: 66%;
}

.level-one a span {
  color: #bed1df;
  font-size: 0.5em;
  font-weight: bold;
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
}

#side-button {
  position: fixed;
  width: 10vw;
  height: 10vw;
  top: 50px;
  left:50px;
  text-align: center;
  border: 2px solid #424242;
  border-radius: 2vw;
  transition: left 0.5s;
  z-index: 100;
  cursor: pointer;
}

#side-button.open {
  left: 35vw;
  background-color: #DDD;
}

#side-button .line {
  position: absolute;
  display: block;
  height: 5%;
  background-color: #424242;
  left: 20%;
  right: 20%;
  transition: transform 0.5s,
              opacity 0.5s;
}

.line-one {
  top: 25%;
}

.line-two {
  top: 50%!important;
}

.line-three {
  top: 75%!important;
}

.line-one.open {
  transform: rotate(45deg) translate(27%, 360%);
}

.line-two.open {
  opacity: 0;
}

.line-three.open {
  transform: rotate(-45deg) translate(27%, -360%);
}

#side-bar-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  transition: background-color 0.5s;
  z-index: 90;
}

#side-bar-overlay.hidden {
  background-color: rgba(0, 0, 0, 0);
}

@media screen and (min-width: 480px) {
  #side-bar {
    width: 20vw;
  }

  #side-button {
    width: 8vw;
    height: 8vw;
  }

  #side-button.open {
    left: 25vw;
  }
}

@media screen and (min-width: 1025px) {
  #side-button {
    display: none;
  }
}


/*
=========
coverflow
=========
*/

html,
body {
  position: relative;
  height: 100%;
  width: 100%;
  background-color: black;
}

.coverflow {
  z-index: 10;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: none;
  -ms-text-size-adjust: none;
  -webkit-touch-callout: none;
  outline: none;
}

.coverflow .coverflow-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.coverflow .coverflow-tray,
.coverflow .coverflow-rect {
  position: absolute;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.coverflow .coverflow-tray,
.coverflow .coverflow-cell {
  pointer-events: none;
  position: absolute;
  -webkit-transition: -webkit-transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  -moz-transition: -moz-transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  -ms-transition: -ms-transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  -o-transition: -o-transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
}

.coverflow .coverflow-hit {
  position: absolute;
  opacity: 1;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
}

.coverflow .coverflow-cell canvas {
  pointer-events: none;
  outline: 1px solid transparent;
  position: absolute;
}

.coverflow-text {
  position: absolute;
  width: 100%;
}

.coverflow-text h1,
.coverflow-text h2 {
  margin: 0;
}

.coverflow-hit.coverflow-current:hover {
  cursor: pointer;
  box-shadow: 0px 0px 50px 10px #607d8b;
  transition: box-shadow 0.2s;
}


/*
====
dock
====
*/

/* dock - all */
.dock {
	position: relative;
	height: 50px;
	text-align: center;
	z-index: 100;
}
.dock img {
	border: none;
}

/* dock2 - bottom */
#dock2 {
	width: 100%;
	bottom: 0px;
	position: fixed;
	left: 0px;
}
.dock-container2 {
	position: absolute;
	height: 50px;
	width: 240px;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	background: url(../img/dock-bg.gif);
	/*padding-left: 20px;*/
}
a.dock-item2 {
	display: block;
	font: bold 12px Arial, Helvetica, sans-serif;
	width: 40px;
	color: #DDD;
	position: absolute;
	bottom: 1px;
	margin: 5px 0px 0px;
	text-align: center;
	text-decoration: none;
}
.dock-item2 span {
	display: none;
	font-size: 1.5em;
}
.dock-item2 img {
	display: block;
	border: none;
	width: 100%;
}

@media screen and (max-width: 1024px) {
	.dock {
		display: none;
	}
}
