:root {
    --bs-primary: #FFCD00;
}

.navbar {
    background: #FFCD00;
}

.navbar-inverse {
    background-color: #165788;
    border-color: #105182;
}

.navbar-inverse .navbar-nav > li > a {
    color: #FFF;
}

.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
    color: #fff;
    background-color: #105182;
}

.navbar-brand {
    background-image: url('/Images/itclogistics.png');
    height: 50px;
    width: 250px;
    background-size: contain;
    background-repeat: no-repeat;
}

.navbar-inverse .navbar-toggle {
    border-color: #004070;
}


@media (max-width: 767px) {
    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
        color: #fff;
    }
}

.badge.red {
    background-color: #FF0000;
}


/* DATA TABLE */
.data-table {
    width: 100%;
    border: 1px solid #EEE;
    border-collapse: collapse;
    border-spacing: 0;
    empty-cells: show;
}

.data-table th {
    font-weight: bold;
    padding: 3px 8px;
    white-space: nowrap;
    vertical-align: middle;
}

.data-table td {
    padding: 3px 8px;
}

.data-table th, .data-table td {
    border-bottom: 1px solid #EEE;
    border-right: 1px solid #EEE;
}

.data-table .odd {
}

.data-table .even {
    background-color: #F6F6F6;
}


.panel.focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}


.a-left {
    text-align: left !important;
}

.a-center {
    text-align: center !important;
}

.a-right {
    text-align: right !important;
}

.form-group-hidden {
    margin-bottom: 15px;
    visibility: collapse;
}

.animate {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.table > tbody > tr:first-child > td, .table > tbody > tr:first-child > th {
    border-top: 0;
}

.table-nonfluid {
    width: auto;
}

body {
    background-color: #EEE;
}

.main.container {
    background-color: #FFF;
    padding: 20px;
}

@media (max-width: 768px) {
    .main.container {
        padding: 5px;
    }
}

@media only screen and (max-width: 800px) {

    /* Force table to not be like tables anymore */
    table.table-responsive
    .table-responsive thead,
    .table-responsive tbody,
    .table-responsive th,
    .table-responsive td,
    .table-responsive tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .table-responsive thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .table-responsive tr {
        border: 1px solid #ccc;
    }

    .table-responsive td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align: left;
    }

    .table-responsive td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
    }

    /*
	Label the data
	*/
    .table-responsive td:before {
        content: attr(data-title);
    }
}


.navbar-nav .open .dropdown-menu > li > a {
    line-height: 30px;
}

/* Todo */

.todo-list .actionlink a {
    min-width: 80px;
}

/* Bootstrap fix */
.panel-heading .pull-right.buttons-sm {
    margin-top: -20px;
}

.JournalRowLink {
    border-bottom: 1px dotted;
    font-weight: bold;
}

.JournalRowLink:hover,
.JournalRowLink:focus {
    text-decoration: none;
}

tr.clickable {
    cursor: pointer;
}

tr.isPrimaryBin {
    cursor: not-allowed;
}

tr.isPrimaryBin td {
    background-color: #f2dede;
}


.pressdimension-table .print {
    background-color: #EEE;
}


@media print {

    :root {
        --bs-body-font-size: 0.8rem;
    }

    .main.container {
        max-width: 100%;
        padding: 0 10px;
    }

    .main.container .card-body {
        padding: 0;
    }

    .main.container .card-body .table {
        margin-bottom: 0;
    }

    .main.container .card-body .table tr:last-of-type th,
    .main.container .card-body .table tr:last-of-type td {
        border-bottom: 0;
    }

    .col-md-9 {
        width: 100%;
    }

    #print-overlay {
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        margin-left: auto;
        margin-right: auto;
        font-size: 40pt;
        opacity: 0.1;
        -ms-transform: rotate(30deg); /* IE 9 */
        -webkit-transform: rotate(30deg); /* Chrome, Safari, Opera */
        transform: rotate(30deg);
    }
}

.pressdimension label {
    cursor: pointer;
}

.pressdimension .box {
    padding: 10px;
    border: 2px solid #CCC;
    margin-bottom: 10px;
}

.pressdimension table td {
    text-align: right !important;
}

.pressdimension.print .box {
    border: 2px solid #39F;
}



.spin {
    -webkit-animation: spin .5s infinite linear;
    -moz-animation: spin .5s infinite linear;
    -o-animation: spin .5s infinite linear;
    animation: spin .5s infinite linear;
    -webkit-transform-origin: 50% 58%;
    transform-origin: 50% 58%;
    -ms-transform-origin: 50% 58%; /* IE 9 */
}

@-moz-keyframes spin {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


.dropdown-menu li a i {
    width: 20px;
    margin-right: 5px;
}

#translation-table td {
    word-break: break-all;
}