@font-face {
    font-family: 'OpenSans-Regular';
    src: url('/fonts/OpenSans-Regular-webfont.woff');

    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'SourceSansPro-Regular';
    src: url('/fonts/SourceSansPro-Regular.ttf.woff2');

    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'SourceSansPro-Regular';
    src: url('/fonts/SourceSansPro-Bold.ttf.woff2');

    font-weight: bold;
    font-style: normal;

}


* {
  font-family:'SourceSansPro-Regular', Arial, Helvetica, sans-serif , "DejaVu Sans";
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */

}





html {
    height: 100%;
    margin: 0;
    padding: 0;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
}
body {
    margin: 0px;
    height: 100%; /* de ipad heeft geen viekant scherm... */
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: env(safe-area-inset-bottom);
    max-height: 100dvh;
    overflow: hidden;
}

select {
  border-radius: 0px;
  color:black;
  background-color: white;
}
input {
  background-color: white;
  color: black;
  border-radius: 0px;
  border: 1px solid black;
}

input[type=time] {
  background-color: white;
  color: black;
  border-radius: 0px;
  border: 1px solid black;
}
input[type=button] {
  background-color: white;
  color: black;
  border-radius: 0px;
}
textarea {
  border-radius: 0px;
  font-size: 16px;;
}

.data-block {
    background-color: #333;
    color: #FFFFFF;
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    /* min-height: 215px; */
    max-width: 100%;
}

.data-block table {
    width:100%;
}

/* .data-block table td:nth-child(2) {
    width:100px;
} */

.data-block table th {
    text-align: left;
}

.data-block-text {
  padding: 5px;
}

.data-block-header {
    background-color: #389253;
    padding: 5px;
    font-size: 14px;
    font-weight: bold;
}

.btn {
    background-color: #389251;
    border: 1px solid;
        border-top-color: currentcolor;
        border-right-color: currentcolor;
        border-bottom-color: currentcolor;
        border-left-color: currentcolor;
    color: #FFFFFF;
    border-color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 5px;
    cursor: pointer;
    display: inline-block;
    -webkit-appearance: none;
    border-radius: 0px;
}

.midcontent {
  padding:0px 5px 5px 5px;
  display: flex;
flex-direction: column;height: calc(100% - 5px);gap:10px;
overflow: hidden;
}

.data-block[style*="flex-grow: 1"] {
  min-height: 0;
  overflow: hidden;
}

.topButton {
    height: 32px;
  background-color: #389253;
  border: 1px solid white;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
}

.selectButton {
    height: 32px;
  background-color: #389253;
  border: 1px solid white;
  color: white;
  text-align: center;
  font-size: 15px;
  line-height: 32px;
}

.selectSelector {
    background-color: #389253;
  border: 1px solid white;
  color: white;
  text-align: center;
  height: 32px;
  font-size: 15px;
}

.selectSelector:focus {
  border: 2px solid white;
}

.selectSelector option { 
    background-color: white;
    color:black;
}


.hourButton {
    height: 32px;
  background-color: #389253;
  border: 1px solid white;
  color: white;
  text-align: center;
  font-size: 15px;
  line-height: 32px;
  
}

input[type="time"] {
  width: 100px;
}

.saveButton {
    height: 32px;
  background-color: #389253;
  border: 1px solid white;
  color: white;
  text-align: center;
  font-size: 15px;
  line-height: 32px;
  margin:5px;
}

.customerSelector {
  border-bottom: 1px solid black;
  padding:3px;
  cursor: pointer;
  font-size: 18px;
}

#productsTable {
  background-color: white;
  color: black;
  flex-grow: 1;
  min-height: 100px;
}

#productsTable TABLE {
  border-collapse: collapse;
}

#productsTable TD {
  border:1px solid lightgray;
}

#productsTable TD:nth-child(1n+2) {
  text-align: center;
}


#equipmentTable {
  background-color: white;
  color: black;
  flex-grow: 1;
  min-height: 100px;
}

#equipmentTable TABLE {
  border-collapse: collapse;
}

#equipmentTable TD {
  border:1px solid lightgray;
}

#equipmentTable TD:nth-child(1n+2) {
  text-align: center;
}


/* drag */
.drag-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1000;
}

.drag-overlay.drag-visible {
  opacity: 1;
}

.drag-container {
  text-align: center;
  color: #333;
}

.drag-message-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.drag-message-content.drag-hidden {
  display: none;
}

.drag-message-content svg {
  stroke-width: 1.5;
}

#validDrop svg {
  stroke: #4CAF50;
}

#invalidDrop svg {
  stroke: #f44336;
}

.drag-message-content p {
  font-size: 1.2rem;
  margin: 0;
}

.iPadRound {
  border-radius: 0px 0px 20px 20px;
}