/*
 * Globals
 */

/* simple single-column format page */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
body {line-height:1.5;}
table {border-collapse:separate;border-spacing:0;}
caption, th, td {text-align:left;font-weight:normal;}
table, td, th {vertical-align:middle;}
a img {border:none;}
body {font-size:12pt;color:#222;background:#fff;font-family:Helvetica Neue, Helvetica, Arial, sans-serif;}
h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#444;}
h1 {font-size:3em;line-height:1.1em;margin-bottom:0.5em;}
h2 {font-size:2em;line-height:1em;margin-bottom:0.5em;margin-top:0.5em;}
h3 {font-size:1.5em;line-height:1;margin-bottom:0.5em;margin-top:0.5em;}
h4 {font-size:1.2em;line-height:1.25;margin-bottom:0.5em;margin-top:0.5em}
h5 {font-size:1em;font-weight:bold;margin-bottom:0.5em;}
h6 {font-size:1em;font-weight:bold;}
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}
p {margin:0 0 1.5em;}
p img {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}
p img.right {float:right;margin:1.5em 0 1.5em 1.5em;}
a:focus, a:hover {color:#009;}
a {color:#669;text-decoration:underline;}
ol, ul, dd { margin-left: 30px; margin-bottom:0.5em; }

.container {width:950px;margin:0 auto;}
.showgrid {background:url(grid.png);}
body {margin:1.5em 0;}

body
{ margin:0; }

p
{ font-size:12pt; }

h1,h2,h3,h4
{ font-weight:100; }

h1
{ line-height:1.1em;
  font-size:32px;
  margin-top:12px; }

h2
{ margin-bottom:0.4em; }

caption, th
{ font-weight:bold; }

caption
{ text-align:center; }

th, td
{ padding: 3px; }


.left
{ float:left; }

.right
{ float:right; }

.clear
{ clear:both; }

.cleardiv
{ clear:both;
  height:0; }

body
{ background: #CDE8EE; }

h1
{ color:#fff; }

h2, h3, h4
{ color:#E44600; }

p
{ color:#666; }


#fcredits
{ margin:3px 10px 3px 3px;
  font-size:12px;
  color:#666; }

#fcredits a
{ font-size:12px;
  color:#666;
  text-decoration:none; }

#fcredits a:hover
{ font-size:12px;
  color:#666;
  text-decoration:underline; }

#menubar {
   margin: 0px;
   padding: 0px;
   height: 66px;
   background:url(bg.png) repeat-x top;
}

.menubutton {
   margin: 0px;
   padding: 0px;
   width: 100px;
   height: 66px;
   font-size:20px;
   line-height:20px;
   font-weight: 100;
   margin-top:0px;
   border-right: 2px solid #bc3800;
   display: table-cell;
   color: white;
   text-align: center;
   vertical-align: middle;
}

.menubutton:hover {
   color: yellow;
   cursor: pointer;
}

#main {
   margin: 0px;
   padding: 0px;
   border: 0px solid green;

}

.graph {
   width:800px;
   height:200px;
   border: 0px solid blue;
   margin: 5px;
}

#footer {
   height: 20px;
   border: 0px solid black;
   margin: 0px;
   padding: 0px;
}

.modal {
	background-color: white;
	color: black;
	border: 1px solid gray;
	padding: 20px;
	display: inline-block;
	position: absolute;
	top: 100px;
	left: 100px;
	width: auto; 
	height: auto;
}
.background {
	background-color: black;
	opacity: 0.8;
	filter:alpha(opacity=80);
	background-color:rgba(0,0,0,0.8);
	width: 100%;
	min-height: 100%;
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	color: white;
}

.inputfile {
  font-family: Verdana, Arial;
  font-size: 14px;
  padding: 4px;
  height: 50px;
  width: 200px;
  margin:5px;
}

.button {
  font-family: Verdana, Arial;
  font-size: 14px;
  padding: 4px;
  height: 40px;
  width: 100px;
  margin:5px;
}

@page {
    size: auto !important
}
@media print {
	#toolbar {
		display:none;
	}
	#titlebar {
		display:flex;
	}
}
@media screen {
	#titlebar {
		display:none;
	}
}

/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #EEE;
}

body {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  justify-content: center;
  color: #fff;
}


/*
 * Header
 */
.masthead {
  margin-bottom: 2rem;
}

.masthead-brand {
  margin-bottom: 0;
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
}


/*
 * Cover
 */
.cover {
  padding: 0 1.5rem;
}
.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}


/*
 * Footer
 */
.mastfoot {
  color: rgba(100,100,100);
  text-align:right;
  font-size:9pt;
}

/***********************************************************************************/
#application {
	width:100%;
	padding:5px;
	margin:0px;
}
#toolbar {
	width:100%;
	text-align:center;
}
#main {
	width:100%;
	height:90%;
	/* border: 1px solid red; */
	padding:0px;
}
#footer {
	width:100%;
	/* border: 1px solid blue; */
	padding: 2px;
	font-size:9pt;
}
.graph {
	margin:0px;
	padding:0px;
	border:1px solid green;
}
#lgraph {
	display: flex;
	align-items: center;
	justify-content: center;
}
#titlebar {
	align-items: center;
	justify-content: center;
	font: 14pt Arial;
	color: black;
}
.left {
	text-align:left;
.right {
	text-align:right;
}

#annotext {
    font-family: Arial;
    font-size:12pt;
}
