*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

/**
 * Default page start
 **/
#wsdHeader {
    position: fixed;
    width: 100%;
    height: 50px;
    background: #003366;
    top: 0px;
    z-index: 1000;
}

#wsdHeaderTable {
    height: 50px;
    width: 100%;
    border-spacing: 0px;
}

.wsdHeaderTxt {
    color: white;
    text-align: center;
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    font-size: 36px;
    font-weight: bold;
    line-height: 50px;
}

#menu {
    position: fixed;
    width: 100%;
    height: 25px;
    background: #e2e1e0;/*#e6f6ff;*/
    top: 54px;
    text-align: center;
    z-index: 1000;
}

#menu.tabletUser {
    height: 55px;
}

#menu p {
    margin: 0;
    padding: 0;
    color: #333;/*#003366;*/
    font-weight: bold;
    font-size: 16px;
    line-height: 1.5em;
}

#menu p.userinfo {
    text-align: center;
}

#menu p.userinfo a:hover {
    text-decoration: underline;
}

#menu_padding {
    position: fixed;
    width: 100%;
    height: 4px;
    background: white;
    top: 50px;
    z-index: 1000;
}

#tabs {
    position: fixed;
    width: 100%;
    height: 30px;
    top: 79px;
    text-align: center;
    background: #fff;
    z-index: 1000;
}

.tab {
    height: 25px;
    width: 30%;
    margin-right: 5%;
    float: left;
    background: #e2e1e0;/*#e6f6ff;*/
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.tab a {
    line-height: 25px;
    display: block;
    width: 100%;
    color: #333/*#fff*/;
}

.tab a:hover {
    color: #0072bc;
    text-decoration: underline;
}

.tab.active {
    background: #cac8c7;
}

/*.tab.active a {
    color: #fff;
}

.tab.active a:hover {
    color: #e2e1e0;
}*/

.tabswrapper.tabletUser #tabs {
    height: 50px;
    top: 89px;
}

.tabswrapper.tabletUser .wsdCenter {
    max-width: 550px;
}

.tabswrapper.tabletUser .tab {
    width: 22.75%;
    margin-right: 3%;
}

.tabswrapper.tabletUser .tab:last-child {
    margin-right: 0;
}

.tabswrapper.tabletUser .tab,
.tabswrapper.tabletUser .tab a {
    height: 45px;
    line-height: 40px;
}

#wsdContent {
    padding: 85px 0 65px 0;
    text-align: center;
}

#wsdContent.tabs {
    padding-top: 110px;
}

#wsdContent.tabs.tabletUser {
    padding-top: 145px;
}

#wsdFooter {
    position: fixed;
    width: 100%;
    height: 40px;
    background: #003366;
    bottom: 0px;
    text-align: center;
}

.wsdCenter {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}
/**
 * Default page end
 **/

/**
 * Login box start
 **/
#wsdloginBox,
#wsdloginBoxPad {
    background: #003366;
    width: 400px;
    margin: 10% auto 0 auto;
    padding: 1em;
    text-align: center;
}

#wsdloginBoxPad {
    padding-bottom: 1.5em;
}

#wsdLoginHeader {
    margin: 0 -5px;
    padding: 0;
}

#wsdloginBox form,
#wsdloginBoxPad form {
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    background: #e6f6ff;
    width: 100%;
    padding: 1em;
}

#wsdloginBox form input,
#wsdloginBoxPad form input {
    border: solid thin #003366;
}

#wsdloginBox form input:focus,
#wsdloginBoxPad form input:focus {
    box-shadow: 0 0 4px rgb(0,51,102);
}

#wsdLoginForgot,
#wsdLoginForgot a,
#wsdLoginForgot a:active,
#wsdLoginForgot a:visited {
    margin:0;
    float:right;
    color:#fff;
    text-decoration: none;
}

#wsdLoginForgot a:hover {
    text-decoration: underline;
}
/**
 * Login box end
 **/

/**
 * Button start
 **/
#wsdContent .submit {
    width: 300px;
    font-size: 20px;
    font-weight: bold;
}

.ui-button {
    background-color: #91A43F;
    border: 1px solid #91A43F;
    color: #fff;
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.55;
    border-radius: 0px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
}

.ui-state-default {
    background-color: #91A43F !important;
    border: 1px solid #91A43F !important;
    background-image: none !important;
}

.ui-state-default:active,
.ui-state-default:focus,
.ui-state-default:hover {
    background-color: #5a6527 !important;
    border: 1px solid #2f3515 !important;
    color: #fff !important;
}

.ui-state-default.stockSec {
    background-color: #f9b233 !important;
    border: 1px solid #d19405 !important;
    background-image: none !important;
}

.ui-state-default.stockSec:active,
.ui-state-default.stockSec:focus,
.ui-state-default.stockSec:hover {
    background-color: #ffcc99 !important;
    border: 1px solid #d19405 !important;
    color: #000 !important;
}

.ui-state-default.stockBtnNote {
    background-color: #da4f49 !important;
    border: 1px solid #802420 !important;
    background-image: none !important;
    color: #fff !important;
}

.ui-state-default.stockBtnNote:active,
.ui-state-default.stockBtnNote:focus,
.ui-state-default.stockBtnNote:hover {
    background-color: #bd362f !important;
/*    border: 1px solid #d19405 !important;*/
}

.ui-corner-all {
    border-radius: 0px !important;
}

.btn-popup,
.btn-popup-back,
.btn-popup-input {
    background-color: #999999;
    border: 1px solid #999999;
    color: #333333;
    cursor: pointer;
    display: block;
    font-size: 20px !important;
    font-weight: bold;
    padding: .4em 1em;
    margin: 10px auto;
    width: 300px;
}

.btn-popup:hover {
    background-color: #cccccc;
}

.btn-popup:focus,
.btn-popup:hover {
    border: 1px solid red;
}

.btn-popup-back {
    background-color: #91A43F;
    border: 1px solid #91A43F;
    color: #fff;
}

.btn-popup-back:hover {
    background-color: #5a6527;
}

.btn-popup-back:focus,
.btn-popup-back:hover {
    border: 1px solid #2f3515;
}

.btn-popup-input {
    background-color: #fff;
    text-align: center;
}

.multi-btn {
    width: 100%;
    padding: 7px 0px;
    border-radius: 0px;
    border: none;
    font-size: 1.2em !important;
    color: white;
    background-color: #91A43F;
    cursor: pointer;
}

/**
 * Button end
 **/

/**
 * Search start
 **/
#wsdSearchInput {
    width: 300px;
    padding: 10px;
    border: solid thin #003366;
}
/**
 * Search end
 **/

/**
 * Ticket start
 **/
#ticketForm {
    width: 400px;
}

#ticketForm select,
#ticketForm input,
#ticketForm textarea,
#save select,
#save input[type="text"],
#save input[type="file"],
#save textarea {
    width: 100%;
    border: solid thin #003366;
    text-align: center;
}

#ticketForm textarea {
    text-align: left;
}

#ticketForm input[type="checkbox"],
#ticketForm input[type="radio"] {
    width: 20px;
    height: 14px;
    margin: 3px 10px;
    border: none;
}

#ticketForm li input[type="radio"] {
    width: 20px;
    margin: 2px 10px 2px 5px;
    border: none;
}

#ticketForm input[type="text"],
#save input[type="text"] {
    padding: 1px 5px;
}

#ticketForm input[type="text"]:disabled,
#ticketForm textarea:disabled,
#save input[type="text"]:disabled,
#save textarea:disabled {
    border-color: #ccc;
    cursor: not-allowed;
}

.wsdTickTDFull,
.wsdTickTDLeft,
.wsdTickTDRight {
    width: 100%;
    padding: 0 0 0.8em 0;
    border-bottom: solid thin #003366;
    overflow: hidden;
}

.wsdTickTDLeft,
.wsdTickTDRight,
.wsdOuterTickTDLeft,
.wsdOuterTickTDRight {
    width: 48%;
    margin-bottom: 0.8em;
}

.wsdTickTDLeft,
.wsdOuterTickTDLeft {
    float: left;
}

.wsdTickTDRight,
.wsdOuterTickTDRight {
    float: right;
}

.wsdOuterTickTDLeft .wsdTickTDLeft,
.wsdOuterTickTDLeft .wsdTickTDRight,
.wsdOuterTickTDRight .wsdTickTDLeft,
.wsdOuterTickTDRight .wsdTickTDRight {
    margin: 0;
}

.wsdTickTDFull #delivery_date {
    width: 50%;
}

.wsdTickTDFull label,
.wsdTickTDLeft label,
.wsdTickTDRight label {
    text-align: center;
    font-weight: bold;
}
/**
 * Ticket end
 **/

/**
 * Thread start
 **/
.thread {
    width: 100%;
    text-align: left;
}

#reply,
.thread.response {
    background: #E6F6FF;
    border: none;
}

.thread.note {
    background: #DBDBDB;
}

.thread.supplier {
    background: #D0FFD0;
}

.thread.bogballe {
    background: #9BDDFF;
}

.thread_header,
.thread_body {
    padding: 0.5em;
}

.thread_header {
    border-bottom: solid thin #003366;
}

.thread_body {

}

#reply {
    padding: 1em;
    text-align: left;
}

#reply h1 {
    text-align: center;
}

#reply input[type=submit] {
    margin: 0 auto;
    display: block;
}

#reply textarea {
  width: 100% !important;
}
/**
 * Thread end
 **/

/**
 * FAQ start
 **/
.highlight .faq,
.highlight div,
div.faq {
    display: block;
    width: 100%;
    padding: 0.5em;
    margin: 0;
}

.highlight .faq-hover:hover {
    color: #fff;
    background: #003366;
}

.highlight .faq-cat {
    font-weight: bold;
    font-size: 18px;
}

.highlight .faq-top {
    font-weight: bold;
    font-size: 16px;
}

.uploads,
.uploads label {
    display: block;
    width: 100%;
}

.nicEdit-panelContain {
    border: solid thin #003366!important;
}
/**
 * FAQ end
 **/

/**
 * Buttons start
 **/
.testOkButton {
    border: 1px solid #45930b;
    background: #4ca20b url(theme/images/ui-bg_highlight-soft_60_4ca20b_1x100.png) 50% 50% repeat-x;
}

.testOkButton:hover {
    border: 1px solid #8bd83b;
    background: #4eb305 url(theme/images/ui-bg_highlight-soft_75_4eb305_1x100.png) 50% 50% repeat-x;
    color:#fff;
}

.testErrorButton,
#closeButton {
    border: 1px solid #991111;
    background: #bb0000 url(theme/images/ui-bg_highlight-soft_75_bb0000_1x100.png) 50% 50% repeat-x;
}

.testErrorButton:hover,
#closeButton:hover {
    border: 1px solid #ff6666;
    background: #dd0000 url(theme/images/ui-bg_highlight-soft_75_dd0000_1x100.png) 50% 50% repeat-x;
    color:#fff;
}

.testErrorButton{
    padding: 10px 15px !important;
}

.testOkButton {
    padding: 10px 25px !important;
}

.testErrorButton {
    color: #000;
}
/**
 * Buttons end
 **/

/**
 * Serial help dialog
 **/
#serial-helper-btn {
    height: 19px;
    width: 100%;
    background-color: lightgrey;
    outline: none;
    border: 1px solid black;
    margin-top: 5px;
}

#serial-helper-img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
}
/**
 * End serial help dialog
 **/

/**
 * Spreader select dialog
 **/
#spreader-info-wrapper,
#spreader-dialog-img-wrapper {
    position: relative;
}

#spreader-info-type,
#spreader-info-no,
#spreader-dialog-info-type,
#spreader-dialog-info-no {
    border: 2px solid red;
    position: absolute;
    display: block;
    height: 34px;
    top: 55px;
    padding: 7px 3px;
}

#spreader-info-type.ok,
#spreader-info-no.ok,
#spreader-dialog-info-type.ok,
#spreader-dialog-info-no.ok {
    border-color: green;
}

#spreader-dialog-info-type,
#spreader-dialog-info-no {
    height: 49px;
    top: 77px;
    padding: 11px 5px;
    font-size: 18px;
    text-align: center;
}

#spreader-info-type {
    left: 85px;
    width: 105px;
}

#spreader-dialog-info-type {
    left: 121px;
    width: 147px;
}

#spreader-info-no {
    left: 234px;
    width: 135px;
}

#spreader-dialog-info-no {
    left: 331px;
    width: 189px;
}

#spreader-dialog-input-no {
    width: 100%;
    height: 100%;
    text-align: center;
}

#spreader-select-btn {
    height: 19px;
    width: 100%;
    background-color: lightgrey;
    outline: none;
    border: 1px solid black;
}

.spreader-select-img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
}

#spreader-dialog-img-wrapper > .spreader-select-img {
    width: 564px;
}

#spreader-select-accordion-wrapper {
    display: block;
    height: 300px;
    width: 100%;
}

.ui-accordion .ui-accordion-header {
    padding: 5px 30px;
}

.ui-accordion .ui-accordion-content {
    height: auto !important;
    /*width: 564px;*/
}

.spreader_radio_label {
    display: block;
    float: left;
    width: 25%;
}

.spreader_radio_label > input {
    margin-right: 10px;
}
/**
 * End spreader select dialog
 **/

/**
 * Stock begin
 **/
@media only screen and (min-width: 501px) {
    table.stock-table {
        width: 130%;
        margin-left: -15%;
    }
}

.stockNoteImg {
    margin: -12px 10px -5px -50px;
    cursor: pointer;
}

#nb-list-wrapper {
    display: flex;
    align-items: center;
}

#stock-barcode-input,
#stock-amount-input {
    width: 100%;
    height: 40px;
    text-align: center;
    font-size: 24px;
}

#stock-amount-input {
    width: 50%;
    margin: 0 auto;
}

table.stock {
    width: 100%;
}

table.stock tr.installed {
    color: green;
}

table.stock tr.uninstalled {
    color: red;
}

table.stock tr.disabled {
    color: grey;
}

table.stock td.assembly-name {
    text-align: left;
}

table.stock td.serial {
    text-align: right;
}
/**
 * End stock
 **/

/**
 * Supplier
 **/
.supplier-line {
    background-color: #e2e1e0;
    height: 50px;
}

.supplier-line td {
    height: 50px;
}

.supplier-line a {
    color: #000 !important;
}

.supplier-line span {
    color: #000;
    font-size: 18px;
}

.supplier-btn {
    border: none;
    outline: none;
    color: #fff;
    padding: .4em 1em;
    display: block;
    line-height: 1.4;
    font-weight: 700;
    font-size: 20px;
    height: 50px;
}

.supplier-btn-receive {
    background-color: #1a3665;
}

.supplier-btn-receive:hover {
    background-color: #4568a2;
}

.supplier-btn-send {
    background-color: #91A43F;
}

.supplier-btn-send:hover {
    background-color: #5a6527;
}
/**
 * End Supplier
 **/

/**
 * Popup spreader selector
 **/
#spreader-popup-selector-outer-wrapper {
    height: 400px;
    width: 100%;
    overflow-x: hidden;
}

#spreader-popup-selector-wrapper {
    height: 100%;
}

.spreader-popup-selector-slide {
    float: left;
    min-height: 100%;
}

.spreader-popup-selector-model-wrapper {
    display: none;
}

.spreader-popup-helper {
    display: none;
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
    padding: 10px;
    text-align: center;
    font-size: 16px;
}
/**
 * End popup spreader selector
 **/

/**
 * Logbook start
 **/
.formInputError {
    border-color: red;
    border-style: solid;
}

#log-list-hours,
#log-list-driving {
    width: 100%;
}

#log-list-hours th,
#log-list-driving th {
    font-weight: bold;
}

.hour-table-hours,
.driving-table-kms {
    width: 15%;
}

.hour-table-notes,
.driving-table-address {
    text-align: left;
}

.driving-form-left {
    width: 49%;
    float: left;
}

.driving-form-right {
    width: 49%;
    float: right;
}

.driving-form-left > input,
.driving-form-right > input {
    width: 100%;
}
/**
 * Logbook end
 **/

/**
 * Production start
 **/
table.assembly-spreader,
table.assembly {
    width: 100%;
}

table.assembly tr.installed {
    color: green;
}

table.assembly tr.uninstalled {
    color: red;
}

table.assembly tr.disabled {
    color: grey;
}

table.assembly td.assembly-name,
table.assembly-spreader td.spr-value {
    text-align: left;
}

table.assembly td.serial,
table.assembly-spreader td.spr-label {
    text-align: right;
}

#barcode-input,
#prod-barcode-input {
    width: 90%;
    height: 40px;
    text-align: center;
    font-size: 24px;
}

ul#multi-list {
    padding: 0px;
    margin: 0px;
    list-style: none;
}

ul#multi-list > li {
    padding: 10px 0px;
}

select.multi-select {
    width: 100%;
    padding: 5px 10px;
    text-align: center;
    font-size: 20px
}
/**
 * Production end
 **/

/**
 * Miscellaneous start
 **/
hr {
    border: none;
    height: 2px;
    color: #003366;
    background-color: #003366;
    margin: 10px 0px;
    width: 100%;
    clear: both;
}

.wsdAlignLeft,
.wsdAlignLeft input[type="text"],
.wsdAlignLeft textarea,
.wsdAlignLeft label,
.wsdAlignLeft p {
    text-align: left !important;
}

.wsdPadTop {
    padding-top: 0.8em;
}

.highlight {
    background: #e6f6ff;
    width: 100%;
    overflow: hidden;
}

.highlight.current {
    background: #003366;
}

.highlight.current a.wsdRMAlink {
    color: #FFFFFF;
}

.highlight.highlight-green {
    background: #badbcc;
    color: #0f5132;
}

.highlight.highlight-green a {
    color: #0f5132;
}

.highlight.highlight-yellow {
    background: #ffecb5;
    color: #664d03;
}

.highlight.highlight-yellow a {
    color: #664d03;
}

.highlight.highlight-red {
    background: #f8d7da;
    color: #58151c;
}

.highlight.highlight-red a {
    color: #58151c;
}

.highlight.highlight-grey {
    background: #eeeeee;
}

a.wsdRMAlink,
p.wsdRMAlink {
    display: block;
    font-size: 26px;
    line-height: 26px;
    font-weight: bold;
    padding: 5px 10px;
    margin: 0;
    color: #003366;
}

p.stocktxt {
    display: block;
    font-size: 19px;
    line-height: 19px;
    padding: 0;
    margin: 0;
}

th.stocktxt {
    font-size: 19px;
    line-height: 19px;
}

ul.simple {
    padding: 0;
    margin: 0;
    list-style:none;
}

input[type="checkbox"] {

}

select#supplier,
select#status,
select#machinetype,
select#machinepark,
select#amwFunc,
input#amwData {
    width: 300px;
    height: 35px;
    font-size: 20px;
    font-weight: bold;
}

input#query {
    padding: .4em 1em;
    width: 300px;
    text-align: center;
}

select#amwFunc,
input#amwData {
    margin-bottom: 15px;
}

tr.highlightScrap,
div.highlightScrap {
    background: #FF9797;
}

tr.highlightScrap .wsdRMAlink {
    color:#B40404;
}

tr.highlightRej,
div.highlightRej {
    background: #FFF7B7;
}

tr.highlightRej .wsdRMAlink {
    color:#FFB60B;
}

div.file-delete-div {
    padding: 0;
    width: 20px;
    float: right;
}

div.file-delete-div img {
    cursor: pointer;
}

div.thread_edit img {
    cursor: pointer;
}

ul#xtra_product_list {
    margin: 0;
    padding: 0;
    text-align: left;
}

ul#xtra_product_list > li:hover {
    cursor: pointer;
    background-color: #ffaaaa;
}

.xtra-product-amount {
    margin-right: 6px;
}

pre#amwOutput {
    padding: 10px;
    text-align: left;
    border-radius: 4px;
    background-color: #eeeeee;
}

.clearfix {
    width: 100%;
    display: block;
    height: 1px;
    clear: both;
}

/**
 * Miscellaneous end
 **/
