#mavlayout
{
    margin-top: 78px;
    padding: 2em;
    margin-bottom: 3em;
}

.form input[type="submit"]
{
	line-height: 6px;
}

.menu-left {
	float: left;
	zoom: 100%;
}

.menu-right {
	float: right;
	zoom: 100%;
}

::-moz-selection { /* Code for Firefox */
  color: #001d01;
  background: #c8e4ca;
}

::selection {
  color: #001d01;
  background: #c8e4ca;
}

#menu-bar {
  margin: 0px 0px 0px 0px;
  //margin-top: 3px;
  padding: 6px 6px 0px 6px;
  height: 84px;
  line-height: 100%;
  border-radius: 1px;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ebf0f9+0,eef2fa+86,ebf0f9+100 */
background: #ebf0f9; /* Old browsers */
background: -moz-linear-gradient(top,  #dbe9e0 0%, #eefaf2 86%, #dbe9e0 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #dbe9e0 0%, #eefaf2 86%, #dbe9e0 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #dbe9e0 0%, #eefaf2 86%, #dbe9e0 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ebf0f9', endColorstr='#ebf0f9',GradientType=0 ); /* IE6-9 */

  border-bottom: solid 1px #DDDDDD;

    position:fixed;
    top:0;
    width:100%;
    z-index:100;
}

#menu-bar li {
  margin: 0px 6px 0px 6px;
  padding: 0px 0px 6px 0px;
  float: left;
  position: relative;
  list-style: none;
}
#menu-bar a {
/* 
  font-family: 'Roboto', arial;
  font-style: normal;
  font-size: 0.90em;
  color: #999999;
  text-decoration: none;
  position:relative;
  float: right;
  margin-left: -20px;
  margin-top: 0px;
  padding-right: -4px;
  /*display: block;
  /*padding: 8px 20px 8px 20px;
  /*margin: 0;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
*/
    font-style: normal;
    font-size: 0.95em;
    color: #3E3E5E;
    text-decoration: none;
    position: relative;
    margin-left: 10px;
    margin-top: 0px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    text-align: right;
    font-weight: 500;
  }

#menu-bar img {
  /*font-weight: bold;*/
  margin-top: -10px;
}

#menu-bar .message {
    position: relative;
    font-weight: 400;
    font-style: normal;
    font-size: 1.0em;
    color: #3E3E5E;
    clear: top;
    text-decoration: none;
    display: table-cell;
    /* padding: 8px 20px 8px 20px; */
    margin: 0;
    margin-right: 15px;
    margin-top: 40px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}
#menu-bar .current a, #menu-bar li:hover > a {
  background: #0399D4;
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr=#EBEBEB, endColorstr=#A1A1A1);
  background: -webkit-gradient(linear, left top, left bottom, from(#EBEBEB), to(#A1A1A1));
  background: -moz-linear-gradient(top,  #EBEBEB,  #A1A1A1);
  color: #444444;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
  -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
  text-shadow: 2px 2px 3px #FFFFFF;
}
#menu-bar ul li:hover a, #menu-bar li:hover li a {
  background: none;
  border: none;
  color: #666;
  -box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}
#menu-bar ul a:hover {
  background: #0399D4 !important;
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr=#04ACEC, endColorstr=#0186BA);
  background: -webkit-gradient(linear, left top, left bottom, from(#04ACEC), to(#0186BA)) !important;
  background: -moz-linear-gradient(top,  #04ACEC,  #0186BA) !important;
  color: #FFFFFF !important;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  text-shadow: 2px 2px 3px #FFFFFF;
}
#menu-bar ul {
  background: #C8C8C8;
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr=#FFFFFF, endColorstr=#CFCFCF);
  background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#CFCFCF));
  background: -moz-linear-gradient(top,  #FFFFFF,  #CFCFCF);  display: none;
  margin: 0;
  padding: 0;
  width: 185px;
  position: absolute;
  top: 30px;
  left: 0;
  border: solid 1px #B4B4B4;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-box-shadow: 2px 2px 3px #222222;
  -moz-box-shadow: 2px 2px 3px #222222;
  box-shadow: 2px 2px 3px #222222;
}
#menu-bar li:hover > ul {
  display: block;
}
#menu-bar ul li {
  float: none;
  margin: 0;
  padding: 0;
}
#menu-bar ul a {
  padding:10px 0px 10px 15px;
  color:#424242 !important;
  font-size:12px;
  font-style:normal;
  font-family:arial;
  font-weight: normal;
  text-shadow: 2px 2px 3px #FFFFFF;
}
#menu-bar ul li:first-child > a {
  border-top-left-radius: 10px;
  -webkit-border-top-left-radius: 10px;
  -moz-border-radius-topleft: 10px;
  border-top-right-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topright: 10px;
}
#menu-bar ul li:last-child > a {
  border-bottom-left-radius: 10px;
  -webkit-border-bottom-left-radius: 10px;
  -moz-border-radius-bottomleft: 10px;
  border-bottom-right-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  -moz-border-radius-bottomright: 10px;
}
#menu-bar:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#menu-bar {
  display: inline-block;
}
  html[xmlns] #menu-bar {
  display: block;
}
* html #menu-bar {
  height: 1%;
}
#left-assoc {
	font-size: 0.6em;
	color: 333;
	float: left;
	text-align: left;
	padding-left: 1px;
	padding-top: 10px;
}
#left-assoc a {
    font-size: 1em;
    margin-left: 0;
    padding-left: 0;
    font-weight: 900;
}
#left-label {
    font-size: 1.8em;
    /* font-weight: bold; */
    float: left;
    text-align: left;
    padding-left: 10px;
    padding-top: 19px;
    font-weight: 600;
}
#login-box {
    font-size: 1.2em;
    float: right;
    text-align: right;
    padding-right: 10px;
    position: relative;
    display: block;
    bottom: 0;
    clear: left;
    margin-top: -20px;
}

#footer {
   position:fixed;
   bottom:0;
	margin-left: 0px;
  font-size: 0.9em;
   z-index:999999;
   width:100%;
   text-align: right;
   color: #404040;
   height:2.6em;   /* Height of the footer */
   background:#CCCCCC;
   overflow: hidden;

	margin-top: 2.6em;

  border-radius: 1px;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  box-shadow: 1px 1px 2px #666666;
  -webkit-box-shadow: 1px 1px 2px #666666;
  -moz-box-shadow: 1px 1px 2px #666666;
  background: #8B8B8B;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF3EF, endColorstr=#C8CBC8);
  background: -webkit-gradient(linear, left top, left bottom, from(#EFF3EF), to(#C8CBC8));
  background: -moz-linear-gradient(top,  #EFF3EF,  #C8CBC8);
  border: solid 1px #6D6D6D;

}

#leftfoot {
	position: absolute;
	top: 0;
	left: 0;
	vertical-align: middle;
	font-size: 1.1em;
	text-align: left;
	line-height: 2.2em;
}

#rightfoot {
	position: relative;
	top: 0;
	right: 0;
	/* width: 50%; */
	text-align: right;
	line-height: 2.5em;
	vertical-align: middle;
	display: inline-block;
}

#contextfoot {
	position: relative;
	top: 0;
	right: 0;
	/* width: 50%; */
	text-align: right;
	line-height: 2.5em;
	vertical-align: middle;
	display: inline-block;
}

img.status-image {
padding-top:4px;
padding-left:2px;
float: left;
width: 16px;
height: 16px;
}

/* left content layout... */

#infobox {
    width: 210px;
    height: 83%;
    padding: 20px 20px;
    background: #efefef;
    margin-top: 10px;
    margin-left: 4px;
	border: none;
    border-right: solid 1px #AAA;
    border-bottom: solid 1px #AAA;
    float: left;
    overflow: auto;
   background:#C8C8C8;
   padding: 20px;
   /*margin:0px auto;*/
-moz-border-top-left-radius: 10px 5px;
-moz-border-top-right-radius: 10px 5px; 
-moz-border-bottom-left-radius: 10px 5px;
-moz-border-bottom-right-radius: 1px 5px;
border-top-left-radius: 10px 5px;
border-bottom-right-radius: 10px 5px;
border-bottom-left-radius: 10px 5px;
border-top-right-radius: 10px 5px; 
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#D9D9D9, endColorstr=#9191FF);
  background: -webkit-gradient(linear, left top, left bottom, from(#D9D9D9), to(#9191FF));
  background: -moz-linear-gradient(top,  #D9D9D9,  #9191FF);
}

#infoblock {
    width: 210px;
    height: 150px;
position:relative;
clear: right; 
    padding: 20px 20px;
    background: #efefef;
    margin-top: 10px;
    margin-right: 4px;
    padding-bottom: 5px;
	border: none;
    border-right: solid 1px #AAA;
    border-bottom: solid 1px #AAA;
    float: right;
    overflow: auto;
	text-align: centre;
   background:#C8C8C8;
   padding: 20px;
   /*margin:0px auto;*/
-moz-border-top-left-radius: 10px 5px;
-moz-border-top-right-radius: 10px 5px; 
-moz-border-bottom-left-radius: 10px 5px;
-moz-border-bottom-right-radius: 1px 5px;
border-top-left-radius: 10px 5px;
border-bottom-right-radius: 10px 5px;
border-bottom-left-radius: 10px 5px;
border-top-right-radius: 10px 5px; 
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#D9D9D9, endColorstr=#9191FF);
  background: -webkit-gradient(linear, left top, left bottom, from(#D9D9D9), to(#9191FF));
  background: -moz-linear-gradient(top,  #D9D9D9,  #9191FF);
}

#mainblock {
    /*
	width: 50%;
    position:absolute;
    left: 25%;
	clear: right; 
	*/
	margin-top: 0px;
	margin-bottom: 50px;
	overflow-y: scroll;
	overflow-x: hidden;
	margin-bottom: 250px;
	padding-left: 1em;
	padding-right: 1em;
}

#logo {
position:relative;
 display:inline;
   float: left;
   padding-top:10px	;
   margin-left:10px	;
   right:0;
   padding-top: -11px;
}
.alert {
    margin-bottom: 25px;
    margin-left: auto;
    margin-right: auto;
    width: 480px;
}

.alert .news{
    margin-top: 10px;
    max-width: 600px;
    width: 460px;
}
.news {

linear-gradient(to bottom, #f3f9f5 0%, #f3f9f5 25%, #f3f9f5 10%)

    background: #f3f9f5;
    background: -moz-linear-gradient(top, #f3f9f5 0%, #f3f9f5 86%, #f3f9f5 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, #f3f9f5), color-stop(86%, #f3f9f5), color-stop(100%, #f3f9f5));
    background: -webkit-linear-gradient(top, #f3f9f5 0%, #f3f9f5 86%, #f3f9f5 100%);
    background: -o-linear-gradient(top, #f3f9f5 0%, #f3f9f5 86%, #f3f9f5 100%);
    background: -ms-linear-gradient(top, #f3f9f5 0%, #f3f9f5 86%, #f3f9f5 100%);
    background: linear-gradient(to bottom, #f3f9f5 0%, #f3f9f5 86%, #f3f9f5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eef3fb', endColorstr='#eef3fb', GradientType=0 );
    border-color: -moz-use-text-color #AAAAAA #AAAAAA -moz-use-text-color;
    border-image: none;
    border-radius: 3px / 2px;
    border-style: solid solid solid solid;
    border-width: 1px 1px 1px 1px;
    border-color: #BBBBBB;
    clear: left;
    font-size: 1.1em;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    max-width: 600px;
    width: 100%;
}

.news .header {
height: 32px;
    line-height: 100%;
    border-radius: 2px;
    padding-top: 5px;
    padding-left: 5px;
    font-size: 1.15em;
    font-weight: 500;
    background: #dbe9e0;
    background: -moz-linear-gradient(top, #dbe9e0 0%, #dbe9e0 86%, #dbe9e0 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, #dbe9e0), color-stop(86%, #dbe9e0), color-stop(100%, #dbe9e0));
    background: -webkit-linear-gradient(top, #dbe9e0 0%, #dbe9e0 86%, #dbe9e0 100%);
    background: -o-linear-gradient(top, #dbe9e0 0%, #dbe9e0 86%, #dbe9e0 100%);
    background: -ms-linear-gradient(top, #dbe9e0 0%, #dbe9e0 86%, #dbe9e0 100%);
    background: linear-gradient(to bottom, #dbe9e0 0%, #dbe9e0 86%, #dbe9e0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d9e0ed', endColorstr='#d9e0ed', GradientType=0 );
    top: 0;
    width: 100%;
    z-index: 1;
    border-style: solid;
    margin: 2px;
    border-width: 1px;
    border-color: #cccccc;
    width: 99%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3px;
}

.news .content {
    padding: 20px 20px;
    font-size: 1.0em;
    font-weight: 300;	
}

.news.listblock.outer {
    margin: auto;
}

.splash {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: #DDEEDD;
    background-origin: padding-box;
    background-position: 0 0;
    background-repeat: repeat;
    background-size: auto auto;
    border-color: #AAAAAA;
    border-image: none;
    border-radius: 2px;
    border-style: solid;
    border-width: 1px;
    clear: left;
    font-size: 1.1em;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    max-width: 600px;
    width: 100%;
    font-weight: 300;
}

.splash .header {
  height: 32px;
  line-height: 100%;
  border-radius: 2px;
  padding-top:5px;
  padding-left:5px;
  font-size: 1.3em;
  font-weight: inherit;
  -moz-border-top-left-radius: 10px 5px;
-moz-border-top-right-radius: 10px 5px; 
border-top-left-radius: 10px 5px;
border-top-right-radius: 10px 5px; 
  background: #8B8B8B;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#C8C8C8, endColorstr=#EFEFEF);
  background: -webkit-gradient(linear, left top, left bottom, from(#C8C8C8), to(#EFEFEF));
  background: -moz-linear-gradient(top,  #C8C8C8,  #EFEFEF);
  //border: solid 1px #6D6D6D;

    //position:fixed;
    top:0;
    width:100%;
    z-index:1;
}

.splash .content {
    padding: 20px 20px;
	font-size: 1.1em;
}

.dash {
    background-attachment: scroll;
    background-clip: border-box;
}

.dash .header {
	font-size: 1.8em;
	line-height: 1.2em;
	color: #333355;
	text-align: center;
	font-weight: 500;
	margin-bottom: 2px;
}

.dash .detail {
	font-size: 1.4em;
	line-height: 1.2em;
	color: #333355;
	text-align: center;
	font-weight: 400;
}

.dash .content {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.dash canvas {
	margin-top: 15px;
}

.dash .txtinfo {
	margin-top: 15px;
	font-size: 6vw;
	display: ;
	color: #225544;
	position: absolute;
	top: 50%;
	width: 100%;
	margin-left: -1vw;
	font-weight: 100;
}

.dash .widget {
	width: 20%;
	height: 24em;
	display: inline-table;
	background-color: #f7f7ff;
	border: solid 1px #e0e0ee;
	padding: 1em;
	margin: 1em;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	position: relative;
}

.custom-count-pos {
	font-size: 12px !important;
	font-weight: bold;
	color: #FFFFFF;
	padding: 0.2em 0.6em;
	float: right;
	background: #BB5555;
	text-shadow: 1px 1px #888888; 
    border-radius: 100px;
    border-top-left-radius: 30px;
    /* margin-top: -0.2em; */
    padding-top: 0px !important;
}

.form-count-pos {
    margin-right: -9px;
    position: absolute;
    margin-top: 6px;
    margin-left: 7px !important;
    color: white !important;
    font-style: normal !important;
    font-weight: 700 !important;
}

.listblock{
    margin: -4px;
    margin-bottom: 15px;
    padding: 8px;
    background-color: #ededed;
    border-radius: 2px;
    border-width: 1px;
    border-color: #cccccc;
    border-style: solid;
}

.listblock.content{
    font-size: 16px;
    background-color: #f5f5f5;
    margin-left: 2px;
    margin-right: 2px;
    margin-top: 3px;
}

.content .header
{
    font-weight: 300;
    font-size: medium;
    padding-top: 2px;
    padding-bottom: 2px;
}

.topgap
{
   padding-top: 130px;
}

.listblock .inner {
    border-top-width: 4px;
    border-top-color: #dddddd;
}

.listblock.fold{
    margin-left: 10px;
    border-left: #aaaaaa;
    border-left-style: solid;
    border-left-width: 4px;
    border-radius: 4px;
    display: block;
}

.hidden {
	display: none;
}

.fragcal {
    padding-left: 5px !important;
    /* min-height: 170px; */
    padding-right: 2px !important;
    max-height: 190px;
    display: inline-block !important;
    /* margin-left: 0px !important; */
}

.lastmonth, .nextmonth {
    color: slategrey;
}

.fragcal .calday
{
    /* background-color: red; */
    display: inline-block;
    width: 13.0%;
    float: left;
    font-size: 9px;
    border-style: solid;
    border-width: 1px;
    border-color: #dddddd;
    margin-bottom: 1px;
    margin-right: 1px;
    font-weight: 700;
    border-radius: 2px;
}

.fragcal .calinner
{
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    padding-top: 0px;
    height: 20px;
    padding-left: 2px;
}

.thismonth .calday 
{
	background-color: #eeffee;
}

.lastmonth .calday, 
.nextmonth .calday 
{
	background-color: #FaFFFa;
}

.calhead .dayname
{
    font-size: 10px;
    font-weight: 700;
    margin-right: 2px;
    margin-left: 1px;
}

.daygap
{
    margin-right: 6px !important;
}

.daygap .calday {
	margin-right: 5px !important;
}

.calhead .daygap {
	margin-right: 7px !important;
   margin-left: 3px !important;
   padding-left: 1px !important;
}

.fulluav
{
	background-color: rgb(249, 208, 208);
}

.partuav
{
	background-color: #FbFBD0;
}

.calinner.corner {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 6px 6px;
    border-color: transparent transparent #0b6110 transparent;
    float: right;
    margin-bottom: -7px;
    margin-top: -6px;
}

.calinner.today {
	border-color: #aaaaaa;
}

.calday.today
{
    border-color: #555555;
    border-width: 1px;
    margin-bottom: 1px;
    margin-right: 1px;
    border-style: solid;
    font-weight: 900;
}

.calmonth .nav
{
	display: inline-block;
}
.nav.prevmonth
{
	float: left;
}

.nav.nextmonth
{
	float: right;
	margin-right: 8px;
}

.calendar .month
{
display: inline-block;
    width: 80%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    font-size: 14px;
    margin-top: -2px;
    margin-bottom: 2px;
}

#refcalblock a {
    padding: inherit !important;
    border: inherit !important;
    margin: inherit  !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

/* impersonate */

div#menu-bar.impersonate, div#footer.impersonate, .menu.impersonate {
    background-color: #FFf9f8 !important;
    background-image: none !important;
}

span.message.impersonate {
    color: #aa3333 !important;
    font-weight: 500 !important;
}

span.message.sandbox {
    color: #aa3333 !important;
    background-image: none !important;
    font-weight: 500 !important;
}

div#menu-bar.sandbox, div#footer.sandbox, .menu.sandbox {
    background-color: antiquewhite !important;
    background-image: none !important;
}

@media print{

	@page {
		size: portrait;
		margin-bottom: 1cm;
	}

	html, body {
		height: 80%;    
		font-size: 9px;
	}

	body.list-type {
		zoom:80%;
		-moz-transform: scale(1);
	}

	body.form-type {
		zoom:100%;
		-moz-transform: scale(1);
	}

	.print:last-child {
	     page-break-after: auto;
	}
	div#menu-bar {
		position: relative;
	}
	div#mavlayout {
		margin-top: 0px;
	}
	.no-print, .no-print *
	{
		display: none !important;
	}
	.topgap
	{
		padding-top: 50px;
	}

	div#blankcontainer{
		width: 100%;
		margin-top: 0;
	}

	span#login-box {
		margin-top: -12px;
    		padding-right: 0px;
    	}

	#customForm a.custom-combobox-toggle {
		border-left: none;
	}

	#customForm input.custom-combobox-input {
		border-right: none;
	}

	.clrdate, img.fold-toggle {
		display: none;
	}

	#customForm div span.ui-button-text {
		padding-left: 6px;
	}

	#customForm button {
		text-align: left;
	}

	/* body {-moz-transform: scale(58);} */

	/* body {transform: scale(.7);} */
	tr {page-break-inside: avoid;}

	/* table {page-break-inside: avoid;} */
}