﻿/* Global */

p.errorMsg {
    font-size: 18px;
    color: red;
    font-style: oblique;
}

p.breadcrumbs a {
    text-decoration: underline;
    color: #1855d4;
}

.adminFilterForBreakdown {
    border: 1px solid black;
    box-shadow: 0 4px 2px -2px gray;
    display: flex;
    flex-flow: column;
}

.palletEDD {
    width: 100%;
}

.palletStatus {
    width: 100%;
}

span.code {
    font-size: 14px;
    color: black;
}

span.info, div#groupInfo a {
    font-size: 14px;
    font-weight: bold;
}

a:hover {
    color: blue;
    background-color: transparent;
}

body {
    border-top: 0px;
}

p.overflowPossible {
    overflow-x: hidden;
    overflow-y: auto;
}

.HubHeader {
    position: relative;
    align-items:center;
    border-bottom: 1px solid black;
    width: 100%;
    height: 100%;
}

/* Navigation */
ul#menu li#login {
    padding-left: 25px;
}

/* Admin */

ul#masterdata {
    list-style-type: none;
    margin: 0;
    margin-top: 5px;
    margin-bottom: 15px;
    padding: 0;
    overflow: hidden;
    text-decoration: none;
}

    ul#masterdata li {
        float: left;
        width: 25%;
    }

        ul#masterdata li a {
            display: block;
            color: #333;
            background-color: #d3dce0;
            border: 1px solid #787878;
            font-size: 1.2em;
            font-weight: 600;
            text-align: center;
            padding: 5px 10px;
            text-decoration: none;
        }

.overall-triptable-container {
    
}

div#adminFilterBar label {
    float: left;
    width: 130px;
    padding-top: 8px;
}

div#adminFilterBar input {
    float: left;
    width: 130px;
    margin-right: 15px;
}


div#adminFilterBar select {
    float: left;
    width: 130px;
    height: 30px;
    padding: 5px;
    margin-top: 5px;
    margin-right: 15px;
    margin-bottom: 6px;
}

div#adminFilterBar input#submitButton {
    float: left;
    width: 77px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-right: 15px;
}

div.fakeButton a {
    float: right;
    width: 25%;
    height: 18px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 1px 7px 5px 7px;
    text-align: center;
    color: #333;
    background-color: #d3dce0;
    border: 1px solid #787878;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
}

/* Editforms */
div.editForm {
    margin-top: 10px;
}

    div.editForm .row {
        float: left;
        width: 100%;
        height: 30px;
        margin-bottom: 8px;
    }

    div.editForm select {
        width: 30%;
        height: 100%;
    }

    div.editForm input[type="checkbox"] {
        display: block;
    }

    div.editForm label {
        float: left;
        width: 25%;
        padding-top: 5px;
    }

    div.editForm input {
        float: left;
        width: 30%;
        height: 75%;
        margin: 0px;
    }

        div.editForm input[type="submit"] {
            margin-left: 25%;
            width: 30%;
            padding: 2px 5px;
        }


div.CbxArea {
    margin-left: 59%;
    display: flex;
    max-width: 100px !important;
    position: relative;
    padding-left: 8px;
    padding-bottom: 4px;
    border: 0.5px solid;
    border-color: black;
    flex-flow: column;
}

div.saveChangesArea {
    margin-left: 59%;
    display: flex;
    max-width: 450px !important;
    position: relative;
    padding-left: 8px;
    padding-bottom: 4px;
    border: 0.5px solid;
    border-color: black;
    flex-flow: column;
}



.ChangeAllLabel {
    max-width: 200px;
}

h3.childrenTitle {
    float: left;
    width: 50%;
    margin-top: 7px;
}

/* Trips */

button#toggleFilter {
    font-size: 1.0em;
}

div.hidden {
    display: none;
}

#filterBar {
    height: 215px;
    display: flex;
    flex-flow: column;
    position: relative;
    width: 100%;
}

.mainfilterWrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    height: 70%;
    border: 2px solid black;
    padding: 10px;
    justify-content: space-between
}

.tripWrapper {
    width: 30%;
    position: relative;
    display: inline-block;
    height: 30%;
}

.userWrapper {
    width: 25%;
    position: relative;
    display: inline-block;
    height: 30%;
}

.dateWrapper {
    width: 30%;
    position: relative;
    display: inline-block;
    height: 30%;
}

#inputDate {
    position: relative;
    width: 60%;
}

#dateLabel {
    position: relative;
    width: 20%;
}

.depotWrapper {
    width: 30%;
    position: relative;
    display: inline-block;
    height: 30%;
}

.hasArticleWrapper {
    width: 25%;
    position: relative;
    display: inline-block;
    height: 30%;
    justify-content: center;
}

.statusWrapper {
    width: 30%;
    position: relative;
    display: inline-block;
    height: 30%;
}

.submitbuttonMainWrapper {
    height: 30%;
    position: relative;
    width: 100%;
}

.searchButtonWrapper {
    height: 90%;
    position: relative;
    width: 30%;
    justify-content: center;
}

div#filterBar label {
    float: left;
    width: 30%;
    padding-top: 8px;
    font-size: 18px;
}

div#filterBar input {
    float: left;
    width: 60%;
}


    div#filterBar input[type="checkbox"] {
        float: left;
        width: 15%;
        margin-top: 15px;
    }

div#filterBar select {
    float: left;
    width: 64%;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 5px;
}

div#filterBar input#submitButton {
    float: left;
    padding-top: 5px;
    padding-bottom: 5px;
}

div#filterBar div#showOptions label,
div#filterBar div#showOptions input {
    text-align: center;
    float: left;
    width: 12%;
    margin: 0px;
}

div#filterBar div#showOptions input {
    margin-bottom: 8px;
}

div#noTrips {
    float: left;
    width: 100%;
}

th a {
    font-size: 1.1em;
    font-weight: bold;
}

/* Breadcrumbs */

div#breadCrumbs {
    width: 100%;
    float: left;
    margin-bottom: 15px;
}

    div#breadCrumbs a {
        width: 14%;
        float: left;
        background-color: #d3dce0;
        border: 1px solid #787878;
        cursor: pointer;
        font-size: 1.2em;
        font-weight: 600;
        text-decoration: none;
        text-align: center;
        padding-bottom: 2px;
    }

    div#breadCrumbs p {
        width: 2%;
        float: left;
        background-color: #d3dce0;
        border: 1px solid #787878;
        font-size: 1.2em;
        font-weight: 600;
        text-align: center;
        margin: 0px 2px 0px 2px;
        padding-bottom: 2px;
    }

        div#breadCrumbs p#curr {
            width: 11%;
        }

/* Tables */

table {
    width: 100%;
    border: 1px solid #c0c0c0;
    border-spacing: 0;
}

    table a {
        padding: 0px;
    }

    table tr {
        border-bottom: 1px solid #c0c0c0;
    }

    table th,
    table td {
        border-right: 1px solid #c0c0c0;
        padding: 3px 4px 4px;
    }

    table td {
        text-align: right;
    }

        table td.edit {
            text-align: center;
        }

div.paging {
    text-align: center;
}

    div.paging p {
        display: inline-block;
    }

        div.paging p.pageLink {
            text-decoration: underline;
        }

/* Info blocks at the top of the page */
div#infoBlock {
    width: 100%;
    float: left;
    margin-top: 10px;
}

/* Trip, Delivery, Section, Article Info */
div#editTrip,
div#editDel {
    margin-top: 15px;
}

div.fifty {
    width: 50%;
    float: left ;
}

div.hundred {
    width: 100%;
    float: left;
}


div.thirty {
    width: 30%;
    float: left;
}

div.full label {
    width: 19%;
    float: left;
    text-align: right;
}

div.full select {
    width: 25%;
    float: left;
    margin-left: 5%;
    margin-top: 2px;
    margin-bottom: 2px;
    padding: 2px;
}

div.full p,
div.fifty p,
div.thirty p {
    width: 40%;
    height: 22px;
    float: left;
    margin-left: 5%;
    margin-top: 2px;
    margin-bottom: 2px;
    padding: 2px;
}

div.fifty p,
div.thirty p {
    margin-left: 10%;
}

div.full input.submit {
    width: 25%;
    float: left;
    margin-left: 10%;
    margin-right: 0%;
    margin-top: 2px;
    margin-bottom: 2px;
    padding: 2px;
}

div.fifty label,
div.thirty label {
    width: 38%;
    float: left;
    text-align: right;
}

div.fifty input {
    width: 50%;
    float: left;
    margin-left: 10%;
    margin-top: 2px;
    margin-bottom: 2px;
    padding: 2px;
}

    div.fifty input[type='checkbox'] {
        margin-top: 7px;
        margin-bottom: 6px;
        padding: 2px;
    }

div#authorisationInfo {
    padding-top: 10px;
}

div.empty {
    height: 30px;
}

/* Error list */
div.validation-summary-errors ul {
    margin: 0px;
}

ul.errorList {
    margin-top: 5px;
}

/* Table effects */
td.clickable:hover {
    cursor: pointer;
}

table th {
    padding-left: 4px;
    padding-right: 2px;
}

/* Tooltips */
.tooltip {
    display: none;
    position: absolute;
    border: 1px solid #333;
    background-color: #161616;
    border-radius: 5px;
    padding: 5px 10px;
    color: #fff;
    font-size: 12px;
}

/* Trip Info tables */
div#tripTable {
    width: 100%;
    float: left;
    margin-top: 15px;
}

table.deliveryTable,
table.sectionTable,
table.articleTable {
    margin-top: 0px;
}

div#tripTable table.sectionsTable,
div#tripTable table.sectionTable {
    width: 95%;
    margin-left: 5%;
}

div#tripTable table.articlesTable,
div#tripTable table.articleTable {
    width: 85%;
    margin-left: 15%;
    margin-bottom: 15px;
}

div#delTable table.articlesTable,
div#delTable table.articleTable {
    width: 95%;
    margin-left: 5%;
}

/* Delivery Tables */

div.delHiddenInfo {
    display: none;
    margin-bottom: 20px;
}

    div.delHiddenInfo p {
        margin-left: 10%;
        width: 90%;
    }


th.DELno,
td.DELno {
    width: 10%;
}

th.DELname,
td.DELname {
    width: 20%;
}

th.DELaddress,
td.DELaddress {
    width: 20%;
}

th.DELstatus,
td.DELstatus {
    width: 8%;
}

th.DELedit,
td.DELedit {
    width: 4%;
}

th.DELseq,
td.DELseq {
    width: 4%;
}

th.DELarrival,
td.DELarrival {
    width: 15%;
}

th.DELarticles,
td.DELarticles {
    width: 8%;
}

th.DELtime,
td.DELtime {
    width: 15%;
}
   
/* Section Tables */

th.SECedit,
td.SECedit,
th.SECseq,
td.SECseq {
    width: 5%;
}

th.SECcode,
td.SECcode {
    width: 5%;
}

th.SECstatus,
td.SECstatus {
    width: 6%;
}

th.SECdesc,
td.SECdesc {
    width: 35%;
}

th.SECtime,
td.SECtime {
    width: 11%;
}

/* Article Tables */

th.ARTedit,
td.ARTedit,
th.ARTqty,
td.ARTqty {
    width: 7%;
}

th.ARTtype,
td.ARTtype {
    width: 5%;
}

th.ARTstatus,
td.ARTstatus {
    width: 10%;
}

th.ARTname,
td.ARTname {
    width: 35%;
}

th.ARTbarcode,
td.ARTbarcode {
    width: 20%;
}

/* Actions */
div#actions {
    width: 100%;
    float: left;
    margin-top: 20px;
}

    div#actions a {
        width: 20%;
        float: left;
        margin-top: 5px;
        background-color: #d3dce0;
        border: 1px solid #787878;
        cursor: pointer;
        padding-bottom: 2px;
        font-size: 1.2em;
        font-weight: 600;
        text-decoration: none;
        text-align: center;
    }

/* Actions Table*/

/* Photos */
div.photo {
    width: 30%;
    height: 200px;
    position: relative;
    display: inline-block;
    overflow: hidden;
}

div.signature {
    width: 30%;
    height: 200px;
    position: relative;
    display: inline-block;
    overflow: hidden;
    /*border-bottom: solid 1px black;
    border-right: solid 1px black;*/
    margin-top: 5px;
}

    div.photo img,
    div.signature img {
        width: 100%;
        max-height: 100%;
        display: block;
    }

    div.photo a,
    div.signature a {
        padding: 0px;
    }


/*Breakdown*/
.top-container-breakdown {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 150px;
}

.input-container-breakdown {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 60%;
    height: 100%;
}

.actionresult-container-breakdown {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 40%;
    height: 100%;
}

    .actionresult-container-breakdown label {
        width: 75% !important;
    }

.input-row-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 33%;
}

    .input-row-wrapper Input {
        width: 200px !important;
    }

.status-row-wrapper {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    height: 33%;
    padding: 0px;
    justify-content: space-between;
}

.status-row-status {
    position: relative;
    height: 100%;
    width: 25%;
}

    .status-row-status label {
        width: 70px !important;
        padding-top: 0px !important;
    }


.status-row-lastmodif {
    position: relative;
    height: 100%;
    width: 75%;
}

    .status-row-lastmodif label {
        padding-top: 0px !important;
    }

.button-row-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 33%
}

.lastmodif {
    width: 150px !important;
}

.floating-image-breakdown {
    position: relative;
    width: 50px;
    height: 50px;
    padding: 5px;
}
