/* Navigation */

.nav-item {
    font-weight: 600;
    /* color: #000000; */
}

.dropdown-menu {
    z-index: 1050;
}

.dropdown-menu a {
    font-weight: 400;
    font-size: 1em;
}

.arr_tablebgcolorgreen{
    background-color: lightgreen;
}

.bgcolorgrey{
    background-color: darkgray
}
.jobsummary-userdash{
    width: 100%;
    margin: 1% 1% 1% 1%;
}
.arr_tablebgcoloryellow{
    background-color: #ffc04c;
}
.arr_tablebgcolorred{
    background-color: #ff6666
}

.bgcolourlightcoral{
    background-color: lightcoral;
}

.heading403{
    color: black;
}
.tablecolumn{
    float:left;padding-top:15px;
}
.arr_recordformitem{
    width:11% !important;
}
.secondaryNav {
    border:none;
    border-radius: 0.25em;
}

.hideMeSidebar {
    background-color: #f2f2f2;
}

#etsNav {
    background: linear-gradient(90deg, rgba(255,204,0,1) 0%, rgba(255,204,0,1) 30%, rgba(255,204,0,0.65) 79%, rgba(255,204,0,0.3) 100%);
}


/* General */

body {
    font-size: 0.9em;
    line-height: 1em;
    position: relative;
    background-color: #f8f9fa;
}

hr {
    margin: 3em 0em;
}

.alert {
    margin: 1.5em;
}


/* Links */
.nav-item a {
    color: #000000;
}

a {
    color: #D40511;
}

a.selected{
    color: #333333;
}

.nav-item a.selected {
    color:  #D40511;
}

a:hover {
    color: #000000;
}

.pageModule {
    background-color: #f2f2f2;
    padding: .5em;
    margin: 1em;
    border-radius: .3em;
    display: inline;
}

/* Buttons */
.btn-arr-option {
    background-color: #FFFFFF;
    color: #D40511;
    font-weight: 600;
}

.btn-arr-option:hover {
    background-color: #333333;
    color: #D40511;
}

.btn-arr-option:active {
    background-color: #D40511;
    color: #FFCC00;
}

.btn-primary {
    color: #D40511;
    background-color: #ffcc00;
    border: none;
}

.dim-button{
    margin-top: 15%;
    height: 2.5rem;
}

.bill_button{
    width: auto !important;
}

/* Dashboard */

.dashModule { 
    background-color:#f1f1f1;
    padding: 1em;
    margin-top: 1em;
    border-radius: .2em;
}

.dashModuleTable > table, .dashModuleTable > .table-light {
    border-radius: 0.3em;
}



/* Forms */

/* TODO: Correctly configure django to style form validations appropriately given the context. 
In the meantime, this CSS removes the tick from each input item. */
.form-control.is-valid, .was-validated .form-control:valid { 
    background-image: none;
}

label {
    /* font-size: .8em; */
    font-weight: 600;
}

.form-check > label {
    font-size: 1em;
}

.form-inline {
    margin-bottom: 1em;
}

select, input, .form-control {
    /* width: 100%; */
    max-width: 100%;
    color: #666666;
}

.form-group {
    font-size: .8em;
}

.custom-file-label, .custom-file-label::after {
    height: 100%;
    border: none;
}

.minimalForm {
    margin-top: 1.1em;
}

.minimalForm > input, .minimalForm > select {
    border: 1px solid #CCCCCC;
    padding-right: 0 !important;
}
.select2-container {
    display:block;
    border: none;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #CCCCCC;
    
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #CCCCCC;
}

.left-form-item {
    font-size: 11px !important;
    width: 80% !important;
    float:left;
    margin: 0.5rem;
}

.form-control.is-valid, .was-validated .form-control:valid {
    border: 1px solid #CCCCCC;
}
.form-control{
    border: 1px solid #CCCCCC;
    width: 100%;
}

.dim-form-item {
    width: 11%;
    margin: 0.4rem;
}

.form-check-input.is-valid~.form-check-label {
    color: #000000
}

.left-random-form-item {
    width: 30% !important;
    float:left;
    margin: 0.5rem;
}

.label-form-item {
    width: 25% !important;
    float:left;
    margin: 0.5rem;
}

.col-form-label {
    margin-top: 1px;
    max-width: 50% !important;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    padding-bottom: 0rem;
}

/* ARR View */

@media (min-width: 1200px) { 

    .sticky-top-xl {
        position: sticky;
        top: 0;
        z-index: 1020;
    }
}

/* Tables */

table, table.table, .table {
    border-radius: 0.3em;
    width: 100%;
    vertical-align: middle;
    color: #666666;
}

.t-min-height {
    min-height: 100vh;
    flex-grow: 1;
}

.shipment-table {
    min-height: 400px;
}

thead { border-radius: .3em;}

.table td, .table th {
    vertical-align: middle;
}

.table-light tbody+tbody, .table-light td, .table-light th, .table-light thead th {
    border-color: #f2f2f2;
    border: none;
}



#upload_file {
    top: 15px !important;
    position: relative;
}

.left-item {
    margin-left: -15px;
    width: 75%;
    list-style: none;
}



.padding-removed td , .padding-removed th{
    padding: 0em !important;
    padding-left: 0.75em !important;
    padding-right: 0.75em !important;
}




.dimension_txt{
    padding-left: 0.5%;
}



td.collapse_link > a:before {
    font-family: FontAwesome Arial, Verdana, Tahoma, sans-serif;
    content:"-";
    padding-right: 5px;
}
td.collapse_link > a.collapsed:before {
    content:"+";
}
td.collapse_link > a:hover,
td.collapse_link > a:active,
td.collapse_link > a:focus  {
    text-decoration:none;
}


.leg_label{
    margin-top: 20px;
    margin-left: 30px;
}
.filter-row .form-group{
    padding-bottom: 1%;
}
.select2-selection__rendered li{
    clear: left;
}
.invalid-feedback{
    font-size: 100%;
}
.notes{
    height: 100px;
}



.login .submit-row {
    padding: 0 !important;
}

div.forbidden_msg{
    margin: 20px;
}
.username{
    font-weight: bold;
    margin-right: 10px;
}



table td#red-color{
    background-color:#ff6666;
    color: #FFFFFF;
}

table td#red-color > a{
    color: #FFFFFF;
    font-weight: 600;
}

table td#green-color {
    background-color: lightgreen;
}

table td#amber-color, table td#green-color {
    color: #000000;
}

table td#amber-color > a, table td#green-color >a {
    color: #000000;
    font-weight: 600;
}

table td#amber-color {
    background-color: #ffc04c;
}
.pagination{
    float: right;
    width: 20em;
    position: absolute;
}

.pagination li{
    margin-right: 10px;
    text-transform:capitalize;
}
.bill_label{
    width: 24%;
    float:left;
    clear:right;
    text-transform: uppercase;
}
label.bill-form-item{
    text-transform: uppercase;
}
.bill-form-item {
    font-size: 11px !important;
    width: 11% !important;
    float:left;
    margin: 0.5rem 0 0.5rem 0.5rem;
}
.header{
    text-align: center;
    margin-top: 1%;
    margin-bottom: 1%;
}

.bill-form-header{
    width: 15%;
}
.bill-form-item input[type='number']{
    text-align: right;
}
.bill-row-item, .agent-row-item {
    font-size: 11px !important;
    margin: 0.5rem;
    clear: both;
}
.bill-row-item input[type='number']{
    text-align: right;
}
.bill-row-item .input-group{
    width: 50%;
    max-width: 240px;
}

.bill-row-item .input-group-text{
    border-color: #EBEBEB;
}
.hidden{
    display:none;
}
.jobsummary-width{
    width: 100%;
}
.jobsummary-dashitem{
    width: 100%;
     margin: 1%
}
.list-fontsize{
    font-size:12px;
}
.columnpadding{
    padding:0; 
    padding-left: 10px;
     width:626px;
}
.styleheight{
    height:241.0pt;
}
.edigen-floatright{
    margin:5px 0 0 50px
}
.edigen-pad{
    margin: 30px 15px 10px 0 
}
.edigen-margin{
    margin: 25px 0 10px 0
}
.edigenleftmargin{
    margin: 25px 0 10px 10px
}
.edigen-formatting{
    margin-right: 1%;
     font-size:20px; 
     font-weight: bolder;
}
.textalign-right{
    text-align: right;
}
.ajax_loader{
    display: none;
    position:fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2000;
}

#ajax_progress > .progress-bar {
    width: 100%
}


div.reminder_email {
    padding: 5px 30px;
    align-content: center;
    width: 85%;
}

.errors {
    color:red;
}

.in-line_block {
    display: inline-block;
}

#optional_bill{
    margin-top: 30px;
}
.modal-xl{
    max-width: 100%;
    margin: 1%;
}
.modal-body{
    padding: 3rem;
}

.mmodal-xl .bill-row-item input, .modal-body .bill-row-item select{
    max-width: 30%;
}

.agent_label{
    float:left;
    clear:right;
    text-transform: uppercase;
    margin-left: 3%;
    margin-right: 15%;
}
select[readonly="readonly"]{
    pointer-events: none;
}
.bill_number input[type='number']{
    width: 50%;
    text-align: right;
    max-width: 240px;
}
.agent-row-item{
    width: 100%;
    clear: left;
}
.agent_field input{
    width: 50%;
    margin-left: 1%;
    max-width: 240px;
}
.row.bootstrap4-multi-input{
    width: 75% !important;
}

.row.bootstrap4-multi-input div {
    padding: 0;
}

.row.bootstrap4-multi-input input{
    width: 100%;
}

.charge_row{
    margin-left: 1%;
}

.agent_field textarea{
    width: 30%;
}
.invalid{
    border-color: red !important;
}
.label_right{
    text-align: right;
}

.agent-row-item select{
    width: 100%;
    clear: left;
}

.file_upload_box {
    border-radius: 2px;
    width: 70%;
    font-size: small;
    align-self: center;
}
p.p_upload {
    padding-left: 30px;
}

.green_font {
    color: green;
    background-color: white;
}

.customer_charge_details .bill-form-item{
    width: 20% !important;
}

.extra_charge{
    background-color: lightgoldenrodyellow;
}

.extra_charge label.charge_name:after{
    content: ' **';
}
.extra_charge_note{
    font-weight: bold;
    font-style: italic;
    background-color: lightgoldenrodyellow;
}
.right_aligned{
    float: right;
    margin-right: 20%;
}

.customer_charge .bill-form-item{
    width: 23% !important;
}

.center-aligned{
    text-align: center;
}

.transit_table tr{
    font-weight: bold;
    line-height: 2em;
}

.transit_activity{
    padding-right: 2em;
}

.tooltip_p{
    white-space: pre-wrap;
}

.bill-row-item .radio label{
    font-weight: bold;
    margin-right: 6%;
}

.upload_align {
    margin-left: 15px;
}

.comment{
    font-family: sans-serif, Arial, Verdana, "Trebuchet MS", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 12px !important;
}


.stage_list_tb {
    display: inline-block !important;
    margin-right: 2%;
    vertical-align: top;
    text-align: center;
}


div[id$='is_credit_note']{
    display: inline-flex;
}

div[id$='is_credit_note'] label{
    display: inline-flex;
    padding-right: 100px;
}

/* Media Queries
 @media (min-width: 1800px) {
     .man_dash_tb {
        width: 80%;
     }
     #manager_billed_delivery, #manager_billed_destination{
         width: 90%;
     }
 }
 @media (max-width: 1500px) {
     #manager_stage_user, #bill_dash, #manager_dash, #manager_dash_region {
        float: none !important;
        margin: 1% 1% 1% 1%;
     }
     .user-dash-item {float: none !important;
        margin: 1% 1% 1% 1%;
     }
     #bill_dash, #manager_dash, #user_dash, #bill_dash_delivery, #bill_dash_destination,
     #manager_billing_delivery, #manager_billing_destination,
     #bill_dash_revenue_delivery, #bill_dash_revenue_destination
     {
         width: 100%;
     }
     #manager_dash_region >div{
         width: 100% !important;
     }
     #user_dash > div {
         width: 32% !important;
     }

 } */
