/*** PAGE LAYOUT ***/
* {
	font-family: 'Montserrat', sans-serif;
	overflow-y: auto;
}
body{
	width: 100%;
	height: 100%;
	overflow: hidden;
	margin: 0px;
}

.hide {
	display: none;
}

h1 {
	padding: 0;
    font-size: 22px;
    display: inline-block;
    vertical-align: top;
    font-weight: normal;
    margin-left: 40%;
    color: #3e5981;
}

h2 {
	font-size: 18px;
}


h3 {
	font-size: 16px;
	 padding-left: 10%;
	 font-weight: normal;
}

#header {
	padding: 5px 30px;
	border-bottom: 1px solid #ababab;
	box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.3);
}
.logo {
	margin-top: 5px;
    vertical-align: middle;
    display: inline-block;
}
#logout, advancedToggle{
    border: 2px solid #d22525;
    background: #e63030;
    transition: all 1s;
    color: #fff;
    padding: 5px;
    float: right;
    width: 160px;
	text-align: center;
    cursor: pointer;
    font-weight: normal;
    /*box-shadow: 1px 1px 12px -2px rgba(92,89,92,0.8);*/
}
.logout {
    border: 2px solid #d22525;
    background: #e63030;
    transition: all 1s;
    color: #fff;
    width: 160px;
	text-align: center;
    cursor: pointer;
    font-weight: normal;
}

#advanced{
	opacity: 0;
	z-index: -100;
	transition: all 1s;
}
body.advanced #advanced{
	opacity: 1;
	z-index: 1;
}
body.advanced #pg_report{
	opacity: 0;
	z-index: -100;
}
#msg{
	position: absolute;
	height: 10%;
	bottom: 0;
	left: 0;
	right: 0;
	font-size:11px;
	font-family: courier;
	background: #acacac;
	border-top:2px solid #000;
	overflow: auto;
	z-index: 1;
}
#workers{
	position: absolute;
	bottom: 0;
	right: 0;
	width: 5%;
	height: 10%;
	z-index: 2;
}
#workers .worker{
	border-radius: 100%;
	float: left;
	width: 15px;
	height: 15px;
	border: 1px solid #333;
	font-size: 0px;
}
#selections{
	position: absolute;
	right: 0;
	top:70px;
	width: 15%;
	height: 90%;
	overflow-y: auto;
	overflow-x: hidden;
}
.data_column{
	float: left;
	width: 23%;
	border-radius: 5px;
	background: #92add2;
	border: 1px solid #6589ba;
	padding: 4px;
	margin: 2px;
	font-size: 12px;
	color:#fff;
	text-transform: uppercase;
	cursor: move;
}
.data_column:before{
	content:"::";
	margin-right: 5px
}
.data_column.dropped {
	cursor: pointer;
}
.data_column.dropped:before{
	content:"";
	margin-right: 5px
}

.data_column.dropped:after{
	content:"X";
	float:right;
}


#dropzone{
	position: absolute;
	bottom: 11%;
	width: 85%;
	left: 0;
	height: 15%;
}
#selection-drop-area-x, #selection-drop-area-y, #group-drop-area, #selection-drop-area-size, #dropdown-aggregation{
	float: left;
	width:20%;
	height: 100%;
}
#selection-drop-area-x span, #selection-drop-area-y span, #group-drop-area span, #selection-drop-area-size span, #dropdown-aggregation span{
	float: left;
	width:100%;
	height: 15px;
	line-height: 15px;
	background: #222;
	font-weight: bold;
	font-size: 12px;
	color: #FFF;
	text-align: center;
}
#selection-drop-area-x{

}
#selection-drop-area-y{

}
#group-drop-area{
}

/*#chart-set{
	width:1600px;
}*/

#chart-options img{
	/*height: 100px;*/
	width: 140px;
	/*float: left;*/
	margin: 10px;
}

#chart{
	position: absolute;
    top: 70px;
    width: 80%;
    bottom: 42%;
}
#chart svg{
	width: 100%;
	height: 100%;
}

table {
	border : 1px solid rgb(121, 121, 121);
	border-color: black;
	font-family: 'Open Sans', sans-serif;
	border-collapse: collapse;
}

tbody {
	border : 0px solid rgb(121, 121, 121);
	color : rgb(121, 121, 121);
	background-color: none;
}

th {
	margin: 0;
	padding: 1vw;
	border: 0;
	border-bottom: 1px solid rgb(121, 121, 121);
}

tr {
	margin: 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid rgb(121, 121, 121);
}

td {
	margin: 0;
	padding: 5px;
	border-bottom: 1px solid rgb(121, 121, 121);
	border: 1px solid #d6d6d6;
}

thead {
	border : px solid rgb(121, 121, 121);
	color : white;
	background-color: rgb(51, 122, 183);
}

#tables{
	position: absolute;
	top: 50px;
	left: 45%;
	width: 40%;
	bottom: 42%;
	overflow: auto;
}
#tables table{
	font-size: 10px;
}
#tables table td{
	text-align: center;
	border: 1px solid #777;
}

#advanced {
	visibility: hidden;
}

/**** PAGE SUMMARY GRAPHS ****/
#pg_report{
/*	position: absolute; */
	top: 0;
	left: 0;
	height: 90%;
	width: 96%;
/*	margin-top: 70px; */
	overflow: auto;
	opacity: 1;
	z-index: 1;
	transition: all 1s;
}
#aboutStudy{
	float: left;
	width: 100%;
	height: 365px;
}

#aboutStudy span{
	float: left;
	width: 55%;
	display: block;
}

.piechart{
	float: left;
	width: 31%;
	margin: 0 1%;
	height: 360px;
}
.piechart_container{
	width:80%;
	height:80%;
	margin: 0 auto;
	box-shadow: 2px 9px 119px -39px rgba(110,106,110,1);
}

.infograph{
	float: left;
	width: 46%;
	height: 400px;
	margin: 5px;
}


.infograph_container {
	width:80%;
	height:80%;
	margin: 0 auto;
	box-shadow: 2px 9px 119px -39px rgba(110,106,110,1);
}

.infograph svg{
	float: left;
	width: 90%;
	height:385px;
}

.label{
	float: left;
	font-size: 12px;
	text-align: center;
	font-weight: bold;
}
.label.y{
	height: 50%;
	width: 9%;
	padding-top: 20%;
}
.label.y span{
	-webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
	display: block;
	white-space: nowrap;
}
.label.x{
	height: 15px;
	width: 100%;
}

#buUtil{
	float: left;
	width: 100%;
	height: 400px;
}


/*** DESIGN STYLES ***/
#workers .worker.starting{
	background: #ba72c9;
}
#workers .worker.idle{
	background: #49c143;
}
#workers .worker.working{
	background: #d7cc51;
	animation: colourPulse 2s infinite;
	-webkit-animation: colourPulse 2s infinite;
}

@keyframes colourPulse{
	0% { background: #ffea00; }
	50% { background: #9b9447;}
	100% { background: #ffea00;}
}
@-webkit-keyframes colourPulse{
	0% { background: #ffea00;  }
	50% { background: #9b9447;}
	100% { background: #ffea00;}
}
#workers .worker.error{
	background: #d91f1f;
}

/*.data_column {
	position: relative;
	border: 1px solid #000;
	padding: 2px;
	margin: 2px;
	display: inline-block;
	transition: all 1s;
	background: white;
}*/



/*#chart svg{
	height: 400px;
}

#scatter svg{
	height: 500px;
}*/

/*#selection-drop-area-x {
	float: left;
	width: 33%;
	height: 30px;
	background-color: #CCC;
}

#selection-drop-area-y {
	float: left;
	width: 33%;
	height: 30px;
	background-color: #EEE;
}

#group-drop-area {
	float: left;
	width: 33%;
	height: 30px;
	background-color: #AAA;
}*/

.remove {
	position: absolute;
	top: 0;
	right: 0;
	width: 50px;
	height: 50px;
	font-size: 13px;
	font-weight: bold;
	color: #6589ba;
	text-align: right;
	z-index: 999;
}

.hidden {
	display:none;
}
.svg-circleplus{
	height: 50%;
    width: 50%;
    stroke: #cacaca;
    padding: 25%;
}
#chart-type{
	margin: 25px;
}
#go-button{
	margin: 25px;
}
.numeric{
	background: green;
	transition: all 1s;
}

/*** ADVANCED CHART WIZARD ***/
#modal-wizard{
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(255,255,255,0.5);
	z-index: 9000;
	display: none;
	opacity: 0;
	transition: 1s all ease;
}
#modal-wizard.active{
	display: block;
	opacity: 1;
}

#new-chart-wizard{
	position: absolute;
    top: 20%;
    bottom: 30%;
    left: 20%;
    right: 20%;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    z-index: 10000;
    background: #FFF;
    box-shadow: 2px 9px 119px -39px rgba(110,106,110,1);
    transition: 1s all ease;
    overflow: hidden;
	transform: scale(0);
}
#new-chart-wizard #wizard-step1, #new-chart-wizard #wizard-step2, #new-chart-wizard #wizard-step3{
	display: none;
	width: 100%;
	height: 100%;
	position: relative;
}
#new-chart-wizard h2 {
    width: 100%;
    /*margin: 10px;*/
    padding: 0px;
    text-align: center;
    font-size: 1.5em;
	font-weight: 100;
}
#new-chart-wizard .chart-option {
    width: 42%;
    padding: 1%;
    text-align: center;
    display: inline-block;
}
.chart-option img{
	width: 100%;
}
#new-chart-wizard.step1{
	display: block;
	opacity: 1;
	transform: scale(1);
}
#new-chart-wizard.step1 #wizard-step1{
	display: block;
}
#new-chart-wizard #chart-set{
    position: absolute;
    top: 10%;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-x: hidden;
    overflow-y: auto;
}
#new-chart-wizard.step2{
	display: block;
	opacity: 1;
	top: 20%;
	bottom: 20%;
	left: 10%;
	right: 10%;
	transform: scale(1);
}
#new-chart-wizard.step2 #wizard-step2{
	display: inline-block;
}
#wizard-step2 #data-cols{
	display: block;
	position: absolute;
	width: 98%;
	left: 1%;
	top: 4.5em;
	bottom: 52%;
	overflow-y: auto;
}
#wizard-step2 #dropzones{
    position: absolute;
    left: 5%;
    width: 90%;
    top: 50%;
    bottom: 10%;
}
#selection-dragging-container{
	z-index: 11000;
}
.droptarget{
    border-radius: 10px;
    text-align: center;
    vertical-align: middle;
    border: 2px dashed #888;
    width: 30%;
    display: none;
    padding: 10px;
    margin: 10px;
    float: left;
    height: 80%;
    position: relative;
}
.droptarget .data_column.dropped{
	width: 95%;
	margin: 2%;
}
.droptarget.show{
	display: block;
}
.remove{
	display: none;
}
@keyframes dragpulse{
	0% {background-color: #fff; transform: scale(1);}
	50% {background-color: #a0a8ff; transform: scale(0.97);}
	100% {background-color: #fff; transform: scale(1);}
}
body.dragging .droptarget{
	animation-name: dragpulse;
	animation-duration: 2s;
	animation-iteration-count: infinite;
}
.droptarget.dims1 {
	width: 90%;
}
.droptarget.dims2 {
	width: 40%;
}
.droptarget.dims3{
	width: 28%;
}

#new-chart-wizard.step3{
	display: block;
	opacity: 1;
	top: 20%;
	bottom: 20%;
	left: 10%;
	right: 10%;
	transform: scale(1);
}
#new-chart-wizard.step3 #wizard-step3{
	display: inline-block;
}
#wizard-step3 #wizard-customchart{
	position: absolute;
	top: 4.5em;
	left: 5%;
	right: 5%;
	bottom: 10%;
}
#wizard-step3 #navbar{
	position: absolute;
    bottom: 0px;
    height: 5%;
    left: 0;
    right: 0;
}
#wizstages{
	position: absolute;
	top: 7%;
	left: 20%;
	width: 60%;
	height: 5%;
	overflow: hidden;
}
#wizstages p{
	display: inline-block;
	width: 30%;
	border: 1px solid #797979;
	padding: 5px;
	text-align: center;
	font-size: 0.9em;
	color: #797979;
}
#wizstages p.active{
	background: #e1e2ff;
	color: #000;
	border-color: #000;
}
#wizstages p.done{
	background: #383fff;
	color: #fff;
	border-color: #0300b9;
}

#chart-options{
	position: absolute;
	top: 14%;
	left: 5%;
	width: 90%;
	overflow-y: auto;
	overflow-x: hidden;
	height: 80%;
	box-shadow: 5px 5px 5px #666;
	border: 1px solid #666;
}
.chart-option {
    display: block;
    margin: 10px;
    border: 1px solid #b9b9b9;
    border-radius: 15px;
}
#wizard-step2 #navbar{
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 5%;
}
button#wiz2-create, button#wiz3-save{
    position: absolute;
    right: 5%;
    border: 0px;
    border-radius: 5px;
    padding: 10px;
    background: #57e257;
    font-weight: bold;
}
button#wiz2-cancel, button#wiz3-restart{
    position: absolute;
    left: 5%;
    border: 0px;
    padding: 10px;
    border-radius: 5px;
    background: #dc0000;
    color: #fff;
    font-weight: bold;
}
#wizard-step3 input#customchart-name {
    position: absolute;
    font-size: 2.5em;
    background: #ffffef;
    top: 1%;
    left: 1%;
    width: 97%;
    color: #545454;
}
/*** DROP ZONE HELPERS ***/
body.dragging .ui-droppable{
	background: #abc;
}
.helptxt{
	position: absolute;
    top: 25%;
    width: 50%;
    left: 25%;
	z-index: -1;
}
.helptxt h1{
    margin: 0;
    padding: 0;
    font-weight: bold;
    color: #929292;
    font-size: 1.5em;
}
#new-chart-wizard #wizard-step2 .helptxt h2{
    color: #ccc;
    font-size: 1em;
	margin: 0;
}

/* provide some styling to the floating element */
#selection-dragging-container.ui-draggable-dragging .data_column.ui-draggable{
	width: 25em;
}

.modal{
	z-index: 99999;
	display: none;
	background: #000;
	opacity: 0.5;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
.modal img{
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -50px;
	margin-left: -50px;
}
.modal.show{
	display: block;
}
#rightcontrols{
	float: right;
}
#errModal{
	position: fixed;
	z-index: 99999;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.5);
	display: none;
}
#errModal.show{
	display: block;
}
.errBox{
	position: fixed;
	height: 400px;
	width: 400px;
	top: 50%;
	left: 50%;
	margin-left: -200px;
	margin-top: -200px;
	border: 5px solid red;
	background: #FFF;
	border-radius: 30px;
	text-align: center;
	transition: all 0.5s ease;
}
.errBox.details{
	height: 600px;
	margin-top: -300px;
}
.errBox #showErrDetail{
	color: #5555ff;
	margin-top: 10px;
	font-size: 0.8em;
	text-decoration: underline;
}
.errBox.details #showErrDetail{
	display: none;
}
.errBox #errorReport{
	background: #ccc;
	font-family: "Lucida Console", Monaco, monospace;
	color: #444;
	border: 1px solid #222;
	height: 200px;
	width: 380px;
	margin: 10px auto;
	word-wrap: break-word;
	text-align: left;
	overflow-y: auto;
	display: none;
}
.errBox.details #errorReport{
	display: block;
}
.errBox h3{
	font-size: 2em;
	font-weight: bold;
	padding-left: 5%;
	padding-right: 5%;
}
#errPageReload{
	display: inline-block;
	width: 80%;
	margin-top: 10px;
	padding: 10px;
	border: 2px solid #4e0000;
	background: #920000;
	border-radius: 20px;
	color: #FFF;
	font-weight: bold;
}
#data_table{
	width: 96vw;
	height: 81vh;
}
.ui-tabs-hide{
	display: none !important;
}


/** LOGIN FORMS **/
.login-form-container{
    background-color: #fff;
    margin: auto;
    width: 30% !important;
    padding: 20px;
    border-radius: 7px;
}
h5#login_header {
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #989fa9;
    margin: 5px;
}
#login_button{
	background-color: rgb(0, 94, 147);
    color: white;
    width: 40%;
    display: inline-block;
    box-sizing: border-box;
    padding: 10px;
    margin: auto;
    border-radius: 3px;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
}
#login-content label{
    font-family: 'roboto-light';
    font-weight: normal;
    color: #fff;
    padding: 5px 0;
}
.login-form-container .row{
	position: relative;
    text-align: left;
    padding: 10px 0;
    margin: auto;
}
.login-form-container .row label{
	font-family: 'roboto-light';
    font-weight: normal;
    color: #fff;
    padding: 5px 0;
}
.login-form-container .row input{
	width: 100%;
    padding: 10px 10px;
    margin: auto;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    border-radius: 3px;
    color: #989fa9;
}
