.table {
    border-collapse: collapse;
    border: 1px solid #74B3DC;
    color: #000;
    background: #fff;
    width: 100%;
    font-size: 1.2em;
    margin: 0 0 0.6em 0;
    padding: 0;

}

/* for sorting icon on right*/
table.table th a:nth-child(1) {
    display: inline-block;
    width: 100%;
    text-align: left;
}

img.t-sort-icon {
    margin-bottom: -2px;
}

table.table th a:nth-child(2) {
    margin-left: -20px;
}

/* end sorting icon */

.table tbody td a {
    text-decoration: none !important;
}

.table caption {
    padding: 0 0.6em 0.8em;
    font-size: 1.3em;
    font-weight: bold;
    text-align: left;
    color: #000;
    background: transparent;

}

/* For Tapestry's contribTable */
.table th table, .table th table td {
    width: 100%;
    border: 0;
    background-color: #CCCCCC;
    font-size: 1.3em;
}

.contribTable th {
    padding: 0 !important;
    background: #d7e9f5;
}

.contribTable th .tableHeaderTable {
    margin: 0 !important;
}

.table td, .table th, .tableHeaderTable td {
    border: 1px solid #e0e0e0;
    padding: 0.4em;
}

.table thead th, .tableHeaderTable td {
    border: 1px solid #e0e0e0;
    text-align: left;
    font-size: 1em;
    font-weight: bold;
    /*background: #d7e9f5;*/
    background: #f0f0f0;
    white-space: nowrap;
}

.tableHeaderTable td a {
    text-decoration: none !important;
}

.table tfoot th, tfoot td {
    border: 1px solid #e0e0e0;
    text-align: left;
    font-size: 1em;
    background: #e8e8cf;
}

.table tfoot th {
    font-weight: bold;
}

.table tbody th a {
    background: transparent;
    text-decoration: underline;
    font-weight: bold;
}

.table tbody td a {
    background: transparent;
    text-decoration: underline;
}

.table tbody td a:hover {
    background: transparent;
    text-decoration: underline;
}

.table tbody th, .table tbody td {
    text-align: left;
}

/*
 * Zmena bootstrap zarovovnani.
 */
table.table > tbody > tr >td {
    vertical-align: middle;
}

.table tbody tr td.accountCredit, .table tbody td.amount, .table tbody tr td.accountCreated, .table tbody td.count, .table tbody td.purchaseCount, .table tbody td.balance, .table tbody td.unitPrice {
    text-align: right;
}

.table tfoot td {
    border: 1px solid #996;
}

.table tbody tr:hover, .table tr.over, .contribTable tr:hover {
    background: #ffffe6 !important; /* important needed for Tapestry, as is .table tr:hover */
}

.contribTable tr.even {
    background: #fff !important;
}

.contribTable tr.odd {
    background: #eee !important;
}

th.sorted a, th.sortable a {
    background-position: right;
    display: block;
}

.table th.order1 a {
    background-image: url(../images/arrow_down.png) !important;
}

.table th.order2 a {
    background-image: url(../images/arrow_up.png) !important;
}

.table th.sorted {
    background-color: #74B3DC;
    color: #000000;
}

.table th.sorted a, .table th.sortable a {
    background-position: right;
    background-repeat: no-repeat;
    display: block;
}

.empty_table_info_block {
    box-sizing: content-box;
    padding-top: 15px;
    height: 30px;
    font-family: Verdana, Arial, SANS-SERIF;
    font-size: 1.1em;
    font-weight: bold;
    border: 1px solid #74B3DC;
    padding-left: 60px;
    background-image: url("../images/customicondesign-office1-simple/png/info32.png");
    background-position: 20px center;
    background-repeat: no-repeat;
    background-color: #D7E9F5;
}

.empty_table_info_block_portal {
    padding-top: 10px;
    padding-bottom: 40px;
    font-family: Verdana, Arial, SANS-SERIF;
    font-size: 13px;
    font-weight: bold;
    padding-left: 4px;
    color: #444444;
}

/* highlight .table row onmouseover */
.table tr.over {
    border-bottom: 1px solid #C0C0C0;
    border-top: 1px solid #C0C0C0;
    color: #000000;
    cursor: pointer;
}

.table tr {
    border-top: 1px solid #c0c0c0;
    color: #000000;
}

/******************specific*********************/

.serviceSetupTableWith1AB .actions {
    /*actions button*/
    width: 3.4em;
}

/* column with action buttons */
.serviceSetupTableWith2AB .actions {
    /*actions button*/
    text-align: center;
    width: 7em;
}

.serviceSetupTableWith3AB .actions {
    /*actions button*/
    width: 10em;
}

.serviceSetupTableWith4AB .actions {
    /*actions button*/
    width: 8.7em;
}

.actionButtonWithText1 .actionsOneColumn {
    /*actions button*/
    width: 6.5em;
}

.actionButtonWithText2 .actionsOneColumn {
    /*actions button*/
    width: 14.2em;
}

.actionButtonWithText3 .actionsOneColumn {
    /*actions button*/
    width: 20.2em;
}

.table .unitPrice, .usageType, .reservationResourceType, .sportName, .reservationType, .user, .operator, .table .availability {
    white-space: nowrap;
}

.table .timeUnitInMinutes {
    width: 5em;
}

.table .selectMark {
    text-align: center;
}

/*groupTable*/
.groupTable .createdAt {
    width: 6em;
    text-align: right;
}

.groupTable .accountBalance {
    width: 4.7em;
    text-align: right;
}

.groupTable .company {
    width: 6.5em;
}

.groupTable .defaultGroup {
    width: 6em;
}

/*lockerTable*/
.lockerTable .createdAt,
.lockerTable .removalDate {
    text-align: right;
}

.cashStateTable .openAction, .cashStateTable .closeAction {
    width: 5.5em;
    text-align: center;
}

.actions span.c_tbl_delete,
.actions span.c_tbl_edit,
.actions span.c_tbl_add,
.actions span.c_tbl_block,
.actions span.c_tbl_cancel,
.actions span.c_tbl_default,
.actions span.c_tbl_open,
.actions span.c_tbl_close,
.actions span.c_tbl_duplicate,
span.c_tbl_updatePrice,
span.c_tbl_updatePrograms,
.actions span.c_tbl_creditOption,
.actions span.c_tbl_seasonPass,
.actions span.c_tbl_user,
.actions span.c_tbl_print {
    float: left;
    padding: 3px 2px 2px 3px;
    width: 18px;
    margin-right: 0.25em;
    margin-left: 0.25em;
}

/*
 * actionsOneColumn
 */
.actionsOneColumn {
    width: 15em;
}

td.actionsOneColumn span {
    float: left;
    padding: 3px 5px 1px 5px;
    margin-right: 0.25em;
    margin-left: 0.25em;
}

tbody td.priceAfterDiscount {
    text-align: right;
}

.table tbody td.price {
    text-align: right;
}

.table tbody td.priceSell {
    text-align: right;
}