html>body {
  padding:0;
}

#ntfw {
  position: fixed;
  bottom: 0;
  width: 100vw;
}

.system_plateb h1, .system_plateb h2, .system_plateb h3 {
    margin-top: 2em;
    margin-bottom: 0.8em;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 4px;
    padding: 10px 15px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
.system_plateb h1:first-child, .system_plateb h2:first-child,
.system_plateb h3:first-child {
    margin-top: 1em;
}

h2 {
    font-size:150%;
    margin-top:1em;
    margin-bottom:0.2em;
}

h3 {
    font-size:130%;
    margin-bottom:0.2em;
}

h4 {
    font-size:110%;
    margin-bottom:0.2em;
    font-style:italic;
}

pre {
    white-space: pre-wrap;      /* css-3 */
}

#title {
    position:relative;
    left:0px;
    top:0px;
    font-size: 250%;
    font-weight:bold;
    padding: 5px 0 5px 15px;
}
#titleinfo {
    position:relative;
    bottom:0px;
    font-size:90%;
    padding: 0px 0px 10px 15px;
}

#subtitle {
    position:absolute;
    font-size: 200%;
    font-family: serif;
    font-style:italic;
    padding:5px 30px;
    bottom:0px;
    right:0px;
}

#title-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
#title-components-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
#title-components-toggle {
  position: absolute;
  right: -15px;
  padding: 5px;
  height: 50px;
  background: transparent !important;
  color: var(--link-color) !important;
  border: none;
}
@media (max-width: 767px) {
  #title-container {
    justify-content: center;
    padding-bottom: 20px;
  }
  #title-components-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  #title-components-toggle {
    bottom: -15px;
    transform: rotate(90deg) translateY(calc(50vw - 1em));
  }
}


.title-block {
    position: relative;
    margin: 5px;
    z-index:999;
    font-size: 90%;
}
.title-block a div:hover {
    text-decoration:underline;
}
.title-block td, .title-block th {
    margin:0px;
    padding: 0px 5px;
    height:18px;
    vertical-align: middle;
}

#head .title-block-icon {
    float:left;
    margin-right: 2px;
    height: 12px;
}
#head .title-link-highlight {
    color: var(--color-yellow);
}
#head-container {
  background-color: var(--head-background-color);
}

.title-block th {
    font-style:italic;
    font-weight:bold;
    text-align:right;
}

.title-block input, .title-block select {
    margin: 0 2px;
    font-size: 100%;
}

#main_container {
    padding:0px 30px 20px 30px;
}

#content.no-title {
    margin-top:1.5em;
}

#contentscroll_scrollbar {
    background-color:#fff;
}

#footer {
    clear:both;
    position:relative;
    margin-top:20px;
    padding: 0px 30px;
    font-size: 80%;
}

.blocklink {
    display:block;
    width:100%;
}

#listing-add-link {
    text-align:center;
}

/* NAVIGATION */
#user-navigation {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}
#user-navigation a {
    display: block;
    margin: 1rem;
    padding: 2rem;
    font-size: 2rem;
    border-radius: 5px;
    background-color: var(--link-box-background-color);
    width: 25rem;
}
@media (max-width: 767px) {
    #user-navigation a {
        width: 100%;
    }
}
#user-navigation a:hover {
    color: var(--link-color);
    text-decoration: initial;
    background-color: var(--link-box-hover-background-color);
}
#user-navigation a img {
    margin-right: 1rem;
}
#user-navigation a p.description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}
#user-navigation a:hover p.description {
    color: #666;
}


/* jQuery UI */
.ui-widget-header { background: #585; }
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    border: 1px solid #7b7; color: #585; }
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
    background: #7b7; }
.ui-state-hover a, .ui-state-hover a:hover {
    background: #7b7;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    background: #7b7;
}


.detail-icon {
    margin-right: 5px;
}

#breadcrumbs-content {
    padding: 0.5em 30px;
}
#calendar {
    height:15em;
    width:14.5em;
    border:0;
    overflow-x:hidden;
    overflow-y:hidden;
}

/* ELEMENTY */
.fl {
    float:left;
}

.fr {
    float:right;
}

/* TABULKY */
table.smlouvy_table tr.nostyle th {
    font-weight: initial;
    white-space: normal;
}
table.smlouvy_table tr.nostyle th.aggregation_cell {
    font-weight: bold;
    white-space: nowrap;
}
table.smlouvy_table tr:not(.nostyle).aggregation.sluzba th.aggregation_cell {
    background-color: #fff !important;
    padding: 0;
}
table.smlouvy_table tr.sluzba th.aggregation_cell .aggregation_value {
    background-color: #ee9;
    padding: 0.2em 0.5em;
}
table.smlouvy_table tr.sluzba th {
    padding-top: 1em;
}


.striked {
    text-decoration: line-through;
}

#notice {
    border:2px solid #88c;
    background-color: #ffd;
}

/* FILTER */
#filter {
    position:relative;
    margin-top:10px;
    z-index:5;
}
/* pagemenu filter */
.filter-item-indent {
    margin-left:1em;
}

/* MISC */
.dragable {
    cursor:move;
}

/* MAIN PAGE */
#main-left {
    float:left;
    max-width:47%;
}

#main-right {
    float:right;
    max-width:47%;
}

/* Case-Related UVBox modifications */
.treeview {
    padding-right:1.5em;
}
a.treeview_join_link {
    color:#a00;
    font-weight:normal;
}

.chosen {
    background-color:#ded;
}

/* TIS OPERATION NOTIFICATIONS */
.tis_notify_area {
    position:fixed;
    margin:20px 30px;
    right:0px;
    top: 0px;
    padding:15px;
    width:auto;
    max-height:600px;
    border:2px solid #909;
    background-color: #fef;
    display:none;
    z-index:1000;
    opacity:0.92;
    overflow-y:auto;
    box-shadow: #666 1px 1px 5px;
}
.tis_notify_area h2 {
    margin-top:0;
}
.tis_notify_message {
    width:auto;
    padding:5px 10px;
    margin:10px 0px;
    font-size:120%;
    border:2px solid #909;
    background-color: #ede;
}

/* GALLERY */
.gallery-image {
    float:left;
    margin: 0 5px 10px 5px;
    padding:5px;
    border:1px solid #aca;
    text-align:center;
    white-space:nowrap;
    font-size: 80%;
    height: 180px;
}
.gallery-image:hover {
    border:1px solid #050;
}

/* TISLog speciffic */
.info-popup-box {
    position:absolute;
    float:left;
    padding-top: 20px;;
}
.info-popup {
    background-color: #fde;
    border: 2px solid #928;
    padding: 10px;
    z-index: 1001;
}
.info-popup h2 {
    margin-top: 0;
}

/* STITKY */
table tr.stitky-section th {
    font-weight:bold;
    font-size:150%;
    padding: 0.4em;
}

/* GRAFY */
@media (min-width:768px) {
    .traffic-graf-small {
        height: 108px;
    }
    .traffic-graf-square {
        width: 100%;
    }
}
@media (max-width:767px) {
    .traffic-graf, .traffic-graf-small, .traffic-graf-square {
        width: 100%;
    }
}

/* specialni pro qTip JS plugin */
.nomaxwidth {
    max-width: none !important;
}


/* Panel spravce */
.komentar-body p {
  margin: 0 !important;
}
.komentar-body p:not(:first-child) {
  margin-top: 0.5em !important;
}

td.cislo {
  text-align: right;
}
