/*** Custom styly - nad Bootstrap ***/

body {
    font-size: 12px;
    background-color: #eee;
    padding-bottom: 55px;
}

p {
    /*margin: 0;*/
}

.jswarning {
    margin: 15px;
}

a {
    cursor: pointer;
}

.form-control {
    /* font-size: 12px; */
}

.group_addon_span {
    padding: 0 5px;
}

.red {
    color: red;
}

.a_red a {
    color: red;
}

.bck_orange{
    background-color: orange;
}

.bck_yellow {
    background-color: #fcf8e3!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;
}

.number {
    text-align: right;
}

.right {
    text-align: right;
}

.bold {
    font-weight: bold;
}

.without_padding_left {
    padding-left: 0;
}

.info_warning {
    color: orange;
    font-weight: bold;
}

table.celkem_k_uhrade {
    margin-bottom: 10px;
}

table.celkem_k_uhrade tr {
    border-bottom: 1px solid #000;
}

table.celkem_k_uhrade tr td {
    padding: 10px;
}

table.celkem_k_uhrade tr td.number {
    text-align: right;
    font-weight: bold;
}

/*** Header ***/
.header {
    background-color: #FFF;
    padding: 15px 0 10px 0;
}

.header.test {
    background-color: orange;    
}

.header .home_link {
    display: block;
    text-decoration: none;
    height: 30px;
    font-weight: bold;
    font-size: 18px;
}

.header .home_link.test{
    color: red;
}

.header .home_version {
    font-size: 12px;
}

.header .header_user_box {
    margin-top: 5px;
}

.header .list_jazyk {
    margin-top: 5px;
    margin-bottom: 0;
}

/*** TopMenu ***/
.top_menu {
    background-color: #CACACA;
    border-top: 1px solid #337ab7;
}

.top_menu nav {
    margin: 0;
    border: none;
    border-radius: 0;
}

.top_menu .navbar {
    min-height: 100%;
}

.top_menu .navbar .navbar-header .navbar-brand {
    margin-bottom: 0;
}

.top_menu ul li{
    margin: 5px;
}

.top_menu ul li.hide_show_buttons {
}

/*** Body ***/
.body {
    border-top: 1px solid #337ab7;    
}

/*** 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 {
    /*margin-left: 20px;*//* Tento margin sa pouzije pre zobrazenie ikony na minimalizovanie laveho menu*/
    margin-left: -10px;
}

#left_menu #left_menu_navbar_collapse ul li{
    margin: 5px;
    width: 100%;
}

#left_menu .left_menu_navbar_title {
    font-weight: bold;
}

/*** 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 .tvorba_dokladu h3 {
    padding: 0px;    
    margin: 0px;    
}

.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 ***/
.footer {
    position: absolute;
    bottom: 0px;
}

.footer .footer_menu {

}

.footer_menu .navbar {
    border-top: 1px solid #337ab7;
    min-height: 30px;
}

.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;
}

.footer.test .navbar {
    background-image: none;
    background-color: orange;
}

.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 ***/
.panel_warning .panel-heading{    
    background: #ff0000;
    background: -moz-linear-gradient(top, #ff0000 0%, #555555 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, #ff0000), color-stop(100%, #555555));
    background: -webkit-linear-gradient(top, #ff0000 0%, #555555 100%);
    background: -o-linear-gradient(top, #ff0000 0%, #555555 100%);
    background: -ms-linear-gradient(top, #ff0000 0%, #555555 100%);
    background: linear-gradient(to bottom, #ff0000 0%, #555555 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff0000', endColorstr='#555555', GradientType=0 );
    font-weight: bold;
    color: #FFF;
}

.panel_menu .panel-heading{
    background: #2600ff;
    background: -moz-linear-gradient(top, #2600ff 0%, #555555 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, #2600ff), color-stop(100%, #555555));
    background: -webkit-linear-gradient(top, #2600ff 0%, #555555 100%);
    background: -o-linear-gradient(top, #2600ff 0%, #555555 100%);
    background: -ms-linear-gradient(top, #2600ff 0%, #555555 100%);
    background: linear-gradient(to bottom, #2600ff 0%, #555555 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2600ff', endColorstr='#555555', GradientType=0 );
    font-weight: bold;
    color: #FFF;
}

.panel_info .panel-heading{
    background: #d1d100;
    background: -moz-linear-gradient(top, #d1d100 0%, #212121 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, #d1d100), color-stop(100%, #212121));
    background: -webkit-linear-gradient(top, #d1d100 0%, #212121 100%);
    background: -o-linear-gradient(top, #d1d100 0%, #212121 100%);
    background: -ms-linear-gradient(top, #d1d100 0%, #212121 100%);
    background: linear-gradient(to bottom, #d1d100 0%, #212121 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d1d100', endColorstr='#212121', GradientType=0 );
    font-weight: bold;
    color: #FFF;
}

.panel_scheduler .panel-heading{
    background: #00ff3c;
    background: -moz-linear-gradient(top, #00ff3c 0%, #555555 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, #00ff3c), color-stop(100%, #555555));
    background: -webkit-linear-gradient(top, #00ff3c 0%, #555555 100%);
    background: -o-linear-gradient(top, #00ff3c 0%, #555555 100%);
    background: -ms-linear-gradient(top, #00ff3c 0%, #555555 100%);
    background: linear-gradient(to bottom, #00ff3c 0%, #555555 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ff3c', endColorstr='#555555', GradientType=0 );
    font-weight: bold;
    color: #FFF;
}

/*** list_buttons ***/
.list_buttons {

}

.list_buttons a.first{
}

.list_buttons a {
    margin: 5px;    
}

/*** detail_buttons ***/
.detail_buttons {

}

.detail_buttons a.first{
}

.detail_buttons a {
    margin: 5px;    
}

/*** filter_panel ***/
.filter_panel {
    padding: 5px;
    border: 1px solid #337ab7;
}

.filter_panel .header {
    font-weight: bold;
}

.filter_panel .header.panel {
    margin-bottom: 5px;
    padding: 5px 0;
}

.filter_panel .header a {
    padding: 5px;
}

.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;
}

table tr.table_tr_suma{
    border-top: 2px solid #000;
    font-weight: bold;
    color: #000;
}

table tr.bck_orange td{
    background-color: orange;
}

/*** 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: 2px;
}

.detail.editing .form-group label{
    padding-top: 12px;
    min-height: 39px;
}
.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 .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;
}

/*** 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);
    max-height: 500px !important;
    overflow-y: auto;
    overflow-x: hidden;
}
.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;
}

.prewrap p{
    white-space: pre-wrap;
}

.ui-widget-content a {
    color: #fff;
}
