.ui-btn-icon-notext.ui-corner-all{
    -webkit-border-radius: .3125em;
    border-radius: .3125em;
    margin: 0;
}
.ui-btn-icon-left:after, .ui-btn-icon-right:after, .ui-btn-icon-top:after, .ui-btn-icon-bottom:after, .ui-btn-icon-notext:after {
    height: 28px;
    width: 28px;
    margin-left: -14px;
    margin-top: -14px;
}
h3{
    height: 20px; overflow: hidden;
}
table{
    border-collapse: collapse;
    width: 100%;
}

.bb_sn {
    background: #bbb !important;
}

.sb_sn {
    background: #bbb !important;
}
.selecttd .ui-select.ui-mini{
    margin: 0 !important;
}
h3#btltop {
    display: inline;
}
.blackbox tr:hover td {
    background: white !important;
}

.blackbox td {
    border: 1px solid #aaa !important;
}
a#cllinik {
    color: #333;
    cursor: pointer;
    text-shadow: 1px 1px 1px grey;
    top: -1px;
    position: relative;
}
.datebox.scrollDate {
    box-shadow: 0px 0px 0px 2px rgba(255, 158, 0, 0.84) inset;
}
a#cllinik:hover {
    color: #888; 
}
.bb_status {
    position: absolute;
    bottom: 0px;
    left: 35px;
    right: 35px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    color: white;
    font-size: 9.5px;
    color: black;
    font-weight: bold;
    cursor: pointer;
    box-shadow: hsla(0, 0%, 0%, 0.45) 0px 1px 5px inset;
    margin-top: 2px;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}


.bb_state_new {
    background: #a5ccff;
}

.bb_state_ordered {
    background: #a5ffa7;
}

.bb_state_changed {
    background: #ffefa5;
}

.bb_state_deleted {
    background: #ffa5a5;
}
.bauteil {
    overflow: hidden;
    clear: left;
    padding: 10px 5px;
}

.bt_element {
    float: left;
    cursor: pointer;
    border-left: 1px solid #aaa;
    padding: 2px;
    margin: 2px;
    border-bottom: 1px solid #aaa;
    background: rgba(255,255,255,0.4);
    box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.15);
}

.bt_text {
    font-size: 14px;
}
.lieferwerk {
    border-top: 1px solid #888;
}
div#udasi {
    text-align: right;
    overflow: visible;
}

a#new_lw {
    margin-right: 10px;
}
.lieferwerk:first-child {
    border-top: none;
}
.bt_label {
    font-size: 10px;
    font-style: italic;
}

.bauteil.even {}

.bauteil.odd {
    background: #EAEAEF;
}

.tablesorter-sticky-wrapper th, .tablesorter-sticky-wrapper td {
    background: white;
}

table.tablesorter-stickyHeader {
    border-bottom: 1px solid #5878A7;
}

div#bauteil_wrapper {
    padding: 0px;
    /*max-height: 400px; */
    position: relative;
}

.bt_element:hover {
    background: rgba(0,0,100,0.15);
}

#position_wrapper{
    height: 400px;
    padding: 0px;
    position: relative;
}

.faded{
    opacity: 0.7;
}

.dDselect .ui-select{
    max-width: 250px;
}

.eButton {
    text-align: right;
}

td, th{
    border-bottom: 1px solid #5878A7;
    border-top: 1px solid #5878A7;
    vertical-align: middle;
    text-align: left;
    padding: 5px;
}



th{
    border-top-width: 0px;
}

tr:last-child td{
    border-bottom-width: 0px;
}


tr:hover td, tr.hovered td {background-color: #eff2ff;}

/*** custom css only popup ***/
.columnSelectorWrapper {
  position: relative;
  /* margin: 10px 0; */
  display: inline-block;
  /* margin-bottom: 4px; */
  /* margin-top: 5px; */
  margin-left: 5px;
}
.columnSelector, .hidden {
  display: none;
}
.columnSelectorButton {
  background: #99bfe6;
  border: #888 1px solid;
  color: #111;
  border-radius: 5px;
  padding: 5px;
}
#colSelect1:checked + label {
  background: #5797d7;
  border-color: #555;
}
#colSelect1:checked ~ #columnSelector {
  display: block;
}
.columnSelector input[type="checkbox"] {
    visibility: visible;
}
.columnSelector {
     width: 200px;
     font-weight: normal;
     font-size: 16px;
     position: absolute;
     top: 0px;
     padding: 10px;
     right: 36px;
     text-align: left;
     background: #fff;
     border: #99bfe6 1px solid;
     border-radius: 5px;
     z-index: 200;
     box-shadow: 2px 2px 10px grey;
}
.columnSelector label {
  display: block;
}
.columnSelector label:nth-child(1) {
  border-bottom: #99bfe6 solid 1px;
  margin-bottom: 5px;
}
.columnSelector input {
  margin-right: 5px;
}
.columnSelector .disabled {
  color: #ddd;
}
.tablesorter-filter{
   width: 100%;
    
}
.tablesorter-filter-row{
    
    background: white;
    
}

div#udasi2 {
    text-align: right;
 

}

#gridda {
   height:35px;
    overflow: visible;
}

div#sorten_wrapper {
    padding: 4px;
}
.dateline_box {
    float: left;
    width: 125px;
    overflow: hidden;
    background: #555;
    height: 20px;
    color: white;
    border-right: 1px solid rgba(255,255,255,0.5);
    text-shadow: none;
}

.dateline_box_inner {
    font-size: 14px;
    width: 150px;
    padding: 0px 2px;
}

div#kl_body {
    width: 2000px;
    margin-left: 102px;
}

div#kalender_wrapper {
    padding: 0;
    position: relative;
    overflow: scroll;
    width: 100%;
}

.lw_height {
    height: 140px;
    border-top: 1px solid rgba(0,0,0,0.5);
}

.lw_line {
    clear: left;
}

.datebox {
    /* border: 1px solid black; */
    width: 125px;
    height: 100%;
    float: left;
    background: #f5f5f5;
    border-right: 1px solid rgba(0,0,0,0.2);
}

div#kl_wrap {
    overflow: scroll;
    float: left;
    position: relative;
    /* left: 20px; */
    width: 100%;
}

div#kl_legend {
    border-right: 2px solid rgba(0,0,0,0.5);
    position: absolute;
    /* top: 22px; */
    z-index: 2;
    left: 0px;
}

div#kl_legend {}

.lw_legend {
    /* border: 1px solid black; */
    width: 100px;
    background: #333;
    color: white;
    text-shadow: none;
}

.lw_legend_inner {
	/* transform: rotate(270deg); */
	/* transform-origin: left top 0; */
	/* float: left; */
	/* position: relative; */
	/* top: 100px; */
	font-size: 13px;
	padding: 4px;
	padding-left: 6px;
}
.lw_legend.lw_date_legend {
    height: 20px;
}
.ui-overlay-a {
    background: white !Important;
}
.lw_legend.lw_date_legend {
    height: 20px;
}

body {
    background: white;
}

.ui-overlay-a {
    background: white !Important;
}

.dateline_box.kalbox_7 {
    background: rgba(60,60,100,1)
}
.ui-btn-icon-notext.ui-corner-all{
    -webkit-border-radius: .3125em;
    border-radius: .3125em;
    margin: 0;
    width: 54px;
    height: 36px;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.25);
    margin-bottom: 5px;
    background-color: #ddd;
    border-color: #aaa;
    border-width: 1.5px;
}

table{
    border-collapse: collapse;
    width: 100%;
}

.selecttd .ui-select.ui-mini{
    margin: 0 !important;
}
h3#btltop {
    display: inline;
}
.bestellungsbox {
    margin: 2px;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    /* width: 109px; */
    background: #efefef;
    user-select: none;
    float: left;
    border: 1px solid black;
    text-shadow: none;
    border-radius: 4px;
}
.leaflet-top, .leaflet-bottom {
    z-index: 299 !important;
}
.bb_an {
    float: left;

    background: black;
    color: white;
    padding: 2px 4px;
    font-weight: bold;
}

.bb_input input {
    font-size: 12px;
    display: inline;
    width: 60%;
}

.bb_input div {
    display: block;
    font-size: 13px;
    width: 38%;
    float: left;
    line-height: 23px;
    box-sizing: border-box;
}

.bb_sn {
    /* float: left; */
    padding: 1.5px 4px;
    border-bottom: 1px solid black;
    /* width: 85px; */
    height: 20px;
    /* background: rgb(186, 85, 211); */
    overflow: hidden;
}

.bb_input {
    width: 100%;
    padding: 2px;
    box-sizing: border-box;
}

.bb_del {
    float: left;
    width: 25px;
    height: 25px;
    line-height:25px;
    text-align: center;
    background: black;
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin-top: 2px;
    border-top-right-radius: 3px;
}
.bb_info {
    float: right;
    width: 25px;
    height: 25px;
    line-height:25px;
    text-align: center;
    background: black;
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin-top: 2px;
    border-top-left-radius: 4px;
}
a#cllinik {
    color: #333;
    cursor: pointer;
    text-shadow: 1px 1px 1px grey;
    top: -1px;
    position: relative;
}

a#cllinik:hover {
    color: #888;
}
.bauteil {
    overflow: hidden;
    clear: left;
    padding: 10px 5px;
}

.bt_element {
    float: left;
    cursor: pointer;
    border-left: 1px solid #aaa;
    padding: 2px;
    margin: 2px;
    border-bottom: 1px solid #aaa;
    background: rgba(255,255,255,0.4);
    box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.15);
}

.bt_text {
    font-size: 14px;
}
.lieferwerk {
    border-top: 1px solid #888;
}
div#udasi {
    text-align: right;
}

a#new_lw {
    margin-right: 10px;
}
.lieferwerk:first-child {
    border-top: none;
}
.bt_label {
    font-size: 10px;
    font-style: italic;
}

.bauteil.even {}

.bauteil.odd {
    background: #EAEAEF;
}

.tablesorter-sticky-wrapper th, .tablesorter-sticky-wrapper td {
    background: white;
}

table.tablesorter-stickyHeader {
    border-bottom: 1px solid #5878A7;
}

div#bauteil_wrapper {
    padding: 0px;
    /*max-height: 400px; */
    position: relative;
}

.bt_element:hover {
    background: rgba(0,0,100,0.15);
}

#position_wrapper, #positionX_wrapper{
    height: 400px;
    padding: 0px;
    position: relative;
}

.faded{
    opacity: 0.7;
}

.dDselect .ui-select{
    max-width: 250px;
}

.eButton {
    text-align: right;
}

td, th{
    border-bottom: 1px solid #5878A7;
    border-top: 1px solid #5878A7;
    vertical-align: middle;
    text-align: left;
    padding: 5px;
}



th{
    border-top-width: 0px;
}

tr:last-child td{
    border-bottom-width: 0px;
}


tr:hover td, tr.hovered td {background-color: #eff2ff;}

/*** custom css only popup ***/
.columnSelectorWrapper {
  position: relative;
  /* margin: 10px 0; */
  display: inline-block;
  /* margin-bottom: 4px; */
  /* margin-top: 5px; */
  margin-left: 5px;
}
.columnSelector, .hidden {
  display: none;
}
.columnSelectorButton {
  background: #99bfe6;
  border: #888 1px solid;
  color: #111;
  border-radius: 5px;
  padding: 5px;
}
#colSelect1:checked + label {
  background: #5797d7;
  border-color: #555;
}
#colSelect1:checked ~ #columnSelector {
  display: block;
}
.columnSelector input[type="checkbox"] {
    visibility: visible;
}
.columnSelector {
     width: 200px;
     font-weight: normal;
     font-size: 16px;
     position: absolute;
     top: 0px;
     padding: 10px;
     right: 36px;
     text-align: left;
     background: #fff;
     border: #99bfe6 1px solid;
     border-radius: 5px;
     z-index: 200;
     box-shadow: 2px 2px 10px grey;
}
.columnSelector label {
  display: block;
}
.columnSelector label:nth-child(1) {
  border-bottom: #99bfe6 solid 1px;
  margin-bottom: 5px;
}
.columnSelector input {
  margin-right: 5px;
}
.columnSelector .disabled {
  color: #ddd;
}
.tablesorter-filter{
   width: 100%;
    
}
.tablesorter-filter-row{
    
    background: white;
    
}

div#udasi2, div#udasi3 {
    text-align: right;
 

}

#gridda {
   height:35px;
    overflow: visible;
}

div#sorten_wrapper {
    padding: 4px;
}
.dateline_box {
    float: left;
    width: 129px;
    overflow: hidden;
    background: rgb(0, 69, 148);
    height: 20px;
    color: white;
    border-right: 1px solid rgba(255,255,255,0.5);
    text-shadow: none;
}

.dateline_box_inner {
    font-size: 14px;
    width: 150px;
    padding: 0px 2px;
}
.leaflet-top.leaflet-right {
    z-index: 299;
}
div#kl_body {
    width: 2000px;
    margin-left: 102px;
}

div#kalender_wrapper {
    padding: 0;
    position: relative;
    overflow: auto;
    width: 100%;
}

.lw_height {
    height: 400px;
    border-top: 1px solid rgba(0,0,0,0.5);
}

.lw_line {
    clear: left;
}

.datebox {
    /* border: 1px solid black; */
    width: 125px;
    height: 100%;
    padding: 2px;
    float: left;
    overflow: auto;
    background: #fefefe;
    border-right: 1px solid rgba(0,0,0,0.2);
}

div#kl_wrap {
    overflow: auto;
    float: left;
    position: relative;
    /* left: 20px; */
    width: 100%;
}

div#kl_legend {
    border-right: 2px solid rgba(0,0,0,0.5);
    position: absolute;
    /* top: 22px; */
    z-index: 2;
    left: 0px;
}

div#kl_legend {}

.lw_legend {
    /* border: 1px solid black; */
    width: 100px;
    background: rgba(0, 45, 97, 0.9);
    color: white;
    text-shadow: none;
    padding: 1px;
}

.lw_legend_inner {
	/* transform: rotate(270deg); */
	/* transform-origin: left top 0; */
	/* float: left; */
	/* position: relative; */
	/* top: 100px; */
	/* font-size: 13px; */
	/* padding: 4px; */
}
.lw_legend.lw_date_legend {
    height: 20px;
}
.ui-overlay-a {
    background: white !Important;
}
.lw_legend.lw_date_legend {
    height: 20px;
}

body {
    background: white;
}

.ui-overlay-a {
    background: white !Important;
}

.dateline_box.kalbox_7 {
    background: rgb(1, 45, 95);
}

.dateline_box.kalbox_6 {
    background: rgba(60,60,100,1);
}

.datebox.kalbox_6 {
    background: rgba(250,250,255,1);
}

.datebox.kalbox_7 {
    background: rgba(240,240,255,1);
}
.sortenbox {
    cursor: pointer;
    -webkit-user-select: none; /* Chrome/Safari */        
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE10+ */

/* Rules below not implemented in browsers yet */
-o-user-select: none;
user-select: none;
    float: left;
    margin: 4px;
    border: 1px solid black;
    text-shadow: none;
    border-radius: 4px;
}

.sb_an {
    float: left;
    padding: 2px 4px;
    font-weight: bold;
}

.sb_sn {
    float: left;
    padding: 2px 4px;
}

.dateline_box.kalbox_6 {
    background: rgb(1, 45, 95);
}

.datebox.kalbox_6 {
    background: rgba(250,250,255,1);
}

.datebox.kalbox_7 {
    background: rgba(240,240,255,1);
}
.sortenbox {
    cursor: pointer;
    -webkit-user-select: none; /* Chrome/Safari */        
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE10+ */

/* Rules below not implemented in browsers yet */
-o-user-select: none;
user-select: none;
    float: left;
    margin: 4px;
    border: 1px solid black;
    text-shadow: none;
    border-radius: 4px;
}
.ui-controlgroup-controls.textt {
    margin: 0;
    min-height: 2.2em;
    text-align: left;
    /* border: 0; */
    background: transparent none;
    -webkit-appearance: none;
    -webkit-border-radius: inherit;
    /* border-radius: inherit; */
    padding: .4em;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 3px 0px inset;
    line-height: 1.4em;
    display: block;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: 0;
    background-color: #fff;
    border-color: #ddd;
    color: #333;
    text-shadow: 0 1px 0 #f3f3f3;
    margin: .5em 0;
    cursor: not-allowed;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
    border-width: 1px;
    border-style: solid;
    -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.2);
    -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.2);
    box-shadow: inset 0 1px 3px rgba(0,0,0,.2);
    -webkit-background-clip: padding;
    background-clip: padding-box;
    -webkit-border-radius: .3125em;
    border-radius: .3125em;
}

.sb_an {
    float: left;
    padding: 2px 4px;
    font-weight: bold;
}

.sb_sn {
    float: left;
    padding: 2px 4px;
}
.datebox::-webkit-scrollbar {
    -webkit-appearance: none;
}

.datebox::-webkit-scrollbar:vertical {
    width: 8px;
}

.datebox::-webkit-scrollbar:horizontal {
    height: 8px;
}

.datebox::-webkit-scrollbar-thumb {
    border-radius: 4px;
    border: 2px solid white; /* should match background, can't be transparent */
    background-color: rgba(255, 0, 0, 0.5);
}

.datebox::-webkit-scrollbar-track { 
    background-color: #fff; 
    border-radius: 4px; 
} 