body {
    font-size: 12px;
    margin: 0;
    padding: 0;
}

table {
    font-size: 12px;
}

img {
    border: none;
}

.twocolumn {
    width: 45%;
    margin-top: 20px;
    margin-right: 20px;
    float: left;
}

.twothirdcolumn {
    width: 65%;
    float: left;
}

.thirdcolumn {
    width: 35%;
    float: left;
}

.w50 {
    width: 49%;
    margin-top: 20px;
}


#order_we_zuordnungen ul,
#workorder_we_zuordnungen ul {
    width: 350px;
    height: 200px;
    overflow: scroll;
    margin: 5px;
    border: 1px solid #cccccc;
    list-style: none;
    padding-left: 5px;
}

#part_contact_zuordnungen ul,
#arrival_part_zuordnungen ul {
    width: 700px;
    height: 200px;
    overflow: scroll;
    margin: 5px;
    border: 1px solid #cccccc;
    list-style: none;
    padding-left: 5px;
}

#part_contact_del,
#arrival_part_del {
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 15px 15px 15px 15px;
    -moz-border-radius: 15px 15px 15px 15px;
    -webkit-border-radius: 15px 15px 15px 15px;
    background: rgba(255,0,0,0.5);
}

#projekt_gruppen_avail {
    width: 100px !important;
}

.piechart {
    height:300px;
    width:500px;
    float:left;
}

.piechart p {
    text-align: center;
    margin-top: 50px;
}

.clear {
    clear:both;
}

.fl { float:left; }
.fr { float:right !important; }
.paramtable { width: 512px; }

.today { background-color: #ffff00; }
.future { color: #cccccc !important; }
.readonly {
    background-color: #ffdddd !important;
    color: #ff4444 !important;
}

.ui-jqgrid tr.jqgroup td {
    height: auto;
    min-height: 22px;
}

.small {
    font-size: 8px;
}

.toolbarstyling {
    font-size: 11px !important;
}


/* Autowrap table column headers! */
th.ui-th-column div {
    white-space:normal !important;
    height:auto !important;
    padding:2px;
}

/* Gruppenzeiterfassungsmaske */
#tabs.dialog {
    width: 400px;
}
table.dialog {
    width: 100%;
    color: #4297D7;
}
table.dialog input
{
    width: 200px;
}

/* Doku / Infoboxes */
.infotext {
    border: 1px solid #aaaaaa;
    background-color: #eeeeee;
    padding: 3px;
    margin: 3px;
}

.warningtext {
    border: 1px solid #aaaaaa;
    background-color: #ffeeee;
    color: #ff0000;
    padding: 3px;
    margin: 3px;
}

/* Fix Z-Index for autocomplete fields behind dialogs */
.ui-autocomplete {
    z-index: 10000 !important;
}

/* Login screen */
#loginboxcontainer {
    position: absolute;
    top: 50%;
    margin-top: -85px;
    left: 0;
    width: 100%;
}

#loginbox {
    width: 500px;
    height: 200px;
    margin: 0 auto;
    -webkit-border-radius: 10px;
            border-radius: 10px;
    -webkit-box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.5);
            box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.5);
    border: 1px solid #888888;
    padding: 20px;
    color: #cccccc;
}

#loginbox {
    background: rgb(59,103,158);
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMTAwJSI+CiAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjM2I2NzllIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNTAlIiBzdG9wLWNvbG9yPSIjMmI4OGQ5IiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNTElIiBzdG9wLWNvbG9yPSIjMjA3Y2NhIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwNTBhNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
    background: -moz-linear-gradient(-45deg, rgba(59,103,158,1) 0%, rgba(43,136,217,1) 50%, rgba(32,124,202,1) 51%, rgba(0,80,165,1) 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(59,103,158,1)), color-stop(50%,rgba(43,136,217,1)), color-stop(51%,rgba(32,124,202,1)), color-stop(100%,rgba(0,80,165,1)));
    background: -webkit-linear-gradient(-45deg, rgba(59,103,158,1) 0%,rgba(43,136,217,1) 50%,rgba(32,124,202,1) 51%,rgba(0,80,165,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(59,103,158,1) 0%,rgba(43,136,217,1) 50%,rgba(32,124,202,1) 51%,rgba(0,80,165,1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(59,103,158,1) 0%,rgba(43,136,217,1) 50%,rgba(32,124,202,1) 51%,rgba(0,80,165,1) 100%);
    background: linear-gradient(135deg, rgba(59,103,158,1) 0%,rgba(43,136,217,1) 50%,rgba(32,124,202,1) 51%,rgba(0,80,165,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3b679e', endColorstr='#0050a5',GradientType=1 );
}

#loginbox form {
    width: 50%;
    float: right;
}


#loginbox label {
    display: block;
    font-weight: bold;
}

#loginbox input,
#loginbox button {
    -webkit-border-radius: 10px;
            border-radius: 10px;
    border-color: rgba(100, 100, 255, 0.5);
    display: block;
    padding-left: 5px;
    height: 30px;
    margin-bottom: 20px;
}

#loginbox input {
    background-color: transparent;
    color: #ffffff;
    width: 240px;
}

#loginbox button {
    float: right;
    background-color: rgba(0,0,0,0.5);
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 0px;
}

#loginbox .version {
    float: right;
    text-align: right;
    clear:both;
    margin:0;
    padding: 0;
    margin-top: 10px;
    color: rgba(255,255,255,0.5);
}

#article_selector {
    z-index: 10000;
    border: 1px solid red;
    background: #cccccc;
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
}

.dialogue{ z-index: 10000 !important; }

ul.ui-tabs-nav li img {
    vertical-align: text-top;
    margin-right: 5px;
}

#analyze button,
#part_bar button,
#arrival_bar button,
#workorder_bar button,
#worksequence_bar button,
#contact_bar button,
#article_bar button,
#offer_bar button,
#order_bar button,
#order_pos_bar button,
#delivery_bar button,
#inventory_bar button,
#invoice_bar button {
    border: 1px outset #444444;
    -webkit-border-radius: 5px;
            border-radius: 5px;
    background: rgba(0,0,0,0.1);
    padding-left: 5px;
    padding-right: 7px;
}

#analyze button:hover,
#part_bar button:hover,
#arrival_bar button:hover,
#workorder_bar button:hover,
#worksequence_bar button:hover,
#contact_bar button:hover,
#article_bar button:hover,
#offer_bar button:hover,
#order_bar button:hover,
#delivery_bar button:hover,
#inventory_bar button:hover,
#invoice_bar button:hover {
    border: 1px inset #444444;
    padding-right: 5px;
    padding-left: 7px;
}

/*
.ui-jqgrid .ui-userdata {
    height: 25px !important;
}
*/

#initial_overlay {
    position: absolute;
    z-index: 100000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
}

#analyze .fix {
    display: inline-block;
    width: 100px;
}

.right {
    text-align: right;
}

#logout {
    width: 30px;
    height: 30px;
    -webkit-border-radius: 15px;
            border-radius: 15px;
}

#logout img {
    margin-left: 2px;
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}

div[id^="DelTbl_"] {
    position: inherit !important;
}

#lightbox {
    z-index: 10000;
    border: 1px solid red;
    background: rgba(0,0,0,0.6);
}

#lightbox.fullscreen {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    padding: 50px;
}


#attachments table td {
    padding: 5px;
    font-size: 12pt;
}

#attachments table thead {
    font-weight: bold;
}

#attachments table thead td {
    border-bottom: thin solid black;
}

#attachments a.image img {
    border: 3px solid rgba(0,0,0,0.3);
    margin: 10px;
}

span.search input {
    width: 25px;
}

/* tinyMCE responsive */

/*Container, container body, iframe*/
.mce-tinymce, .mce-container-body, #code_ifr {
    min-height: 100% !important;
}
/*Container body*/
.mce-container-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
/*Editing area*/
.mce-container-body .mce-edit-area {
    position: absolute;
    top: 69px;
    bottom: 37px;
    left: 0;
    right: 0;
}
/*Footer*/
.mce-tinymce .mce-statusbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}


/* Menu Styling */
/*
#mainmenu.menu0 {
    display: block !important;
}
*/

#dashmenu {
    width: 24%;
    float: left;
    padding-top: 20px;
}

#dashpersons {
    width: 24%;
    float: right;
    padding-top: 20px;
}

#dashmenu ul,
#dashpersons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#dashmenu ul li {
    margin: 0;
    margin-bottom: 5px;
}

#dashpersons ul li {
    width: 90%;
    margin: 0;
    margin-bottom: 5px;
    padding: 10px;
    text-align: center;

    border: 1px dashed #cccccc;
    background-color: rgba(0,200,0,0.3);
    color: #000000;
    font-size: 14px;
    font-family: Lucida Grande,Lucida Sans,Arial,sans-serif;
}

#dashmenu ul li a {
    display: block;
    width: 90%;
    min-height: 32px;
    line-height: 32px;
    text-decoration: none;
}

#mainmenu ul,
#timetrackmenu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    position: relative;
}

#mainmenu.menu0 ul li {
    width: 22%;
    float: left;
    padding: 20px;
    min-width: 200px;
    height: 200px;
}


#mainmenu.menu0 ul li button {
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 20px;
}

#mainmenu.menu0 img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
    width: 48px;
}

#mainmenu.menu0 button.disabled {
    opacity: 0.5 !important;
    cursor: default;
}


/* Logout styling */
#logout,
#helpbutton,
#menubutton,
#timetrackbutton {
    margin-left: 15px;
    width: 30px;
    height: 30px;
    -webkit-border-radius: 15px;
            border-radius: 15px;
}

/* Dropdown Menu Styling */
#mainmenu.dropdown,
#timetrackmenu.dropdown {
    /*height: 200px;*/
    max-height: 600px;
    width: 400px;
    overflow: scroll;
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    background: rgba(0, 0, 0, 0.7) none repeat scroll 0 0;
    color: #ffffff;
    font-size: 10pt;
    padding-top:10px;
    padding-bottom:10px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
}

#mainmenu.dropdown li {
    margin:0;
    line-height: 25px;
    height: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
}

#mainmenu.dropdown li.disabled {
    opacity: 0.3 !important;
    cursor: default !important;
}


#mainmenu.dropdown li:last-child {
    border: none;
}

#mainmenu.dropdown li:hover {
    background: rgba(255,255,255,0.2);
}

#mainmenu.dropdown img {
    display: block;
    float: left;
    margin-left: 10px;
    margin-right: 9px;
    margin-top: 4px;
    width: 16px;
}

#menubutton .icon-bar {
    border-radius: 1px;
    display: block;
    height: 2px;
    width: 16px;
    margin-bottom: 2px;
    background-color: #53ade6;
    /* border-color: #81d9f4; */
}

#timetrackbutton img {
    position: absolute;
    width: 16px;
    left: 23px;
    top: 7px;
}

#timetrackmenu {
    padding-left: 10px;
    padding-right: 10px;
}

#timetrackmenu.dropdown li {
    margin:0;
    line-height: 25px;
    height: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-weight: bold;
}

#timetrackmenu li.type1 {
    color: green;
}

#timetrackmenu li.type2 {
    color: orange;
}

#timetrackmenu ul.tt_active {
    background-color: #cccccc;
    color: black;
    vertical-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

#timetrackmenu ul.tt_active img {
    width: 16px;
    vertical-align: middle;
    cursor: pointer;
}

/* DEBUG FOOTER */

#footer_debug {
    clear: both;
    border: 2px solid red;
    z-index: 1000;
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    background-color: #ff0000;
    overflow: hidden;
}

#footer_debug:hover {
    width: 100%;
    height: auto;
    z-index: 1000;
    background-color: #ffffff;
    overflow: unset;
}

#footer_debug table th {
    text-align: left;
}

#footer_debug table {
    width: 100%;
}

/* Part Image hover box styling */
#part_image_hover {
    width: 100;
    height: 100;
    position: fixed;
    padding: 15px;
    border-radius: 10px;
    background-color: rgba(0,0,0,0.5);
}

.part_search_box {
    padding: 10px;
}

.part_search_box a {
    display: block;
    width: 200px;
    height: 300px;
    margin-left: 5px;
    margin-bottom: 5px;
    padding: 5px;
    overflow: hidden;
    border: 1px solid red;
    float: left;
    cursor: pointer;
}

.disabled {
    background: rgba(255,0,0,0.3) !important;
}

tr.warning td {
    background-color: rgba(255,0,0,0.1);
}

.attachment_sort a {
    font-size: 150%;
    font-weight: bold;
    text-decoration: none;
    color: inherit;
}



/* FleetBoardTools */
.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}

div[id^="DelTbl_"] {
    position: inherit !important;
}

td[aria-describedby="tagesdaten_list_count_schicht"],
td[aria-describedby="tagesdaten_list_count_timemgmt"]
 {
    white-space: normal !important;
}
