@font-face {
  font-family: Raleway-Regular;
  src: url('../fonts/raleway/Raleway-Regular.ttf'); 
}

@font-face {
  font-family: Raleway-Medium;
  src: url('../fonts/raleway/Raleway-Medium.ttf'); 
}

@font-face {
  font-family: Raleway-SemiBold;
  src: url('../fonts/raleway/Raleway-SemiBold.ttf'); 
}

@font-face {
  font-family: Raleway-Bold;
  src: url('../fonts/raleway/Raleway-Bold.ttf'); 
}

body {
    background-color: #ebebeb;
    font-family: Raleway-Regular, sans-serif;
    margin: 5px;
}

.container {
    background-color: #ffffff;
    padding: 10px;
    max-width: 1200px;
    display: block;
    margin: 10px auto 0;
    border-radius: 5px;    
    color: #555555;
}

.container.header {
    margin-top: 0;
    padding: 5px 10px;
}

div.menu-button {
    display: inline-block;
    width: 10%;
    height: 100px;
}

div.menu-button img {
    width: 100%;
    max-width: 80px;
    display: block;
    margin: 10% auto 0;
    cursor: pointer;
}

div.container.header div.logo-container {
    display: inline-block;
    width: 90%;
    float: right;
    height: 100px;
}

.logo-container img {
    margin: 0 auto;
    display: block;
    width: 300px;
}

.content {
    margin: 5px 0;
    text-align: center;
    min-height: 500px;
}

h1 {
    font-family: Raleway-Medium;
    color: #555555;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: left;
    font-size: 2em;
    font-weight: normal;
    margin: 0 auto;
    display: inline-block;
}

form {
    max-width: 400px;
    display: block;
    margin: 30px auto 0;
    text-align: left;
    padding: 5px;
}

div.error-message {
    border: 2px solid #f16048;
    padding: 10px;
    margin: 0 0 20px;
    color: #df280a;
    background-color: #FAEBE7;
    font-weight: bold;
}

div.success-message {
    border: 2px solid #3d6611;
    padding: 10px;
    margin: 0 0 20px;
    color: #3d6611;
    background-color: #EFF5EA;
    font-weight: bold;
}

div.order-message {
    border: 2px solid #3d6611;
    padding: 10px;
    margin: 0 0 20px;
    color: #3d6611;
    background-color: #EFF5AA;
    font-weight: bold;
    font-size: 1.3em;
}

label {
    display: block;
    font-weight: bold;
    font-size: 1em;
    margin: 0 0 5px;
    text-transform: uppercase;
}

.input-field {
    margin: 0 0 20px;
}

input[type=text], input[type=password], select {
    width: 100%;
    height: 40px;
    padding: 0 0 0 5px;
    font-family: Raleway-Medium;
    font-size: 1em;
}

input[type=text].input-error, input[type=password].input-error {
    border: 1px solid #f16048;
    color: #df280a;
    background-color: #FAEBE7;
}

input[type=text].input-ok, input[type=password].input-ok {
    border: 1px solid #95a486;
    color: #3d6611;
    background-color: #EFF5EA;
}

.validation-error {
    margin-top: 5px;
    padding: 0 0 0 10px;
    color: red;
    font-style: italic;
    font-size: 1em;
    font-weight: bold;
}

button.submit {
    width: 80%;
    margin: 0 auto;
    display: block;
    padding: 10px;
    font-family: Raleway-Medium;
    font-size: 1.2em;
    background-color: #333333;
    color: white;
    border-radius: 20px;
    border: none;
}

/*//////////////////////////////////////////////////////////////////
[ Menu ]*/

.menu-overlay, .overlay, .overlay-worker {
    height: 100%;
    width: 0%;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    background-color: rgb(0,0,0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay {
    width: 100%;
    display: none;
}

.overlay-content {
  position: relative;
  top: 10%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.menu-overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
  text-transform: uppercase;
}

.menu-overlay a.menu-btn {
    border: 1px dotted;
}

.menu-overlay a:hover, .menu-overlay a:focus, .menu-overlay a.active {
  color: #f1f1f1;
}

.menu-overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

.content-header div.title {
    display: inline-block;
    width: 70%;
}

div.title h1 {        
    text-align: center; 
}

.welcome {
   display: inline-block; 
   width: 30%; 
   float: right;
}

.welcome span {           
    background-color: #fff;
    border: 2px solid #57b846;
    border-radius: 3px;
    padding: 5px 10px;
    font-family: Raleway-Medium;
    color: #57b846;
    font-size: 1em;
    line-height: 1.4;
    text-align: center;    
}

.scan-form form {
    max-width: 1200px;
    width: 95%;
}

.scan-data {
    text-align: left;
}

.scan-data h1 {
    margin-top: 20px;
}

table {
    border-spacing: 1;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    width: 100%;
    margin: 10px auto 0;
    position: relative;
    font-family: Raleway-Medium;
}

thead tr {
    height: 40px;
    color: #ffffff;
    background: #333333;
    font-size: 1em;
}

table#scan-table tbody td {
    font-weight: bold;
    color: #000000;
}

td, th {
    text-align: center;
}

tbody tr {
    height: 40px;
    border-bottom: solid 1px #333333;
}

td div.icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

td div.icon.success {
    background-image: url('../images/on.png');
    cursor: auto;
}

td div.icon.error {
    background-image: url('../images/error.png');
    cursor: auto;
}

div.error-container {
    margin-top: 25px;
}

div.content span.message.error {
    display: block;
    background-color: #fff;
    border: 2px solid #c80000;
    color: #c80000;
    border-radius: 3px;
    padding: 5px 10px;
    margin-top: 5px;
}

div.loading-img {
    position: relative;
    top: 45%;
    width: 100%;
    text-align: center;
}

img.load {
    width: 10%;
    max-width: 50px;
}

img.scan-image {
    display: block;
    width: 300px;    
    margin: 0 auto;
}

.search_by_style_container {
    margin-top: 5px;
}

span.label-style-search {
    font-family: Raleway-Regular;
    font-size: 0.9em;
    color: #999999;
    line-height: 1.4;
    cursor: pointer;
    display: block;
    margin-top: 4px;
    cursor: pointer;
}

input.style_checkbox {
    width: 20px;
    height: 20px;
}

.label_container {
    display: inline-block;
    height: 20px;
    vertical-align: top;
}

.search-result-container {
    border-top: 1px solid #000;
    margin: 20px auto;
    max-width: 600px;
}

.search-result {
    margin-top: 20px;
    background-color: #ebebeb;
    padding: 0;
}

div.search-type {
    display: none;
}

span.product-name {
    font-family: Raleway-Medium;
    font-weight: bold;
    border: 1px solid #95a486;    
    color: #3d6611;
    background-color: #EFF5EA;
    padding: 5px 2px;
    display: block;
}

span.search-block {
    font-family: Raleway-Medium;
    font-weight: bold;
    border: 2px dotted;
    background-color: lightblue;
    color: #000;
    padding: 5px 2px;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

ul.product-attribute {
    list-style: none;
    display: block;
    margin: 5px 0;
    padding: 0;
    border: 1px solid #000;      
}

ul.product-attribute li {
    display: inline-block;    
    font-weight: bold;
    padding: 5px 0;
    text-transform: uppercase;
}

ul.product-attribute li.full {
    width: 100%;
}

li.label {
    background-color: #333333;
    color: #fff;
    width: 40%;
}

li.value {
    float: right;
    color: #3d6611;
    background-color: #EFF5EA;
    width: 60%;
}

li.value.off {
    float: right;
    background-color: #FAEBE7;    
    color: #c80000;
    width: 60%;
}

li.value.strong {
    background-color: #3d6611;
    color: white;
}

li.value.white {    
    color: #000;
    background-color: #fff;    
}

.same-style-container {
    border-bottom: 2px dotted #000;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

div.search-error-container {
    display: none;
    margin-top: 20px;
    border-top: 1px solid black;
    padding-top: 20px;
}

.tools-container {
    margin-top: 30px;
}

td div.icon.export {
    background-image: url('../images/export-csv.png');
}

td div.icon.view {
    background-image: url('../images/view.png');
}

td div.icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.rTable {
    display: table;
    width: 100%;
    margin-top: 20px;
}
.rTableRow {
    display: table-row;
}
.rTableCell, .rTableHead {
    display: table-cell;
    padding: 3px 0;
    border: 1px solid #999999;
    max-width: 100px;
}
.rTableHeading {
    display: table-header-group;
    background-color: #ddd;
    font-weight: bold;
}
.rTableFoot {
    display: table-footer-group;
    font-weight: bold;
    background-color: #ddd;
}
.rTableBody {
    display: table-row-group;
}

.logout-container {
    margin-top: 40px;
}

.users-container {
    margin-top: 30px;
}

.users-create-header {
    display: table;    
}

.users-create-header div {
    display: inline-block;
    border: solid 2px #333333;
    border-radius: 27px;
    cursor: pointer;
}

.users-create-header div:hover {
    background-color: #57b846;
}

.users-create-header span.message {
    background-color: #fff;
    border: 2px solid #57b846;
    color: #57b846;
    border-radius: 3px;
    padding: 5px 10px;
    margin-left: 10px;
}

.users-create-header img {
    width: 60px;
    margin-right: 5px;
    vertical-align: middle;
    display: inline-block;
}

.users-create-header .link {
    text-decoration: underline;
    font-weight: bold;
}

.users-create-header span {
    vertical-align: middle;
    margin-right: 20px;
}

td div.icon-switch {
    display: inline-block;
    width: 63px;
    height: 30px;
    cursor: pointer;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

td div.icon-switch.on {
    background-image: url('../images/switch-on.jpg');
}

td div.icon-switch.off {
    background-image: url('../images/switch-off.jpg');
}

td div.icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

td div.icon.edit {
    background-image: url('../images/edit-black.png');
}

td div.icon.edit:hover {    
    background-image:url('../images/edit.png');
}

td div.icon.delete {
    background-image: url('../images/delete-black.png');
}

td div.delete-icon-container {
    width: 30px; 
    height: 30px; 
    margin-top: 0; 
    cursor: pointer;
    background-image: url('../images/delete-black.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

td div.delete-icon-container:hover {
    background-image:url('../images/delete.png');
}

td div.icon.delete:hover {    
    background-image:url('../images/delete.png');
}

.users-container.mobile {
    display: none;
}

.overlay-content span.message {
    border: 2px solid #3d6611;
    display: block;
    width: 80%;
    margin: 0 auto;
    padding: 10px;
    color: #3d6611;
    background-color: #EFF5EA;
}

.overlay-content span.message.error {    
    border: 2px solid #f16048;    
    color: #df280a;    
}

.mobile-edit div {
    display: inline-block;
    width: 50%;
    padding: 2px 0;    
}

div.img-border {
    display: block;
    width: 99%;
    border: 1px dotted #000;
    padding: 5px 0;
}

.mobile-edit div img {
    width: 30px;
}

.right {    
    float: right;
}

/******************/
/*DASHBOARD STYLES*/
/******************/
.dashboard-container {
    margin: 20px;
}

.dashboard-container div {
    text-align: left;
    margin-top: 40px;
}

label.dashboard {
    border-bottom: 2px solid;
    padding-bottom: 5px;
}

label.dashboard a {
    float: right;
}

.dashboard-menu li {
    margin: 5px 0;
}

.code-container {
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
}

table.order-data {
    border-radius: 0;
}

.order-data tr {
    height: 30px;
}

.order-data td {
    border: solid 1px #333333;
    text-align: left;
    padding: 0 10px;
}

.order-data td.item_name {
    color: #000000;
    background-color: lightblue;
    text-align: center;
    font-weight: bold;
}

.order-data td.order_label {
    font-weight: bold;
}

.filter-header {
    margin-top: 0 !important;
    font-weight: bold;
    display: inline-block;
    border: 2px solid;
    padding: 5px 10px;
    border-radius: 15px;
}

.reset {
    display: inline-block;
    margin-left: 10px;
}

.filter_data {
    margin-top: 10px !important;
}

span.filter_label {
    font-weight: bold;
    margin-right: 20px;
}

/*FLEX DATA*/
.wave-data-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
}

.wave-data-container > div {  
    margin: 5px;        
    flex: 47%;
    max-width: 47%;
}

.wave-data-container td.label {
    font-weight: bold;
    background-color: #595959;
    color: white;
    width: 50%;
}

.wave-data-container td.value {
    font-size: 0.9em;
    font-weight: bold;        
}

/*STATUSES*/
td.status {
    border-radius: 10px;    
    font-weight: bold;
    color: black;
}

/* YELLOWS */
td.status.picking_in_process, td.status.sorting_in_process, td.status.pending_sorting {
    background-color: #FFE338;    
}

/* ORANGES */
td.status.initialized, td.status.pending_wave, td.status.pending_picking, td.status.pending {
    background-color: #FFA500;    
}

/* BLUES */
td.status.initialized {
    background-color: #3895D3;    
}

/* REDS */
td.status.error {
    background-color: #D92121;    
}

/* GREENS */
td.status.success, td.status.complete{
    background-color: #4B8B3B;    
}

td.status.complete_with_errors{
    background-color: lightgreen;    
}

/*PICKING / SORTING SCREENS*/

.worker-screen {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.worker-screen div {
    margin: 0;
}

table.worker {
    margin: 0 auto;
    border-radius: 0;
}

table.worker thead tr {
    height: 30px;
}

table.worker tbody tr {
    height: 30px;
    border: none;
}

table.worker td, table.worker th {
    border: 1px dotted #333333;
}

.mt20 {
    margin-top: 20px !important;
}

.worker-notice {
    color: #3d6611;
    background-color: #EFF5AA;
}

.big {
    font-size: 1.5em;
    padding: 5px;
}

div.buttons-container {
    margin-top: 20px;
    text-align: center;
}

form.scan-form {
    max-width: 500px;
    display: block;
    margin: 0;
    text-align: initial;
    padding: 0;
}

.myButton {
    box-shadow:inset 0px 1px 0px 0px #f7c5c0;
    background:linear-gradient(to bottom, #fc8d83 5%, #e4685d 100%);
    background-color:#fc8d83;
    border-radius:6px;
    border:1px solid #d83526;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family:Arial;
    font-size:15px;
    font-weight:bold;
    padding:12px 36px;
    text-decoration:none;
    text-shadow:0px 1px 0px #b23e35;
}
.myButton:hover {
    background:linear-gradient(to bottom, #e4685d 5%, #fc8d83 100%);
    background-color:#e4685d;
}
.myButton:active {
    position:relative;
    top:1px;
}

/*//////////////////////////////////////////////////////////////////
[ Responsive ]*/

@media (min-width: 450px) {
    .container.big {
        max-width: 1500px;
    }
    
    .search-result-container {
        border-top: 1px solid #000;
        margin: 20px auto;
        max-width: none;
    }

    ul.product-attribute {
        list-style: none;
        display: block;
        margin: 5px 0;
        padding: 0;
        border: 1px solid #000;
        width: 9%;
        display: inline-block;
    }

    ul.product-attribute li {
        display: block;
        font-weight: bold;
        padding: 5px 0;
        text-transform: uppercase;
        width: 100%;
    }

    li.value {
        float: right;    
        height: 35px;
        padding-top: 20px !important;
        font-size: 0.9em;
        font-family: Raleway-Medium;
    }
}

@media (max-width: 450px) {
    input[type=text], input[type=password], select {
        width: 97%;
    }
    
    button.submit {
        width: 100%;
    }
    
    div.menu-button {
        display: inline-block;
        width: 20%;
        height: 80px;
    }

    div.menu-button img {
        width: 50px;
        max-width: 80px;
        display: block;
        margin: 20% auto 0;
    }

    div.container.header div.logo-container {
        display: inline-block;
        width: 80%;
        float: right;
        height: 80px;
    }
    
    .logo-container img {
        margin: 0 auto;
        display: block;
        width: 200px;
    }
    
    .content-header div.title {
        display: block;
        width: 100%;
    }
    
    div.title h1, .scan-data h1 {             
        font-size: 1.5em;        
    }
    
    .welcome {
        width: 100%;
        display: block;                
        float: none;
        margin-top: 10px;
    }
    
    .welcome span {                  
        font-size: 0.8em;        
    }
    
    .tools-container td {        
        font-size: 0.8em;
    }
    
    .rTableCell, .rTableHead {        
        font-size: 0.8em;
    }
    
    .users-container.mobile {
        display: block;
    }
    
    .users-container.desktop {
        display: none;
    }
    
    .users-create-header img {
        width: 35px;
        margin: 0 5px; 
    }
    
    .users-create-header {
        display: block;
    }
    
    .users-create-header div {    
        display: block;                     
        margin: 0 auto;
        width: 200px;
    }
    
    .users-create-header span.message {
        margin-top: 10px;
    }
    
    table.order-data {
        font-size: 0.7em;
    }
    
    .wave-data-container > div {      
        flex: 100%;
        max-width: 100%;
    }
    
}

@media (max-width: 350px) {
    .logo-container img {        
        width: 180px;
    }
    
    ul.product-attribute li {        
        font-size: 0.8em;
    }
    
    .tools-container td {        
        font-size: 0.7em;
    }
}

