@import "../../assets/scss/variables";
body {
  font-family: $main-font;
  // height: 750px;
}

.container,
.container-fluid {
  width: 100%;
  padding-right: 1px;
  padding-left: 1px;
  margin-right: auto;
  margin-left: auto;
}

.page-body-wrapper {
  min-height: calc(100vh - 97px);
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  padding-left: 0;
  padding-right: 0;
}

.content-wrapper {
  background: #f4f5f7;
  width: 100%;
  -webkit-flex-grow: 1;
  flex-grow: 1;
}

.footer {
  background: #f4f5f7;
  transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -webkit-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  font-size: calc(0.812rem - 0.05rem);
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

th {
  text-align: center;
}

input[type="text"]:focus {
  border: 1.2px solid #5898be;
  padding: 2px 2px;
}

.tblHeader {
  font-size: 12px;
  height: 25px;
  width: 100%;
  background-image: -moz-linear-gradient(top, #7399c4, #afd1e9);
  background-image: -webkit-linear-gradient(top, #7399c4, #afd1e9);
  background: linear-gradient(to top, #7399c4 20%, #afd1e9 80%);
  text-align: left;
}

.list_tbl {
  text-align: center;
  width: 100%;
  background-color: #f7f9f9;
  border-collapse: collapse;
}

.list_tbl th,
.list_tbl thead {
  position: sticky;
  top: 0px;
  z-index: 1;
}

.list_tbl td {
  border: 1px solid rgb(255, 255, 255);
}
.list_tbl th {
  border-right: 1px solid rgb(255, 255, 255);
  border-left: 1px solid rgb(255, 255, 255);
}

.sortable {
  cursor: pointer;
}

.tableDiv {
  width: 100%;
  height: 600px;
  overflow-y: auto;
  border: 1px solid #9bc3e0;
  scrollbar-color: #90caf9;
  scrollbar-width: thin;
  text-align: left;
}

.tableDiv::-webkit-scrollbar {
  width: 10px;
}

.tableDiv::-webkit-scrollbar-track {
  border-radius: 3px;
  box-shadow: inset 0 0 10px #ffffff;
}

.borderbox {
  border: 0;
}
.tableDiv::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #90caf9;
}

.tableDiv::-webkit-scrollbar-thumb:hover {
  background-color: #3d719b;
}

br.small {
  height: 0px;
  line-height: 0;
  display: block;
  margin: 7px;
  content: " ";
}

.enabled-items,
.valid-row {
  background-color: #84e2cee7 !important;
  color: #1890ff;
}

td[data-valid-flag="1"] {
  color: green;
  cursor: pointer;
}

td[data-valid-flag="0"] {
  color: red;
  cursor: pointer;
}

.selected_row {
  background: rgba(33, 150, 243, 0.31) !important;
}

/** Menu CSS **/
.sub-menu-container {
  padding-left: 20px !important;
}

#menu-pane .w3-bar-item {
  padding: 4px 8px !important;
}

.w3-sidebar .w3-bar-item {
  padding: 4px 8px !important;
}

.w3-sidebar {
  background-color: #0a466a !important;
  color: white !important;
  z-index: 3;
  width: 240px;
  min-height: calc(100vh - 97px);
}

.w3-main {
  margin-left: 270px !important;
  /* width: calc(100% - 230px); */
  /* min-width: 900px; */
  /* overflow: scroll; */
  /* position: absolute; */
  /* margin-top:43px; */
}

.menu-logo {
  width: 100%;
}

.w3-btn {
  font-size: 12px;
  background-color: #ffffff;
  border: 1px solid teal;
  text-align: center;
  vertical-align: middle;
  padding: 2px 10px;
}

.body-bg-ver tr:nth-child(even) {
  background-color: #f5f5f5;
}

.body-bg-ver tr:nth-child(odd) {
  background-color: #f1f1f1;
}

.body-bg tr:nth-child(even) {
  background-color: #f5f5f5;
}
.body-bg tr:nth-child(odd) {
  background-color: #f1f1f1;
}

.td-padding {
  padding-right: 10px;
}

/* validation testing */
.invalidFeedback {
  color: #ff0000;
  display: block;
}

.error {
  color: #ff0000;
}

.input-padding {
  padding-right: 30px;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
  z-index: 1;
  margin-left: -27px;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 119px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.instruction-btn {
  width: 20px;
  height: 20px;
  margin-top: -4px;
}

.geJobnetEditor .geSidebarContainer {
  position: static !important;
  width: 100% !important;
  margin-top: 10px !important;
  top: 0;
  left: 0;
  bottom: 0;
}

.geExecEditor .geSidebarContainer {
  position: static !important;
  width: 100% !important;
  margin-top: 10px !important;
  top: 0;
  left: 0;
  bottom: 0;
}

.geSidebarContainer {
  height: auto !important;
}

.geJobnetEditor .geDiagramContainer {
  position: relative !important;
}

.geExecEditor .geDiagramContainer {
  position: relative !important;
  inset: 55px 0px 0px 0px !important;
}

.geJobnetEditor .geToolbarContainer {
  position: static !important;
  width: 100% !important;
}

.geExecEditor .geToolbarContainer {
  position: static !important;
  width: 100% !important;
}

.jconfirm-content {
  overflow: none !important;
}

.jobnet-btn-group {
  position: absolute;
  bottom: 10px;
  width: 95%;
}

.object-id-size {
  width: 210px;
}

.object-name-size {
  width: 410px;
}

.object-desc-size {
  width: 620px;
}
.timeout-size {
  width: 50px;
}

/* Breacrumbs nav start here */
#nav a,
#nav {
  text-decoration: none;
  color: #0a466a !important;
  font-weight: bold;
  font-size: 12px;
}

.breadcrumb {
  padding-top: 10px;
}

.alert .inner {
  display: block;
  padding: 6px;
  margin: 6px;
  border-radius: 3px;
  border: 1px solid rgb(180, 180, 180);
  background-color: rgb(212, 212, 212);
}

.alert .close {
  float: right;
  margin: 3px 12px 0px 0px;
  cursor: pointer;
}

.alert .inner,
.alert .close {
  color: rgb(88, 88, 88);
}

.alert input {
  display: none;
}

.alert input:checked ~ * {
  animation-name: dismiss, hide;
  animation-duration: 300ms;
  animation-iteration-count: 1;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
  animation-delay: 0s, 100ms;
}

.alert.error .inner {
  border: 1px solid rgb(238, 211, 215);
  background-color: rgb(242, 222, 222);
}

.alert.error .inner,
.alert.error .close {
  color: rgb(185, 74, 72);
}

@keyframes dismiss {
  0% {
    opacity: 1;
  }
  90%,
  100% {
    opacity: 0;
    font-size: 0.1px;
    transform: scale(0);
  }
}

@keyframes hide {
  100% {
    height: 0px;
    width: 0px;
    overflow: hidden;
    margin: 0px;
    padding: 0px;
    border: 0px;
  }
}

.readonly {
  opacity: 0.75;
}

.ui-widget-overlay {
  opacity: 0.6 !important;
}

.popup-btn:hover {
  background-color: #2196f3;
}

.accordian {
  width: 100%;
  color: black;
}

.accordian-header {
  height: 21px !important;
  padding: 0em !important;
}

.accordian-header-active {
  background-color: #90caf9 !important;
  border: none !important;
  color: black !important;
}

.w3-check {
  width: 17px;
  height: 17px;
}

#menu-pane {
  width: 230px;
  display: table-cell;
  background: #0a466a !important;
}

#content-pane {
  display: table-cell;
}

.ellipsis_tbl td {
  max-width: 50px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ellipsis_tbl td :hover {
  overflow: visible;
}

.td-center {
  text-align: center;
}
.right-context {
  padding: 5px 0px 5px 5px;
  background-color: #afd1e9;
}
.right-context-version {
  padding: 5px 0px 5px 5px;
  margin-bottom: 10px;
  width: 98%;
}

.version-table {
  margin-top: 10px;
}

.timeInput {
  width: 60px;
  text-align: center;
}
/* dropdown */
/*position: relative;*/
.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  right: 0;
  z-index: 1;
}

.dropdown-content a {
  color: #666262;
  padding: 6px 10px;
  font-size: 12px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {
  background-color: #ddd;
}

.dropdown-item:active {
  color: rgb(0, 0, 0) !important;
}

.light-grey {
  color: #000 !important;
  background-color: #f1f1f1 !important;
}
.container-main {
  margin-left: 270px !important;
  margin-right: 0 !important;
  transition: margin-left 0.4s;
}
.footer-container {
  content: "";
  display: table;
  clear: both;
}
.footer-padding-16 {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}
.left-300 {
  margin-left: 300px;
}
.bottom-10 {
  margin-bottom: 10px;
}
.calendar-bg {
  background-color: #e5e7e9;
}
.top-20 {
  margin-top: 20px;
}
.top-30 {
  margin-top: -30px;
}
.schedule-bg {
  background-color: #afd1e9;
}
.left-10 {
  padding-left: 10px;
}
.padding-small {
  padding: 4px 8px !important;
}
.txt-center {
  text-align: center !important;
}

.load-row-style {
  float: right;
  padding-bottom: 5px;
}
.font-25 {
  font-size: 25px;
}
.display-none {
  display: none;
}
.display-inline {
  display: inline-block;
}
.right-50 {
  padding-right: 50px;
}
.right-100 {
  padding-right: 100px;
}
.right-150 {
  padding-right: 150px;
}
.padding-10 {
  padding: 10px;
}
.left-50 {
  margin-left: 50px;
}
.padding-16 {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}
.left-250 {
  margin-left: 250px;
}
.spacing-5 {
  border-spacing: 5px;
}
.width-124 {
  width: 124px;
}
.import-btn {
  padding: 25px;
  float: right;
}
.top-22 {
  padding-top: 22px;
}
.bottom-5 {
  padding-bottom: 5px;
}
.left-95 {
  margin-left: 95px;
}
.left-200 {
  margin-left: 200px;
}
.left-131 {
  margin-left: 131px;
}
.left-633 {
  margin-left: 633px;
}
.left-20-top-10 {
  margin-left: 20px;
  margin-top: 10px;
}
.top-10 {
  margin-top: 10px;
}
.left-20 {
  margin-left: 20px;
}
.left-25 {
  margin-left: 25px;
}
.next-style {
  margin-right: 270px;
  float: right;
}
.option-style {
  width: 800px;
  height: 30px;
}
.left-320 {
  margin-left: 320px;
}
.left-590 {
  margin-left: 590px;
}
.white-smoke-bg {
  background-color: whitesmoke;
}
.blue-50 {
  background-color: powderblue;
  height: 50px;
}
.width-35 {
  width: 35px;
}
.grid {
  display: grid;
}
.td-style {
  border: 1px solid black;
  height: 130px;
  align-content: center;
}
.width-165 {
  width: 165px;
}
.width-155 {
  width: 155px;
}
.tb-btn-group {
  padding: 10px 0px 20px 0px;
}
.float-left {
  float: left;
}
.float-right {
  float: right;
}
.td-align-width {
  text-align: center;
  width: 70px;
}
.td-pointer-width {
  cursor: pointer;
  width: 150px;
}
.td-pointer {
  cursor: pointer;
}
.width-70 {
  width: 70px;
}
.width-100 {
  width: 100px;
}
.width-150 {
  width: 150px;
}
.resize-none {
  resize: none;
}
.schedule-container {
  width: 100%;
  height: 30px;
}
.width-50-left {
  width: 50%;
  float: left;
}
.width-50-right {
  float: right;
  width: 50%;
}
.width-100-height-400 {
  width: 100%;
  height: 400px;
}
.bg-unset {
  background-color: unset;
}
.margin-left-10 {
  margin-left: 10px;
}
.bg-red {
  background-color: red;
}
.padding-0 {
  padding: 0px;
}

.btn-style {
  color: #0d6efd;
  border-color: #0d6efd;
  padding: 0.25rem 0.5rem;
  font-size: 12px;
  border-radius: 0.2rem;
}

.hometbl {
  font-size: 12px;
  height: 25px;
  width: 50%;
  text-align: left;
  vertical-align: text-top;
  border-collapse: collapse;
  border: 1px solid rgb(255, 255, 255);
}

.hometbl tr td {
  border-right: 1px solid rgb(255, 255, 255);
  border-left: 1px solid rgb(255, 255, 255);
}

//Sithu Win Added
.hometbl > div > th,
td {
  padding: 2px 10px;
}

.disabled-row {
  background-color: #dcdcdc;
  pointer-events: none;
}

.ant-form label,
.ant-input,
.ant-form-item-explain {
  font-size: $sm-font-size;
}
