body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }

iframe{
  border: none;
  width: 100%;
}

.modal-body iframe{
  min-height: 603px;
}

.itemform iframe {
  min-height: 191px;
}

table{
  width: 100%;
}

  #myKanban {
/*     overflow-x: auto; */
    padding: 20px 0;
/*     transform: rotateX(180deg); */
  }

  /*** BOARD CSS ***/
  .board-1 {
    background-color: #e2e4e6;
  }

  .board-2 {
    background-color: #17a2b8;
  }

  .board-3 {
    background-color: #28a745;
  }

  .board-4 {
    background-color: #17a2b8;
  }

  .board-5 {
    background-color: #28a745;
  }

  .backlog, .warning, .qa, .done {
    color: #000000;
  }

  .backlog {
/*     background-color: #007bff; */
    background-color: #e2e4e6;
  }

  div[data-id="_todo"] div.item_handle{
    border-left: 5px solid #007bff !important;
  }

  .warning {
    background-color: #28a745;
  }
  
  div[data-id="_working"] div.item_handle{
    border-left: 5px solid #28a745 !important;
  }

  .qa {
    background-color: #ffc107;
  }

  div[data-id="_qa"] div.item_handle{
    border-left: 5px solid #ffc107 !important;
  }

  .done {
    background-color: #17a2b8;
  }

  div[data-id="_done"] div.item_handle{
    border-left: 5px solid #17a2b8 !important;
  }
  /*** END OF BOARD CSS ***/

  .kanban-container{
    width: max-content !important;
    width: -moz-fit-content !important;
    margin: 0 auto;
/*     transform: rotateX(180deg); */
  }
  .kanban-item{
    font-size: 13px; /* from the Open Jobs Calendar items */
    text-align: left !important;
    position: relative;
/*     margin-bottom: 7px !important;  */
    min-height: 24px;
    margin: 5px 36px 5px 0px !important; /* from the Open Jobs Calendar items */
    border-radius: 2px 0px 0px 2px !important; /* from the Open Jobs Calendar items */
    padding: 3px 5px 3px 7px !important; /* from the Open Jobs Calendar items */ 
    background-color: #f3f3f3;
  }

  .kanban-item-custom{ /* Custom tasks that aren't linked to jobs */
    margin: 5px 0px 5px 0px !important;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #c0c0c8;
  }

  .kanban-board .kanban-drag {
      padding: 5px !important;
  }

  .kanban-item div:nth-child(1), .kanban-item div:nth-child(2){
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }

  .kanban-item div:nth-child(1){
    border-radius: 0px !important;
    background: transparent !important;
    z-index: 10;
  }

  /* .kanban-item div:nth-child(2){ */
  /*   padding: 15px;  */
  /* } */

  .kanban-title-button {
    background: none !important;
    font-size: 25px;
    margin: -14px -6px 0 0;
  }

  .kanban-board{
    border-radius: 5px;
    box-shadow: 0 0.5rem 0.5rem rgba(0,0,0,.15)!important;
    /* min-height: 350px; */
  }

  .kanban-board header{
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 15px 5px;
  }

  /* .modal-body{ */
  /*    display: inline-flex;  */
  /* } */

  .align-right{
    text-align: right;
  }

  #InsertRecordName{
    max-width: 95%;
  }

.center-align .row{
  display: block !important;
  text-align: center !important;
}

.instruction .row{
  margin-left: 0 !important;
}

@media only screen and (min-width: 1480px) {
  .kanban-board {
    min-width: 270px !important;
    max-width: 270px !important;
  }
}

@media only screen and (min-width: 1220px) and (max-width: 1479px) {
  .kanban-board {
    min-width: 220px !important;
    max-width: 220px !important;
  }
}

@media only screen and (max-width: 1219px) {
  .kanban-board {
    min-width: 180px !important;
    max-width: 180px !important;
  }
}

/*** PACE CSS ***/

.pace {
  bottom: 0;
  height: 140px;
  left: 0;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 300px;
  z-index: 2000;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
  opacity: 0;
  -webkit-transition: all 0.5s linear 0s;
  -moz-transition: all 0.5s linear 0s;
  transition: all 0.5s linear 0s;
}

.pace.pace-active {
  bottom: 0;
  height: 140px;
  left: 0;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  -webkit-transform: scale(.25);
  -moz-transform: scale(.25);
  -ms-transform: scale(.25);
  -o-transform: scale(.25);
  transform: scale(.25);
  opacity: 1;
}

.pace .pace-activity {
  bottom: 0;
  height: 140px;
  left: 0;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  border-radius: 70px;
  background: #29d;
  z-index: 1911;
  -webkit-animation: pace-bounce 1s infinite;
  -moz-animation: pace-bounce 1s infinite;
  -o-animation: pace-bounce 1s infinite;
  -ms-animation: pace-bounce 1s infinite;
  animation: pace-bounce 1s infinite;
}

.pace .pace-progress {
  position: absolute;
  display: block;
  left: 50%;
  bottom: 0;
  z-index: 1910;
  margin-left: -30px;
  width: 60px;
  height: 75px;
  background: rgba(20, 20, 20, .1);
  box-shadow: 0 0 20px 35px rgba(20, 20, 20, .1);
  border-radius: 30px / 40px;
  -webkit-transform: scaleY(.3) !important;
  -moz-transform: scaleY(.3) !important;
  -ms-transform: scaleY(.3) !important;
  -o-transform: scaleY(.3) !important;
  transform: scaleY(.3) !important;
  -webkit-animation: pace-compress .5s infinite alternate;
  -moz-animation: pace-compress .5s infinite alternate;
  -o-animation: pace-compress .5s infinite alternate;
  -ms-animation: pace-compress .5s infinite alternate;
  animation: pace-compress .5s infinite alternate;
}

.text-left{
  text-align: left !important;
}
.instruction .row{
  margin-left: 0 !important;
}

@-webkit-keyframes pace-bounce {
  0% {
    top: 0;
    -webkit-animation-timing-function: ease-in;
  }
  40% {}
  50% {
    top: 140px;
    height: 140px;
    -webkit-animation-timing-function: ease-out;
  }
  55% {
    top: 160px;
    height: 120px;
    border-radius: 70px / 60px;
    -webkit-animation-timing-function: ease-in;
  }
  65% {
    top: 120px;
    height: 140px;
    border-radius: 70px;
    -webkit-animation-timing-function: ease-out;
  }
  95% {
    top: 0;
    -webkit-animation-timing-function: ease-in;
  }
  100% {
    top: 0;
    -webkit-animation-timing-function: ease-in;
  }
}

@-moz-keyframes pace-bounce {
  0% {
    top: 0;
    -moz-animation-timing-function: ease-in;
  }
  40% {}
  50% {
    top: 140px;
    height: 140px;
    -moz-animation-timing-function: ease-out;
  }
  55% {
    top: 160px;
    height: 120px;
    border-radius: 70px / 60px;
    -moz-animation-timing-function: ease-in;
  }
  65% {
    top: 120px;
    height: 140px;
    border-radius: 70px;
    -moz-animation-timing-function: ease-out;}
  95% {
    top: 0;
    -moz-animation-timing-function: ease-in;
  }
  100% {top: 0;
    -moz-animation-timing-function: ease-in;
  }
}

@keyframes pace-bounce {
  0% {
    top: 0;
    animation-timing-function: ease-in;
  }
  50% {
    top: 140px;
    height: 140px;
    animation-timing-function: ease-out;
  }
  55% {
    top: 160px;
    height: 120px;
    border-radius: 70px / 60px;
    animation-timing-function: ease-in;
  }
  65% {
    top: 120px;
    height: 140px;
    border-radius: 70px;
    animation-timing-function: ease-out;
  }
  95% {
    top: 0;
    animation-timing-function: ease-in;
  }
  100% {
    top: 0;
    animation-timing-function: ease-in;
  }
}

@-webkit-keyframes pace-compress {
  0% {
    bottom: 0;
    margin-left: -30px;
    width: 60px;
    height: 75px;
    background: rgba(20, 20, 20, .1);
    box-shadow: 0 0 20px 35px rgba(20, 20, 20, .1);
    border-radius: 30px / 40px;
    -webkit-animation-timing-function: ease-in;
  }
  100% {
    bottom: 30px;
    margin-left: -10px;
    width: 20px;
    height: 5px;
    background: rgba(20, 20, 20, .3);
    box-shadow: 0 0 20px 35px rgba(20, 20, 20, .3);
    border-radius: 20px / 20px;
    -webkit-animation-timing-function: ease-out;
  }
}

@-moz-keyframes pace-compress {
  0% {
    bottom: 0;
    margin-left: -30px;
    width: 60px;
    height: 75px;
    background: rgba(20, 20, 20, .1);
    box-shadow: 0 0 20px 35px rgba(20, 20, 20, .1);
    border-radius: 30px / 40px;
    -moz-animation-timing-function: ease-in;
  }
  100% {
    bottom: 30px;
    margin-left: -10px;
    width: 20px;
    height: 5px;
    background: rgba(20, 20, 20, .3);
    box-shadow: 0 0 20px 35px rgba(20, 20, 20, .3);
    border-radius: 20px / 20px;
    -moz-animation-timing-function: ease-out;
  }
}

@keyframes pace-compress {
  0% {
    bottom: 0;
    margin-left: -30px;
    width: 60px;
    height: 75px;
    background: rgba(20, 20, 20, .1);
    box-shadow: 0 0 20px 35px rgba(20, 20, 20, .1);
    border-radius: 30px / 40px;
    animation-timing-function: ease-in;
  }
  100% {
    bottom: 30px;
    margin-left: -10px;
    width: 20px;
    height: 5px;
    background: rgba(20, 20, 20, .3);
    box-shadow: 0 0 20px 35px rgba(20, 20, 20, .3);
    border-radius: 20px / 20px;
    animation-timing-function: ease-out;
  }
}

body.overlay:after {
  content: '';
  background: rgba(255, 255, 255, .7);
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
}

.overflow-hidden
{
  overflow:hidden !important;
}

.min-height-100
{
  min-height: 150px !important;
  max-height: 150px !important;
  overflow:hidden !important;
}

.kanban-board-header
{
  /* pointer-events: none; */
  position: sticky;
  top: 0;
  z-index: 1000; /* or something high */
}

.noselect
{
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
          supported by Chrome, Edge, Opera and Firefox */
}

.kanban-item div:nth-child(2)
{
  position: relative !important;
  padding: 0px !important;
}

.pace {
    display: none;
}

/*** Custom DecoPort CSS ***/

.low-cure-Yes {
  background-color: #d8d8ff;
}

.clearfix::after {
  content: "" !important;
  clear: both !important;
  display: table !important;
}

.float-right {
  float: right;
  margin-left: 2px;
}

.shift-up {
  position: relative;
  bottom: 1px;
}

.duration-qty {
  border-radius: 5px;
  padding: 1px 3px;
  text-wrap: nowrap;
  font-size: smaller;
  box-shadow: 0 0.1rem 0.1rem rgba(0, 0, 0, .1) !important;
}

.duration {
  color: white;
  background-color: #808090;
}

.qty {
  background-color: white;
}

.cust-code, .duration-qty {
  font-weight: bold;
}

.problem-Yes {
  color: white;
  background-color: #e91111;
  border-radius: 5px;
  padding: 1px 3px;
  box-shadow: 0 0.1rem 0.1rem rgba(0, 0, 0, .1) !important;
}

.kanban-item-custom .duration-qty {
  display: none;
}

.custom-item {
  margin-right: 2px;
  margin-left: 2px;
}

.status-event-Yes {
  border-style: solid !important;
  border-width: 0px 0px 0px 12px !important;
}

.status-inks {
  content: '' !important;
  position: absolute !important;
  border-style: solid !important;
  border-radius: 2px !important;
  border-width: 0px 36px 0px 0px !important;
  top: 0px !important;
  right: -36px !important;
  bottom: 0px !important;
  left: 0px !important;
}

.status-screens {
  content: '' !important;
  position: absolute !important;
  border-style: solid !important;
  border-width: 0px 24px 0px 0px !important;
  top: 0px !important;
  right: -24px !important;
  bottom: 0px !important;
  left: 0px !important;
}

.status-overall {
  content: '' !important;
  position: absolute !important;
  border-style: solid !important;
  border-width: 0px 12px 0px 0px !important;
  top: 0px !important;
  right: -12px !important;
  bottom: 0px !important;
  left: 0px !important;
}

.status-event-Yes-today {
  border-color: #ff66dd !important;
}

.status-event-Yes-later {
  border-color: yellow !important;
}

.status-inks-border-No, .status-screens-border-No {
  border-color: #e91111 !important;
}

.status-inks-border-Yes, .status-screens-border-Yes {
  border-color: #00b500 !important;
}

.status-overall-border-0 {
  border-color: #e91111 !important;
}

.status-overall-border-1 {
  border-color: #ff7624 !important;
}

.status-overall-border-2 {
  border-color: #ffad00 !important;
}

.status-overall-border-3 {
  border-color: #fee142 !important;
}

.status-overall-border-4 {
  border-color: #00b500 !important;
}

.status-overall-border-5 {
  border-color: #999999 !important;
}

