
/*
 * rows and columns
*/


.width20px {
    width: 20px; /* checkboxes */
}
.width30px {
    width: 30px;
}
.width40px {
    width: 40px;
}
.width50px {
    width: 50px;
}
.width60px {
    width: 60px;
}
.width70px {
    width: 70px;
}
.width80px {
    width: 80px;
}
.width100px {
    width: 100px;
}
.width120px {
    width: 120px;
}
.width140px {
    width: 140px; /* phonenumbers */
}
.width150px {
    width: 150px;
}
.width160px {
    width: 160px;
}
.width170px {
    width: 170px; /* names */
}
.width200px {
    width: 200px;
}
.width250px {
    width: 250px;
}
.width300px {
    width: 300px;
}
.width400px {
    width: 400px;
}
.width600px {
    width: 600px;
}
.height200px {
    height: 200px;
}
.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;    
}

.linethrough {
    text-decoration: line-through;
}

.w3-table td, .w3-table th {
    padding: 3px 5px;
}

/* small divider for yes/no cell in the orders tab */
.ordersyesno {
    border: solid 0 #666;
    border-left-width: 1px;
    padding-left: 0.5ex;
}

#orderTable th.sorted {
    color: #007bff;
}

.td-clickable {
    cursor: pointer;
}
.td-clickable a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding: 0;
    box-sizing: border-box; /* Ensures padding doesn't overflow cell */
}

.report-idea-bug-icon {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2000;
    background: #fffbe6;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    color: #f8b400;
    font-size: 1.5em;
    border: 1px solid #ffe066;
    transition: background 0.2s, color 0.2s;
    text-align: center;
}
.report-idea-bug-icon:hover, .report-idea-bug-icon:focus {
    background: #ffe066;
    color: #222;
    text-decoration: none;
    outline: none;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 20px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: -4px;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 20px;
}

.slider.round:before {
  border-radius: 50%;
}