﻿body { padding-top: 20px; }
.row { display: block; position: relative; clear: both; }
.row:before, .row:after { content: ''; display: table; clear: both; height: 0; visibility: hidden; font-size: 0; }

h1 > .icon { display: inline-block; vertical-align: middle; margin: -2px 0 0 7px; }
td.no-top-border { border-top: 0 none transparent; }
td.right, th.right { text-align: right; }
td.center, th.center { text-align: center; }
td.nowrap,th.nowrap,.nowrap { white-space: nowrap; }
.icon-muted { opacity: .5; }
.no-pad { padding: 0 !important; }

.v-middle td { vertical-align: middle; }
.check-time .valP input, .check-time .valF input { width: 65px; text-align: center; margin: 0; }
.check-time.success .valP input, .check-time.success .valF input, .check-time.success select { background-color: #f1f1f1; pointer-events: none; cursor: default; }
.check-time a { cursor: pointer; }
.check-time.success .valPostpone { pointer-events: none; }
.check-time.loading { opacity: 0.5; }
.check-time select { margin: 0; width: 150px; }
.label-big { padding: 5px 7px; font-size: 13px; line-height: 20px; }
.table-sortable tbody, .table-sortable .ui-state-default { background: none; }
.table-sortable tbody > tr > td:first-child { padding-left: 20px; }
.table-sortable tbody > tr.ui-state-default > td:first-child { padding-left: 40px; }
.table-sortable .ui-state-highlight { height: 1.5em; line-height: 1.2em; background-color: #eee; }
.table-sortable .ui-icon-arrowthick-2-n-s { position: relative; left: -18px; top: 23px; margin-top: -16px; width: 16px; height: 16px; }
.table-rozpocet, .table-rozpocet td { background-color: transparent; border: 0 none transparent; }
.table-rozpocet tr.bordered td { border-top: 1px solid #ddd; }
.table-rozpocet tr.bordered:first-child td { padding-top: 10px; padding-bottom: 10px; }
.table-rozpocet tr.bordered + tr.bordered td { background-color: #f9f9f9; }
.table-rozpocet.form-inline input[type=checkbox] { margin-right: 7px; }
.table-rozpocet tfoot tr td { border-top: 1px solid #ddd; text-align: right; padding-top: 10px; }
.table-rozpocet .span4 { width: 29.6%; margin-bottom: 5px; }
.table-rozpocet .row .table-rozpocet-blocks { padding-top: 4px; padding-bottom: 5px; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; margin-bottom: 5px; }
.table-rozpocet .row + .row { padding-top: 10px; }
.table-rozpocet .table-rozpocet-all { float: right; }
.table tbody.disabled td { opacity: 0.5; pointer-events: none; }

.table-detail-rozpoctu tr.collapse { display: none; }
.table-detail-rozpoctu tr.in.collapse { display: table-row; }
.table-detail-rozpoctu tr.padded td { padding-top: 10px; padding-bottom: 10px; font-size: 16px; }
.table-detail-rozpoctu tr.collapse td:first-child { padding-left: 24px; color: #4B4B4B; font-size: 90%; }
.table-detail-rozpoctu tbody:first-child tr:first-child.collapse:not(.in) + tr td, .table-detail-rozpoctu tbody:first-child tr:first-child.collapse:not(.in) + tr th { border-top-width: 0px !important; }
.table-detail-rozpoctu a:not([href]) { text-decoration: none; color: #08c !important; cursor: default; }

select.month-select { width: 90px; }
.autocomplete-suggestions { background: #fff; border-radius: 4px; border-color:rgba(82,168,236,1); -webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(82,168,236,0.6); padding: 5px 0; }
.autocomplete-suggestions .autocomplete-suggestion { padding: 6px 10px; display: block; cursor: pointer; margin: 0 5px; font-weight: 400; }
.autocomplete-box.control-group .autocomplete-suggestions { margin-top: 8px;}
.autocomplete-suggestions .autocomplete-suggestion:hover { padding: 5px 10px; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; }

a[data-toggle=collapseTable] { outline: none; }
form.no-margin, label.no-margin { margin: 0; }

#ajax-spinner {
    position:fixed;
    left: 50%;
    top: 50%;
    margin: -15px 0 0 -15px;
    background: white url('../img/ajax-loader.gif') no-repeat 50% 50%;
    padding: 13px;
    border: 2px solid #CCC;
    font-size: 0;
}

.navbar .nav > li > a { padding: 10px; }
.nav-tabs.nav-condensed { margin-bottom: 5px; }

.radio.inline, .checkbox.inline { padding-top: 0; }
.controls > .radio:first-child, .controls > .checkbox:first-child { padding-top: 0; }
.table-calendar a { color: #fff; text-decoration: underline; }
.table-widthauto { width: auto; }
.table .odd td { background-color: #f9f9f9; }
.table-borderless td, .borderless th { border: none; }

.who-user { width: 100%; display: table; table-layout: fixed; padding: 3px 0; cursor: pointer; }
.who-user:hover { background: #f5f5f5; }
.who-user h4 { width: 18%; display: table-cell; font-size: inherit; margin: 0; vertical-align: top; font-weight: bold; color: #666; }
.who-status { display: table-cell; width: 82%; }
.who-status table { width: 100%; }
.who-status table td { vertical-align: top; }
.who-desc { display: block; max-height: 20px; word-wrap: break-word; xwhite-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.who-user table tbody.who-history-status { display: none; }
.who-user table tbody.who-history-status.active { display: table-row-group; }

.who-user + .who-user { border-top: 1px solid #ddd; }

.who-group h3 { margin-bottom: 0; font-size: 18px; }

tbody.show-hidden-rows { cursor: pointer; }

@media screen and (max-width: 640px) {
	.who-user h4 { width: 100%; display: block; }
	.who-status { width: 100%; display: block; }
	.who-status table { display: block; }
	.who-status table tr { display: block; width: auto; }
	.who-status table td { display: inline-block; width: auto; }
	.who-status table td { display: inline-block; width: auto; }
	.who-status table td:nth-child(3) { width: 100%; display: block; }
}

.flaticon:before, .flaticon:after { margin-left: 0; }

.sortable { list-style-type: none; margin: 0; padding: 0; width: 100%; }
.sortable li { margin: 0 3px 3px 3px; padding: 0.4em; padding-left: 1.5em; height: 18px; }
.sortable li span { position: absolute; margin-left: -1.3em; }

.thumbnails li p { overflow: hidden; } 
.thumbnails li p small { white-space: nowrap; }

a.thumbnail { text-decoration: none; }
.thumbnail { overflow: hidden; }
.thumbnail .fileImg { display: block; }
.thumbnail .fileTitle, .thumbnail .fileType { display: block; }
.thumbnail.active { background: #08c; color: #fff; }
.thumbnail.active a { color: #fff; }

.files-status { margin-top: 1em; }
.file:nth-child(3n + 1) { margin-left: 0; }
.file .well { background: #fff; }
.file .file-name, .file .file-size { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file .progress { margin: 10px 0 0; }
.file.thumbnail { display: inline-block; width: 15%; }
.file.thumbnail img { width: 100%; }
.file.thumbnail + .file.thumbnail { margin-left: 2%; }

.cursor-help { cursor: help; }
input[type='text'].form-input-comment, textarea.form-input-comment { font-size: 80%; }
.budget-table-tip { width: 20px; text-align: center; }
.label-inline { display: inline-block; }
.budgets_filter_modified_at_input { width: 70px; min-width: 40px; max-width: 80px;  }
.table tr.default td, .table tr.default th { background-color: #e5e5e5; }
.grid-col-modified_at { white-space: nowrap;  }

.label-part-success{background-color: #27D761; }

.table tbody tr > td.success { background-color: #dff0d8 !important; }
.table tbody tr > td.error { background-color: #f2dede !important; }
.table tbody tr > td.warning { background-color: #fcf8e3 !important; }
.table tbody tr > td.info { background-color: #d9edf7 !important; }
.table-hover tbody tr:hover > td.success { background-color: #d0e9c6 !important; }
.table-hover tbody tr:hover > td.error { background-color: #ebcccc !important; }
.table-hover tbody tr:hover > td.warning { background-color: #faf2cc !important; }
.table-hover tbody tr:hover > td.info { background-color: #c4e3f3 !important; }