/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 23-May-2018, 07:57:24
    Author     : 20903
*/

html,td, th{ 
    margin: 0;
    padding: 5px !important;
    box-sizing: border-box;
    --primary-color: #195894;
}

body{ 
    background-color: #5CACD1;
    margin: 0;
    padding: 0px !important;
    box-sizing: border-box;
    --primary-color: #5CACD1;
}

.ui-inputfield {
    margin: 0;
    padding: 2px !important;
    box-sizing: border-box;
}

.ui-datatable, .ui-datatable-header, .ui-datatable-footer {
    padding: 0.2rem !important;
}

body .ui-datatable thead th {
    background: none;
}

body .ui-inputfield {
  background: #fff  !important
}

body .ui-datatable .ui-datatable-header {
    background: #c4c4c4 -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.8)), to(rgba(255, 255, 255, 0)));
    color: black;
    font-weight: bold;
    border: 1px solid #a8a8a8;
}

body .ui-datatable .ui-datatable-scrollable-header, body .ui-datatable .ui-datatable-scrollable-footer {
    background: #c4c4c4 -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.8)), to(rgba(255, 255, 255, 0)));
}

body .ui-datatable .ui-datatable-footer {
    background: #c4c4c4 -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.8)), to(rgba(255, 255, 255, 0)));
}

.ui-widget-content .ui-state-default {
    background: #c4c4c4 -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.8)), to(rgba(255, 255, 255, 0)));
    color: black;
    font-weight: bold;
    border: 1px solid #a8a8a8;
}

.ui-widget-header .ui-state-default {
    background: #c4c4c4 -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.8)), to(rgba(255, 255, 255, 0)));
    color: black;
    font-weight: bold;
    border: 1px solid #a8a8a8;
}

.ui-datatable-header, .ui-datatable-footer {
    text-align: center !important;
}

html {
	background-color: white;
        height: 100%;
    width: 100% !important;
}

#form3_table2>td {
	color: black !important;
}

td.right {
    text-align: right !important;
}

body {
    margin: 0px !important;
    font-size: 0.6em !important;
    min-height: 100vh !important;
    max-height: 100vh !important;    
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 75px calc(100vh - 125px) 40px;
    column-gap: 5px;
    grid-template-areas:
      "header  header"
      "nav     content"
      "footer      footer";
}

body .ui-button {
    /*background-color: #195894;*/
    padding: 0.1rem !important;
    /*border-radius: 0px !important;*/
}

body .ui-button-text {
    /*background-color: #195894 !important;*/
    padding: 0.3rem !important;
}

body .ui-chkbox .ui-chkbox-box.ui-state-active {
    border-color: #195894;
    background: #195894;
}

body .ui-tabs .ui-tabs-nav li.ui-tabs-header.ui-state-active a {
    color: #195894;
}

.ui-button.navSelected {
    background-color: orange;
    color: black;
}

body .ui-panel .ui-panel-content {
    padding: 0.4em;
}

body .ui-selectbooleanbutton.ui-state-active, body .ui-selectonebutton > .ui-button.ui-state-active, body .ui-selectmanybutton > .ui-button.ui-state-active {
    background: #195894;
    border-color: #195894;
    color: white;
}
/*
body .ui-button ui-widget .ui-state-active {
    color: white;
}*/

#lay_north {
  grid-area: header;
}
#lay_east {
  grid-area: content;
  background-color: white;
}
#lay_west {
  grid-area: nav;
  min-width: 200px;
  max-width: 200px;
  background-color: white;
  overflow-y: auto !important;
  padding: 0px 5px;
}
#lay_south {
  grid-area: footer;
  background-color: white;
  margin-top: 5px;
  font-size: 1.5em;
}

.navMenu {
    border: none !important;
    border-radius: 0px !important;
}

.navMenu .ui-button-text {
    padding: 0.3rem 1rem !important;
}

.leftNavBut {
    border: none !important;
    border-radius: 0px !important;
    /*background-color: #195894 !important;*/
}

#top_issuesLnk {
    background-color: #feffec;
}

div.ui-datatable-footer .ui-button, p .ui-button {
    min-width: 70px !important;
    margin: 0px 2px !important;
}

div.ui-fileupload-buttonbar .ui-button, .uploadRefBut {
    width: 120px;
}

body .ui-panel .ui-panel-titlebar {
    padding: 0.5em 1em 0.3em;
}

body .ui-dialog .ui-dialog-titlebar {
    padding: 0.4em 0.4em 0.4em 1em;
}

body .ui-dialog .ui-dialog-content {
    padding: 0.5em 1em;
}

#top_msgBut, #top_issuesLnk {
    height: 30px;
}

.title {
    /*font-style:  italic;*/
    font-weight: bold;
}

.mdButton {
    max-width: 150px; line-height: 0.8em; margin-left: 2px; margin-right: 2px;
}

.menuNav {
    text-decoration: none; color: gray !important; font-size: large; padding-bottom: 5px; 
}

.table.is-scrollable tbody {
    overflow-y: scroll;
    margin: 0;
}

.mobile-datatable {
    height: 100%;
    max-height: 100%;
    display: flex;
}

.mobile-tablewrapper {
    flex: 1 1 auto;
    display: flex;
    flex-flow: column nowrap;    
}

.mobile-tablebody {
    flex: 1 1 auto;
    overflow-y: auto;
}

.mobile-font {
    font-size: 2vh;
}

.dataTables_wrapper {
    flex : 1;
    height: 100%;
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}

.center {
    text-align: center;
}

.col_300 {
    width: 300px;
}

.col_400 {
    width: 400px;
}


.col_200 {
    width: 200px;
}

.col_100 {
    width: 100px;
}

.mobile-header {
    display: flex;
}

.mtitle {
    color: #363636;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.125;
    word-break: keep-all;
}

.msubtitle {
    color: #4a4a4a;
    font-size: 1.0rem;
    font-weight: 400;
    line-height: 1.25;
    word-break: keep-all;
}

.topPanel {
    background-color: #008080;
    width: 100%;
    height: 50px;
    text-align: center;
}

div.field {
    display: flex;
    flex-flow: row;
}

div.field :first-child{
    min-width: 100px;
}

#lay_north > div:first-child{
    text-align: center;
}

/*.ui-widget-header, iu-state-default {
    border: 1px solid #a8a8a8;   
    background: #c7e5ff linear-gradient(top,rgba(255,255,255,0.5),rgba(255,255,255,0));
    background: #c7e5ff -webkit-gradient(linear,left top,left bottom,from(rgba(255,255,255,0.5)),to(rgba(255,255,255,0)));
    background: #c7e5ff -moz-linear-gradient(top,rgba(255,255,255,0.5),rgba(255,255,255,0));
    color: #333;
    font-weight: bold;
    text-shadow: 0 1px 0 rgba(255,255,255,0.7);
}*/

div[id=lay_north] + div{
    overflow: visible !important;
}

#lay_center > div:first-child{
    overflow: visible !important; 
}

#lay_center {
    border-right: 3px solid #008080;
    padding-top: 0px;
    height: 100%;
}

#lay_east {
    padding-top: 0px;
}

.ui-autocomplete-input {
    width: 95%;
}

.ui-layout-unit {
    left:  0px;
    top: 0px;
    bottom: 0px;
    border: none !important;
}

.ui-layout {
    border: none !important;
}

.divTitle{
    color: #2E7D32;
    text-align: center;
}

.pageTitle{
    font-size: medium; color: #008080; font-weight: bold;
}

.middlePanel {
    width: 100%;
    height: auto;
    background-color: white;
}

.bottomPanel {
    width: 100%;
    height: 30px;
    text-align: center;
    margin-top:5px;
    position: fixed;
    bottom: 10px;
    vertical-align: central;
}

.leftPanel {
    width: 20%;
    min-width: 200px;
    height: 100%;
    margin: 10px;
    float: left;
}

.centerPanel {
    height: 100%;
    width: 60%;
    background-color: white;
    float: left;
}

.rightPanel {
    width: 15%; 
    min-width: 200px;
    height: 100%;
    float: right;
}

.ui-growl, .ui-message {              
    top:40%;
    left:40%;
}


.bold {
    font-weight: bold !important;
}

.sort-active {
    background-color: skyblue;
}

.badge {
    min-width: 30px;
    border: 2px solid red;
    border-radius: 50%;
    padding: 3px;
    color: white;
    background-color: red;
}

@media screen {
    .ui-growl {
        top : 40px;
        left: 30px;
    }
}
