/* Common part */

#container {
    margin: 0px auto;
}

th {
    background: #eee;
    text-align: left;
}

th, td {
    padding: 8px 5px 8px 5px;
}

dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 60%;
}
dl dd:nth-child(4n+2),
dl dt:nth-child(4n+1) {
	background: #f4f4f4;
}

dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}

dd {
	margin-left: 20em;
	margin-top: -2em;
	vertical-align: top;
}

table {
    width: 100%;
}

td, th {
    vertical-align: middle !important;
}

fieldset {
    padding: 10px;
}

.actions a {
    margin: 10px;
}

.paging .prev {
    margin: 10px;
}

.paging .next {
    margin: 10px;
}

.paging .numbers {
    text-align: center;
}

.actions li {
    display: inline-block;
}

.datetime select, .date select {
    width: auto !important;
    display: inline;
    margin-left: 5px;
    margin-right: 5px;
}

.paging span {
    margin: 5px;
}

#status-bar {
    overflow: hidden;
    color: white;
    margin: 10px;
}

.center {
    text-align: center;
}

.dump {
    margin-top: 30px;
}


/* Your code HERE */

.auth-form {
    width: 400px;
    margin: 100px auto;
}

#user {
    display: inline-block;
    width: 100px;
}

#header {
    margin-bottom: 30px;
}

#search-field, #search-button {
    height: 29px;
}

#search-button {
    line-height: 30px;
    padding: 0px;
}

.ui-datepicker-header {
    text-align: center;
}

.ui-datepicker-title {
    display: inline-block;
}

.ui-datepicker-prev {
    float: left;
}

.ui-datepicker-next {
    float: right;
}

.ui-state-highlight {
    color: red;
    font-weight: bold;
}

.collapse-button {
    margin-top: 21px;
    height: 37px;
    padding-top: 10px;
}

.popup {
    height: auto;
}

div.actions { display: none; }

#authMessage { margin-bottom: 30px; text-align: center; }

.ui-datepicker { display: none; z-index: 100 !important; border: 1px solid #ccc !important; background: white; padding: 5px; margin-top: 5px; box-shadow: 0 0 5px rgba(0,0,0,0.5); }

.pagination div { margin: 0px; padding: 0px; }

.time-field input { text-align: center;}
.time-separator { text-align: center; vertical-align: middle; padding: 5px; }
.time { padding-left: 3px !important; padding-right: 3px !important; }

.pagination .text-center { font-size: 0.8em;}

.amount-field label { text-align: center; }

.total { font-weight: bold;  text-align: right; }

td, th { border: 1px solid #ccc; }

.payments-table th:first-child .box { background: #eee; border-left: none !important; }
.payments-table .box { background: #eee; border-left: 1px solid #ccc !important; }
.payments-table .th-inner  { border: none; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; }
.payments-table th { border: none; }
.payments-table tr:last-child td { border-bottom: 1px solid #ccc !important; }
.payments-table { padding: 0px; }

#payment-form textarea { height: 100px; }
.payment-log table { border: none; };
.payment-log td { border: none; };

#payment-add textarea { height: 110px; }
