/**
 * Project Simplicio
 * by alkoor@yahoo.com
 * (c) 2014 Azure Sky Research, Berkeley, CA
 */

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(../fonts/Lato.woff) format('woff');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(../fonts/Lato-Bold.woff) format('woff');
}
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(../fonts/Lato-Italic.woff) format('woff');
}

body { cursor:auto; }
body.busy { cursor:progress; }

/* Containers */
#debugbar {
	position:fixed;
	bottom:0;
	left:0;
	width:100%;
	height:5%;
	padding:5px 10px;
	background-color:#666;
	color:#eee;
	display:none;
}

#controlpanel {
	position:relative;
	width: 280px;
	height:100%;
	padding:2px;
	background-color:grey/*#5f5964*/;/*#ccccdf;*/
	font-family: 'Lato', sans-serif;
}

#frank-dialog {
	position:relative;
	top: 50px;
	width: 480px;
	height:1000px;
	padding:10px;
	background-color:blue/*#5f5964*/;/*#ccccdf;*/
	font-family: 'Lato', sans-serif;
}

#graphcontainer {
	position: relative;
	//top: 110px;
	width: calc(100% - 0px);
	height: 80%;
	overflow: hidden;
	cursor: default;
}
#graphcontainer.processing {
	//cursor: progress;
	background-image: url("../images/in_progress.gif");
	background-repeat: no-repeat;
	background-size: 53px 65px;
	background-position: center center;
}

#graphlayoutcenternode {
	position: relative;
	top: -27px;
	left: calc(50% - 125px);
	font-family: arial;
	font-size: 16px;
	color: #5f5f5f;
	//border:1px solid #ccc;
	//background-color:#ffffbb;
	padding: 3px;
	margin: 0;
	display:none;
	width:350px;
	//z-index:99;
}
#graphicon {
	position: relative;
	top: -47px;
	left: calc(50% + 165px);
	font-family: arial;
	font-size: 11px;
	color: #5f5f5f;
	border:1px solid #ccc;
	background-color:#ffffbb;
	padding: 3px;
	margin: 0;
	display:none;
	width:100px;
	z-index:99;
}
#modalwindow {
     visibility: hidden;
     position: fixed;
     left: 100px;
     top: 100px;
     width:1000px;
     height:500px;
     text-align:center;
     overflow-y:scroll;
     z-index: 1001;
     border:1px solid #000;

}
#modalwindow div {
     width:100%;
     background-color: #fff;
     opacity: 1;
     padding:2px;
     font-size: 12px;
     text-align:center;
}
.modalwindow div table{
	font-size: 11px;
    background-color: #fff;
    opacity: 1;
}
/* Context menus */
#graphmenu, #nodemenu, #edgemenu {
	position: absolute;
	top: 0;
	left: 205px;
	border:1px solid #000;
	background-color:#ccc;
	display:none;
	border-top-right-radius:5px;
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
	min-width:120px;
	z-index:99;
}

#layoutmenu {
	position: absolute;
	top: 60px;
	right: 10px;
	border:1px solid #000;
	color:#eee;
	background-color:grey;
	display:none;
	border-top-right-radius:5px;
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
	min-width:90px;
	z-index:99;
}

#chronomenu {
	position: absolute;
	top: 235px;
	right: 10px;
	border:1px solid #000;
	color:#eee;
	background-color:grey;
	display:none;
	border-top-right-radius:5px;
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
	min-width:90px;
	z-index:99;
}


#graphmenu a, #nodemenu a, #edgemenu a, #layoutmenu a, #chronomenu a { text-decoration:none; font-size:12px; }

.cxtmenu-disabled {
	opacity: 0.333;
}
			
/* control panel */
#controlpanel hr { margin: 15px 0 5px; }

/* unvisited link */
a:link {
    color: black;
    text-decoration: underline;
}

/* visited link */
a:visited {
    //color: brown;
}

/* mouse over link */
a:hover {
    color: black;
    text-decoration: underline;
}

/* selected link */
a:active {
    color: yellow;
}
#header {
	position:fixed;
	top: 0;
	left: 0;
	//height:75px;
	width:100%;
	z-index: 100;
	font-size=14px;
    background-color:#eeeeee;
    color:white;
    //padding:5px;
}
#nav {
    position:fixed;
    top:55px;
    height:1100px;
    width:270px;
    float:left;
    padding:5px;
    overflow-y:scroll;
}
#section {
    position:fixed;
    top:50px;
    left:270px;
    width:1000px;
    float:left;
    padding:5px;
    overflow-y:scroll;
    height:550px;
/*
    padding-top:60px;
    padding-right:0px;
    padding-bottom:0px;
    padding-left:300px;
    width:850px;
*/
}
#footer {
    position:fixed
    background-color:darkgrey;
    color:white;
    clear:both;
    text-align:center;
    top:1350px;
}

.header h3 { 
	text-align:center; 
	margin:0 0 5px; 
	color:#eee;
}
.header h5 { margin:0 0 10px; color:#eee; }
.header h5 span { color:white; }
.header a { 
	float:right;
	margin-top:-5px;
	color:#ddd;
}

.section div, .nodedialog div { clear:both; }

.section input, .section select, .section textarea, .section .ui-selectmenu-button, 
.nodedialog input, .nodedialog textarea { 
	width: 80% !important; 
	float:right;
	margin-bottom: 3px;	
}
.nodedialog select { 
	width: 20% !important; 
	float:right;
	margin-bottom: 3px;	
}
.section input.numeric, .nodedialog input.numeric { width:10% !important; }
.errormsg { display:none; color:red; }

/*#loadgraph-dialog select { width:100% !important; }*/

.section select option { padding-left:5px; }
.section select option:first-child { 
	padding-left:0;
	color:#666;
}
.section button, .nodedialog button { 
	//background-color: #FFA500;
	border: 1px solid #fff;
	border-radius: 4px;
	height: 30px;
	//margin: 5px auto 0;
	width: 70px;
}
.section .centered { text-align:center; }

.legend {
	padding:0;
	border-radius:0 0 5px 5px;
	color:#fff;
	height:200px;
	overflow:hidden;
}
.legend table { width: 100%; font-size:11px;}
.legend td { padding: 2px 5px 0 0; }
.legend td:first-child { width: 40% }
.legend td.burnt_orange { width: 5px; height: 5px; background: #DF7401;}
.legend td.brown { width: 5px; height: 5px; background: #785340; }
.legend td.teal { width: 5px; height: 5px; background: #369684; }
.legend td.light_maroon { width: 5px; height: 5px; background: #AA3939; }


.settings {
	padding:0;
	border-radius:0 0 5px 5px;
	color:#fff;
	height:200px;
	overflow:hidden;
}
.settings table { font-size:12px; }
.settings td { padding: 0 10px 0 0; color: #000; text-align: middle;}
.settings button { 
	height: 20px;
	margin: 3px auto 3px;
	width: 70px;
	font-size:11px;
}


/* jQuery UI overrides */
.ui-widget {
	font-size:12px;
	font-family: 'Lato', sans-serif !important;
}
.ui-selectmenu-button { float:right; }
.ui-menu.ui-front { min-width:170px; }
.ui-menu-icons .ui-menu-item { padding-left:0.5em; }

.errordialog .ui-icon.ui-icon-alert, 
.confirmdialog .ui-icon.ui-icon-alert 
{ float:left !important; margin:0 7px 20px 0 !important; }

li.ui-widget-header {
	min-width:150px !important;
	border: none;
	font-weight: normal;
	color: #222222;
	background: #cccccc url("images/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x;
}
li.ui-widget-header .ui-state-focus {
	border: none;
	font-weight: normal;
	color: #222222;
	background: #cccccc url("images/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x;
}

/* jQuery Colummns overrides */
.columns .ui-columns-search { 
	font-size:12px !important; 
	height:25px;
	padding:7px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
.columns tbody a { color:#FFA500; }
.columns .ui-columns-table {
	background-color: #FFFFFF;
	height: 234px;
}
.columns .ui-columns-table .ui-table { border-width: 1px; }
.columns .ui-table-footer {
	bottom: 14px;
	position: absolute;
	width: 576px;
}
.columns .ui-table-footer .ui-table-size { display:none !important; }
.columns .ui-table-footer .ui-table-results, .columns .ui-table-footer .ui-table-controls { width:48% !important; }

.emailtemplate {
    background-color:#eeeeee;
}
.emailtemplate p {
    margin: 30,10,30,10;
    background-color:white;
}
.info-icon {
	background: url("../images/questionmark.png")no repeat;
	width: 15px;
}
