@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');

* {
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

.responzive_content_as4u {
    width: 1400px;
    transition: .3s;
}

.mobile_menu {
    display: none;
}

.mainMenu ul .calendar_menu {
    display: none;
}

.lang {
    display: none;
}

.socmedia {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
}

.socmedia a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0 10px 0 0;
    position: relative;
}

.socmedia a:hover span {
    opacity: 1;
}

.socmedia a span {
    position: absolute;
    bottom: calc(-100% - 10px);
    left: 50%;
    transform: translate(-50%, 0);
    padding: 5px 10px;
    color: white;
    border-radius: 3px;
    background-color: #071c45;
    pointer-events: none;
    transition: .2s;
    opacity: 0;
}

.socmedia a span::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translate(-50%, 0);
    border-left: 8px transparent solid;
    border-right: 8px transparent solid;
    border-bottom: 8px #071c45 solid;
}

.socmedia a img {
    width: 30px;
}

header {
    position: relative;
    background-color: #164194;
}

header .slider {
    position: relative;
    height: 450px;
    /*    background: url('/galerie/1449855.jpg')center center no-repeat;*/
}

header .slider .prvni {
    background: url('/galerie/1460620.png')center center no-repeat;
    opacity: 1;
    z-index: 5 !important;
}

header .slider .prvni.active {
    opacity: 0;
}

header .slider .druhy {
    background: url('/galerie/1477938.png')center center no-repeat;
}

header.header_vnitrek .slider {
    display: none;
}

nav.topNav .searchSection {
    text-align: right;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

nav.topNav .searchSection.after_scroll {
    padding-bottom: 94px;
}

nav.topNav .searchSection input {
    margin-right: 10px;
    padding: 6px 10px;
    border: none;
    min-width: 290px;
}

nav.topNav .searchSection input.tlacitko_vyhledat {
    padding: 6px 10px;
    border: none;
    display: block;
    position: absolute;
    right: 0;
    color: transparent;
    top: 0;
    min-width: 40px;
    width: 40px;
    background: url('/galerie/1450035.jpg')center center no-repeat;
    background-size: 20px;
    cursor: pointer;
}

nav.topNav .searchSection .vyhledavani_obal {
    margin-right: 0;
    position: relative;
    margin-left: 0;
}

nav.topNav .searchSection .vyhledavani_obal h4 {
    display: none;
}

nav.topNav .searchSection a.turistika {
    margin-right: 10px;
    margin-left: 0;
    color: white;
    text-decoration: none;
    padding: 4px 20px;
    border: 1px white solid;
    transition: .2s;
    text-transform: uppercase;
    letter-spacing: 3px
}

nav.topNav .searchSection a.turistika:hover {
    color: #164194;
    background-color: white;
}

nav.topNav .searchSection .lang {
    margin-right: 0px;
    margin-left: 0;
}

nav.topNav .searchSection .lang a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
}

nav.topNav .mainMenu {
    clear: both;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    transition: .2s;
}

nav.topNav .mainMenu.after_scroll {
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px;
    width: 100%;
    z-index: 99;
    background-color: #164194;
}

nav.topNav .mainMenu.after_scroll a.logo img {
    width: 150px;
}

nav.topNav .mainMenu a.logo {
    margin-left: 0;
}

nav.topNav .mainMenu ul {
    margin-right: 0;
}

nav.topNav .mainMenu ul li {
    display: inline-block;
    list-style-type: none;
    margin: 0 0 0 20px;
}

nav.topNav .mainMenu ul li a {
    color: white;
    text-decoration: none;
    padding: 5px;
    padding-left: 0;
    font-size: 18px;
}

.mainNav .responzive_content_as4u {
    background-color: #164194;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 440px
}

header.header_vnitrek .mainNav .responzive_content_as4u {
    height: auto;
}

.mainNav .menuSection {
    transition: .2s;
    width: 33.333%;
    padding: 2em;
    -webkit-box-shadow: 5px 0px 5px 0px rgba(40, 38, 99, 1);
    -moz-box-shadow: 5px 0px 5px 0px rgba(40, 38, 99, 1);
    box-shadow: 5px 0px 5px 0px rgba(40, 38, 99, 1);
    height: 100%;
}

header.header_vnitrek .mainNav .menuSection {
    padding: 1em;
}

.mainNav .menuSection:first-of-type {
    /*    padding-left: 0;*/
}

.mainNav .menuSection:last-of-type {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.mainNav .menuSection h3 a {
    position: relative;
    color: white;
    display: inline-block;
    text-decoration: none;
    padding-bottom: 20px;
    margin-bottom: 20px;
    font-size: 28px
}

.mainNav .menuSection h3 a:hover {
    position: relative;
    color: #d4c990;
    display: inline-block;
    text-decoration: none;
    padding-bottom: 20px;
    margin-bottom: 20px;
    font-size: 28px
}

.mainNav .menuSection h3 a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: white;
    transition: .2s;
}

.mainNav .menuSection h3 a:hover::before {
    width: 100%;
    background-color: #d4c990;
}

.mainNav .menuSection h3 a::after {
    content: "";
    position: absolute;
    left: 38px;
    right: unset;
    bottom: 0;
    width: 10px;
    height: 10px;
    border-top: 2px white solid;
    border-right: 2px white solid;
    transform: translate(0px, 5px) rotate(45deg);
    transition: .2s;
}

.mainNav .menuSection h3 a:hover::after {
    left: calc(100% - 12px);
    border-top: 2px #d4c990 solid;
    border-right: 2px #d4c990 solid;
}

header.header_vnitrek .mainNav .menuSection ul {
    display: none;
}

.mainNav .menuSection ul {}

.mainNav .menuSection ul li {
    list-style-type: none;
    margin-bottom: 5px
}

.mainNav .menuSection ul li a {
    text-decoration: none;
    color: white;
    padding: 5px;
    padding-left: 0;
    display: inline-block;
}

.mainNav .menuSection:hover {
    background-color: #061c4d
}

ul.hovera a {
    position: relative;
    transition: .2s;
}

ul.hovera a:hover {
    color: #d4c990 !important;
}

ul.hovera a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    transition: .2s;
    background-color: #d4c990;
}

ul.hovera a:hover::after {
    width: 100%;
}

/* container titulka - block extract  */

.containerOuter {
    position: relative;
    text-align: center;
}

h2 a {
    color: inherit;
}

.containerOuter h2,
.containerOuter h2 a {
    text-transform: uppercase;
    color: #164194;
    padding: 50px 0;
    text-decoration: none;
    transition: .2s;
}

.containerOuter h2 a:hover {
    text-decoration: underline;
}

.containerOuter .container {
    display: flex;
    align-content: center;
    justify-content: space-between;
}

.containerOuter .container .block {
    width: 24%;
    text-align: left;
}

.containerOuter .container .block a.image {
    width: 100%;
    /*height: 200px;*/
    /*background: #fff url('/galerie/1449855.jpg')center center no-repeat;*/
    background-size: cover !important;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    display: block;
    cursor: pointer;
}

.containerOuter .container .block .image .overlay {
    position: absolute;
    background-color: rgba(22, 65, 148, 0.6);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
    opacity: 0;
}

.containerOuter .container .block a.image:hover .overlay {
    opacity: 1;
}

.containerOuter .container .block .image .overlay span {
    display: block;
    width: 40%;
    max-width: 100px;
    height: 50px;
    border: 2px white solid;
    position: relative;
    transition: .2s;
}

.containerOuter .container .block .image .overlay span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(0%, -50%);
    width: 60%;
    height: 2px;
    background-color: white;
    transition: .2s;
}

.containerOuter .container .block .image .overlay span::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20%;
    transform: translate(0, -50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-top: 2px white solid;
    border-right: 2px white solid;
    transition: .2s;
}

.containerOuter .container .block .text {}

.containerOuter .container .block .text span.datum {
    color: #5c5b58;
    font-size: 14px;
}

.containerOuter .container .block .text h5 a {
    color: inherit;
    text-decoration: none;
    transition: .2s;
    padding: 5px 5px 5px 0;
    display: inline-block;
    font-size: 16px;
    max-width: 70%
}

.containerOuter .container .block .text h5 a:hover {
    color: #164194;
}

.containerOuter .container .block:first-of-type {
    margin-left: 0;
}

.containerOuter .container .block:last-of-type {
    margin-right: 0;
}

.containerOuter a.showMore {
    text-align: center;
    text-transform: uppercase;
    background-color: #164194;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    margin: 50px 0;
    font-size: 12px;
    transition: .2s;
    border: 1px #164194 solid;
}

.containerOuter a.showMore:hover {
    background-color: transparent;
    color: #164194;
}

#aktuality {
    background-color: #e8e5de;
}

#kalAkci {
    background-color: #faf9f7
}

.containerGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    padding-bottom: 50px;
}

.containerGrid a {
    display: block;
    border: 2px #767676 solid;
    text-decoration: none;
    color: #767676;
    text-transform: uppercase;
    padding: 10px 0;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: .2s;
}

.containerGrid a span {
    position: relative;
    z-index: 2;
}

.containerGrid a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0%;
    background-color: #164194;
    z-index: 1;
    transition: .2s;
}

.containerGrid a:hover {
    border: 2px #164194 solid;
    color: white;
}

.containerGrid a:hover span {
    color: white;
}

.containerGrid a:hover::after {
    width: 100%;
}

.fotohalerieTitulka {
    text-align: center
}

.fotohalerieTitulka h2,
.fotohalerieTitulka h2 a {
    text-transform: uppercase;
    color: white;
    padding: 50px 0;
    text-decoration: none;
    transition: .2s;
    display: inline-block;
}

.fotohalerieTitulka .slider {
    height: 60vh;
    /*    background: url('/galerie/1449855.jpg')center center no-repeat;*/
    position: relative;
}

.fotohalerieTitulka .slider .responzive_content_as4u {
    position: relative;
    height: inherit;
    z-index: 2;
}

.fotohalerieTitulka .slider .left,
.fotohalerieTitulka .slider .right {
    position: absolute;
    top: 50%;
    height: 50px;
    width: 50px;
    border: 2px white solid;
    cursor: pointer;
    transition: .2s;
}

.fotohalerieTitulka .slider .left:hover,
.fotohalerieTitulka .slider .right:hover {
    background-color: #164194;
    border: 2px #164194 solid;
}

.fotohalerieTitulka .slider .left::after,
.fotohalerieTitulka .slider .right::after {
    content: "";
    position: absolute;
    width: 40%;
    height: 40%;
    top: 50%;
    left: 50%;
    border-top: 2px white solid;
    border-right: 2px white solid;
}

.fotohalerieTitulka .slider .left {
    left: 0;
    transform: translate(0, -50%);
}

.fotohalerieTitulka .slider .right {
    right: 0;
    transform: translate(0, -50%);
}

.fotohalerieTitulka .slider .left::after {
    transform: translate(-50%, -50%) rotate(-135deg);
}

.fotohalerieTitulka .slider .right::after {
    transform: translate(-50%, -50%) rotate(45deg);
}

header .slider .titulka_bgr_obr,
.fotohalerieTitulka .titulka_bgr_obr {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    background-size: cover;
    background-position: center center;
}

.sablona_prolinacka_data {
    display: none;
}

/* Footer */

footer {
    clear: both;
}

footer p a {
    color: inherit;
    text-decoration: underline;
}

footer strong {
    color: white;
}

footer p a:hover {
    text-decoration: none;
    color: #d4c990;
}

footer .footerColor {
    background-color: #2f2f2f;
    padding: 50px 0 0 0;
}

footer #rychlaNavigace_footer {
    display: none;
}

footer.footer_vnitrek #rychlaNavigace_footer {
    display: block;
}

footer.footer_vnitrek #rychlaNavigace_footer h2 {
    position: relative;
}

footer.footer_vnitrek #rychlaNavigace_footer h2 span {
    padding: 0 20px;
    position: relative;
    z-index: 2;
    background-color: white;
}

footer.footer_vnitrek #rychlaNavigace_footer h2::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0px, calc(-50% + 1px));
    width: 100%;
    border-bottom: 1px #767676 dashed;
    z-index: 1;
}

footer .footerColor .responzive_content_as4u {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

footer .footerCol {
    width: 19%;
    color: #c3c3c3;
    padding-right: 20px
}

footer .footerCol:last-of-type {
    padding-right: 0px
}

footer .footerCol p {
    margin-bottom: 30px
}

footer .footerCol h6 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}

footer .footerCol ul li {
    list-style-type: none;
}

footer .footerCol ul li a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    /*    margin-bottom: 10px;*/
    position: relative;
    transition: .2s;
    padding: 5px 5px 5px 0;
}

footer a {
    text-decoration: none;
}

footer .footerCol ul li a:hover {
    color: #d4c990;
}

footer a:hover span {
    color: #d4c990;
}

footer .footerCol ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #d4c990;
    transition: .2s;
}

footer .footerCol:last-of-type ul li a::after {
    left: unset;
    right: 0;
}

footer .footerCol ul li a:hover::after {
    width: 100%;
}

footer .footerCol:first-of-type {
    margin-left: 0;
}

footer .footerCol:last-of-type {
    margin-right: 0;
    text-align: right;
}

footer .lowerfooter {
    background-color: #2f2f2f;
}

footer .lowerfooter > .responzive_content_as4u {
    padding: 50px 0;
    display: flex;
    align-content: center;
    justify-content: center;
}

footer .lowerfooter span {
    margin-left: 0;
    color: #c3c3c3;
}

footer .lowerfooter span.colmo {
    margin-right: 0;
}

footer .lowerfooter span.colmo a {
    color: inherit;
}

footer .lowerfooter span.colmo a:hover {
    color: #d4c990;
}

.prihlaseni {
    /*
    background-color: #151515;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    max-width: 150px;
    margin-right: 0;
    */
    margin-top: 20px;

}

.prihlaseni a {
    display: inline-block;
    color: inherit;
    position: relative;
    overflow: hidden;
    margin: 0 5px;
    border-radius: 5px;
    padding: 5px 5px 5px 30px;
    color: inherit;
    transition: .2s;
}

.prihlaseni a.administrace {
    background: url('/galerie/1450011.svg')left 7px center no-repeat;
    background-size: 15px;
}

.prihlaseni a.os_udaje {
    background: url('/galerie/1450013.svg')left 7px center no-repeat;
    background-size: 15px;
}

.prihlaseni a:hover {
    background-color: #151515;
}

/* horní menu */

nav.main_nav a,
nav.main_nav span {
    margin-left: 0;
    margin-right: 10px;
    position: relative;
}

nav.main_nav a,
nav.main_nav span a {
    display: inline-block;
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 8px;
    transition: .2s;
}

nav.main_nav a:hover,
nav.main_nav span a:hoverF {
    background-color: rgba(0, 0, 0, .2);
    border-radius: 5px;
}

nav.main_nav span a {
    margin-right: 0;
}

nav.main_nav span:hover ul {
    animation: dropdown .2s ease;
    animation-fill-mode: forwards;
    display: block;
    opacity: 0;
}

nav.main_nav span ul:hover {
    display: block;
}

@keyframes dropdown {
    0% {
        display: block;
        opacity: 0;
    }

    50% {
        display: block;
        opacity: 1;
    }

    100% {
        display: block;
        opacity: 1;
        transform: translate(0, -10px)
    }
}

nav.main_nav span ul {
    display: none;
    position: absolute;
    min-width: 200px;
    background-color: white;
    padding: 10px;
    left: 0;
    top: 35px;
    box-sizing: border-box;
    border-radius: 5px;
    /* margin-top: 15px; */
    border-top: 15px white solid;
    -webkit-box-shadow: 0px 17px 25px -6px rgba(133, 133, 133, 1);
    -moz-box-shadow: 0px 17px 25px -6px rgba(133, 133, 133, 1);
    box-shadow: 0px 17px 25px -6px rgba(133, 133, 133, 1);
    transition: .2s;
}

.classForContentPadding {
    padding: 2em 0;
}

nav.main_nav span ul li {
    list-style-type: none;
    margin-bottom: 5px;
}

nav.main_nav span ul li a {
    display: block;
}

img.dropdown_image {
    width: 10px;
    margin-left: 10px;
}

/* aside leve menu */


/* vnitřek */

aside.leve_menu {
    width: 25%;
    float: left;
    box-sizing: border-box;
}

aside.leve_menu .search {
    display: none;
}

aside.leve_menu .sloupec_navigace {
    margin-bottom: 15px;
}

aside.leve_menu .nadpis_navigace {
    display: none;
}

aside.leve_menu .nadrazeny_oddil {
    display: none;
}

aside.leve_menu .nadrazeny_oddil a {
    display: block;
    box-sizing: border-box;
    padding: 15px 35px 15px 18px;
    background: #ffd300;
    color: black;
}

h3.nadpis_oddilu {
    display: none;
    /*
    padding: 20px 18px;
    font-weight: 600;
    font-size: 21px;
    color: #ffffff;
    background: #164194;
    margin: 0 auto;
*/
}

aside.leve_menu .sloupec_navigace ul.navigace {
    padding: 0;
}

aside.leve_menu .sloupec_navigace ul.navigace li {
    position: relative;
    list-style-type: none;
    box-sizing: border-box;
    margin: 2px 0;
}

aside.leve_menu .sloupec_navigace ul.navigace li.external_link a {
    background: url(/galerie/1450042.svg)center right 7px no-repeat;
    background-size: 13px;
    padding-right: 30px;
}

aside.leve_menu a.nadpis_sekce_aktivni::before {
    width: 100% !important;
}

aside.leve_menu a.nadpis_sekce_aktivni {
    color: #164194 !important;
}

aside.leve_menu a.clanek_vybrany {}

/*
aside.leve_menu .sloupec_navigace ul.navigace li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 60px;
          background: #ffffff url(/galerie/1417921.svg)center center no-repeat;
    background-size: 16px;
}
*/

aside.leve_menu .sloupec_navigace ul.navigace li.odkaz_v_sekci {
    padding-left: 0;
}

aside.leve_menu .sloupec_navigace ul.navigace li.odkaz_v_sekci a {
    background-size: 16px;
    color: #767676;
}

aside.leve_menu .sloupec_navigace ul.navigace li.odkaz_v_sekci ul.odkazy_uroven_3 li a {
    background: #ffed99;
    background: #164194;
}

aside.leve_menu .sloupec_navigace ul.navigace li.odkaz_v_sekci a:hover {
    /*      padding-left: 40px;*/
}

aside.leve_menu .sloupec_navigace ul.navigace li.odkaz_v_sekci:before {
    display: none;
}

aside.leve_menu .sloupec_navigace ul.navigace li.odkaz_v_sekci:last-of-type {
    /* margin-bottom: 15px; */
}

aside.leve_menu .sloupec_navigace ul.navigace li.sekce {
    margin: 2px 0;
}

/*
aside.leve_menu .sloupec_navigace ul.navigace li.oddil_mimo_sekci a {
    background: #164194;
    color: white;
}

aside.leve_menu .sloupec_navigace ul.navigace li.oddil_mimo_sekci a:hover {
    color: white;
    text-decoration: underline;
}
*/

aside.leve_menu .sloupec_navigace ul.navigace li.sekce ul li {
    /* background: #f3f3f3; */
}

aside.leve_menu .sloupec_navigace ul.navigace li.sekce ul.odkazy_v_sekci {
    border-bottom: 2px #767676 solid;
    padding-bottom: 1em;
    margin-bottom: 1em;
}

aside.leve_menu .sloupec_navigace ul.navigace li.sekce span.nadpis_sekce {}

aside.leve_menu .sloupec_navigace ul.navigace li.sekce span.nadpis_sekce a.nadpis_sekce_aktivni::after {
    transform: translate(0, -50%) rotate(180deg);
}

/*
aside.leve_menu .sloupec_navigace ul.navigace li.sekce:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 60px;
    background: url(/galerie/1417916.svg)top 14px center no-repeat;
    background-size: 16px;
}
*/

aside.leve_menu .sloupec_navigace ul.navigace li.sekce span.nadpis_sekce a {
    display: inline-block;
    padding: 5px 5px 5px 0;
    padding-right: 30px;
    position: relative;
}

aside.leve_menu .sloupec_navigace ul.navigace li.sekce span.nadpis_sekce a::after {
    content: "";
    position: absolute;
    right: 0px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translate(0, -50%);
    background: url(/galerie/1450033.svg)center center no-repeat;
    background-size: 10px;
    transition: .2s;
}

aside.leve_menu .sloupec_navigace ul.navigace li.sekce span.nadpis_sekce ul {}

aside.leve_menu .sloupec_navigace ul.navigace li.sekce span.nadpis_sekce ul li {}

aside.leve_menu .sloupec_navigace ul.navigace li.sekce span.nadpis_sekce ul li a {}

aside.leve_menu .sloupec_navigace ul.navigace li a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #164194;
    padding: 5px 5px 5px 0;
    margin-bottom: 10px;
    z-index: 2;
    transition: .3s;
    font-weight: bold;
}

aside.leve_menu .sloupec_navigace ul.navigace li a:last-of-type {
    margin-bottom: 0px;
}

aside.leve_menu .sloupec_navigace ul.navigace li a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    transition: .2s;
    background-color: #164194;
}

aside.leve_menu .sloupec_navigace ul.navigace li a:hover {
    color: #164194;
    text-decoration: none;
}

aside.leve_menu .sloupec_navigace ul.navigace li a:hover::before {
    width: 100%;
}

aside.leve_menu .sloupec_navigace ul.navigace li a.clanek_vybrany {
    color: #164194
}

aside.leve_menu .sloupec_navigace ul.navigace li a.clanek_vybrany::before {
    width: 100%;
}


/* obecne */

.hlavni_odk_profil a {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    color: black;
    text-decoration: none;
    background-color: #F4F4F4;
    margin: 0 10px 10px 0;
}

.hlavni_odk_profil a:hover {
    text-decoration: underline;
}

aside.main_menu {
    width: 30%;
    float: left;
    padding: 20px;
}

.container_content {
    width: 70%;
    float: left;
    padding-left: 50px;
}

.cleaner,
.cleaner_dil_serialu,
.cleaner_fotogalerie_clanku,
.cleaner_obrazek_celek,
.cleaner_akce,
.cleaner_vyhledany_text {
    clear: both;
    height: 0px;
    overflow: hidden;
}

.info_podclankem {
    display: none;
}

.starsi_novejsi,
.predchozi_dalsi {
    clear: both;
    text-align: center;
    margin: 10px 0;
}

.predchozi_dalsi a,
.starsi_novejsi a {
    display: inline-block;
    padding: 7px;
    transition: .2s;
    margin: 0 5px;
    color: #164194;
    text-decoration: none;
}

.predchozi_dalsi a:hover,
.starsi_novejsi a:hover {
    text-decoration: underline;
}

.predchozi_dalsi strong,
.starsi_novejsi strong {
    display: inline-block;
    padding: 7px;
    transition: .2s;
    margin: 0 5px;
}


div.tlacitko_vyhledat input {
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    background-color: #164194;
    transition: .2s;
    border: none;
    cursor: pointer;
    border-radius: 3px;
}

div.tlacitko_vyhledat input:hover {
    background-color: #DA291C;
    padding: 10px 15px;
}

.cesta_ke_clanku {
    margin: 10px 0;
}

.cesta_ke_clanku span {
    margin: 0 5px;
}

.cesta_ke_clanku a span {
    margin: 0px;
}

.cesta_ke_clanku a {
    margin: 0;
    text-decoration: none;
    color: #767676;
}

.cesta_ke_clanku a:hover {
    text-decoration: underline;
}

.cesta_ke_clanku a:last-of-type {
    margin: 0;
    text-decoration: underline;
    color: #164194;
}

.fotogalerie_clanku {
    position: relative;
}

.fotogalerie_clanku .obrazek_celek_obal {
    width: 23%;
    margin: 1%;
    float: left;
    overflow: hidden;
    position: relative;
    border: 2px #767676 solid;
    padding: 10px;
    transition: .2s;
}

.fotogalerie_clanku .obrazek_celek_obal .nazev_popis_obrazku {
    position: absolute;
    bottom: 11px;
    left: 50%;
    transform: translate(-50%, 0%);
    background-color: white;
    height: 27%;
    width: 95%;
    padding: 10px;
    transition: .2s;
}

.fotogalerie_clanku .obrazek_celek_obal:hover,
.fotogalerie_clanku .obrazek_celek_obal:hover .nazev_popis_obrazku {
    background-color: #164194;
    color: white;
}

.fotogalerie_clanku .obrazek_celek_obal:hover {
    border-color: #164194;
}

/*

.fotogalerie_clanku .obrazek_celek_obal .nazev_popis_obrazku:hover {
    background-color: #164194;
    color: white;
}
*/

.fotogalerie_clanku .obrazek_celek_obal img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.fotogalerie_clanku h4.nazev_obrazku a {
    color: inherit;
}

.fotogalerie_clanku h4.nazev_obrazku a:hover {
    text-decoration: none;
}

.popis_clanku p {
    margin: 0 0 10px 0;
}

div.nahled_tisk {
    margin: 10px 0;
    clear: both;
    margin-top: 40px;
}

a.nahled_tisk {
    background: url(/galerie/1285831.svg)left 8px center no-repeat;
    padding: 8px 8px 8px 40px;
    color: #767676;
    border: 2px #767676 solid;
    text-transform: uppercase;
    text-decoration: none;
    transition: .2s;
    position: relative;
}

a.nahled_tisk::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translate(0, -50%);
    width: 8px;
    height: 8px;
    border-top: 2px white solid;
    border-right: 2px white solid;
    opacity: 0;
    transition: .2s;
}

a.nahled_tisk:hover::before {
    transform: translate(0, -50%) rotate(45deg);
    opacity: 1;
}

a.nahled_tisk:hover {
    background: #164194 url(/galerie/1285831.svg)left -55px center no-repeat;
    color: white;
    border: 2px #164194 solid;
}

table {
    width: 100%;
}

table a {
    font-weight: normal;
    color: #444444;
    text-decoration: none;
}

table a:hover {
    text-decoration: underline;
}

table th {
    padding: 10px;
    background-color: #F4F4F4;
    text-align: left;
}

table td {
    padding: 10px;
}

.as4u_adrfiles_li li a {
    font-weight: normal;
    color: #444444;
    text-decoration: none;
}

.clanek p a {
    text-decoration: underline;
    color: #164194;
}

.clanek p a:hover {
    text-decoration: none;
}

a.link_soubor {
    text-decoration: none;
    color: #164194;
}

a.link_soubor:hover {
    text-decoration: underline;
}

a.link_clanek {
    color: #212121
}

a.link_clanek:hover {
    text-decoration: none;
}

/* galerie */

#gallyery4uLoadingContDiv {
    margin: unset;
}

#gal_topdiv *,
#gal_topdiv,
response {
    position: unset;
}

/* kalendář akcí */
.calendar {
    text-align: center;
}

.calendar select {
    /* width: 100%; */
    padding: 5px 10px;
    box-sizing: border-box;
    border: 2px #767676 solid;
    margin: 10px;
    max-width: 250px;
}

#bs_common_calendar {
    padding: 1em !important;
}

.events_calendar_menu {
    width: 24%;
    float: left;
    box-sizing: border-box;
    margin: 0 1% 1% 0;
    padding: 8px;
}

div.events_calendar {
    display: block;
    transition: .5s;
}

div.kalendar {
    text-align: center;
}

div.kalendar table {
    width: 100%;
    border-collapse: collapse;
}

div.kalendar table a {
    display: block;
    padding: 5px 0;
    text-decoration: none;
    transition: .2s;
    border: 2px white solid;
}

div.kalendar table a:hover {
    border: 2px #164194 solid;
}

.events_body .akce_celek_obal {
    position: relative;
}

.kalendar_nav li {
    margin-bottom: 5px;
    list-style-type: none;
}

.kalendar_nav li a {
    padding: 5px 8px;
    color: #164194;
    padding-left: 0;
    text-decoration: none;
    display: inline-block;
    position: relative;
    font-weight: bold;
}

.kalendar_nav li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    transition: .2s;
    background-color: #164194;
}

.kalendar_nav li a:hover::after {
    width: 100%;
}

ul.menu_akce,
ul.menu_akce_kategorie {
    padding: 0;
}

ul.menu_akce {
    border-bottom: 2px #767676 solid;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

ul.menu_akce li a span,
ul.menu_akce li a {
    color: #767676;
    transition: .2s;
}

ul.menu_akce li a span:hover,
ul.menu_akce li a:hover {
    color: #164194 !important;
}

.temp_akce_dsti_vyber_data select {
    width: 100%;
    padding: 5px 8px;
    box-sizing: border-box;
    margin: 8px 0;
}

table.kalendar td {
    padding: 0px;
}

.events_calendar table.kalendar tr.kalendar_prvniradek,
.events_calendar_menu table.kalendar tr.kalendar_prvniradek,
.events_calendar table.kalendar tr.kalendar_prvniradek th,
.events_calendar_menu table.kalendar tr.kalendar_prvniradek th {
    background-color: transparent;
    text-align: center;
    border: 2px white solid;
}

.events_calendar table.kalendar,
.events_calendar_menu table.kalendar {
    padding: 10px;
    box-sizing: border-box;
    border-collapse: collapse;
    width: 100%;
}

span.zvoleny_rok_mesic {
    display: inline-block;
    margin: 0 15px;
}

.clanek_akce a.primarni_obrazek_clanku img,
.clanek_akce .primarni_obrazek_clanku img {
    width: 39%;
    float: left;
    margin-right: 1%;
}

.clanek_akce .podrobny_popis_akce {
    line-height: 1.5;
    clear: both;
}

.clanek_akce .podrobny_popis_akce a {
    color: #164194;
}

.clanek_akce .podrobny_popis_akce p {
    margin: 10px 0;
}

.events_calendar table.kalendar td {
    padding: 2px;
    box-sizing: border-box;
}

.vyber_rok_mesic {
    margin: 10px 0;
    font-size: 18px;
}

.vyber_rok_mesic a {
    text-decoration: none;
    color: #164194;
}

div.events_menu select {
    width: 100%;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    border-bottom: 3px #164194 solid;
}

div.events_menu ul {
    padding: 10px 20px;
}

div.events_menu ul li {
    list-style-type: none;
}

div.events_menu ul li a {
    padding: 3px 10px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    transition: .2s;
}

.events_body,
.akce_vypis {
    width: 75%;
    float: left;
    box-sizing: border-box;
}

/* nova akce | rozšířené vyhledávání */
.events_body fieldset {}

.events_body fieldset table th {
    background-color: transparent;
}

.events_body fieldset table tr table td {
    padding: 0;
}

.events_body form[name="edit_events"] input[type="submit"]{
      padding: 10px 15px;
    color: white;
    text-decoration: none;
    background-color: #164194;
    transition: .2s;
    border: none;
    cursor: pointer;
    border-radius: 3px;
}
.events_body form[name="edit_events"] input[type="submit"]:hover{
background-color:  #DA291C;
}

.events_body fieldset input[type="text"],
fieldset input[type="submit"],
fieldset textarea,
fieldset select {
    width: 100%;
    max-width: 100% !important;
}

/* vypis aktualit */
.akce_celek_obal,
.aktualita_celek_obal {
    position: relative;
    border-bottom: 1px #767676 dashed;
    padding-bottom: 2em;
    margin-bottom: 2em;
}

.akce_celek_obal .content,
.aktualita_celek_obal .aktualita_celek {
    /*
    height: 250px;
    display: block;
*/
    height: auto;
    display: flex;
    flex-wrap: wrap;
}

.akce_celek_obal .content {}

.akce_celek_obal .overlay_akce {
    display: none;
}

.aktualita_celek_obal .aktualita_celek > a {
    display: none;
}

.akce_text h4 a {
    display: block;
    height: auto;
    color: black;
    text-decoration: none;
    padding: 5px 0;
    margin: 0 0 10px 0;
}

.aktualita_celek_obal .aktualita_celek h3 a.aktualita_odkaz_naclanek {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: black;
    text-decoration: none;
}

.akce_text h4 a:hover,
.aktualita_celek_obal .aktualita_celek h3 a.aktualita_odkaz_naclanek:hover {
    text-decoration: underline;
}

.akce_text .anotace {
    height: auto;
}

.aktualita_celek_obal .aktualita_celek .text_aktuality {
    height: 100px;
    overflow: hidden;
    margin: 15px 0;
}

.akce_celek_obal figure {
    max-width: 30%;
    margin-left: 0;
    margin-right: 1em;
}

.aktualita_celek_obal .aktualita_celek a.primarni_obrazek_vyhledavani {
    /*
    float: left;
    width: 40%;
    height: 100%;
*/
    display: block;
    overflow: hidden;
    padding-right: 2em;
    margin-right: 0;
    margin-left: 0;
}

.akce_celek_obal figure img,
.aktualita_celek_obal .aktualita_celek a.primarni_obrazek_vyhledavani img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.datum_konani,
.aktualita_celek_obal .aktualita_celek .datum_aktuality {
    height: 20px;
}

a.viceAkt,
.aktualita_celek_obal .aktualita_celek .odkaz_naclanek .aktualita_odkaz_naclanek {
    color: inherit;
    text-decoration: none;
    padding: 7px 20px;
    border: 2px #767676 solid;
    text-transform: uppercase;
    display: inline-block;
    transition: .2s;
}

a.viceAkt:hover,
.aktualita_celek_obal .aktualita_celek .odkaz_naclanek .aktualita_odkaz_naclanek:hover {
    border: 2px #164194 solid;
    color: white;
    background-color: #164194;
}

.aktualita_celek_obal .cleaner_aktualita {
    height: 0px;
    overflow: hidden;
}

.kategorie_horni {
    display: none;
}

/* akce vypis */

div.akce_text {
    /*
    float: left;
    max-width: 60%;
*/
    margin-right: 0;
    margin-left: 0;
}

div.akce_text span.typakce {
    display: inline-block;
    padding-left: 30px;
    position: relative;
}

div.akce_text span.typakce::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translate(0, -50%) rotate(45deg);
    width: 5px;
    height: 5px;
    border-top: 2px #164194 solid;
    border-right: 2px #164194 solid;
}

/*
.clanek_uredni_deska fieldset.aplikace {

}

.clanek_uredni_deska fieldset.aplikace label {
    padding: 0;
}

.clanek_uredni_deska fieldset.aplikace td {
    display: inline-block;
}
.clanek_uredni_deska fieldset.aplikace input#inclarch {
    display: inline-block;
}
*/
div.clanek_uredni_deska form fieldset {
    border: none;
    padding: 0;
}

div.clanek_uredni_deska form fieldset legend {
    display: none;
}

form .uredni_deska {}

form .uredni_deska .row {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

form .uredni_deska .row .col:first-of-type {
    width: 70%;
    padding-right: 2%;
}

form .uredni_deska .row .col:last-of-type {
    width: 30%;
}

form .uredni_deska .row .col label {
    display: block;
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    text-transform: uppercase;
}

form fieldset .uredni_deska .row .col input[type="text"],
form fieldset .uredni_deska .row .col select {
    width: 100%;
    max-width: 100%;
    margin: 10px 0;
    padding: 10px;
    font-size: 16px;
}

form .uredni_deska .row span.heading_od_do {
    margin: 0 10px 0 0;
    /*
    display: block;
    width: 100%;
*/
}

form .uredni_deska .row_3 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

form .uredni_deska .row .col.oddne,
form .uredni_deska .row .col.dodne {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 30%;
    margin: 0 10px 0 0;
}

form .uredni_deska .col.oddne label,
form .uredni_deska .col.dodne label {
    display: inline-block;
    width: auto;
}

form .uredni_deska label::before,
form .uredni_deska label::after {
    display: none;
}

form .uredni_deska .col.oddne input[type="text"],
form .uredni_deska .col.dodne input[type="text"] {}

form .uredni_deska .col.oddne img,
form .uredni_deska .col.dodne img {
    margin-left: 10px;
    height: auto;
    width: 30px;
}

form .row.search {}

form .row.search span.archiv label {
    position: relative;
    padding: 8px 20px 8px 40px;
    border: 2px #767676 solid;
    border-radius: 0px;
}

form .row.search span.archiv label::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 17px;
    transform: translate(0, -50%) rotate(45deg);
    width: 5px;
    height: 9px;
    border: none;
    border-bottom: 2px #767676 solid;
    border-right: 2px #767676 solid;
    opacity: 0;
}

form .row.search span.archiv label::after {
    display: none;
}

form .row.search span.archiv label:hover::before {
    opacity: 1;
}

form .row.search span.archiv label.active {
    border: 2px #164194 solid;
    color: white;
    background-color: #164194;
}

form .row.search span.archiv label.active::before {
    border-bottom: 2px white solid;
    border-right: 2px white solid;
    opacity: 1;
}

form .row.search input[type="submit"] {
    padding: 10px 20px;
}

/* článek */

div.clanek {
    padding-bottom: 30px;
    padding-top: 30px;
    clear: both;
}

a.primarni_obrazek_clanku img {

    width: 250px;
    /*    float: left;*/
    /*    margin: 0 10px 10px 0;*/
    /*   width: 100%;*/
}

a.primarni_obrazek_clanku {
    /*
    height: 100vh;
    display: block;
    float: left;
    width: 250px;
    margin: 0 1em 0 0;
*/
    margin: 1.5em 0;
    display: block;
}

.clanek_akce h1.nadpis_clanku {
    margin: 20px 0;
}

h2.nadpis_clanku {
    /*display: none;*/
    margin-bottom: 1.5em;
}

.clanek_akce a.primarni_obrazek_clanku img,
.clanek_akce figure.obrazek img,
.clanek_akce figure img {
    width: 39%;
    float: left;
    margin-right: 1%;
}

.clanek_akce table.kratky_popis_akce {
    width: 60%;
    float: left;
    padding: 0 20px;
    box-sizing: border-box;
}

.clanek_akce table.kratky_popis_akce th {
    text-align: left;
    vertical-align: top;
    min-width: 150px;
}

.clanek ul li,
.clanek ol li {
    padding: 5px 5px 5px 20px;
}

.clanek p {
    margin: 10px 0;
    line-height: 1.5;
}

.clanek_menu {
    width: 18%;
    float: left;
    background-color: #c5c5c5;
    padding: 15px;
    box-sizing: border-box;
    margin-right: 2%;
}

.clanek_body {
    width: 70%;
    float: left;
}

.clanek_menu_item {
    display: block;
    padding: 7px 0;
    box-sizing: border-box;
    color: #191919;
    border-bottom: 1px #828282 solid;
}

div.events_menu {
    display: block;
    position: fixed;
    z-index: 5;
    right: 200px;
    opacity: 0;
    top: 150px;
    z-index: 5;
    height: 0px;
    overflow: hidden;
    transition: .5s;
}

div.events_menu select {
    width: 100%;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
}

div.events_menu ul {
    padding: 10px 20px;
}

table.tema_kat_akce tr.radek span {
    position: relative;
    display: inline-block;
    padding: 5px 10px;
    transition: .5s;
    margin: 0 10px 10px 0;
    border-radius: 3px;
    cursor: pointer;
    background-color: #164194;
    color: white;
}

table.tema_kat_akce tr.radek span label {
    margin: 0 auto;
    cursor: pointer;
}

table.tema_kat_akce tr.radek span input {
    position: absolute;
    opacity: 0;
}

table.tema_kat_akce tr.radek span:hover {
    background-color: #0d3176;
}

table.tema_kat_akce tr.radek span.span_active_toggle {
    background-color: #DA291C;
}

.zobrazeni_situaci {
    text-align: right;
    color: white;
    background-color: #164194;
    margin-bottom: 10px;
}

.zobrazeni_situaci a {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 5px;
    margin: 0 0 0 10px;
}

.zobrazeni_situaci a:hover {
    text-decoration: underline;
}

.zpet_na_situace {
    margin-bottom: 20px;
}

.zpet_na_situace a {
    display: inline-block;
    padding: 5px;
    color: inherit;
}

.situace_vypis > p {
    margin: 0 0 20px 0;
}

a.zpet {
    display: inline-block;
    margin: 0 10px 0 0;
    padding: 5px 10px;
    background-color: #164194;
    box-sizing: border-box;
    border-radius: 5px;
    transition: .2s;
}

a.zpet:hover {
    background-color: #0d3176;
}

.clanek ol li {
    padding: 5px;
    margin-left: 30px;
}

.vyhledany_text_celek_obal ul li,
.clanek_akce ul li,
.popis_clanku ul li,
.clanek ul li,
.dr_clanek_prilohy ul li {
    padding: 5px;
    /*list-style-image: url(/galerie/1407173.svg);*/
    margin-left: 20px;
    list-style-type: none;
    position: relative;
}

.vyhledany_text_celek_obal ul li::before,
.clanek_akce ul li::before,
.popis_clanku ul li::before,
.clanek ul li::before,
.dr_clanek_prilohy ul li::before {
    content: "";
    position: absolute;
    top: 14px;
    left: -13px;
    width: 0;
    height: 0;
    border-left: 5px transparent solid;
    border-right: 5px transparent solid;
    border-bottom: 5px #164194 solid;
    transform: rotate(90deg);
    border-radius: 2px;
}

.clanek_akce ul li a,
.popis_clanku ul li a,
.clanek ul li a,
.dr_clanek_prilohy ul li a {
    text-decoration: underline;
    color: inherit;
}

.clanek_akce ul li a:hover,
.popis_clanku ul li a:hover,
.clanek ul li a:hover,
.dr_clanek_prilohy ul li a:hover {
    text-decoration: none;
}

.vyhledany_text_celek_obal,
.dil_serialu_celek_obal {
    width: 100%;
    position: relative;
    border-bottom: 1px #767676 dashed;
    padding-bottom: 2em;
    margin-bottom: 2em;
}

.vyhledany_text_celek_obal h3 a {
    color: inherit;
    text-decoration: none;
    margin-bottom: 1em;
    display: block;
}

.vyhledany_text_celek_obal h3 a:hover {
    text-decoration: underline;
}

.vyhledany_text_celek_obal .odkaz_cely_clanek {
    margin-top: 1em;
}

.vyhledany_text_celek_obal {
    line-height: 1.5;
}

.vyhledany_text_celek_obal h3 {
    margin-bottom: 20px;
}

.vyhledany_text_celek_obal ul {
    padding: revert;
}

.vyhledany_text_celek_obal ul li a {
    color: inherit;
}

.vyhledany_text_celek_obal ul li a:hover {
    text-decoration: none;
}

.vyhledany_text_celek_obal .odkaz_cely_clanek a {
    color: #767676;
    text-decoration: none;
    padding: 7px 20px;
    border: 2px #767676 solid;
    text-transform: uppercase;
    display: inline-block;
    transition: .2s;
}

.vyhledany_text_celek_obal .odkaz_cely_clanek a:hover {
    border: 2px #164194 solid;
    background-color: #164194;
    color: white;
}

.dil_serialu_celek_obal .dil_serialu_celek {
    /*    height: 250px;*/
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.dil_serialu_celek_obal .dil_serialu_celek a.primarni_obrazek_vyhledavani {
    /*
    float: left;
    width: 40%;
    height: 100%;
*/
    display: block;
    overflow: hidden;
    margin-left: 0;
    width: 30%;
}

.dil_serialu_celek_obal .dil_serialu_celek .text_info_obal {
    width: 70%;
    margin-right: 0;
    margin-left: 0;
    text-align: left;
    padding-left: 2em;
}

.dil_serialu_celek_obal .dil_serialu_celek a.primarni_obrazek_vyhledavani img {
    width: 100%;
    height: auto;
}

.odkaz_cely_clanek {}

.odkaz_cely_clanek span.autor {
    margin-left: 0;
    display: none;
}

.odkaz_cely_clanek span.cely_clanek {
    margin-right: 0
}

.odkaz_cely_clanek span.pocet_precteni {
    display: none;
}

/*
.dil_serialu_celek_obal .odkaz_cely_clanek span {
    display: none;
}
*/

.dil_serialu_celek_obal .odkaz_cely_clanek span.cely_clanek {
    display: inline-block;
    color: transparent;
    position: relative;
}

.dil_serialu_celek_obal .odkaz_cely_clanek span.cely_clanek a {
    /*
    position: absolute;
    left: 0;
    */
    color: #767676;
    text-decoration: none;
    padding: 7px 20px;
    border: 2px #767676 solid;
    text-transform: uppercase;
    display: inline-block;
    transition: .2s;
    transform: translate(0, -10px);
}

.dil_serialu_celek_obal h3.nadpis_dilu_serialu {
    /*
    float: right;
    width: 60%;
    */
    text-align: left;
}

.dil_serialu_celek_obal h3.nadpis_dilu_serialu a {
    /*
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    */
    color: black;
    text-decoration: none;
}

.dil_serialu_celek_obal h3.nadpis_dilu_serialu a:hover {
    text-decoration: underline;
}

.dil_serialu_celek_obal .dil_serialu_celek.serial_bezobrazku {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dil_serialu_celek_obal .dil_serialu_celek.serial_bezobrazku .cleaner_dil_serialu {
    display: none;
}

.dil_serialu_celek_obal .dil_serialu_celek.serial_bezobrazku h3.nadpis_dilu_serialu {
    /*
    float: left;
    width: auto;
    text-align: left;
*/
    margin-left: 0;
    max-width: calc(100% - 150px);
}

.dil_serialu_celek_obal .dil_serialu_celek.serial_bezobrazku .odkaz_cely_clanek {
    float: right;
    width: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
}

.dil_serialu_celek_obal .dil_serialu_celek.serial_bezobrazku .popis_dilu_serialu {
    height: auto;
    float: left;
    max-width: calc(100% - 145px);
    display: none;
}

.dil_serialu_celek_obal .odkaz_cely_clanek span.cely_clanek a:hover {
    border: 2px #164194 solid;
    background-color: #164194;
    color: white;
}

.dil_serialu_celek_obal .popis_dilu_serialu {
    height: 100px;
    overflow: hidden;
    margin: 15px 0;
    clear: right;
    line-height: 1.5;
    /*    display: none;*/
}

.dil_serialu_celek_obal .odkaz_cely_clanek span.datum_vytvoreni {
    display: none;
}

.dil_serialu_celek_obal a.primarni_obrazek_vyhledavani img {
    /*
    width: 100%;
    height: 230px;
*/
    object-fit: cover;
    transition: .2s;
}

.hlavni_odkazy {
    margin: 10px 0;
}

.hlavni_odkazy a {
    display: inline-block;
    padding: 5px 10px;
    box-sizing: border-box;
    border: 2px #767676 solid;
    margin: 0 10px 10px 0;
    transition: .2s;
    color: inherit;
    text-decoration: none;
}

.hlavni_odkazy a:hover {
    color: white;
    background-color: #164194;
    border: 2px #164194 solid;
}

/* fieldsety a všechno v nich */

fieldset {
    border: none;
    /* background-color: #d8d8d8; */
    margin-bottom: 30px;
    padding: 60px 20px 20px 20px;
    box-sizing: border-box;
    position: relative;
    border: 2px #767676 solid;
}

fieldset input[type="text"],
fieldset input[type="submit"],
fieldset textarea,
fieldset select {
    /*width: 100%;*/
    padding: 5px 10px;
    box-sizing: border-box;
    border: 2px #767676 solid;
    margin: 10px;
    max-width: 250px;
}

fieldset input[type="submit"] {
    cursor: pointer;
    color: #767676;
    background-color: white;
    transition: .2s;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
}

fieldset input[type="submit"]:hover {
    cursor: pointer;
    color: white;
    background-color: #164194;
    transition: .2s;
    border: 2px #164194 solid;
}

form#edit_events_form fieldset label {
    margin: 0 10px 0 5px;
}

fieldset legend {
    /* text-align: start; */
    display: block;
    padding: 10px;
    text-align: left;
    /* background-color:  #164194; */
    /* width: 100%; */
    /* box-sizing: border-box; */
    /* position: absolute; */
    /* top: 0; */
    /* left: 0;*/
}

fieldset table th {
    text-align: left;
    padding: 5px;
    box-sizing: border-box;
    vertical-align: top;
    width: 15%;
}

fieldset table td {
    padding: 5px;
    box-sizing: border-box;
    vertical-align: top;
}


fieldset.aplikace ul {
    padding-left: 15px;
    border-left: 2px #ffffff solid;
}

fieldset.aplikace ul li {
    list-style-type: none;
}

fieldset.aplikace label {
    display: inline-block;
    padding: 5px 10px;
    margin: 5px 0;
    background-color: white;
    cursor: pointer;
    border-radius: 3px;
    transition: .2s;
    position: relative;
}

fieldset.aplikace label::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translate(0, -50%)rotate(45deg);
    left: -20px;
    width: 5px;
    height: 5px;
    border-top: 3px #212121 solid;
    border-right: 3px #212121 solid;
    transition: .2s;
    opacity: 0;
}

fieldset.aplikace label::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translate(0, -50%)rotate(230deg);
    right: -20px;
    width: 5px;
    height: 5px;
    border-top: 3px #212121 solid;
    border-right: 3px #212121 solid;
    transition: .2s;
    opacity: 0;
}

fieldset.aplikace label:hover::before {
    left: -12px;
    opacity: 1;
}

fieldset.aplikace label:hover::after {
    right: -12px;
    opacity: 1;
}

fieldset.aplikace label.active {
    background-color: #FFCE00;
    color: black;
}

fieldset.aplikace input[type="checkbox"] {
    margin-right: 10px;
    display: none;
}

form#oznameni fieldset table td {
    vertical-align: middle;
}

tr#tr_date_0 table {
    margin-left: 0;
}

span#spn_jmeno_poradatele {
    display: inline-block;
    margin: 0 10px 0 0;
}

#puvodni_text_cs {
    height: auto !important;
}

table tr td.vypis_osob_prvnipismeno {
    background-color: #164194;
    color: white;
}

/* DSTI datový sklad */

.obal_detailu_subjektu .levy_sloupec_subjektu {
    width: 60%;
    float: left;
}

.obal_detailu_subjektu .kontakty_obal {
    width: 40%;
    float: left;
}

div.filtry_kategorie_obal,
div.filtry_region_obal {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    box-sizing: border-box;
}

.pocet_zaznamu {
    text-align: center;
    margin-bottom: 20px;
}

div.filtry_kategorie_obal .filtry_kategorie,
div.vypis_filtry_detail .filtry_region_obal .filtry_region {
    display: flex;
    padding: 10px;
    padding-top: 50px;
    margin: 0 10px;
    cursor: pointer;
    position: relative;
    width: 80px;
    height: 40px;
    border-radius: 8px;
    font-size: 14px;
    align-items: center;
    transition: .2s;
    background-color: white;
}

.dsti_dlazdice_vypis a.subjekt_obal {
    width: 14.666%;
    margin: 1%;
    display: block;
    height: 350px;
    float: left;
    position: relative;
    transition: .2s;
    overflow: hidden;
}

div.filtry_kategorie_obal,
.filtry_region input {
    display: none;
}

.filtry_sortby_obal {
    margin: 20px 0;
}

.filtry_sortby {
    text-align: center;
}

.filtry_sortby_obal a {
    background: #164194;
    display: inline-block;
    width: 25px;
    height: 25px;
    line-height: 25px;
    color: white;
    text-align: center;
    font-weight: bold;
    margin: 0 1px;
    transition: .2s;
}

.skryt_zobrazit_filtr,
.skryt_zobrazit_filtr_razeni {
    float: left;
}

a.skryt_zobrazit_filtr_a_0,
a.skryt_zobrazit_filtr_a_1,
a.skryt_zobrazit_filtr_b_0,
a.skryt_zobrazit_filtr_b_1 {
    width: 20px;
    height: 20px;
    padding: 5px;
    border-radius: 3px;
    color: white;
    margin-right: 10px;
}

a.skryt_zobrazit_filtr_a_0,
a.skryt_zobrazit_filtr_b_0 {
    background-color: #DA291C;
}

a.skryt_zobrazit_filtr_a_1,
a.skryt_zobrazit_filtr_b_1 {
    background-color: #3aa21f;
}

.vypis_filtry_detail {
    clear: both;
}

.vypis_filtry_detail h1 {
    text-align: center;
}

div.mesta ul li {
    display: inline-block;
}

div.mesta ul li label {
    display: inline-block;
    padding: 5px 10px;
    background-color: #164194;
    color: white;
    border-radius: 5px;
    margin: 0 10px 10px 0;
    cursor: pointer;
    transition: .2s;
}

div.mesta ul li label input {
    position: absolute;
    opacity: 0;
}

.adresa_kontakty_obal table {
    width: 100%;
    margin: 0 0 20px 0;
}

.adresa_kontakty_obal table td,
.adresa_kontakty_obal table th,
.oteviraci_doba table td,
.oteviraci_doba table th,
.detail_cenik_kapacity table.kapacita td,
.detail_cenik_kapacity table.kapacita th {
    padding: 8px;
    box-sizing: border-box;
    border: 0px white solid;
    border-radius: 5px;
}

.adresa_kontakty_obal table th,
.detail_cenik_kapacity table.kapacita th,
.oteviraci_doba table th {
    vertical-align: top;
}

.as4u_responzive_table table tr:nth-child(odd),
.adresa_kontakty_obal table tr:nth-child(odd),
.detail_cenik_kapacity table.kapacita tr:nth-child(odd),
.oteviraci_doba table tr:nth-child(odd),
table.vypis_osob tr:nth-child(odd) {
    background-color: #ebebeb;
}

.as4u_responzive_table table tr:hover,
.adresa_kontakty_obal table tr:hover,
.oteviraci_doba table tr:hover,
.detail_cenik_kapacity table.kapacita tr:hover,
table.vypis_osob tr:hover {
    background-color: #cdddff;
}

table.kapacita {
    width: 100%;
    margin: 1em 0;
}

.adresa_kontakty_obal table a,
table.kapacita a {
    color: #164194;
}

.adresa_kontakty_obal table a:hover,
table.kapacita a:hover {
    text-decoration: underline;
}

table.kapacita th {
    width: 40%;
    text-align: left;
    box-sizing: border-box;
}

a.otev_button,
a.vstupne_butto {
    display: inline-block;
    color: white;
    padding: 5px 10px;
    background-color: #164194;
    border-radius: 5px;
    transition: .2s;
    margin: 0 10px 10px 0
}

a.otev_button:hover {
    background-color: #0d3176;
}


/* modalni okna */

.as4uPopupDataContainer {
    position: fixed;
    background: #fff;
    border: none !important;
    -webkit-box-shadow: 0px 0px 34px -15px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 34px -15px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 34px -15px rgba(0, 0, 0, 0.75);
    padding: 35px 0 0 0 !important;
    border-radius: 5px;
    overflow: hidden;
}

.as4uPopupDataContainerIn {
    padding: 10px !important;
    box-sizing: border-box;
    width: 100% !important;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.as4uPopupDataContainerIn table {
    width: 100%;
}

.as4uPopupLista .inner {
    padding: 0px !important;
    height: 35px !important;
}

.as4uPopupLista .inner .inner2 {
    background: #164194 !important;
    height: 35px !important;
}

.as4uPopupClose {
    position: relative;
    top: 0;
    right: 0;
    width: 25px;
    height: 25px;
    background: url(/galerie/1353398.svg) no-repeat center center !important;
    z-index: 20;
    float: right;
    transition: .2s;
    padding: 5px;
}

.as4uPopupClose:hover {
    transform: rotate(180deg);
}

div.as4uPopupDataContainer #mapaContMain {
    height: 100% !important;
}

/* ------------------------ POPUP CONTAINER ------------------------------------------*/

.profiPopupDataContainer {
    position: absolute;
    z-index: 18;
    width: 300px !important;
    font-size: 12px;
    line-height: normal;
    color: black;
    text-align: left;
    border-radius: 7px;
    border-top-right-radius: 7px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.4);
}

.profiPopupDataContainer strong {
    display: block;
    text-transform: uppercase;
    line-height: normal;
    width: 100%;
}

.profiPopupDataContainerBubbleTop {
    position: relative;
    width: 300px;
    height: 30px;
    /*overflow: auto;*/
    background: white;
    border-top-right-radius: 7px;
}

.profiPopupDataContainerBubbleTopI {
    position: relative;
    width: 300px;
    height: 30px;
    /*overflow: auto;*/
    background: white;
    border-top-left-radius: 7px;
}

.profiPopupDataContainerBubbleTopNo {
    position: relative;
    width: 300px;
    height: 30px;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    background: white;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.profiPopupDataContainerBubbleMiddle {
    position: relative;
    width: 300px;
    height: 100%;
    overflow: hidden;
    padding: 0 13px;
    margin: 0;
    background: white;
    box-sizing: border-box;
}

.profiPopupDataContainerBubbleMiddle ul {
    width: 100%;
}

.profiPopupDataContainerBubbleMiddle ul li {
    list-style-type: none;
    padding: 6px 0px 6px 20px;
    background: url(/galerie/1407173.svg)left center no-repeat;
    background-size: 7px;
    line-height: 153%;
    font-size: 14px;
    color: #4d4d4d;
    text-transform: none;
}

.profiPopupDataContainerBubbleBottom {
    position: relative;
    width: 300px;
    height: 30px;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    background: white;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

.profiPopupDataContainerBubbleBottomI {
    position: relative;
    width: 300px;
    height: 30px;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    background: white;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 7px;
}

.profiPopupDataContainerBubbleBottomIL {
    position: relative;
    width: 300px;
    height: 30px;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    background: white;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 0px;
}

.profiPopupDataContainerIn {
    position: relative;
    width: 240px;
    height: 100%;
    overflow: auto;
    padding: 0 0px;
}

.profiPopupClose {
    position: absolute;
    top: 0;
    right: 10px;
    width: 15px;
    height: 15px;
    background: url(./../../../images/gallery/bubble/BubbleClose.png) no-repeat center center;
    z-index: 20;
}

.zmena_hesla div.chyba {
    padding: 1em;
    box-sizing: border-box;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 5px 0px rgb(219 219 219);
    -moz-box-shadow: 0px 0px 5px 0px rgba(219, 219, 219, 1);
    box-shadow: 0px 0px 5px 0px rgb(219 219 219);
    margin: 10px 0;
    border-left: 3px red solid;
    color: #d80000;
    font-weight: bold;
    background-color: white;
    text-align: justify;
}

@media screen and (max-width: 1400px) {
    .responzive_content_as4u {
        width: 90%;
    }

    .containerOuter .container .block .text h5 a {
        max-width: 100%;
    }
}

@media screen and (max-width: 1340px) {
    .events_calendar_menu {
        width: 30%;
        float: left;
        box-sizing: border-box;
        margin: 0 1% 1% 0;
        padding: 8px;
    }

    .events_body,
    .akce_vypis {
        width: 69%;
        float: left;
        box-sizing: border-box;
    }
}

@media screen and (max-width:1200px) {
    .fotogalerie_clanku .obrazek_celek_obal {
        width: 23%;
    }
}

@media screen and (max-width:1090px) {

    .mainNav .responzive_content_as4u {
        height: auto;
    }

    .mainNav .menuSection ul {
        display: none;
    }
}

@media screen and (max-width:960px) {
    .obal_detailu_subjektu .levy_sloupec_subjektu {
        width: 100%;
        float: none;
    }

    .obal_detailu_subjektu .kontakty_obal {
        width: 100%;
        float: none;
    }

}

@media screen and (max-width:930px) {

    aside.leve_menu {
        width: 100%;
        float: none;
        padding: 0 20px;
        height: 250px;
        overflow-x: hidden;
        overflow-y: scroll;
    }


    .as4u_responzive_table {
        width: 100%;
        overflow-x: scroll;
        overflow-y: hidden;
        height: auto;
    }

    .as4u_responzive_table table {
        width: auto;
        min-width: 100%;
    }

    .container_content {
        width: 100%;
        float: none;
        padding-left: 0;
        padding: 0 20px;
    }

    nav.topNav .mainMenu {
        padding: 20px;
    }

    nav.topNav .searchSection {
        padding: 20px;
    }

    .events_body,
    .akce_vypis {
        /*        width: 100%;*/
        /*        float: none;*/
        padding: 0 2em;
    }

    .fotogalerie_clanku .obrazek_celek_obal {
        width: 31.333%;
    }

    .responzive_content_as4u {
        width: 100%;
    }

    .containerOuter .container {
        flex-wrap: wrap;
    }

    .containerOuter .container .block {
        width: 48%;
        text-align: left;
        margin-bottom: 20px;
    }

    .containerOuter .container .block:first-of-type {
        margin-left: auto;
    }

    .containerOuter .container .block:last-of-type {
        margin-right: auto;
    }

    .containerGrid {
        padding: 0 20px;
        padding-bottom: 50px;
    }

    .containerGrid a {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    footer .footerColor {
        padding: 50px 20px 0 20px;
    }

    footer .footerColor .responzive_content_as4u {
        flex-wrap: wrap;
    }

    footer .footerCol {
        width: 48%;
        margin: 0 1%;
    }

    footer .footerCol:first-of-type {
        margin-left: auto;
    }

    footer .footerCol:last-of-type {
        margin: 0 1%;
        text-align: left;
        width: 100%;
    }

    footer .lowerfooter > .responzive_content_as4u {
        padding: 50px 20px;
    }

}

@media screen and (max-width:870px) {

    /* table td {
        display: block;
    }*/
    .events_body,
    .akce_vypis {
        width: 100%;
        float: none;
        padding: 0 2em;
    }

    aside.events_calendar_menu {
        display: none;
    }

    .mainMenu ul.active .calendar_menu {
        display: block;
    }

    .vyber_rok_mesic {
        margin: 0px 0;
        padding: 10px 0;
        background-color: white;
    }

    div.kalendar table a {
        border: 2px white solid;
        color: white;
        display: flex;
        min-height: 50px;
        align-items: center;
        justify-content: center;
    }

    .temp_akce_dsti_vyber_data select {
        padding: 15px 8px;
    }

    table.kalendar td {
        display: table-cell;
    }

    table.kalendar th {
        text-align: center;
    }

    .as4uresponzivetalbe {
        width: 100%;
    }

    ul.menu_akce {
        border-bottom: 2px #164194 solid;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .mobile_menu {
        background: url('/galerie/1451600.svg')center center no-repeat;
        background-size: 35px;
        width: 40px;
        height: 40px;
        display: block;
        margin-right: 0;
    }

    nav.topNav .mainMenu ul.main_mene_ul {
        display: none;
    }

    nav.topNav .mainMenu ul.main_mene_ul.active {
        display: block;
        position: fixed;
        width: 95%;
        height: calc(100vh - 83px);
        padding: 20px;
        top: 83px;
        left: 2.5%;
        background-color: white;
        border: 3px #767676 solid;
        z-index: 9;
        overflow-x: inherit;
        overflow-y: scroll;
    }

    nav.topNav .mainMenu ul.main_mene_ul.active a {
        color: #767676;
        background-color: white;
        font-weight: bold;
    }

    nav.topNav .mainMenu ul li {
        display: block;
        list-style-type: none;
        margin: 5px 0;
        border-bottom: 1px #767676 solid;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .containerOuter .container {
        padding: 0 2em;
    }
}

@media screen and (max-width:860px) {
    /* table td {
        display: block;
    }*/

    table.kalendar td {
        display: table-cell;
    }

    .as4uresponzivetalbe {
        width: 100%;
    }
}

@media screen and (max-width:820px) {
    /* table td {
        display: block;
    }*/

    table.kalendar td {
        display: table-cell;
    }

    .as4uresponzivetalbe {
        width: 100%;
    }
}


@media screen and (max-width:640px) {
    .containerGrid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clanek img {
        width: 100%;
        height: auto;
        float: none;
        margin: 10px auto;
    }

    .as4u_adrfiles_li a img,
    a.link_soubor img,
    img.as4u_ikona_souboru {
        width: unset;
    }

    .as4u_responzive_table {
        width: 100%;
        overflow-x: scroll;
        overflow-y: hidden;
    }

    .as4u_responzive_table table {
        width: auto;
    }

    .as4u_responzive_table table td {
        min-width: 150px;
    }

    .fotogalerie_clanku .obrazek_celek_obal {
        width: 48%;
    }

}

@media screen and (max-width: 550px) {
    .socmedia {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 0;
        margin: 10px auto;
        margin-left: 0;
    }

    .vyhledavani_obal,
    .vyhledavani_obal input[type="text"] {
        width: 100%;
    }

    header .slider {
        height: 250px;
        background-size: cover;
    }

    nav.topNav .searchSection {
        flex-wrap: wrap;
    }

    nav.topNav .searchSection input {
        margin-right: 0px;
        padding: 10px 10px;
        height: 50px;
        width: 100%;
    }

    nav.topNav .searchSection a.turistika {
        margin-right: 0px;
        margin-left: 0;
        margin-top: 15px;
        display: block;
        width: 100%;
        text-align: center;
    }

    nav.nav_top a,
    nav.nav_top span a {
        display: block;
        text-decoration: none;
        color: #444444;
        font-size: 18px;
        padding: 8px 0;
        transition: .2s;
        width: 100%;
    }

    nav.nav_top a,
    nav.nav_top span {
        margin-left: 0;
        margin-right: 10px;
        position: relative;
        width: 100%;
    }

    nav.nav_top a,
    nav.nav_top span a {
        display: block;
        text-decoration: none;
        color: #444444;
        font-size: 18px;
        padding: 8px 0;
        transition: .2s;
        width: 100%;
    }

    nav.nav_top span ul {
        display: block;
        position: relative;
        min-width: 100%;
        background-color: light#767676;
        padding: 0 10px;
        top: 0px;
        box-sizing: border-box;
        border-radius: 0px;
        border-left: 5px #a5a5a5 solid;
        margin-top: 0px;
        border-top: 0px white solid;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        transition: .2s;
    }

    @keyframes dropdown {
        0% {
            display: block;
            opacity: 0;
        }

        50% {
            display: block;
            opacity: 1;
        }

        100% {
            display: block;
            opacity: 1;
            transform: translate(0, -0px)
        }
    }

    .mainNav .responzive_content_as4u {
        flex-wrap: wrap;
    }

    div.akce_text {
        float: none;
        max-width: 100%;
    }

    .mainNav .menuSection {
        width: 100%;
    }

    .containerOuter .container .block {
        width: 100%;
        text-align: left;
        margin: 2em 0;
    }

    .akce_celek_obal .content,
    .aktualita_celek_obal .aktualita_celek,
    .dil_serialu_celek_obal .dil_serialu_celek {
        height: auto;
        flex-wrap: wrap;
    }

    .dil_serialu_celek_obal .dil_serialu_celek .text_info_obal {
        width: 100%;
        padding-left: 0em;
    }

    .akce_celek_obal h3,
    .aktualita_celek_obal h3,
    .dil_serialu_celek_obal h3.nadpis_dilu_serialu {
        float: none;
        width: 100%;
        padding: 15px 0;
    }

    .akce_celek_obal figure,
    .aktualita_celek_obal .aktualita_celek a.primarni_obrazek_vyhledavani,
    .akce_celek_obal .aktualita_odkaz_naclanek,
    .aktualita_celek_obal .aktualita_odkaz_naclanek,
    .dil_serialu_celek_obal .dil_serialu_celek a.primarni_obrazek_vyhledavani {
        float: none;
        width: 100%;
        height: 100%;
        display: block;
        overflow: hidden;
        padding-right: 0em;
    }

    .akce_text .anotace,
    .aktualita_celek_obal .aktualita_celek .text_aktuality,
    .dil_serialu_celek_obal .popis_dilu_serialu {
        height: auto;
        overflow: hidden;
        margin: 15px 0;
        /*    display: none;*/
    }

    a.viceAkt,
    .aktualita_celek_obal .aktualita_celek .odkaz_naclanek .aktualita_odkaz_naclanek,
    .dil_serialu_celek_obal .odkaz_cely_clanek span.cely_clanek a {
        display: block;
    }

    .akce_text h4 a,
    .aktualita_celek_obal .aktualita_celek h3 a.aktualita_odkaz_naclanek {
        height: auto;
    }

    footer .footerCol {
        width: 98%;
        margin: 0 1%;
    }

    a.primarni_obrazek_clanku img {
        width: 100%;
        float: none;
        margin: 10px 0;
    }
}

@media screen and (max-width: 450px) {
    .containerGrid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (max-width: 420px) {
    .fotogalerie_clanku .obrazek_celek_obal {
        width: 100%;
        margin: 10px auto;
    }
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {

    footer .lowerfooter > .responzive_content_as4u,
    .containerOuter .container .block .image .overlay,
    nav.topNav .searchSection,
    nav.topNav .mainMenu {
        justify-content: flex-start;
    }

    body,
    html {
        width: 100%;
        overflow-x: hidden;
    }

    .containerGrid {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .containerGrid a {
        display: block;
        width: 24%;
        margin-bottom: 1%;
    }

}
