@font-face {
  font-family: 'TitilliumWeb-Regular'; /*400*/
  src: url('fonts/TitilliumWeb-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'TitilliumWeb-SemiBold'; /*600*/
  src: url('fonts/TitilliumWeb-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Lato-Light'; /*300*/
  src: url('fonts/Lato-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Lato-Regular'; /*400*/
  src: url('fonts/Lato-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Lato-italic'; /*400 italic*/
  src: url('fonts/Lato-Italic.ttf') format('truetype');
}
@font-face {
  font-family: 'Lato-Medium'; /*500*/
  src: url('fonts/Lato-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Lato-Bold'; /*700*/
  src: url('fonts/Lato-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'OpenSans-Bold'; /*700*/
  src: url('fonts/OpenSans-ExtraBold.ttf') format('truetype');
}
@font-face {
  font-family: "Roboto";
  src: url('fonts/Roboto-Regular.ttf') format('truetype');
}
@font-face {
  font-family: "Inter-Medium";
  src: url('fonts/Inter-Medium.ttf') format('truetype');
}
:root {
  --heading-font-regular:  "TitilliumWeb-Regular", sans-serif;
  --heading-font-bold:  "TitilliumWeb-SemiBold", sans-serif;
  --body-font-light: "Lato-Light", sans-serif;
  --body-font-regular: "Lato-Regular", sans-serif;
  --lato-regular-italic: "Lato-italic", sans-serif;
  --lato-medium: "Lato-Medium", sans-serif;
  --body-font-bold: "Lato-Bold", sans-serif;
}

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  font-family: "Segoe UI", Verdana, Arial;
  font-weight: Normal;
  font-size: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
/*common classes*/
.ml-auto{margin-left: auto;}
.mr-auto{margin-right: auto;}
.mt-auto{margin-top: auto;}
.mr4{margin-right: 4px;}
.mr6{margin-right: 6px;}
.mr8{margin-right: 8px;}
.mr15{margin-right:15px;}
.ml15{margin-left: 15px;}
.ml6{margin-left: 6px;}
.ml10{margin-left: 10px !important;}
.mlr2 { margin-left: 2px; margin-right: 2px; }


#app {
  width: 100vw;
  height: 100vh;
}

.full-size {
  width: 100%;
  height: 100%;
}

.full-width {
  width: 100%;
}

.full-height {
  height: 100%;
}
.canvasjs-chart-tooltip {
  z-index: 100 !important;
}
.canvasjs-chart-toolbar {
  display: none !important;
}
.flex-column {
  display: flex;
  flex-flow: column nowrap;
}

.flex-row {
  display: flex;
  flex-flow: row nowrap;
}

.flex-0-0 {
  flex: 0 0 auto;
}
.flex-0-1 {
  flex: 0 1 auto;
}

.flex-1-1 {
  flex: 1 1 auto;
}

.border-colour-1 {
  border: 1px solid var(--border-colour-1);
}

.border-left-colour-1 {
  border-left: 2px solid var(--border-colour-1);
  height: 23px;
  margin: 7px;
}

.border-top-colour-1 {
  border-top: 1px solid var(--border-colour-1);
}

.padding-10 {
  padding: 10px;
}
.p-15 {
  padding: 15px;
}

.padding-top-3 {
  padding-top: 3px;
}

.padding-top-5 {
  padding-top: 5px;
}
.py6{
  padding-top: 6px;
  padding-bottom: 6px;
}

.padding-bottom-5 {
  padding-bottom: 5px;
}

.padding-left-8 {
  padding-left: 8px;
}

.padding-left-18 {
  padding-left: 18px;
}
.padding-left-4{
  padding-left: 4px;
}
.padding-right-5{
  padding-right: 5px;
}


.align-center {
  display: flex;
  align-items: center;
}

.align-middle {
  display: flex;
  justify-content: center;
}

.align-right {
  float: right;
}

.align-content-left {
  text-align: left;
}

.align-end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.text-align-right {
  text-align: right;
}
.text-center {
  text-align: center;
}
.margin-left-1x {
  margin-left: 25px;
}

.margin-left-2x {
  margin-left: 50px;
}

.margin-left-3x {
  margin-left: 75px;
}

.margin-left-4x {
  margin-left: 100px;
}

.margin-left-5x {
  margin-left: 125px;
}

.margin-left-6x {
  margin-left: 150px;
}

.margin-left-5 {
  margin-left: 5px;
}

.margin-right-10 {
  margin-right: 10px;
}

.margin-right-20 {
  margin-right: 20px;
}

.margin-left-20 {
  margin-left: 20px;
}
.margin-left-2 {
  margin-left: 2px;
}
.margin-top-2 {
  margin-top: 2px;
}
.margin-right-5{
  margin-right: 5px;
}
.margin-top-10 { margin-top: 10px;}
.margin-top-40 {
  margin-top: 40px;
}
.rotate180 {
  transform: rotate(180deg);
}
.width-40{
  width: 40%;
}
.vertical-middle {
  vertical-align: middle;
}
.icon-10 {
  width: 10px;
  height: 10px;
}
.icon-12 {
  width: 12px;
  height: 12px;
}
.icon-14 {
  width: 14px;
  height: 14px;
}
.icon-15 {
  width: 15px;
  height: 15px;
}

.icon-16 {
  width: 16px;
  height: 16px;
}

.icon-18 {
  width: 18px;
  height: 18px;
}

.icon-20 {
  width: 20px;
  height: 20px;
}
.icon-24 {
  width: 24px;
  height: 24px;
}
.icon-30{
  width: 30px;
  height: 30px;
}
.icon-50 {
  width: 50px;
  height: 50px;
  padding: 8px;
}
.icon-status{
  max-width:50%;
}

.main-container {
  height: calc(100% - 50px);
}

.cursor-pointer {
  cursor: pointer;
}

.noevents {
  pointer-events: none;
}

.hide {
  display: none;
}

.position-absolute {
  position: absolute;
}
.position-relative {position: relative;}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px transparent;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: #d4d4d4;
}

.form-input {
  width: 100%;
  height: 35px;
  border: 1px solid var(--border-colour-1);
  border-radius: 0px;
  padding: 3px 10px;
}

.form-input.error {
  border: 1px solid var(--error-color);
}

.no-text-selection {
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}

.btn {
  height: 35px;
  padding: 6px 24px;
  font-size: 0.84rem;
  cursor: pointer;
  display: inline-block;
  border-radius: 3px;
  border: 1px solid transparent;
  outline: transparent;
  user-select: none;
}

.btn-primary {
  background-color: var(--primary-colour-1);
  color: var(--text-color);
}

.btn-primary:disabled { 
  background-color: var(--disabledButtonBg);
  color: var(--secondary-colour);
  cursor: not-allowed;
}
.modal-window {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  position: absolute;
  width: calc(100% - 300px);
  height: calc(100% - 130px);
  max-width: 500px;
  max-height: 250px;
  padding: 20px;
  overflow-y: auto;
  border: 1px solid var(--border-colour-1);
  background-color: var(--background);
  box-shadow: 2px 2px 4px var(--border-colour-2);
  z-index: 1002;
}
.overlay {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1001;
  opacity: 0.8;
  background-color: var(--overlay-background);
}

.overflow-hidden{
  overflow: hidden;
}

.icon-tray {
  width: 20px;
  height: 20px;
  top: 10px;
  right: 8px;
  position: absolute;
  cursor: pointer;
  z-index: 3;
}

.icon-tray .config-icon {
  fill: var(--widget-label-color);
}
#dashboardPage .grid-stack > .grid-stack-item > .grid-stack-item-content {
  right: 3px;
  left: 3px;
  margin: 3px 0;
}
/*resize font when widget width is minimum*/
.grid-stack-item[data-gs-width="1"] .comp-head{
  font-weight: bold !important;
}
.grid-stack-item[data-gs-width="1"] .comp-head .labelSpan{
  padding: 2px 10px !important;
}
.grid-stack-item[data-gs-width="1"] .icon-tray{
  width: 14px;
  height: 14px;
  top: 8px;
  right: 4px;
}
.grid-stack-item[data-gs-width="1"] .pan-button{
  padding-right: 20px;
}
.grid-stack-item[data-gs-width="1"] .pan-button .icon-18{
  width: 14px;
  height: 14px;
}


#dashboardPage .grid-stack-item-content {
  background-color: var(--grid-item-bg);
  border: 1px solid var(--grid-item-border);
  border-top: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 30px var(--property-input-bg) inset !important;
    -webkit-text-fill-color: var(--widget-label-color) !important;
}

.text-ellipsis, .labelSpan {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  max-width: 100%;
}

.text-wrap-ellipsis {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.warningmessage {
  color:  var(--message-color);
}
.closewarning {
  font-weight: bold;
  cursor: pointer;
  margin-left: 15px;
}
input[type=color] {
  cursor: pointer;
}
.grid-stack>.grid-stack-item>.ui-resizable-se{
  right: 4px;
  bottom: 4px;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
@media (max-width:600px) {
  .hide-on-small-screen {
    display: none;
  }
}

.spin {
  -webkit-animation:spin 4s linear infinite;
  -moz-animation:spin 4s linear infinite;
  animation:spin 4s linear infinite;
}
@-moz-keyframes spin { 
  100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
  100% { -webkit-transform: rotate(360deg); } 
}
@keyframes spin { 
  100% { 
      -webkit-transform: rotate(360deg); 
      transform:rotate(360deg); 
  } 
}

.esicon {
  margin-right: 10px;
  cursor: pointer;
  fill: var(--widget-label-color);
}
.expand {
  max-height: 2000px;
}
.collapse {
  max-height: 0;
  overflow: hidden;
  padding: 0 !important;
}
.marker {
  background: url(/icons/green_location.svg) no-repeat center;
  background-size: contain;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 0;
}
.redmarker {
  background: url(/icons/red_location.svg) no-repeat center;
  background-size: contain;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 0;
}
.yellowmarker {
  background: url(/icons/yellow_location.svg) no-repeat center;
  background-size: contain;
  width: 30px;
  height: 30px;
  cursor: pointer;
}
.bluemarker {
  background: url(/icons/blue_location.svg) no-repeat center;
  background-position: center;
  background-size: cover;
  width: 35px;
  height: 50px;
  cursor: pointer;
  z-index: 1;
}
#AdminPage {
  overflow-y: auto;
}
.table-wrapper {
  border-bottom: 1px solid #ccc;
}
.table-wrapper > table{
  width: 99.9%;
}
.humburger{
  position: relative;
  display: inline-block;
  height: 2px;
  width: 16px;
  background-color: #fff;
}
.humburger::before,
.humburger::after{
  content: '';
  height: 2px;
  position: absolute;
  left: 0;
  right: 0;
  background-color: #fff;
  transition: transform 0.3s;
}
.humburger::before{
  top: -5px;
}
.humburger::after{
  bottom: -5px;
}
.humburger.is-active{
  background-color: transparent;
}
.humburger.is-active::before{
  transform: rotate(45deg);
  top: 0;
}
.humburger.is-active::after{
  transform: rotate(-45deg);
  top: 0;
}

#AdminPage {
  overflow-y: auto;
}
.admin-table-wrapper{
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: auto;
  background-color: #fff;
}
.admin-table-wrapper::-webkit-scrollbar-thumb {
  background-color: #d5d5d5;
}
.admin-table-wrapper::-webkit-scrollbar-track {
  background-color: #eee;
}
.admin-table-wrapper::-webkit-scrollbar {
  width: 4px;
}
.admin-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.admin-table thead {
  background: var(--primary-colour-1);
  font-size: .9rem;
}
.admin-table th {
  padding: 7px 14px;
  text-align: left;
  color: var(--text-color);
  background: var(--primary-colour-1);
  position: sticky;
  top: 0;
  z-index: 10;
}
.admin-table thead th{
  border-left: 1px solid var(--primary-colour-1);
}
.admin-table thead th:last-child{
  border-right: 1px solid var(--primary-colour-1);
}
.admin-table tbody{
  background-color: #fff;
}
.admin-table td {
  padding: 8px 14px;
  font-size: .82rem;
  border-bottom: 1px solid var(--border-colour-1);
}
.admin-table td {
  border-left: 1px solid var(--border-colour-1);
}
.admin-table td:last-child{
  border-right: 1px solid var(--border-colour-1);
}
.admin-table tr.selected td + td,
.admin-table tr:hover td + td{
  border-left: 1px solid #bbb;
}
.admin-table .btn-column{
  width: 20px;
  border-left: none;
}

.chooseWellModal .channelListModal .main-header{
  height: 60px !important;
}
.canvas-drawing > svg {
  overflow: inherit;
  z-index: 2;
}

/* Hide Map unwanted divs*/
.mapboxgl-ctrl.mapboxgl-ctrl-attrib,
a.mapboxgl-ctrl-logo {
  display: none !important;
}
.dz-preview.dz-file-preview {
  display: none;
}
.homePage.page-container + .main-container{
  display: none;
}
/** SCI Chart Loading Remove from Style to override the scichart styling start **/
.scichart_loader {
  display: none !important;
}
/* div[id^="scichart-root-"] {
  background: transparent !important;
} */
/** SCI Chart Loading Remove from Style to override the scichart styling start **/
.map-wrapper .status-icon svg{
  margin-right: 2px;
}
.map-wrapper .status-icon svg.is-active{
  fill: #16ff16 !important;
}
@media (max-width: 768px) {
  .hide-on-mobile {
    display: none;
  }
  .admin-table-wrapper{
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .admin-table th,
  .admin-table td{
    white-space: nowrap;
    font-size: 12px;
  }
  .admin-table th{
    padding: 10px;
  }
  .admin-table td{
    padding: 4px 10px;
  }
}

