body, html {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
}

/*HEADER*/

.noBorder {
    border: 0;
}
body{
    font-family: Arial, Verdana, "Lucida Grande", "Lucida Sans Unicode", Helvetica, sans-serif;
}
table, tr, td, th{
    border-collapse: collapse;
    font-size: 14px;
}
td, th{
    border: 1px solid lightcoral;
    padding: 0 5px;
}
table {
    width: 100%;
}
th{
    background: rgba(4, 0, 209, 0.07);
}
th[stage]{
    word-wrap: break-word;
    font-size: 6pt;
    font-weight:normal;
}
td[stage]{
    text-align: center;
    background: rgb(252, 232, 178);
    position: relative;
}
tr:hover td {
    background: rgba(34, 123, 172, 0.44);
}
td[stage] a {
    display: block;
    text-decoration: none !important;
    position: relative;
    height: 100%;
}
td[stage] a:hover {
    background: darkgreen;
    color: #fff;
}
td span.restart-wrapper {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #aaa;
    cursor: pointer;
    z-index: 10;
    transition: all 0.5s ease;
}
td span.restart:hover {
    background: rgb(183, 225, 205);

}
td span.restart-cancel:hover {
    background: darkred;
    color: #fff;

}
td.stageStatusStart{
    background: rgb(252, 232, 178);
}
td.stageStatusOK{
    background: rgb(183, 225, 205);
}
.indention-table .table>tbody>tr>td {
    text-align: center;
    vertical-align: middle;
}
#tableLeft, #tableRight{
    background: none;
    border-top: transparent;
}
#tableLeft{
    border-left: transparent;
}
#tableRight{
    border-right: transparent;
}

#prettyButton {
    font-size: 11pt;
    background-color: #4CAF50;
    border: 1px solid black;
    border-radius: 3px;
    color: white;
    display: inline-block;
    line-height: 30px;
    text-decoration: none;
    width: auto;
    padding: 1px 10px;
    text-align: center;
    margin: 3px;
    transition: all 0.5s ease;
}
#prettyButton.naryad_btn {
    width: 19%;
    margin-right: 0.5%;
    margin-left: 0.5%;
    float: left;
}
#prettyButton.naryad_btn:nth-child(5n) {
    margin-right: 0;
}
#prettyButton.naryad_btn:nth-child(5n+1) {
    clear: both;
}
#prettyButton.arhive {

    background-color: #607D8B;

}
#prettyButton:hover{
    background-color: #03A9F4;
}
.disabled {
    pointer-events: none;
    cursor: default;
    opacity: 0.6;
}
td textarea {
    font-size: x-small;
    transition: all 0.3s ease;
}
td textarea.product-note-production.full-text {
    height: 40px;
}
td.date-ship-plan {
    text-align: center;
    padding: 0 5px;
}
.status {
    white-space: nowrap;
}
.journalHeader {
    font-size: 2.4em;
    color: #000000;
    padding-top: 15px;

}
h1 img {
    width: 100px;
    margin-right: 50px;
}
button.btnLogin,
button.btnMenu {
    margin-top: 14px;
    width: 7vw;
}

div.logo {
    background-image: url(../images/logo.png);
}

/*END HEADER*/

/*TABLE BODY*/
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
    background-color: #e6EEEE;
    border: 1px solid #FFF;
    font-size: 8pt;
    padding: 4px;
    vertical-align: middle;
}
.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 100%;
}
table.tablesorter thead tr .header {
    background-image: url(../images/bg.gif);
    background-repeat: no-repeat;
    background-position: 100% 10%;
    cursor: pointer;
}

table.tablesorter thead tr .headerSortUp {
    background-image: url(../images/asc.gif);
}

table.tablesorter thead tr .headerSortDown {
    background-image: url(../images/desc.gif);
}
#test-table {
    text-align: center;

}
#test-table thead th {
    background: #eee;
    padding: 10px 15px;
    cursor: pointer;
}
#test-table td{
    padding: 10px 15px;
}
th {
    vertical-align: text-top;
!important;
    text-align: center;
}

.btn.btn-info.statusBtn,
.btn.btn-danger.statusBtn,
.btn.btn-warning.statusBtn {
    width: 60px;
    padding: 0;
}

.bootstrap-select.btn-group .dropdown-toggle .caret {
    right: 3px;
}

.bootstrap-select > .dropdown-toggle.statusSelect {
    padding: 1px 3px 1px 1px;
}
th.status.header {
    width: 99px;
}
/*END TABLE BODY*/

/* DROPDOWN  */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: -112%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 6px 0px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: left;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 20px 5px 5px;
    border-left-color: #cccccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #ffffff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -1%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}
.department-tabs {
    overflow: hidden;
    padding: 0;
    list-style: none;
    margin-bottom: 0px;
    clear: both;
}
.department-tabs li {
    float: left;
    border: 1px solid #eee;
    background: #ddd;
    padding: 10px 15px;
    transition: all 0.5s ease;
    cursor: pointer;
}
.department-tabs li:hover {
    background: rgba(34, 123, 172, 0.44);
}
.department-tabs li.active {
   background: rgba(34, 123, 172, 1);
   color: #fff;
}

/* END DROPDOWN  */
textarea.material_note {
    width: 100% !important;
    height: 30px;
}
input[name="material_amount_fact"] {
    width: 50px;
    margin: 0 auto;
    display: block;
}
[name="add_material_select"] {
    display: none;
}
.add_material_final {
    display: block;
    margin: 0 auto;
    width: 100%;
}
.department-wrapper {
    border: 1px solid #aaa;
    padding-top: 10px;
    padding-bottom: 10px;
}
#print-department {
    width: 200px;
    padding: 10px 15px;
    display: inline-block;
    margin-bottom: 20px; 
}
h1 {
    text-align: center;
}
.logo-link {
    float: left;
    margin-left: 15px;
    width: 100px;
}
.logo-link img {
    width: 100%;
}
.main-content {
    text-align: center;
}
h1 {
    width: 100%;
    position: relative;
    clear: both;
}
/*print style*/
#productionTable {
    width: auto;
}
#departmentTable tr.printed-0 {
    background: #4CAF50;
}
#departmentTable tr.printed-1 {
    background: #ebebeb;
}

#departmentTable tbody {
    overflow: scroll;
}
table.dataTable thead th, table.dataTable thead td {
    padding: 5px;
    vertical-align: middle;
}
table.dataTable tbody th, table.dataTable tbody td {
    padding: 10px 5px;
}
td.status-1 {
    background: #F5F5DC;
}
td.status-2 {
    background: #30D5C8;
}
td.status-3 {
    background: darkred;
}
td.empty-select {
    background: #fff;
}
.dataTables_scroll {
    overflow:auto;
}
table {
   table-layout: auto !important;
}
.error-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    color: #fff;
    background: darkred;
    font-size: 18px;
    text-align: center;
    display: none;
}

.message-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    color: #fff;
    background: darkgreen;
    font-size: 18px;
    text-align: center;
    display: none;
}
.hidden-date {
    display: none;
}
/*end print style*/

table.dataTable tbody tr.warning-ship {
    background-color: red !important;
}
table.dataTable tbody tr.warning-restart {
    background-color: pink !important;
}
#departmentTable tr.fast-template {
    background: #f0ad4e !important;
}
table.dataTable tbody tr.expiration-priority {
    background-color: #fbe82b !important;
}