﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/*Custom*/

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.img-cell {
    height: 20px;
}

.img-logo {
    height: 30px;
}

.custom-item {
    position: relative;
    min-height: 30px;
}

.custom-item .item-name {
    padding-left: 0px;
    text-indent: 0;
    line-height: 30px;
    font-size: 15px;
    width: 100%;
    font-style: normal;
}

.custom-item .item-description {
    padding-left: 0px;
    text-indent: 0;
    line-height: 30px;
    font-size: 15px;
    width: 100%;
    font-style: italic;
}

.profile-img {
    height: 120px;
    width: 90px;
    border: 1px solid #d2d3d5;
    border-radius: 0%;
}

.avatar {
    height: 30px;
    width: 40px;
    border: 0px solid #d2d3d5;
    border-radius: 50%;
}

.note {
    font-size: 10pt;
    color: #484848;
    margin-left: 9px;
}

.note > span {
    font-weight: 700
}

.file-popup-content {
    text-align: center;
}

.file-popup-content .popup-image {
    height: 100%;
    max-width: 100%;
}

.json-content {
    height: 200px;
    border: solid;
    border-width: 1px;
    border-color: black
}

.bg {
    /* The image used */
    background-image: url("/Upload/Background/api.png");
    /* Full height */
    height: 100%;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
}

.scale #txtScale {
   font-size:40px !important;
   font-weight:bold;
}
.scale-col {
    padding-left: 1px;
    padding-right: 1px;
}
.scale-col-1 {   
    padding-right: 5px;
}
.card-body-scale {
    padding: 1px 1px 5px 1px;
   
}
.scale-row {
    width: 100%;
}
#btnSaveBaudRateConfig {
    float:left;
    margin-top:10px;
}
#btnSaveScale > .dx-button-content {
    padding: 6px 1px 6px 1px !important;   
}
#btnResetScale > .dx-button-content {
    padding: 6px 1px 6px 1px !important;
}
div:has(> div#btnSaveScale) {
    padding-top:7px;
}

div.dx-first-row:has(div.dx-field-item-content > div#sbScaleType) {
    padding-left: 0px;
    padding-right: 5px;
}

div.dx-first-row:has(div.dx-field-item-content > div#sbVehicle) {
    padding-left: 0px;
    padding-right: 5px;
}

div.dx-first-row:has(div.dx-field-item-content > div#sbCustomer) {
    padding-left: 0px;
    padding-right: 5px;
}

div.dx-first-row:has(div.dx-field-item-content > div#sbProduct) {
    padding-left: 0px;
    padding-right: 0px;
}

div.dx-first-row:has(div.dx-field-item-content > div#btnSaveScale) {
    padding-left: 0px;
    padding-right: 0px;
}
#imgScale {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}