/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100% !important;
    height: 100%;
}
body {
  /* Margin bottom by footer height */
  /*margin-bottom: 60px;*/
  position: static;
  line-height: normal;
  min-height: 100% !important;
    height: 100%;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 80px;
  background-color: #f5f5f5;
}


/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

#cubePane {
	position: absolute;
	left:0px;
	right: 200px;
	top: 51px;
	bottom: 0px;
}

#controlsPane {
	position: absolute;
	width: 200px;
	right: 0px;
	top: 51px;
	bottom: 0px;
	background-color: #f5f5f5;
}

body > .container {
  padding: 60px 15px 0;
}
.container .text-muted {
  margin: 20px 0;
}

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

code {
  font-size: 80%;
}

.container-fluid {
	min-height: 100%;
}

.full-height {
	min-height: 100vh !important;
	height: 100vh;
}

#controlsPane button {
	margin: 3px;
	height: 10%;
	width: 45%;
}

#controlsPane button img {
	/*width: 60px;*/
	height: 100%;
}


/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0px;
    right: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

@media (max-height: 585px) {
	#controlsPane button {
		margin: 0px;
		height: 10%;
		width: 45%;
	}
}

@media (min-height: 939px) {
	#controlsPane button img {
		height: 65px;
	}
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}


#cubeSimulator {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}


#rotateUp {
	position: absolute;
	top: 10px;
	left: 50%;
}

#rotateDown {
	position: absolute;
	bottom: 10px;
	left: 50%;
}

#rotateLeft {
	position: absolute;
	left: 10px;
	top: 50%;
}

#rotateRight {
	position: absolute;
	right: 10px;
	top: 50%;
}

