

* {
  box-sizing: border-box;
}

.skip {
  height: 1px;
  left: -1000px;
  overflow: hidden;
  position: absolute;
  text-align: left;
  top: -1000px;
  width: 1px;
}
   
a.skip:active, 
a.skip:focus, 
a.skip:hover {
  color:white ! important;  
  height: auto; 
  overflow: visible;
  left: 0; 
  top: 0;
  width: auto; 
}

input:not(.form-control):not(.form-check-input), select:not(.form-control), textarea:not(.form-control) {
  font-family: 'Open Sans', sans-serif, arial, helvetica;
}



h1, h2, h3 {
  margin:0.25em 0em 0.5em 0em;
}
h1 {
	font-size:150%;
}
h2 {
  font-size:120%;
}
h3 {
  font-size:110%;
}
h4 {
  font-size:100%;
}

ul:not(.nav) {
  margin:1em 1em 1em 2em;
}
li:not(.list-group-item) {
  margin-bottom:1em;
}

#print_header {
}
#print_header:after {
  clear:both;
  content:'';
  display:table;
  float:none;
}
#print_header .banner {
  color:black;
  font-size:180%;
  font-weight:normal;
  padding:0.25em;
  text-align:center;
}

#header {
  background-color:#336699;  
  border-bottom:1px solid black;
  display:block;
  width:100%;
}
#header:after {
  clear:both;
  content:'';
  display:table;
  float:none;
}

#header .banner {
  color:#bcf;
  display:inline-block;
  font-size:200%;
  font-weight:bold;
  margin-left:0.25em;
}
#header .breadcrumbs { 
  color:#BBCCFF;
  margin:0.5em;
  padding-left: 15px;
}
#header .breadcrumbs a {
  color:#E0E0E0;
  font-size:85%;
  text-decoration:none; 
}
#header .breadcrumbs a:focus, 
#header .breadcrumbs a:hover {
  color:white;
  text-decoration:underline;
}

  
#header img {
/*  display:none;*/
  border-radius:2px;
  height: 58px;
/*  width: 75px;*/
  top: 5px;
  left: 5px;
  vertical-align:top;
  position: absolute;
}


.breadcrumbs {
  width: 100%; background-color: whitesmoke; padding: 5px 5px 5px 16px;
  border-bottom:1px solid antiquewhite;
}

.breadcrumbs a {
  font-size: 10pt;
  text-decoration: none;
}


#header #system_menu_items {
  text-align:right;
}

#header .links {
  color:#bcf;
  font-size: 95%;
  margin:0.5em 0.5em 0.3em 0;
  text-align: right;
}
#header .links a {
  color:#e6e6e6;
  margin: 0.15em 0.5em 0.15em 0.5em;
  padding:0;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;
}
#header .links a:hover, 
#header .links a:focus {
  color:white;
  text-decoration: underline;
}
#header .links a img {
  margin-left: 1em;
  vertical-align: middle;
}

#header .who {
  color:white;
  display:inline-block;
  font-size: 85%;
  margin-right:1.2em;
  padding-top:0.5em;
  text-align:right;
}
#header .who select {
  background-color:#336699;
  border:none;
  color:white;
  margin:0;
  padding:0 0.25em 0 0;
}

#content:after,
#footer:after {
  clear:both;
  content:'';
  display:table;
  float:none;
}



table {
  border-collapse:collapse;
	width: 100%;
}

table thead tr th, 
table tbody tr td {
  padding:0.25em;
	text-align: left;
  vertical-align: top;
}
table thead tr th {
  border-bottom:1px solid #d6d6d6;
  border-top:1px solid silver;
  padding-bottom:0.75em;
  padding-top:0.75em;
}
table tbody th {
	font-weight:normal;
}
table caption {
  color:navy;
  font-size:120%;
  font-weight:bold;
  margin:0.25em 0 0 0;
  padding:0.5em;
  text-align:center;
}
tr th .th_black { color:black !important; }

div.ta {
  display:none ! important; 
}

.alpha-background {
  background: rgb(255, 255, 255) transparent;
  background: rgba(255, 255, 255, 0.9);
  /* filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#e9FFFFFF, endColorstr=#e9FFFFFF); */
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#e9FFFFFF, endColorstr=#e9FFFFFF)";
}

.odd {
  background-color:#eef;
}

.section {
  margin-bottom: 1em;
}

/* do we need this one?  look at the 'after' style following this one */
.clearfix {
  clear: both; 
  content:'';
  display:table;
  float: none;
  height:0;
}
.clearfix:after {
  clear:both;
  content: '';
  display:table;
  float: none;
  height:0;
}

.border {
  border:1px solid silver;
  border-radius:5px;
}

.bold {
  font-weight:bold;
}

.clickable {
  cursor: hand;
  cursor: pointer;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.number {
 /* text-align:right; // interferes with <div class"input number" using Form helper */
}

.center {
  text-align:center;
}

.numeric {
  text-align:right;
}

.smaller { 
  font-size:85%; 
}

/*.blue {
  color:blue;
}*/

.red { 
    color:#d60000;
}

.magenta { 
  color:magenta;
}
.warning_color {
	color:#994D00;
}
.silver { 
  color:silver;
}

.gold { 
  color:gold;
}

.green { 
  color:green;
}

.yellow { 
  color:yellow;
}

.gray { 
  color:#707070;
}

.white { 
  color:white;
}

.hidden { 
  display:none;
}

.indent { 
  padding-left:1em;
}

.italic { 
  font-style:italic;
}

.explain {
  font-style:italic;
  padding-top:0.4em;
}

.debug {
	/*
  Xcolor:#abc;
  Xfont-size:80%;
  */
  padding-top:0.5em;
}
/* link importance hierarchy - concept from Bootstrap */
.link-primary {
  color:blue;
}
.link-secondary,
table thead tr th a {
  color:#222;
} 
.access_icon{
  height:20px;
  vertical-align:middle;
  padding-right:5px;
}
.disable_link {
	border-bottom:1px dashed gray; 
	color:gray;
}
.no-li-style {
  list-style-type:none;
  margin-left:0.25em;
}

.sumbut {
	background:#FFE9D2;
}

.mod_string {
  /* xcolor:gray; */
  color:#565656;
	font-size:90%;
  font-style:italic; 
  margin-bottom:1em;
}
.mod_string span {
	display:inline-block;
  min-width:6.5em;
}

.ghost .changed {
  background-color:#e0e0f6;
}

#ui_status {
  background-color:#9ef;
  border:1px solid silver;
  border-radius:5px 0 0 5px;
  box-shadow:1px 1px 1px silver;
  color:#555;
  display:none;
  font-size:80%;
  margin-right:0.25em;
  padding:0.5em 1em 0.5em 1em;
  position:fixed;
  right:0;
  top:8em;
  width:7em;
  z-index:11000;
}

#ui_counter {
  background-color:#f6f690;
  border:1px solid #ddd;
  border-radius: 3px;
  /* Xbox-shadow:1px 1px 1px silver; */
  display:inline-block;
  font-size:80%;
  min-width:7em;
  padding:0.10em 0.5em 0.10em 0.5em;
  text-align:right;
}


/* Auto Complete */

.ac_results {
  background-color: white;
	border: 1px solid black;
  color: black;
	overflow: hidden;
  padding: 0px;
	z-index: 99999;
}

.ac_results ul {
	list-style-position: outside;
	list-style: none;
  margin: 0;
	padding: 0;
  width: 100%;
}

.ac_results li {
	cursor: default;
	display: block;
	/* 
	if width will be 100% horizontal scrollbar will apear 
	when scroll mode will be used
	*/
	/*width: 100%;*/
	font: menu;
	font-size: 12px;
	/* 
	it is very important, if line-height not setted or setted 
	in relative units scroll will be broken in firefox
	*/
	line-height: 16px;
  margin: 0px;
  overflow: hidden;
  padding: 2px 5px;
}

.ac_loading {
	background: white url('indicator.gif') right center no-repeat;
}

.ac_odd {
	background-color: #eee;
}

.ac_over {
	background-color: #0A246A;
	color: white;
}

.defaultText {
  color:silver;
}
/* end Auto Complete */


/* Accessibility */

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
}

table caption.screen-reader {
	border-bottom: none;
	margin: 0;
	padding: 0;
}
div.hr {
	background: silver;
	height: 1px;
	margin: 10px 0;
	width: 100%;
}

div.field_set {
	clear:left;
	width:100%;
}
div.field_set  > div {
	display:inline-block;
	margin-right:2em;
	vertical-align:top;
}

.th_td {
	vertical-align:top; 
	padding-top:5px; 
	text-align:left; 
}
.th_td_budget {
	vertical-align:top; 
	padding-top:8px; 
	text-align:left; 
}
.id_3 {
 min-width:3em; 
 width:3em;
}

.ui-datepicker-trigger {
 position:relative; 
 left:0.5em; 
 top:0.35em;
}

#msg_dialog { display:none; }

.ui-widget { font-family:'Open Sans', sans-serif, arial, helvetica; }
.ui-widget-overlay { opacity:.5; /* filter:Alpha(Opacity=50); */ background:none; background-color:#080808; }
.ui-widget-header { font-weight:normal; }
.ui-dialog { z-index:10010; top:20%; }
.ui-dialog .ui-dialog-titlebar-close { display:none; }
.ui-dialog .ui-dialog-titlebar-close span.ui-icon-closethick { top:0; left:0; }
.ui-dialog .ui-dialog-titlebar { background:none; }
.ui-dialog .ui-dialog-buttonpane button { font-size:80% !important; padding:0.2em 0.5em 0.2em 0.5em !important; margin: .2em .2em .2em 1em !important; }

.label {
  float: left;
  margin: 0.5em 1em 0 0;
  max-width: 8.5em;
  min-width: 8.5em;
  padding-top: 0.25em;
  vertical-align: top;
  text-align: right;
}

.filters span {
  margin-right:0;
}

/* End Accessibility*/

#debug_view {
  display: none;
  /* font-family:open sans, sans-serif, arial, helvetica; */
  font-size: 90%;
  margin-bottom: 0.25em;
  margin-top: 4em;
  padding-top: 0.25em;
}

#debug_data {
  background-color:#eef;
  display:none;
}

#debug_block {
  border-bottom: 1px dashed silver;
}

#timer {
  color:#7788cc;
  font-size:90%;
  left:0.65em;
  position:fixed;
  top:2px;
  z-index:11000;
}

#alias_mode {
  color: gold;
  /* font-family:open sans, sans-serif, arial, helvetica; */
  font-size: 85%;
  position: fixed;
  right:1em;
  text-shadow:1px 1px 2px #444;
  top: 4.75em;
  z-index:10001;
}


#container {
  /* remove the following when banner no longer is 'fixed': margin-top: 5.5em; */
  /* margin-top: 5.5em; */
  min-height: 520px;
}

#subheader {
  margin: 0;
}

#content-container {
  padding:0.5em;
  margin:0 0.5em;
  min-width:0;
}

#content {
}

 
.message {
  font-size:120%;
  text-align: center;
  margin-bottom: 1em;
}

#customFlashMessage {
  border-radius:0 0 5px 5px;
  box-shadow:1px 1px 2px;
  clear:both;
  color:white;
  cursor:pointer;
  cursor:hand;
  font-size:120%;
  font-weight:normal;
  margin:0;
  padding:0.5em 0 0.5em 0;
  text-align:center;
}
#customFlashMessage.success {
  background-color:#55BB55;
}
#customFlashMessage.error {
  background-color:#BB5555;
}
#customFlashMessage.warning {
  background-color:#E0B040;
}
#customFlashMessage.info {
  background-color:#8899BB;
  /* XXbackground-color:#224466; */
}

.form {
  margin:0 auto;
  padding:0.5em;
}

.view {
  margin:0 auto;
  padding:0.5em;
}

.view .section h4,
.form .section h4 {

  border-bottom:1px solid silver;
  /* use radius with Sue's background color */
  border-radius:3px;
  color:#559;
  font-size:120%;
  font-weight:normal;
  margin-bottom:0.5em;
  margin-top:0; 
  /* padding:0.5em 0.25em 0 0.25em; w/o/ Sue's background */
  padding:0.25em;
}

.view .section h2,
.form .section h2,
.view .section h3 {
  background-color:#E3E8DC;
  border-bottom:1px solid silver;
  border-radius:3px;
  font-weight: normal;
  color:#559;
  margin-bottom:0.5em;
  padding:0.25em;
}

.inner-section {
	margin-left:5%; 
	margin-top:1em; 
}
.inner-section h4 {
	font-size:100%;
}


form .error input, form .error select, form .error textarea {
  background-color:#fee;
  border-color:red;
  margin-bottom:0.25em;
}
form .required label:after {
  color:#D60000;
  content:'*';
}

.error-message {
  color:#D60000;
  font-size:85%;
  margin-left:12.5em;
}

h1 span a, h2 span a, h3 span a, h4 span a, h5 span a, h6 span a {
  color:blue;
  font-weight:normal;
  margin-left:1em;
  text-decoration:underline;
}

h1 span a {
  font-size:50%;
  vertical-align:middle;
}
h2 span a {
  font-size:65%;
  vertical-align:middle;
}
h3 span a {
  font-size:75%;
  vertical-align:middle;
}
h4 span a {
  font-size:80%;
  vertical-align:middle;
}
h5 span a {
  font-size:85%;
  vertical-align:middle;
}

h1 span a:hover, 
h2 span a:hover, 
h3 span a:hover, 
h4 span a:hover, 
h5 span a:hover, 
h6 span a:hover {
  text-decoration:underline;
}

.section p {
  margin:1em 0 1em 0;
}

.h_container h1 {
	display:inline-block;
  vertical-align:middle;
  vertical-align:-webkit-baseline-middle; 
}

.h_container .action_bar {
	display:inline-block; 
	font-size:85%; 
  margin-bottom:1em;
	padding-top:0.5em;
}

.context-menu {
}

.context-menu a {
  color:blue;
}

#footer {
  border-top: 1px solid silver; 
  color: #555;
  font-size: 80%;
  margin:0; 
  padding: 1em;
}
#footer div {
	display:inline-block;
  margin:0.5em 0 1em 0;
}
#footer div p {
  margin:0;
}

#footer .links a {
  /* xcolor:#89d; */
  margin-left: 0.5em;
  margin-right: 0.5em;
  text-decoration: none;
}

#footer .links a:hover,
#footer .links a:focus {
  text-decoration: underline;
}
#footer:after {
	clear:both;
	float:none;
}
#sound_frame {
  border:none;
  display:none;
  float:left;
  height:0;
  min-height:0;
  min-width:0;
  width:0;
}
#sound_frame:before {
  clear:both;
  float:none;
}
#sound_frame:after {
  clear:both;
  float:none;
}

.fancy {
  background-color:white; 
  border:1px solid silver; 
  border-radius:3px;
  box-shadow:none; 
  padding:0.25em; 
}

/* .action-button input[type='submit'] { */

.action-button input, .action-button a {
	color: #fff;
	background: #0080C0;
	background-repeat: repeat-x;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#00A0FF), to(#006090));
	background-image: -webkit-linear-gradient(top, #00A0FF, #006090);
	background-image: -moz-linear-gradient(top, #00A0FF, #006090);
	background-image: -ms-linear-gradient(top, #00A0FF, #006090);
	background-image: -o-linear-gradient(top, #00A0FF, #006090);
	background-image: linear-gradient(top, #00A0FF, #006090);
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius:5px;
  
  /* Xpadding:0.25em 1em 0.25em 1em; */
  padding:0.5em;
  
  margin-right:0.25em;
  text-decoration:none;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.action-button input:hover, .action-button input:focus, .action-button a:hover, .action-button a:focus {
	color: #fff;
	background: #00C0A0;
	background-repeat: repeat-x;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#00C0FF), to(#0080b0));
	background-image: -webkit-linear-gradient(top, #00C0FF, #0080b0);
	background-image: -moz-linear-gradient(top, #00C0FF, #0080b0);
	background-image: -ms-linear-gradient(top, #00C0FF, #0080b0);
	background-image: -o-linear-gradient(top, #00C0FF, #0080b0);
	background-image: linear-gradient(top, #00C0FF, #0080b0);
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius:5px;

  /* Xpadding:0.25em 1em 0.25em 1em; */
  padding:0.5em;

  margin-right:0.25em;
  text-decoration:underline;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.6);
}

#subheader {
}

.menu {
  /* font-family:open sans, sans-serif, arial, helvetica; */
  font-size:85%;
  border-radius:5px;
  text-align:center;
  width:100%;
  vertical-align:top;

	background: #707070;
	background-repeat: repeat-x;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#606060), to(#A0A0A0), to(#333333));
	background-image: -webkit-linear-gradient(top, #606060, #A0A0A0, #333333);

	background-image: -moz-linear-gradient(top, #606060, #A0A0A0, #333333);

	background-image: -ms-linear-gradient(top, #606060, #A0A0A0, #333333);
	background-image: -o-linear-gradient(top, #606060, #A0A0A0, #333333);
	background-image: linear-gradient(top, #606060, #A0A0A0, #333333);  
}
.menu ul {
  margin:0;
}
.menu ul li {
  display: inline-block;
  font-weight: normal;
  line-height: 3em;
  list-style-type: none;
  margin:0;
  vertical-align: middle;
}
.menu ul li a {
	color: #ffffff;
  margin:0 0 1em 0;
  padding:0.75em 1.1em 0.75em 1.1em;
  text-decoration:none;
	/* Xtext-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5); */
}
.menu ul li a:hover, .menu ul li a:focus {
	background-color: black;
  /*  
	Xbackground: #0080C0;
	Xbackground-repeat: repeat-x;
	Xbackground-image: -moz-linear-gradient(bottom, #CCCCCC, #808080, #7C7C7C, #333333);
	Xbackground-image: linear-gradient(bottom, #CCCCCC, #808080, #7C7C7C, #333333);
	XXXXbackground: #777777;
	Xbackground-repeat: repeat-x;
	Xbackground-image: -webkit-gradient(linear, left top, left bottom, from(#00C0FF), to(#0080b0));
	Xbackground-image: -webkit-linear-gradient(top, #00C0FF, #0080b0);
	Xbackground-image: -moz-linear-gradient(top, #00C0FF, #0080b0);
	Xbackground-image: -ms-linear-gradient(top, #00C0FF, #0080b0);
	Xbackground-image: -o-linear-gradient(top, #00C0FF, #0080b0);
	Xbackground-image: linear-gradient(top, #00C0FF, #0080b0);
	Xtext-shadow: 0 -1px 0 rgba(0, 0, 0, 0.6);
	*/
  text-decoration:underline;
}
.menu2 ul li a {
	color: #fff;
  background: #0080C0;
	border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius:3px;
  padding:0.25em 1.25em 0.25em 1.25em;
  text-decoration:none;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
}
.menu2 ul li a:hover, .menu2 ul li a:focus {
	background: #00C0A0;
	background-repeat: repeat-x;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#00C0FF), to(#0080b0));
	background-image: -webkit-linear-gradient(top, #00C0FF, #0080b0);
	background-image: -moz-linear-gradient(top, #00C0FF, #0080b0);
	background-image: -ms-linear-gradient(top, #00C0FF, #0080b0);
	background-image: -o-linear-gradient(top, #00C0FF, #0080b0);
	background-image: linear-gradient(top, #00C0FF, #0080b0);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.6);
  text-decoration:underline;
  padding-bottom:0.5em;
}


legend {
  /* xcolor:#7686D6; */
  /* xcolor:#2b5681; */
}

label:not(.bootstrap) {
  display:inline-block;
  /* float:left; */
  /* xmargin:0.5em 2em 0 0; */
  margin:0.5em 1em 0 0;
  max-width:8.5em;
  min-width:8.5em;
  padding-top:0.25em;
  vertical-align:top;
  text-align: right;
}

#outer {
  padding: 1em;
}
.closer2 {
  float:none;
  display:inline-block;
}

.closer {
  background-color: #6cf;
  border: 1px solid #6cf;
  border-radius: 3px;
  float: right;
  font-weight: normal;
  font-size: 100%;
  /* line-height: 1;  */
  margin: 1.25em 1.5em 2.5em 0;
  padding: 0.25em 1em 0.25em 1em;
}
.closer a {
  color: #fff;
  font-size:100%;
  text-decoration: none;
}
.closer a:hover, .closer a:focus {
  color: #333;
}


.no-input {
  display:inline-block;
  margin-bottom:1em;
  margin-top:0.5em;
  padding:0.25em;
}

.status {
  background-color:lightGreen; 
  border:1px solid green; 
  border-radius:3px; 
  color:black; 
  font-size:75%; 
  font-weight:normal; 
  margin-left:2em; 
  padding:0.25em; 
}

.inactive {
  color:#707070;
}

a .disabled {
  border: 1px solid;
    border-color: silver black black silver;
    border-radius: 3px;
    border-width: 1px 2px 2px 1px;
    color: #707070;
    font-weight: normal;
    margin-left: 0.25em;
    padding: 0.5em;
    text-decoration: none;
  
}

.inactive_link span {
  border:1px solid; 
  border-color: silver black black silver;
  border-radius:3px; 
  border-width: 1px 2px 2px 1px;
	color:#707070;
	font-weight: normal;
	margin-left: 0.25em;
  padding:0.5em;
	text-decoration: none;
}
.dash_action_bar {
    float: right;
    margin-top: .75em;

}
.dash_action_link a {
  border:solid; 
  border-color: silver;
  /* xborder-style:outset; */
  border-radius:3px; 
  border-width: 1px;
  color:darkblue;
  margin-right:4em;
  padding:0.3em;
  text-decoration:none; 
  background-color:lightblue;
  font-size: 95%;
}
.dash_action_link a:hover {
  text-decoration:underline; 
}
.action_link a {
  border:solid; 
  border-color: silver black black silver;
  /* xborder-style:outset; */
  border-radius:3px; 
  border-width: 1px 2px 2px 1px;
  color:#048 ! important;
  margin-left:0.25em;
  padding:0.5em;
  text-decoration:none; 
}
.action_link a:hover {
  text-decoration:underline; 
}
.action_bar {
  float:right;
  margin-bottom:1em;
}
.action_bar ul {
  margin:0;
}
.action_bar ul li {
	display:inline-block;
	float:left;
	list-style-type:none;
	padding:0;
}


.edit_link span {
  border-left:1px solid silver; 
  border-right:1px solid silver; 
  border-top:1px solid silver; 
  border-top-left-radius:3px; 
  border-top-right-radius:3px; 
  color:silver ! important;
  /* padding:0.5em 1em 0.5em 1em; */
  padding:0.5em;
  text-decoration:none; 
}
.edit_link a {
  border-left:1px solid silver; 
  border-right:1px solid silver; 
  border-top:1px solid silver; 
  border-top-left-radius:3px; 
  border-top-right-radius:3px; 
  color:#048 ! important;
  /* padding:0.5em 1em 0.5em 1em; */
  padding:0.5em;
  text-decoration:none; 
}
.edit_link a:hover {
  text-decoration:underline; 
}

.edit_bar {
  border-bottom: 1px solid silver;
  float: none;
  font-size: 85%;
  margin: 2em 0 1em;
  padding-bottom: 0.5em;
}
div.edit_bar { 
	margin:0 1em 1em 0; 
	padding:0;
}
.edit_bar ul { 
	margin:0;
}
.edit_bar ul li {
	display:inline-block; 
	list-style-type:none;
	margin:0 ! important;
}
.edit_bar ul li a {
	display:inline-block; 
	border-bottom:1px solid silver; 
	margin-bottom:-1px; 
	/* min-width:7em; */ 
  min-width:8.5em; 
	text-align:center;
}
.edit_bar ul li span {
	display:inline-block; 
	border-bottom:1px solid silver; 
	margin-bottom:-1px; 
	/* min-width:7em; */ 
  min-width:8.5em; 
	text-align:center;
}
.sub_edit_bar {
  border-bottom: 1px solid silver;
  float: none;
  font-size: 85%;
  margin: 2em 0 1em;
  padding-bottom: 0.5em;
  font-weight: bold;
}



/* highlight current period column for reports */

.column_current {
  background-color:#eee; 
}

/* hilite 'row' when mouse is over it */
.hover_hilite:hover {
  /* background-color:silver; */
  background-color:#def;
}
/* index label line */
.list_title_background{
  background-color:#eee;
}
.display-field{
	margin-top: 0.75em; 
	display:inline-block;
}
.input input, .input select, .input textarea {
  border:1px solid silver;
  border-radius:3px;
  font-size:100%;
  margin-bottom:1em;
  margin-top:0.5em;
  padding:0.25em;
}

optgroup {
	font-style:italic;
}

.archive {
  color:silver;
}

select {
  padding-right:5px;
}

input:focus, select:focus {
  /* Xbox-shadow:2px 2px 3px #abf; */
}

input:not(.form-control):not(.form-check-input):not(.btn) {
  min-width:15em;
}

input[type='checkbox']:not(.form-check-input) {
  margin:0.6em 0.5em 0 0;
  min-height:1em;
  min-width:0;
}

input[type='radio'] {
  margin:0.525em 0.5em 0 0;
  min-width:0;
}

input[type='button'], input[type='submit'] {
  min-width:0;
  border-style: outset;
}

form .submit button{
	border-style:outset;
	min-width:0;
	border-radius: 3px;
	font-size: 100%;
	margin-bottom: 0.25em;
	margin-right:2.2em;
	margin-top:0.5em;
	padding:0.5em;
	border-bottom-width:1px !important;
	border-right-width:1px !important;
}

.submit {
  margin-left:10.5em;
  position: sticky; bottom: 1px; text-align: right;

}
.submit * {
  /* margin-right:1em; */
}
.submit a {
  color:blue;
}

.action-button {
  clear:both;
}
.action-button input {
  clear:none;
  color:white;
  float:left;
}



.nav ul {
  margin:0; 
  padding:0 !important;
  list-style-type:none;
}
.nav ul li {
  float:left; 
  width: auto;
  margin:0;
}
.nav ul li a {
  float:left;
  min-width:3em;
  margin:0 0.25em 1em 0;
}
.nav ul li a:focus,
.nav ul li a:hover {
}

.nav-side {
  margin:1em;
  width:14%;
}

.nav-side div {
  margin-bottom:1em;
}


.filters span {
  display:inline-block;
  margin-right:2em;

}

.filters_date {
  min-width:6.5em;
  width:6.5em;
}

.filters span:last-child {
  margin-right:0;
}
.filters span:last-child input[type=submit] {
  background-color:#fc8;   /* fdb */
  cursor:hand;
  cursor:pointer;
  padding-left:1em;
  padding-right:1em;
  margin-left: 10px;
}
.filters-w-print  input[type=submit]{
    background-color: #fc8;
    cursor: hand;
    cursor: pointer;
    padding-left: 1em;
    padding-right: 1em;
    margin-left: 10px;
}

.my_form div { 
  clear:both;
  margin-bottom:1em;
}

.my_form .data {
  clear:none;
  float:left;
  font-size:100%; color:black;
}

.my_form .inline div {
  clear:none;
}
.my_form .inline input,
.my_form .inline label {
  clear:none;
  float:left;
}

.show_pw {
  margin-left:9.5em;
  vertical-align:top;
}
.show_pw input {
  float:left;
  margin-top:0.25em;
  vertical-align:middle;
}
.show_pw label {
  margin-top:0;
  font-size:90%;
  text-align:left;
  vertical-align:middle;
}
.show_pw::after {
  clear:both;
  content: '';
  display:block;
  float:none;
  margin-bottom:1em;
}


.test-link { color:#8090D0; cursor:hand; cursor:pointer; text-decoration:none; }
.test-link:hover, .test-link:focus { text-decoration:underline; }


.component { display:block; width:100%; padding:0; margin:0; }
.split-component { display:inline-block; width:100%; padding:0; margin:0; }
.split-sixtyfive { display:inline-block; width:65%; }
.split-fifty { display:inline-block; width:50%; }
.split-thirty { display:inline-block; width:30%; }
.split-twentyfive { display:inline-block; width:25%; }
.split { display:inline-block; min-width:0; }

/* label { color:#666; } */

.field {
  display:inline-block;
  margin: 0em 0 0.25em 0; 
}

.prompt { 
  color:#666; 
  float:left; 
  margin: 0.5em 2em 0 0; 
  min-width:8.5em; 
  vertical-align:top;
}
.prompt:after {
	content:'';
}

.data { 
  border-bottom: 1px solid silver; 
  display:inline-block;
  font-size: 100%; 
  margin: 0.25em 0 1em 0; 
  min-height:1em;
  min-width: 15em; 
  padding: 0.25em; 
  vertical-align: top;
}
.data a {
  color:blue;
  font-weight:normal; 
}

.hint {
  display:inline-block;
  font-size:90%;
  padding-top:0.5em;
}

.instructions { 
  background-color:#fea; 
  border:1px solid silver; 
  border-radius:3px; 
  margin:1em 0 2em 0; 
  padding:0.5em; 
}


.title_append {
  margin-left:1em;
}

.span_append {
  margin-left: 0.5em;
}

.email_link {
  cursor:hand;
  cursor:pointer;
}

.email_link:focus,
.email_link:hover {
  text-decoration:underline;
}



form fieldset { 
  border:none; 
  margin:0; 
  padding:0; 
}
form fieldset .input {
  float:left; 
  margin-right:3em;
}
form fieldset select {
  min-width:15.5em;
}

form fieldset fieldset {
  margin-left:2em; 
}

#select optgroup {
  font-style:normal;
  font-weight:normal;
}
#select optgroup option {
}

#dashboard_left {
  border:1px solid silver;
  border-radius:5px;
  display:inline-block;
  margin:0 1em 0 0;
  min-height:34.8em;
  overflow:auto;
  padding:0.25em;
  vertical-align:top;
  width:30%;
}

#dashboard_right {
  border:1px solid silver;
  border-radius:5px;
  display:inline-block;
  min-height:34.8em;
  overflow:auto;
  padding:0.25em;
  vertical-align:top;
  width:64%;
}

.line {
  margin-bottom:0.5em;
}

.module {
  background-color:#f6f6f6;
  border:1px solid silver;
  border-radius:5px;
  color:#149;
  float:left;
  min-height: 9.5em;
  min-width: 28.8%;
  margin: 0 0.5em 0.5em 0.5em;
  max-width: 29%;
  padding:0.25em 0;
  text-align:center;
  text-decoration:none;
}

.module:hover, .module:focus {
  background-color:#336699;
  color:white;
}

.dashboard_modules {
  margin:0 auto;
}

.dashboard_modules div img {
  border:none;
  margin-top:0.5em;
  margin-bottom:0.25em;
  height:80px;
  max-width:80px;
  vertical-align:middle;
  width:80%;
}

.page-break {
  display: none;
}

/* for objects that support Modification - like periodic program and expense reports and applications */
.mod {
  /* xfont-size:85%; */
  margin-top:0.5em; 
}
.mod_color {
  background-color:#def; 
  background-color:#df8; 
  background-color:#ffc; 
}
.mod_list {
  border:1px solid silver; 
  border-radius:3px; 
  color:#321; 
  font-size:85%; 
  margin-bottom:1em; 
  overflow:auto; 
}
.mod_list ul {
  margin:0.15em 0 0.15em 2em; 
  padding:0.25em; 
}
.mod_list ul li {
  margin:0;
  padding:0; 
}
.mod_note {
  border:1px solid silver; 
  border-radius:3px; 
  color:#321; 
  font-size:85%; 
  height:4em; 
  overflow:auto; 
}

.page_info {
  text-align:center;
  margin-bottom:2em;
}

#import_container {
  margin:1em 0 1em 0; 
  text-align:center;
}
#import_container p {
  margin:1em 0 1em 0;
}
#import_container .details {
  display:none;
}


.report_status { 
 color:#080;
 font-size:120%;
 font-weight:bold;
 font-style:italic;
 margin-left:1em;
 padding:0;
}

.report_block { margin-bottom:2em; }

.report_block .category { color:#556699; font-weight:bold; font-size:110%; padding-top:0.5em; }
.report_block .description { color:#556699; font-size:90%; padding-top:0.5em; }

.report_block .head1 { }
.report_block .head2 { border:none; width:7%; }
.report_block .head3 { border-top:1px dotted silver; }
.report_block th { font-weight:normal; padding:0.25em 1em 0.25em 1em; }
.report_block td { padding:0.25em 1em 0.25em 1em; vertical-align:middle; } 

.report_block .label  { color:#555; margin-top:0.25em; margin-bottom:0.25em; }
.report_block input[type='text'] { margin:-1em 0 0 0; max-width:7em; min-width:7em; text-align:right; }

.report_block .pophelp { color:gray; cursor:pointer; font-size:60%; margin-left:1em; vertical-align:top; }

.report_block .totals { /* Xborder:1px dotted silver; */ } 
.report_block .grand_totals { font-weight:bold; } 

/* programmatic program reports */
.activity_input th, .activity_input td { text-align:left; vertical-align:top; padding:0.25em; }
.measure_input th, .measure_input td { text-align:right; vertical-align:top; padding:0.25em; }

#system_menu_icon {
  display:none;
  float:right;
  /* font-size:200%; */
  margin:0.5em 1em 0 0;
}

#system_menu_icon a { 
  color:white;
  text-decoration:none;
}

.sp_instructions_container { margin:0 0 0 0; padding: 0; }
.sp_instructions_container:after { clear: both; content: ''; display:table; float:none; margin-bottom:1em; }
.sp_instructions_container * { /* xfloat:left; */ vertical-align: top; }
.sp_instructions_indicator { background-color:#eff; border-radius:16px; border:1px solid #137; color:#24A; cursor:hand; cursor:pointer; font-size:85%; margin-right: 1em; padding:0 6px 0 6px; }
.sp_instructions { color:#24A; display:none;  }

.wp-years table { margin-left:10.5em; width:auto; } 
.wp-years label { display:none; min-width:0; } 
.wp-years td { padding-right:1em; }
.wp-years th { font-weight: normal; text-align:left; }


@media screen and (max-width: 1024px) 
{
  .filters {
    font-size:75%;
  }
  .filters span {
    margin-right:1em;
  }
  .form, .view {
    padding:0;
  }
}

@media screen and (max-width: 800px) {
  #header .who {
    display:none;
  }
  #header .banner {
    display:block;
    text-align:center;
  }
  #header #system_menu {
padding-top: 10px;
    padding-bottom: 30px;
  }

  #header .banner img {
    height: 30px;
  }
  #header #system_menu_icon {
    color:white;
    display:inline-block;
    padding:0;
    margin:0;
  }
  #header #system_menu_icon #icon-prompt {
    font-weight:normal;
    padding-right:0.25em;
  }
  #header #system_menu_items {
    display:none;
    background-color:steelblue;
    border:1px solid #336699;
    box-shadow:1px 2px 4px black;
    position:absolute;
    left:0;
    top:5em;
    margin:0;
    padding:2px;
    width:80%;
    min-width:280px;
    text-align:left;
  }
  #header #system_menu_items li {
    display:block;
    width:100%;
  }
  #header #system_menu_items .separator {
    border-bottom:1px solid lightsteelblue;
    padding-bottom:0.5em;
  }
  #header #system_menu_items .sub_menu ul, 
  #header #system_menu_items .sub_menu span {
    color:#E6E6E6;
    display:inline-block;
    padding-left:1em;
  }
  #header #system_menu_items .organization_list ul li span,
  #header #system_menu_items .organization_list ul li a {
    text-transform:initial ! important;
  }
  #header #system_menu_items .sub_menu span {
    padding-bottom:0.5em;
    padding-top:0.5em;
  }
  #header #system_menu_items .sub_menu li span {
    display:inline-block;
  }
  #header #system_menu_items .sub_menu .current_org {
    font-style:italic;
  }
  
  #header #system_menu_items li a {
    margin:0;
    padding:0.5em 1em;
    width:100%;
    text-align:left;
  }

  .filters span {
    display:inline-block;
    margin-right:2em;
  }

  #header .links {
    text-align:left;
    float:none;
  }
  #header .pull-left,
  #header .pull-right,
  #footer .pull-left,
  #footer .pull-right {
    float:none;
  }
  #footer div {
    display:block;
  }
  #container {
    clear:both;
    display:table;
    float:none;
    margin-top:0;
  }
  label {
    width:100%;
  }
  .error-message, .submit {
    margin-left:0;
  }
  .split-fifty {
    width:100%;
  }
  .prompt {
    width:100%;
  }
  #dashboard_left {
    display:block;
    float:none;
    margin:1em 0 0 0;
    width:99%;
  }
  #dashboard_right {
    display:block;
    float:none;
    margin:1em 0 0 0;
    width:99%;
  }
  .filters span {
    margin-right:0.25em;
  }
}


@media screen and (max-width: 640px) 
{
  label {
    text-align: left;
  }
}


@media screen and (max-width: 480px) 
{
  #header #system_menu #system_menu_items {
    float:left ! important;
  }
  #header #system_menu #system_menu_items .who {
	  margin-left:0.5em;
    text-align:left ! important;
  }
  #header .links {
    color:inherit;
    text-align:left;
  }
  #header .links a {
    /* color:inherit; */
  }
  #header .links a:hover,
  #header .links a:focus {
    /* color:inherit; */
  }
  #header .who {
    color:inherit;
  }
}

@media screen and (max-width: 440px) 
{
	.show_pw {
	  margin-left:0;
	}
}

@media screen and (max-width: 340px)
{
  .action_bar {
    display:block;
    float:none;
    width:100%;
  }
	.action_bar ul li {
    display:block;
    float:none;
    margin:0;
    width:90%;
  }
	.action_bar ul li a,
	.action_bar ul li span {
	  display:block;
    width:100%;
  }
	.edit_bar ul li {
    width:90%;
  }
	.edit_bar ul li a {
    width:100%;
	}
}

@media screen and (max-width: 300px) {
  #header .banner {
    display:block;
    margin-right:0.5em;
    text-align:right;
  }
}

@media print 
{
  .no_print { 
    display: none; 
  }
  
	body {
    font-family:open sans, sans-serif, arial, helvetica, garamond;
    overflow:visible;
  }
  div {
    overflow:visible;
  }

  .report_filters {
	  display:none;
  }
  .submit { 
    display: none; 
  }
  .h_container .action_bar {
    display:none; 
  }
  
  #customFlashMessage {
	  display:none;
  }
  #alias_mode {
    display: none; 
  }

  #header {
    z-index:0;
    position:inherit;
    border:none;
    border-bottom:1px solid silver;
  }
  #container {
    display:block;
    margin-top:0;
  }

  #ui_status {
    background-color:inherit;
    border:none;
    border-radius:0;
    box-shadow:none;
    color:#ffffff;
    display:none;
    font-size:0;
    margin:0;
    padding:0;
    position:fixed;
    right:0;
    top:0;
    width:0;
    z-index:-100;
  }
  
  .page-break {
    display: block;
    page-break-before: always;
  }
  
  textarea.ta {
    display:none ! important; 
  }
  
  div.ta {
    display:block ! important; 
  }
  
  .sp_instructions_indicator {
    display: none;
  }
  
  #search_container {
    display:none;
  }
  
  /*
  This could be used to fine-tune printing at the page level.
  Probably would be found under an @media print at-rule selector.
  This is not supported by all/most browsers - yet.
  For 'size' values could include auto, landscape, portrait 
  in addition: actual sizes in inches or millimeters or Paper 
  sizes - like A6, LETTER, LEGAL 
  @page {
    size: auto;
    margin: ;
  }
  */
  
  #outer {
    display:none;
  }
  #footer {
    display:none;
  }

  .mod_list { 
    border:none; 
    border-radius:0; 
    overflow:initial;
  }
  .mod_note { 
    border:none; 
    border-radius:0; 
    height:auto; 
    overflow:initial; 
    padding:0.25em;
  }  

 .closer {
   display: none;
  }
}



.edit_link .active {
  background-color: #E3E8DC;
}

.edit_link a:hover {
  text-decoration: none;
}

.edit_link .fas {
  margin-right: 5px;
}

.edit_link:hover {
  background-color: whitesmoke;
}

thead th a:after {
  display: inline;
  cursor:pointer;
  padding-left: 2px;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;

  font-family: "Font Awesome 5 Free"; font-weight: 900; content: " \f0dc";
}
tbody td {
  cursor: default;
}

.filters {
  margin: 10px 0px;
  /*padding: 10px 10px 0 10px;*/
  background-color: whitesmoke;
  border-radius: 5px;
  border: 1px solid silver;
}


.blue {
  color:blue;
}
/*  Used for h3 anchor link headings - see Activities/view/view.ctp */
.no_link {
	text-decoration: none;
	color: #559;
}

.select2-container {
  display:inline-block !important;
}
.select2-choices{
  display:-webkit-inline-box;
}


input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
    text-align: right;
}