:root,
[data-bs-theme=light] {
	--bs-warning-rgb: #E8650E;
	--bs-warning-rgb: 232, 101, 14;
  --bs-link-color-rgb: 0, 0, 0;
}
[data-bs-theme=dark] {
  color-scheme: dark;
  --bs-link-color-rgb: 222, 226, 230;
}
small, .small {
    font-size: 0.7rem;
}
@media print{
  table{
    font-size: 0.9em;
    border-collapse: collapse;
  }
  th, td{
    border: 1px solid #000000;
  }
  .row{
    flex-wrap: wrap;
  }
  .col-5 {
    flex: 0 0 auto;
    width: 40%;
  }
  .col-7 {
    flex: 0 0 auto;
    width: 60%;
  }
}
.custom-tooltip{
  font-size: 0.7em;
}
.link-warning {
  color: RGBA(var(--bs-warning-rgb), var(--bs-link-opacity, 1)) !important;
  -webkit-text-decoration-color: RGBA(var(--bs-warning-rgb), var(--bs-link-underline-opacity, 1)) !important;
  text-decoration-color: RGBA(var(--bs-warning-rgb), var(--bs-link-underline-opacity, 1)) !important;
}
.link-warning:hover, .link-warning:focus {
  color: RGBA(231, 130, 13, var(--bs-link-opacity, 1)) !important;
  -webkit-text-decoration-color: RGBA(231, 130, 13, var(--bs-link-underline-opacity, 1)) !important;
  text-decoration-color: RGBA(231, 130, 13, var(--bs-link-underline-opacity, 1)) !important;
}

.btn-warning {
    --bs-btn-bg: #E8650E;
    --bs-btn-border-color: #E8650E;
    --bs-btn-disabled-bg: #E8650E;
    --bs-btn-disabled-border-color: #E8650E;
}

.btn-outline-warning {
    --bs-btn-color: #E8650E;
    --bs-btn-border-color: #E8650E;
    --bs-btn-hover-bg: #E8650E;
    --bs-btn-hover-border-color: #E8650E;
    --bs-btn-active-bg: #E8650E;
    --bs-btn-active-border-color: #E8650E;
    --bs-btn-disabled-color: #E8650E;
    --bs-btn-disabled-border-color: #E8650E;
}
.text-yellow{
  color:var(--bs-yellow);
}
.text-orange{
  color:var(--bs-orange);
}
.text-orange-75{
  color:var(--bs-orange);
  opacity: 75%;
}

.region-switch .form-check-input:focus {
  box-shadow: 0 0 2px 1px #7e3707;
  border-color: #E8650E;
}
.region-switch .form-check-input:checked {
    background-color: #E8650E;
    border-color: #E8650E;
}
.status-switch .form-check-input:focus {
  box-shadow: 0 0 2px 1px #7e3707;
  border-color: #E8650E;
}
.status-switch .form-check-input:checked {
    background-color: #E8650E;
    border-color: #E8650E;
}
.table{
  font-size: 0.9em;
}
.tg_table .bi {
  vertical-align: -.125em;
  fill: #FFFFFF;
}
.tg_table #status_btn{
  font-size: 0.8em;
}
.tg_table #payment_status_btn{
  font-size: 0.8em;
}
.card-header{
  font-size: 0.95em;
}
.card-body{
  padding: 0.5em;  
}
.card-body small{
  font-size: 0.6rem;  
}
.order_name>div{
  font-size: 0.6em; 
  cursor: pointer;
  min-height: 14px;
}
.order_statuses div{
  font-size: 0.6em;
  cursor: pointer;
}
.card-title{
/*  min-height: 58px;*/
}
.card-text{
  font-size: 0.7em;  
}
.card-text>hr, .card-header>hr, .card-body>hr{
  margin: 0.4rem 0;
}
.card-footer{
  font-size: 0.7em;  
}
.executor_name{
  text-align: right;
}
.completion{
  font-size: 2em;
  text-align: right;
  font-weight: bold;
}
.card-btn{
  font-size: 1em;
}
.customer_source{
  cursor: pointer;
}
.now_operation{
  cursor: pointer;
}
#comment_text{
  overflow-y: scroll;
  resize: none;
  font-size: 0.7em;
}
.help_content img{
  width: 100%;
  height: 100%;
}
.help_content td{
  border: 1px solid; 
}
.help_content a{
  text-decoration: none;
  color: #E8650E; 
}
.spec_edit_table .row{
  width: 80rem;
  padding-left: 1rem;
}
.spec_edit_table .row>div{
  border: 1px solid #495057;
  padding: 5px;
  margin-right: -1px;
  margin-bottom: -1px;
}
.spec_edit_table .row:first-child{
  position: fixed;
  background-color: var(--bs-body-bg);
  /*width: 100%;*/
  /*padding-right: 25px;*/
}
.spec_edit_table .row:nth-child(3){
  padding-top: 59px;
}
.fired>td{
  background-color: #E8650E;
}
.work_printer{
  background-color: #FFFFFF;
  border-radius: 3px;
}
.viewPrinter, .editNozzle{
  cursor: pointer;
}