/* Miligram overrides */

.notes {
    font-family: 'Courier New', Courier, monospace;
    padding: 0.5rem;
    background: whitesmoke;
    border-radius: 0.9rem;
    border-color: whitesmoke;
    border-style: solid;
    border-width: 0.2rem;
    /* Thanks Stripe */
    box-shadow: 0 7px 14px 0 rgba(60, 66, 87, 0.1),
        0 3px 6px 0 rgba(0, 0, 0, 0.17);
    margin: 1rem;
    min-height: 7rem;
    font-size: 1.5rem;
    font-style: italic;
    margin-top: 0.2rem;
}

.notes.new {
    background: white;
    border-color: lightcoral;
    border-style: solid;
    border-width: 0.2rem;
}

.notes .header {
    white-space: nowrap;
    font-weight: 600;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.2rem;
}

a {
    font-family: "Raleway", sans-serif;
    color: #404041;
}

a:hover {
    font-family: "Raleway", sans-serif;
    color: #1a4cb8;
}
/* Utility */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive tr:hover {
    background-color: #f5ebeb;
}

.table-responsive th {
    background-color: white;
}

/* Main */
body {
    background: #f5f7fa;
}
.content {
    padding: 2rem;
    background: #ffffff;
    border-radius: 0.4rem;
    /* Thanks Stripe */
    box-shadow: 0 7px 14px 0 rgba(60, 66, 87, 0.1),
        0 3px 6px 0 rgba(0, 0, 0, 0.07);
}
.actions a {
    font-weight: bold;
    padding: 0 0.4rem;
}
th {
    white-space: nowrap;
}

/* Nav bar */
.top-status-bar {
    display:flex;
    font-size: 12px;
    background: rgb(161, 161, 161);
    color: white;
    /*width:100%; */
    height: 2rem;
    align-items: right;
    justify-content: space-between;
    padding-right: 20px;
    margin-left: 160px;
}

.top-status-bar .alert {
    font-weight: 300;
    color: #e20000;
}
.top-status-bar .warning {
    font-weight: 300;
    color: #ffd76b;
}


.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 150rem;
    padding: 2rem;
    margin: 0 auto 2rem;
}
.top-nav-title a {
    font-size: 2.4rem;
    color: #d33c43;
}
.top-nav-title span {
    color: #404041;
}
.top-nav-links a {
    margin: 0 0.5rem;
}
.top-nav-title a,
.top-nav-links a {
    font-weight: bold;
}

.side-nav-item {
    display: block;
    padding: 0.5rem 0;
}

/* View action */
.view.content .text {
    margin-top: 1.2rem;
}
.related {
    margin-top: 2rem;
}

/* Flash messages */
.message {
    padding: 1rem;

    background: #eff8ff;
    color: #2779bd;

    border-color: #6cb2eb;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    margin-bottom: 2rem;
}
.message.hidden {
    display: none;
}
.message.success {
    background: #e3fcec;
    color: #1f9d55;
    border-color: #51d88a;
}
.message.error {
    background: #fcebea;
    color: #cc1f1a;
    border-color: #ef5753;
}
.message.warning {
    background: #fcebea;
    color: rgb(219, 169, 76);
    border-color: #daae35;
}

/* Forms */
.input.radio,
.input.checkbox {
    margin-bottom: 2.0rem;
}
.input.radio input,
.input.checkbox input {
    margin: 0;

}
.input.radio label,

.input.checkbox label {

    margin: 0;
    display: flex;
    align-items: center;
}
.input.radio label >
 input,
.input.checkbox label >
 input {
    margin-right: 1.0rem;
}
.input.radio label:first-of-type {
    margin-bottom: 2.0rem;
}


/* Paginator */
.paginator {
    text-align: right;
}
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.pagination li {
    margin: 0 0.5rem;
}
.prev.disabled a,
.next.disabled a {
    cursor: not-allowed;
    color: #606c76;
}
.asc:after {
    content: " \2193";
}
.desc:after {
    content: " \2191";
}

/* Error */
.error-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
}

/* my override */
label {
    display: block;
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 0rem;
    margin-top: 0.1rem;
    margin-left: 0.1rem;
    width: fit-content;
    padding-left: 0.1rem;
    padding-right: 0.1rem;
    padding-top: 0.1rem;
    z-index: 999;
    position: relative;
    /* border-style: solid; */
    /* border-color: lightgray; */
}

td, th {
    border-bottom: 0.1rem solid #e1e1e1;
    padding: 0.1rem 0.5rem;
    text-align: left;
    vertical-align: text-top;
}

td.number {
    text-align: right;
}

.quicksearch {
    background-color: transparent;
    border: 0.1rem solid #cf0707;
    border-radius: .4rem;
    box-shadow: none;
    height: 2rem;
    padding: 0rem;
    width: 100%;
    margin:0rem;
    
}

.orderquickbuttons,
input[type='button']   
{
    background-color: #f53c3cc2;
    color: white;
    border: 0.1rem solid #cf0707;
    border-radius: .4rem;
    box-shadow: none;
    padding: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin:0.1rem;
    text-align: center;
    font-size: 1.3rem;
}

.shippingstatusquickbuttons,
input[type='button']   
{
    background-color: #d33c43;
    color: white;
    font-weight:500;
    font-size: 1.1rem;
    border: 0.1rem solid #cf0707;
    border-radius: .4rem;
    box-shadow: none;
    padding: 0.2rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin: 2px;
    text-align: center;
    display: block;
    width: 100%;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
}
.shippingstatusquickbuttons:hover {
    background-color: #606c76;
    border-color: #606c76;
    color: #fff;
    outline: 0
}

input[type='number'] {
    text-align: right;
}


legend {
    display: block;
    font-size: 2.0rem;
    font-weight: 700;
    margin-bottom: 2.0rem
}

.tempresults,
.attachments,
.autoload,
.loadinfo {
    /*background-color: lightgray;*/
    padding-left: 20px;
    padding-bottom: 0px;
    display:none;
}

.tempresults.active,
.attachments.active,
.autoload.active,
.loadinfo.active {
    display:flex;
}

.loadinfo input[type='text'] {
    background-color: white;
    font-size: 1.3rem;
    font-weight: 100;
    box-sizing: inherit;
    height: 2rem;
    padding: 15px;
    margin: 5px;
    float: inline-end;
    display: flex;
}

.loadinfo input[type='submit'] {
    height: 2.8rem;
    letter-spacing: .1rem;
    line-height: 2.8rem;
    padding: 0 3.0rem;
    text-align: center;
    margin-top: 30px;
}

.border-top {
    border-top: 0.1rem solid lightgray;
}

input[type='text'].searchtext {
    font-size: 14px;
    font-weight: 100;
    box-sizing: inherit;
    height: 2rem;
    padding: 0rem;
    margin:0rem;
    background-color: lightgray;
}

.subsection {
    font-size: 2.2rem;
    letter-spacing: -.08rem;
    line-height: 1.35;
    background-color: lightgrey;
    padding: 0.2rem;
    display: flex;
    width:100%;
}

.foldinghandle {
    width: 25px;
    height: 25px;
    margin-left: 5px;
    margin-right: 15px;
}
p.foldinghandle {
    font-size: 1.5rem;
    margin-top: 5px;
}

.foldinghandle:hover {
    cursor: pointer;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}
  
/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    top: -5px;
    left: 105%;
    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}
  
/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: red;
  color: white;
  text-align: center;
}

.todo {
    background-color: white;
    font-weight: 900;
    color: white;
    width: 50px;
    cursor: pointer;
}
.todo.partial {
    background-color: orange;
}

.todo.empty {
    background-color: red;
}

@media screen and (max-width: 640px) {
    .top-nav {
        margin: 0 auto;
    }
    .side-nav {
        margin-bottom: 1rem;
    }
    .heading {
        margin-bottom: 1rem;
    }
    .side-nav-item {
        display: inline;
        margin: 0 1.5rem 0 0;
    }
    .asc:after {
        content: " \2192";
    }
    .desc:after {
        content: " \2190";
    }
}

.tab_content { 
    display:none; 
}

.tab_content.tab_contents_active { 
    display:block;
    border-style: solid;
    border-width: 1px;
    border-color: lightcoral;
    padding: 5px;
}

.tab { 
    font-weight: 300; 
    background-color: transparent;
    border-style: solid;
    border-width: 1px; 
    border-bottom-width: 0px;
    
    border-color: #404041; 
    border-top-left-radius: 5px; 
    border-top-right-radius: 5px; 
    margin: 5px;
}


.tab.tab_active { font-weight: 900; background-color: lightcoral; } 
.tab.tab_missing { font-weight: 100; color: gray;}

.tab:hover {
    background-color: lightcoral;
}

.sidenav {
    height: 100%;
    width: 160px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(14, 27, 39);
    overflow-x: hidden;
    padding-top: 20px;
    color: #ddd;
  }
  
  .sidenav a {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    font-size: 14px;
    color: #b1c1d1;
    display: block;
  }
  
  .sidenav a:hover {
    color: #f1f1f1;
  }
  
  /* Nav bar */
.topnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 150rem;
    padding: 2rem;
    margin-left: 160px;
    /*margin: 0 auto 2rem; */
}

.top-nav-title a {
    font-size: 2.4rem;
    color: #d33c43;
}
.top-nav-title span {
    color: #404041;
}
.top-nav-links a {
    margin: 0 0.5rem;
}
.top-nav-title a,
.top-nav-links a {
    font-weight: bold;
}

.side-nav-item {
    display: block;
    padding: 0.5rem 0;
}

.main {
    margin-left: 160px; /* Same as the width of the sidenav */
    font-size: 14px; /* Increased text to enable scrolling */
    padding: 0px 10px;
}

@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}

.row .openpackings,
.row .openpackings a 
{
    background-color: orange;
    height: 30px;
    padding-right: 20px;

}
.row .assignedpackings,
.row .assignedpackings a
{
    background-color: green;
    height: 30px;
    color: honeydew;
    padding-right: 20px;
}

.row .orderitem-open,
.row .orderitem-open a
 {
    border-left-width: 5px;
    border-left-color: orange;
    border-left-style: solid;
    color: rgb(20,20,20,);
    font-weight: 500;

}

.row .orderitem-open .column a 
{
    border-left-color: transparent;
    font-family: inherit;

}

.row .orderitem-packed,
.row .orderitem-packed a
 {
    border-left-width: 5px;
    border-left-color: green;
    border-left-style: solid;
}

.row .orderitem-packed .column a 
{
    border-left-color: transparent;
    font-family: inherit;
}


.row.orderitem-search {
    border-left-width: 5px;
    border-left-color: grey;
    border-left-style: solid;
    background-color: lightgray;
}

.row.orderitem-search input[type='input'] {
    font-size: 18px;
    font-weight: 500;
    padding: 2px;
}

.row.orderitem-search.result {
    border-left-width: 5px;
    border-left-color: grey;
    background-color: white !important;
}

.column .orderposnum {
    width: 100px !important;
    /* font-style: italic; */ 
}

.orderpossel input select,
.column .orderpossel 
{
    width: 40px !important;
    margin-right: 5px;
    /* font-style: italic; */ 
}

.error-message 
{
    color: red;
    font-weight: 500;
    border-radius: 5px;
}

/* for shippingnotes in orderview at the moment start */
.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 2px;
    border: solid;
  }
   
  .dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  .dropdown-content a:hover {background-color: #ddd;}
  
  .dropdown:hover .dropdown-content {display: block;}
  
  .dropdown:hover .dropbtn {background-color: #3e8e41;}
  /* for shippingnotes in orderview at the moment end */


.important-message 
{
    color: red;
    font-weight: 500;
}


/* start: Modal error/warning/info box */
.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
  }
  .overlay:target {
    visibility: visible;
    opacity: 1;
  }
  
  .popup {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 30%;
    position: relative;
    transition: all 5s ease-in-out;
  }
  
  .popup h2 {
    margin-top: 0;
    color: #333;
    font-family: Tahoma, Arial, sans-serif;
  }
  .popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
  }
  .popup .close:hover {
    color: #06D85F;
  }
  .popup .content {
    max-height: 30%;
    overflow: auto;
  }
  
  @media screen and (max-width: 700px){
    .box{
      width: 70%;
    }
    .popup{
      width: 70%;
    }
  }

/* end: Modal error/warning/info box */


/* start form tables */

.table
{
    display:table;
    width: 100%;
	border-collapse:collapse;
	border-spacing:5px;
}
.thead
{
	display:table-header-group;
    font-weight: 900;
}

.tbody
{
	display:table-row-group;
}
.tr
{
    display:table-row;
    line-height: 3rem;;
}

.td
{
	display:table-cell;
    padding:1px;
    margin:0px;
}

.tr.upperline, .td.upperline
{
    border-top-style: solid;
    border-top-color: grey;
    border-top-width: 1px;
}

.tr.pickingOpen
{
    border-left-width: 5px;
    border-left-color: orange;
    border-left-style: solid;
}

.tr.pickingDone
{
    border-left-width: 5px;
    border-left-color: green;
    border-left-style: solid;
}

.table .tr.datatable,
.table .tr.datatable .td
{
    line-height: 1rem;
    padding-top: 0px;
    margin-top: 0px;
    padding-bottom: 0px;
    margin-bottom: 0px;
    border-spacing: 0px;
}

.table .tr.datatable input[type],
.table .tr.datatable select
{
    margin:0px;
}

[class^="ti-"], [class*=" ti-"] {
    margin: 10px ;
    cursor: pointer;
}

.row .push
{
    margin-left: auto;
}


/* Customized load awesome styles */
.la-line-scale.la-dpdred {
    color: #b80024;
}

.row .column.column-5 {
    flex: 0 0 5%;
    max-width: 5%
}
