/*
    DJANGO Admin styles
*/

@import url(fonts.css);

/* VARIABLE DEFINITIONS */
:root {
  --primary: #79aec8;
  --secondary: #417690;
  --accent: #f5dd5d;
  --primary-fg: #fff;




  --body-fg: #333;
  --body-bg: #fff;
  --body-quiet-color: #666;
  --body-loud-color: #000;

  --header-color: #ffc;
  --header-branding-color: var(--accent);
  --header-bg: var(--secondary);
  --header-link-color: var(--primary-fg);

  --breadcrumbs-fg: #c4dce8;
  --breadcrumbs-link-fg: var(--body-bg);
  --breadcrumbs-bg: var(--primary);

  --link-fg: #447e9b;
  --link-hover-color: #036;
  --link-selected-fg: #5b80b2;

  --hairline-color: #e8e8e8;
  --border-color: #ccc;

  --error-fg: #ba2121;

  --message-success-bg: #dfd;
  --message-warning-bg: #ffc;
  --message-error-bg: #ffefef;

  --darkened-bg: #f8f8f8; /* A bit darker than --body-bg */
  --selected-bg: #e4e4e4; /* E.g. selected table cells */
  --selected-row: #ffc;

  --button-fg: #fff;
  --button-bg: var(--primary);
  --button-hover-bg: #609ab6;
  --default-button-bg: var(--secondary);
  --default-button-hover-bg: #205067;
  --close-button-bg: #888; /* Previously #bbb, contrast 1.92 */
  --close-button-hover-bg: #747474;
  --delete-button-bg: #ba2121;
  --delete-button-hover-bg: #a41515;

  --object-tools-fg: var(--button-fg);
  --object-tools-bg: var(--close-button-bg);
  --object-tools-hover-bg: var(--close-button-hover-bg);
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #264b5d;
    --primary-fg: #eee;

    --body-fg: #eeeeee;
    --body-bg: #121212;
    --body-quiet-color: #e0e0e0;
    --body-loud-color: #ffffff;

    --breadcrumbs-link-fg: #e0e0e0;
    --breadcrumbs-bg: var(--primary);

    --link-fg: #81d4fa;
    --link-hover-color: #4ac1f7;
    --link-selected-fg: #6f94c6;

    --hairline-color: #272727;
    --border-color: #353535;

    --error-fg: #e35f5f;
    --message-success-bg: #006b1b;
    --message-warning-bg: #583305;
    --message-error-bg: #570808;

    --darkened-bg: #212121;
    --selected-bg: #1b1b1b;
    --selected-row: #00363a;

    --close-button-bg: #333333;
    --close-button-hover-bg: #666666;
  }
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: "Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
    color: var(--body-fg);
    /* background: var(--body-bg); */
    background: #e7e7e7;
}


td.field-charge {
    color: #1a77ff;
}

td.field-cost {
    color: red;
}


.dabit_badge {
    background: #42ff644f;
    text-align: center;
    padding: 2px 0px;
    border-radius: 24px;
    color: #02a425;
}

img.main_header_logo {
    width: 100%;
}
.credit_badge {
    background: #ff89424f;
    text-align: center;
    padding: 2px 0px;
    border-radius: 24px;
    color: #a40202;
}

.calendarbox.module{
    display: block;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 100000000 !important;
    overflow: unset;
    margin-left: 0em !important;
    margin-top: 0em !important;
}


.customer_filter_btn_cls{
    background: var(--web_color_var);
    height: 36px;
    border: none;
    width: 36px;
    border-radius: 0px 5px 5px 0px;
    cursor: pointer;
    color: white;
}


.input-filter {display: flex;align-items: center;padding: 15px 7px;}

.flex_inp_btn {
    display: flex;
    align-items: center;
}

.form_flex_container > label {
    font-weight: 400;

    white-space: nowrap;
    display: block;
}

.form_flex_container {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.body_main_container {
    display: flex;
}

.left_nav_container {
    z-index: 2000;
}

#content{
    background: #e7e7e7;

}

.num_total_green {
    display: flex;
    align-items: center;
    color: #1da700;
    font-weight: bold;
}


.num_total_red {
    display: flex;
    align-items: center;
    color: rgb(219 0 0);
    font-weight: bold;
}


.num_total_info {
    display: flex;
    align-items: center;
    color: rgb(0 164 182);
    font-weight: bold;
}


img.logo {
    width: 200px;
    margin: 0px 0px !important;
}

.content{
    background: #e7e7e7;

}

.tox-notifications-container{
    display: none !important;
}




.field-Status > select {
    width: fit-content;
}

/* #attendance_chart_canvas{
    background:#a2d6fb4a;
} */

/* .field-Status > select{
    border: none;
    background: #f0f8ff00;
} */

.PDf_btn{
    background: #ef6120;
    padding: 8px 11px;
    color: white;
    border-radius: 17px;
    cursor: pointer;
    position: relative;
    bottom: 3px;
    border: none;
}





.child_cn_list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    height: 40px;
}

.Cn_list_in_cs {
    height: 35px;
}


.form-row.field-Upload_Rating_CSV_File {
    background: #f3f3f3;
    border: 2px dashed grey;
    height: 96px;
    margin: 17px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

input#id_Upload_Rating_CSV_File {
    display: none;
}

.form-row.field-Upload_Rating_CSV_File label {
    text-align: center;
    font-size: 23px;
    font-weight: bold;
    color: #b2ada8;
}




.Product_stock_andicate{
   
    text-align: center;
    padding: 3px 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    border-radius: 8px;
}

._product_stock_up{
    background: #2391005c;
    color: #107e00;
}


._product_stock_down{
    background: #9100005c;
    color: #a90500;
}



td.field-PURCHASE_RETURN{overflow-y: scroll;}
td.field-PURCHASE_RETURN::-webkit-scrollbar {
    width: 5px;
    height: 6px;
    display: none;
}



td.field-Sale_List{overflow-y: scroll;}
td.field-Sale_List::-webkit-scrollbar {
    width: 5px;
    height: 6px;
    display: none;
}



td.field-Items_List{overflow-y: scroll;}
/* width */
td.field-Items_List::-webkit-scrollbar {
    width: 5px;
    height: 6px;
    display: none;
  }


  .Cn_list_in_cs:hover {
    /* display: flex; */
    position: absolute;
    background: #ffffff;
    padding: 7px 15px;
    transform: translate(0px, -27px);
    height: auto;
    border: 1px dashed #9f9f9f;
}




form#changelist-search {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.progress_and_aount_div{
    display:flex; justify-content: space-around;
}

.amount_div{
    padding: 27px;
    text-align: center;
    width: 100%;
}

.expenses_cnvas_title p {
    margin: 0px;
    padding: 4px 8px;
    font-size: 13px;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
}

.payment_div , .expenses_div , .Balance_div{
    box-shadow: 0px 0px 2px 0px #e5e5e5;
    background: white;
}

img.arrow_cridit_debit_img {
    width: 21px;
    height: 21px;
}



.parcel_msg {
    display: block;
    margin: 5px 0px;
    color: #f50000;
}

div#map_location {
    width: 100% !important;
}



.form-row.field-image_thumbnail > div> .readonly > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}


@media screen and (max-width:1550px){
    #employeepayments_set-group {
        width: auto !important;
   
    }
    #customerpermissions_set-group{
        width: auto !important;
    }
    
}



@media screen and (max-width:1022px){
    .PDf_btn {
        background: #888888;
        border-radius: 7px;
        margin-top: 10px;
        width: 100%;
    }


    
        form#changelist-search {
            display: block;
            
        }

    .progress_and_aount_div{
        display:block; 
    }

    .amount_div{
        padding: 0px 12px 0px 12px;
        width: auto !important;
    }

    .payment_div , .expenses_div , .Balance_div{
        box-shadow: 0px 2px 3px 0px #e5e5e5;
  
    }
}


.btn-div {
    background: #7a7a7a;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
}

.btn-div > a {
    color: white !important;
    text-transform: capitalize;
    white-space: nowrap;
}


/* LINKS */

a:link, a:visited {
    color: var(--link-fg);
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}




a:focus, a:hover {
    color: var(--link-hover-color);
}

a:focus {
    text-decoration: underline;
}

a img {
    border: none;
}

a.section:link, a.section:visited {
    color: var(--header-link-color);
    text-decoration: none;
}

a.section:focus, a.section:hover {
    text-decoration: underline;
}

/* GLOBAL DEFAULTS */

p, ol, ul, dl {
    margin: .2em 0 .8em 0;
}

p {
    padding: 0;
    line-height: 140%;
}

h1,h2,h3,h4,h5 {
    font-weight: bold;
}

h1 {
    margin: 0 0 20px;
    font-weight: 300;
    font-size: 18px;
    color: var(--body-quiet-color);
}

h2 {
    font-size: 16px;
    margin: 1em 0 .5em 0;
}

h2.subhead {
    font-weight: normal;
    margin-top: 0;
}

h3 {
    font-size: 14px;
    margin: .8em 0 .3em 0;
    color: var(--body-quiet-color);
    font-weight: bold;
}

h4 {
    font-size: 12px;
    margin: 1em 0 .8em 0;
    padding-bottom: 3px;
}

h5 {
    font-size: 10px;
    margin: 1.5em 0 .5em 0;
    color: var(--body-quiet-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

ul > li {
    list-style-type: square;
    padding: 1px 0;
}

li ul {
    margin-bottom: 0;
}

li, dt, dd {
    font-size: 13px;
    line-height: 20px;
}

dt {
    font-weight: bold;
    margin-top: 4px;
}

dd {
    margin-left: 0;
}

form {
    margin: 0;
    padding: 0;
}

fieldset {
    margin: 0;
    min-width: 0;
    padding: 0;
    border: none;
    border-top: 1px solid var(--hairline-color);
    width: 60%;
    margin: auto;
    box-shadow: 0px 5px 15px 3px #e1e1e1;
    padding: 30px;
    background: #ffffff !important;
    border-radius: 20px;
    transform: scale(1) perspective(10px);
    transition: 260ms;
}


@media screen and (max-width:1550px){
    fieldset{
        width: auto;
        padding: 18px 7px;
    }
}


blockquote {
    font-size: 11px;
    color: #777;
    margin-left: 2px;
    padding-left: 10px;
    border-left: 5px solid #ddd;
}

code, pre {
    font-family: "Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace;
    color: var(--body-quiet-color);
    font-size: 12px;
    overflow-x: auto;
}

pre.literal-block {
    margin: 10px;
    background: var(--darkened-bg);
    padding: 6px 8px;
}

code strong {
    color: #930;
}

hr {
    clear: both;
    color: var(--hairline-color);
    background-color: var(--hairline-color);
    height: 1px;
    border: none;
    margin: 0;
    padding: 0;
    font-size: 1px;
    line-height: 1px;
}

/* TEXT STYLES & MODIFIERS */

.small {
    font-size: 11px;
}

.mini {
    font-size: 10px;
}

.help, p.help, form p.help, div.help, form div.help, div.help li {
    font-size: 11px;
    color: var(--body-quiet-color);
}

div.help ul {
     margin-bottom: 0;
}

.help-tooltip {
    cursor: help;
}

p img, h1 img, h2 img, h3 img, h4 img, td img {
    vertical-align: middle;
}

.quiet, a.quiet:link, a.quiet:visited {
    color: var(--body-quiet-color);
    font-weight: normal;
}

.clear {
    clear: both;
}

.nowrap {
    white-space: nowrap;
}

.hidden {
    display: none;
}

/* TABLES */

table {
    border-collapse: collapse;
    border-color: var(--border-color);
}

td, th {
    font-size: 13px;
    line-height: 16px;
    border-bottom: 1px solid var(--hairline-color);
    /* vertical-align: top; */
    padding: 8px;
}

th {
    font-weight: 600;
    text-align: left;
}

thead th,
tfoot td {
    color: var(--body-quiet-color);
    padding: 5px 10px;
    font-size: 11px;
    background: var(--body-bg);
    border: none;
    border-top: 1px solid var(--hairline-color);
    border-bottom: 1px solid var(--hairline-color);
}

tfoot td {
    border-bottom: none;
    border-top: 1px solid var(--hairline-color);
}

thead th.required {
    color: var(--body-loud-color);
}

tr.alt {
    background: var(--darkened-bg);
}

/* tr:nth-child(odd), .row-form-errors {
    background: var(--body-bg);
} */

tr:nth-child(even),
tr:nth-child(even) .errorlist,
tr:nth-child(odd) + .row-form-errors,
tr:nth-child(odd) + .row-form-errors .errorlist {
    background: var(--darkened-bg);
}


/* .admin-interface #header {
    background: linear-gradient(45deg, #003474, #000512) !important
  
} */


/* .app-app > table tr:nth-child(odd) , .app-auth > table tr:nth-child(odd) , .app-admin_interface > table tr:nth-child(odd) , .app-Maintenance > table tr:nth-child(odd){
    background: linear-gradient(45deg, #b00f0f, #ffa0a0);
    box-shadow: 0px 2px 10px 2px #bbbbbb;
}

.app-app > table tr:nth-child(even) , .app-auth > table tr:nth-child(even) , .app-admin_interface > table tr:nth-child(even) , .app-Maintenance > table tr:nth-child(even){
    background: linear-gradient(45deg, #b00f0f, #ffa0a0);
    box-shadow: 0px 2px 10px 2px #bbbbbb;
}

.app-app > table tr th a , .app-auth > table tr th a, .app-admin_interface > table tr th a , .app-Maintenance > table tr th a{
    color: white !important;
} */

.leaflet-routing-alt > table tr td , .leaflet-routing-alt > table tr th{
    padding: 0px !important;
}


#paymentinvoice_form input[type=number]{
width: 100%;
}



#paymentinvoice_form .fieldBox.field-date{
    width: 100% !important;
}



.invoice_view_btn {
    background: var(--admin-interface-module-background-color) !important;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 7px 6px;
    border-radius: 5px;
}

.invoice_view_btn > a {
    color: #212121 !important;
}


p.num_total_warning {
    display: flex;
    align-items: center;
    color: rgb(182 162 0);
    font-weight: bold;
}


.bar_code_print_btn > a {
    background: #4096ff;
    display: flex;
    align-items: center;
    padding: 7px 5px;
    color: white !important;
    border-radius: 5px;
}


.fieldBox.field-User_Access > .help {
    display: none;
}


.bar_code_print_btn {
    width: 108px;
}

.bar_code_print_btn > a > i {
    margin-left: 5px;
}

.recipt_view_btn {
    background: #7eff6e;
    padding: 8px;
    border-radius: 7px;
}

#result_list > tbody th , #result_list > tbody td {
    font-size: 13px;
    line-height: 16px;
    border-bottom: 1px solid var(--hairline-color);
    vertical-align: middle;
    padding: 3px 7px;
    /* border: 2px solid #e9e9e9; */
}

.fieldBox.field-diesel_quantity{
    display: none !important;
}


.fieldBox.field-total_KM{
    display: none !important;
}


.fieldBox.field-total_diesel_amount{
    display: none !important;
}

.fieldBox.field-payments{
    display: none !important;
}


.fieldBox.field-balance{
    display: none !important;
}


.fieldBox.field-route_details{
    display: none !important;
}


.form-row.field-diesel_quantity.field-total_diesel_amount.field-total_KM.field-payments.field-balance.field-route_details{
    display: none !important;
}


.form-row.field-selected_image_preview.field-store_name.field-order_status{
    align-items: end;
}


#orderitem_set-group > .module {
    width: auto;
    padding: 0px;
    box-shadow: none;
}

#orderitem_set-group > .module > .inline-related > .module {
    width: auto;
    padding: 0px;
    box-shadow: none;
}

@media screen and (max-width:1270px){
    #linehaulmanagement_form > .container .row .col-md-12{
        display: block !important;
    }

    #linehaulmanagement_form > .container .row .col-md-12 .card-1 div{
        width: auto !important;
    }
}


.info_box {
    display: flex;
    align-items: center;
    gap: 5px;
}
.info_box > img {
    width: 18px;
}

.info_box > .info_text {
    position: absolute;
    display: none;
    padding: 7px 10px;
    border-radius: 7px;
    z-index: 2;
    white-space: normal;
    width: 297px;
}

.info_box > .info_text.green {
    /* position: absolute; */
    background: #129320;
    color: white;
}

.info_box > .info_text.red {
    /* position: absolute; */
    background: #e01d1d;
    color: white;
}
.info_box:hover .info_text{ display:block; }




.bulk_action_form_container > form {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 11px;
    flex-wrap: wrap;
}

.show_seletec_parcel {
    overflow-x: scroll;
    background: #ffffff;
    margin-top: 18px;
    border-radius: 10px;
    padding: 5px 11px;
}

.table_title {
    margin: 20px 0px 9px 0px;
    font-size: 18px;
    color: #000000;
}


button#bulk_submit_awb {
    width: 100%;
}

.bulk_action_form_container {
    background: #ffffff;
    padding: 12px 11px;
    border-radius: 10px;
}

.bulk_container {
    width: 1200px;
    margin: auto;
}


button#bulk_submit_change_btn {
        width: 100%;
    display: block;
    height: 38px;
    margin: auto;
}

.table_title {
    margin: 20px 0px 9px 0px;
    font-size: 18px;
    color: #000000;
}


.info_box > .info_text {
    position: absolute;
    display: none;
    padding: 7px 10px;
    border-radius: 7px;
    z-index: 2;
    white-space: normal;
    width: 297px;
}

.button_grp {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 16px 0px 0px 0px;
}


/* SORTABLE TABLES */

thead th {
    padding: 5px 10px;
    line-height: normal;
    text-transform: uppercase;
    background: var(--darkened-bg);
}

thead th a:link, thead th a:visited {
    color: var(--body-quiet-color);
}

thead th.sorted {
    background: var(--selected-bg);
}

thead th.sorted .text {
    padding-right: 42px;
}

table thead th .text span {
    padding: 8px 10px;
    display: block;
}

table thead th .text a {
    display: block;
    cursor: pointer;
    padding: 8px 10px;
}

table thead th .text a:focus, table thead th .text a:hover {
    background: var(--selected-bg);
}



thead th.sorted a.sortremove {
    visibility: hidden;
}

table thead th.sorted:hover a.sortremove {
    visibility: visible;
}

table thead th.sorted .sortoptions {
    display: block;
    padding: 9px 5px 0 5px;
    float: right;
    text-align: right;
}

table thead th.sorted .sortpriority {
    font-size: .8em;
    min-width: 12px;
    text-align: center;
    vertical-align: 3px;
    margin-left: 2px;
    margin-right: 2px;
}

table thead th.sorted .sortoptions a {
    position: relative;
    width: 14px;
    height: 14px;
    display: inline-block;
    background: url(../img/sorting-icons.svg) 0 0 no-repeat;
    background-size: 14px auto;
}

table thead th.sorted .sortoptions a.sortremove {
    background-position: 0 0;
}

table thead th.sorted .sortoptions a.sortremove:after {
    content: '\\';
    position: absolute;
    top: -6px;
    left: 3px;
    font-weight: 200;
    font-size: 18px;
    color: var(--body-quiet-color);
}

table thead th.sorted .sortoptions a.sortremove:focus:after,
table thead th.sorted .sortoptions a.sortremove:hover:after {
    color: var(--link-fg);
}

table thead th.sorted .sortoptions a.sortremove:focus,
table thead th.sorted .sortoptions a.sortremove:hover {
    background-position: 0 -14px;
}

table thead th.sorted .sortoptions a.ascending {
    background-position: 0 -28px;
}

table thead th.sorted .sortoptions a.ascending:focus,
table thead th.sorted .sortoptions a.ascending:hover {
    background-position: 0 -42px;
}

table thead th.sorted .sortoptions a.descending {
    top: 1px;
    background-position: 0 -56px;
}

table thead th.sorted .sortoptions a.descending:focus,
table thead th.sorted .sortoptions a.descending:hover {
    background-position: 0 -70px;
}

/* FORM DEFAULTS */

input, textarea, select, .form-row p, form .button {
    margin: 0px 0;
    padding: 2px 3px;
    vertical-align: middle;
    font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif;
    font-weight: normal;
    font-size: 13px;
}
.form-row div.help {
    padding: 2px 3px;
}

textarea {
    vertical-align: top;
}

input[type=text], input[type=password], input[type=email], input[type=url],
input[type=number], input[type=tel], textarea, select, .vTextField {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 5px 6px;
    margin-top: 0;
    color: var(--body-fg);
    background-color: var(--body-bg);
    height: 27px;
    
}
input[type=number]{
    width: -webkit-fill-available ;
}



.account_current_bal {
    text-align: center;
    padding: 6px 3px;
    border-radius: 31px;
    font-weight: bold;
}

.account_current_bal.green {
    color: green;
    background: #d4ffd7;
}

.account_current_bal.red {
    color: #800000;
    background: #ffd4d4;
}

input[type=text]:focus, input[type=password]:focus, input[type=email]:focus,
input[type=url]:focus, input[type=number]:focus, input[type=tel]:focus,
textarea:focus, select:focus, .vTextField:focus {
    border-color: var(--body-quiet-color);
}

select {
    height: 38px;
    width: 100%;
}

.actions > label select{
    width: auto !important;
}

select[multiple] {
    /* Allow HTML size attribute to override the height in the rule above. */
    height: auto;
    min-height: 150px;
}

/* FORM BUTTONS */

.datetime{
    display: flex;
    align-items: center;
}

.datetime > br{
    display: none;
}





.button, input[type=submit], input[type=button], .submit-row input, a.button {
    background: var(--button-bg);
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    color: var(--button-fg);
    cursor: pointer;
    transition: background 0.15s;
}

a.button {
    padding: 4px 5px;
}

.button:active, input[type=submit]:active, input[type=button]:active,
.button:focus, input[type=submit]:focus, input[type=button]:focus,
.button:hover, input[type=submit]:hover, input[type=button]:hover {
    background: var(--button-hover-bg);
}

.button[disabled], input[type=submit][disabled], input[type=button][disabled] {
    opacity: 0.4;
}

.button.default, input[type=submit].default, .submit-row input.default {
    float: right;
    border: none;
    font-weight: 400;
    background: var(--default-button-bg);
}

.button.default:active, input[type=submit].default:active,
.button.default:focus, input[type=submit].default:focus,
.button.default:hover, input[type=submit].default:hover {
    background: var(--default-button-hover-bg);
}

.button[disabled].default,
input[type=submit][disabled].default,
input[type=button][disabled].default {
    opacity: 0.4;
}


/* MODULES */

.module {
    border: none;
    margin-bottom: 30px;
    background: var(--body-bg);
}

.module p, .module ul, .module h3, .module h4, .module dl, .module pre {
    padding-left: 10px;
    padding-right: 10px;
}

.module blockquote {
    margin-left: 12px;
}

.module ul, .module ol {
    margin-left: 1.5em;
}

.module h3 {
    margin-top: .6em;
}

.module h2, .module caption, .inline-group h2 {
    margin: 0;
    padding: 8px;
    font-weight: 400;
    font-size: 13px;
    text-align: left;
    background: var(--primary);
    color: var(--header-link-color);
}

.module caption,
.inline-group h2 {
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.module table {
    border-collapse: collapse;
}

/* MESSAGES & ERRORS */

ul.messagelist {
    padding: 0;
    margin: 0;
}

ul.messagelist li {
    display: block;
    font-weight: 400;
    font-size: 13px;
    padding: 10px 10px 10px 65px;
    margin: 0 0 10px 0;
    background: var(--message-success-bg) url(../img/icon-yes.svg) 40px 12px no-repeat;
    background-size: 16px auto;
    color: var(--body-fg);
}

ul.messagelist li.warning {
    background: var(--message-warning-bg) url(../img/icon-alert.svg) 40px 14px no-repeat;
    background-size: 14px auto;
}

ul.messagelist li.error {
    background: var(--message-error-bg) url(../img/icon-no.svg) 40px 12px no-repeat;
    background-size: 16px auto;
}

.errornote {
    font-size: 14px;
    font-weight: 700;
    display: block;
    padding: 10px 12px;
    margin: 0 0 10px 0;
    color: var(--error-fg);
    border: 1px solid var(--error-fg);
    border-radius: 4px;
    background-color: var(--body-bg);
    background-position: 5px 12px;
    overflow-wrap: break-word;
}

ul.errorlist {
    margin: 0 0 4px;
    padding: 0;
    color: var(--error-fg);
    background: var(--body-bg);
}

ul.errorlist li {
    font-size: 13px;
    display: block;
    margin-bottom: 4px;
    overflow-wrap: break-word;
}

ul.errorlist li:first-child {
    margin-top: 0;
}

ul.errorlist li a {
    color: inherit;
    text-decoration: underline;
}

td ul.errorlist {
    margin: 0;
    padding: 0;
}

td ul.errorlist li {
    margin: 0;
}

.form-row.errors {
    margin: 0;
    border: none;
    border-bottom: 1px solid var(--hairline-color);
    background: none;
}

.form-row.errors ul.errorlist li {
    padding-left: 0;
}

.errors input, .errors select, .errors textarea,
td ul.errorlist + input, td ul.errorlist + select, td ul.errorlist + textarea {
    border: 1px solid var(--error-fg);
}

.description {
    font-size: 12px;
    padding: 5px 0 0 12px;
}

/* BREADCRUMBS */

div.breadcrumbs {
    background: var(--breadcrumbs-bg);
    padding: 10px 40px;
    border: none;
    color: var(--breadcrumbs-fg);
    text-align: left;
}

div.breadcrumbs a {
    color: var(--breadcrumbs-link-fg);
}

div.breadcrumbs a:focus, div.breadcrumbs a:hover {
    color: var(--breadcrumbs-fg);
}

/* ACTION ICONS */

.viewlink, .inlineviewlink {
    padding-left: 16px;
    background: url(../img/icon-viewlink.svg) 0 1px no-repeat;
}

.addlink {
    padding-left: 16px;
    background: url(../img/icon-addlink.svg) 0 1px no-repeat;
}

.changelink, .inlinechangelink {
    padding-left: 16px;
    background: url(../img/icon-changelink.svg) 0 1px no-repeat;
}

.deletelink {
    padding-left: 16px;
    background: url(../img/icon-deletelink.svg) 0 1px no-repeat;
}

a.deletelink:link, a.deletelink:visited {
    color: #CC3434; /* XXX Probably unused? */
}

a.deletelink:focus, a.deletelink:hover {
    color: #993333; /* XXX Probably unused? */
    text-decoration: none;
}

/* OBJECT TOOLS */

.object-tools {
    font-size: 10px;
    font-weight: bold;
    padding-left: 0;
    float: right;
    position: relative;
    margin-top: -40px;
}

.object-tools li {
    display: block;
    float: left;
    margin-left: 5px;
    height: 16px;
}

.object-tools a {
    border-radius: 18px 18px 18px 0px;
}

.object-tools a:link, .object-tools a:visited {
    display: block;
    float: left;
    padding: 3px 12px;
    background: var(--object-tools-bg);
    color: var(--object-tools-fg);
    font-weight: 400;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 5px solid #e7e7e7;
}

.object-tools a:focus, .object-tools a:hover {
    background-color: var(--object-tools-hover-bg);
}

.object-tools a:focus{
    text-decoration: none;
}

.object-tools a.viewsitelink, .object-tools a.addlink {
    background-repeat: no-repeat;
    background-position: right 7px center;
    padding-right: 26px;
}

.object-tools a.viewsitelink {
    background-image: url(../img/tooltag-arrowright.svg);
}

.object-tools a.addlink {
    background-image: url(../img/tooltag-add.svg);
}

/* OBJECT HISTORY */

table#change-history {
    width: 100%;
}

table#change-history tbody th {
    width: 16em;
}

/* PAGE STRUCTURE */

#container {
    position: relative;
    width: 100%;
    min-width: 980px;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

#container > div {
    flex-shrink: 0;
}

#container > .main {
    display: flex;
    flex: 1 0 auto;
}

.main > .content {
    flex:  1 0;
    width: 100%;
    margin: 0px 0px 0px auto;
}


.main_logo_img {
    width: 100%;
    height: 55px;
    background: #ffffff;
}
td.field-delivery_charge {
    color: #008888;
}

td.field-third_party_charges {
    color: #f70000;
}

.profile_percent {
    color: #17006b;
}

.login #container > .main.shifted .content {
    flex:  1 0;
    max-width: 100%;
    margin: 0px;
}

.dashboard_header_logo {
    display: none;
}

img.main_header_logo {
    width: 185px;
}


@media screen and (max-width:1350px) {
    .main > .content {
        
        max-width: 100%;
        
    }
}

@media screen and (max-width:900px){
    .canvas{
        width: 180px !important;
    }
    .dashboard_header_logo {
            display: block;
        }

    div#header {
    padding: 7px 9px;

  
}

#branding {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        right: 0;
        left: 0;
        top: 0;
        padding: 10px 10px;
        background: #ffffff;
        z-index: 3;
}

}

@media screen and (max-width:550px){
    .canvas{
        width: 145px !important;
    }
    .Payment_panel{
        padding-left: 14px !important;
        padding-right: 14px !important;
    } 
    .progress_perent_div{
        justify-content: space-around !important;
    }




}


div#invoiceitem_set-group {
    width: 1000px;
}

#content {
    padding: 20px 25px;
}

.dashboard #content {
    width: auto;
}
#content-main {
    float: left;
    width: 100%; 
    
    /* transform: scale(0);
    transition: 250ms; */



}

.content > #content.colM >  #content-main , .content > #content.colMS >  #content-main{
    float: left !important;
    width: 100% !important; 
    background: none;
    padding: 0px !important; 
    border-radius: 0;
    box-shadow: none;
}

.content > #content > #content-main{
    float: none;
    width: auto;
    
    background: white;
    padding: 30px 30px !important; 
    border-radius: 20px;
    box-shadow: 0px 5px 15px 3px #e1e1e1;
    margin-bottom: 65px;
}


.custom_form_submit_btn {
    display: flex;
    flex-direction: row-reverse;
    gap: 7px;
}

td.field-TPL_Parcel_Status {
    display: flex;
    align-items: center;
    gap: 5px;
}





@media screen and (max-width:769px) {
    .content > #content > #content-main{
        padding: 0px 5px 11px 5px !important;
        margin-bottom: 62px;

    }

    .custom_form_submit_btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }

    .submit_btn_group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column-reverse;
        gap: 11px;
}

.invoice_reset_and_cancel_btn {
    display: flex;
    align-items: center;
    width: 100%;
}

.invoice_cancel_btn {
    
    width: 100%;
    text-align: center;
}
    
}


#content-related {
    float: right;
    width: 260px;
    position: relative;
    margin-right: -269px;
}

#footer {
    clear: both;
    padding: 10px;
}

/* COLUMN TYPES */

.colMS {
    margin-right: 300px;
}

.colSM {
    margin-left: 300px;
}

.colSM #content-related {
    float: left;
    margin-right: 0;
    margin-left: -300px;
}

.colSM #content-main {
    float: right;
}

.popup .colM {
    width: auto;
}

/* HEADER */

#header {
    width: auto;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background: var(--header-bg);
    color: var(--header-color);
    overflow: hidden;
}

#header a:link, #header a:visited {
    color: var(--header-link-color);
}

#header a:focus , #header a:hover {
    text-decoration: underline;
}

#branding {
    float: left;
}

#branding h1 {
    padding: 0;
    margin: 0 20px 0 0;
    font-weight: 300;
    font-size: 24px;
    color: var(--accent);
}

#branding h1, #branding h1 a:link, #branding h1 a:visited {
    color: var(--accent);
    font-size: 27px;
    font-weight: bold;
}

#branding h2 {
    padding: 0 10px;
    font-size: 14px;
    margin: -8px 0 8px 0;
    font-weight: normal;
    color: var(--header-color);
}

#branding a:hover {
    text-decoration: none;
}

#user-tools {
    float: right;
    padding: 0;
    margin: 0 0 0 20px;
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: right;
}

#user-tools a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

#user-tools a:focus, #user-tools a:hover {
    text-decoration: none;
    border-bottom-color: var(--primary);
    color: var(--primary);
}

/* SIDEBAR */

#content-related {
    /* background: var(--darkened-bg); */
    background: white;

}

#content-related .module {
    background: none;
}

#content-related h3 {
    color: var(--body-quiet-color);
    padding: 0 16px;
    margin: 0 0 16px;
}

#content-related h4 {
    font-size: 13px;
}

#content-related p {
    padding-left: 16px;
    padding-right: 16px;
}

#content-related .actionlist {
    padding: 0;
    margin: 16px;
}

#content-related .actionlist li {
    line-height: 1.2;
    margin-bottom: 10px;
    padding-left: 18px;
}

#content-related .module h2 {
    background: none;
    padding: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--hairline-color);
    font-size: 18px;
    color: var(--body-fg);
}

.delete-confirmation form input[type="submit"] {
    background: var(--delete-button-bg);
    border-radius: 4px;
    padding: 10px 15px;
    color: var(--button-fg);
}

.delete-confirmation form input[type="submit"]:active,
.delete-confirmation form input[type="submit"]:focus,
.delete-confirmation form input[type="submit"]:hover {
    background: var(--delete-button-hover-bg);
}

.delete-confirmation form .cancel-link {
    display: inline-block;
    vertical-align: middle;
    height: 15px;
    line-height: 15px;
    border-radius: 4px;
    padding: 10px 15px;
    color: var(--button-fg);
    background: var(--close-button-bg);
    margin: 0 0 0 10px;
}

.delete-confirmation form .cancel-link:active,
.delete-confirmation form .cancel-link:focus,
.delete-confirmation form .cancel-link:hover {
    background: var(--close-button-hover-bg);
}

/* POPUP */
.popup #content {
    padding: 20px;
}

.popup #container {
    min-width: 0;
}

.popup #header {
    padding: 10px 20px;
}


td.field-Active > select {
    width: 70px;
}




div#coupon_set-group {
    width: auto;
}


.form-row > div {
    width: 100%;
}


.dynamic-coupon_set select {
    width: 180px;
}



.js-inline-admin-formset.inline-group[data-inline-type="stacked"] > fieldset {
    width: 100%;
    padding: 0px;
    box-shadow: none;
}

.js-inline-admin-formset.inline-group[data-inline-type="stacked"] > fieldset > .inline-related > fieldset {
    padding: 0px;
    box-shadow: none;
}

.js-inline-admin-formset.inline-group[data-inline-type="stacked"] .form-row {
    display: flex;
}

.fieldBox.field-image_tag {
    width: 75px;
}



button#bulk_submit_tpl_awb {
    width: 100%;
}
@media screen and (max-width:1200px) {
    .bulk_container {
        width: auto;
        margin: auto;
    }
}