.blok,
.mceHalf,
.newslist,
.well {
    box-sizing: border-box;
}
.btn.home,
.fullwidth,
.imageBig,
.imageSmall,
.mceFull,
.mceHalf,
.mceThird,
footer {
    width: 100%;
}
.autor,
.js #loader {
    position: absolute;
    display: block;
}
.autor,
.btn.home:hover,
.carousel h2,
.carousel-caption {
    color: #fff;
}
#back-to-top,
#sortable li,
.clickable,
.handCursor,
.karta .links {
    cursor: pointer;
}
#cookies,
.no-js #loader {
    display: none;
}
#back-to-top,
.btn.home:hover,
.homeblock:hover {
    text-decoration: none;
}
.btn,
.clickable,
.newslist,
a,
tr {
    -webkit-transition: 0.2s linear;
    -moz-transition: 0.2s linear;
    -o-transition: 0.2s linear;
    transition: 0.2s linear;
}
.btn.home,
.googlesearch,
.image-size-label {
    margin-top: 10px;
}
a .imgLink {
    border: 1px solid;
    padding: 5px;
}
hr {
    border-color: #ccc;
}
hr.rightblock {
    margin-top: -20px;
    border: 3px solid rgba(0, 0, 0, 0.1);
}
.carousel {
    margin-bottom: 25px;
}
html {
    position: relative;
    min-height: 100%;
}
body {
    padding: 120px 0 0;
    margin: 0;
    background-image: url(../layout/bg-pattern5.jpg);
}
footer {
    color: #444;
    text-align: center;
    background: rgba(0, 0, 0, 0.15);
    left: 0;
    bottom: 0;
    padding-bottom: 50px;
    overflow: hidden;
}
.footerIcons {
    background: #d1d1d2;
    padding: 15px;
}
.btn .glyphicon {
    margin-right: 5px;
}
.js #loader {
    left: 100px;
    top: 0;
}
.navbar-brand img {
    padding: 0;
    margin-top: -50px;
}
.navbar-brand.small img {
    padding: 0;
    margin-top: -10px;
    width: 200px;
}
@media (max-width: 1200px) {
    .navbar-brand img {
        width: 240px;
        margin-top: -25px;
    }
}
@media (max-width: 992px) {
    .navbar-brand img {
        width: 200px;
        margin-top: -20px;
    }
    .navbar-brand {
        position: absolute;
        margin-top: -40px;
    }
}
.navbar-inverse {
    -webkit-box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.35);
}
@media (min-width: 768px) {
    footer {

    }
    .navbar-inverse {
        padding-top: 50px;
        background: #fff;
        border-top: 4px solid #2c91b7;
    }
    .navbar-inverse.navbar-inverse-small {
        padding: 0;
        background: #fff;
    }
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    .row.equal {
        display: flex;
        flex-wrap: wrap;
    }
}
@media (max-width: 768px) {
    .navbar-brand {
        margin-top: 0;
    }
    .navbar-inverse,
    .navbar-inverse.navbar-inverse-small {
        padding-top: 0;
        background: #fff;
        border-top: 4px solid #2c91b7;
    }
    body {
        padding: 0 0 0;
    }
    .navbar-brand img {
        padding: 0;
        margin-top: -10px;
    }
    .navbar-inverse.navbar-inverse-small {
        -webkit-box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.35);
        -moz-box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.35);
        box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.35);
    }
    .navbar-inverse {
        margin-bottom: 0;
        -webkit-box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.35);
        -moz-box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.35);
        box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.35);
    }
    .page {
        margin-top: 50px;
    }
}
.blok,
.well {
    padding: 15px;
}
#sortable li,
.bggray {
    background: #f0f0f0;
}
.blok,
.container-fluid.breadcr {
    background: rgba(255, 255, 255, 0.7);
}
.container-fluid.breadcr {
    border-bottom: 1px solid #e0e0e0;
    margin-top: -15px;
    margin-bottom: 20px;
    padding-top: 20px;
}
.blok {
    margin-bottom: 0;
}
.well {
    background: rgba(255, 255, 255, 0.45);
    margin-bottom: 5px;
    border: 0;
    border-right: 5px solid #eee;
}
#back-to-top:hover,
.blok.white,
.newslist:hover {
    background: #fff;
}
.blok-right {
    background: rgba(125, 148, 162, 0.1);
    margin-left: -15px;
    padding: 5px 20px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}
.news {
    text-align: justify;
}
.blok.priorita {
    border: 1px solid #aaa;
}
.blok .fancybox img:hover {
    border: 1px solid #193158;
    -webkit-box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.59);
    -moz-box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.59);
    box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.59);
    opacity: 0.8;
}
.blok .fancybox img[style^="float: left"] {
    margin-right: 20px;
}
.blok .fancybox img[style^="float: right"],
.form-inline label,
.radio span,
.sortable li img {
    margin-left: 20px;
}
.newslist {
    background: #fff;
    margin-bottom: 15px;
    padding: 0;
    border-bottom: 2px solid #ddd;
    display: block;
}
.imageBig,
.imageSmall,
.mceFull,
.mceHalf,
.mceThird,
.mceThumb,
.mceThumbSm {
    margin-bottom: 10px;
    margin-top: 5px;
}
.newslist .icon {
    padding: 10px;
    margin: 0;
    background: #fff;
}
.newslist .thumbnail {
    padding: 0;
    margin: 0;
    height: 140px;
    display: flex;
    align-items: center;
    align-content: center;
}
.karta .links div,
.se-pre-con .content {
    display: table-cell;
    vertical-align: middle;
}
.newslist .content,
.p-1 {
    padding: 15px;
}
.fancybox img {
    border: 1px solid #fff;
    border-radius: 2px;
}
.mceThumb,
.mceThumbSm {
    max-width: 100%;
}
@media (min-width: 520px) {
    .mceHalf,
    .mceThird {
        box-sizing: border-box;
    }
    .mceThumbSm {
        width: auto;
        height: 50px;
    }
    .mceThumb {
        width: auto;
        height: 90px;
    }
    .mceThird {
        width: 32%;
    }
    .mceHalf {
        width: 49%;
    }
    .imageSmall {
        width: auto;
        height: 70px;
    }
    .imageBig {
        width: auto;
        height: 200px;
    }
}
.list-group-item {
    background-color: rgba(255, 255, 255, 0.5);
    border-left: 0;
    border-right: 0;
}
.carousel-caption {
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    left: 0;
    bottom: 0;
    padding-bottom: 50px;
}
.carousel-inner.page > .item > img {
    margin: 0 auto;
    max-height: 250px;
}
.no-carousel > img {
    float: right;
    max-height: 250px;
}
.autor {
    bottom: 0;
    right: 0;
    padding: 0 20px;
    z-index: 10;
    font-size: 0.8em;
    text-shadow: 1px 1px 2px #000;
}
#back-to-top,
#cookies,
.se-pre-con {
    text-align: center;
    position: fixed;
}
#back-to-top,
#cookies,
.g-recaptcha,
.se-pre-con {
    z-index: 9999;
}
#back-to-top {
    bottom: 120px;
    right: 30px;
    width: 32px;
    height: 32px;
    line-height: 30px;
    background: #ccc;
    color: #444;
    border: 0;
    border-radius: 2px;
    transition: opacity 0.2s ease-out;
    opacity: 0;
}
.karta.cl img,
.karta.lt img {
    -webkit-transition: 0.3s ease-in-out;
}
#back-to-top.show {
    opacity: 1;
}
#content {
    height: 2000px;
}
.table-responsive {
    border: 0;
    margin: 0;
    padding: 0;
    width: 100%;
}
.radio {
    margin: 0;
    padding-left: 20px;
}
.radio label {
    margin: 3px 20px 0 0;
    padding: 0;
}
.form-inline .radio label {
    margin-left: 3px;
    margin-right: 10px;
}
.panel-heading {
    font-size: 1.2em;
    font-weight: 700;
}
.panel .clickable > .panel-title {
    color: #3882b7;
}
.buttons .btn {
    margin: 0 1px;
    padding: 0 4px;
}
.ui-autocomplete-loading {
    background: url(/admin/layout/ajax-loader.gif) right 10px center no-repeat #fff;
}
.form-control.has-error {
    border-color: red;
}
.se-pre-con {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: table;
}
.se-pre-con .content {
    color: #1486ac;
}
.se-pre-con .content .bg {
    background: url(/admin/layout/Preloader_2.gif) center no-repeat #fff;
    padding-top: 100px;
    padding-bottom: 20px;
    -webkit-box-shadow: 0 0 37px -8px rgba(0, 0, 0, 0.22);
    -moz-box-shadow: 0 0 37px -8px rgba(0, 0, 0, 0.22);
    box-shadow: 0 0 37px -8px rgba(0, 0, 0, 0.22);
}
@media screen and (min-width: 768px) {
    .left-navigation .collapse {
        display: block;
    }
}
.poradi {
    font-weight: 900;
    color: red;
}
.clickable:hover {
    cursor: pointer;
    background-color: #fff;
}
a.active {
    color: #920000;
}
#sortable {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-size: 8px;
}
#sortable li {
    margin: 0 3px 3px;
    padding: 0.4em 0.4em 0.4em 1.5em;
    font-size: 1.4em;
    height: 80px;
    display: block;
    border: 1px solid #ddd;
    cursor: hand;
}
ul.sortable input,
ul.sortable label {
    font-size: 10px;
}
.sortable li div {
    margin-left: 100px;
}
.sortable li div::before {
    font-family: "Glyphicons Halflings";
    content: "\e119";
    color: #fff;
    background: #aaa;
    padding: 3px;
    width: 30px;
    height: 65px;
    position: absolute;
    margin-left: -115px;
}
.handCursor {
    cursor: hand;
}
.file {
    visibility: hidden;
    position: absolute;
}
.profile-photo {
    max-height: 120px;
}
.imgFit,
.karta.cl img {
    max-width: 100%;
    max-height: 100%;
}
.karta {
    display: block;
    margin-bottom: 5px;
}
.karta .img {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.karta.cl img {
    transition: 0.3s ease-in-out;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
}
.karta.lt img {
    height: 100%;
    transition: 0.3s ease-in-out;
    object-fit: cover;
}
.karta:hover img {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}
.karta .links:hover div,
.karta:hover {
    opacity: 1;
    top: 0;
}
.karta:hover .links {
    background: rgba(255, 255, 255, 0.3);
}
.karta .caption {
    height: 50px;
}
.karta .links {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    text-align: center;
    font-weight: 700;
    width: 100%;
    display: table;
}
.karta .links div {
    position: relative;
    top: 20px;
    opacity: 0;
    color: #2c3e50;
    text-transform: uppercase;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
@media (min-width: 768px) {
    .mceThumbSm {
        width: auto;
        height: 50px;
    }
    .mceThumb {
        width: auto;
        height: 100px;
    }
    .fancybox img {
        -webkit-transition: 0.2s linear;
        -moz-transition: 0.2s linear;
        -o-transition: 0.2s linear;
        transition: 0.2s linear;
    }
    .blok {
        background: rgba(255, 255, 255, 0.7);
        margin-bottom: 0;
        padding: 20px;
        box-sizing: border-box;
    }
    .blok.homeright {
        margin-left: 10px;
        padding: 5px 20px;
    }
    .karta {
        background: #fff;
        margin-bottom: 10px;
        border: 1px solid #ddd;
    }
    .karta .img {
        height: 135px;
    }
    .karta .links {
        height: 195px;
    }
}
@media (min-width: 992px) {
    .mceThumbSm {
        width: auto;
        height: 60px;
    }
    .mceThumb {
        width: auto;
        height: 140px;
    }
    .imageSmall {
        width: auto;
        height: 85px;
    }
    .imageBig {
        width: auto;
        height: 250px;
    }
    .karta .img {
        height: 84px;
    }
    .karta .links {
        height: 144px;
    }
    .homerightmargin {
        margin-top: -10px;
    }
}
@media (min-width: 1200px) {
    .mceThumbSm {
        width: auto;
        height: 60px;
    }
    .mceThumb {
        width: auto;
        height: 170px;
    }
    .imageSmall {
        width: auto;
        height: 100px;
    }
    .imageBig {
        width: auto;
        height: 300px;
    }
    .karta .img {
        height: 105px;
    }
    .karta .links {
        height: 165px;
    }
}
@media (min-width: 1400px) {
    .mceThumbSm {
        width: auto;
        height: 70px;
    }
    .mceThumb {
        width: auto;
        height: 200px;
    }
    .karta .img {
        height: 125px;
    }
    .karta .links {
        height: 185px;
    }
}
.kontaktniOsoba {
    line-height: 1.2;
    font-size: 90%;
    min-height: 160px;
}
.kontaktniOsoba .photo img {
    max-height: 100px;
}
@media print {
    .btn {
        display: none !important;
    }
}
.font90 {
    font-size: 90%;
}
#cookies,
.font80 {
    font-size: 80%;
}
.smallMargin {
    margin: 2px;
    padding: 0;
}
.newsletter,
.py-1 {
    padding-top: 15px;
}
.pb-1,
.py-1 {
    padding-bottom: 15px;
}
#cookies {
    width: 100%;
    background: #ddd;
    padding: 10px 20px 20px;
    color: #000;
    bottom: 0;
}
.homeblock li {
    margin-top: -1px;
    border-left: 2px solid rgba(255, 255, 255, 0.5);
}
.homeblock li:hover {
    background: #fff;
    border-left: 2px solid #3882b7;
}
.homeblock {
    line-height: 1;
}
.homeblock .small {
    margin-top: 3px;
}
.cropit-preview {
    background-color: #f8f8f8;
    background-size: cover;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-top: 7px;
    width: 350px;
    height: 450px;
}
.cropit-preview-image-container {
    cursor: move;
}
label.require {
    color: #a81906;
}
.googlesearch {
    margin-bottom: 10px;
    display: block;
}
.search {
    width: 100%;
}
.googlesearch .toplink {
    padding: 5px 0px;
}
@media (max-width: 768px) {
    .googlesearch {
        height:50px;
        border-bottom: 2px solid #ddd;
    }
    .nav-fix {
        position: relative;
        right: 0;
        left: 0;
        z-index: 1030;
        width: 100%;
        top: 0;
    }
}
@media (min-width: 768px) {
    .googlesearch {
        position: relative;
        margin-top: -40px;
        margin-bottom: -10px;
        float: right;
        width: 450px;
    }
    .search {
        width: 300px;
    }
    .googlesearch .toplink {
        padding: 5px 25px;
    }
    .nav-fix {
        position: fixed;
        right: 0;
        left: 0;
        z-index: 1030;
        width: 100%;
        top: 0;
    }
}
.comgate-icons {
    padding-right: 15px;
    height: 25px;
}
.newsletter {
    background: #e5e5e5;
}
.partneri img {
    width: 60%;
    margin-bottom: 15px;
    border: 3px solid #e5e5e5;
}
.partneri img:hover {
    border: 3px solid #fff;
}
.px-1 {
    padding-left: 15px;
    padding-right: 15px;
}

/* ecomail prepinac */
.ecomail-form {
    transition: opacity 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.ecomail-form.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.ecomail-form.visible {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
    position: relative;
}

#form-wrapper {
    position: relative;
    min-height: 160px;
}

/* css pro televizni zobrazeni sablony */
.tv-header {
    height: 140px;
    padding:20px;
    position: fixed;
    z-index: 999;
    width: 100%;
    background: #f0f0f0;
}
.tv-header h1 {
    padding-top: 10px;
    border:0;
    font-size: 280%;
}

.tv-content {
    font-size:150%;
    font-weight: bold;
    padding:20px;
    margin-top: 160px;
}

/* Sticky table headers */
.tv-content table thead {
    position: sticky;
    top: 140px; /* header (140px) + test banner (20px) */
    background-color: #f8f8f8;
    z-index: 998;
}

/* Sticky description on right */
.tv-content .col-md-2 {
    position: sticky;
    top: 140px;
    z-index: 997;
    background-color: #f8f8f8;
}
#fade-wrapper {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
#fade-wrapper.visible {
    opacity: 1;
}

/* skryti sloupcu tabulek na mobilu */
@media (max-width: 767.98px) {
    .optional-col {
        display: none;
    }
    .optional-col {
        display: none;
    }
}
.expand-row {
    display: none;
}

.expand-content {
    padding: 0 10px 10px 10px;
}

.fi {
    font-size: 75%;
    margin-right: 5px;
    position: relative;
    top: -1px;
}
.tv-fi {
    font-size: 65%;
    margin-right: 5px;
    padding-bottom: 10px;
    position: relative;
    top: -7px;
}

/* karty - vlevo img vpravo content */
.cardH {
    background: #fff;
    margin-bottom:10px;
    padding: 15px;
    border: 1px solid #ddd;
    display: block;
    height: 140px;
    display: flex;
    align-items: stretch;
}

.cardH .icon {
    padding: 0px;
    margin: 0;
    background: #fff;
    height: 100%;
}
.cardH .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cardH .content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* prepsani barev */
.btn-info {
    background-color: #189fb1;
    border-color: #117a88;
}

.prihlaska-alert .alert {
    margin-top:10px;
    margin-bottom:0px;
}

.radio-tile {
    display: block;
    color: #888;
    background-color: #eee;
    border: 1px solid #69aeda;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.2s;
}
.radio-tile input[type="radio"] + .content {
    padding: 20px;
}

.radio-tile:hover {
    border-color: #888;
    background-color: #fff;
}

/* Hide the actual radio */
.radio-tile input[type="radio"] {
    display: none;
}

/* Highlight when selected */
.radio-tile input[type="radio"]:checked + .content {
    background: #dff0d8 ;
    color: #222;
}