﻿/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 59px; /* size of header */
    min-height: 100vh;
    position: relative;
    padding-bottom: 100px;
    color: #3d3c3f;
    font-family: 'Open Sans';
    font-size: 14px;
    line-height: 18px;
}

h1 {
    font-weight: bold;
}

a,
#selectableContractRow tr td,
.openBootstrapModalUpdateAllocation td,
.openBootstrapModalManualUpsert td,
.table-clickable td {
    cursor: pointer;
}

.table-wrap,
.max-width {
    max-width: none;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #d1f8d1;
}

/*
 * Global add-ons
 */

.table-heading-wrap {
    background: #228574;
    color: white;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 12px 10px;
}

.deck .table-heading-wrap {
    background: #228574 !important;
}

.upper-deck .table-heading-wrap {
    background: #226585 !important;
}

.lower-deck .table-heading-wrap {
    background: #226585 !important;
}

.table-heading-wrap .heading {
    font-size: 14px;
    font-weight: 700;
    border-radius: 5px 5px 0 0;
    margin: 0;
    color: white;
    display: inline-block;
}

.table-heading-wrap .nav-pills {
    margin-top: -6px;
}

.table-heading-wrap .nav-pills a,
.table-heading-wrap .nav-pills a:hover {
    background: white;
    color: #3d3c3f;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-left: 5px;
    font-weight: 600;
}

.table-wrap {
    margin-top: 25px;
}

.table-wrap .list-inline {
    margin-bottom: 0;
}

.modal-dialog,
.form-horizontal {
    width: 725px;
}

.auto-width .modal-dialog {
    max-width: 100%;
    width: auto !important;
    display: inline-block;
    min-width: 725px;
}

.auto-width.modal {
    text-align: center;
}

.auto-width .modal-dialog .modal-content {
    text-align: left;
}

.table-wrap table thead {
    background: #2aa38f;
    color: white;
}

.table-wrap table thead th:first-child {
    -webkit-border-top-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    border-top-left-radius: 5px;
}

.table-wrap table thead th:last-child {
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topright: 5px;
    border-top-right-radius: 5px;
}

.table-heading-wrap + table thead th:first-child {
    -webkit-border-top-left-radius: 0px;
    -moz-border-radius-topleft: 0px;
    border-top-left-radius: 0px;
}

.table-heading-wrap + table thead th:last-child {
    -webkit-border-top-right-radius: 0px;
    -moz-border-radius-topright: 0px;
    border-top-right-radius: 0px;
}

.table tr.hoverableRow {
    cursor: pointer;
}

.table tr.hoverableRow:hover {
    /*opacity: 0.8;*/
}

table > tbody > tr.clickableRow td {
    height: 50px;
    vertical-align: middle;
}

.loadProgressTileBody table tfoot {
    background: #696969;
    color: #fff;
}

.loadProgressTileBody table {
    margin-bottom: 0;
}

.stowPlanTileBody.loadProgressTileBody {
    padding-bottom: 0;
}

.stowPlanTileBody.loadProgressTileBody tr:last-of-type > td:first-of-type {
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-left-radius: 5px;
}

.stowPlanTileBody.loadProgressTileBody tr:last-of-type > td:last-of-type {
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    border-bottom-right-radius: 5px;
}

.stowPlanTileBody.loadProgressTileBody thead th {
    font-weight: 700;
    border-bottom: 0;
    white-space: nowrap;
}

.stowPlanTileBody table {
    margin-bottom: 0;
}

.loadProgressTileBody.stowPlanTileBody .table > tbody > tr.row-bg-green td {
    background: #c5e2c4;
}

.loadProgressTileBody.stowPlanTileBody .table > tbody > tr.row-bg-gray td {
    background: #eee;
}

.loadProgressTileBody.stowPlanTileBody .table > tbody > tr.row-bg-red td {
    background: #e64f4f;
}

.loadProgressTileBody.stowPlanTileBody .table > tbody > tr.row-bg-orange td {
    background: #f0ad4e;
}

.loadProgressTileBody.stowPlanTileBody .table > tbody > tr > td,
.loadProgressTileBody.stowPlanTileBody .table > tbody > tr > td:first-child {
    text-align: left;
    padding: 4px 8px;
}

.stowPlanTileBody .table > tbody > tr > td.empty,
.loadProgressTileBody.stowPlanTileBody .table > tbody > tr > td.empty {
    padding: 25px 8px;
    text-align: center;
}

.loadProgressTileBody.stowPlanTileBody .table > tbody > tr > td > span,
.loadProgressTileBody.stowPlanTileBody
    .table
    > tbody
    > tr
    > td:not(.empty)
    strong {
    display: block;
    white-space: nowrap;
}

.loadProgressTileBody.stowPlanTileBody
    .table
    > tbody
    > tr
    > td
    span.square-icon-load {
    width: 35px;
    display: inline-block;
    line-height: 13px;
    padding-left: 0px;
}

.loadProgressTileBody.stowPlanTileBody .table > tbody > tr > td span.glyphicon {
    display: inline-block;
    width: 15px;
}

.floating {
    -webkit-animation: isl-float 2s infinite linear;
    animation: isl-float 2s infinite linear;
}

@-webkit-keyframes isl-float {
    0% {
        transform: translatey(3px);
    }
    50% {
        transform: translatey(-3px);
    }
    100% {
        transform: translatey(3px);
    }
}
@keyframes isl-float {
    0% {
        transform: translatey(3px);
    }
    50% {
        transform: translatey(-3px);
    }
    100% {
        transform: translatey(3px);
    }
}

.loadProgressTileBody.stowPlanTileBody .table > tbody > tr > td span:after,
.loadProgressTileBody.stowPlanTileBody .table > tbody > tr > td strong:after {
    display: block;
    content: ' ';
}

.loadProgressTileBody .table > tfoot > tr > td {
    border-top: 0;
}

.loadProgressTileBody .table > tfoot > tr:first-of-type > td {
    padding-bottom: 2px;
}
.loadProgressTileBody .table > tfoot > tr:last-of-type > td {
    padding-top: 2px;
}

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

table[data-sortable] th {
    position: relative;
}

table[data-sortable] th:after {
    position: absolute;
    float: left;
    margin-right: 0;
    left: -10px;
    margin-left: 0;
}

.square-icon {
    display: inline-block;
    border: 1px solid transparent;
    color: white;
}
.square-icon--White {
    border: 1px solid gray;
    color: black;
}

.square-icon--Yellow {
    color: black;
}

.square-icon--White:after {
    content: 'WHI' !important;
}

.square-icon--Black:after {
    content: 'BLA' !important;
}

.square-icon--Blue:after {
    content: 'BLU' !important;
}

.square-icon--Green:after {
    content: 'GRE' !important;
}

.square-icon--Red:after {
    content: 'RED' !important;
}
.square-icon--Purple:after {
    content: 'PUR' !important;
}
.square-icon--Pink:after {
    content: 'PNK' !important;
}
.square-icon--Yellow:after {
    content: 'YLW' !important;
}
.square-icon--Orange:after {
    content: 'ORG' !important;
}

/*
 * Header
 */

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar {
    margin-bottom: 0;
}

.navbar-isl {
    background-color: #004237;
    height: 59px;
}

.navbar-fixed-top {
    border: 0;
}

.navbar-isl .navbar-brand span {
    background-image: url('../images/ISL_Logo.png');
    background-repeat: no-repeat;
    background-position: 15px 5px;
    font: 18px/24px 'Open Sans';
    color: white;
    display: inline-block;
    padding: 15px 15px 15px 80px;
}

.navbar-brand {
    padding: 0;
}

.navbar .dropdown-menu a {
    font-weight: 600;
    margin: 0px 5px;
    padding: 10px 15px;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    background: #2aa38f;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
    display: none;
    max-width: 190px;
    box-shadow: 2px 0 4px 0 rgba(61, 76, 73, 0.34);
}
@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        top: 51px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        background-color: #f5f5f5;
        border-right: 1px solid #eee;
    }
}

/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}

.sidebar h4 {
    font-weight: bold;
    color: #004237;
}

.nav-sidebar > li > a {
    padding-right: 20px;
    padding-left: 20px;
}

.navbar .nav.navbar-nav > li > a,
.navbar .nav.navbar-nav > .active > a,
.navbar .nav.navbar-nav > .active > a:hover,
.navbar .nav.navbar-nav > .active > a:focus,
.navbar .nav.navbar-nav > li > button,
.navbar .nav.navbar-nav > li > .navbar-non-link {
    color: white;
    background: transparent;
    border-bottom: 0;
    padding-top: 17px;
    padding-bottom: 17px;
    font: 16px/22px 'Open Sans';
    font-weight: 600;
    margin: 0;
    display: inline-block;
}

.navbar .nav.navbar-nav .glyphicon {
    top: 0px;
    font-size: 13px;
}

.navbar .nav.navbar-nav > li > button.navbar-link {
    margin-top: -1px;
}

.btn.navbar-non-link {
    cursor: default;
}

@media (min-width: 768px) {
    .navbar-right {
        margin-right: 15px;
    }
    .container-fluid > .navbar-header {
        margin-left: 10px;
    }
}

/*
 * Main content
 */

.main {
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
}
.main .page-header {
    margin-top: 0;
}

.page-header-wrap {
    padding-top: 30px;
}

.page-header-wrap h1 {
    display: inline-block;
    margin-top: 0px;
}

.page-header-wrap .underline-link {
    vertical-align: top;
    margin-top: 12px;
    margin-left: 25px;
}

.page-header-wrap .nav-pills .btn,
.page-header-wrap .nav-pills .btn:hover,
.page-header-wrap .nav-pills .btn:active {
    background: #3d3c3f;
    color: white;
    font-weight: 600;
    margin-left: 5px;
}

.underline-link {
    display: inline-block;
    font-size: 16px;
    font-weight: 800;
    border-bottom: 2px solid transparent;
    color: #3d3c3f;
    text-decoration: none !important;
}

.underline-link:hover {
    color: #3d3c3f;
    border-bottom: 2px solid #3d3c3f;
    text-decoration: none !important;
}

.log-upload-wrap .col-xs-4 {
    max-width: 190px;
    font-size: 14px;
}

.log-upload-wrap .col-xs-4 .underline-link {
    font-size: 14px;
}

.ship-summary-label {
    font-weight: 600;
    padding-bottom: 5px;
}

.ship-summary-value .underline-link {
    font-weight: 700;
    font-size: 24px;
    padding-bottom: 3px;
    line-height: 28px;
}

.photoreport-summary-label {
    font-weight: 600;
    padding-bottom: 5px;
}

.photoreport-summary-value .underline-link {
    font-weight: 700;
    font-size: 24px;
    padding-bottom: 3px;
}

/*
 * Placeholder dashboard ideas
 */

.placeholders {
    margin-bottom: 30px;
    text-align: center;
}
.placeholders h4 {
    margin-bottom: 0;
}
.placeholder {
    margin-bottom: 20px;
}
.placeholder img {
    display: inline-block;
    border-radius: 50%;
}

footer {
    min-height: 50px;
    padding: 15px 30px;
    background: #004237;
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
}

/*General*/
.spacer {
    clear: both;
    line-height: 20px;
}

.readyToLoad {
    background-color: #c5e2c4;
}

.table > tbody > tr > td.active,
.table > tbody > tr.active > td,
.table > tbody > tr.active:hover > td {
    background-color: #3d3c3f;
    color: white;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus {
    background: #3d3c3f;
    border-color: #3d3c3f !important;
}

.btn-inverse,
.btn-inverse:hover,
.btn-inverse:active,
.btn-inverse:focus,
.btn-inverse.disabled:hover,
.btn-inverse[disabled]:hover,
fieldset[disabled] .btn-inverse:hover,
.btn-inverse.disabled:focus,
.btn-inverse[disabled]:focus,
fieldset[disabled] .btn-inverse:focus,
.btn-inverse.disabled.focus,
.btn-inverse[disabled].focus,
fieldset[disabled] .btn-inverse.focus {
    color: #3d3c3f;
    background: #ffffff;
    border-color: #3d3c3f !important;
}

.export-page-wrap {
    max-width: 500px;
    text-align: center;
    margin: auto;
    margin-top: 40px;
}

.striped-separator {
    margin: 10px -20px 20px -20px;
    width: auto;
    min-width: 100%;
    min-height: 50px;
    background: -webkit-repeating-linear-gradient(
        140deg,
        #d0d0d0,
        #d0d0d0 1px,
        #f0f0f0 1px,
        #f0f0f0 7px
    );
    background: repeating-linear-gradient(
        140deg,
        #d0d0d0,
        #d0d0d0 1px,
        #f0f0f0 1px,
        #f0f0f0 7px
    );
    position: relative;
    z-index: 10;
}

.striped-separator .arrows {
    position: relative;
    top: 8px;
    width: 15px;
    height: 35px;
    left: 30px;
    color: #d0d0d0;
    background: #f0f0f0;
}

.striped-separator .arrows .glyphicon-arrow-down {
    position: absolute;
    top: 20px;
}

.striped-separator .arrows .glyphicon-arrow-up {
    position: absolute;
    top: 3px;
}

.striped-separator .label {
    position: absolute;
    color: #d0d0d0;
    background: #f0f0f0;
    top: 18px;
    left: 50px;
    font-size: 15px;
    padding: 0;
}

.progress {
    height: 4px;
    border-radius: 2px;
}

.label-dark {
    background-color: #000000;
}

.label-brand {
    background-color: #228574;
}

.label-recount {
    background-color: #f44336;
}

/* .top-bottom-layout */

.top-bottom-layout .deck-row .col-xs-2-3 .stowPlanTileBody,
.top-bottom-layout .hold-row .col-xs-2-3 .stowPlanTileBody {
    min-height: 0;
}

.top-bottom-layout .deck-row .col-xs-2-3,
.top-bottom-layout .hold-row .col-xs-2-3 {
    display: inline-block;
    float: none;
    padding: 5px 0;
    width: 19.75%;
}

.top-bottom-layout .deck-row.small .col-xs-2-3,
.top-bottom-layout .hold-row.small .col-xs-2-3 {
    display: inline-block;
    float: none;
    padding: 5px 0;
    width: 16.4%;
}

.top-bottom-layout .deck-row .col-xs-2-3 {
    vertical-align: bottom;
}

.top-bottom-layout .hold-row .col-xs-2-3 {
    vertical-align: bottom;
}

.modal-body-wrap {
    max-height: 60vh;
    overflow-y: auto;
}

h3,
.h3 {
    font-weight: 700;
    font-size: 24px;
}

#modalPartial h3:first-child {
    margin-top: 0px;
}

.allocate-hatch-heading {
    font-weight: 900;
}
#lotAllocationTableShowOverallocated {
    margin-right: 5px;
    top: 1px;
    position: relative;
}

#fixed-loader {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
}

#fixed-loader .progress {
    background: transparent;
}

#fixed-loader .progress-bar {
    background-color: #2aa38f;
    -webkit-transition: width 0.3s ease;
    -o-transition: width 0.3s ease;
    transition: width 0.3s ease;
}

.modal-loader-wrap .loader-icon {
    font-size: 30px;
}

.loader-icon {
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
    font-size: 13px;
    margin-left: 5px;
}

.warning-message-body {
    display: inline-flex;
    padding-bottom: 20px;
}

.warning-message-body p {
    margin-left: 20px;
}

.warning-icon {
    font-size: 25px;
    color: #ffe07c;
}

div.ui-grid-cell input.ng-valid {
    border: 1px solid transparent;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d4d4d4;
}

div.ui-grid-cell input {
    height: 100%;
    padding: 2px 4px;
}

.ui-grid-top-panel {
    background: #2aa38f;
    color: white;
    border: none;
}
.ui-grid-top-panel span.ui-grid-header-cell-label {
    color: white;
}

.table-completed-ships-wrapper {
    height: 500px;
    overflow-y: scroll;
}

.table-completed-ships tr.ui-grid-top-panel:hover {
    background: #2aa38f !important;
}

.table-completed-ships {
    margin-bottom: 0 !important;
}

.table-completed-ships thead th {
    position: relative;
}

.table-completed-ships thead tr {
    border: none;
}

.table-completed-ships tbody tr td {
    border: none;
    border-left: solid 1px #d9d9d9;
    padding: 5px;
}

.table-completed-ships tr td:first-child {
    border-left: none;
}

.table-completed-ships tr.td-even td {
    background: #f3f3f3;
}

.table-completed-ships tr:hover > td {
    background: #d5eaee;
}

.table-completed-ships tr td a:hover {
    text-decoration: none;
    background: #d5eaee;
}

.table-completed-ships__caption {
    padding-bottom: 8px;
}

.table-completed-ships__icon-clear {
    cursor: pointer;
    color: #000;
    display: none;
    line-height: 32px;
    margin-top: -16px;
    opacity: 0.66;
    position: absolute;
    right: 10px;
    top: 50px;
}

.table-completed-ships__caption--view {
    width: 175px;
}

.table-completed-ships__sortable {
    align-items: center;
    cursor: pointer;
    display: grid;
    user-select: none;
    gap: 10px;
    grid-template-columns: auto 1fr;
    position: relative;
}

.table-completed-ships__sortable--desc::after,
.table-completed-ships__sortable--asc::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    display: block;
    border-top: 5px solid #000;
}

.table-completed-ships__sortable--asc::after {
    border-top: none;
    border-bottom: 5px solid #000;
}

.table-completed-ships thead.ui-grid-top-panel--top {
    border: none;
    position: sticky;
    top: 0;
}

.table-completed-ships__footer {
    background: #f9f9f9;
    border-top: solid 1px #d9d9d9;
    padding: 10px 20px;
}

#crud-grid-wrapper .btn {
    font-weight: 600;
}

#crud-grid-wrapper div.ui-grid-cell input.ng-invalid {
    background: white;
    border: 0;
    border-bottom: 1px solid red;
    padding-top: 8px;
}

#crud-grid-wrapper div.ui-grid-cell input.ng-valid {
    padding-top: 5px;
    padding-bottom: 4px;
}

#crud-grid-wrapper .ui-grid-cell-contents.ng-scope {
    border-bottom: 1px solid #d4d4d4;
}

/*#crud-grid-wrapper div.ui-grid-cell input.ng-invalid::-webkit-input-placeholder {
    color: red;
    opacity: 1;
    }
#crud-grid-wrapper div.ui-grid-cell input.ng-invalid:-moz-placeholder{
    color: red;
    opacity: 1;
}
#crud-grid-wrapper div.ui-grid-cell input.ng-invalid::-moz-placeholder{
    color: red;
    opacity: 1;
}
#crud-grid-wrapper div.ui-grid-cell input.ng-invalid:-ms-input-placeholder{ 
    color: red;
    opacity: 1;
}

#crud-grid-wrapper div.ui-grid-cell input.ng-invalid:after{
    content: '*';
    color: red;
}*/
#complete-crud-grid-wrapper div.ui-grid {
    border: 0px solid #d4d4d4;
}

#complete-crud-grid-wrapper div.ui-grid-viewport {
    overflow-x: hidden !important;
}

.modal-admin {
    width: 98%;
    margin: 25px auto;
}

@-webkit-keyframes fa-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}
@keyframes fa-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

.dz-complete:not(.dz-error) .dz-progress {
    opacity: 1 !important;
    background: transparent;
}

.dz-complete:not(.dz-error) .dz-progress .dz-upload {
    opacity: 1 !important;
    text-align: center;
    background: transparent;
    display: block;
}

.dz-complete:not(.dz-error) .dz-progress .dz-upload:before {
    content: '\e031';
    font-family: 'Glyphicons Halflings';
    display: inline-block;
    height: 18px;
    width: 18px !important;
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;

    font-size: 16px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.error-page-wrap {
    max-width: 800px;
    margin: auto;
    padding: 15px;
    padding-top: 100px;
}

.error-page-wrap h2 {
    margin-top: 0;
}

h1 .sub-title {
    font-weight: normal;
    font-size: 30px;
}

tr .hatch-tooltip {
    z-index: 100;
    display: none;
    padding: 14px 14px;
    margin-top: 0px;
    margin-left: 0px;
    line-height: 16px;
    min-width: 210px;
}

.stowPlanTileBody tr .hatch-tooltip {
    margin-top: 35px;
    margin-left: -30px;
}

.loadProgressTileBody tr .hatch-tooltip {
    margin-top: 13px;
    margin-left: -10px;
}

tr:hover .hatch-tooltip {
    display: inline;
    position: absolute;
    color: #111;
    border: 1px solid #d0d0d0;
    background: white;
    text-align: left;
}

tr .hatch-tooltip li {
    padding: 3px 0px;
}

tr .hatch-tooltip span {
    display: inline-block;
    font-weight: bold;
}

#hatchlayout .panel .panel-body {
    padding: 15px 0px 15px;
}

#hatchlayout .panel-group .panel {
    margin-bottom: 0;
    border-radius: 4px;
}

#hatchlayout .panel-default {
    border-color: #ddd;
}

#hatchlayout .panel-default {
    border: none;
}

#hatchlayout .panel-default > .panel-heading {
    color: #333;
    background-color: #e8f2f1;
    border-bottom: 1px solid #d4d4d4;
    cursor: pointer;
}

#hatchlayout .panel-title {
    font-size: 22px;
}

#hatchlayout .panel-title i {
    float: right;
    font-size: 14px;
    padding-top: 5px;
}

#hatchlayout .panel-group {
    margin-bottom: 10px;
}

.loadProgressTileBody.stowPlanTileBody
    .table
    > tbody
    > tr
    > td
    > span.identity {
    display: block;
    white-space: normal;
    max-width: 130px;
}

.cargo-loadedtodate .table th,
.cargo-loadedtodate .table td {
    min-width: 25px;
    padding-left: 2px;
    padding-right: 2px;
}

.cargo-loadedtodate .table td ul.hatch-title li,
.cargo-loadedtodate-summary .table td ul.hatch-title li {
    font-size: 12px;
    font-weight: bold;
    height: 20px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.cargo-loadedtodate .table td ul.hatch-title li.pieceCount {
    font-weight: normal;
}

.cargo-loadedtodate-summary .table th,
.cargo-loadedtodate-summary .table td {
    min-width: 25px;
}

.cargo-loadedtodate .table th.deck-title-header,
.cargo-loadedtodate-summary .table th.deck-title-header {
    min-width: 95px;
}

.cargo-loadedtodate .table th.deck-value-header {
    word-break: break-word;
}

#ship-edit .text-right {
    float: right;
}

#ship-edit .doc-link {
    margin-top: 5px;
}

.loadProgressTileBody.stowPlanTileBody .table-cargo > thead > tr > th,
.loadProgressTileBody.stowPlanTileBody .table-cargo > tbody > tr > td {
    padding-left: 2px;
    padding-right: 3px;
}

.loadProgressTileBody.stowPlanTileBody
    .table-cargo
    > thead
    > tr
    > th:first-child,
.loadProgressTileBody.stowPlanTileBody
    .table-cargo
    > tbody
    > tr
    > td:first-child {
    padding-left: 8px;
}

.stowPlanTileBody .table-cargo > tbody > tr > td,
.stowPlanTileBody .table-cargo > tbody > tr > td:last-child {
    padding-left: 2px;
    padding-right: 2px;
}

.photo-date label {
    padding-top: 12px;
    font-weight: normal;
}

.contract-warning {
    border-radius: 5px;
    border: solid 1px #d9d9d9;
    box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.2);
    display: none;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.contract-warning .contract-warning__overlay {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
.contract-warning .contract-warning__content {
    background: #f2dede;
    border-radius: 5px;
    border: solid 1px #d9d9d9;
    bottom: 20px;
    box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.2);
    color: #a94442;
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
    left: 30px;
    padding: 32px;
    position: absolute;
    text-align: center;
    width: calc(100% - 60px);
}

.contract-warning .contract-warning__buttons {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(2, 1fr);
    justify-content: end;
    width: 100%;
}

.contract-warning .contract-warning__buttons button {
    max-width: 60px;
}

.contract-warning .contract-warning__buttons .contract-warning__buttons__left {
    text-align: right;
}

.contract-warning .contract-warning__buttons .contract-warning__buttons__right {
    text-align: left;
}

.contract-warning--visible {
    display: block;
}
