:root {
  --main-color: #157347;
  --accent-color : #146c43;
  --contrast-color: #fff; 
  --accent-font-color: #ffb40b;
  --es-panel-bg: #ffffff;
  --es-border: #dfe0ef;

}
body {
    font-size: 12pt;
    line-height: 1;
    font-family: 'Roboto', sans-serif;
    color: #575962;
    background: #f7f7fb;
    width: 100%;
    height: 100%;
}
h1, h2, h3 {
    font-size: 48px;
    line-height: 64px;
    font-weight: 500;
}
h1 { 
    font-size: 48px;
    line-height: 64px; 
}
h2 {
    font-size: 48px;
}
h3 {
    font-size: 48px;
}
h4 {
    font-size: 40px;
}
p {
    line-height: 25px;
}
.text-right {
  text-align: right;
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
/* Bootstrap css */
.form-control:focus,
.form-check-input:focus {
  box-shadow: none;
  border-color: #157347a8;
}
.form-label {
  color: var(--main-color);
  font-size: 90%;
  padding: 5px 0 5px 0;
}
.form-label span.required {
  color: var(--accent-font-color);
}
.btn {
  padding: 0.27rem 1.5em;
  font-weight: bold;
  font-size: 85%;
}
.btn i {
  line-height: 17px;
  padding-left: 10px;
}
.btn-link {
  color: var(--main-color);
}
.btn-link:hover {
  color: var(--accent-color);
}
.btn-primary,
.bg-primary {
  background-color: var(--main-color) !important;
  border-color: var(--accent-color);
}
.btn-primary:hover {
  background-color: var(--main-color);
  border-color: var(--accent-color);
}
.btn-check:active + .btn-primary, 
.btn-check:checked + .btn-primary, 
.btn-primary.active, 
.btn-primary:active, 
.show > .btn-primary.dropdown-toggle {
  background-color: var(--main-color);
  border-color: var(--accent-color);
}
.btn-check:focus + .btn-primary, .btn-primary:focus {
  background-color: var(--main-color);
  border-color: var(--accent-color);
  box-shadow: none;
}
.btn-check:focus + .btn, .btn:focus {
  outline: 0;
  box-shadow: none;
}

.form-switch .form-check-input {
  width: 2.8em;
  height: 1.4em;
  margin-right: 5px;
}
.form-switch .form-check-label {
  line-height: 1.9em;
}
.form-check-input:checked {
  background-color: var(--main-color);
  border-color: var(--accent-color);
}
.form-check-input:focus {
  border-color: var(--main-color);
  box-shadow: none;
}
.field-instruct {
  padding: 10px 0 10px 0;
  font-size: 85%;
}
.modal-header {
  background-color: var(--main-color);
  border-bottom: 1px solid var(--accent-color);
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}
.modal-header .btn-close,
.modal-content .alert .btn-close {
  background: none;
  opacity: 1;
  float: right;
}
.modal-header .btn-close::after,
.modal-content .alert .btn-close::after {
  font-family: 'eslcloud' !important;
  content: "\f00d";
  color: var(--contrast-color);
  line-height: 10px;
}
.modal-content .alert.alert-danger .btn-close::after {
  color: #842029;
}
.modal-title {
  color: var(--contrast-color);
}
.modal-content {
  border: 2px solid var(--main-color);
}
.login-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-top: 10%;
}
.login-wrapper .login-btn {
  width: 100%;
  padding: 10px;
}
.wrapper .top_navbar {
	width: 100%;
	height: 65px;
	display: flex;
	position: fixed;
	top: 0;
  z-index: 2;
  box-shadow: 0px -1px 4px 1px rgba(0,0,0,0.35);
}
.wrapper .top_navbar .logo {
	width: 224px;
	height: 100%;
	background: var(--main-color);
  transition: all 0.3s linear;
}
.wrapper .top_navbar .logo a {
	display: block;
    text-align: center;
    font-size: 180%;
  	color: #fff;
  	padding: 20px 12px;
}
.wrapper .top_navbar > nav {
  background-color: #fff;
  width: 100%;
}
.wrapper .top_navbar > nav .dropdown-toggle {
  color: var(--main-color);
}
.wrapper .navbar-nav a.nav-link,
.wrapper .navbar a.nav-link {
    color: var(--accent-color);
}
.main_body .sidebar_menu {
	position: fixed;
  	top: 65px;
  	left: 0;
  	background: var(--main-color);
  	width: 200px;
  	height: 100%;
  	transition: all 0.3s linear;
}
.main_body .sidebar_menu .inner__sidebar_menu {
	position: relative;
	padding-top: 40px;
}
.main_body .sidebar_menu ul  { 
    list-style: none;
    padding: 0;
}
.main_body .sidebar_menu ul li a {
  color: #fff;
  font-size: 100%;
  padding: 10px;
  display: block;
  white-space: nowrap;  
  border-bottom: solid 1px var(--accent-color);
  text-decoration: none;
}
.main_body .sidebar_menu ul li a i {
    font-size: 130%;
}
.main_body .sidebar_menu ul li a .icon {
  margin-right: 8px;
}
.main_body .sidebar_menu ul li a span {
  display: inline-block;
}
.main_body .sidebar_menu ul li a:hover {
    background: #fff;
    color: var(--main-color);
    text-decoration: none;
}
.main_body .sidebar_menu ul li a.active {
  background: #22119d;
  color: #fff;
}
.main_body .sidebar_menu .hamburger {
  position: absolute;
  top: 5px;
  right: -20px;
  width: 40px;
  height: 40px;
  background: #f7f7fb;
  border-radius: 50%;
  cursor: pointer;
}
.main_body .sidebar_menu .inner_hamburger,
.main_body .sidebar_menu .hamburger .arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.main_body .sidebar_menu .inner_hamburger {
  width: 30px;
  border-radius: 50%;
  height: 30px;
  background: var(--main-color);
}
.main_body .sidebar_menu .hamburger .arrow {
  color: #fff;
  font-size: 100%;
}
.main_body .sidebar_menu .hamburger .arrow i:last-child {
    display: none;
}
.main_body .container {
  max-width: 100%;
	width: calc(100% - 200px);
	margin-top: 65px;
	margin-left: 200px;
	padding: 25px 25px;
	transition: all 0.3s linear;
}
.main_body .container .item_wrap {
	display: flex;
	margin-bottom: 20px;
}
.main_body .container .item_wrap .item {
	background: #fff;
	border: 1px solid #e0e0e0;
	padding: 25px;
	font-size: 100%;
	line-height: 22px;
}
.main_body .container .item_wrap .item:first-child {
	margin-right: 20px;
}
/* after adding active class */
.wrapper.active .sidebar_menu {
    width: 55px;
}
.wrapper.active .top_navbar .logo {
    width: 55px;
}
.wrapper.active .sidebar_menu ul {
  text-align: center;
}
.wrapper.active  .top_navbar .top_menu {
    width: calc(100% - 55px);
}
.wrapper.active .hamburger .arrow i:last-child {
  display: block;
}
.wrapper.active .hamburger .arrow i:first-child {
  display: none;
}
.wrapper.active .sidebar_menu ul li a .list {
  display: none;
}
.wrapper.active .main_body .container {
  width: calc(100% - 55px);
  margin-left: 55px;
}

.page-item.active .page-link {
    background-color: var(--main-color);
    border-color: var(--accent-color);
}
.page-item .page-link {
  padding: 5px 10px;
}
/* dataTable */
.dataTable-card .card-header {
  color: var(--main-color);
}
.dataTables_wrapper .form-control {
  display: initial;
}
.dataTable-card .card-header {
  line-height: 30px;
  background-color:#fff;
  color:var(--main-color);
  font-weight: bold;
}
table.dataTable {
  width: 100%;
  margin: 0 auto;
  clear: both;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 90%;
}
table.dataTable thead th,
table.dataTable tfoot th {
  color: var(--main-color);
}
table.dataTable thead th,
table.dataTable thead td {
  padding: 10px 18px;
  border-bottom: 1px solid #bdbdbd;
}
table.dataTable thead th:active,
table.dataTable thead td:active {
  outline: none;
}
table.dataTable tfoot th,
table.dataTable tfoot td {
  padding: 10px 18px 6px 18px;
  border-top: 1px solid #bdbdbd;
}
table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
  cursor: pointer;
  *cursor: hand;
  background-repeat: no-repeat;
  background-position: center right;
}
table.dataTable thead .sorting::before,
table.dataTable thead .sorting_asc::before,
table.dataTable thead .sorting_desc::before,
table.dataTable thead .sorting_asc_disabled::before,
table.dataTable thead .sorting_desc_disabled::before {
  font-family: 'eslcloud' !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  font-size: 70%;
  padding: 0px 5px 0px 0px;
}
table.dataTable thead .sorting::before {
    content: "\f161";
}
table.dataTable thead .sorting_asc::before {
    content: "\f160";
}
table.dataTable thead .sorting_desc::before {
    content: "\f161";
}
table.dataTable thead .sorting_asc_disabled::before {
    content: "\f160";
}
table.dataTable thead .sorting_desc_disabled::before {
    content: "\f161";
}
table.dataTable tbody tr {
  background-color: #ffffff;
}
table.dataTable tbody tr.selected {
  background-color: #B0BED9;
}
table.dataTable tbody th,
table.dataTable tbody td {
  padding: 6px 10px;
}
table.dataTable.row-border tbody th, 
table.dataTable.row-border tbody td, 
table.dataTable.display tbody th, 
table.dataTable.display tbody td {
  border-top: 1px solid #ddd;
}
table.dataTable.row-border tbody tr:first-child th,
table.dataTable.row-border tbody tr:first-child td, 
table.dataTable.display tbody tr:first-child th,
table.dataTable.display tbody tr:first-child td {
  border-top: none;
}
table.dataTable.cell-border tbody th, 
table.dataTable.cell-border tbody td {
  border-top: 1px solid #ddd;
  border-right: 1px solid #ddd;
}
table.dataTable.cell-border tbody tr th:first-child,
table.dataTable.cell-border tbody tr td:first-child {
  border-left: 1px solid #ddd;
}
table.dataTable.cell-border tbody tr:first-child th,
table.dataTable.cell-border tbody tr:first-child td {
  border-top: none;
}
table.dataTable.stripe tbody tr.odd, 
table.dataTable.display tbody tr.odd {
  background-color: #f9f9f9;
}
table.dataTable.stripe tbody tr.odd.selected, 
table.dataTable.display tbody tr.odd.selected {
  background-color: #acbad4;
}
table.dataTable.hover tbody tr:hover, 
table.dataTable.display tbody tr:hover {
  background-color: #f6f6f6;
}
table.dataTable.hover tbody tr:hover.selected, 
table.dataTable.display tbody tr:hover.selected {
  background-color: #aab7d1;
}
table.dataTable.order-column tbody tr > .sorting_1,
table.dataTable.order-column tbody tr > .sorting_2,
table.dataTable.order-column tbody tr > .sorting_3, 
table.dataTable.display tbody tr > .sorting_1,
table.dataTable.display tbody tr > .sorting_2,
table.dataTable.display tbody tr > .sorting_3 {
  background-color: #fafafa;
}
table.dataTable.order-column tbody tr.selected > .sorting_1,
table.dataTable.order-column tbody tr.selected > .sorting_2,
table.dataTable.order-column tbody tr.selected > .sorting_3, 
table.dataTable.display tbody tr.selected > .sorting_1,
table.dataTable.display tbody tr.selected > .sorting_2,
table.dataTable.display tbody tr.selected > .sorting_3 {
  background-color: #acbad5;
}
table.dataTable.display tbody tr.odd > .sorting_1, 
table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
  background-color: #f1f1f1;
}
table.dataTable.display tbody tr.odd > .sorting_2, 
table.dataTable.order-column.stripe tbody tr.odd > .sorting_2 {
  background-color: #f3f3f3;
}
table.dataTable.display tbody tr.odd > .sorting_3, 
table.dataTable.order-column.stripe tbody tr.odd > .sorting_3 {
  background-color: whitesmoke;
}
table.dataTable.display tbody tr.odd.selected > .sorting_1, 
table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_1 {
  background-color: #a6b4cd;
}
table.dataTable.display tbody tr.odd.selected > .sorting_2, 
table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_2 {
  background-color: #a8b5cf;
}
table.dataTable.display tbody tr.odd.selected > .sorting_3, 
table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_3 {
  background-color: #a9b7d1;
}
table.dataTable.display tbody tr.even > .sorting_1, 
table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
  background-color: #fafafa;
}
table.dataTable.display tbody tr.even > .sorting_2, 
table.dataTable.order-column.stripe tbody tr.even > .sorting_2 {
  background-color: #fcfcfc;
}
table.dataTable.display tbody tr.even > .sorting_3, 
table.dataTable.order-column.stripe tbody tr.even > .sorting_3 {
  background-color: #fefefe;
}
table.dataTable.display tbody tr.even.selected > .sorting_1, 
table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_1 {
  background-color: #acbad5;
}
table.dataTable.display tbody tr.even.selected > .sorting_2, 
table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_2 {
  background-color: #aebcd6;
}
table.dataTable.display tbody tr.even.selected > .sorting_3, 
table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_3 {
  background-color: #afbdd8;
}
table.dataTable.display tbody tr:hover > .sorting_1, 
table.dataTable.order-column.hover tbody tr:hover > .sorting_1 {
  background-color: #eaeaea;
}
table.dataTable.display tbody tr:hover > .sorting_2, 
table.dataTable.order-column.hover tbody tr:hover > .sorting_2 {
  background-color: #ececec;
}
table.dataTable.display tbody tr:hover > .sorting_3, 
table.dataTable.order-column.hover tbody tr:hover > .sorting_3 {
  background-color: #efefef;
}
table.dataTable.display tbody tr:hover.selected > .sorting_1, 
table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_1 {
  background-color: #a2aec7;
}
table.dataTable.display tbody tr:hover.selected > .sorting_2, 
table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_2 {
  background-color: #a3b0c9;
}
table.dataTable.display tbody tr:hover.selected > .sorting_3, 
table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_3 {
  background-color: #a5b2cb;
}
table.dataTable.no-footer {
  border-bottom: 1px solid #111;
}
table.dataTable.nowrap th, 
table.dataTable.nowrap td {
  white-space: nowrap;
}
table.dataTable.compact thead th,
table.dataTable.compact thead td {
  padding: 4px 17px 4px 4px;
}
table.dataTable.compact tfoot th,
table.dataTable.compact tfoot td {
  padding: 4px;
}
table.dataTable.compact tbody th,
table.dataTable.compact tbody td {
  padding: 4px;
}
table.dataTable th.dt-left,
table.dataTable td.dt-left {
  text-align: left;
}
table.dataTable th.dt-center,
table.dataTable td.dt-center,
table.dataTable td.dataTables_empty {
  text-align: center;
}
table.dataTable th.dt-right,
table.dataTable td.dt-right {
  text-align: right;
}
table.dataTable th.dt-justify,
table.dataTable td.dt-justify {
  text-align: justify;
}
table.dataTable th.dt-nowrap,
table.dataTable td.dt-nowrap {
  white-space: nowrap;
}
table.dataTable thead th.dt-head-left,
table.dataTable thead td.dt-head-left,
table.dataTable tfoot th.dt-head-left,
table.dataTable tfoot td.dt-head-left {
  text-align: left;
}
table.dataTable thead th.dt-head-center,
table.dataTable thead td.dt-head-center,
table.dataTable tfoot th.dt-head-center,
table.dataTable tfoot td.dt-head-center {
  text-align: center;
}
table.dataTable thead th.dt-head-right,
table.dataTable thead td.dt-head-right,
table.dataTable tfoot th.dt-head-right,
table.dataTable tfoot td.dt-head-right {
  text-align: right;
}
table.dataTable thead th.dt-head-justify,
table.dataTable thead td.dt-head-justify,
table.dataTable tfoot th.dt-head-justify,
table.dataTable tfoot td.dt-head-justify {
  text-align: justify;
}
table.dataTable thead th.dt-head-nowrap,
table.dataTable thead td.dt-head-nowrap,
table.dataTable tfoot th.dt-head-nowrap,
table.dataTable tfoot td.dt-head-nowrap {
  white-space: nowrap;
}
table.dataTable tbody th.dt-body-left,
table.dataTable tbody td.dt-body-left {
  text-align: left;
}
table.dataTable tbody th.dt-body-center,
table.dataTable tbody td.dt-body-center {
  text-align: center;
}
table.dataTable tbody th.dt-body-right,
table.dataTable tbody td.dt-body-right {
  text-align: right;
}
table.dataTable tbody th.dt-body-justify,
table.dataTable tbody td.dt-body-justify {
  text-align: justify;
}
table.dataTable tbody th.dt-body-nowrap,
table.dataTable tbody td.dt-body-nowrap {
  white-space: nowrap;
}
table.dataTable,
table.dataTable th,
table.dataTable td {
  box-sizing: content-box;
}
table.dataTable td .badge {
  min-width: 100px;
  padding: 6px 0 6px 0;
}
.dataTables_wrapper {
  position: relative;
  clear: both;
  *zoom: 1;
  zoom: 1;
}
.dataTables_wrapper .dataTables_length {
  float: left;
}
.dataTables_wrapper .dataTables_length select {
  border-radius: 25px;
  max-width: 65px;
  margin: 0 5px 0 5px;
}
.dataTables_wrapper .dataTables_filter {
  float: right;
  text-align: right;
}
.dataTables_wrapper .dataTables_filter input {
  border-radius: 25px;
  margin-left: 0.5em;
  display: initial;
  width: auto;
}
.dataTables_wrapper .dataTables_info {
  clear: both;
  float: left;
  padding-top: 0.755em;
}
.dataTables_wrapper .dataTables_paginate {
  float: right;
  text-align: right;
  padding-top: 0.25em;
  font-size: 80%;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  box-sizing: border-box;
  display: inline-block;
  min-width: 1.5em;
  margin-left: 2px;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  *cursor: hand;
  color: #333 !important;
  border: 1px solid transparent;
  border-radius: 6px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current, 
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  color: #333 !important;
  border: 1px solid #979797;
  background-color: white;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, 
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, 
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
  cursor: default;
  color: #666 !important;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: white !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:active {
  outline: none;
}
.dataTables_wrapper .dataTables_paginate .ellipsis {
  padding: 0 1em;
}
.dataTables_wrapper .dataTables_processing {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 40px;
  margin-left: -50%;
  margin-top: -25px;
  padding-top: 20px;
  text-align: center;
  background-color: white;
}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate {
  color: #333;
  white-space: nowrap;
  font-size: 80%;
}
.dataTables_wrapper .dataTables_filter label {
  white-space: nowrap;
}
.dataTables_wrapper .dataTables_scroll {
  clear: both;
}
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody {
  *margin-top: -1px;
  -webkit-overflow-scrolling: touch;
}
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th, 
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td, 
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th, 
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td {
  vertical-align: middle;
}
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th > div.dataTables_sizing,
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td > div.dataTables_sizing, 
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th > div.dataTables_sizing,
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td > div.dataTables_sizing {
  height: 0;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
}
.dataTables_wrapper.no-footer .dataTables_scrollBody {
  
}
.dataTables_wrapper.no-footer div.dataTables_scrollHead table.dataTable,
.dataTables_wrapper.no-footer div.dataTables_scrollBody > table {
  border-bottom: none;
}
.dataTables_wrapper:after {
  visibility: hidden;
  display: block;
  content: "";
  clear: both;
  height: 0;
}
table.dataTable .btn-group  > .btn-success {
  background-color: var(--main-color);
  border-color: var(--accent-color);
}
table.dataTable .btn-group  > .btn-secondary {
  background-color:#a8a8a8;
  border-color:#a0a0a0;
}
table.dataTable .btn-group-sm > .btn, 
table.dataTable .btn-sm {
    padding: .25rem .5rem;
    font-size: 80%;
    line-height: 1.5;
    border-radius: 6px;
}
table.dataTable .btn-group span.icon {
  padding: 0 4px 0 4px;
}
.login-content {
  width: 410px;
  margin: auto;
  height: auto;
  min-height: 285px !important;

  box-shadow: 0 10px 30px -5px rgba(15,19,57,.1),0 4px 8px -6px rgba(21,11,59,.1);
  background-color: var(--es-panel-bg);
  border: 1px solid var(--es-border);
  border-radius: 6px;
  padding: 20px 20px 20px 20px;
}
.card.dataTable-card {
  min-height: calc( 100vh - 115px);
}
.card.dataTable-card .card-header-actions {
  float: right;
}
.dataTable-card .btn {
  border-radius: 6px;
}
.card.dataTable-card .btn-back {
  width: 31px;
}
.card.dataTable-card .btn-save {
  padding: 5px 20px 5px 20px;
}
@media screen and (max-width: 767px) {
  .dataTables_wrapper .dataTables_info,
  .dataTables_wrapper .dataTables_paginate {
    float: none;
    text-align: center;
  }
  .dataTables_wrapper .dataTables_paginate {
    margin-top: 0.5em;
  }
}
@media screen and (max-width: 640px) {
  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter {
    float: none;
    text-align: center;
  }
  .dataTables_wrapper .dataTables_filter {
    margin-top: 0.5em;
  }
}
