body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
  font-weight: 400;
  text-size-adjust: 100%;
  color: #171717;
}

.wrapper {
  max-width: 1600px;
  min-width: 1000px;
  margin: 0 auto !important;
  float: none !important;  
}

/* === Top Nav === */
.topnav {
  background-color: #ffffff;
  padding: 2px 10px;
  border-bottom: 1px solid #e8e8e8;
  overflow: hidden;
}

.topnav-left {
  display: block;
  width: 60%;
  font-weight: 600;
  color: #808080 !important;
  font-size: 20px;
}

.topnav .topnav-icon {
  width: 32px;
  height: 32px;
  margin-top: 3px;
  margin-bottom: 4px;
  margin-right: 5px;
}


.topnav-right {
  display: block;
  width: 40%;
  min-width: 300px;
  text-align: right;
}

.topnav .topnav-profile { 
  color: #000000;
  font-size: 16px;
}

/* === Side Nav === */
.sidenav {
  z-index: 100;
}

.sidenav > ul {
  width: 100%;
  margin: 20px 0;
  padding: 0;
}


.sidenav > ul > li > a {
  display: block;
  line-height: 30px;
  padding: 5px 20px;
  color: #555555;
  font-weight: 500;
  background-color: #ffffff;
}

.sidenav > ul > li > a:hover {
  background-color: #eeeeee;
  text-decoration: none;
}

.sidenav > ul > li.active > a {
  color: #009dd0;
  font-weight: bold;
}

.sidenav > ul > li.active > a:hover {
  background-color: transparent;
  cursor: initial;
}

/* === Layout Content === */
.section-wrapper{
  min-height: 500px;
  margin-top: 10px;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.sidenav-wrapper{
  padding: 0;
  width: 200px;
  float: left;
  height: 100%;
}

.maincontent-wrapper {
  width: 100%;
  /* float: left; */
  padding-left: 200px;
}

.clear-wrapper {
  float: none;
  clear: both;
}

/* === Main Content === */

/* div.content-wrapper {
  background-color: #efefef;
} */

div.content-title {
  font-weight: bold;
  font-size: 24px;
  padding: 5px 20px;
  border-bottom: 1px dotted #cccccc;
  border-top: 1px dotted #cccccc;
  margin-top: 5px;
  /* background-color: #dedede; */
}

div.content {
  padding: 10px 0;
}

/* === Components === */

div.unauthorize {
  line-height: 80px;
  text-align: center;
  font-weight: bold;
}

div.loading {
  line-height: 60px;
  text-align: center;
}

.noRecords {
  line-height: 30px;
  text-align: center;
}

.tableContent {
  margin: 0;
}

.tableContent th {
  font-weight: bold;
  text-align: center;
  padding: 2px 5px;
  background-color: #eeeeee;
  font-size: 14px;
}

.tableContent th a.headerSort {
  cursor: pointer;
  text-decoration: underline;
}

.tableContent td, .tableContent td button {
  font-size: 12px;
}

.tableContentDetail {
  margin: 0;
}

.tableContentDetail th {
  font-weight: bold;
  text-align: center;
  padding: 1px 3px;
  background-color: #eeeeee;
}

.cardInfo-section {
  display: block;
}
.card.cardInfo {
  margin: 10px 10px;
  display: block;
  width: 30%;
  float: left;
}
.card.cardInfo .card-body {
  min-height: 120px;
  padding: 15px 30px;
}

.cardDashboard-section {
  display: block;
}
.card.cardDashboard {
  margin: 10px 10px;
  display: block;
  width: 22%;
  float: left;
}
.card.cardDashboard .card-body {
  min-height: 100px;
  padding: 15px 30px;
}
.cardDashboardNumber {
  text-align: center;
  font-size: 40px;
  font-weight: bold;  
}
.cardDashboardNumber > a {
  color: #333333 !important;
}
.cardDashboardNumber > a:hover {
  text-decoration: none;
}
.cardDashboardNumber.negative > a {
  color: red !important;
}

.card.cardSection {
  margin-bottom: 10px;
  border: none;
}

.card.cardSection .card-header {
  background-color: transparent;
  padding-left: 0;
  padding-right: 0;
}

.card.cardSection .card-body {
  padding: 15px 0;
}

.card.cardSection .card-body .card-subtitle {
  font-size: 14px !important;
}

.lastDaySelection {
  display: block;
  margin: 2px 0;
}

.lastDaySelection .btn-group{
  display: block; text-align: right;
}

.lastDaySelection .btn-group .btn{
  float: none;
  font-size: 14px; 
}

.toggleOnOff, .topSelection {
  float: right;
  margin-right: 10px;
}

.toggleOnOff .btn-group, .topSelection .btn-group{
  display: block; text-align: right;
}

.toggleOnOff .btn-group .btn, .topSelection .btn-group .btn {
  float: none; 
}

.btnLink {
  margin: 0;
  padding: 0 !important;
}

tr.rowSWE > td {
  background-color: rgb(247, 255, 128);
}
tr.rowERR > td {
  background-color: rgb(247, 156, 160);
}
tr.rowHeader > td {
  border-top: 2px double #000000;
}
tr.rowBorder > td:first-child {
  border-left: 2px double #000000;
}
tr.rowBorder > td:last-child {
  border-right: 2px double #000000;
}
tr.rowBorder:last-child > td {
  border-bottom: 2px double #000000;
}
tr.rowErrorMessage > td {
  padding: 5px 10px 10px 10px;
  background-color: whitesmoke;
}

.searchBox {
  margin-left: 20px;
  width: 400px;
  display: inline-block;
}
.searchBox .searchBox-form {
  display: inline-block;
  width: 200px;
  margin-right: 10px;
}

.modalError {
  width: 80%;
  max-width: none !important;
  min-width: 600px;
}

