/* CSS Document */
@-webkit-viewport{width:device-width}
@-moz-viewport{width:device-width}
@-ms-viewport{width:device-width}
@-o-viewport{width:device-width}
@viewport{width:device-width}

/***************Core Structure**************/
body {
    margin-left:0px;
	margin-top:0px;
	padding:0;
    font:13px/18px Arial, Helvetica, sans-serif;
    color:#000;
	background:#F3F3F1;
}

body#left, body#top{background:#0A4484;}  

html, body {height:100%;}

.maintable {border:1px solid #0E3171;}

.gridview {
	font-family:Verdana,Arial, Helvetica, sans-serif;
	border:1px solid #121212;
	font-size:12px;
	line-height:20px;
	background:#fcfcfc;
}

.gridview th{
	height:26px;
	text-align:left;
}

.gridview tr{border-bottom:1px solid #121212;}

.gridview tr:hover{background:#ccc;}

.gridview td{padding:4px;}

.gridview a {color:#960001;}

.gridheaders, .gridview th {
	background:#77C24B;
	color:#fff;
	font-size:13px;
	font-weight:bold;
	vertical-align:middle;
}

.gridview.grey th, 
.gridheaders.grey{background:#999;}

.gridview.black th, 
.gridheaders.black{background:#111;}

table td{
	height:25px;
	text-align:left; 
	vertical-align:top;
}

table.cellpadding2 td{padding:2px;}


/* float and align elements */
.fleft {
	float: left !important;
}
.fright {
	float: right !important;
}
.alignleft {
	text-align: left !important;
}
.alignright {
	text-align: right !important;
}
.aligncenter {
	text-align: center !important;
}
.alignmiddle {
	vertical-align: middle !important;
}


/***************Core Text**************/
a {
    color:#6091a6;
    outline:none;
    cursor:pointer;
    text-decoration:underline;
}

a:hover {text-decoration:none }

p {margin-bottom:18px }

h1 {
	color:#960001;
	font-size:23px;
	margin-top:0px;
	margin-bottom:10px;
}

h2 {
	color:#77C24B;
	font-size:20px;
	margin-top:0px;
	margin-bottom:10px;
}

h3 {
	color:#0E3171;
	font-size:18px;
	margin-top:0px;
}

.headers {
	color:#0E3171;
	font-size:13px;
	font-weight:bold;
	line-height:20px;
	padding:0px 0px 0px 0px;
	text-decoration:none;
}

.red {color:#f00;}

/***************Buttons and Textboxes**************/
.buttons, a.buttons, .textboxes{
	border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    behavior: url(../js/PIE.htc);
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.buttons, a.buttons, .buttons.fa{
    background: #77C24B;
    font-size: 16px;
    color: #fff;
    line-height: 26px;
    text-decoration: none;
    text-transform: none;
    font-weight: 400;
    padding: 0 14px; 
    position: relative;
	border:none;
	margin-bottom:0.4em;
	margin-right:3px;
	display:inline-block;
	font-family: fontAwesome, Arial, Helvetica, sans-serif; 
}

.buttons:hover, a.buttons:hover {
	-webkit-box-shadow:inset 0 1px 4px 2px #48752D;
	box-shadow:inset 0 1px 4px 2px #48752D;
	cursor:pointer;
}

.buttons:active, a.buttons:active {
	top:1px;
	text-shadow: 0 2px 2px #111;
}

.buttons.small, a.buttons.small {
	font-size:14px;
	line-height:22px;
	padding:0 10px; 
	margin-bottom:0;
}

/* padding between font awesome and button / textbox text */
.buttons.fa::before { margin-right: 0.4em; }
.buttons.iconOnly.fa::before { margin-right: 0; }

.gridheaders .buttons, .gridheaders a.buttons {
	background:#0A4484;
	border:1px solid #111;
	font-size:14px;
}

.gridheaders input.buttons,
.gridheaders a.buttons{
	vertical-align:middle;
	margin-top:3px;
	margin-bottom:0;
}

.gridheaders .buttons:hover, .gridheaders a.buttons:hover {
	-webkit-box-shadow:inset 0 1px 4px 2px #083566;
	box-shadow:inset 0 1px 4px 2px #083566;
}

.buttons.act{background:#0B8AE8;}
.buttons.red, a.buttons.red, input[type='submit'].red{background:#F40000;}
.buttons.red:hover:enabled, a.buttons.red:hover:enabled, input[type='submit'].red:hover:enabled{background: #E80000;}

.textboxes {
	border:1px solid #0E3171;
	width:200px;
	height:22px;
	background-color:#fff;
	color:#333;
	padding-left:4px;  
	
}

.textboxes:focus {
	border:1px solid #77C24B;
	-webkit-box-shadow:0px 1px 2px 0px #77C24B ;
	-moz-box-shadow:0px 1px 2px 0px #77C24B;
	box-shadow:0px 1px 2px 0px #77C24B;
	padding-left:8px;
	color:#111;
}


/* ===[ Information boxes ]=== */
.info-box, .success-box, .notification-box, .error-box {
    padding:10px 10px 10px 70px;
	margin:10px;
    position:relative;
	display:block;
    min-height:45px;
    font-size:13px;
}

.info-box {
    color:#64757f;
	background:#e1f2fc url(../images/icon-info.png) 10px 10px no-repeat;
    border:1px solid #68a2cf;
}

.success-box {
    color:#697a58;
	background:#eeffdd url(../images/icon-download.png) 10px 10px no-repeat;
    border:1px solid #a3c159;
}

.notification-box {
    color:#79725b;
	background:#fef7e0 url(../images/icon-note.png) 10px 10px no-repeat;
    border:1px solid #e6c555;
}

.error-box {
    color:#7e6c6c;
	background:#feebeb url(../images/icon-error.png) 10px 10px no-repeat;
    border:1px solid #ff9999;
}


/* ===[ left menu ]=== */
.sf-menu {
    text-transform:uppercase;
    font-size:0;
    line-height:0;
    font-weight:bold;
}

    .sf-menu ul {
        position:absolute;
        top:-999px;
        min-width:100%;
        background:#0A4484;
        padding:0;
        left:0;
        text-align:left;
        border-radius:7px;
    }

    .sf-menu ul.hidden {top:-999px }

    .sf-menu li {position:relative }

.sf-menu>li {
    border-bottom:1px solid #000000;
    background:#0A4484;
    width:100%;
    text-align:left;
    -webkit-transition:all 0.5s ease;
    -moz-transition:all 0.5s ease;
    -o-transition:all 0.5s ease;
    transition:all 0.5s ease;
}

.sf-menu a {
    color:#fff;
    text-decoration:none;
    font-size:14px;
    line-height:20px;
    display:block;
    position:relative;
	margin-left:10px;
}

.sf-menu a:before{content:"> ";} 

.sf-menu>li>a {padding:10px 0 10px }

.sf-menu>li.current, .sf-menu>li:hover, .sf-menu>li.sfHover {background:#77C24B }


/* === TABLE SORTING === */
table.tablesorter thead tr .tablesorter-header {
	background-image: url(../images/bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}

table.tablesorter thead tr .tablesorter-header:hover {
	background-color:#aaa;
}

table.tablesorter thead tr .tablesorter-headerAsc {
	background-image: url(../images/asc.gif);
}

table.tablesorter thead tr .tablesorter-headerDesc {
	background-image: url(../images/desc.gif);
}

table.tablesorter thead tr .tablesorter-headerDesc, table.tablesorter thead tr .tablesorter-headerAsc {
	background-color: #0D58A8;
	color:#fff;
}

/* ===[ modal box ]=== */
.modal{
	position:fixed;
	width:100%;
	height:100%;
	top:0;
	left:0;
	z-index:99;
	display:none;
	background-color: rgba(240, 240, 240, 0.4);
}

.modal .modalDialog{
	position:absolute;
	left: 50%;
	top: 50%;
	
	-moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translate(-50%, -50%);
	
	background:#fff;
	box-sizing:border-box;
	padding:1em;
	
	border:1px solid #ccc;
	-webkit-border-radius: 4px 4px 4px 4px;
	border-radius: 4px 4px 4px 4px;

	-webkit-box-shadow: 0 0 10px 1px rgba(200,200,200,.5);
	box-shadow: 0 0 10px 1px rgba(200,200,200,.5);
	
	overflow-y:auto;
	max-height:95%;
	max-width:95%;
}

.modal:target{
	display: block;
}

.modal a.close{
	position:absolute;
	top:0;
	right:4px;
	text-decoration:none;
}

.modal a.close:hover{
	text-decoration:underline;
}

.modal h1{color:#111;}


/* ===[ panel tabs ]=== */
.tabs{
	padding: 0.2em 0 1px 0;
	border-bottom: 1px solid #ddd;
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
}

.tabs a{
	display: block;
	margin: 2px 2px -1px 0;
	padding: 8px 16px;
	font-weight: 600;
	text-align: center;
	color: #333;
	border: 1px solid #ddd;
	background:#fefefe;
	font-family: Arial, Helvetica, sans-serif;
	text-decoration:none;
}

.tabs a.act,
.tabs a:hover{
	color: #fff;
	background:#999999;
	/*background:#0081C3;*/
	border-bottom: 1px solid transparent; 
	text-decoration:none;
}

.tabs a.fa::before{margin-right:0.3em;}