/*** Custom styly ***/
body {
    width: 100%;
    font-size: 12px;
    background-color: #E3E8EE;
    padding-bottom: 55px;
    position: relative;
    overflow-x: hidden;
}

html {
    height: 100%;
}
body {
    min-height: 100%;
}

a {
    cursor: pointer;
}

.js_warning {
    margin: 15px;
}

.group_addon_span {
    padding: 0 5px;
}

.red {
    color: red;
}

.right {
    text-align: right;
}

.nowrap {
    white-space: nowrap;
}

.bold {
    font-weight: bold;
}

.number {
    text-align: right;
}

.multiselect-container {
    width: 100%;
}

.top_menu .navbar-brand {
    text-shadow: none;
}
.top_menu .navbar-nav > li > a {
    color: #999;
    text-shadow: none;
}
.top_menu .navbar-nav > li > a:hover,
.top_menu .navbar-nav > li > a:focus,
.top_menu .navbar-nav > li > a:active {
    color: #fff;
}
.top_menu .navbar-nav > li.active > a {
    background-color: transparent !important;
    background-image: none !important;
    color: #fff !important;
}

.spin {
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%; /* IE 9 */
    -webkit-animation: spin .6s infinite linear;
    -moz-animation: spin .6s infinite linear;
    -o-animation: spin .6s infinite linear;
    animation: spin .6s infinite linear;
}

/*** Panel ***/
.panel .panel-heading {
    display: block;
}

.panel .panel-heading .glyphicon-resize-full,
.panel .panel-heading .glyphicon-resize-small {
    margin-right: 5px;
}

/*** Header ***/
.layout_header {
    background-color: #006BB2;
    color: #FFFFFF;
    padding: 15px 0 10px 0;
}

.layout_header #header_logo {
    display: inline-block;
    background-repeat: no-repeat;    
    margin: 0 30px 5px 0;
}
.layout_header #header_logo .header_logo-img {
    max-height: 80px;
}

.layout_header #header_title {
    color: #fff;
    display: none;
    font-size: 34px;
    line-height: 51px;
    vertical-align: top;
    margin: 0;
}

.layout_header .home_link {
    display: inline-block;
    text-decoration: none;
}
.layout_header .test {
    color: red;
}

.layout_header .home_version {
    font-size: 12px;
}

.layout_header .header_user_box {
    margin-top: 5px;
}

.layout_header .list_jazyk {
    margin-top: 5px;
    margin-bottom: 0;
}

.layout_header .btn-primary {
    background: #333;
    box-shadow: none;
}
.layout_header .btn-primary:hover {
    background: #222;
}

/*** TopMenu ***/
.top_menu {
    border-top: 1px solid #424242;
    border-bottom: 1px solid #424242;
}

.top_menu nav {
    margin: 0;
    border: none;
    border-radius: 0;
}

.top_menu nav a {
    color: #FFF;
}
.top_menu nav a:hover {
    color: #337ab7;
}
.top_menu nav a:focus {
    color: #337ab7;
}

.top_menu .navbar {
    min-height: 100%;
}

.top_menu .navbar-default {
    background-color: #333;
    background-image: none;
    box-shadow: none;
}

.top_menu .navbar .navbar-header .navbar-brand {
    margin-bottom: 0;
}

.top_menu ul li.hide_show_buttons {
}

.top_menu ul li.highlight_bookkeeping a {
    font-style: italic;
    color: red;
}

/*** LeftMenu ***/
#left_menu {
    padding-top: 15px; 
    padding-bottom: 15px; 
}

#left_menu .navbar {
    min-height: 100%;
    margin-bottom: 0;
}

#left_menu .navbar .navbar-header .navbar-brand {
    margin-bottom: 0;
}

#left_menu #left_menu_navbar_collapse ul li {
    width: 100%;
}

#left_menu .navbar-nav {
    float: none !important;
}

#left_menu .navbar .navbar-nav > li > a {
    padding: 10px 20px;
}

#left_menu .left_menu_navbar_title {
    font-weight: bold;
    margin: 10px;
}

#left_menu #left_menu_navbar_collapse ul li.highlight a {
    font-style: italic;
    color: orange;
}

#left_menu #left_menu_navbar_collapse ul li.highlight_bookkeeping a {
    font-style: italic;
    color: red;
}

/*** Body ***/
.layout_body {
    background-color: #E3E8EE;
}

/*** Content ***/
.content {
    padding: 10px 0 40px 0;
}

.content h2 {
    font-size: 14px;
    margin-top: 10px;
    font-weight: bold;
}

.content h3 {
    font-size: 14px;
    padding-top: 10px;
    font-weight: bold;
    font-style: italic;
}

.content h4 {
    padding: 0;
    margin: 0;
    font-size: 13px;
    padding-top: 10px;
    font-weight: bold;
    font-style: normal;
    border-top: 1px solid #000;
}

.content .breadcrumb {
    margin-top: 7px;
}

.navbar .navbar-text {
    padding: 3px;
}

/*** Footer ***/
.layout_footer {
    position: absolute;
    bottom: 0px;
}

.layout_footer .footer_menu {

}

.footer_menu .navbar {
    background-color: #333;
    background-image: none;
    color: #999;
    min-height: 30px;
}
.footer_menu .navbar-brand {
    color: #999;
    height: 53px;
    font-size: 14px;
    text-shadow: none;
}

.footer_menu .navbar-text {
    padding: 3px;
}

.footer_menu .footer_menu_btn_top {
    display: none;    
    margin-top: 8px;
    padding: 5px;
    height: 34px;
    margin-left: 0px !important;
}

.footer_menu .footer_menu_dropdown_main_menu {
    display: none;
}

.layout_footer.test .navbar {
    background-image: none;
    background-color: orange;
}

.layout_footer.test .navbar-brand.test{
    color: red;
}

/*** message_block ***/
.message_block {
    margin: 10px;    
}

/*** errorstring_block ***/
.errorstring_block {
    margin: 10px;
}

/*** infostring_block ***/
.infostring_block {
    margin: 10px;
}

/*** js_warning ***/
.js_warning {
    margin: 10px;
}

/*** panely ***/
.home-panel .panel-body {
    padding: 0;
}
.home-panel .panel-body .home-panel-body-inner {
    padding: 15px;
}

.panel_warning .panel-heading {    
    background: #ff0000;
    color: #fff;
}

.panel_menu .panel-heading {
    background: #2600ff;
    color: #fff;
}

.panel_info .panel-heading {
    background: #adad00;
    color: #fff;
}

.panel_scheduler .panel-heading {
    background: #00b32a;
    color: #fff;
}

/*** list_buttons ***/
.list_buttons a {
    margin: 5px;    
}

.list_buttons .control {
    margin: 5px;    
}

/*** detail_buttons ***/
.detail_buttons a {
    margin: 5px;    
}

/*** bulk_insert_buttons ***/
.bulk_insert_buttons a {
    margin: 5px;    
}

.panel .panel-default.header {
    color: #333;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    padding: 5px;
}
.panel .panel-default.header a {
    padding: 5px;
}
.panel .panel-default.header .glyphicon-resize-full,
.panel .panel-default.header .glyphicon-resize-small {
    color: #337ab7;
    margin-right: 5px;
}

/*** export_panel ***/
.export_panel {
    padding: 5px;
}

.export_panel .control-label {
    text-align: left;
}

.export_panel .export_buttons {
    border-top: 1px solid #337ab7;    
}

.export_panel .export_buttons a {
    margin: 5px 5px 0 5px;
}

/*** filter_panel ***/
.filter_panel {
    padding: 5px;
    border: 1px solid #337ab7;
}

.filter_panel .control-label {
    text-align: left;
}

.filter_panel .filter_buttons {
    border-top: 1px solid #337ab7;    
}

.filter_panel .filter_buttons a {
    margin: 5px 5px 0 5px;
}

/*** paging ***/
.paging_bar {
    margin-bottom: 20px;
    text-align: right;    
}

.paging_bar .pagination {
    margin-bottom: 0px;
}

.paging_bar .inputSetPageNo  {
    width: 70px;
    height: 17px;
    font-size: 12px;
}

/*** table ***/
table {
    background-color: #FFF;
}

table thead {
    background-color: #DDD;
}

/*** list ***/
.list {
}

.list_history {
    margin-bottom: 5px;
}

/*** detail ***/
.detail {
}

.detail .mandatory_info {
    margin: 5px 0;
}

.detail .form-group {
    margin-bottom: 0;
    border-bottom: 1px solid #CCC;
}

.detail .form-group label {
    min-height: 32px;
    min-width: 150px;
    text-align: left;
    background-color: #DDD;
    margin-bottom: 1px;
}

.detail.editing .form-group label {
    padding-bottom: 12px;
    padding-top: 12px;
    min-height: 39px;
}

.detail .colapse_info {
    padding-top: 2px;
    padding-bottom: 2px;
}

.detail.editing .colapse_info {
    padding-top: 7px;
    padding-bottom: 7px;
}

.detail .form-group .control {
    padding-top: 5px;
    padding-bottom: 5px;
    min-height: 22px;
}

.detail .form-group .control .form-control-static {
    min-height: 22px;
    padding: 2px 0;
}
.detail.editing .form-group .control .form-control-static {
    padding: 7px 0;
}

.detail .form-group label.separate-title {
    background-color: #BBB;
}

.detail .form-group label span.tooltip-info {
    padding: 0 5px;
}

.detail .detail_custom_item {
    padding: 10px 0;
}

.detail .detail_custom_item .list.panel {
    margin-bottom: 0;
}

.detail_control_link_box {
    padding-top: 10px;
}

.detail .detail_control_link {
    margin: 10px;
}

.detail .or_link {
    margin-right: 10px;
}
.detail .ir_link {
    margin-right: 10px;
}

/*** historie ***/
.history.panel {
    padding: 5px 0;
}

.history.panel a {
    margin-right: 10px;
}

.history.panel #history_box_collapse {
    border-top: 1px solid #CCC;
    padding-top: 7px;
}

.bootstrap-datetimepicker-widget table thead {
    background-color: #FFF;
}

/*** Rotacia graphicon ***/
.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg); }
    to { transform: scale(1) rotate(360deg); }
}

/*** jQuery UI autocomplete ***/
.ui-autocomplete {
    position: absolute;
    z-index: 1000;
    cursor: default;
    padding: 0;
    margin-top: 2px;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #ccc;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.ui-autocomplete > li {
    padding: 3px 20px;
}
.ui-autocomplete > li.ui-state-focus {
    background-color: #DDD;
    border: 1px solid rgb(102, 175, 233);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    color: #337ab7;
}
.ui-helper-hidden-accessible {
    display: none;
}

.import-report {
    padding: 5px;
}

/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.loader {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 ) 
        url('../img/loading.gif') 
        50% 50% 
        no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;   
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .loader {
    display: block;
}

/* UI dialog */
.ui-widget-header {
    background: #337ab7;
    border: none;
}

.ui-widget-header button {
    background-color: #666666;
}

.ui-dialog-titlebar-close {
    background: url('../img/images/ui-icons_ffffff_256x240.png');
    background-position: -80px -128px;
}

.kategorie.panel {
    padding: 5px 0;
}

.kategorie.panel #kategorie_box_collapse {
    border-top: 1px solid #cccccc;
    padding-top: 7px;
}

.titleImportantInfo {
    color: red;
    font-size: 20px;
}

.home-panel a[data-toggle="collapse"] {
    color: #fff;
}

.right-panel-active #form_base,
.right-panel-active .footer_menu .navbar {
    margin-right: 10px;
}

#right-panel {
    background-color: #fff;
    box-shadow: -4px 0px 5px 0px rgba(0,0,0,0.33);
    width: 200px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    margin-right: -190px;
    z-index: 9999;
    transition: margin-right .5s;
}
#right-panel.show {
    margin-right: 0;
    transition: margin-right .5s;
}
#right-panel .glyphicon {
    font-size: 18px;
    line-height: 50px;
    transform: rotate(0deg);
    transition: transform .5s;
}
#right-panel.show .glyphicon {
    transform: rotate(180deg);
    transition: transform .5s;
}
#right-panel .right-panel-inner {
    position: relative;
    padding: 20px 20px 20px 45px;
}
#right-panel #right-panel-btn-toggle {
    background-color: #fff;
    border-radius: 50%;
    box-shadow: -10px 0px 5px -5px rgba(0,0,0,0.33);
    width: 50px;
    line-height: 50px;
    position: absolute;
    outline: none;
    left: -25px;
    padding: 0;
}

/* Timeline milestone */
.timeline-title {
  margin-top: 15px !important;
}
.timeline {
  margin-top: 25px;
}
.timeline .first {
  left: 0;
}
.timeline .last {
  right: 0;
}
.timeline .checkmark {
  color: #000;
}
.timeline .labels {
  min-height: 50px;
}
.panel-timeline .milestones-container {
  overflow-x: auto;
}

/* === Nove styly === */

/* --- Form ---  */

/* RadioToggle */
.fw-radio-toggle {
    background-color: #DDD;
    border-radius: 50px;
    cursor: pointer;
    width: 40px;
    height: 22px;
    position: relative;
}
.fw-radio-toggle::after {
    background-color: #fff;
    border-radius: 50px;
    content: '';
    display: block;
    width: 19px;
    height: 18px;
    position: absolute;
    left: 2px;
    top: 2px;
    transition: .3s margin-left;
}
.fw-radio-toggle--checked {
    background-color: #006BB2;
}
.fw-radio-toggle--checked::after {
    margin-left: 17px;
    transition: .3s margin-left;
}
.fw-radio-toggle--disabled {
    cursor: not-allowed;
    opacity: .5;
}

/* Vlastni komponenta - select dle pocatecniho pismene */

.f-nameChar-component:not(.selected) {
	cursor:pointer;
	color:blue;
	text-decoration:underline;
}

.f-nameChar-component:not(.selected):hover {
	text-decoration:none;
	text-shadow: 1px 1px 1px #555;
}

.form-inline-continue {
	display: inline;
}

/* Tabulka listu */
table .table_footer {
    background-color: #DDD !important;
	font-weight: bold;
}

table input[type=checkbox] {
	display: block;
	margin: 0px;
}

/* Tabulka bulk insertu */
.list td,
.list th {
    vertical-align: middle !important;
}

/**/
.no_editing_input {
	padding-left: 30px;
}

.no_top_border {
	border-top-width: 0 !important;
}

.minimal_horizontal_padding {
	padding-left: 1px !important;
	padding-right: 1px !important;
}

/* Tabulka statistik - dochazka */
.header_column {
	background-color: #DDD;
	font-weight: bold;
	border-color: #bebebe !important;
}

/* Table dotted */
.panel>.table-dotted>tbody>tr>td:first-child, 
.panel>.table-dotted>tbody>tr>th:first-child, 
.panel>.table-dotted>tfoot>tr>td:first-child, 
.panel>.table-dotted>tfoot>tr>th:first-child, 
.panel>.table-dotted>thead>tr>td:first-child, 
.panel>.table-dotted>thead>tr>th:first-child, 
.panel>.table-responsive>.table-dotted>tbody>tr>td:first-child, 
.panel>.table-responsive>.table-dotted>tbody>tr>th:first-child, 
.panel>.table-responsive>.table-dotted>tfoot>tr>td:first-child, 
.panel>.table-responsive>.table-dotted>tfoot>tr>th:first-child, 
.panel>.table-responsive>.table-dotted>thead>tr>td:first-child, 
.panel>.table-responsive>.table-dotted>thead>tr>th:first-child {
    border-left: 0;
}

.panel>.table-dotted>tbody>tr>td:last-child, 
.panel>.table-dotted>tbody>tr>th:last-child, 
.panel>.table-dotted>tfoot>tr>td:last-child, 
.panel>.table-dotted>tfoot>tr>th:last-child, 
.panel>.table-dotted>thead>tr>td:last-child, 
.panel>.table-dotted>thead>tr>th:last-child, 
.panel>.table-responsive>.table-dotted>tbody>tr>td:last-child, 
.panel>.table-responsive>.table-dotted>tbody>tr>th:last-child, 
.panel>.table-responsive>.table-dotted>tfoot>tr>td:last-child, 
.panel>.table-responsive>.table-dotted>tfoot>tr>th:last-child, 
.panel>.table-responsive>.table-dotted>thead>tr>td:last-child, 
.panel>.table-responsive>.table-dotted>thead>tr>th:last-child {
    border-right: 0;
}

.table-dotted>tbody>tr>td, 
.table-dotted>tbody>tr>th, 
.table-dotted>tfoot>tr>td, 
.table-dotted>tfoot>tr>th, 
.table-dotted>thead>tr>td, 
.table-dotted>thead>tr>th {
    border-right: 1px dotted #ddd;
	border-left: 1px dotted #ddd;
}