body {
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-color: black;
}

.navbar-inverse {
	background-color: rgba(0,0,0,0.7);
	background-image: none;
	border: none;
	box-shadow: none;
}

#backgroundPicture {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 0;
	margin: 0;
	background-color: black;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	z-index: -2;
}

#frontPicture {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 0;
	margin: 0;
	background-color: none !important;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	z-index: -1;		
}

@media screen and (orientation: landscape) {
	#modelLink {
		position: fixed;
		bottom: 70px;
		right: 10px;
		width: 50px;
		height: 50px;
		background-image: url(/images/3d.png);
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center center;
		z-index: 0;
	}

	#modelLink:hover {
		background-image: url(/images/3dw.png);
	}

	#pictureLink {
		position: fixed;
		bottom: 70px;
		right: 10px;
		width: 50px;
		height: 50px;
		background-image: url(/images/2d.png);
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center center;
		z-index: 0;
	}

	#pictureLink:hover {
		background-image: url(/images/2dw.png);
	}

	#wikiLink {
		position: fixed;
		bottom: 10px;
		right: 10px;
		width: 50px;
		height: 50px;
		background-image: url(/images/w.png);
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center center;
		z-index: 0;
	}

	#wikiLink:hover {
		background-image: url(/images/ww.png);
	}
}

@media screen and (orientation: portrait) {
	#modelLink {
		position: fixed;
		bottom: 50px;
		right: 0;
		width: 50px;
		height: 50px;
		background-image: url(/images/3d.png);
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center center;
		z-index: 0;
	}

	#modelLink:hover {
		background-image: url(/images/3dw.png);
	}

	#pictureLink {
		position: fixed;
		bottom: 50px;
		right: 0;
		width: 50px;
		height: 50px;
		background-image: url(/images/2d.png);
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center center;
		z-index: 0;
	}

	#pictureLink:hover {
		background-image: url(/images/2dw.png);
	}

	#wikiLink {
		position: fixed;
		bottom: 0;
		right: 0;
		width: 50px;
		height: 50px;
		background-image: url(/images/w.png);
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center center;
		z-index: 0;
	}

	#wikiLink:hover {
		background-image: url(/images/ww.png);
	}
}

#hubblesite, #modelOrigin {
	position: fixed;
	bottom: 25px;
	left: 0;
	max-width: 50%;
	z-index: 0;
}

.modal-content {
    background-color: rgba(0,0,0,0.3) !important;
	color: white;
	text-align: justify;
}

.modal-header {
	text-align: left;
}

.close {
    color: #fff; 
    opacity: 1;
}

@media screen and (min-width: 768px) {
	#wikiModal .modal-dialog, #aboutModal .modal-dialog {
		width: 80%;
	}
}

#progress-dynamic {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 300px;
	height: 17px;
}

#progress-static {
	position: fixed;
	top: -moz-calc(50% - 40px);
	top: -webkit-calc(50% - 40px);
	top: -o-calc(50% - 40px);
	top: calc(50% - 40px);
	left: -moz-calc(50% - 40px);
	left: -webkit-calc(50% - 40px);
	left: -o-calc(50% - 40px);
	left: calc(50% - 40px);	
    border: 10px solid #f3f3f3; /* Light grey */
    border-top: 10px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 80px;
    height: 80px;
	-webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}