@media (max-width:320px) {
	#overlay {
		display: none;
	}
}

@media (max-height:800px), (max-width: 960px) {
	#main {
		width: 70%;
	}
}

#overlay p a:link, #overlay p a:active, #overlay p a:visited {
	color: #0e0f10;
	text-decoration: underline;
}

#overlay p a:hover {
	text-decoration: none;
}

span.code {
	font-size: 11px;
	font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
	padding: 2px 5px;
	border-radius: 3px;
	background-color: #F9F9F9;
	white-space: pre-wrap;
	white-space: -moz-pre-wrap;
	white-space: -pre-wrap;
	white-space: -o-pre-wrap;
	word-wrap: break-word;
}

*:focus { 
	outline: none !important;
}

span#lut {
	margin: 0 10px 0 3px;
}

#overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-color: rgba(14, 15, 16, .75);
	z-index: 999;
}

#overlay #main {
	display: none;
	position: absolute;
	padding: 40px 30px;
	color: #0e0f10;
	text-align: left;
	max-width: 1960px;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	background-color: white;
}

#overlay #main h1 {
	font-size: 18px;
	font-weight: 700;
	font-family: "Avenir", sans-serif;
	margin: 0 0 20px 0;
}

#overlay #main .fa {
	margin: 0 5px 0 0;
}

.frames {
	width: 100%;
	max-width: 1960px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	z-index: -1;
}

.saving {
	position: fixed;
	z-index: 9;
}

.saving, .saving canvas {
	left: 0;
	top: 0;
	transform: inherit;
}

.dz-message,.home h1 {
	font-size: 18px;
	font-weight: 700;
	font-family: "Avenir",sans-serif;
}

#canvasLut,.dz-details,.dz-error-mark,.dz-error-message,.dz-progress,.dz-success-mark {
	display: none;
}

.sidebar-nav li a,.sidebar-nav li a:active,.sidebar-nav li a:focus {
	text-transform: capitalize;
	text-decoration: none;
}

.dz-message,.home h1,.sidebar-nav>.sidebar-brand {
	font-family: "Avenir",sans-serif;
}

#canvasFrame {
	z-index: -1!important;
}

#canvasFrame,#canvasFrameClone,#canvasLut {
	z-index: -2;
}

#wrapper.home {
	position: absolute;
	width: 100%;
	height: 100%;
	padding: 0;
	background-image: url(../images/bg.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.home #page-content-wrapper {
	width: 100%;
}

.home .container-fluid {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-55%);
	-ms-transform: translate(-50%,-55%);
	transform: translate(-50%,-55%);
}

.home .container-fluid img {
	position: relative;
	top: 0;
	left: 0;
	margin: 20px 10px 0;
	-webkit-transform: none;
	-ms-transform: none;
	transform: none;
}

.container-fluid img,.dz-message {
	top: 50%;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

.home h1 {
	text-transform: none;
	text-align: center;
}

.dz-clickable {
	position: absolute;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.dz-message {
	position: relative;
	left: 50%;
	z-index: -3;
}

.dz-image {
	border: 0;
	font-size: 0;
	line-height: 0;
	letter-spacing: 0;
	color: transparent;
	cursor: default;
}

#topbar {
	position: absolute;
	top: 0;
	width:100%;
	height: 50px;
	background-color: #171a20;
}

#topbar .btn {
	width: 55px;
	vertical-align: middle;
	display: inline-block;
	margin: 8px 0 0 20px;
}

#topbar .btn.active {
	color: #adadad;
	background-color: #333;
}

#topbar .btn.save {
	width: 65px;
	margin: 8px 0 0 10px;
}

#topbar #amount {
	margin: 0 0 0 3px;
}

#topbar .opacity-slider {
	font-size: 11px;
	margin: 1px 0 0 20px;
	vertical-align: middle;
	display: inline-table;
	width: calc(100% - 200px);
}

.sidebar-nav li a.active {
	background-color: #fff;
	color: #0e0f10;
}

#wrapper {
	padding-left: 0;
	-webkit-transition: all .5s ease;
	transition: all .5s ease;
}

#wrapper.toggled {
	padding-left: 250px;
}

#sidebar-wrapper {
	z-index: 1000;
	position: fixed;
	left: 250px;
	width: 0;
	height: 100%;
	margin-left: -250px;
	overflow-y: auto;
	background: #171a20;
	-webkit-transition: all .5s ease;
	transition: all .5s ease;
}

#wrapper.toggled #sidebar-wrapper {
	width: 250px;
}

#page-content-wrapper {
	bottom: 0;
	width: 100%;
	height: 100%;
	position: absolute;
	text-align: center;
}

.lut #page-content-wrapper {
	width: 100%;
	height: calc(100% - 50px);
	position: absolute;
	text-align: center;
}

.container-fluid img {
	position: absolute;
	left: 50%;
}

#wrapper.toggled #page-content-wrapper {
	position: absolute;
	margin-right: -250px;
}

.sidebar-nav {
	position: absolute;
	top: 0;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sidebar-nav li {
	text-indent: 20px;
	line-height: 40px;
}

.sidebar-nav li a {
	display: block;
	color: #bbb;
}

.sidebar-nav li a:hover {
	text-decoration: none;
	color: #fff;
	background: rgba(255,255,255,.2);
}

.sidebar-nav>.sidebar-brand {
	font-size: 18px;
	line-height: 60px;
	height: 65px;
}

.sidebar-nav>.sidebar-brand a {
	color: #fff;
}

.sidebar-nav>.sidebar-brand a:hover {
	color: #fff;
	background: 0 0;
}

@media(max-width:280px) {
	#topbar .opacity-slider {
		display: none;
	};
}

@media(min-width:768px) {
	#topbar {
		width: calc(100% - 150px);
	}

	#topbar .btn {
		margin: 8px 0 0 10px;
	}

	#topbar .opacity-slider {
		width: calc(100% - 225px);
	}

	#wrapper {
		padding-left: 180px;
	}

	#wrapper.toggled {
		padding-left: 0;
	}

	#sidebar-wrapper {
		width: 175px;
	}

	#wrapper.toggled #sidebar-wrapper {
		width: 0;
	}

	#page-content-wrapper {
		position: absolute;
		height: 100%;
	}

	.lut #page-content-wrapper {
		position: absolute;
		bottom: 0;
		width: calc(100% - 150px);
		height: calc(100% - 50px);
	}

	#wrapper.toggled #page-content-wrapper {
		position: absolute;
		margin-right: 0;
	};
}
