@font-face {
    font-family: "GraublauWeb";
    src: url("GraublauWeb.otf");
}

@font-face {
    font-family: "GraublauWebBold";
    /*font-weight: bold;*/
    src: url("GraublauWebBold.otf");
}

* {
    padding: 0;
    margin: 0;
}

/*
h1, h2, h3, h4, h5, h6, p, a, select, input, option, ul, li {
    font-family: Arial;
    font-size:	16px;
}
*/

h1, h2, h3, h4, h5, h6 {
    font-family: Arial;
    font-size: 16px;
}

body {
    /*padding: 10px;*/
    background-color: #eee;
}

.debug {
    background: #fff;
    border: 1px solid red;
}

#debuginfos {
    position: absolute;
    bottom: 15px;
    left: 15px;
    height: 200px;
    width: 200px;
    background: #fff;
    border: 1px solid red;
    display: block;
}

#page {
    min-width: 1000px;
    margin-left: 20px;
    margin-right: 20px;
    background-color: #fff;
    padding: 0 15px 15px 15px;
    min-height: 100%;
    border-left: 2px solid #ddd;
    border-right: 2px solid #ddd;
}

a {
    text-decoration: underline;
}

#submenu a:link {
    color: #b00;
}

/* unvisited link */
#submenu a:visited {
    color: #b00;
}

/* visited link */
#submenu a:hover {
    color: #f00;
    text-decoration: underline
}

/* mouse over link */
#submenu a:active {
    color: #b00;
}

/* selected link */

a:link {
    color: #00008B;
}

/* unvisited link */
a:visited {
    color: #00008B;
}

/* visited link */
a:hover {
    color: #f00;
    text-decoration: underline
}

/* mouse over link */
a:active {
    color: #b00;
}

/* selected link */

p {
    margin: 10px 0;
    font-family: "Arial", Verdana;
    font-size: 10pt;
}

h1 {
    /*border-bottom: 1px solid blue; */
    font: 34px Arial, "Times New Roman";
    padding: 10px 10px 0px 0px;
    margin: 0 0 10px 0;
    font-style: italic;
    border-bottom: 2px solid #ddd;
}

h2 {
    font: bold 25px Arial, 'Droid Sans', Arial, Verdana, sans-serif;
    margin: 10px 0 10px 0;
}

h3 {
    margin: 10px 0 10px 0;
}

.shadow {
    text-shadow: 2px 2px 2px #a3a3a3;
    filter: dropshadow(color=#a3a3a3, offx=2, offy=2);
}

.dropshadow {
    -moz-box-shadow: 3px 3px 4px #000;
    -webkit-box-shadow: 3px 3px 4px #000;
    box-shadow: 3px 3px 4px #000;
}

ol li, ul li {
    /*margin: 0 0 0 20px;*/
    font-size: 12px;
    font-family: Arial;

}

#top {
    /*background: #ddd;*/
}

#logo {
    /*float: left;*/
    padding: 10px;
    width: 25%;
    max-width: 400px;
}

#logo h1 {
    border: medium none;
    float: right;
    font: italic 40px "Times New Roman";
    font-stretch: expanded;
}

#menu {
    margin: 0 20px 25px 20px;
    padding: 30px 20px 0 20px;
    text-align: right;
}

#menu ul li {
    margin: 0;
    text-shadow: 2px 2px 2px #e6e6e6;
    filter: dropshadow(color=#e6e6e6, offx=2, offy=2);
}

#menu li {
    display: inline;
    padding-left: 10px;
}

/*
#submenu {}
#submenu ul{ list-style-type:none; margin:0; padding:0; }
#submenu li { float:left; padding:0; margin:0;}
#submenu li a { width:150px; display:block; text-align:center; color:#000; margin-right:5px; height:35px; line-height:35px; text-decoration:none; font-size:80%; border:1px solid #ccc; }
#submenu li a:hover { color:#f00; }
#submenu ul ul { display:none; position:absolute; z-index:999; }
#submenu li li { float:none; }
#submenu li li a { background:#EBE7E6!important; text-align:left; height:auto; line-height:1; width:auto; padding:8px 20px 8px 22px; border:1px solid #D0D0D0; border-top:none; margin-right:0; }

*/

* html li li {
    display: inline;
}

/* IE6 Bugfix... */

#submenu {
    background: none repeat scroll 0 0 #F3F3F3;
    clear: both;
    height: 30px;
    margin: 5px -15px;
    padding: 5px 9px;
}

#submenu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#submenu input {
    border: 1px solid #ddd;
    font-size: 11pt;
}

#submenu .searchfield {
    float: right;
    margin: 5px 15px 0 15px;
}

#submenu li {
    float: left;
    padding: 0;
    margin: 0;
}

#submenu li a {
    color: #000000;
    display: block;
    font-family: Arial;
    font-size: 16px !important;
    margin: 0 0 0 0;
    padding: 5px 15px 9px 15px;
    text-align: left;
    text-decoration: none;

}

#submenu > ul > li {
    border: 1px solid #F3F3F3;
}

#submenu > ul > li:hover {
    background: #EBE7E6 !important;
    border: 1px solid #D0D0D0;
    border-top-right-radius: 0.5em;
    border-top-left-radius: 0.5em;
}

#submenu ul ul {
    display: none;
    position: absolute;
    z-index: 999;
}

#submenu li li {
    float: none;
}

#submenu li li a {
    background: #EBE7E6 !important;
    text-align: left;
    height: auto;
    line-height: 1;
    width: auto;
    padding: 12px 20px 12px 22px;
    border: 1px solid #D0D0D0;
    border-top: none;
    margin-right: 0;
    margin-left: -1px;
    font-size: 10pt !important;
}

#submenu li li:first-child a {
    border-top-right-radius: 0.5em;
}

#submenu li li:last-child a {
    border-bottom-left-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
}

.count-bubble {
    font-weight: bold;
    padding: 0.1em 0.7em 0.1em 0.7em;
    margin: -0.2em 0 0 0.7em;
    background-clip: padding-box;
    border-radius: 1em 1em 1em 1em;
    text-decoration: none;
    border: 2px solid #fff;
    color: #ffffff;
}

#submenu a:hover .count-bubble {
    text-decoration: none;
    color: #00008B;
}

.bg-blue {
    background-color: #61ABD1;
}

#submenu li:last-child {
    border-right: none;
}

#callout {
    background-color: #DDDDDD;
    border-radius: 30px 30px 30px 30px;
    color: #00008B;
    /*margin: 10px 50px;*/
    padding: 20px 50px;
    text-shadow: 3px 3px 5px #FFFFFF;
    width: 630px;
}

#callout .shadow {
    text-shadow: 2px 2px 2px #fff;
    filter: dropshadow(color=#fff, offx=2, offy=2);

}

.hidden {
    display: none;
}

#content {
    clear: both;
    margin: 0 5px;
    padding: 10px 0 0;
}

#content.sidebar {
    margin: 0 330px 20px 0;
    /*float: left;*/
    padding: 10px;
    border-right: 2px dashed #eee;
    min-width: 630px;
}

#content .rentitem {
    background-color: #cccccc;
}

#content .rentitem td {
    border-top: 3px solid #ffebcd;
    padding: 15px;
}

#content .red-text {
    color: #ff0000 !important;
}

#content .yellow-text {
    color: #ffff00 !important;
}

#content .green-text {
    color: #008000 !important;
}

.green-text a:link, .green-text a:visited, .green-text a:hover, .green-text a:active {
    color: #008000 !important;
}

.red-text a:link, .red-text a:visited, .red-text a:hover, .red-text a:active {
    color: #ff0000 !important;
}

#content .rentrequest th {
    padding: 10px 15px;
    border-left: 1px solid #eee;
    text-align: left;
    font-weight: bold;
}

#content .rentrequest td {
    padding: 10px 15px;
    border-left: 1px solid #eee;
    font-style: italic;
}

#news {
    float: right;
    padding: 10px;
    width: 300px;
    background-color: #eee;
}

#footer {
    clear: both;
    border-top: 1px solid black;
    font: 8px Arial;
    padding: 0 10px 10px 10px;
    margin: 20px 0 0 0;
    background-color: #ddd;
    color: #aaa;
}

#footer p {
    font-size: 10pt;

}

#usermenu {
    width: 500px;
    float: left;
}

#about {
    border-left: 1px solid #aaa;
    margin: 0 0 0 800px;
    padding: 0 10px;
}

article {
    display: block;
    position: relative;

}

.level_0 {
    padding-left: 20px;
}

.level_1 {
    padding-left: 40px;
}

.level_2 {
    padding-left: 60px;
}

.level_3 {
    padding-left: 80px;
}

.level_4 {
    padding-left: 100px;
}

.level_5 {
    padding-left: 120px;
}

.level_6 {
    padding-left: 140px;
}

.level_7 {
    padding-left: 160px;
}

.newsfeed {
    border-left: 1px solid #CCCCCC;
    margin: 20px 0 0 20px;
    /*position: relative;*/
}

.newsfeed h2 {
    margin: 0 0 10px 34px;
}

.newsfeed article {
    padding-left: 80px;
    position: relative;
}

.newsfeed article span {
    border: 1px solid #CCCCCC;
    border-radius: 32px 32px 32px 32px;
    content: "";
    display: block;
    height: 32px;
    left: -17px;
    position: absolute;
    width: 32px;
}

.usericon {
    border-radius: 3px 3px 3px 3px;
    height: 32px;
    width: 32px;
    float: left;
    margin: 1px 0 0 -47px;
}

table.notes {
    border: 1px solid black;
    padding: 15px;
    border-radius: 8px 8px 8px 8px;
}

.notes td {
    margin: 35px;
    padding: 15px;
}

.notes th {
    text-align: left;
    font-weight: bold;
    vertical-align: top;
    padding: 15px 0;
}

.prettytable {
    border: 2px solid #0055aa;
    border-radius: 8px 8px 8px 8px;
}

.prettytable th {
    text-align: left;
    font-weight: bold;
    border-bottom: 2px solid #0055aa;
    padding: 15px 5px;
    font-family: "Arial", sans-serif;
    vertical-align: top;
}

.prettytable th span {
    font-weight: normal;
}

.prettytable td {
    margin: 5px 5px 5px 0;
    padding: 5px 5px 5px 5px;
    white-space: nowrap;
    vertical-align: baseline;
}

.align-top td {
    vertical-align: top;
}

.align-middle td {
    vertical-align: middle;
}

.prettytable tr.odd {
    background-color: #f0f0f6;
}

.prettytable tr.even {
}

.prettytable tbody tr.border td {
    border-top: 1px solid #0055aa;
}

.prettytable tbody tr.border:first-child td {
    border-top: none;
}

.djangoform {
    border: 2px solid #0055aa;
    border-radius: 8px 8px 8px 8px;
    font-family: "Arial";
    font-size: 10pt;
}

.djangoform th {
    text-align: right;
    padding: 8px;
    vertical-align: top;
    white-space: normal;
}

.djangoform th legend {
    text-align: left;

}

.formset {
    margin: 10px;
}

fieldset {
    border: none;
    padding: 5px;
    margin: 10px 0;
}

.djangoform td {
    text-align: left;
    padding: 5px 10px 5px 5px;
    vertical-align: top;
}

.djangoform label {
    /*white-space: nowrap;*/
}

.djangoform .help_text {
    font-size: 9pt;
    vertical-align: top;
    white-space: normal;
    width: 300px;
}

.djangoform .errorlist {
    color: #f3f6f7;
    padding: 5px;
    background-color: #2897e5;
    margin: 0 0 15px 0;
}

.djangoform input, .djangoform select {
    border: 1px solid #2897e5;
    padding: 2px;
    font-family: "Arial";
    min-width: 300px;
}

.djangoform input[type=checkbox] {
    min-width: 10px;
}

.djangoform option {
    padding: 2px 5px;
    font-family: "Arial";
}

.djangoform p.description {
    padding: 0 5px;
    font-size: 9pt;
}

.djangoform tr.legend th, .djangoform tr.legend td {
    border-bottom: 1px dashed #2897e5;
}

.djangoform input:focus, .djangoform select:focus {
    border-color: #ff5500;
}

.steptable {
    border: 2px solid #eee;
    background-color: #eee;
    text-align: center;
    border-radius: 3px 3px 3px 3px;
    padding: 10px;
}

.steptable p {
    border: 1px solid #1e4e8f;
    padding: 20px;
    margin: 20px;
    border-radius: 33px 33px 33px 33px;
    background-color: #b2ccee;
}

.steptable th {
    padding: 15px;
    margin: 35px;
}

.steptable th a {
    font-weight: bold;
    margin: 35px;
    padding: 15px;
    border: 3px solid #1e4e8f;
    border-radius: 33px 33px 33px 33px;
    background-color: #b2ccee;
}

#breadcrumbs {
    background-color: #EFF3F4;
    font: bold 7px "sans-serif";
    height: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    padding: 7px 0 7px 11px;
    text-transform: uppercase;
}

#breadcrumbs img {
    margin: 0 10px 0 6px;
    position: relative;
    top: -11px;
}

#breadcrumbs a {
    font: bold 11px arial;
    color: #000;
    position: relative;
    text-decoration: none;
    text-transform: full-size-kana;
    top: -23px;
}

#breadcrumbs span {
    font: bold 11px arial;
    position: relative;
    text-decoration: none;
    text-transform: capitalize;
    top: -23px;
}

.rentstatus_accepted {
    background-color: #90ee90;
}

.rentstatus_new {
    background-color: #add8e6;
}

.rentstatus_decline {
    background-color: #f08080;
}

.rentstatus_waiting {
    background-color: #ffa07a;
}

.waiting-text, .outofdayrange-text {
    color: #f08080
}

/* Ext */
.x-form-cb-label, .x-form-cb-label-after {
    font-family: tahoma, ​arial, ​verdana, ​sans-serif;
    font-size: 11px;
}

.x-form-check-group .x-form-check-wrap, .x-form-radio-group .x-form-radio-wrap {
    height: auto;
}

.ext-ie .x-form-check-group .x-form-check-wrap, .ext-ie .x-form-radio-group .x-form-radio-wrap {
    height: auto;
}

.x-form-check-wrap, .x-form-radio-wrap {
    padding: 1px 0 3px;
    line-height: 18px;
}

.ext-ie .x-form-check-wrap, .ext-ie .x-form-radio-wrap {
    padding-top: 3px;
}

.ext-strict .ext-ie7 .x-form-check-wrap, .ext-strict .ext-ie7 .x-form-radio-wrap {
    padding-bottom: 1px;
}

.x-form-check-wrap-inner, .x-form-radio-wrap-inner {
    display: inline;
    padding: 0;
}

.x-form-check, .x-form-radio {
    height: 13px;
    width: 13px;
    vertical-align: bottom;
    margin: 2px 0;
}

.ext-ie .x-form-check, .ext-ie .x-form-radio {
    margin-top: 1px;
}

.ext-strict .ext-ie7 .x-form-check, .ext-strict .ext-ie7 .x-form-radio {
    margin-bottom: 4px;
}

.ext-opera .x-form-check, .ext-opera .x-form-radio {
    margin-top: 3px;
}

.x-form-check-focus .x-form-check, .x-form-check-over .x-form-check, .x-form-check-focus .x-form-radio, .x-form-check-over .x-form-radio {
    background-position: -13px 0;
}

.x-form-check-down .x-form-check, .x-form-check-down .x-form-radio {
    background-position: -26px 0;
}

.x-item-disabled .x-form-check, .x-item-disabled .x-form-radio {
    background-position: -39px 0;
}

.x-form-check-checked, .x-form-radio-checked {
    background-position: 0 -13px;
}

.x-form-check-focus .x-form-check-checked, .x-form-check-over .x-form-check-checked, .x-form-check-focus .x-form-radio-checked, .x-form-check-over .x-form-radio-checked {
    background-position: -13px -13px;
}

.x-form-check-down .x-form-check-checked, .x-form-check-down .x-form-radio-checked {
    background-position: -26px -13px;
}

.x-item-disabled .x-form-check-checked, .x-item-disabled .x-form-radio-checked {
    background-position: -39px -13px;
}

.x-form-check-wrap-inner input, .x-form-radio-wrap-inner input {
    position: absolute;
    -ms-filter: "alpha(opacity=0)";
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    opacity: 0;
}

.status-accepted, .status-waiting, .status-new {
    color: gray;
    text-decoration: line-through;
    cursor: not-allowed;
}

/* jQuery UI */

#tabs {
    font-size: 10pt;
}

#tabs .ui-tabs-panel {
    overflow: auto;
}

.ui-tabs-anchor {
    font-size: 10pt;
    font-weight: bold;
}

.ui-tabs-loading {
    background-image: url(http://www.techguider.com/images/ajax-style-animated-loading-gif-36851467.gif)
}

.ui-tooltip, .ui-button-text {
    font-size: 10pt;
}

.ui-widget {
    font-family: "Arial";
}

.ui-datepicker {
    font-size: 10pt;
}

#content ul.default li {
    margin-left: 25px;
}

#content ol.default li {
    margin-left: 25px;
}

tr.rent_item:hover {
    background-color: #d3d3d3;
}

.kbs-form-icon {
    background: no-repeat 0 0;
    height: 16px;
    width: 16px;
    margin-right: 5px;
    border: 1px solid #fff;
}

table.fix-buttons .ui-button {
    min-width: 150px;
}

label.kbs-form-small span.ui-button-text {
    font-size: 8pt !important;
}

.kbs-form-btn {
    font-size: 8pt !important;
    color: #fff !important;
}

#rents .ui-button-text {
    font-size: 8pt !important;
}

.kbs-ui-icon-status-accepted {
    background-image: url('../icons/flag_green.png') !important;
    background: no-repeat 0 0;
    padding-left: 25px;
}

.kbs-ui-icon-status-new {
    background-image: url("../icons/flag_blue.png") !important;
    background: no-repeat 0 0;
    padding-left: 25px;
}

.kbs-ui-icon-status-declined {
    background-image: url("../icons/flag_red.png") !important;
    background: no-repeat 0 0;
    padding-left: 25px;
}

.kbs-ui-icon-status-waiting {
    background-image: url("../icons/flag_orange.png") !important;
    background: no-repeat 0 0;
    padding-left: 25px;
}

.kbs-ui-icon-avistype-delivery {
    background-image: url("../icons/delivery.png") !important;
    background: no-repeat 0 0;
}

.kbs-ui-icon-avistype-pickup {
    background-image: url("../icons/pickup.png") !important;
    background: no-repeat 0 0;
}

/*
body > .ui-datepicker {
    font-size: 8pt !important;
}
*/

tbody tr.ui-selecting {
    background-color: #fafad2;
}

tbody tr.ui-selected, .my_pc {
    background-color: #e1ffd4 !important;
}

tbody tr.ui-selected, .my_pc td {

}

tbody tr.ui-selected p {
    font-weight: bold;
    color: #000;
}

span.selected {
    background-color: #e1ffd4 !important;
    font-weight: bold;
    color: #000;
}

tbody tr.ui-selectee:hover, tbody tr.odd {
    background-color: #f0f0f6;
}

.info {
    border: 1px dashed #add8e6;
    float: right;
    width: 400px;
    font-size: 9pt;
    padding: 10px 10px 10px 40px;
    margin: 10px;
    background: #e0ffff url("../icons/information.png") no-repeat left top;
}

.btn-selected {
    background: url("https://code.jquery.com/ui/1.10.1/themes/start/images/ui-bg_gloss-wave_50_6eac2c_500x100.png") repeat-x scroll 50% 50% #6EAC2C !important;
    color: #ffffff !important;
    border: 1px solid #acdd4a;
}

a.ui-button {
    color: #ffffff;
}

.box {
    margin: 0 15px 15px 0;
    padding: 15px;
    height: 180px;
    overflow: auto;
    min-width: 320px;
    border-top: 1px solid #aaaaaa;
    border-left: 1px solid #aaaaaa;
    border-right: 3px solid #dddddd;
    border-bottom: 3px solid #dddddd;
    position: relative;
}

.box-float-right {
    float: right;
}

.box-float-left {
    float: left;
}

.box h2 {
    border-bottom: 1px solid #aaaaaa;
}

.box:hover {
    border-right: 3px solid #7e7e7e;
    border-bottom: 3px solid #7e7e7e;
}

hr {
    clear: both;
    border: 1px solid #dddddd;
}

#cols_rent_from_datetime .ui-selecting {
    background: #fdfebe;
}

#cols_rent_from_datetime .ui-selected {
    background: url("https://code.jquery.com/ui/1.10.1/themes/start/images/ui-bg_gloss-wave_50_6eac2c_500x100.png") repeat-x scroll 50% 50% #6EAC2C !important;
    color: #ffffff !important;
    border: 1px solid #acdd4a;
}

#cols_rent_from_datetime {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 700px;
}

#cols_rent_from_datetime li {
    margin: 3px;
    padding: 0.4em;
    font-size: 10pt;
    height: 18px;
    font-family: "Arial", Verdana;
    border: 1px solid #000000;
    cursor: pointer;
    float: left;
    width: 80px;
}

#cols_rent_from_datetime li.no-select {
    color: gray;
    /*text-decoration: line-through;*/
    cursor: not-allowed;
    border: 1px dashed #808080;
}

#cols_rent_from_datetime li.no-select.ui-selecting {
    color: gray;
    text-decoration: line-through;
    cursor: not-allowed;
    background-color: red;
}

#help-text {
    float: right;
    border: 5px solid #adff2f;
    padding: 10px;
    margin: 5px 0 0 0;
}

.filterrow .ui-button-text {
    font-size: 8pt;
}

#rents .ui-button-text, #archive .ui-button-text {
    font-size: 8pt;
}

#comment_form textarea {
    /*width: 350px;*/
    font-size: 12pt;
    font-family: "Arial", Verdana;
}

blockquote.comment {
    padding: 0 30px;
    margin: 20px 20px 30px 20px;
    border: 1px dashed #d3d3d3;
    width: 400px;
}

.bold {
    font-weight: bold;
}

#materials {
    width: 1000px;
}

label.error {
    font-size: 8pt;
    color: red;
    font-family: "Arial", Verdana;
}

tr.company {
    font-weight: bold;
    font-style: italic;
}

tr.company.sums td {
    border-bottom: 2px solid #aaa;
    border-right: none;
}

tr.company td {
    border-top: 1px solid #aaa;
    border-right: 1px dashed #aaa;
    /*background-color: #eee;*/
}

tr.company td p, tr.summary td p {
    padding: 5px 15px;
}

tr.company td:last-of-type {
    border-top: 1px solid #aaa;
    border-right: none;
    /*background-color: #eee;*/
}

tr.login td {
    border-bottom: 1px solid #bbb;
    border-right: 1px dashed #bbb;
}

tr.login td p {
    padding: 0 15px;
}

tr.login td:last-of-type {
    border-right: none;
}

.prettytable tr:last-child td {
    border-bottom: none;
}

.prettytable tr.summary td {
    border-top: 3px double black;
    font-weight: bold;
}

.empty {
    color: gray;
}

th.action, td.action {
    /*background-color: #eee;*/
}

.ui-tabs, .ui-tabs-panel {
    padding: 5px !important;
}

.hidden-in-screen {
    display: none;
}

tr.rent-item td {
    border-top: 1px solid #0055aa;
}

tr.rent-item:first-child td {
    border-top: none;
}

tr.childrent td {
    /*border-top: 1px dotted #0055aa;*/
    border-top: none;
}

tr.childrent td:first-of-type {
    padding-left: 35px;

}

.prettytable td.active {
    color: #008000;
}

.prettytable td.inactive {
    color: #808080;
    font-style: italic;
}

p.error {
    color: red;
}

/*
https://jqueryui.com/autocomplete/#combobox
*/

.custom-combobox {
    position: relative;
    display: inline-block;
}

.custom-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -1px;
    padding: 0;
}

.custom-combobox-input {
    margin: 0;
    padding: 5px 10px;
    background: none !important;
    color: #000000 !important;
    border: none;
}

.ui-widget {
    z-index: 1;
}

ul.ui-autocomplete {
    z-index: 2;
}