body {
    font-family: Verdana, Arial, sans-serif;
    font-size: 12px;
    color: #222222;
    margin: 0px;
    padding: 0px;
    text-align: center;
    background: linear-gradient(to right, #fdb5b8, #fdfeb2);
}

a:link, a:visited {
    text-decoration: none;
    color: #222222;
}
a:hover {
    text-decoration: none;
    background-color: #f1bfb4;
}
h1 a:link, h1 a:visited, h1 a:hover, h2 a:link, h2 a:visited, h2 a:hover, .hdetail {
    text-decoration: none;
    color: #03086d;
    font-size: 15px;
}
a.reky {
    color: #4169e1;
}
a.jine {
    color: #d19c2a;
}
.current {
    font-weight: bold;
    background-color: #f1bfb4;
}
.image-container-a {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    margin: 20px auto;
    max-width: 740px;
}
.image-container-b {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.imgsolo {
    width: 100%;
    max-width: 800px;
    height: auto;
    border: 8px solid white;
}
.image-box {
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, #fdb5b8, #fdfeb2);
    border-radius: 12px;
    margin-bottom: 15px;
    position: relative;
}
.image {
    width: 124px;
    height: 93px;
    border: 1px solid #ccc;
    border-radius: 3px;
    display: block;
}
.image-link {
    text-decoration: none;
    color: inherit;
}
.image-number {
    position: absolute;
    bottom: -18px;
    font-size: 12px;
    width: 100%;
    background-color: transparent;
    padding: 2px;
}
.img_top_1 {
  margin-bottom: 3px;
}

.caption {
    border: 2px dotted #8e6233;
    padding: 10px;
    font-size: 80%;
}
fieldset.albumgrid {
    border: 1px solid #b7cae2;
    background-color: #afa3d8;
}

.caption, fieldset.album, .intro, .subtopic, .albumgrid, .arrows {
    margin-top: 16px;
    display: inline-block;
    text-align: center;
    width: 100%;
    max-width: 95%;
}
.caption, fieldset.album, .intro, .subtopic, .arrows {
    max-width: 732px;
}
.albumgrid {
    max-width: 800px;
}

fieldset.album {
    border: 1px solid #7e5223;
    background-color: #62519d;
}
.blizkauzemi {
    border: 1px solid #b7cae2;
    background-color: #62519d;
    color: white;
    font-weight: bold;
}    

.obold {
    font-weight: bold;
}

.topicsez, .topic {
    width: 100%;
    background: linear-gradient(#fdb5b8, #fdfeb2, #fdb5b8);
    padding: 1px;
    border-top: 1px solid #f9937e;
    border-bottom: 1px solid #f9937e;
    grid-template-columns: auto auto;
    grid-gap: 5px;
}
.topicsez {
    display: grid;
}

.topiclist h1 {
    margin-top: 7px;
    text-align: left;
}

.topicsez a, .topic a {
    text-align: right;
}

.biggertitle, .title {
    font-weight: bold;
    color: #03086d;
}
.biggertitle {
    font-size: 120%;
}

.width31, img_top_1 {
    width: 31px;
}

.intro {
    border: 1px dotted #8e6233;
}

.trans {
    text-align: center;
}

.lbs {
    text-align: justify;
    margin: 5px;
}

.mapachu {
    float: right;
    margin: 3px;
}

.punto {
    float: right;
    position: relative;
}

.foot {
    margin: 10px;
    text-align: center;
    font-size: 90%;
}

.topiclist, .topicone, .toplinks, .customization {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}
.topiclist {
    max-width: 741px;
}
.topicone, .toplinks, .customization, .topiconenums {
    max-width: 810px;
}
.topiconenums {
    justify-content: center;
    margin: 0 auto;
    margin-top: 5px;
    padding: 3px;
    border: 2px dotted #8e6233;
}

.toplinks {
    margin-top: 11px;
    letter-spacing: 0.5px;
}
.svis {
    margin-left: 2px;
    margin-right: 2px;
}
.left-div {
    flex: 1; /* Roztáhne se na plnou šířku */
    text-align: left;
    display: flex;
    grid-template-columns: auto auto;
    grid-gap: 5px;
    justify-content: flex-start;
    min-width: 70%;
    margin-top: 5px;
}

.right-div {
    flex: 1;
    text-align: right;
    margin-top: 7px;
}
.hdetail {
    margin-top: 9px;
    font-size: 15px;
    flex-wrap: nowrap;
}
h1.hdetail {
    margin-left: 5px;
    text-align: right;
    flex-wrap: nowrap;
}
h2.hdetail, a.hdetail {
    text-align: left;
}
a.hdetail {
    margin-top: 1px;
}
.exif {
    font-size: 90%;
}
.bld {
    font-weight: bold;
}



.arrows {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    margin-top: 15px;
}
.a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #f0f0f0;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: background-color 0.3s;
}
.arrow {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}
.right-arrow {
    margin-right: 0;
    margin-left: 10px;
}
.souslab {
    text-decoration: underline;
}
.horempt {
    margin-top: 1px;
}
.sousedni_alba {
    font-style: italic;
    text-decoration: underline;
}
.doleva {
    text-align: left;
}
.doprava {
    text-align: right;
}

@media (min-width: 741px) {
    .caption, .albumgrid, .intro, .topiclist {
        width: 740px;
    }
}
@media (min-width: 811px) {
  fieldset.album, .intro, .subtopic, .topicone, .customization {
    width: 810px; /* Pokud šířka nadřazeného prvku je větší než 810px */
  }
}
