/* Header login page */
.headerLoginPage {
  text-align: center;
  color: #ffffff;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#6f819c), to(#353e4f));
}
.headerLoginPage .icon-wellcoms {
  font-size: 6rem;
}
.headerLoginPage h1 {
  color: #ffffff;
  margin: auto;
}

/* SVG decoration transition */
.svgTransitionContainer svg {
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

/* Navbar for all sections */
.navbar .navbar-inner {

  padding: 0;
}
.navbar .navbar-inner .topnav {
  display: flex;
  align-items: center;
}
.navbar .navbar-inner .topbar-left-logo {
  order: 3;
  margin-left: auto;
}

.navbar-fixed-top {
  position: relative;
  right: 0;
  left: 0;
  z-index: 1030;
  margin-bottom: 0;
}

/* Log In section */
.form-horizontal .control-group {
  display: flex;
}

.log_index {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 300px;
  margin: 10vh auto;
}

.control-group {
  flex-direction: column;
}

.containerForgotPassword {
  text-align: right;
  margin: 10px 0 10px 0;
}

.modal-footer #btnLogin {
  width: 100px;
  height: 36px;
}
.modal-footer #btnLogin:hover {
  background-position: 0 -15px;
}

/* Highcharts data table */
.highcharts-data-table {
  display: flex;
  background-color: white;
  position: absolute;
  left: 0;
  top: 0;
  height: calc(100vh - 42px);
  width: -webkit-fill-available;
  overflow-y: scroll;
  user-select: text;
  padding: 45px 5px 5px 5px;
}
.highcharts-data-table table {
  border-collapse: collapse;
}
.highcharts-data-table table thead th {
  position: sticky;
  top: 0;
  background-color: #cbcbcb;
  border: 1px solid #bebebe;
}
.highcharts-data-table td, .highcharts-data-table th {
  border: 1px solid #bebebe;
  padding: 5px;
}
.highcharts-data-table .closeDataTableContainer {
  background-color: white;
  width: calc(100vw - 22px);
  height: 45px;
  position: fixed;
  top: 42px;
}
.highcharts-data-table .closeDataTable {
  position: fixed;
  right: 32px;
  top: 40px;
  font-size: 4rem;
  cursor: pointer;
  transform: rotate(45deg);
}
.highcharts-data-table .closeDataTable:hover {
  color: red;
}

.no-outline:focus-visible {
  outline: none;
}

/* Highwell dialog modal */
#hwDialog {
  /*display: flex;*/
  align-items: center;
  justify-content: center;
}
#hwDialog #cnvTree .fancytree-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: sub;
  background-repeat: no-repeat;
  background-image: url("../drilling.svg");
  background-position: 0px 0px;
}
#hwDialog #messagesEditor {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#hwDialog #messagesEditor input {
  height: 34px;
}

/* Canvas section in edit panel */
#hwEditPanel #canvas {
  padding: 0;
  margin: auto;
  width: 70%;
}
#hwEditPanel #canvas label {
  width: 90px;
}
#hwEditPanel .form-control {
  height: 34px;
}

/* Datatables WITSML Admin */
#unitTable_info {
  position: absolute;
  top: 0;
}





/* WITSML Client buttons group */
.wmlAction .btn-group {
  width: 100%;
  display: flex;
  justify-content: center;
}
.wmlAction .btn-group .btn {
  border-radius: 0;
}
.wmlAction .btn-group > button:last-of-type {
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
}

/* WITSML Client mud details - Home */
.WMLbody .row {
  display: flex;
  flex-wrap: wrap;
}
.WMLbody .row .col-md-3 {
  min-width: 139px;
}

/* WITSML Client mud details - Query */
#q_Query .form-group:nth-child(6) {
  display: flex;
}
#q_Query .dropdown-menu {
  width: auto !important;
}

#mud_det .form-control {
  height: auto;
}

/* Modal themes in index.html */
#wcTheme .modal-dialog {
  width: 600px;
  height: fit-content;
  margin: 30px auto;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: white;
  border-radius: 6px;
}
#wcTheme .modal-dialog .modal-content {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
#wcTheme .modal-dialog .modal-header {
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}
#wcTheme .modal-dialog .modal-body {
  padding: 15px;
}
#wcTheme .modal-dialog .modal-body select {
  margin: 0;
}
#wcTheme .modal-dialog .modal-footer {
  padding: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}
#wcTheme .modal-dialog .modal-footer .btn {
  height: 34px;
}

.modal .in {
  opacity: 1;
}

#dlg_sbut .control-label {
  text-align: left;
}

/* Modal in Settings */
#dglForm .form-body, #formDialog .form-body, #dlg_track .form-body, .wizard-dialog .form-body, #formTab .form-body, #formWidget .form-body, #WCPersonalInfo .form-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 10%;
}
#dglForm .form-body .form-horizontal, #formDialog .form-body .form-horizontal, #dlg_track .form-body .form-horizontal, .wizard-dialog .form-body .form-horizontal, #formTab .form-body .form-horizontal, #formWidget .form-body .form-horizontal, #WCPersonalInfo .form-body .form-horizontal {
  width: 100%;
}
#dglForm .form-body .control-group, #formDialog .form-body .control-group, #dlg_track .form-body .control-group, .wizard-dialog .form-body .control-group, #formTab .form-body .control-group, #formWidget .form-body .control-group, #WCPersonalInfo .form-body .control-group {
  flex-direction: row;
  width: 100%;
  justify-content: center;
}
#dglForm .form-body .control-group label, #formDialog .form-body .control-group label, #dlg_track .form-body .control-group label, .wizard-dialog .form-body .control-group label, #formTab .form-body .control-group label, #formWidget .form-body .control-group label, #WCPersonalInfo .form-body .control-group label {
  align-items: center;
  display: flex;
  padding: 0;
  width: 50%;
  text-align: left;
}
#dglForm .form-body .control-group .frma_controls, #dglForm .form-body .control-group .controls, #formDialog .form-body .control-group .frma_controls, #formDialog .form-body .control-group .controls, #dlg_track .form-body .control-group .frma_controls, #dlg_track .form-body .control-group .controls, .wizard-dialog .form-body .control-group .frma_controls, .wizard-dialog .form-body .control-group .controls, #formTab .form-body .control-group .frma_controls, #formTab .form-body .control-group .controls, #formWidget .form-body .control-group .frma_controls, #formWidget .form-body .control-group .controls, #WCPersonalInfo .form-body .control-group .frma_controls, #WCPersonalInfo .form-body .control-group .controls {
  width: 50%;
  display: flex;
  align-items: center;
}
#dglForm .form-body .control-group .jinput, #formDialog .form-body .control-group .jinput, #dlg_track .form-body .control-group .jinput, .wizard-dialog .form-body .control-group .jinput, #formTab .form-body .control-group .jinput, #formWidget .form-body .control-group .jinput, #WCPersonalInfo .form-body .control-group .jinput {
  height: 30px;
  min-width: 220px;
}
#dglForm .form-body .control-group .controls a, #formDialog .form-body .control-group .controls a, #dlg_track .form-body .control-group .controls a, .wizard-dialog .form-body .control-group .controls a, #formTab .form-body .control-group .controls a, #formWidget .form-body .control-group .controls a, #WCPersonalInfo .form-body .control-group .controls a {
  position: absolute;
  right: 50px;
}

#dbgrpmdl .grpListItem label {
  display: flex;
}
#dbgrpmdl .grpListItem label input[type=checkbox] {
  margin-right: 5px;
}

/* Modal edit graph in Settings */
#dlg_graph .form-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#dlg_graph .form-body .tab-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px 10% 0;
}
#dlg_graph .form-body .tab-content .tab-pane {
  width: 100%;
}
#dlg_graph .form-body .tab-content .tab-pane .control-group {
  flex-direction: row;
  width: 100%;
  justify-content: center;
}
#dlg_graph .form-body .tab-content .tab-pane .control-group label {
  align-items: center;
  display: flex;
  padding: 0;
  width: 50%;
}
#dlg_graph .form-body .tab-content .tab-pane .control-group .frma_controls {
  width: 50%;
  display: flex;
  align-items: center;
}
#dlg_graph .form-body .tab-content .tab-pane .control-group .frma_controls a {
  position: absolute;
  right: 50px;
}
#dlg_graph .form-body .tab-content .tab-pane .control-group .jinput {
  height: 30px;
  width: 220px;
}

/* Load pumping animation */
#wtAnim {
  display: flex;
  position: absolute;
  top: 0;
  left: 301px;
  opacity: 0.8;
  align-items: baseline;
}
#wtAnim .wait_pump {
  width: 40px;
  height: 40px;
  opacity: 1;
}
#wtAnim .waitMsg {
  margin: 0 0 0 10px;
}

/* Highcharts Buttons : span/range */
.highcharts-button-pressed rect {
  fill: #F7A35CFF;
}

/* Highcharts Range Label From/To */
.highcharts-range-label:nth-child(0n+3), .highcharts-range-input:nth-child(0n+4) {
  display: none;
}

/* Settings sub navigation */
#subnav li[title="Hide/Show canvas"] {
  display: none;
}
#subnav #tabctrl {
  margin: 5px 3px 0 0;
}

/* Settings navigation list */
#ghost_menu_container {
  width: 246px !important;
}

#menu_container {
  width: 246px !important;
}
#menu_container #tabs {
  overflow: auto;
  padding-right: 0;
}

#tab_list_content .wc_tab_list_item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
#tab_list_content .wc_tab_list_item .wc_checktab {
  margin: 0;
}
#tab_list_content .wc_tab_list_item .wc_tab {
  border: solid transparent 1px;
  padding: 2px;
  line-height: initial !important;
}
#tab_list_content .wc_tab_list_item .wc_tab i {
  line-height: initial;
}

/* Dashboard Datatable */
.widget .loading {
  position: absolute;
  right: 40px;
}

/* Dashboard Modal */
#chooseWdgStep h4 {
  overflow: hidden;
  text-overflow: clip;
}

#configWdgStep .form-body {
  margin: 0;
}
#configWdgStep .form-body .tab-content {
  width: 100%;
  margin: 10px 0 0;
}
#configWdgStep .form-body .control-group .control-label {
  margin-left: 3px;
}
#configWdgStep .form-body .control-group .controls a {
  position: static;
}

/* Modal set location */
#dlg_sbut .modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 10%;
}
#dlg_sbut .modal-body .form-horizontal {
  width: 100%;
}
#dlg_sbut .modal-body .control-group {
  flex-direction: row;
  width: 100%;
  justify-content: center;
}
#dlg_sbut .modal-body .control-group label {
  align-items: center;
  display: flex;
  padding: 0;
  width: 50%;
}
#dlg_sbut .modal-body .control-group .controls {
  width: auto;
  display: contents;
  align-items: center;
}

/* Administration Edit Group */
#editgroupfrm .control-group {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
  width: 100%;
}
#editgroupfrm .control-label {
  margin-bottom: 10px;
}
#editgroupfrm .controls {
  width: 30%;
}
#editgroupfrm .controls .jinput {
  width: 100%;
  height: 30px;
}
#editgroupfrm .controls input[type=checkbox] {
  margin: 0 0 10px 0;
  width: 30px;
}
#editgroupfrm .controls #GRP_Description {
  height: 80px;
}

.admin_details_body .jinput {
  width: 100%;
  max-width: 400px;
  height: 30px;
}
.admin_details_body .jinput[type=checkbox] {
  width: 30px;
  margin: 0 0 10px 0;
}
.admin_details_body .dataTables_filter label {
  margin-right: 25px;
}
.admin_details_body .dataTables_scroll {
  overflow: auto;
}
.admin_details_body .dataTables_scrollHeadInner {
  width: 100% !important;
}
.admin_details_body .dataTables_scrollHeadInner .dataTable {
  width: 100% !important;
}

/* Settings Tab Container */
#tab_container .wc_param_sec {
  text-align: end;
}

#preloader {
  align-items: center;
  background: var(--bs-body-bg);
  display: flex;
  height: 100vh;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  transition: opacity 0.1s linear;
  width: 100%;
  z-index: 99999;
}