table.tab {
    width: 100%;
    background-color: transparent;
    border: 0px solid transparent;
    border-collapse: collapse;
    color: #505050;
}

table.tab.is-summary {
    width: auto;
}

table.tab.is-summary td {
    white-space: nowrap;
}

table.tab.is-summary td.label {
    font-weight: 600;
}

.table-top-summary-wrapper {
    width: 900px;
    width: 100%;
    width: calc(100vw - 120px);
    /*overflow: hidden;
    overflow-x: auto;*/

    overflow: auto;
}

.table-top-summary-wrapper.sidebar-expanded {
    width: calc(100vw - 430px);
}

.table-top-summary-wrapper > div {
    display: inline-block;
    width: auto;
}

div.tab div.header, .userTree li.title, td.gold_lenght, .table-header {
    /* background: linear-gradient(#6fa5bc,#096FB3);/*linear-gradient(#3099A4, #267D8B);*/
    background-color: #d2d2d2;
    border: none;
    color: #000000;
    font-size: 14px;
    height: 40px;
    line-height: 40px;

    /*
    -moz-border-top-left-radius: 3px;
    -webkit-border-top-left-radius: 3px;
    -khtml-border-top-left-radius: 3px;
    border-top-left-radius: 3px;
  
    -moz-border-top-right-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -khtml-border-top-right-radius: 3px;
    border-top-right-radius: 3px;
    */

    line-height: 24px;
    padding-left: 10px;

    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background-color: #fff;
    padding-left: 0px;
    /*padding-left: 20px;
    padding-right: 20px;*/

}

div.tab div.header {
    height: auto;
}

div.tab.details-table div.header,
div.tab.details-table div.header .tabtitle {
    margin-top: -20px;
}

div.tab div.tabtitle{
    float:left;
    line-height: 40px;

    font-size: 16px;
    font-weight: 600;
    color: #495057;
}

div.tab div.tabtitle .table-title-edit,
div.tab div.table-info-text .table-info-edit {
    margin-right: 14px;
}

div.tab div.table-info-text {
    line-height: 14px;
    font-size: 14px;
    font-weight: 400;
    color: #737d85;
    margin-top: -5px;
    padding-bottom: 5px;
}

@media (max-width: 767px) {

    div.tab div.table-info-text {
        display: none;
    }

}

div.tab div.table-info-text .table-info-edit {
    float: left;
}

div.tab div.additionaltitle{
    float:right;
    color: #c81e1e;
    margin-right: 15px;

    color: #505050;
    margin-right: 0px;
}

div.tab div.additionaltitle a{
    color: #c81e1e;
    font-size: 13px;
    text-decoration: none;
}

div.tab div.additionaltitle a:hover{
    text-decoration:  underline;
}


.tab .header:after {
    clear: both;
}


div.tab div.paginate-box {
    float:left;
}

div.tab div.paginate-box:after {
    clear: both;
}

div.tab div.body {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: medium none;
    float: left;
    padding: 0;
    width: 100%;
    background-color: #e6e6e6;

    /*padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;*/
    background-color: #fff;
}

div.tab div.body.only-body {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: medium none;
    min-width: 0;
    padding: 0;
}

div.tab div.navigation-box, div ul.userTree li.navigation-box {
    background-color: #e6e6e6;
    height: 30px;
    padding: 4px 0;
    display: table;
    width: 100%;
    border-bottom: none;/*1px solid #aeaeae;*/
    border-top: 1px solid #aeaeae;

    display: block;
    /*width: calc(100% - 40px);*/
    border: 0px none;
    background-color: #fff;
    padding: 15px 0px;
}

div.tab div.navigation-box .toggle-wrapper {
    /*margin-top: 6px;
    margin-left: 8px;*/
}

div.tab div.navigation-box .toggles-wrapper {
    margin-top: 6px;
    margin-right: 20px;
    float: right;
}

div.tab div.navigation-box .table-cols-wrapper {
    float: right;
    margin-right: 20px;
}

div.tab div.navigation-box .table-cols-wrapper .btn {
    /*padding-top: 0px;*/
    /*padding-bottom: 0px;*/
}

div.tab div.navigation-box .table-cols-wrapper .btn .uil,
div.tab div.navigation-box .table-cols-wrapper .btn .fa {
    margin-right: 0px;
}

div.tab div.navigation-box .buttons-wrapper .btn-group-dropdown {
    margin-top: 0;
}

div.tab div.navigation-box .buttons-wrapper .btn-group-dropdown .btn-dropdown-menu {
    top: 30px;
}

div.tab div.navigation-box .btn-group-dropdown {
    margin-top: -4px;
    float: left;
}

div.tab div.navigation-box .btn-group-dropdown .btn-dropdown-menu {
    top: 34px;
    top: 31px;
}

div.tab div.navigation-box .btn-navigation-box {
    margin-top: 0px;
}

div.paginate {
    float: left;
    font-size: 10px;
    text-align: center;
}

div.paginate li.selected a {
    color: #FFFFFF;
}



div.tab div.paginate-box {
    float: none;
    height: 20px;
    margin-left: 100px;

    margin-left: 0px;
}

/*div.tab div.paginate-box {
  float: left;
  height: 20px;
  margin: 0 0 0 20px;
  max-width: 520px;
}*/

div.tab div.footer div.paginate-box{
    height: inherit;
}

div.tab .window_width div.footer .paginate-box{
    margin-bottom: 10px;

}


@media (min-width: 1236px) {
    /*div.tab div.paginate-box {
      float: none;	
      margin: 0 auto;
    }*/

}

div.tab .paginate-box .paginate {
    float: none;
    margin: 0 auto;
    width: 540px;

    width: 575px;
    margin: 0px;

    width: auto;
    display: inline-block;
    float: right;
    margin-right: -5px;

    margin-right: -1px;
}



.paginateBottom .navigation > div:first-child {
    font-size: 11px;
    height: 25px;
    line-height: 25px;
    margin-left: 20px;
    margin-top: 2px;
}

div.paginate div.next, div.paginate div.previous, div.b-add, div.tab div.search, div.onoff, .lecba_hotov.b-add {
    float: left;
}

div.onoff {
    /*width: 56px;*/
    float: left;
    /*margin: 2px 0 1px 3px;
    text-align: center;
    display: block; */

    margin-right: 10px;
}

div.onoff a {
    /*padding: 0;
    display: block;*/

}

div.paginate div.onoff,
div.paginate div.previous,
div.paginate div.next,
div.paginate div.navigation .paginate-last {
    /*height: 30px;*/
    border: 1px solid #dee2e6 !important;

    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;

    background: transparent;
}

div.paginate div.previous a,
div.paginate div.next a,
div.paginate div.onoff a {
    margin: 0px;
    /*height: 30px;*/
    /*line-height: 30px;*/
}

div.paginate div.onoff a,
div.paginate div.previous a,
div.paginate div.next a,
div.paginate div.navigation .paginate-last {
    color: #6c757d;
    font-size: 14px;
    font-weight: 400;
}

div.paginate div.next {
    border-radius: 0px;
    margin-left: -1px;
}

div.paginate div.next a {
}

div.paginate div.navigation .paginate-last {
    padding: 0px 12px;
    /*line-height: 30px;*/
    margin-left: -2px;

    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;

    padding: 4px 12px;
}

div.paginate div.onoff {
    border-radius: 3px;
}

div.paginate li a, div.paginate a, div.b-add a, div.onoff a, a.lecba_hotov {
}

div.paginate li {
    list-style-type: none;
    float: left;

    /*height: 30px;*/
    /*line-height: 30px;*/

    border: 1px solid #dee2e6;
    margin-left: -1px;
}

div.paginate li.empty {
    width: 30px;
}

div.paginate li a {
    width: calc(100% - 24px);
    /*height: 30px;*/
    /*line-height: 30px;*/
    margin: 0px !important;
    /*padding: 0px 12px !important;*/
    padding: 4px 12px !important;
    font-size: 14px;
    font-weight: 400;
    color: #6c757d;
}

div.paginate div.onoff a:hover,
div.paginate li a:hover,
div.paginate div.previous a:hover,
div.paginate div.next a:hover,
div.paginate div.navigation .paginate-last:hover {
    background-color: #e9ecef;
}

div.paginate li.selected a {
    color: #fff;
    background-color: var(--color-primary);
}

div.paginate li.selected {
    margin: 0 !important;

    border-color: var(--color-primary);
}

.paginate .navigation {
    float: left;
    font-weight: 500;
    margin: 0 1px;
}

div.paginate ul {
    padding: 0px;
    margin: 0px;
    float: left;
}


div.tab {
    background-image: none;
    float: left;
    margin-bottom: 10px;/*20px;//MP 29.10.15*/
    /*margin-right: 10px;*/
    padding-right: 10px;
    margin-top: 0px;

    box-shadow: 0 0 .875rem 0 rgba(53,64,82,.05);
    border-radius: 4px;
    padding: 0 20px 20px;
    background-color: #fff;
}

div.tab.no-wrap {
    box-shadow: none;
    padding: 0px 8px;
    background: transparent;
}

div.tab.details-table {

    padding: 20px;
}

div.tab.details-table.has-fixed-nav {
    margin-left: 220px;
}

div.tab:after {
    clear: both;
}

div.b-add, .lecba_hotov.b-add {
    /*padding-left: 0;*/
    /*width: 145px;*/
}

div.b-add > a {
}

div.tab div.search,
div.search.tab_header{
    float: left;
    font-size: 11px;
    font-weight: 500;
    height: 22px;
    line-height: 22px;
    margin: 4px 0;

    float: right;
    margin: 0px;
    height: 30px;
}

div.tab .search:after,
div.search.tab_header:after{
    clear: both;
}
/*
input[id="hledat"] {
  display: none;
}
*/

div.tab .search form,
div.search.tab_header form
{
    float: right;
    width: 170px;

    padding: 0px 10px;
    border-right: 1px solid #d2d2d2;
    height: 22px;

    border: 0px none;
    width: 220px;
    height: 24px;
    padding: 1px 0px 1px 10px;
    text-align: right;
}

div.tab div.search label,
div.search.tab_header label {
    font-size: 14px;
    margin-right: 10px;
}

div.tab div.search input,
div.search.tab_header input{
    background-color: #FFF;
    border: none;
    font-size: 11px;
    height: 20px;
    width: 135px;
    border-radius: 3px;
    padding: 0px 20px 0 5px;

    border: 1px solid #ced4da;
    border-radius: 2px;
    padding: 0px 5px;
    height: 24px;
    line-height: 24px;

    outline: none;
}

div.tab div.search input:focus,
div.search.tab_header input:focus {
    box-shadow: 0 0 0 .2rem rgba(71,186,193,.25);
}

table.tab th {
    /*background: linear-gradient(#F7F7F7, #D9DCE1);*/
    background-color: #e6e6e6;
    line-height: 1;
    text-align:center;
    padding: 2px;
    border: 1px solid #d2d2d2;
    cursor: default;
    padding: 9px 1px;
    /*border-bottom: none;*/

    background-color: #fff;
    border-color: #dee2e6;
    border-left-color: transparent;
    border-right-color: transparent;
}

table.tab th a, table.tab th  {
    color: #444444;
    font-size: 11px;
    text-decoration: none;
    text-transform: uppercase;
}

.table-body table.tab th {
    border-color: transparent;
}

table.tab th.selected {
    /*background: linear-gradient(#E8E8E8, #B7B7B7);*/
    background-color: #e6e6e6;
    /*font-weight: bold;*/

    background-color: #fff;
}

#obsah table.tab th.selected {
    background: #0093A5;
}


table.tab td {
    border: 1px solid #e6e6e6;
    font-size: 11px;
    font-weight: 500;
    margin: 0;
    padding: 1px 3px;
    height: 23px; /* MP 5.8.19 - změna z height na min-height */

    border-left-color: transparent;
    border-right-color: transparent;
}

@-moz-document url-prefix() {

    .formular table.tab td {
        padding: 3px 3px;
        height: auto;
    }
}



table.tab td.no_padding{
    padding: 0;
}

table.tab td.no_vert_padding{
    padding-top: 0;
    padding-bottom: 0;

}

table.tab td.uhrazeno,
td.ano.bg,
span.ano.bgstav,
.ano.bgstav, .volase.bgstav, .aktivni.bgstav, .potvrzeny.bgstav, .otevrena.bgstav,
.hotova.bgstav, .vykazan.bgstav, .opraveno---vykazan.bgstav, .ok.bgstav, .uhrazeno.bgstav,
.doruceno.bgstav, .odeslana.bgstav, .potvrzeno.bgstav,.contacted, .done,
bg_uhrazeno
{
    background-color: var(--color-success);
    color: #FFF;
    text-align: center;
}

a.uhrazeno.bgstav,
.lecba_header span.uhrazeno.bgstav,
.dekurs_header span.uhrazeno.bgstav{
    background-color: #D0FFCB;
}


a.uhrazeno.bgstav:hover{
    background-color: #c0eeba;
}


.bg_neuhrazeno{
    background-color: #FFD6CD !important;
    color: #000;
    text-align: center;
}

a.bg_neuhrazeno:hover{
    background-color: #ddc5bc !important;
}

.uhrazeno.bgstav,
.bg_neuhrazeno a{
    color: #000;

}


.bg_uhrazeno a,
.otevrena.bgstav a{
    color: #FFF !important;
}

div.table-bookmark table.tab tr td.tb-text.uhrazeno {
    background: #D0FFCB;
    color: #000000;
    text-align: left;
}

table.tab td.bez-dokladu {
    text-align: center;
}

table.tab td.neuhrazeno,
td.ne.bg,
span.ne.bgstav,
.ne.bgstav, .nevolase.bgstav, .neaktivni.bgstav, .odstraneny.bgstav, .uzavrena.bgstav,
.rozpracovana.bgstav, .nevykazan.bgstav, .opraveno---nevykazan.bgstav, .chybav,
.neuhrazeno.bgstav, .nedoruceno.bgstav, .nepotvrzeno.bgstav, .chybnaodpoved.bgstav,
.not-real,
.not-cont{

    background-color: #FFD6CD;
    color: #000000;
    text-align: center;
}





.lecba_upl_hotov,
.uzavrena.bgstav{
    background-color: #9ba6b8;
}

/*
.lecba_upl_hotov:hover,
.uzavrena.bgstav:hover{
    background-color: #687385 !important;
}*/



tr.red.bg.even,
tr.red.bg.odd{
    background-color: #FFD6CD;
    background-color: var(--color-danger-2);
}

tr.yellow.bg.even,
tr.yellow.bg.odd{
    background-color: #FFFF99;
    background-color: #fcf7d7;
    background-color: #f7f5eb;
}


table.tab td.castecne-uhrazeno {
    background-color: #FFCC99;
    color: #000000;
    text-align: center;
}

div.table-bookmark table.tab tr td.tb-text.neuhrazeno {
    background: #FFD6CD;
    color: #000000;
    text-align: left;
}

div.table-bookmark table.tab tr td.tb-text.castecne-uhrazeno {
    background: #FFCC99;
    color: #000000;
    text-align: left;
}

div.tab div.footer {
    background: none repeat scroll 0 0 #e6e6e6;
    border: 1px solid #e6e6e6;
    min-height: 38px;
    padding-top: 3px;


    -moz-border-bottom-left-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -khtml-border-bottom-left-radius: 3px;
    border-bottom-left-radius: 3px;

    -moz-border-bottom-right-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -khtml-border-bottom-right-radius: 3px;
    border-bottom-right-radius: 3px;

    background-color: #fff;
    border: 0px none;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    padding: 20px 0px 0px;
    min-height: 0;
}

div.tab div.footer .paginate_count_txt {
    height: 32px;
    line-height: 32px;

    font-size: 14px;
    font-weight: 400;
    color: #495057;
}

div.tab div.footer .paginate_count_txt .paginate_count_row_total {
    margin-left: 8px;
}

table.tab td a {
    /*color: #3299e3; /*2A8794;*/
    text-decoration: none;
    /*font-weight: 600;*/
}

div.tab div.bottomleft {
    height: 21px;
    width: 27px;
    float: left;

    width: 400px;
}

div.tab div.bottomcenter {
    width: auto;
    float: left;
    font-size: 11px;
    font-weight: normal;
    padding-top: 3px;

    padding-top: 0px;
}

div.tab div.bottomcenter div.row-count {
    float:left;
    line-height:32px;
}


div.tab div.footer.no-paginate,
div.tab div.footer.no-paginate div.bottomleft,
div.tab div.footer.no-paginate div.bottomcenter,
div.tab div.footer.no-paginate div.bottomright {
    height: 0px;
    padding-top: 0px;
}

table.tab tr.footer td {
    background-color: #878787 !important;
    color: #FFFFFF;
    /*height:	25px; */

    font-family: 'Nunito', 'Roboto', "trebuchet MS", "Lucida Grande", Arial;
    font-size: 14px;
    font-weight: 600;
    color: #444444;
    background-color: #fff !important;
    border-top-width: 2px;
}


table.tab tr.odd {
    background-color: #f8f8f8;
}



table.tab tr.even {
    background-color: #FFF;
}

table.tab tr.even.tr_reaction,
table.tab tr.odd.tr_reaction{
    /*  background-color: #FAFAE9;*/
}

table.tab tr th.num,
table.tab tr td.num {
    text-align: right
}

table.tab tr.marked {
    /*background-color:   #ffc7b8;*/
}

td.gold_lenght {
    border-radius: 0
}

.table-bookmark {
    background-color: #f8f8f8;
    border: 1px solid #e6e6e6;
    margin-bottom: 10px;
    padding: 9px 14px 10px;
    /*border-radius: 5px;*/
    /*box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);*/
    margin-bottom: 10px;
    width: 800px;/*700px;*/
    float: left;

    background-color: transparent;
    border: 0 none;
    width: 100%;
    padding: 0px 0px 10px;
}

.table-bookmark.client_finance{
    width: 1010px;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

div.table-bookmark.client_finance div.tab{
    width: 100%;
}

.table-bookmark.admin-height {
    min-height: 299px;
}

div.table-no-bookmark {
    padding-bottom: 15px;
}
div.table-bookmark div.bookmark-line {
    float: left;
    margin-bottom: 10px;
    width: 100%;
    border-bottom: 1px solid #c8c8c8;

    width: 230px;
    border: 0 none;
    margin-right: 30px;

    width: 190px;
    box-shadow: 0 0 .875rem 0 rgba(53,64,82,.05);
}

div.table-bookmark div.bookmark-line.is-anchored.fixed {

    position: fixed;

    top: 135px;

    /*z-index: 10; MP 18.10.21 - skryto kvuli menu */
}

div.table-bookmark div.bookmark-line.is-anchored.fixed.has-breadcrumb {
    top: 165px;
}

/*div.table-bookmark div.icon {
    background: url("../img/private/user/user-icon.png") no-repeat scroll 15px 5px rgba(0, 0, 0, 0);
    float: left;
    min-height: 90px;
    width: 70px;
}
div.table-bookmark div.investment-icon {
    background: url("../img/private/user/investment-icon.png") no-repeat scroll 15px 5px rgba(0, 0, 0, 0);
}
div.table-bookmark div.cuts-icon {
    background: url("../img/private/user/cuts-icon.png") no-repeat scroll 15px 5px rgba(0, 0, 0, 0);
}*/

/*div.table-bookmark ul {*/
div.table-bookmark ul:not(.dropdown-menu) {
    margin: 0;
    padding: 0;
    width: 100%;

    display: block !important;
    border-radius: 4px;
    box-shadow: 0 0 .875rem 0 rgba(53,64,82,.05);
}

div.table-bookmark td > ul:not(.dropdown-menu) {
    box-shadow: none;
}

div.table-bookmark div.bookmark-line ul li {
    background: url("../img/private/table/bookmark-li.png") no-repeat scroll right center rgba(0, 0, 0, 0);
    color: #00a8bc;
    cursor: pointer;
    float: left;
    font-size: 17px;
    list-style: outside none none;
    padding: 7px 30px 7px 20px;
    margin-top: 0px !important;

    display: block !important;
    width: calc(100% - 40px);
    padding: 12px 20px;
    background: #fff;
    font-size: 14px;
    color: #495057;
    border: 1px solid rgba(0,0,0,.125);
    border-width: 0px 0px 1px 0px;
    margin: 0px !important;
    transition: all .2s;
}

div.table-bookmark div.bookmark-line ul li:hover {
    background-color: #f8f9fa;
}

div.table-bookmark div.bookmark-line ul li:first-child {
    /*padding-left: 5px;*/

    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

div.table-bookmark div.bookmark-line ul li.active {
    color: #00658a;

    background-color: var(--color-primary);
    color: #fff;
}

div.table-bookmark div.bookmark-line ul li:last-child {
    /*background: none repeat scroll 0 0 rgba(0, 0, 0, 0);*/
    border-width: 0px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

div.table-bookmark div.tab {
    display: none;
    margin-bottom: 0;
    margin-right: 0;
    /*min-height: 170px;  */
    /*height: 292px;*/
    width: auto;

    width: 800px;
}

div.tab .table-operations,
div.dekurs_cover .table-operations
{
    float: right;
    position: relative;

    /*width: 20px;*/
    height: 20px;
    margin-bottom: -20px;

    min-width: 20px;
}

div.tab .table-operations .dropdown-toggle,
#kartaHlavicka .table-operations .dropdown-toggle,
.lecba_header .table-operations .dropdown-toggle .uil,
div.dekurs_cover .table-operations .dropdown-toggle,
div.dekurs_cover .table-operations .dropdown-toggle .uil,
#zubni_kriz .last-change .uil
{
    color: #495057 !important;
}

#kartaHlavicka .k_icon_opps .table-operations.add-shade .dropdown-toggle {
    background-image: -moz-linear-gradient(top, rgba(0,0,0,0) 65%, rgba(0,0,0,.7));
    border-radius: 50%;
}

#zubni_kriz .last-change .table-operations {
    display: inline;
    margin-left: 10px;
}


div.tab .table-operations .dropdown-menu,
#kartaHlavicka .table-operations .dropdown-menu,
div.dekurs_cover .table-operations .dropdown-menu,
#zubni_kriz .last-change .table-operations .dropdown-menu {
    display: none !important;

    width: auto;
    min-width: 160px;
    max-width: 320px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    border: 1px solid rgba(0,0,0,.15);
    padding-bottom: 0px !important;
}

div.tab .table-operations.open .dropdown-menu,
#kartaHlavicka .table-operations.open .dropdown-menu,
div.dekurs_cover .table-operations.open .dropdown-menu,
#zubni_kriz .last-change .table-operations.open .dropdown-menu {
    display: inline-block !important;
    position: absolute;
}

div.tab .table-operations .dropdown-menu li,
#kartaHlavicka .table-operations .dropdown-menu li,
div.dekurs_cover .table-operations .dropdown-menu li,
#zubni_kriz .last-change .table-operations .dropdown-menu li {
    margin: 0px 0px 6px !important;
}

div.tab .table-operations .dropdown-menu li a,
#kartaHlavicka .table-operations .dropdown-menu li a,
div.dekurs_cover .table-operations .dropdown-menu li a,
#zubni_kriz .last-change .table-operations .dropdown-menu li a {
    text-decoration: none;
    color: #495057 !important;

    transition: all .2s;

    padding: 0px 15px;
    min-height: 30px;
    line-height: 30px;
    font-size: 14px;

    width: calc(100% - 30px) !important;
}



.lecba_header .table-operations .dropdown-menu li .uil,
div.dekurs_cover .table-operations .dropdown-menu li .uil
{
    color: #495057 !important;
}

div.tab .table-operations .dropdown-menu li a.admin .uil {
    color: #c81e1e !important;
}

div.tab .table-operations .dropdown-menu li a:hover ,
#kartaHlavicka .table-operations .dropdown-menu li a:hover,
div.dekurs_cover .table-operations .dropdown-menu li a:hover{
    color: #16181b !important;
    background-color: #f8f9fa;
}

.navstevy div.tab .table-operations {
    top: 10px;
}

div.tab .table-operations .quick-operation {
    font-size: 1.2em;
}

/*div.table-bookmark table.tab{*/
div.table-bookmark table.tab:not(.details-table-outline){
    border-collapse: separate;
    border-spacing: 3px;

    border-spacing: 0px 16px;
    border-spacing: 0px 8px;
}

div.table-no-bookmark div.tab {
    color: #ffffff;
    display: block;
    min-height: 50px;
    padding-left: 10px;
    width: 100%;
}

div.table-no-bookmark table.tab{
    border-collapse: separate;
    border-spacing: 3px;
}

div.table-no-bookmark h2 {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    float: left;
    margin: 15px 0 10px;
    padding: 0 0 0 17px;
}

div.table-no-bookmark h2:first-of-type {
    margin: 0 0 10px;
}
div.table-bookmark div.tab div.body {
    width: auto;

    width: 100%;
}
div.table-bookmark div.active {
    display: block;
}
/*div.table-bookmark table.tab tr td {*/
div.table-bookmark table.tab:not(.details-table-outline) tr td {
    /*border: 5px solid #6e7895;
    color: #ffffff;
    font-weight: normal;
    height: 25px;
    width: 135px;*/
    border: none;
    background: none;
    width: 150px;

    padding-top: 3px;
    padding-bottom: 3px;

    border-bottom: 1px solid #dee2e6;
    padding-bottom: 11px;
}
div.table-bookmark table.tab tr td .table_info {
    margin-right: -6px;
    padding-right: 6px;
    margin-left: 4px;
}
/*div.table-bookmark table.tab tr td:first-child {*/
div.table-bookmark table.tab:not(.details-table-outline):not(.details-table-horizontal) tr td:first-child {
    width: 185px;
    width: 215px;
    text-align: right;
    padding-right: 30px;
}
/*div.table-bookmark table.tab tr td:nth-child(2) {*/
div.table-bookmark table.tab:not(.details-table-outline):not(.details-table-horizontal) tr td:nth-child(2) {
    width: 660px !important;
}
/*div.table-bookmark table.tab tr td.after_rowspan, div.table-bookmark table.tab tr td:nth-child(3) {*/
div.table-bookmark table.tab:not(.details-table-outline) tr td.after_rowspan,
div.table-bookmark table.tab:not(.details-table-outline) tr td:nth-child(3) {
    padding-left: 15px;
    width: 165px;
}


div.table-bookmark table.tab.details-table-finance tr td:nth-child(2) {
    width: 110px;
}

div.table-bookmark table.tab.details-table-finance tr td:nth-child(3) {
    width: 110px;
}

div.table-bookmark table.tab.details-table-finance tr td:nth-child(5) {
    width: 110px;
}

div.table-bookmark table.tab.details-table-finance tr td:nth-child(4) {
    width: 110px;
}

div.table-bookmark table.tab.details-table-finance tr td:nth-child(6) {
    width: 110px;
}

div.table-bookmark table.tab.details-table-finance tr td:nth-child(7) {
    width: 110px;
}

div.table-bookmark table.tab.details-table-finance tr td:nth-child(8) {
    width: 110px;
}

div.table-bookmark table.tab.details-table-finance tr td:nth-child(9) {
    width: 110px;
}

div.table-bookmark table.tab.details-table-finance tr td:nth-child(10) {
    width: 110px;
}

div.table-bookmark table.tab tr td.td-icon {
    padding-top: 0px;
}

div.table-bookmark table.tab tr td.td-icon .uil,
div.table-bookmark table.tab tr td.td-icon img {
    width: 140px;
    height: 140px;
    font-size: 80px;
    text-align: center;
    line-height: 125px;
}

div.table-bookmark table.tab tr td.td-icon + td .btn {
    width: auto !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    margin-right: 4px;
}

div.table-bookmark table.tab tr {
    background: none;
}
div.table-bookmark table.tab tr td a {
    color: #787878;
}
div.table-bookmark table.tab tr td div.columns{
    -webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;
    -webkit-column-rule-width: 50%; /* Chrome, Safari, Opera */
    -moz-column-rule-width: 50%; /* Firefox */
    column-rule-width: 50%;
}
div.table-bookmark table.tab tr td a:hover {
    text-decoration: underline;
}
div.table-bookmark table.tab tr td.tb-text {
    background: -moz-linear-gradient(center top , #ededed 0%, white 50%, white 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    /*padding-left: 5px;*/
    color: #8c8c8c;
    width: 255px;

    border: 0px none;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0px;
}

div.table-bookmark table.tab tr td.tb-text.tb-higher{
    padding-top: 5px;
    padding-bottom: 5px;
}

div.table-bookmark table.tab tr td.tb-text a {
    color: #00a8bc;
}
div.table-bookmark table.tab tr td li{
    display: list-item !important;
    float: none !important;
    margin: 0 !important;
}
/*div.table-bookmark table.tab tr td ul{*/
div.table-bookmark table.tab tr td ul:not(.dropdown-menu) {
    margin-left: 10px !important;
    display: block !important;
}
div.table-bookmark div.buttons {
    float: left;
    height: 40px;
    padding-left: 42.8%;
    margin-top: 8px;
    margin-bottom: 5px;
}
div.table-bookmark div.buttons-line {
    background: none repeat scroll 0 0 #c8c8c8;
    float: left;
    height: 1px;
    margin: 8px 10px 10px;
    width: 99%;
}
div.table-bookmark div.buttons span {
    cursor: pointer;
    float: left;
    height: 40px;
    margin-left: 10px;
    width: 52px;
}
div.table-bookmark div.buttons span.btn-left {
    background: url("../img/private/table/btn-left.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}
div.table-bookmark div.buttons span.btn-right {
    background: url("../img/private/table/btn-right.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}

div.table-bookmark table.tab tr.dekurs {
    height: 180px;
}

table.tab .extended {
    color: #003667 !important;
    font-weight: bold;
}


div.table-bookmark table.tab tr td.tb-text.higher{
    padding: 5px 0px 5px 5px;
    min-height: 100px;
    display: block;
    max-height: 270px;
    overflow: auto;
    width: 665px;
}

div.table-bookmark table.tab tr td.tb-text.barva {
    background: none;
    color: black;
}

table.tab td a.a_offer{
    float: left;
    width:auto;
}

table.tab td.tb-title{
    font-size:15px;

    font-weight: 600;
}


/**
 * NAVIGACE MP 9.2.15
 **/



.table-navigation{
    background-color: #F5F5F5;
    position: fixed;

}

.table-navigation table{
    width: 100%;
}

.table-navigation div.nav-header {
    background: linear-gradient(#3099A4, #267D8B) repeat scroll 0 0 rgba(0, 0, 0, 0);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    height: 35px;
    line-height: 35px;
    padding-left: 15px;
}

.table-navigation .nav-links a{
    padding: 4px 8px 4px 8px;
    font-size: 14px;
}

.table-navigation .line{
    border-bottom: 1px solid #DCDCDC;
}

.table-navigation td.submit{
    padding: 16px 0px 15px 81px;
}

.table-navigation td.submit input{
    width: 240px;
}

.table-navigation .nav-title{
    color: #2A8794;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 5px 8px;
    border-bottom: 1px solid #DCDCDC;
}

.table-navigation .space{
    padding-top:10px;
}
.table-navigation .space1{
    padding-top:15px;
}

table.tab td.bg-green{
    background: none !important;
    background-color: #D0FFCB !important;
    color: #000000;
}

table.tab td.bg-red, table.tab tr.bg-red{
    background: none !important;
    background-color: #ffd6cd !important;
    color: #000000;
}

table.tab td.bg-yellow, table.tab tr.bg-yellow{
    background: none !important;
    background-color: #faeddb !important;
    color: #000000;
}

table.tab .no_record td,
td.no_record {
    min-width : 740px/*940px*/;

    padding-top: 14px !important;
    background-color: #f8f9fa !important;
    text-align: center !important;
    border-color: transparent !important;
}


table.tab .no_record.empty_line_ext td {
    padding-top: 20px !important;
}

td.no_record {
    font-family: 'Nunito', 'Roboto', "trebuchet MS", "Lucida Grande", Arial;
    font-size: 13px;
    font-weight: 500;
    color: #505050;
}





table.tab td.volase {
    background-color: #D0FFCB;
    color: #000000;
    text-align: center;
}

table.tab td.nevolase {
    background-color: #FFD6CD;
    color: #000000;
    text-align: center;
}


.submit-send_addr.delete-btn{
    color: white;
    background-color: transparent;
    background: none repeat scroll 0 0 #2A8794;
    font-size: 11px;
    font-weight: 500;
    line-height: 25px;
    text-decoration: none;
    border-radius: 3px;
    margin-left:20px;
    font-size: 13px;
    border:none;
    padding-left: 8px;
    padding-right: 8px;
    margin-top:-1px;
    cursor: pointer;
}

table.tab .no_record td.info_txt{
    padding: 20px;

}


.ano, .volase, .aktivni, .potvrzeny, .otevrena, .hotova, .vykazan, .opraveno---vykazan, .ok, .uhrazeno, .doruceno, .odeslana, .potvrzeno {
    color: #32CD32;
    text-align: center;
}

.ano a {
    color: #32CD32 !important;
}

.bg-blue a, .bg-blue  {
    color:  #66c7ff !important;
}

.opraveno---nevykazan {
    color:  #66c7ff !important;
    display: inline-block;
}

.ne, .nevolase, .neaktivni, .odstraneny, .uzavrena, .rozpracovana, .nevykazan, .opraveno---nevykazan, .chyba, .neuhrazeno, .nedoruceno, .nepotvrzeno, .chybnaodpoved, .neodeslana {
    color: #c81e1e;
    text-align: center;
    font-weight: bold;
}

.ve-fronte{
    color: #FFD394;
    text-align: center;
}

.storno, .stornovano, .nezjisteno, .castecne-vyk, castecne-vykazana, .canceled {
    background-color: #FFD394;
    text-align: center;
    color: black;
}



.nelze {
    text-align: center;
}

.ne.left{
    text-align: left;
}

table.tab td.mandatory{
    font-weight: bold;
}

div.table-bookmark table.tab tr td.tb-text.ok,
div.table-bookmark table.tab tr td.tb-text.ano{
    background: #d0ffcb;
    text-align: left;
    color: black;
}

div.table-bookmark table.tab tr td.tb-text.storno,
div.table-bookmark table.tab tr td.tb-text.stornovano{
    background-color: #FFD394;
    text-align: left;
    color: black;
}

div.table-bookmark table.tab tr td.tb-text.chyba,
div.table-bookmark table.tab tr td.tb-text.ne{
    background: #FFD6CD;
    text-align: left;
    color: black;
}

div.table-bookmark table.tab tr td.tb-text.ne.mena,
div.table-bookmark table.tab tr td.tb-text.ano.mena{
    text-align: right;

}

table.tab td.column_total{
    background-color: #F2F2F2;
}

/*
table.tab td.detail a, table.tab td a.detail {
    display: block;
    color: #3299e3;
    float: none;
    margin: auto;
    padding: 0;
    text-align: center;
    text-decoration: none;
    
}*/

table.tab td.detail a {
    text-align: center;
}

table.tab td.detail a:before {
    content: "\f002";  /* this is your text. You can also use UTF-8 character codes as I do here */
    font-family: FontAwesome;
    left:-5px;
    color: #3299e3;
    top:0;
    font-size: 14px;
    text-align: center;

    color: var(--color-primary);
    position: relative;
    left: -6px;
}

table.tab td.admin .fa,
table.tab td.admin .uil,
table.tab td.detail.admin a:before {
    color: var(--color-danger);
}

.table-bookmark table.tab td.detail a:before {
    left: 0px;

}

table.tab td a.detail {
    display: inline-block;
}

table.tab td.detail.small a, table.tab td a.detail.small {
    width: 40px;
}


table.tab td.poordinaci a.detail.small{
    /*margin-top: 4px;*/

    margin-top: -3px;
}

table.tab td.detail.short a {
    width: auto;
    padding: 0 10px;
}

table.tab td a.detail.small.hotov{
    width: 40px;
    float:left;
}

table.tab td a.set_stav_hotov{
    float:left;
    width: 60px;
    /*line-height: 28px;*/

    margin-right: 4px;
}

table.tab td a.set_stav_hotov + .table-btn-blue {
    width: 20px;
}

table.tab td.detail.disabled a {
    color: #555;
    cursor: default;
}

table.tab td.navsteva a {
    width: 72px;
}

.tab.filter{
    min-width: 850px;
}

table.znacka tr {
    /*height: 60px;*/
}

table.znacka label {
    display: inline-block;
    height: 25px;
}

table.znacka .popis {
    height: 32px;
}

/*
Filtr
*/

div.filter-link {
    float: left;
}

div.filter-link a {
}

div.form-filter.formular {
    width: auto;
    margin-bottom: 0px;
    background :none;
    position: relative;
}

div.form-filter.formular div.form-content{
    background :none;
    background-color: #F5F5F5;
}

div.form-filter.formular td.label{
    width: 180px;
}

div.form-filter.formular td.label.datum_do {
    width: 35px;

    width: 75px;
}

div.form-filter.formular td.label.datum_do.vek_do {
    width: 100px;
}

div.form-filter.formular td.label.operation{
    /*width: 176px;*/
}


div.form-filter.formular td.label.date_label{
    width: 180px;

    width: 183px;
}

.navigation-box div.formular div.form-content {
    padding-top: 5px;
    padding-bottom: 5px;
}

.form-filter .label {
    padding-right: 10px;
}


div.formular.form-filter INPUT[type="checkbox"] {
    /*margin: 5px 0;
    position: static;*/
}

.navigation-box div.formular div.form-footer {
    background-color: rgba(0, 0, 0, 0);
    height: auto;
}

.navigation-box .formular .submitForm {
    margin: 0;
    position: static;
    width: 100%;
    display: block;
    height: 0;
    padding-bottom: 0px;
}

.navigation-box td.submit {
    text-align: center;
    padding: 0;
}

.form-filter td.submit {
    text-align: left;
    width: auto;
}

div.filter div.formular td.submit input,
div.filter div.formular td.submit button[type="submit"] {
    /*height: 20px;*/
    /*line-height: 20px;*/

    left: 660px;
    position: absolute;
    width: 160px;
    top: 5px;
    /*
    height: 30px;
    left: 770px;
    position: absolute;
    width: 160px;
    top: 3px;*/


    position: static;
    top: auto;
    left: auto;
    margin-left: 680px;
    /*height: 30px;*/
    /*line-height: 30px;*/

    width: auto;
    margin-left: 880px;
}



div.tab div.search input#hledat,
div.search.tab_header input#hledat{
    display: none;
}

.tab.search{
    table-layout: fixed;
}


table.tab td.bold{
    font-weight: bold;
}

table.tab td.mena{
    text-align: right;
}

/*

KARTA

*/
#kartaHlavicka .tab{
    margin: 0px;
    width: 100%;
    margin-top: -4px;
}

/*
@-moz-document url-prefix() {
    #kartaHlavicka .tab{

        margin-top: -4px;
    }
}*/


/*
#kartaHlavicka .tab.karta_pacient > tbody > tr:first-child td{
  font-size:11px;
  padding: 0px 4px;  
  text-transform: uppercase;
  background-color: #e6e6e6;
  border-color:  #d2d2d2;
} 
*/

#kartaHlavicka .tab.karta_pacient .nemoci-alergie td{
    background-color: #FFF !important;
    text-transform: none !important;
}

#kartaHlavicka .tab.karta_pacient .nemoci-alergie td a{
    color: #3299e3 !important;
    font-weight: 500;
}


/*
#kartaHlavicka .tab.karta_pacient  > tbody >  tr:nth-child(2) td{
  color: #282828;
  font-size: 11px;
} 
*/

table.tab td.semibold{
    font-weight: 600;
}

#kartaHlavicka .tab.karta_pacient .nemoci-alergie td {
    font-size: 11px;
}

#kartaHlavicka .tab.karta_pacient tr:nth-child(2) td:first-child{
    text-align:center;
}

.tab.karta_pacient td{
    font-size: 13px;
    padding: 5px;
}

.tab.karta_pacient td.bigger{
    font-size: 15px;
}


.tab.karta_pacient table.nemoci-alergie {
    border-collapse: collapse;
    width: 100%;
    height: 34px;
}

.tab.karta_pacient table.nemoci-alergie td {
    border: none;
    text-align: left !important;
    width: 50%;
    padding: 0 4px;
}

.tab.karta_pacient table.nemoci-alergie td a {
    color: red;
}

.tab.karta_pacient table.nemoci-alergie td:first-child {
    border-right: 1px solid #ebebeb;
}

.tab.karta_pacient table.nemoci-alergie tr:nth-child(2) {
    border-top: 1px solid #ebebeb;
}

table.tab td .formular td{
    border: none;
    height: auto;
}

table.tab td.red,
table.tab td.red a,
.red {
    color: red;
    color: var(--color-danger);
}

table.tab td.green {
    color: green;
}

div.termin div.tab, div.termin div.tab div.body {
    float: none;
}

div.tab a.header_btn {
    text-decoration: none;
}





table.tab td div.fraze {
    padding: 2px 3px;
}


#chat_read{
    float: left;

    background: none repeat scroll 0 0 #2A8794;
    border-radius: 3px;
    margin: 2px 0 0 4px;
    position: relative;
    text-align: center;
    width: auto;
    color: white;
    border: none;
    padding:5px 8px;
    cursor: pointer;
}

table.tab .center {
    text-align: center;
}

table.tab.parodontologie td {
    width: 30px;
}

.parodont-td-between {
    background: none;
    width: 5px !important;
    border-top: none;
}


/*
table.tab span.show_hide_vykon,
table.tab span.show_hide, table.tab span.show_hide_lecba, table.tab div.show_hide_lecba_all {
    cursor: pointer;
    font-size: 25px;
    color: #3299e3;
}
*/
table.tab .fa,
table.tab .uil{
    color: #3299e3;

    color: var(--color-primary);
}

table.tab .btn-group-dropdown.link-only .btn-dropdown-toggle .fa,
table.tab .btn-group-dropdown.link-only .btn-dropdown-toggle .uil {
    color: #505050;
}

table.tab th .fa,
table.tab th .uil {
    color: #444444;
}

tr.fixed-th-widths .fa,
tr.fixed-th-widths .uil {
    display: none;
}

table.tab .op_header{
    position: relative;
}

table.tab .show_hide_btns.lecba_all{
    position: absolute;
    top:0px;
    left: 5px;
}

table.tab th.lecba_header .fa{
    font-size: 17px;
}

.lecba-header th{

}

table.tab tr.lecba_header .fa.fa-caret-down,
table.tab tr.lecba_header .fa.fa-caret-up,
table.tab th.lecba_header .fa.fa-caret-down,
table.tab th.lecba_header .fa.fa-caret-up
{
    font-size: 25px;
}

table.tab th.lecba_header .fa.fa-caret-down,
table.tab th.lecba_header .fa.fa-caret-up{
    position: relative;
    top: 3px;
    margin-right: 25px;
}

table.tab span.show_hide_lecba_all {
}

.typ-vv {
    position: absolute;
    left: 290px;
}

.table-button {

}

a.table-button {

}

a.table-button.add-button {
    background: url("../img/form/b_add.png") no-repeat scroll 7px center rgba(0, 0, 0, 0);
}

div.tab.no-margin-bottom {
    margin-bottom: 0;
}

table.tab td.dark_right_border{
    border-right: 1px solid #555;
}

.tab.proucetnictvi th{
    text-align: left;
    padding-left: 5px;
}

table.tab td.detail.thin a{
    width: 60px;
}

table.tab tr.footer td.mena.bold{
    font-weight: bold;
}

table.tab tr.footer.dark td {
    background-color: #666 !important;
}

div.tab a.header_btn {
    float: left;
}

div.table-bookmark table.tab tr td.tb-text.black{
    color: #333;
}

.paginate_count{
    display:none;
    position: absolute;
    width: 200px;
    height: 50px;
    z-index: 1;
    background: white;
    margin-top: -52px;
    border: 1px solid #bbb;
    margin-left: 3px;
    line-height: 50px;
    font-size: 12px;
}

#desktop_chat div.filter div.formular td.submit input{
    width: 110px
}

div.form-filter.formular td.label.datum_eet{
    padding-left: 7px;
    padding-right: 6px;
    width: 16px;

    width: 45px;
}

table.tab .even.tr_storno,
table.tab .odd.tr_storno
{
    background-color: #ffe2e1;
}


table.tab .even.tr_stav_storno,
table.tab .odd.tr_stav_storno
{
    background-color: #FFEDCC;
}

#tb_filtr_name{
    margin-left: 170px;
    border-radius: 0;
    background-color: white;
    height: 20px;
    color:black;
    text-align: left;
    padding:0px 8px;
    border: 1px solid #E4E4E4;
    margin-top: 1px;
    width:140px;
    font-size: 13px;
    font-weight: normal;
}

#tb_filtr_save{
    margin-left: 338px;
    /*background-color:#09639f;*/

    padding: 0px 12px;
    height: 30px;
    line-height: 30px;
}

#filter-is_today{
    /*margin-left: 10px;
    margin-top: 10px;*/
}

label[for="filter-is_today"]{
    position: relative;
    top: -2px;
}



.kalendarRight .toSee {
    float: left;
    width: 810px; /* DV 710 */

    /*width: calc(50vw - 70px);*/
    width: 850px;

    /*width: 810px;*/
}

.kalendarRight .toSee td,
td.flow_note{
    white-space: -moz-pre-wrap !important;  /* Mozilla, since 1999 */
    white-space: -webkit-pre-wrap; /*Chrome & Safari */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    white-space: pre-wrap;       /* css-3 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
    word-break: break-all;
    white-space: normal;

}

.kalendarRight .toSee > div.tab {
    width: calc(100% - 51px);
}

.kalendarRight .toSee .tab{
    width: 800px;

    width: calc(100% - 52px);
    padding-left: 20px;

    width: 100%;
}

.kalendarRight .toSee .tab > .body {
    margin-top: 60px;
}

.kalendarRight .vCekarne .tab,
.kalendarRight .vOrdinaci .tab{
    width: 860px;
}

.kalendarRight .flowRight {
    float: left;
    /*border: 1px solid #434343;*/
    width: 860px;

    /*width: calc(50vw - 40px);*/
    width: 973px;
}

.flowRight .vCekarne {
    /*height: 220px;*/
    /*border: 1px solid #434343;*/
}


.flowRight .vOrdinaci {
    /*height: 200px;*/
    border: 1px solid #434343;
}

.flowRight .vCekarne .tab,
.flowRight .vOrdinaci .tab {
    padding-left: 20px;
    width: 933px;
}

.flowRight .vCekarne .tab > .body,
.flowRight .vOrdinaci .tab > .body {
    margin-top: 15px;
}


.flowRight .hotovo {
    height: 200px;
    border: 1px solid #434343;
}

.kalendarRight .hotovo .tab {
    width: calc(100% - 40px);
    padding-left: 20px;
}

.kalendarRight .hotovo .tab > .body {
    margin-top: 15px;
}

.yellowMsg {
    padding: 10px 20px 10px 20px;
    border: 1px solid #f4bd00;
    background-color: #ffecb3;
    color: black;
    /*width: 810px;*/
    font-size: 13px;
}

.greenMsg {
    padding: 10px 20px 10px 20px;
    border: 1px solid #259c36;
    background-color: #b3ffb5;
    color: black;
    /*width: 810px;*/
    font-size: 13px;
}

.pinkMsg {
    padding: 10px 20px 10px 20px;
    border: 1px solid #c81e1e;
    background-color: #c81e1e;
    color: #FFF;
    /*width: 810px;*/
    font-size: 11px;


}

.fixed_header{
    display: block;
    position: fixed;
    /*z-index: 1;*/
    width: 100%;
    float:none;
}

table.tabKalendar .fixed_header{
    /*margin-left: -1px;*/
}

.calendar_under .tabKalendar.tyden{
    margin-left: 180px;
}

.under .fixed_top{
    position: fixed;
    width: 1010px;
    /*min-width: 1200px !important;*/
    top: 121px;
    background: #FFF; /*url("../img/private/background/bg.jpg");*/
    background-position: 0 0;
    padding-top: 10px;
    margin-top: -10px;
    padding-bottom: 2px;
    margin-bottom: -2px;
    z-index: 1;
}

.calendar_under{
    position:relative;
}

.calendar_under .td_first{
    width: 100px !important;
    min-width: 100px !important;
    width: 81px !important;
    min-width: 80px !important;
    padding-left: 5px;
    padding-right: 5px;
}

.calendar_under div.tab{
    margin: 0;
    padding: 0;
}

.calendar_under .kalendarRight{
    padding-top: 0px;
    margin-top: 0px;
}

.inner_shadow{
    box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    width: 100%;
    height: 10px;
}

.kalendar_nav{
    float:left;
}

.tabKalendar.mesic,
.tabKalendar.tyden{
    min-width: 300px !important;
}


.calendar_under table.tabKalendar td.clientemptyTyden,
.calendar_under table.tabKalendar td.cl-full{
    width: 90px !important;
}

#calendar_nav a{
    font-size: 13px;
}

#calendar_nav li{
    line-height: 18px;
}

#calendar_nav li > ul{
    padding-right: 0px;

}

a.buttonDatum.obsazenost.cal_under{
    margin-top: 3px;
}
/*
.tab.planovane_navstevy{
    padding-right: 0px;
    width: 100%;
    max-width: 1920px;
}*/

.tab.planovane_navstevy th:last-child{
    /*width: 60% !important;*/
}

.tab.planovane_navstevy th,
.tab.planovane_navstevy td.btn-blue
{
    white-space: nowrap;
}

.nevykazane-list .tab {
    padding-right: 0;
}

.navigation-box a,
.paginate-box a,
.navigation-box .navigation .paginate_count_txt,
div.filter-link,
div.paginate div.previous,
div.paginate div.next,
.table-button{
    color: #c81e1e;
    text-decoration: none;
    /*line-height: 22px;*/
    font-size: 11px;
    margin-top: 4px;
    display:block;
    /*padding: 0px 10px;*/
    border: none;
    background-color: transparent;
    float: left;
    font-weight: normal;

}

.paginate-box a,
.navigation-box .navigation .paginate_count_txt,
div.paginate div.previous,
div.paginate div.next {
    padding: 4px 12px;
}

div.filter-link {
    float: right;
}

.b-add a{
    padding-left: 0px;
    padding-right: 0px;
}

div.paginate div.previous,
div.paginate div.next,
div.onoff,
div.filter-link{
    margin-top: 0;
    padding: 0px;
}

div.paginate div.previous .fa{
    margin-right: 6px;
}
div.paginate div.next .fa{
    margin-left: 6px;
}

div.paginate div.previous.hidden,
div.paginate div.next.hidden{
    display: none;

}

div.paginate div.previous .fa,
div.paginate div.next .fa{
    font-size: 16px;
    position: relative;
    top: 2px;

}


.navigation-box a,
.paginate-box a,
.table-button{
    /*border-right: 1px solid #d2d2d2;*/
}

.paginate-box .paginate_count_txt {
    float: left;
    line-height: 30px;
    padding-left: 10px;
    font-size: 9px;
}

.navigation-box form a{
    border-right: none;
}


div.paginate li a{
    padding: 0px 5px;


}
div.paginate li.selected a{
    /*color: #680000;*/
}

.navigation-box .navigation .paginate_count_txt{
    color: #282828;
    font-size: 9px;
    float: left;

}

#search-vyraz::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    /*color: #c81e1e;*/
    opacity: 1; /* Firefox */
}

#search-vyraz:-ms-input-placeholder { /* Internet Explorer 10-11 */
    /*color: #c81e1e;*/
}

#search-vyraz::-ms-input-placeholder { /* Microsoft Edge */
    /*color: #c81e1e;*/
}

.navigation-box .search,
div.search.tab_header{
    position: relative;
}

.navigation-box .search .fa,
div.search.tab_header .fa{
    position: absolute;
    right: 15px;
    top: 6px;
    color: #a0a0a0/*#c81e1e*/;
}

div.search.tab_header{
    display: inline-block;
    float:none;
    top: 1px;
    border-color: #c2c2c2;
}

.b-add > a > .fa{
    margin-right: 6px;
    margin-left: 5px;
}

.b-add > .fa,
.b-add > .uil {
    float: left;
    /*line-height: 22px;*/
    position: relative;
    margin-left: 6px;
    top: 4px;
    color: #c81e1e;
    font-size: 10px;
    margin-right: 4px;

    top: 0px;
    color: #fff;
    font-size: 14px;
    /*font-weight: 400;*/
    margin-left: 5px;
    margin-right: 6px;
}

.b-add > .uil {
    margin-left: 0;
}

td .td_edit,
td .td_delete{
    font-size: 17px;
}

.additionaltitle .show_hide_btns{
    padding: 0px 0 0px;
    font-size: 12px;
    color: #000;
    position: relative;
    top: -2px;
}

.filter div.formular div.form-footer{
    height: 0px;
    border: none;
}

.filter .formular .submitForm{
    /*position: absolute;
    top: 61px;*/

    margin-top: -41px;
    margin-top: 0px;
    width: 100%;
    position: relative;
}

.filter .formular .submitForm input[type="submit"],
.filter .formular .submitForm button[type="submit"] {
    margin-top: -38px;
    margin-top: -58px;
    position: absolute;

    display: block;

    margin-top: -57px;
}

.filter  div.formular{
    border-top: none;
    border-bottom: none;
}

.filter  div.formular form{
    margin-bottom: -20px;
}

.filter .form-filter .form-content > table table {
    margin-top: -2px;
    margin-bottom: -2px;
    margin-left: -2px;
}

.filter .form-filter .form-content > table table.intable {
    margin-left: 0px;
}

.filter .form-filter .form-content > table table.intable.reset-mt {
    margin-top: 0px;
}

.filter .form-filter .oddo-table {
    margin-left: 3px !important;
}

.filter .filtr-save-separator {
    display: block;
    height: 0px;
    position: relative;
    top: 50px;

    border-top: 1px solid #edf2f5;
    border-top: 1px solid #d2d2d2;
}

.filter td.has-dropdown {
    padding-left: 15px !important;
    padding-top: 4px !important;
}

.filter .btn-group-dropdown .btn-dropdown-toggle {
    width: auto !important;
    height: 30px;
    line-height: 30px;
    padding: 0px 12px;
    text-decoration: none;
}

.filter .btn-group-dropdown .btn-dropdown-menu {

}

.filter .form-filter .form-content > table table.filter-collapsible,
.filter .filter-collapsible {
    margin-left: -3px;
}

.show_hide_note,
.show_hide_navstevy,
.show_hide_vykazane_kody,
.show_hide_diagnoza,
.show_hide_plan {
    cursor: pointer;
}

.show_hide_note .fa,
.show_hide_navstevy .fa,
.show_hide_vykazane_kody .fa,
.show_hide_nav .fa{
    color: #3299e3;
    font-size: 25px;

}
.show_hide_nav .fa{
    padding: 8px 0 3px;

    padding: 0px;
}

.show_hide_nav:not(.hidden) {
    position: relative;
}

.show_hide_nav:not(.hidden) .uil {
    font-size: 1.6em;

    display: block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    position: absolute;
    top: 0px;
    right: 0px;
    border-radius: 3px;
    transition: all .2s;

}

.show_hide_nav:not(.hidden) .uil:hover {
    background: #f8f9fa;
}

.show_hide_nav:not(.hidden) .uil:before {
    margin-top: -0.08em;
    margin-left: -0.1em;
}

div.tab div.additionaltitle .table-button,
div.tab div.additionaltitle .b-add {
    line-height: 20px;
    font-size: 11px;
    color: #c81e1e;
    border-left: 1px solid #b4b4b4;
    text-transform: uppercase;
    text-decoration: none;
    margin-right: 9px;
    padding-left: 10px;
}

div.tab div.additionaltitle{
    border-left: none;
    margin-top: 10px;
    padding: 0;

}

div.tab div.additionaltitle .b-add{
    padding-top: 2px;
}

div.tab div.additionaltitle .table-button:first-child,
div.tab div.additionaltitle .b-add:first-child,
#regener_snimek{
    border-left: none;
}

div.tab div.additionaltitle .table-button:last-child,
div.tab div.additionaltitle .b-add:last-child,
#regener_snimek{
    margin-right: 0px;
}

#regener_snimek {
    margin-top: -3px;
    height: 20px;
    line-height: 20px;
}

div.tab div.additionaltitle .b-add a {
    color: #c81e1e;
    font-size: 11px;

}

div.tab div.additionaltitle .b-add .fa{
    position: relative;
    top: -1px;
    margin-left: 0px;
}

.additionaltitle > span{
    margin-top: 8px;
    color: #000000;
    font-size: 11px;
}

.additionaltitle > span.show_hide_btns{
    margin-top: 0px;
}

div.tab .table-btn-blue {
    background-color: #3299e3;
    border-radius: 3px;
    color: white;
    text-align: center;
    padding: 3px 0;

    width: calc(100% - 24px);
}

div.tab .btn-red a{
    background-color: var(--color-danger) !important;
    border-color:  var(--color-danger) !important;
}

div.tab .btn-red a:hover{
    background-color: var(--color-danger-hover)  !important;
     border-color:  var(--color-danger-hover) !important;
}

div.tab .table-btn-blue.uhradit{
    margin-left: 5px;

    width: 20px !important;
}

div.tab .no_uhradit{
    /* padding-right: 48px;*/
}

div.tab .btn-blue a:not(.dropdown-link) {
    background-color: #3299e3;
    border-radius: 3px;
    color: white;
    text-align: center;
    padding: 3px;
    box-sizing: border-box;
}


.table_row_hover{
    /*background-color: #d8d8d8 !important;*/
    /*background-color: var(--color-primary-1) !important;*/
}

.table_row_hover_td td{
    /* background-color: #d8d8d8 !important;*/
    /*background-color: var(--color-primary-1) !important;*/

}

.filter_buttons .button{
    float: left;
}

.filter_buttons .button a{
    height: 20px;
    line-height: 20px;
    left: 660px;
    position: absolute;
    width: 160px;
    top: 5px;
}

.lecba_buttons.filter_buttons .button{
    float: left;
}

/**

Fixní hlavička

*/

.inner-container
{
    height: 100%;
    overflow: hidden;
}

.table-body-header
{
    position: relative;

    /*border-bottom: 2px solid #dee2e6;*/
}

.table-body-header table {
    border-bottom: 2px solid #dee2e6;
}

.table-body
{
    overflow: auto;
}

.table-body.horizontal-only {
    overflow-y: visible;
    height: auto !important;
}

.table-body table.tab {
    margin-top: -2px;
}

.filter div.formular form{

    margin-bottom: 0px;
}

@media (max-width: 1080px) {

    .table-body {
        height: auto !important;
        overflow-y: visible;
    }
}

/**

konec fixní hlavička

*/

.lecba_buttons.filter_buttons a {

    position: static;
    margin-right: 10px;
}


.border-left4 {
    border-left-width: 4px !important;
}

.border-right4 {
    border-right-width: 4px !important;
}

.border-left2 {
    border-left-width: 2px !important;
}

.border-right2 {
    border-right-width: 2px !important;
}



.border-right_dark{
    border-right-color: #BBB !important;
}

.border-left_dark{
    border-left-color: #BBB !important;
}


.border-right_black{
    border-right-color: #444 !important;
}

.border-left_black{
    border-left-color: #444 !important;
}

table.tab.kriz_kategorie th a.kategorie_header_btn {
    width: 125px;
    position: relative;
    top: -3px;
    margin-right: 15px;
    margin-left: 5px;

    width: auto;
    padding: 0px 12px;
    height: 30px;
    line-height: 31px;
    font-size: 14px;
    top: 0px;
    background: var(--color-primary);
    transition: all .2s;
    margin-left: 10px;
}

table.tab.kriz_kategorie th a.kategorie_header_btn:hover {
    background: var(--color-primary-hover);
}

table.tab tr.selected_row{
    background-color: #D0FFCB;
}



div.min-height-300 {
    min-height: 300px;
}

.print-header {
    padding-top: 3px;
    padding-bottom: 3px;
}

.print-header th {
    font-size: 15px;
    font-weight: normal;
    height: 21px;
    line-height: 21px;
    padding-right: 20px;
}

div.no-padding {
    padding: 0;
}

.kal-ov-time{
    width: 80px;

    width: 70px;
}

div.form-filter.formular td.label.operation_summary{
    width: 96px;
}

#content-private.print_table #bookmark_cover,
#content-private.print_table #responsible_bookmarks_{
    display:none;
}
#content-private.print_table div.tab{
    margin: 20px 0 0 10px;
}
#content-private.print_table div.tab div.navigation-box{
    display:none;
}

#content-private .tooth_history .table-button{
    line-height: 21px;
}

table.tab tr.odd.plan_deactivated,
table.tab tr.even.plan_deactivated,
table.tab tr.odd.plan_deactivated td,
table.tab tr.even.plan_deactivated td
{
    background-color: #DDD !important;
    color: #aaa !important;
}

table.tab tr.odd.plan_deactivated td > a,
table.tab tr.even.plan_deactivated td > a
{
    color: #aaa !important;
}



@media (max-width: 1080px) {

    div.tab div.header {

    }

    div.tab div.body:not(.only-body) {
        /*max-width: 1060px !important;
        width: 1060px !important;*/
    }

    .window div.tab div.body:not(.only-body) {
        width: auto !important;

    }

    #dnesniPacienti div.tab div.body:not(.only-body) {
        max-width: auto !important;
        width: auto !important;
    }



    div.tab.karta_lecby div.header {
        min-width: 1345px;
        min-width: 1335px;
    }

    div.tab.karta_lecby div.body:not(.only-body) {
        min-width: 1355px;
    }

    #selectlecebnyplan div.tab.karta_bookmarks_table div.header {

        min-width: 1560px;
    }

    #selectlecebnyplan div.tab.karta_bookmarks_table div.body table.tab {

        min-width: 1570px !important;
    }

    #plannavstev div.tab.karta_bookmarks_table div.header {

        min-width: 1560px;
    }

    #plannavstev div.tab.karta_bookmarks_table div.body table.tab {

        min-width: 1570px !important;
    }

    .visits-tables-container div.tab.karta_bookmarks_table div.header {

        min-width: 1660px;
    }

    .visits-tables-container div.tab.karta_bookmarks_table div.body table.tab {

        min-width: 1670px !important;
    }

    .visits-tables-container div.tab.karta_bookmarks_table {
        min-width: 1660px;
    }

    div.tab.finance_finance_table div.header {
        width: 1764px !important;
        max-width: 1764px !important;
    }

    div.tab.finance_finance_table div.body {
        width: 1772px !important;
        max-width: 1772px !important;
    }

    .table_col_dekurs_col {
        width: 260px !important;
    }

    /*
    div.tab.fixed_table {
        max-width: 1040px !important;
        width: 1040px !important;
        
        width: calc(100% - 80px);
    }
    
    .kalendarRight div.tab div.body {
        max-width: none !important;
        width: 100% !important;
    }*/

    div.tab .body.inner-container {
        width: calc(100vw - 15px) !important;
    }

}

.tab.error_notes .body table.tab tr td.error_report_note_text img {
    max-width: 100%;
    height: auto !important;
}


div.tab th,
div.tab td {
    padding: 12px;

    /*
    box-shadow: 0px 0px 8px 0px #999 inset;
    */
}

div.tab th {
    padding-left: 0px;
    padding-right: 0px;
}

div.tab th.no-padding,
div.tab td.no-padding {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

div.tab th.no-padding-left,
div.tab td.no-padding-left {
    padding-left: 0px !important;
}

div.tab th.no-padding-right,
div.tab td.no-padding-right {
    padding-right: 0px !important;
}



.form-filter td {
    padding: 0px !important;
}

.form-filter td.label {
    padding-right: 30px !important;
}

.form-filter td.label {
    padding: 1px 10px 1px 17px;
}

div.tab th {
    border-bottom-width: 2px;
}

div.tab th,
div.tab th a,
div.tab td {
    font-size: 14px;
    
}

.kalendar-look-thin table.tabKalendar td,
.kalendar-look-thin table.tabKalendar th a, 
.kalendar-look-thin table.tabKalendar th {
    font-size: var(--td-inner-font-size);
}

div.tab th,
div.tab th a {
    text-transform: none;
    text-align: left;

    font-weight: 600;
}

div.tab th .th-padding-box {
    display: block;

    padding-left: 12px;
    padding-right: 12px;
}

div.tab th .main.zaznam .th-padding-box {
     display: inline-block;
}

div.tab th a.th-padding-box {
    padding-right: 30px;
}

div.tab th.mark_rows {
    padding-left: 0px;
    padding-right: 0px;
}

div.tab th.mark_rows .th-padding-box {
    text-align: center;
}

div.tab th.th-sortable {
    /*box-shadow: 0px 0px 8px 0px #aaa inset;*/


    position: relative;

    /*padding-bottom: 11px;*/
    background: transparent;
}

div.tab th.th-sortable::before,
div.tab th.th-sortable::after {
    color: #495057;
    opacity: .3;

    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}

div.tab th.th-sortable::before {
    content: "\2191";
    right: 16px;
}

div.tab th.th-sortable::after {
    content: "\2193";
    right: 8px;
}

div.tab th.th-sortable.th-sortable-desc.selected::before {
    opacity: 1;
}

div.tab th.th-sortable.th-sortable-asc.selected::after {
    opacity: 1;
}


div.tab a.header_btn,
div.b-add,
div.filter-link a,
.table-button,
div.tab .btn-blue a:not(.dropdown-link),
.btn,
.btn.btn-primary,
.btn.btn-secondary,
a.btn.btn-secondary,
input[type="button"],
div.formular.user_photo_add .block_right input[type="button"],
div.formular.user_photo_add #photo_close,
#webcam,
div.tab .table-btn-blue,
div.formular .submit-aktualizace,
div.formular .vv_zubni_kriz,
div.tab div.additionaltitle a.vv_zubni_kriz,
.btn_sumbit,
div.formular input.btn_sumbit,
a.main_btn,
input.header_btn,
#zubni_kriz li.sub a
{
    color: #fff;
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    font-family: 'Nunito', 'Roboto', "trebuchet MS", "Lucida Grande", Arial;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    padding: 4px 12px;
    border-radius: 3px;
    margin-top: 0px;
    margin-right: 4px;

    transition: all .2s;

    margin-right: 0px;
    border: 0px none;
    cursor: pointer;

    text-decoration: none;
}

div.tab a.header_btn.paro-btn {
    position: absolute;
    right: 0px;
    top: 5px;
    width: 140px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 12px;
    padding-right: 12px;
    height: 27px;
}

div.tab a.header_btn.paro-btn i {
    margin-right: 5px;
}

.btn-blue a:not(.dropdown-link) .fa,
.btn-blue a:not(.dropdown-link) .uil {
    color: #fff;
}

input.header_btn{
    display:inline-block;
}



a.main_btn{
    display: inline-block;
}

.table-button {
    color: #fff !important;
    background-color: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    padding: 4px 10px !important;
    border-radius: 3px !important;
    margin-top: 0px !important;
    /*margin-right: 0px !important;*/
    border: 0px none !important;
    border-radius: 0px !important;
}

/*.table-button:not([class*="me-"]),*/
/*.table-button:not([class*="mx-"]),*/
.table-button:not([class*="me-"]):not([class*="mx-"]) {
    margin-right: 0px !important;
}

.table-button.rounded{
    border-radius: 3px !important;
}

.table-button.btn-primary {
    background-color: var(--color-primary) !important;
}

div.tab .export2xls a.header_btn,
div.tab .export2xls .table-button {
    border-radius: 0px;
}

.buttons-wrapper .export2xls div.btn-group-dropdown {
    float: left;
}

.btn-alone {
    border-radius: 3px !important;
    margin-right: 4px !important;
}

.buttons-wrapper .export2xls div.btn-group-dropdown a.kalendar-btn {
    border-radius: 0px;
}

/*.buttons-wrapper > div:first-child.btn-group-dropdown + div.export2xls .header_btn,*/
/*.buttons-wrapper > div:first-child.btn-group-dropdown + div.export2xls .table-button,*/
div.tab .buttons-wrapper .export2xls:first-of-type a.header_btn:not(.join-left),
div.tab .buttons-wrapper .export2xls:first-of-type .table-button:not(.join-left),
div.tab .buttons-wrapper .export2xls .is-left-edge {
    border-top-left-radius: 3px !important;
    border-bottom-left-radius: 3px !important;
}

div.tab .buttons-wrapper .export2xls:last-of-type a.header_btn,
div.tab .buttons-wrapper .export2xls:last-of-type .table-button,
div.tab .buttons-wrapper .export2xls .is-right-edge {
    border-top-right-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
}

.btn:not(.btn-disabled):hover,
.btn-primary:not(.btn-disabled):hover,
.btn-secondary:not(.btn-disabled):hover,
a.btn-secondary:not(.btn-disabled):hover,
div.tab a.header_btn:not(.btn-disabled):hover,
div.b-add:not(.btn-disabled):hover,
div.filter-link a:not(.btn-disabled):hover,
.table-button:not(.btn-disabled):hover,
input.header_btn:not(.btn-disabled):hover{
    background-color: var(--color-secondary-hover);
}

.table-button:not(.btn-disabled):hover {
    background-color: var(--color-secondary-hover) !important;
}

.table-button.btn-primary:not(.btn-disabled):hover {
    background-color: var(--color-primary-hover) !important;
}

.header_btn.paginate-last:hover{
    background-color: #e9ecef !important;
}

a.header_btn.br-right {
    border-top-right-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
}

div.b-add {
    background-color: var(--color-danger);
    margin-right: 4px;
}

div.b-add.join-right {
    margin-right: 0px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

div.b-add:hover {
    background-color: var(--color-danger-hover) !important;
}

div.b-add a,
.b-add > .fa {
    color: #fff;
    margin: 0px;
    font-size: 14px;
    /*font-weight: 400;*/
}

.b-add > .fa {
    margin-left: 5px;
    margin-right: 6px;
}

.btn > .fa,
.btn > .uil,
div.formular.user_photo_add .block_right input[type="button"] > .uil,
.btn-group-dropdown > a > span > .fa{
    margin-right: 6px;
}

div.filter-link a,
div.tab .btn-blue a:not(.dropdown-link),
.btn.btn-primary,
a.btn.btn-primary,
input[type="button"],
div.formular.user_photo_add .block_right input[type="button"],
div.formular.user_photo_add #photo_close,
#webcam,
div.tab .table-btn-blue {
    background-color: var(--color-primary);
}



div.formular.user_photo_add .block_right input[type="button"],
div.formular.user_photo_add #photo_close {
    margin-top: 30px;
}

.first-btn {
    border-radius: 3px 0 0 3px !important;
}

#webcam {
    margin-top: 5px;
    display: block;
    width: 100%;
}

#snap {
    position: relative;
    top: -10px;
    z-index: 4;
}

div.filter-link a:hover,
div.filter-link a.active,
div.tab .btn-blue a:not(.dropdown-link):hover,
.btn.btn-primary:hover,
input[type="button"]:hover,
div.formular.user_photo_add .block_right input[type="button"]:hover,
div.formular.user_photo_add #photo_close:hover,
#webcam:hover,
div.tab .table-btn-blue:hover {
    background-color: var(--color-primary-hover);
}


div.formular.user_photo_add #photo_close{
    background-color: var(--color-success);
    border-color: var(--color-success);
}

div.formular.user_photo_add #photo_close:hover{
    background-color: var(--color-success-hover);
    border-color: var(--color-success-hover);
}


div.filter-link a:hover,
div.filter-link a.active {
    background-color: var(--color-primary-hover) !important;
}

.btn.join-left {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.btn.join-right {
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.btn.gap {
    margin-left: 4px;
    margin-right: 4px;
}

.btn.gap-left {
    margin-left: 4px;
}

.btn.gap-right {
    margin-right: 4px;
}


.td-icon .uil,
.td-icon img,
.user-icon {
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;

    background-color: #f1f3fa;
    color: #787878;
}

.user-icon {
    display: inline-block;
    margin-right: 5px;
}

.user-icon-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 5px;

}

span > .user-icon,
span > .user-icon-img {
    min-width: 30px;
}

.td-client-icon {
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.td-client-icon .user-icon,
.td-client-icon .user-icon-img {
    min-width: 25px;
    width: 25px;
    height: 25px;
    margin-left: 0;
    font-size: 12px !important;
    line-height: 24px;
}

/*td .btn {*/
td:not(.button) .btn {
    /*padding-top: 0px;*/
    /*padding-bottom: 0px;*/
    color: #fff !important;

    /*width: calc(100% - 24px) !important;*/
}


td .btn:not(.btn-expand-collapse, .check-reg-b2b-flow, .btn-kalendar-select-term, .btn-foto-adresar)
{
    width: calc(100% - 24px) !important;
}

td .btn.btn-payment-dropdown
{
    width: auto !important;
}


#dnesniPacienti td .btn.btn-payment-dropdown{
    height: 30px;
}

#dnesniPacienti td .btn.btn-payment-dropdown i.uil.uil-wallet,
#dnesniPacienti td .btn.btn-payment-dropdown i.uil.uil-angle-down{
    font-size: 17px;
}





td .btn.w-auto {
    width: auto !important;
}

.btn.btn-form {
    padding-top: 0px;
    padding-bottom: 0px;
    height: 32px;
    line-height: 32px;
    vertical-align: top;
    margin-top: 3px;
}

.btn.btn-save-filtr {
    width: auto !important;
    margin-left: 10px !important;
    margin-top: -25px !important;
}



div.tab.search_plan_table,
div.tab.search_table {
    width: 890px /*920px*/;
    padding-bottom: 20px !important;
}

div.tab.search_plan_table{
    width: 900px;
}


div.tab.search_plan_table .table-body,
div.tab.search_table .table-body {
    height: 400px !important;
    overflow-x: hidden;
}


div.tab.details-table .table-body {
    height: 400px !important;
}


td.td-client a {
    color: #505050 !important;
}

td.td-client a:hover {
    text-decoration: underline;
}

.table-title-edit,
.table-title-add,
.table-info-edit,
.table-info-add {
    position: absolute;
    margin-left: -14px;
    opacity: 0.4;
}

.card-primary .table-title-edit,
.card-primary .table-title-add,
.card-primary .table-info-edit,
.card-primary .table-info-add,
.card-secondary .table-title-edit,
.card-secondary .table-title-add,
.card-secondary .table-info-edit,
.card-secondary .table-info-add {
    color: #fff;
}

.table-bookmark div.tab.fixed_table .table-body {
    height: 400px !important;
}

div.tab div.body.window_width{
    overflow: hidden;
    overflow-x: auto;
}


div.tab div.body.window_width table{
    table-layout: fixed !important;
}


.table_info.form_info.th_info {
    margin-top: -1px;
    width: auto;
    position: absolute;
    top: 12px;

    margin-top: 2px;
}

.table_info.form_info.th_info.col_help{
    position:static;
    top: auto;

}

.table_info.form_info.th_info.last .table_info_content{
    margin-left: -300px !important;
    margin-top: 0px  !important;
}

.table_info.form_info.last .table_info_content{
    margin-left: -300px !important;
    margin-top: -15px  !important;
}


div.tab th.thth_help {
    position: relative;
}

div.tab .thth_help {
    position: relative;
}

div.tab .thth_help .table_info.form_info.th_info{
    top: 0px;
    top: -4px;
}

div.tab .dekurs_label .thth_help .table_info.form_info.th_info {

}


div.tab th a.th-padding-box.tha_help .th_info{
    padding-right: 30px;
}

div.tab th a.th-padding-box.tha_help{
    float:left;
    padding-right: 0px;
}

.tooth_history .buttons-wrapper input.header_btn{
    float:left;
    /*height: 30px;*/
    outline: none;
}

.tooth_history .buttons-wrapper .export2xls a {
    position: relative;
    margin-left: -2px;
}

.tooth_history .buttons-wrapper input:nth-child(1){
    border-radius: 3px 0 0 3px;
}

.tooth_history .buttons-wrapper div:nth-child(2){
    border-radius:  0 3px 3px 0;
}



table.tab .btn-primary .fa, table.tab .btn-primary .uil{
    color: #FFF;
}

table.tab td.td_no_padding_right{
    padding-right: 0px;
}

table.tab td.td_no_padding_left{
    padding-left: 0px;
}

table.tab td a.plan_poradi:hover{
    text-decoration: none;
}

div.tab.error-report-basic .table-operations {
    margin-top: 10px;
}

.tab td .badge:not(.badge-link).is-title-only {
    width: 7px;
    overflow: hidden;
    color: transparent !important;
}

.tab td .badge.is-title-only a {
    width: 20px;
    overflow: hidden;
    color: transparent !important;
}


.ui-autocomplete.autocomplete-list-outline {
    left: auto !important;
    right: 43px !important;
}

.ui-autocomplete.autocomplete-list-outline.to_see_autocomplete{
    right: auto !important;
    left: 700px !important;
}

/*
* PARA VYSETRENI
* ---------------------
*/

div.tab.para-tab {
    margin-top: 10px;
}

div.tab.para-tab td {
    border: 1px solid #e7e7e7;
    font-size: 12px;
}

div.tab.para-tab td.submit-td {
    background: none;
    border: none;
    /*padding: 20px;*/
    background-color: #f8f8f8;

    padding: 20px 20px 60px;
}

div.tab.para-tab td.submit-td input {
    /*height: 32px;*/
    /*line-height: 32px;*/
}

div.tab.para-tab td {
    padding: 0;
    text-align: center;
}

div.tab.para-tab tr {
    background: white;
}

div.tab.para-tab td.para-th {
    font-weight: 500;
    background-color: #f8f8f8;
}

div.tab.para-tab .para-input input {
    width: 25px;
    text-align: center;
    border: none;
    background: none;
}

div.tab.para-tab .para-input input:focus {
    /*background-color: #ffff99;*/
}

div.tab.para-tab select {
    width: 100%;
}

div.tab.para-tab td.para-tooth-end {
    border-right: 2px solid #d7d7d7;
}

div.tab.para-tab td.para-middle-end {
    border-right: 3px solid #a7a7a7;
}

div.tab.para-tab td.para-middle-start {
    border-left: 3px solid #a7a7a7;
}

div.tab.para-tab td.para-horizontal-middle {
    border-top: 3px solid #a7a7a7;
}

div.tab.para-tab .para-hnis-ano,
div.tab.para-tab .para-hnis-ne,
div.tab.para-tab .para-bop-ano,
div.tab.para-tab .para-bop-ne {
    display: none;
}

div.tab.para-tab .para-hnis-ano {
    position: absolute;
    top: 25px;
    width: 55px;
    height: 25px;
    line-height: 25px;
}

div.tab.para-tab .para-hnis-ne {
    position: absolute;
    top: 50px;
    width: 55px;
    height: 25px;
    line-height: 25px;
}

div.tab.para-tab .para-bop-ano {
    position: absolute;
    top: 22px;
    left: -2px;
    width: 28px;
    height: 23px;
    line-height: 25px;
    border: 1px solid #d7d7d7;
    cursor: pointer;

}

div.tab.para-tab .para-bop.para-bop-selected {
    background: #FB0200;
}

div.tab.para-tab .para-hnis.para-hnis-selected {
    background: #FFD660;
}

div.tab.para-tab .para-bop-ne {
    position: absolute;
    top: 47px;
    width: 28px;
    height: 23px;
    line-height: 25px;
    left: -2px;
    border: 1px solid #d7d7d7;
    cursor: pointer;
}

div.tab.para-tab .para-hnis,
div.tab.para-tab .para-bop {
    display: block;
    height: 100%;
    line-height: 25px;
    cursor: pointer;
}

div.tab.para-tab .para-hnis-ne,
div.tab.para-tab .para-bop-ne,
div.tab.para-tab .para-hnis,
div.tab.para-tab .para-bop {
    background: white;
}

div.tab.para-tab .para-hnis-ano {
    background: #FFD660;
}

div.tab.para-tab .para-bop-ano {
    background: #FB0200;
}

div.tab.para-tab td.para-nb {
    border: none;
}

div.tab.para-tab td.para-nbt {
    border-top: none;
}

div.tab.para-tab td.para-nbb {
    border-bottom: none;
}

div.tab.para-tab td.para-nbl {
    border-left: none;
}

div.tab.para-tab td.para-nbr {
    border-right: none;
}

div.tab.para-tab .para-green {
    background-color: #00b800;
}

div.tab.para-tab .para-greenish {
    background-color: #d0fa64;
}

div.tab.para-tab .para-orange {
    background-color: #f5c131;
}

div.tab.para-tab .para-red {
    background-color: #ff0000;
}

div.tab.para-tab .paro-label {
    text-align: right;
    padding-right: 5px;
}


div.tab.para-tab .kapsy-label {
    position: relative;
    top: 12px;
    width: 40px;
}

div.tab.para-tab .para-input input.para-viklavost {
    width: 85px;
}

.paro-navigation {
    position: absolute;
    /*left: 0px;
    text-align: center;*/
    width: 600px;
    /*top: 535px;*/

    width: 480px;
    font-size: 11px;
    top: 575px;
    left: 70px;
    text-align: left;

    --icon-color: #666;
}

.paro-navigation .paro-navigation-header {
    /*font-size: 16px;*/
    margin-bottom: 10px;

    font-size: 14px;
}

.paro-navigation i {
    /*color: black !important;
    font-size: 20px;*/
    margin-right: 5px;
    position: relative;
    top: -4px;

    font-size: 12px;
    color: var(--icon-color) !important;
}

.paro-navigation.paro-navigation-viklavost {
    top: 625px;
    left: 140px;
}

.paro-navigation i.is-key {
    border: 2px solid var(--icon-color);
    padding: 0 3px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 1px 1px 0px 1px var(--icon-color);
    position: relative;
    top: -6px;
    left: -1px;
    height: 14px;
    line-height: 14px;
    display: inline-block;
}

.paro-navigation .paro-nav-block {
    text-align: left;
    display: inline-block;
    margin-right: 20px;
}

.paro-navigation .paro-nav-block:last-of-type {
    margin-right: 0px;
}

.paro-navigation .paro-nav-dv {
    display: inline-block;
    vertical-align: bottom;
}

.paro-navigation .paro-nav-pohyb {
    display: inline-block;
    /*font-size: 16px;*/
    vertical-align: bottom;
    position: relative;
    top: -4px;

    font-size: 11px;
}

/*
* PARA VYSETRENI KONEC
* ---------------------
*/



#dnesniPacienti table.tab .uil-receipt,
#dnesniPacienti table.tab .uil-transaction,
#dnesniPacienti table.tab .bill,
#dnesniPacienti table.tab .uil-wallet,
#dnesniPacienti table.tab .uil-bill{
    color: #FFF;
}

#dnesniPacienti table.tab .btn-group-dropdown .fa,
#dnesniPacienti table.tab .btn-group-dropdown .uil,
#dnesniPacienti table.tab .btn-group-dropdown .uil-receipt,
#dnesniPacienti table.tab .btn-group-dropdown .uil-transaction,
#dnesniPacienti table.tab .btn-group-dropdown .bill,
#dnesniPacienti table.tab .btn-group-dropdown .uil-wallet,
#dnesniPacienti table.tab .btn-group-dropdown .uil-bill {
    color: inherit;
}








.dragger:hover/*,
.draggable-col:hover*/,
.draggable:hover {
    cursor: move;
}

td.draggable .fa,
td.draggable .uil {
    color: #bcbcbc;
    text-shadow: 0px 0px 1px #efefef;
}

td.draggable .uil {
    display: inline-block;
    width: .2em;
}

td.draggable .fa:first-of-type {
    margin-right: 1px;
}





.badge.uhrazeno{
    background-color:#D0FFCB;
    color:#000000;
}

.badge.neuhrazeno{
    background-color:#FFD6CD;
    color:#000000
}

.badge.castecneuhrazeno,
.badge.castecne-uhrazeno{
    background-color:#FFCC99;
    color:#000000
}

.badge.stornovano{
    background-color:#FFD394;
    color:#000000;
}

.op_stats span{
    display: block;
    margin: 1px 0px;
}




table.tab tr.er-note-resitel td {
    background: #ffdede;
}


/**

filtr uživatelé vedle talčítka filtr - zobrazi se "show_osetrujici" => true,
MP 27.7.20
*/

.tab-filter-users,
.tab-filter-kresla{
    float:right;
    margin-right: 4px;
}

.tab-filter-users span,
.tab-filter-kresla span{
    display:inline-block;
    margin-left: 4px;
    padding: 4px 5px;
    border-radius: 3px;
    cursor: pointer;
}

div.tab.stat_tab th, div.tab.stat_tab th a{
    text-align: center;
}

table.tab td.no-bull-list ul {
    list-style-type: none;
    margin-left: 0px;
    margin-right: 0px;
}

div.tab.para-tab td.disabled .para-hnis,
div.tab.para-tab td.disabled .para-bop {
    cursor: initial;
}

.navigation-box .connected-button {
    border-radius: 0px !important;
    margin-bottom: 1px;
}

.navigation-box .connected-button:first-of-type {
    border-top-left-radius: 3px !important;
    border-bottom-left-radius: 3px !important;
}

.navigation-box .connected-button:last-of-type {
    border-top-right-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
}

a.table-info-edit,
a.table-title-edit{
    color: transparent;
}
a.table-info-edit:hover,
a.table-title-edit:hover{
    color: var(--color-primary);
}

th.align_right{
    text-align: right !important;
}

table.fixed_width{
    table-layout: fixed;
}

#submit-cancel_filter {
    position: absolute;
    left: 985px;
    color: white;
    /*height: 30px;*/
    /*line-height: 30px;*/
    cursor: pointer;
    border: none;
    font-size: 14px;
    font-weight: normal;
    border-radius: 3px;
    margin-top: -35px;
    font-family: 'Nunito';
    /*padding: 0 12px;*/

    padding: 4px 12px;
}

#submit-cancel_filter i {
    margin-right: 5px;
}


div.form-filter.formular td.label.datum_do.short{
    width: 30px;
    padding-right: 12px !important;
}

th.empty-col {
    width: 100%;
}

.plan_window_table {
    min-width: 1490px !important;
    max-width: 1490px !important;
}

.td_btns a.inline{
    width: auto;
    display: inline-block;
}

div.tab.karta_lecby td.lecba_row_op div.td_btns{
    margin-top: 22px;
    z-index: 1;
    position: relative;
}

div.tab.karta_lecby td.lecba_row_op div.td_btns a{
    z-index: 1;
}

div.tab.karta_lecby td.lecba_row_options{
    padding: 4px 2px;
}

div.tab.karta_lecby td.lecba_row_options div.td_btns{
    text-align: center;
}

div.tab.karta_lecby td.lecba_row_options div.td_btns i.fa-trash{
    font-size: 15px;
}

div.tab.karta_lecby td.lecba_row_op .show_hide_btns{
    margin-left: 9px;

}


.tb_filter_label{
    margin-right: 10px;
}

.tb_filter_name{
    width: 200px;
    height: 21px;
}

.btn-save-filtr_popup{
    position: relative;
    top: -2px;
}

.tb_filter_title{
    margin-bottom: 10px;
    font-weight: bold;
}


.save_forms_btn{
    left: 645px;
    left: 665px;
    top: 10px;
    width: auto;
    height: 30px;
    line-height: 30px;
    padding: 0 12px;
    background: var(--color-primary);
    transition: all .2s;
    text-decoration: none;
    color: #fff;
    white-space: nowrap;
}


.table-body h2{
    background-color: initial;
    color: initial;
    font-size: initial;
    font-weight: initial;
    margin: initial;
    padding: initial;
    width: auto;
}


.btn.btn-link-only{
    padding: 0;
    margin: 0;
    background: transparent;
    color: #505050;
}


.btn.btn-link-only:hover{
    background: transparent;
    color: #505050;
    text-decoration: underline;
}


.btn-group-dropdown .btn.btn-link-only-today{
    padding: 0 !important;
    margin: 0  !important;
    background: transparent  !important;
    color: #505050  !important;
    height: 20px !important;
    line-height: 20px  !important;
}


.btn-group-dropdown .btn.btn-link-only-today:hover{
    background: transparent  !important;
    color: #505050  !important;
    text-decoration: underline !important;
}

.btn-group-dropdown .btn-dropdown-menu > a.disabled,
.btn-group-dropdown .btn-dropdown-menu > a.disabled:hover{
    cursor:default !important;
    ;
    color: var(--disabled-text-color) !important;

}




div.table-bookmark div.tab .table-operations .dropdown-menu li a.admin,
div.table-bookmark div.tab .table-operations .dropdown-menu li a.admin:hover,
#kartaHlavicka .table-operations .dropdown-menu li a.admin,
#kartaHlavicka .table-operations .dropdown-menu li a.admin:hover,
div.dekurs_cover .table-operations dropdown-menu li a.admin,
div.dekurs_cover .table-operations dropdown-menu li a.admin:hover,
div.tab .table-operations .dropdown-menu li a.admin,
div.tab .table-operations .dropdown-menu li a.admin:hover,
table.tab .dropdown-menu > li a.btn-admin-color .fa,
table.tab .dropdown-menu > li a.btn-admin-color .fa:hover,
table.tab .dropdown-menu > li a.btn-admin-color .uil,
table.tab .dropdown-menu > li a.btn-admin-color .uil:hover,
table.tab .dropdown-menu > li a.btn-admin-color,
table.tab .dropdown-menu > li a.btn-admin-color:hover
{
    color: #c81e1e !important;
}


div.b-add.disabled,
div.b-add.disabled:hover {
    background-color: var(--color-danger-4) !important;
}

a.btn.load_lab_price_btn{
    position: absolute;
    width: 30px !important;
    height: 32px !important;
    line-height: 32px !important;
    background-color: var(--color-primary) !important;
    display: block;
    padding-left: 0px !important;
    padding-right: 0px !important;
    right:  -32px;
    top: 10px;
}

a.btn.load_lab_price_btn.disabled{
    background-color: var(--color-primary-4) !important;
}
a.btn.load_lab_price_btn.disabled:hover{
    cursor:default;
}



a.btn.load_lab_price_btn .uil{
    margin-right: 0px;
}


.onoff {
    position:relative;
}

.onoff .paginate_dropdown{
    display:none;
    position: absolute;
    bottom: 29px;
    list-style-type:  none;
    background-color: #fff;
    border: 1px solid #dee2e6 !important;
    width: 100%;
    left: -1px;
    border-bottom: none !important;
}

.onoff:hover .paginate_dropdown{
    display: block;
}

.onoff .paginate_dropdown .paginate_dropdown_item{
    display:block;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
}

.onoff .paginate_dropdown .paginate_dropdown_item a{

}

.onoff .paginate_dropdown .paginate_dropdown_item a:hover{
    background-color: #e9ecef;
}


table.tab td a.hover_underline{

}

table.tab td a.hover_underline:hover{
    text-decoration: underline !important;
}

table.tab td a.hover_underline:hover ul li div{
    text-decoration: underline !important;

}

.navigation-box .plan-fin-plan-btn a {
    float: none !important;
}

.table_header_help{
    position:relative;
    width: 20px;
    height: 25px;
    display:inline-block;
}

.table_header_help .table_info.form_info.th_info{
    top: 0px;
}

.table_header_help .table_info .table_info_quest{
    margin-right: 5px;

}

.table_header_help .table_info .table_info_content{
    margin-left: 18px;
}



.badge.lecba.otevrena.bgstav,
.badge.lecba.uzavrena.bgstav{
    color: #FFF;
}


.badge.lecba.uzavrena.bgstav:hover{
    background: #9ba6b8 !important;
}


.table-col-width{
    padding-top: 0px;
    padding-bottom: 0px;
    border-radius: 3px;
    height: 22px;
    line-height: 30px;
    border: 1px solid #ced4da;
    font-family: 'Nunito', 'Roboto', "trebuchet MS", "Lucida Grande", Arial;
    font-size: 14px;
    color: #495057;
    transition: all .2s;
    width: 50px;
}

div.alert-info.table-col-max-width-warning{
    margin-top: 10px;
    margin-bottom: 10px;
    width: 593px !important;
}

.print_to_see_table table.tab-print{
    table-layout: fixed;
}


div.tab a.header_btn.b-add{
    background-color: var(--color-danger);
    border-radius: 3px;
    margin-right: 4px;
}


div.tab a.header_btn.b-add:hover{
    background-color: var(--color-danger-hover);
}

table.tab td a.disabled .uil{
   color: #555;
    cursor:default;
}




.table-inner-container-default-width {
    width: calc(100vw - 120px) !important;
}

.table-inner-container-default-width.sidebar-expanded {
    width: calc(100vw - 430px) !important;
}

div.tab div.body.window_width.window-width-default-width {
    width: 100%;
}

div.tab div.body.window_width.window-width-default-width.sidebar-expanded {
    width: calc(100% - 310px) !important;
}

div.tab.table-wrapper-default-width {
    width: calc(100% - 60px);
}

div.tab.table-wrapper-default-width.sidebar-expanded {
    width: calc(100% - 370px);
}

.table-top-summary-wrapper.set-by-sidebar {
    width: calc(100vw - 120px) !important;
}

.table-top-summary-wrapper.set-by-sidebar.sidebar-expanded {
    width: calc(100vw - 430px) !important;
}

div.tab div.table-info-text.set-by-sidebar p {
    max-width: calc(100vw - 120px);
}

div.tab div.table-info-text.set-by-sidebar.sidebar-expanded p {
    max-width: calc(100vw - 430px);
}














.tbl-slim-hidden {
    display: initial;
}

.tbl-slim-show {
    display: none;
}

.tbl-3xl-hidden {
    display: initial;
}

.tbl-3xl-show {
    display: none;
}

.tbl-lg-hidden {
    display: initial;
}

.tbl-lg-show {
    display: none;
}

.tbl-sm-hidden {
    display: initial;
}

.tbl-sm-show {
    display: none;
}

.tbl-5xl-hidden {
    display: none;
}

.tbl-5xl-show {
    display: initial;
}

.tbl-6xl-hidden {
    display: none;
}

.tbl-6xl-show {
    display: initial;
}

.tbl-buttons-toggle {
    display: none;
}

.tbl-search-toggle {
    display: none;
}

@media (max-width: 1600px) {

    .tbl-5xl-hidden {
        display: none;
    }

    .tbl-5xl-show {
        display: initial;
    }

    .tbl-6xl-hidden {
        display: initial;
    }

    .tbl-6xl-show {
        display: none;
    }

}

@media (max-width: 1450px) {

    .tbl-3xl-hidden {
        display: none;
    }

    .tbl-3xl-show {
        display: initial;
    }

    .tbl-5xl-hidden {
        display: initial;
    }

    .tbl-5xl-show {
        display: none;
    }

}

@media (max-width: 1199px) {

    .tbl-lg-hidden {
        display: none;
    }

    .tbl-lg-show {
        display: initial;
    }

    div.tab {
        padding: 0 10px 10px;
    }

    div.tab .body.inner-container.table-inner-container-default-width, 
    .table-inner-container-default-width {
        width: calc(100vw - 40px) !important;
    }
    
    div.tab .body.inner-container.table-inner-container-default-width.sidebar-expanded, 
    .table-inner-container-default-width.sidebar-expanded {
        width: calc(100vw - 350px) !important;
    }

    .tbl-slim-hidden {
        display: none;
    }
    
    .navigation-box .b-add {
        --px: 5px;
        padding-left: var(--px);
        padding-right: var(--px);
    }
    
    .navigation-box .b-add .tbl-slim-hidden {
        display: inline-block;
        width: 0;
        height: 0;
        overflow: hidden;
        margin-left: -6px;
    }

    .tbl-slim-show {
        display: initial;
    }
    
    div.tab div.navigation-box .table-cols-wrapper, 
    div.tab div.navigation-box .toggles-wrapper {
        margin-right: 10px;
    }
    
    div.tab div.navigation-box .table-cols-wrapper .btn, 
    div.filter-link a {
        --px: 8px;
        padding-left: var(--px);
        padding-right: var(--px);
    }

}

@media (max-width: 991px) {

    div.tab div.body:not(.only-body) {
        /*min-width: calc(100% - 60px);*/
    }
    
    .details-table-outline {
        --labels-w: 140px;
        --values-w: calc(100% - 140px);
    }
    
    .details-table-outline thead,
    .details-table-outline tbody {
        vertical-align: top;
    }
    
    .details-table-outline thead {
        display: inline-block;
        width: var(--labels-w);
    }
    
    .details-table-outline thead tr {
        display: block;
        width: var(--labels-w);
    }
    
    .details-table-outline thead tr th {
        display: block;
        width: 100% !important;
        /*border-bottom: 0 none;*/
        margin-top: -1px;
        
        border-top: 1px solid #dee2e6;
        border-bottom: 1px solid #dee2e6;
    }
    
    .details-table-outline thead tr th:last-child {
        /*border-bottom: 1px solid #d2d2d2;*/
    }
    
    .details-table-outline tbody {
        display: inline-block;
        width: var(--values-w);
        margin-left: -.5rem;
    }
    
    .details-table-outline tbody tr {
        display: block;
        width: 100% !important;
    }
    
    .details-table-outline tbody tr td {
        display: block;
        width: calc(100% - 24px) !important;
        /*border-bottom: 0 none;*/
        margin-top: -1px;
        height: auto;
        line-height: 1;
    }
    
    .details-table-outline tbody tr td:last-child {
        /*border-bottom: 1px solid #d2d2d2;*/
    }
    
    .details-table-outline tbody tr td .badge {
        margin: -5px auto;
    }
    
    .error_notes.tab, 
    div.tab#err_report_files {
        width: calc(100vw - 40px) !important;
    }
    
    div.tab.error_notes div.body, 
    div.tab#err_report_files div.body {
        width: calc(100vw - 40px) !important;
        overflow: auto;
    }
    
    div.tab.error_notes div.body table.tab {
        width: calc(100vw - 40px);
    }
    
    /*div.tab.error_notes div.body table.tab, */
    div.tab#err_report_files div.body table.tab {
        width: 840px;
    }
    
    .ER-show-col.first {
        width: calc(100vw - 20px) !important;
    }
        
    div.tab.error_notes div.body > table > thead {
        display: block;
        width: calc(100vw - 40px);
    }
        
    div.tab.error_notes div.body > table > thead,
    div.tab.error_notes div.body > table > thead > tr,  
    div.tab.error_notes div.body > table > thead > tr * { 
        height: 1px;
        overflow: hidden;
        padding-top: 0px;
        padding-bottom: 0px;
        border-bottom: 0 none;
    }
    
    div.tab.error_notes div.body > table > tbody tr {
        /*display: flex;
        width: 100%;
        flex-wrap: wrap;*/
        border-bottom: 1px solid #e6e6e6;
        
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }
    
    div.tab.error_notes div.body > table > tbody td {
        /*display: block;
        width: 100%;*/    
        height: auto;
        border: 0 none;
    }
    
    div.tab.error_notes div.body > table > tbody td:nth-child(1) { /* edit */
        display: inline-block;
        width: 30px;
    }
    
    div.tab.error_notes div.body > table > tbody td:nth-child(2) { /* delete */
        display: inline-block;
        width: 30px;
    }
    
    div.tab.error_notes div.body > table > tbody td:nth-child(3) { /* icon */
        display: inline-block;
        width: 40px;
    }
    
    /*div.tab.error_notes div.body > table > tbody td:nth-child(4) { !* name, datetime *!*/
    div.tab.error_notes div.body > table > tbody td.error_report_note_added { /* name, datetime */
        display: inline-block;
        width: calc(100vw - 208px);
    }
    div.tab.error_notes div.body > table > tbody .er-note-resitel td:nth-child(4) {
        width: calc(100vw - 173px);
    }
    
    /*div.tab.error_notes div.body > table > tbody td:nth-child(5) { !* text *!*/
    div.tab.error_notes div.body > table > tbody td.error_report_note_text { /* text */
        display: block;
        width: calc(100vw - 64px);
        padding-top: 0;
    }
    /*div.tab.error_notes div.body > table > tbody .er-note-resitel td:nth-child(5) { !* text *!*/
    div.tab.error_notes div.body > table > tbody .er-note-resitel td.error_report_note_text { /* text */
        width: calc(100vw - 57px);
    }
    
    div.tab.error_notes div.body > table > tbody td img {
        max-width: calc(100vw - 64px) !important;
    }
    
    .er-th-quick-close, 
    .er-td-quick-close {
        width: 80px !important;
    }
    
    .er-th-quick-close a, 
    .er-td-quick-close a {
        display: block !important;
        width: 100% !important;
        height: 30px;
        text-align: left !important;
    }
    
    .er-td-quick-close a::before {
        left: 0 !important;
    }
    
}

@media (max-width: 740px) {

    .buttons-wrapper {
        display: none;
        width: auto;
        background-color: #fff;
        position: relative;
        z-index: 2;
        border: 1px solid rgba(0,0,0,.15);
        box-shadow: 1px 2px 3px rgba(180,180,180,0.8);
        padding: 8px 0;
        border-radius: 3px;
        margin-top: 30px;
        margin-right: -500px;
        float: left;
    }
    
    .buttons-wrapper.show {
        display: inline-block;
    }
    
    
    div.tab a.header_btn,
    .buttons-wrapper .export2xls > *,
    .buttons-wrapper .export2xls .table-button {
        float: none !important;
        text-align: left !important;
        background-color: #fff !important;
        color: #495057 !important;
    }
    
    .buttons-wrapper .export2xls .table-button {
        box-sizing: border-box;
    }

    div.tab .buttons-wrapper .btn-group-dropdown,
    div.tab .buttons-wrapper .export2xls > * {
        width: 100%;
    }

    div.tab .buttons-wrapper .btn-group-dropdown {
        --mx: 0;
        margin-left: var(--mx);
        margin-right: var(--mx);
        float: none !important;
    }

    div.tab .buttons-wrapper .btn-group-dropdown .btn-dropdown-toggle {
        position: relative;
    }

    div.tab .buttons-wrapper .btn-group-dropdown .btn-dropdown-toggle .dropdown-caret {
        position: absolute;
        right: 15px;

    }

    div.tab .buttons-wrapper .export2xls > .header_btn {
        box-sizing: border-box;
    }

    div.tab a.header_btn:hover,
    a.header_btn:not(.btn-disabled):hover,
    .buttons-wrapper .export2xls > *:hover {
        background-color: #f8f9fa !important;
        color: #16181b !important;
    }

    .tbl-slim-hidden {
        display: initial;
    }

    .tbl-slim-show {
        display: none;
    }
    
    .filter-link .tbl-slim-hidden {
        display: none;
    }

    .filter-link .tbl-slim-show {
        display: initial;
    }
    
    .tbl-buttons-toggle:not(.is-no-buttons),
    .tbl-search-toggle {
        display: block;
        --px: 5px;
        padding-left: var(--px) !important;
        padding-right: var(--px) !important;
        --py: 0px;
        /*padding-top: var(--py) !important;*/
        /*padding-top: var(--py) !important;*/
        /*height: 30px;*/
        /*line-height: 30px;*/
        float: left;
        margin: 0 -100% 0 0 !important;
    }
    
    .tbl-buttons-toggle .uil {
        margin: 0;
    }
    
    .tbl-buttons-toggle .uil:first-of-type {
        margin-right: -3px;
    }
    
    div.tab div.navigation-box .toggles-wrapper {
        margin-right: 4px;
    }
    
    .navigation-box .toggles-wrapper .toggle-label-txt-wrapper {
        width: 0;
        display: inline-block;
        overflow: hidden;
        margin-bottom: -4px;
    }
    
    .tbl-search-toggle {
        float: right;
        margin: 0 0 0 10px !important;
    }
    
    .tbl-search-toggle .uil {
        margin: 0;
    }
    
    div.tab div.search {
        display: none;
        margin-left: -300px;
    }
    
    div.tab div.search.show {
        display: block;
        background-color: #fff;
        position: relative;
        z-index: 2;
    }
    
    .table-chart-wrapper {
        width: calc(100vw - 60px) !important;
    }
    
    .table-top-summary-wrapper.set-by-sidebar {
        width: calc(100vw - 60px) !important;
    }
    
    .block_cover {
        padding: 10px;
    }
    
    .chart-inner-wrapper {
        width: calc(100vw - 40px) !important;
    }

    .tbl-sm-hidden {
        display: none;
    }

    .tbl-sm-show {
        display: initial;
    }
    
}


/**

Fixní sloupce při posuvu vlevo
MP 25.4.23 - bladent 196

*/
th.fix_horizontal{
    background-color: #fff !important;
    z-index: 1;
}

td.fix_horizontal{
    position: sticky;
}

tr.even td.fix_horizontal{
    background-color: #FFF;
}

tr.odd td.fix_horizontal{
    background-color: #f8f8f8;
}

table.tab tr.selected_row td.fix_horizontal{
    background-color: #D0FFCB;
}


th.fix_horizontal{
    position: relative;
}

th.fix_horizontal .th_fixed_last{
    position: absolute;
    background-color: #FFF;
    width: 1px;
    height: calc(100% + 1px);
    right: 0px;
    top: 0px;
}




th.fix_horizontal .th_fixed_last .th_fixed_border{
    position: absolute;
    background-color: #d2d2d2;
    width: 2px;
    height: 100%;
    right: 0px;
    top: 0px;
}

td.fix_horizontal .td_fixed_last{
    position: absolute;
    background-color: #d2d2d2;
    width: 2px;
    height: calc(100% + 1px);
    right: 0px;
    top: 0px;
}

td .btn.icpe-btn {
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    padding: 4px 12px;
    border-radius: 3px;
    border: none;
    display: inline-block;
    width: 150px !important;
    font-family: 'Nunito', 'Roboto', "trebuchet MS", "Lucida Grande", Arial;
    position: absolute;
    right: 0px;
    height: 30px;
    line-height: 24px;
}

div.error_notes table.tab td a{
    display: inline-block;
    width: auto;
}




div.tab .table-operations .dropdown-menu li a.disabled, 
#kartaHlavicka .table-operations .dropdown-menu li a.disabled, 
div.dekurs_cover .table-operations .dropdown-menu li a.disabled, 
#zubni_kriz .last-change .table-operations .dropdown-menu li a.disabled, 
div.tab .table-operations .dropdown-menu li a.disabled:hover, 
#kartaHlavicka .table-operations .dropdown-menu li a.disabled:hover, 
div.dekurs_cover .table-operations .dropdown-menu li a.disabled:hover, 
#zubni_kriz .last-change .table-operations .dropdown-menu li a.disabled:hover,
    
.table-operations .dropdown-menu li a.disabled,
.table-operations .dropdown-menu li a.disabled:hover {
    cursor: default !important;
    color: var(--disabled-text-color) !important;
    background-color: #fff;
}

.table-operations .dropdown-menu li a.disabled .uil, 
.table-operations .dropdown-menu li a.disabled .fa {
    color: var(--disabled-text-color) !important;
}







.btn-soft-secondary {
    background-color: rgba(var(--color-secondary-rgb), .15) !important;
    color: var(--color-secondary-rgb) !important;
    
    transition: background-color .3s, color .3s;
}

.btn-soft-secondary:hover {
    background-color: var(--color-secondary) !important;
    color: #fff !important;
}

.btn-group-dropdown.icon-only {
    height: auto;
}

.btn-group-dropdown.icon-only .btn-dropdown-menu {
    top: 20px;
}

.btn.btn-icon-only {
    
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    line-height: 24px !important;
}

.btn.btn-icon-only .dropdown-caret {
    color: black !important;
    margin-left: -8px !important;
}



.navigation-box a.btn-after-search{
    
    display: inline-block;
    background: #fff;
    text-align: center;
    width: 20px;
    border-radius: 1px;
    border: 1px solid #e5e5e5;
    width: 30px;
    border: 1px solid #ced4da;
    color: var(--color-primary);
    cursor: pointer;
    float: right;
    margin-left: 3px;
    padding-top: 5px;
    padding-bottom: 4px;
    margin-top: 1px;
}

.filter a.btn-after-input{
    
    display: inline-block;
    background: #fff;
    text-align: center;
    width: 20px;
    border-radius: 3px;
    border: 1px solid #e5e5e5;
    width: 30px;
    border: 1px solid #ced4da;
    color: var(--color-primary);
    cursor: pointer;
    margin-left: 0px;
    padding-top: 6px;
    padding-bottom: 5px;
    position: relative;
    top: 1px;
}


.tab .overflow_column{
    text-overflow: ellipsis;
    overflow: hidden; 
    width: 100%; 
    white-space: nowrap;
    display: inline-block;
}

.edit_plan_note {
    position: relative;
}


