@CHARSET "UTF-8";

/* --- BASIC ---- */

.noscreen {
    display: none;
}

.fix {
    float: none;
    clear: both;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 0;
    font-size: 0;
}

.f-left {
    float: left !important;
}

.f-right {
    float: right !important;
}

.t-left {
    text-align: left !important;
}

.t-center {
    text-align: center !important;
}

.t-right {
    text-align: right !important;
}

.t-justify {
    text-align: justify !important;
}

.va-top {
    vertical-align: top !important;
}

.va-middle {
    vertical-align: middle !important;
}

.va-bottom {
    vertical-align: bottom !important;
}

.nom {
    margin: 0 !important;
}

.nomt {
    margin-top: 0 !important;
}

.nomb {
    margin-bottom: 0 !important;
}

.nowrap {
    white-space: nowrap !important;
}

.hidden {
    position: absolute;
    left: -1000em;
    top: -1000em;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.invisible {
    display: none;
}

.bold {
    font-weight: bold;
}

.centered {
    margin-left: auto;
    margin-right: auto;
}

.button {
    cursor: pointer;
}

span.red {
    color: red;
}

span.blue {
    color: blue;
}

input.highlighted {
    color: red;
}

span.yesico {
    background: url("/images/flexgrid/ico_yes.png") left top;
    width: 16px;
    height: 16px;
    display: block;
}

span.noico {
    background: url("/images/flexgrid/ico_no.png") left top;
    width: 16px;
    height: 16px;
    display: block;
}

body {
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
}

* {
    margin: 0;
    padding: 0;
}

p {
    padding: .5em;
    font-size: 1.2em;
}

a img {
    border: none;
}

/* sjednocení height inputů a selectů */
select {
    /*height: 22px;
    line-height: 22px;*/
    padding: 2px;
}

#pageWrapper {
    /*width: 1200px;
    margin: 1em auto;
    padding: .5em;*/
}

#header {
    height: 25px;
    margin: 0;
    background: url("/images/primeTopBg.gif") repeat-x scroll 0 0 #FFFFFF;
}

.coreauth {
    padding: 7px 5px 3px 5px;
}

#nav {
    height: 2.5em;
    margin: 0 0 .5em 0;
}

#main {
    background: #fff;
    /*height: 600px;*/
    padding: 10px;
    padding-top: 2px;
}

#footer {
    text-align: right;
    clear: both;
    height: 1.5em;
}

/* definice css pro formulare */
textarea {
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    overflow: auto;
    resize: none;
}

form.dform {
    background: none repeat scroll 0 0 #FFF0D0;
    border: 1px solid #FFC090;
    margin: 5px auto 15px;
    padding: 5px 20px 10px;
    width: 1120px;
}

form.filter {
    padding: 5px 5px 10px 5px;
}

form.formSize300 {
    width: 300px;
}

form.formSize400 {
    width: 400px;
}

form.formSize500 {
    width: 500px;
}

form.formSize600 {
    width: 600px;
}

form.formSize700 {
    width: 700px;
}

form.formSize800 {
    width: 800px;
}

form.formSize900 {
    width: 900px;
}

form.formSize1000 {
    width: 1000px;
}

form.formSize1100 {
    width: 1120px;
}

form.formSize1200 {
    width: 1200px;
}

form.formSize1250 {
    width: 1250px;
}

form.formSize1300 {
    width: 1300px;
}

form.dform table {
    width: 100%;
    border-collapse: separate;
}

form.dform table td {
    padding: 5px 0px 5px 5px;
}

form.dform table tr.pair_1 td {
    padding: 5px 0px 0px 5px;
}

form.dform table tr.pair_2 td {
    padding: 0px 0px 0px 5px;
}

form.dform table tr.pair_last td {
    padding: 0px 0px 15px 5px;
}

form.filter table td {
    padding: 1px 0 1px 5px;
}

td.buttons {
    border-bottom: #808080 1px solid;
}

td.rowline {
    border-bottom: #ccc 1px solid;
}

label.rowline {
    position: relative;
    top: 5px;
    left: 10px;
    font-weight: bold;
    font-style: italic;
    color: #666;
}

label span {
    font-weight: bold;
    padding: 0 2px;
    color: red;
    font-size: 1.2em;
}

.elemlbl {
    font-weight: bolder;
    color: #000;
}

.elemlblw {
    font-weight: bolder;
    float: left;
    width: 120px;
    padding-top: 3px;
}

form.dform input[type="text"], textarea {
    border: 1px inset #CCCCFF;
    padding: 0.1em;
}

form input[type="text"].highlighted {
    border: 2px inset red;
}

form.dform input[type="submit"] {
    margin-bottom: 2px;
}

form [readonly="readonly"] {
    background-color: #f6f6f6;
}

ul.errors {
    list-style-type: none;
    font-style: italic;
    color: red;
}

#ajax-form-loader {
    position: absolute;
}

.filter_restore {
    border-bottom: 1px solid #666;
    line-height: 10px;
}

label.filter_restore {
    position: relative;
    font-size: 0.8em;
    font-weight: bold;
    font-style: italic;
    color: #666;
    top: 5px;
    display: block;
    padding: 0 0 11px 0;

}

tr.disabled, tr.disabled a {
    color: darkred;
}

tr.marked {
    color: blue;
}

/* breadcrumbs */
#breadcrumbs {
    height: 1.6em;
}

#breadcrumbs ul {
    margin-bottom: 0;
}

#breadcrumbs ul li {
    display: block;
    float: left;
    padding: 0 13px 0 5px;
    background: url("/images/crumbs_arrow.png") no-repeat right;
    position: relative;
    top: 3px;
    top: 1px;
}

#breadcrumbs ul li.lastcrumb {
    background: none;
    /*display: block;
    clear: left;*/
    font-size: 1.4em;
    margin-top: 0;
    top: 0;
}

#breadcrumbs ul li a {
    text-decoration: none;
    color: #1c5a80;
    position: relative;
    top: -1px;
}

#breadcrumbs ul li.lastcrumb a {
    position: inherit;
}

/* upravuje zobrazení některých položek pro manuálně vytvořené fomruláře */
form.secondform label {
    display: block;
    width: 120px;
    float: left;
    text-align: left;
    vertical-align: top;
    /* pro funkcni width na inline elementu
    display: inline-block;
    display: -moz-inline-box;
    *display: inline;
    zoom: 1; */
}

form label.labeldef {
    font-weight: bold;
    float: none;
    display: inline;
}

form.secondform textarea {
    /* height: 120px; */
}

form.bidform label {
    min-width: 110px;
}

table tbody td.border-top {
    padding-top: 10px;
    border-top: 1px solid #808080;
}

table tbody td.underline {
    padding-bottom: 10px;
    border-bottom: 1px solid #808080;
}

table tbody td.borders-tb {
    padding-bottom: 10px;
    padding-top: 10px;
    border-bottom: 1px solid #808080;
    border-top: 1px solid #808080;
}

table.requirements {
    width: 800px;
}

table.requirements td.content {
    vertical-align: top;
    background-color: #ffcc99;
    border: 1px solid gray;
    padding: 10px;
    margin-bottom: 10px;
}

.input_invalid {
    background: #ff9c84;
}

table.detail {
    font-size: 1.2em;
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
}

table.detail td {
    padding: 5px;
    border: 1px solid #ffcc99;
}

table.detail td.label {
    font-weight: bold;
    background-color: #ffcc99;
}

table.pricelistitemform td {
    padding: 1px 2px;
    vertical-align: middle;
}

table.pricelistitemform tr.pricesetting {
    padding: 2px 4px;
    font-weight: bold;
    background-color: #ffcc99;
}

table.pricelistitemform tr.priceshead {
    padding: 2px 4px;
    font-weight: bold;
    background-color: #ffcc99;
    text-align: center;
}

table.pricelistitemform th.middle, table.pricelistitemform td.middle {
    border-right: 2px solid #ffcc99;
}

.wfctrl .state {
    font-weight: bold;
    color: darkred;
}

.wfctrl .buttons {
    width: auto;
    text-align: right;
}

.wfctrl .info {
    float: left;
    width: auto;
    text-align: right;
}

.closable_form {
    position: relative;
    top: 1em;
}

/* styly pro okno napovedy/helpu */
#help_button {
    position: absolute;
    display: block;
    width: 24px;
    height: 24px;
    border: 0;
    top: 8px;
    left: 8px;
    background: url("/images/info.png");
    cursor: pointer;
}

#fade { /*--Transparent background layer--*/
    display: none; /*--hidden by default--*/
    background: #666;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: .50;
    z-index: 9999;
}

.popup_text {
    width: 860px;
    height: 520px;
    display: none; /*--hidden by default--*/
    background: #fff;
    padding: 10px 10px 10px 20px;
    border: 2px solid #ddd;
    float: left;
    font-size: 1em;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 99999;
    /*--CSS3 Box Shadows--*/
    -webkit-box-shadow: 0px 0px 20px #000;
    -moz-box-shadow: 0px 0px 20px #000;
    box-shadow: 0px 0px 20px #000;
    /*--CSS3 Rounded Corners--*/
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    overflow-y: scroll;
}

.popup_text ul {
    margin-left: 2em;
}

a.close {
    float: right;
}

/*--Making IE6 Understand Fixed Positioning--*/
* html #fade {
    position: absolute;
}

* html .popup_block {
    position: absolute;
}

#closer_button {
    position: absolute;
    display: block;
    width: 38px;
    height: 17px;
    background: url("/images/close_button.png");
    background-position: top left;
    cursor: pointer;
    border: 0;
    opacity: 0.5;
    right: 0px;
    top: -17px;
}

#closer_button:hover {
    opacity: 0.7;
}

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

.bcaseitemsctrl input[type="submit"] {
    min-width: 68px;
    margin-top: -2px;
}

.bidform [readonly="readonly"] {
    background-color: #f6f6f6;
}

.bidform input.locked {
    background-color: wheat;
}

.bidform input.partial {
    background-color: #ddddff;
}

.bidform input.done {
    background-color: #ccffbb;
}

.bidform input.prnfile.notempty {
    background-color: #AACFFF;
}

.bcaseitemsctrl table th {
    text-align: left;
    padding-left: 0.4em;
}

form.manfilter {
    padding: 3px;
}

form.manfilter table {
    padding: 2px;
    margin: 2px;
    font-size: 0.9em;
}

form.manfilter table td {
    padding: 2px;
    margin: 0px;
    colspace: 0;
}

form.manfilter table td label {
    float: left;
    width: 110px;
    padding-top: 2px;
}

form.manfilter table td p {
    font-size: 0.8em;
    display: block;
    float: none;
    height: 0px;
    padding: 0px;
    margin: 0px;

}

form.manfilter table td.billing_types {
    line-height: 15px;
}

form.manfilter table td.billing_types label {
    width: 160px;
}

form.manfilter table td div {
    float: left;
    clear: right;
}

form.manfilter table td input[type=text] {
    width: 110px;
}

form.manfilter table td.nofloat-label label {
    float: none;
}

form.manfilter table td.nofloat-label div {
    float: none;
}

.itemtableex {
}

.itemtableex input {
}

.itemtableex input.name {
    width: 100%;
}

.itemtableex input.desc {
    width: 100%;
}

.itemtableex input.respuser {
    width: 160px;
}

.itemtableex select.respuser {
    width: 170px;
}

.itemtableex select.vatlist {
    width: 40px;
}

.itemtableex input.source {
    width: 125px;
}

.itemtableex select.source {
    width: 130px;
}

.itemtableex input.expedit {
    width: 40px;
}

.itemtableex input.storenum {
    width: 110px;
}

#itr_last {
}

table.printlabels label {
    width: auto;
    padding-right: 1em;
}

table.printlabels label.elemlbl {
    width: 120px;
}

.disimg {
    opacity: 0.4;
    filter: alpha(opacity=40);
}

div.regpage #closer_button {
    display: none;
}

div.regpage h2 {
    text-align: center;
    margin: 1em 0;
}

div.regpage div.title {
    font-size: 1.2em;
    font-weight: bold;
    display: inline;
}

div.regpage label {
    width: 130px;
}

div.regpage hr {
    border: 1px solid;
    color: #EDEDDF;
    display: block;
    height: 2px;
    margin: 0.8em auto;
}

tr.exp_par_item td {
    background: #FFCC99;
    font-weight: bold;
    padding: 5px !important;
}

label.elemlbl[for="lockedforcustomer"] {
    color: darkred;
}

#getares {
    background: #2c4b5e;
    border: 1px solid #ccc;
    position: relative;
    top: -2px;
    color: #fff;
    font-size: 10px;
    margin: 0 3px 0 3px;
    padding: 2px;

}

.unpayed_bills {
    color: red;
    font-weight: bold;
}

form.secondform .short_label_in label {
    margin-left: 30px;
    width: 50px;
}

.pair_last td dt, .pair_last td dd {
    display: block;
    float: left;
    width: 30px;
}

.pair_2 label {

}

tr.state_120, .flexigrid tr.state_120 a, span.state_120 {
    color: #0000CC;
}

tr.state_140, .flexigrid tr.state_140 a, span.state_140 {
    color: #BC8CD4;
}

tr.state_100, .flexigrid tr.state_100 a, span.state_100 {
    color: #FF7000;
}

tr.state_160, .flexigrid tr.state_160 a, span.state_160 {
    color: #008800;
}

tr.state_170, .flexigrid tr.state_170 a, span.state_170 {
    color: #CC0000;
}

tr.state_200, .flexigrid tr.state_200 a, span.state_200 {
    color: #B4E4F0;
}

tr.state_hidden, .flexigrid tr.state_hidden a, span.state_hidden {
    color: #850;
}

div.summary {
    display: none;
    position: absolute;
    width: 220px;
    padding: 10px;
    background: #eeeeee;
    color: #000000;
    border: 1px solid #888;
}

div.summary .total {
    font-weight: bold;
    font-style: italic;
    margin-left: 0.5em;
}

div.prevtrig, div.prevtrig2 {
    padding: 0 !important;
    cursor: wait;
}

div#preview {
    display: none;
    position: absolute;
    width: auto;
    padding: 10px;
    background: #eeeeee;
    color: #000000;
    border: 1px solid #888;
    z-index: 100;
}

table.prev th {
    background-color: #CCCCCC;
    padding: 2px 8px;
    text-align: center;
}

table.prev td {
    padding: 1px 8px;
    text-align: left;
}

table.prevsub td {
    padding: 2px 8px;
    text-align: right;
}

.fk_polozka td {
    border-bottom: 1px solid black;
    font-weight: bold;
    background: #ffeeff;
}

.fk_podpolozka {
    background: #fffffe;

}

.fk_polozka .price {
    text-align: right;
    padding-right: 0.5em;
}

.ui-menu-item {
    list-style: none;
    font-size: 12px;
}

.ui-autocomplete {
    max-height: 250px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    /* add padding to account for vertical scrollbar */
    padding-right: 20px;
}

.ui-accordion-header {
    padding: 0.5em 2em !important;
}

.ui-accordion-header .fnc_l {
    float: left;
    padding: 0 !important;
    margin: 0 1em 0 .5em;
}

.ui-accordion-header .fnc_r {
    float: right;
    padding: 0 !important;
    margin: 0 2em;
}

.ui-accordion-header img {
    width: 16px;
}

#payments-accordion .ui-accordion-header {
    margin-top: 4px !important;
}

#payments-accordion .ui-state-active, #payments-accordion .ui-state-default {
    background-image: none;
}

#payments-accordion li {
    margin: 0.4em 0;
}

#payments-accordion li:hover {
    background-color: #ffddbb;
}

ul.paymentLinks {
    margin: 0 2em;
}

ul.paymentLinks a:link {
    padding: 0px;
    display: inline;
    text-decoration: underline;
    color: rgb(0, 0, 238);
}

.dot {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    display: inline-block;
}

.b-green {
    background-color: limegreen;
}

.b-blue {
    background-color: blue;
}
