@import 'reset.css';
body{
	background:url("../img/bodybkg.jpg") no-repeat fixed center top #fff;
	font-family:Arial, Helvetica, sans-serif;
}

.mainColumn{
	width:996px;
	margin:auto;
}
nav{
    padding: 10px;
    margin: 10px;
    border-bottom: 1px solid grey;
}
#header{
	background:url("../img/wrappertop.png") no-repeat center top;
	height:32px;
}
#container{
	/* background:url("../img/wrapper.png") repeat-y; */
	background:white;
	box-shadow:0 0 3px rgba(0,0,0,0.5);
}
#content{
	padding:50px 30px;
}
#bottom-cap{
	background:url("../img/wrapperbottom.png") no-repeat center top;
	height:150px;
	margin-bottom:-110px;
	position:relative;
	z-index:5;
}
#footer{
	background:#2e3c50;
	color:#fff;
	padding:140px 0 50px;
}



h1{
	font-size:30px;
	font-weight:600;
	margin-bottom:20px;
}
h2{
	font-size:24px;
	margin-bottom:15px;
}
a{
	font-weight:bold;
	color:#2e3c50;	
	text-decoration:none;
}
a:hover{
	color:#2e3cff;
}
ul{
	margin:20px 0;
}
li{
	padding:0 0 15px 30px;
}

#overlay, #overlay .whiteout{
	width:100%;
	height:100%;
	position:fixed;
	left:0;
	top:0;
	z-index:10;
}
#overlay .whiteout{
	background:rgba(255,255,255,0.5);
}
#overlay .box{
	padding:30px;
	background:#fff;
	border:1px solid #ccc;
	box-shadow:3px 3px;
	width:600px;
	margin:50px auto;
	position:relative;
	z-index:10;
}
#overlay .box .close{
	position:absolute;
	top:5px;
	right:5px;
}
#overlay .box .exportProgress{
	width:70%;
	margin:auto;
}
#overlay .box .exportProgress td{
	width:50%;
	padding:5px 0;
}
#overlay .box .exportProgress td:nth-child(2){
	text-align:right;
}
#overlay .risePublish h3{
	font-weight: bold;
    color: #2e3c50;
    margin-bottom:10px;
}
#overlay .risePublish #riseSplash{
	margin-bottom:20px;
}
#overlay .risePublish #riseSplash a{
	pointer-events:none;
}
#overlay .risePublish table th{
	text-align:right;
	padding: 10px;
}
#overlay .risePublish .instructions{
	font-size:11px;
	font-style:italic;
}
#overlay .risePublish .saveBox{
	text-align:right;
	margin-bottom:10px;
}
#overlay .risePublish .codeContain{
	border:1px solid #999;
	background:#f0f0f0;
	padding:20px;
	font-size:12px;
}
#riseSplash{
	width:600px;
	height:82px;
	padding:320px 0 0;
	text-align:center;
	background:linear-gradient(#00062a, #214277);
	background-size:cover;
}
#riseSplash a{
	display: inline-block;
    padding: 10px 20px;
    background: #f90;
    color: #fff;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.5);
    cursor: pointer;
}
#scriptForm tr{
	margin-bottom:20px;
}
#scriptForm td{
	vertical-align: top;
}
#scriptForm .global, #scriptForm .stepTable{
	width:100%;
}
#scriptForm .label{
	font-weight:bold;
	width:200px;
}
#scriptForm .value textArea, #scriptForm .value input{
	width:100%;
}
#scriptForm .step, #scriptForm .gestures, #scriptForm .phase{
	border:1px solid #ccc;
	margin:20px 0;
	padding:10px;
}
#scriptForm .phase textArea{
	width:100%;
}

#scriptForm .gestureTable td{
	padding:5px;
}
#scriptForm .gestureTable th{
	font-weight:bold;
}
#scriptForm .gestureTable tr{
	border-bottom:1px solid #ccc;
}
#scriptForm .gestureTable input, #scriptForm .gestureTable textarea, #scriptForm .gestureTable select{
	width:100%;
}
#scriptForm .gestureTable .sort{
	width:90px;
}
#scriptForm .gestureTable .notes{
	width:200px;
}
#scriptForm .gestureTable .type{
	width:140px;
}
#scriptForm .gestureTable .cue{
	width:250px;
}
#scriptForm .gestureTable .image{
	width:200px;
}

/*** CAKE UTILS ****/

/* SQL log */
.cake-sql-log {
	background: #fff;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
	font-family: Monaco, Consolas, "Courier New", monospaced;
}
.cake-sql-log caption {
	color:#fff;
}

/** Debugging **/
pre {
	color: #000;
	background: #f0f0f0;
	padding: 15px;
	-moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
.cake-debug-output {
	padding: 0;
	position: relative;
	margin:30px 0;
}
.cake-debug-output > span {
	position: absolute;
	top: 5px;
	right: 5px;
	background: rgba(255, 255, 255, 0.3);
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding: 5px 6px;
	color: #000;
	display: block;
	float: left;
	-moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.5);
	-webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.5);
	box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.5);
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}
.cake-debug,
.cake-error {
	font-size: 16px;
	line-height: 20px;
	clear: both;
}
.cake-error > a {
	text-shadow: none;
}
.cake-error {
	white-space: normal;
}
.cake-stack-trace {
	background: rgba(255, 255, 255, 0.7);
	color: #333;
	margin: 10px 0 5px 0;
	padding: 10px 10px 0 10px;
	font-size: 120%;
	line-height: 140%;
	overflow: auto;
	position: relative;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
.cake-stack-trace a {
	text-shadow: none;
	background: rgba(255, 255, 255, 0.7);
	padding: 5px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	margin: 0px 4px 10px 2px;
	font-family: sans-serif;
	font-size: 14px;
	line-height: 14px;
	display: inline-block;
	text-decoration: none;
	-moz-box-shadow: inset 0px 1px 0 rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: inset 0px 1px 0 rgba(0, 0, 0, 0.3);
	box-shadow: inset 0px 1px 0 rgba(0, 0, 0, 0.3);
}
.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
.cake-context {
	margin-bottom: 10px;
}
.cake-stack-trace pre {
	color: #000;
	background-color: #F0F0F0;
	margin: 0px 0 10px 0;
	padding: 1em;
	overflow: auto;
	text-shadow: none;
}
.cake-stack-trace li {
	padding: 10px 5px 0px;
	margin: 0 0 4px 0;
	font-family: monospace;
	border: 1px solid #bbb;
	-moz-border-radius: 4px;
	-wekbkit-border-radius: 4px;
	border-radius: 4px;
	background: #dcdcdc;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#dcdcdc));
	background-image: -webkit-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -moz-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -ms-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -o-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: linear-gradient(top, #fefefe, #dcdcdc);
}
/* excerpt */
.cake-code-dump pre,
.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 15px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
.cake-code-dump .code-highlight {
	display: block;
	background-color: rgba(255, 255, 0, 0.5);
}
.code-coverage-results div.code-line {
	padding-left:5px;
	display:block;
	margin-left:10px;
}
.code-coverage-results div.uncovered span.content {
	background:#ecc;
}
.code-coverage-results div.covered span.content {
	background:#cec;
}
.code-coverage-results div.ignored span.content {
	color:#aaa;
}
.code-coverage-results span.line-num {
	color:#666;
	display:block;
	float:left;
	width:20px;
	text-align:right;
	margin-right:5px;
}
.code-coverage-results span.line-num strong {
	color:#666;
}
.code-coverage-results div.start {
	border:1px solid #aaa;
	border-width:1px 1px 0px 1px;
	margin-top:30px;
	padding-top:5px;
}
.code-coverage-results div.end {
	border:1px solid #aaa;
	border-width:0px 1px 1px 1px;
	margin-bottom:30px;
	padding-bottom:5px;
}
.code-coverage-results div.realstart {
	margin-top:0px;
}
.code-coverage-results p.note {
	color:#bbb;
	padding:5px;
	margin:5px 0 10px;
	font-size:10px;
}
.code-coverage-results span.result-bad {
	color: #a00;
}
.code-coverage-results span.result-ok {
	color: #fa0;
}
.code-coverage-results span.result-good {
	color: #0a0;
}


.overlay {
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
	position: fixed;
	background-color: rgba(0,0,0,0.6);
}

.modal {
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	z-index: 101;
	width: 600px;
	height: auto;
	position: fixed;
	padding: 30px 60px;
	background-color: white;
}
.modal.fullsize{
	width:auto;
}
.modal label,
.modal input,
.modal textarea {
	display: block;
}

.modal label {
	margin: 10px 0 6px;
}

.modal .submit {
	display: block;
	margin: 20px 0;
}

.col {
	width: 45%;
	height: auto;
	float: left;
	position: relative;
}
.clear { clear: both; }

/** File uploader */
legend {
    font-weight: bold;
    color: #333;
}

#filedrag {
    display: none;
    font-weight: bold;
    text-align: center;
    padding: 1em 0;
    margin: 1em 0;
    color: #555;
    border: 2px dashed #555;
    border-radius: 7px;
    cursor: default;
}

#filedrag.hover {
    color: #f00;
    border-color: #f00;
    border-style: solid;
    box-shadow: inset 0 3px 4px #888;
}

img {
    max-width: 200px;
}

pre {
    width: 95%;
    /*height: 8em;*/
    font-family: monospace;
    font-size: 0.9em;
    padding: 1px 2px;
    margin: 0 0 1em auto;
    border: 1px inset #666;
    background-color: #eee;
    overflow: auto;
}

#messages {
    padding: 40px 0;
    margin: 1em 0;
}

#progress p {
    display: block;
    width: 240px;
    padding: 2px 5px;
    margin: 2px 0;
    border: 1px inset #446;
    border-radius: 5px;
    background: #eee url("progress.png") 100% 0 repeat-y;
}

#progress p.success {
    background: #0c0 none 0 0 no-repeat;
}

#progress p.failed {
    background: #c00 none 0 0 no-repeat;
}


.dragZone{
	position:relative;
}
.dragZone img{
	max-width:none;
}
.dragZone .hotspot{
	position:absolute;
	left:0px;
	top:0px;
	width:100px;
	height:100px;
	background:rgba(0,0,255,0.3);
	cursor:move;
}
.dragZone .stretchHandle{
	width:5px;
	height:5px;
	position:absolute;
	background:#000;
	right:0;
	bottom:0;
	cursor:se-resize;
}

.loader {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 9;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: rgba(0,0,0, 0.2);
}

.lds-ellipsis,
.lds-ellipsis div {
  box-sizing: border-box;
}
.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33.33333px;
  width: 13.33333px;
  height: 13.33333px;
  border-radius: 50%;
  background: currentColor;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

