.center {
    text-align: center;
}

.canceled, .canceled * {
    color: red;
    text-decoration: line-through;
}

.strike {
    text-decoration: line-through;
}

.red {
    color: red;
}

.strong {
    font-weight: bold;
}

.inprocess {
    background-color: #F88;
}

div#loading {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    text-align: center;
    vertical-align: middle;
    padding-top: 30%;
    z-index: 3000;
    background-image: url('../images/menu.png');
    display: none;
}

div#loading img {
    width: 50px;
    height: 50px;
}

div#loading span#loading-text {
    font-size: 30px;
    color: white;
    display: inline-block;
    padding: 15px;
}

.width-11em {
    width: 11em !important;
}

.width-half {
    width: 42% !important;
}

.width-third {
    width: 28% !important;
}

.width-two-third {
    width: 56% !important;
}

.ui-autocomplete {
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
}

.no-margin {
    margin: 0px;
}

/****************** Item listing ***************/
table.table tr:hover {
    background-color: #DDD;
}

table.table img {
    margin-bottom: -3px;
}

table tfoot td {
    font-weight: bold;
    border-top: 2px solid black;
}

table .leftborder {
	border-left: 1px solid #DDD;
}

table .rightborder {
	border-right: 1px solid #DDD;
}

table tr:hover .leftborder {
	border-left: 1px solid #c3c3c3 !important;
}

table tr:hover .rightborder {
	border-right: 1px solid #c3c3c3 !important;
}

table td.price {
    text-align: right;
    padding-right: 2em;
}

.letters {
    text-align: center;
    height: 30px;
    vertical-align: bottom;
    position: relative;
    padding-left: 15%;
}

.letters a, .letters span {
    font-size: 14px;
    text-decoration: none;
    height: 30px;
    float: left;
    display: block;
    width: 18px;
    margin: auto;
}

.letters span {
    font-size: 20px;
    margin-left: 5px;
    margin-right: 5px;
}

.letters a:hover, letters span:hover {
    font-size: 24px;
}

.local-submenu {
    margin-bottom: 2em;
}

/****************** Item details ***************/
table.details
{
    margin-bottom: 2em;
}

table.details tr
{
    border-bottom: 1px solid #EEE;
}

table.details tr th
{
    text-align: left;
    padding: 0.5em;
    width: 150px;
}

table.details tr td
{
    padding: 0.5em;
    width: 450px;
}

table.details tr td a
{
    color: #3399ff;
}

table.details caption
{
    font-weight: bold;
}

div#tabs ul
{
    height: 32px;
}

div#tabs div.additionalActions {
    margin: -1em -1em 1em -1em;
    padding: 0.5em;
    background-color: white;
    border: 1px solid #AAA;
    border-top: none;
}

div#tabs div.additionalActions a {
    color: #487fae;
}

/****************** Item edit form ***************/
form .input-note {
    margin-left: 180px;
    font-style: italic;
}

div.editform input, div.editform select, div.editform textarea
{
    width: 450px;
    border: 1px solid #CCC;
}

div.editform select
{
    width: 460px;
}

div.editform textarea
{
    height: 15em;
}

textarea.smalltextarea {
    height: 3.5em !important;
}

div#tabs div.editform input, div#tabs div.editform textarea
{
    width: 420px;
}

div#tabs div.editform select
{
    width: 430px;
}

div.editform fieldset {
    border: 0px solid black;
    margin: 0px;
    padding: 0px;
}

div.editform dl dt, div.editform fieldset dt
{
    float: left;
    width: 150px;
    font-weight: bold;
}

div.editform dd#submit-element
{
    /*text-align: right;*/
}

div.editform input#submit
{
    width: auto !important;
}

div.editform input.checkbox
{
    width: auto !important;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

div.editform label {
    width: auto;
}

div.editform label.required, form.simpleform label.required {
    background-image: url('../images/icon_asterisk.gif');
    background-repeat: no-repeat;
    background-position: 100% 50%;
}

div.editform ul.errors {
    color: red;
    margin-left: 180px;
}

/****************** PopUp form ***************/
form.simpleform label {
	padding-left: 1.5em;
}

form.simpleform label.required {
    background-image: url('../images/icon_asterisk.gif');
    background-repeat: no-repeat;
    background-position: 0% 50%;
}

form.simpleform input, form.simpleform select, form.simpleform textarea
{
    width: 90%;
    margin-bottom: 0.5em;
}

form.simpleform textarea {
    height: 10em;
}

form.simpleform input.checkbox {
    width: auto;
}
form.simpleform input.datepickerbutton {
    width: 80% !important;
}

.nexttoinputbutton img {
    width: 16px;
    height: 20px;
    margin-left: 10px;
}

.nexttoinputbutton input, nexttoinputbutton select {
    width: 90px !important;
    margin-left: 10px;
}

input.withNextButton, select.withNextButton {
    width: 350px !important;
}

div#tabs .withNextButton {
    width: 318px !important;
}

table.form-groups {
    width: 100%;
}

table.form-groups fieldset {
    border: none !important;
}

table.form-groups input {
    width: 300px;
}

/****************** Right quick form ***************/
div.right form input {
    width: 230px;
}

div.right form select {
    width: 240px;
}

div.right form label {
    margin-top: 1em;
    color: #555;
}

div.right form input.submit {
    width: auto;
}

div.right form dt#submit-label, div.right form dt#reset-label {
    display: none;
}

div.right form dd#submit-element, div.right form dd#reset-element {
    /*display: inline;*/
    float: left;
    margin-top: 1em;
}

/****************** Hotel edit ***************/
input#priceinput, input#webpriceinput {
    width: 5em;
}


/****************** Bookings listing ***************/
table.booking-list td.customer {
    width: 200px;
}

table.booking-list td.hotel {
    width: 200px;
}

table.booking-list ul.booking-persons {
    margin: 0px;
    margin-left: 2em;
    padding: 0px;
    color: #555;
    font-style: italic;
    display: block;
}

table.booking-list span.voucher {
    color: red;
    font-weight: bold;
}

table.booking-list span.confirmed {
    color: blue;
    font-weight: bold;
}

table.booking-list span.invoice {
    color: black;
    font-weight: bold;
}

.canceled_booking {
    background-color: lightpink;
}

.canceled_room {
    background-color: orange;
}

.canceled_person {
    background-color: yellow;
}


/****************** Bookings detail ***************/

div#dialog-copybooking div.wrapper {
    padding-top: 10%;
}

/****************** Login form ***************/
form#loginform input.input {
    width: 170px;
    padding-left: 1em;
    padding-right: 1em;
}

form#loginform input.password {
    /*width: 170px;*/
}

form#loginform input.submit {
    width:100px;color:#fff;background:#4780ae;border-left:1px solid #084577;border-top:1px solid #084577;border-right:1px solid #7ab7e8;border-bottom:1px solid #7ab7e8;
}

form#loginform label {
    font-weight: bold;
}

/****************** Invoice items table ***************/
table#invoice-items {
    width: 100%;
    border: 1px solid #AAA;
}

table#invoice-items thead {
    border-bottom: 1px solid #AAA;
}

table#invoice-items td, table#invoice-items th {
    padding: 0.5em;
}

table#invoice-items tbody tr:hover td {
    background-color: #EAEAEA;
}

table#invoice-items-sum-table {
    margin-top: 1em;
}

table#invoice-items-sum-table td {
    padding: 0.3em;
}

table.invoice-list tr.missinginv td {
    border-top: 2px solid red !important;
}

table.invoice-list {
    margin-bottom: 2em;
}

div.taxperiod h2 {
    font-size: 1.5em;
}

div.taxperiod table {
    margin-bottom: 2em;
}

/****************** Invoice numbers ***************/
.invoicenumberselector {
    font-size: 1.1em;
}

.nextinvoicenumber {
    font-size: 2em !important;
}

/****************** Invoice book  ***************/
.invoicebook-advancedfilterform table {
    width: 100%;
}

.invoicebook-advancedfilterform table td {
    vertical-align: bottom;
}


/****************** Invoice sending ***************/

.form-sendinvoice .left {
    width: 50%;
}

.form-sendinvoice .right {
    width: 49%;
    height: 400px;
    overflow-y: auto;
    border: 1px solid #AAA;
    position: relative;
}

.form-sendinvoice fieldset {
    margin-top: 0px;
}

.form-sendinvoice fieldset select, 
.form-sendinvoice fieldset input,
.form-sendinvoice fieldset textarea {
    width: 90%;
}

.form-sendinvoice fieldset textarea {
    height: 100px;
}

.form-sendinvoice fieldset#fieldset-common dt {
    display: none;
}

.form-sendinvoice fieldset#fieldset-common input {
    width: auto;
    margin: 0px;
    margin-right: 10px;
}

.form-sendinvoice .right table {
    width: 100%;
}

.form-sendinvoice .right table thead {

}

.form-sendinvoice .right table tbody {

}

.form-sendinvoice .right table th {
    background-color: #555;
    color: white;
    text-align: center;
    padding: 0.4em;
}

.form-sendinvoice .right table tr td {
    border-bottom: 1px solid #DDD;
    padding: 0.5em;
    font-size: 0.8em;
    cursor: pointer;
}

.form-sendinvoice .right table tr:hover td {
    background-color: #DDD;
}

.form-sendinvoice div.resulttext {
    padding-top: 1em;
    clear: both;
    padding-left: 2em;
    font-size: 1.1em;
}

.form-sendinvoice div.resulttext #sendinvoice-recipient-email {
    font-weight: bold;
}

div.sentinvoices table {
    width: 100%;
}

div.sentinvoices table th {
    background-color: #555;
    color: white;
    text-align: center;
    padding: 0.4em;
    
}

div.sentinvoices table td {
    padding: 0.5em;
    border-bottom: 1px solid #AAA;
    font-size: 0.8em;
}

img.showsentinvoices {
    cursor: pointer;
}


/****************** Booking overview ***************/

div.booking-overview table {
    margin-bottom: 30px;
}