/* ----------------------------- *\
   GENERAL
\* ----------------------------- */

.full-height {
	height: 100%;
}

label {
	line-height: 1.5rem;
}

.tabs .tab-title {
	padding-bottom: 0;
}

.tabs .tab-title > a {
	text-align: center;
  background-color: #EBEBEB;
  color: grey;
	outline: none;
	line-height: 1rem;
	padding: .5rem 1rem;
}

.tabs .tab-title.active  a {
	background-color: #DDD;
	color: black
}

.input-button {
	height: 2.3125rem;
}

.small {
	font-size: 0.85rem;
}

.monospace {
	font-family: monospace;
}

/* ----------------------------- *\
   MAIN LAYOUT
\* ----------------------------- */

.top-bar {
	overflow: hidden;
}

.main-content {
	margin-top: -2.8125rem; /* This is the topbar height */
	padding-top: 2.8125rem;
	height: 100%;
	overflow: hidden;
}

.left-pane {
	background-color: #EBEBEB;
	height: 100%;
	padding-top: .9375rem;
}

.right-pane {
	height: 100%;
	padding-top: .9375rem;
	overflow: hidden;
}

.row.editor-area {
	height: 100%;
	padding-top: 5em;
	margin-top: -5em;
}

.tabs {
	height: 1.6em;
}

.tabs-content {
	height: 100%;
	padding-top: 1.6em;
	margin-top: -1.6em;
}

.content {
	height: 100%;
}

/* ----------------------------- *\
   PREVIEW
\* ----------------------------- */

#preview {
	margin-top: 1.5rem;
	margin-bottom: 1rem;
}

#previewIframe {
	max-width: 100%;
	width: 100%;
	border: none;
	height: 100%;
	margin-top: -4.8125rem;
	padding-top: 4.8125rem;
}

/* ----------------------------- *\
   EDITORS
\* ----------------------------- */
.editor {
	margin-top: -0.5rem;
	margin-bottom: 0.5rem;
	border:1px solid #999999;
	height: 100%;
}

#cssEditor {
	height: 85%;
}

/* ----------------------------- *\
   LOADER
\* ----------------------------- */

#loadingOverlay {
	background-color: rgba(0,0,0,0.3);
	bottom: 0;
	display: none;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 1000;
}

#loadingOverlay.isVisible {
	display: block;
}

.spinner {
	border:0.5rem solid rgba(255,255,255,.15);
	border-radius:100%;
	border-top:0.5rem solid rgba(255,255,255,.8);
	height:6rem;
	left: 50%;
	margin: -3rem -3rem 0 0;
	position: absolute;
	top: 50%;
	width:6rem;
	-webkit-animation: rotation .6s infinite linear;
	-moz-animation: rotation .6s infinite linear;
	-o-animation: rotation .6s infinite linear;
	animation: rotation .6s infinite linear;
}

@-webkit-keyframes rotation {
   from {-webkit-transform: rotate(0deg);}
   to {-webkit-transform: rotate(359deg);}
}
@-moz-keyframes rotation {
   from {-moz-transform: rotate(0deg);}
   to {-moz-transform: rotate(359deg);}
}
@-o-keyframes rotation {
   from {-o-transform: rotate(0deg);}
   to {-o-transform: rotate(359deg);}
}
@keyframes rotation {
   from {transform: rotate(0deg);}
   to {transform: rotate(359deg);}
}
