.package_labels td{
    border: 0px!important;
    padding: 0px!important;
}
.package_values td{
    padding: 0px!important;
}
.oe_label_no_min_width{
    min-width: 0px!important;
    width: 20px;
}
.openerp .oe_list_content th[data-id="dispotype"].oe_sortable div:after{
    display:none;
}

.way_invoice{
    padding:10px;
}
.way_invoice .oe_form_group_cell{
    padding:5px;
}

.map_titel{
    border-bottom: 1px solid #e5e5e5;
    color: rgb(0, 45, 92);
    font-size: 1.17em;
    font-weight: bold;
}
.openerp .oe_form_field_one2many > .oe_view_manager .oe_view_manager_view_list, .openerp .oe_form_field_many2many > .oe_view_manager .oe_view_manager_view_list{
    min-height: 0px!important;
}
.openerp .oe_list_content > tbody > tr > td.oe_list_field_cell[data-field='servicetypevehicle'],
.openerp .oe_list_content > tbody > tr > td.oe_list_field_cell[data-field='from_datetime'],
.openerp .oe_list_content > tbody > tr > td.oe_list_field_cell[data-field='to_datetime'],
.openerp .oe_list_content > tbody > tr > td.oe_list_field_cell[data-field='to_text'],
.openerp .oe_list_content > tbody > tr > td.oe_list_field_cell[data-field='to_text_customer'],
.openerp .oe_list_content > tbody > tr > td.oe_list_field_cell[data-field='locationsstate'],
.openerp .oe_list_content > tbody > tr > td.oe_list_field_cell[data-field='from_text'],
.openerp .oe_list_content > tbody > tr > td.oe_list_field_cell[data-field='from_text_customer'],
.openerp .oe_list_content > tbody > tr > td.oe_list_field_cell[data-field='from_datetime'],
.openerp .oe_list_content > tbody > tr > td.oe_list_field_cell[data-field='to_datetime']{
}

.openerp .oe_list_content > tbody > tr > td.oe_list_field_cell[data-field='to_datetime']{
    width:100px
}

.openerp .oe_list_content > tbody > tr > td.oe_list_field_cell{
    position: relative;
    vertical-align: middle;
    white-space: normal;
}
.openerp .oe_list_content > tbody > tr.subview > td.oe_list_field_cell{
    white-space: normal;
}

/*tr.subview{
    background-color: #fff!important;
}*/

.openerp .oe_list_content .oe_list_field_handle {
    cursor: ns-resize;
}

.openerp .oe_list_content > tbody > tr .ui-sortable-placeholder{
      height: 124px!important;
      border: 1px solid #dddddd;
}

tr.ui-sortable-placeholder{
    visibility: visible!important;
    border: 2px dotted rgb(164, 164, 170)!important;
    display: block;
    margin-left: 5px;
    width: 650px;
}
tr.ui-sortable-helper > td{
    width: 100%;
    background-color: rgba(192,192,192,0.3);
}
/*TMS Locations*/

    .openerp .oe_c {
      font-family: "entypoRegular" !important;
      font-size: 25px;
      font-weight: 300 !important;
    }

    .openerp .oe_r {
      font-family: "entypoRegular" !important;
      font-size: 24px;
      font-weight: 300 !important;
      line-height: 100%;
    }

    .oe_list_editable .oe_form_container{
        position: relative;
    }

    .openerp .oe_list_editable .oe_list_content .tmsCell .oe_list_field_cell {
        padding: 4px 6px 3px;
    }

    .openerp .oe_list_editable .oe_list_content .tmsCell .oe_list_field_handle {
        width: 20px;
        height: 117px;
        position: absolute;
    }

    .openerp .oe_list_editable .oe_list_content .tmsCell .seq {
        width: 20px;
        height: 117px;
        position: absolute;
    }

    .oe_list_editable .oe_form_field, .oe_list_editable .oe_form_field input,
    .oe_list_editable .oe_form_field textarea,  .oe_list_editable .oe_form_field select{
        min-height: 22px!important;
        z-index: 100;
    }

    .openerp .oe_form .oe_notebook_page .oe_form_field_text textarea {
        background-color: #cacaca;
    }

    .openerp .oe_list_content > tbody > tr > .tmsCell .oe_list_field_cell {
        padding: 3px 6px;
    }

    .openerp .oe_list.oe_list_editable.oe_editing .oe_edition .oe_list_field_cell {
        color: transparent;
        text-shadow: none;
    }
    .openerp .oe_list.oe_list_editable.oe_editing .oe_edition .oe_list_field_cell * {
        visibility: hidden;
    }

    .tmsRow{
        width: 100%;
        float: left;
        height: 110px;
        position: relative;
    }
    .tmsCell{
        box-sizing: border-box;
        min-height: 20%;
    }
    .tmsCell.seq {
        background-color: rgb(0, 45, 92);
        height: 110px;
        position: absolute;
        width: 20px;
    }
    .tmsCell.firma, .tmsCell.partner, .tmsCell.land, .tmsCell.plz, .tmsCell.until,
    .tmsCell.ort, .tmsCell.street, .tmsCell.nr, .tmsCell.date, .tmsCell.from {
        height: 20%;
        position: absolute;
    }
    .tmsCell.firma, .tmsCell.land, .tmsCell.street, .tmsCell.date{
        left: 22%;
    }
    .tmsCell.partner, .tmsCell.ort, .tmsCell.note{
        left: 55%;
        width: 40%;
    }
    .tmsCell.firma, .tmsCell.partner, .tmsCell.load{
        top: 0;
    }
    .tmsCell.land, .tmsCell.plz, .tmsCell.ort{
        top: 25%;
    }
    .tmsCell.street, .tmsCell.nr, .tmsCell.note{
        top: 50%;
    }
    .tmsCell.date, .tmsCell.from, .tmsCell.until{
        top: 75%;
    }
    .tmsCell.load, .dateText{
        width: 20%;
        margin-left: 20px;
    }
    .tmsCell.firma{
        width: 30%;
    }
    .tmsCell.land{
        width: 20%;
    }
    .tmsCell.plz{
        left: 45%;
        width: 8%;
    }

    .tmsCell.street{
        width: 20%;
    }
    .tmsCell.nr{
        left: 45%;
        width: 8%;
    }
    .tmsCell.note{
        height: 44px;
        position: absolute;
        overflow: hidden;
    }

    .tmsCell.date{
        width: 17%;
    }
    .tmsCell.from{
        min-width: 4%;
        left: 45%;
    }
    .tmsCell.until{
        min-width: 4%;
        left: 50%;
    }
    .ln{
        position: absolute;
        left: 49%;
        bottom: 6%
    }
    .dateText{
        position: absolute;
        margin-left: 25px;
        top: 78%;
    }
    .tmsCell.buttons{
        width: 10%;
    }

    .tmsCell.buttons{
        height: 60%;
        position: absolute;
        left: 94%;
        top: 20%;
        text-align: center;
        width: 3%;
    }


    .openerp .oe_form_sheet_width {
        min-width: 650px;
        max-width: 2048px!important;
        margin: 0 auto;
    }
.oe_tms_quickadd div{
    display: inline-block;
}

.oe_tms_quickadd {
    font-size: 10px;
    padding: 7px 5px;
}

.oe_form_dropdown_document input{
    width: 60px;
}

.oe_tms_quickadd_selector, .oe_form_dropdown_document, .oe_form_dropdown_to_text, .oe_form_dropdown_to_text_customer,
.oe_form_dropdown_from_text, .oe_form_dropdown_from_text_customer, .oe_form_dropdown_state{
    display: inline-block;
}

.oe_tms_quickadd input.oe_tms_select_from_text{
    width: 320px;
}

.oe_form_dropdown_from_datetime input,
.oe_form_dropdown_to_datetime input{
    width: 130px;
    float:left;
}

.oe_form_dropdown_driver_id input, .oe_form_dropdown_rolling_stock_id input,
.oe_form_dropdown_entrepreneur_id input, .oe_form_dropdown_partner_id input{
    width: 75px;
}

.oe_form_dropdown_servicetypevehicle select,
.oe_form_dropdown_state select,
.oe_sale_select_checkpoint{
    width:100px;
}
.oe_sale_select_entrepreneur_invoiced, .oe_sale_select_customer_invoiced{
    width:54px;
}

.fireEffect{
    color:darkgreen!important; background:lightgreen!important;
}

.openerp .oe_list_content > tbody > tr > td.oe_list_field_cell .oe_list_field_text {
    white-space: pre!important;
}
.oe_list_field_cell .oe_list_field_selection .inline-edit-selection{
    white-space: normal!important;
}
.openerp .oe_list_content > tbody > tr > td.oe_list_field_cell .oe_list_field_many2one{
    white-space: normal!important;
}
/*td[data-field='from_datetime']{
    white-space: pre!important;
}*/
/*.openerp .oe_list_content > tbody > tr > td.oe_list_field_cell {
    white-space: normal!important;
}*/



.openerp .oe_list_content > tbody > tr > td.oe_list_field_boolean input {
    filter: alpha(opacity=100)!important;
    opacity: 1!important;
}
/* changes applied for this module only */
.extra-row-fetch {
    cursor: default; background: #FFF !important;
}
.extra-row-fetch.no-display {
    display: none !important;
}
.extra-row-fetch > * {
    padding: 10px !important;
}
.extra-row-fetch table {
    border-collapse: collapse; border: 1px solid #DDD !important; width: 100%;
}
.extra-row-fetch table th{
    background-color: #EEE; text-align: center;
}
.extra-row-fetch table th,
.extra-row-fetch table td {
    padding: 5px 10px !important; border: 1px solid #DDD !important;
}
.extra-row-fetch table td.left-aligned {
    text-align: left;
}
.extra-row-fetch table td.right-aligned {
    text-align: right;
}
.extra-row-fetch table td.center-aligned {
    text-align: center;
}

td.inline-edit-selection {
    white-space: normal !important;
}

/* icon font should be changed */
*[class*='fa-']:before {
    font-family: FontAwesome !important;
}
/* remove box shadow for button using fontawesome */
*[class*='fa-']{
    -webkit-box-shadow: none !important;
    background: transparent !important;
}
/* text should not be changed corresponding */
*[class*='fa-'] * {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

td[data-field='driver_id'],
td[data-field='rolling_stock_id'],
td[data-field='entrepreneur_id'],
td[data-field='from_text']{
    white-space: normal!important;
    /*width:100px;*/
}

/*td[data-field='to_location_id'], td[data-field='from_location_id']{
    width:240px;
}*/

td[data-field='to_location_id'] .text,
td[data-field='from_location_id'] .text,
td[data-field='to_text'] .text,
td[data-field='to_text_customer'] .text,
td[data-field='from_text'] .text,
td[data-field='from_text_cutomer'] .text{
    width:138px;
    float: left !important;
}

td[data-field='locationstate']{
    white-space: normal !important;
}

th[data-id='from_text'], th[data-id='to_text'], th[data-id='from_text_customer'], th[data-id='to_text_customer']{
    width: 175px;
}

th[data-id='driver_id'] input,
th[data-id='rolling_stock_id'] input,
th[data-id='entrepreneur_id'] input{
    width: 100px;
}

th[data-id='to_text'] input,
th[data-id='from_text'] input,
th[data-id='to_text_customer'] input,
th[data-id='from_text_customer'] input{
    width: 158px;
}

input#rolling_stock_id.ui-autocomplete-input{
    width:100px;
}

input#driver_id.ui-autocomplete-input{
    width:100px;
}

input#entrepreneur_id.ui-autocomplete-input
{
    width:100px;
}

input#rolling_stock_id{
    width:100px;
}

input#driver_id{
    width:100px;
}

input#entrepreneur_id{
    width:100px;
}

.toggle-fetch{
    width:30px;
    height:50px;
}

.comment::before{
    font-family: "FontAwesome" !important;
    content: "\f05a";
    font-size:20px;
}

div.comment:hover > div.tooltip-listview{
    display: block;
}

div.comment:hover > div.tooltip-arrow{
    display: block;
    margin-top: -10%;
}

.package::before{
    font-family: "FontAwesome" !important;
    content: "\f1b2";
    font-size:20px;
}

button.btn-refresh::before{
    font-family: "FontAwesome" !important;
    content: "\f021";
}

button.btn-remove::before{
    font-family: "FontAwesome" !important;
    content: "\f00d";
}

td[data-field='showmaps'] button::before{
    font-family: "FontAwesome" !important;
    content: "\f0ac";
    margin-right: 5px;
}

div.package:hover > div.tooltip-listview{
    display: block;
}

div.package:hover > div.tooltip-arrow{
    display: block;
    margin-top: -10%;
}

div.tooltip-listview{
    width: 250px;
    margin-left: 30px;
    margin-top: -25px;
    display: none;
    font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif;
    font-size: 12px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
    padding: 3px 8px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    background-color: rgb(0, 45, 92);
    border-radius: 4px;
    z-index: 1800;
    position: absolute;
}

div.tooltip-listview + .tooltip-arrow{
    display: none;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 6px 5px 0;
    border-color: transparent rgb(0, 45, 92) transparent transparent;
    left: 98%;
    position: absolute;
}

.tooltips-outer{
    width:25px;
    float:right;
    white-space: normal;
}

.oe_list_content input[type="checkbox"]{
    margin:0!important;
}
.openerp .oe_leftbar > div {
    display: table;
    height: 100%;
    position: relative;
    width: 120px;
}
.openerp .oe_form_field_many2one {
    display: flex;
}
.noinlineblock{
    display:none!important;
}
.openerp .oe_dropdown_hover:hover .oe_dropdown_menu, .openerp .oe_dropdown_menu.oe_opened {
    z-index: 190000!important;
}

.red_background_input {
    border: 1px solid #FF0000 !important;
}
.external-state-error, .external-state-warning, .external-state-success {
    padding-left: 18px;
}

#tooltip-external-state{
    position: absolute;
    z-index: 1800;
    display: none;
    width: 250px;

}

#tooltip-external-state > div{
    position: relative;
    width: 250px;
    margin-left:-300px;
    margin-top:-8px;
    font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif;
    font-size: 12px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
    padding: 3px 8px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    background-color: rgb(0, 45, 92);
    border-radius: 4px;
    float: left;
}


div.external-state-error:hover > #tooltip-external-state,
div.external-state-warning:hover > #tooltip-external-state,
div.external-state-success:hover > #tooltip-external-state,
div.geo-reponse-error:hover > #tooltip-geo-reponse,
div.geo-reponse-warning:hover > #tooltip-geo-reponse,
div.geo-reponse-success:hover > #tooltip-geo-reponse{
    display: inline-block;
}

.external-state-error:before,
.external-state-warning:before,
.external-state-success:before,
.geo-reponse-error:before,
.geo-reponse-warning:before,
.geo-reponse-success:before {
    font-family: "FontAwesome";
    font-size: 20px;
    margin-left: -18px;
    width: 16px;
    height: 16px;
}

.geo-reponse-success:before,
.external-state-success:before{
    content: "\f05d";
    color: #4CAF50;
}

.external-state-error:before,
.geo-reponse-error:before {
    content: "\f05c";
    color: #E91E63;
}

.external-state-warning:before,
.geo-reponse-warning:before {
    content: "\f06a";
    color: #ffc107;
}

.external-state-error:before,
.external-state-warning:before,
.external-state-success:before{
    float: left;
}

.geo-reponse-warning:before,
.geo-reponse-success:before,
.geo-reponse-error:before {
    float: right;
    margin-top: -22px;
}


#tooltip-geo-reponse{
    z-index: 1800;
    display: none;
    width: 350px;
    float: right;

}

#tooltip-geo-reponse > div{
    position: relative;
    float: right;
    width: 350px;
    margin-top: 5px;
    font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif;
    font-size: 12px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
    padding: 3px 8px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    background-color: rgb(0, 45, 92);
    border-radius: 4px;
}

.openerp .oe_list_content td, .openerp .oe_list_content th {
     padding: 2px!important;
}

.oe_view_manager_view_ordermap{
    width:100%;
    height:90%;
}
.oe_order_map_view {
    width:100%;
    height:100%;
}
#map-canvas {
    width:100%;
    height:93%;
}

#map-legend {
    width:100%;
}

.map-legend-image img{padding: 7.5px; height: 40px;}

.marker-label {
    color: rgb(0, 45, 92);
    background-color: white;
    font-weight: bold;
    font-size: 11px;
    text-align: center;
    white-space: nowrap;
}

/*CSS HACK FOR TAXES ADDED TO INVOICE.LINES, since they are invisible...*/
.text-core .text-wrap .text-tags.text-tags-on-top {
    z-index: 100;
}
.text-core .text-wrap .text-tags .text-tag .text-button {
    z-index: 100;
}

.openerp .oe_kanban_view .oe_kanban_content .oe_star_on,
.openerp .modal-body .oe_star_on {
    color: gold!important;
}

.openerp .oe_kanban_view .oe_kanban_content .oe_star_off,
.openerp .modal-body .oe_star_off {
    color: #ccc!important;
}
