/*@font-face {
    font-family: jmeno;
    src: url();
}*/

* {
    font-family: jmeno, Arial;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:root {
    --bg1: white;
    --c1: black;

    --bg2: #000000;
    --c2: white;

    --bg3: #f5f5f5;
    --c3: #6e6e6e;
}

textarea {
    resize: vertical;
    min-height: 160px;
}

.whitebg {
    background-color: var(--bg1);
    color: var(--c1);
    --borderbg: var(--c1);
}

.blackbg {
    background-color: var(--bg2);
    color: var(--c2);
    --borderbg: var(--c2);
}

.input,
.button {
    border: 2px solid var(--borderbg);
    padding: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 10px;
    font-size: 24px;
    cursor: pointer;
    transition: 200ms;
}

.button {
    background-color: white;
    position: relative;
}

.button::after {
    background: orange;
    content: '';
    opacity: 0;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    transition: 200ms;
}

.button:hover::after {
    opacity: 0.2;
}

p, blockquote, ul, ol, li {
    line-height: 1.4em;
}

main {
    min-height: 100vh;
    background-color: var(--bg2);
}

.section-padding-bottom {
    padding-bottom: 50px;
}

.section-padding {
    padding-bottom: 50px;
    padding-top: 50px;
}

.section-text {
    font-size: 22px;
}

.section__header {
    border-bottom: 2px solid var(--borderbg);
    padding: 25px;
    text-align: center;
    font-size: 2em;
    margin-bottom: 50px;
    font-weight: bold;
}

.section__header--no-margin {
    margin-bottom: 0;
}

body {
    display: flex;
    flex-flow: column;
    min-height: 100vh;
    background-color: var(--bg1);
    overflow-x: hidden;
}

header {
    height: 100vh;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    user-select: none;
    position: relative;
    overflow: hidden;
}

a:link {
  color: black;
}

/* visited link */
a:visited {
  color: black;
}

a:hover {
color: gray;
}

header > div:last-child {
    z-index: 1000;
    color: white;
    font-size: x-large;
    filter: drop-shadow(0px 0px 5px black);
    width: 100%;
    height: 150px;
    /*background-color: #00000044;*/
    padding-bottom: 15px;
    padding-top: 15px;
}

#headerLinks {
    display: flex;
    justify-content: center;
    align-items: center;
}

#headerLinks a {
    font-size: 16px;
    color: var(--c2);
}

#headerLinks a:last-child {
    padding-right: 25px;
}

nav {
    background-color: var(--bg1);
    display: flex;
    position: fixed;
    top: 0;
    z-index: 3000;
    width: 100vw;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    box-shadow:0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

nav div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

nav a, .nav a {
    color: var(--c1);
    text-decoration: none;
    padding: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: 200ms;
    text-transform: uppercase;
    white-space: pre;
}

nav a:hover, .nav a:hover {
    color: orange !important;
}

nav a:last-child, .nav a:last-child {
    padding-right: 40px;
}

nav+main {
    margin-top: 80px;
}

nav .slideshowButtons {
    padding-right: 0 !important;
    padding-top: 16px;
    margin-left: 16px;
    background-image: url("/img/arrow.png");
    height: 24px;
    width: 24px;
    position: unset
}

nav .slideshowButtons:hover {
    transform: unset;
}

.anchor {
    position: relative;
    top: -60px;
    left: -9999px;
}

.center {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.centerText {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#slideshow, #slideshow > div > div {
    position: absolute;
    width: 100%;
    height: 120%;
    background-color: var(--bg1);
    background-position: center;
    background-size: cover; /* or contain */
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    transition: translate 1s;
}

.slideshowButtons {
    color: #343434;
    position: absolute;
    cursor: pointer;
    font-size: 32px;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    top: calc(50vh - 32px);
    left: 64px;
    z-index: 2000;
    /*border-radius: 100%;
    background-color: #ffffffba;
    filter: drop-shadow(0px 0px 15px white);*/
    transition: 200ms;
    user-select: none;
    background-size: contain;
    background-repeat: no-repeat;
}

.slideshowButtons:hover {
    transform: scale(125%);
}

#slideshowLeft {
    background-image: url("/img/arrow.png");
}

#slideshowRight {
    background-image: url("/img/arrow.png");
    transform: rotateY(180deg);
    left: unset;
    right: 32px;
}

#slideshowRight:hover {
    transform: rotateY(180deg) scale(125%) !important;
}

#headerDown {
    left: calc(50% - 32px);
    top: 27.5vh;
}

#slideshowImages {
    height: 100vh;
}

#headerTitle {
    text-align: center;
    font-size: 64px;
    margin-top: 24px;
    font-weight: normal;
}

#headerDescription {
    text-align: center;
    font-size: 28px;
}

.wordWrap {
    word-wrap: anywhere;
    white-space: break-spaces;
}

.pictext {
    display: flex;
    height: 700px;
	
}

.pictext > div {
    background-color: var(--bg1);
    color: var(--c1);
    flex-grow: 1;
    min-width: 600px;
    width: min-content;
    padding: 50px;
    padding-bottom: 0;
    padding-top: 0;
    display: flex;
    flex-flow: column;
    align-items: center;
}

.pictext > div > .section__header {
    border-bottom: 2px solid var(--borderbg);
    padding-bottom: 10px;
}

.pictext > div > blockquote {
    background-color: var(--bg3);
    color: var(--c3);
    padding: 10px;
    padding-left: 20px;
    padding-right: 0;
    border-left: 4px solid var(--borderbg);
}

.pictext > .pic {
    width: 100%;
    min-width: unset;
    max-width: 600px;
    background-position: center;
    background-size: cover; /* or contain */
    background-repeat: no-repeat;
}

.cathegories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 50px;
}

.galleryImage {
    width: 400px;
    height: 400px;
    background-position: center;
    background-size: cover; /* or contain */
    background-repeat: no-repeat;
    cursor: pointer;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.galleryImageCoverFilter {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ffffff52;
    opacity: 0;
    transition: 200ms;
}

.galleryImage:hover > .galleryImageCoverFilter {
    opacity: 1;
}

.galleryImage:hover > p {
    opacity: 1;
}

.galleryImage > p {
    padding: 5px;
    text-align: center;
    font-size: 64px;
    opacity: 0;
}

/****************** */

.has-modal {
    overflow: hidden;
}

.modal-window {
    position: fixed;
    z-index: 5000;
    padding-top: 15vh;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-window__content {
    background-color: #fefefe;
    margin: auto;
    padding: 2em;
    border: 1px solid #888;
    border-radius: 1em;
    width: 1000px;
    max-width: 95%;
}

.modal-window__body {
    padding: 2em 0;
}

.modal-window__bottom {
    text-align: right;
}

.page-header {
    background-color: var(--bg2);
    color: var(--c2);
    padding: 25px;
    border-bottom: 1px solid var(--c2);
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    line-height: 0;
    padding: 0;

    --mansory-columns: 6;
    --mansory-gutter: 0.3%;
}

.gallery__grid-sizer,
.gallery__column {
    width: calc((100% - (var(--mansory-columns) - 1) * var(--mansory-gutter)) / var(--mansory-columns));
}

.gallery__gutter-sizer {
    width: var(--mansory-gutter);
}

.gallery__column {
    margin-bottom: var(--mansory-gutter);
}

.gallery__photo {
    display: block;
    width: 100%;
    background-size: cover;
    aspect-ratio: 3 / 2;
    background-position: center;
}

.gallery__photo-img {
    width: 100%;
    object-fit: cover;
}

.gallery__youtube-video {
    width: 100%;
    aspect-ratio: 3 / 2;
} 

@media screen and (max-width: 2600px) {
    .gallery {
        --mansory-columns: 5;
    }
}

@media screen and (max-width: 2000px) {
    .gallery {
        --mansory-columns: 4;
    }
}

@media screen and (max-width: 1600px) {
    .gallery {
        --mansory-columns: 3;
    }
}

@media screen and (max-width: 1000px) {
    .gallery {
        --mansory-columns: 2;
    }
}

@media screen and (max-width: 600px) {
    .gallery {
        --mansory-columns: 1;
    }
}

.photoswipe__youtube-video {
    display: block;
    height: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    max-width: 100%;
}


/******************* */

/*.row {
    display: flex;
    flex-wrap: wrap;
}

.column {
    display: unset !important;
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.column img {
    margin-top: 8px;
    width: 100%;
    padding: 0 4px;
    vertical-align: middle;
}

@media screen and (max-width: 800px) {
    .column {
        flex: 50%;
        max-width: 50%;
    }
}

@media screen and (max-width: 600px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }
}*/

footer {
    height: 50px;
    padding: 50px;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 700px) {
    .slideshowButtons {
        top: calc(90vh - 32px);
    }

    #headerTitle {
        font-size: 42px;
        margin-top: 16px;
    }

    #headerDescription {
        font-size: 20px;
    }

    #headerLinks > a {
        font-size: 13px;
    }

    nav, #headerLinks {
        flex-wrap: wrap;
    }

    nav {
        justify-content: center;
    }

    nav a, .nav a {
        font-size: 13px;
    }
}
 .pictext > div > div {
	display: flex;
	flex-flow: column;
	align-items: center;
	height: 100%;
	gap: 30px;
	font-size: 22px;
    margin-top: 40px;
    text-align: center;
    max-width: 700px;
}

.pictext > div > h1 {
	margin-top: 25px;
	font-size: 48px;
}

@media screen and (max-width: 1220px) {
    .pictext {
        flex-flow: column-reverse;
        height: unset;
        gap: 32px;
    }

    .pictext > div {        
        width: unset;
        min-width: unset;
    }

    .pictext > div:last-child {
        height: auto;
    }

    .pictext > .pic {
        max-width: unset;
        max-width: unset;
        min-height: 600px;
        background-position: top;
        background-position-x: -100px;
    }
}

@keyframes show {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1em;
    max-width: 800px;
    margin: 0 auto;
    padding: 1em;
}

.form__label {
    display: flex;  
    align-items: center; 
    gap: 0.5em; 
}

.form__label::after {
    content: '';
    display: block;
    flex: 0 0 200px;
}

.form__label input,
.form__label textarea,
.form__label select,
.form__label button {
    width: 100%;
}

.form__label-text {
    flex: 0 0 200px;
    font-size: 1.35em;
    text-align: right;
}

@media screen and (max-width: 800px) {
    .form__label {
        flex-direction: column;
        align-items: stretch;
    }

    .form__label-text {
        flex: 0;
        text-align: center;
    }

    .form__label input,
    .form__label textarea,
    .form__label select,
    .form__label button {
        width: auto;
    }
    
    .form__label::after {
        display: none;
    }
}

.separator {
    max-width: 70%;
    margin: 0 auto;
}

.sluzba {
    text-align: left;
    padding: 5em 1em;   
    max-width: 904px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;    
    gap: 1em;
    column-gap: 4em;
    display: grid;
    grid-template-columns: min-content 1fr;
    grid-template-areas: 
        "image nadpis"
        "image popis"
        "image bottom";        
}

.sluzba--even {
    text-align: right;
    grid-template-columns: 1fr min-content;
    grid-template-areas: 
        "nadpis image"
        "popis image"
        "bottom image"; 
}

.sluzba--odd .sluzba__image {
    transform: scaleX(-1);
}

.sluzba__separator {
    max-width: 90%;
    width: 1088px;
}

.sluzba__nadpis {
    grid-area: nadpis;
}

.sluzba__popis {
    grid-area: popis;
}

.sluzba__link {
    grid-area: bottom;
}

.sluzba--odd .sluzba__popis {
    padding-left: 1em;
}

.sluzba--even .sluzba__popis {
    padding-right: 1em;
}

.sluzba__cena {
    grid-area: bottom;
    font-weight: bold;
    font-size: 1.5em;
}

.sluzba__image {
    --image-shadow-1: #39301c;
    --image-shadow-2: #ffe6c4;
    width: 160px;
    height: 160px;
    background-position: center;
    background-size: cover;
    border-radius: 20%;
    grid-area: image;
    box-shadow: 40px -18px 4px var(--image-shadow-1), -30px -36px 4px var(--image-shadow-2);
}

@media screen and (max-width: 700px) {
    .sluzba {
        padding-left: 2em;
        padding-right: 2em;
        grid-template-columns: 1fr;
        grid-template-rows: min-content 1em min-content min-content min-content;
        grid-template-areas: 
            "image"
            "mezera"
            "nadpis"
            "popis"
            "bottom";    
    }

    .sluzba__image {
        justify-self: center;
    }

    .sluzba--odd .sluzba__popis {
        padding-left: 0;
    }
    
    .sluzba--even .sluzba__popis {
        padding-right: 0;
    }
}

.slideshow__image {
    display: none;
    left: 0;
    filter: brightness(0.5);
}

.slideshow__image--current {
    display: block;
    z-index: 100;
}

.slideshow__image--next {
    display: block;
    animation: slideLeft 750ms;
    z-index: 101;
}

.slideshow__image--prev {
    display: block;
    animation: slideRight 750ms;    
    z-index: 101;
}

@keyframes slideRight {
    0% { left: -100%; }
    100% { left: 0; }
}

@keyframes slideLeft {
    0% { left: 100%; }
    100% { left: 0; }
}

.flex-columns {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logout-form {
    padding: 0;
    margin: 0;
}

.card {
    background: white;
    border-radius: 4px;
    margin: 1em;
    padding: 16px;
    border: 1px solid rgba(0,0,0,.125);
}

.badge {
    --badge-color: white;
    --badge-background: #333;
}

.badge,
.badge:visited,
.badge:link {
    display: inline-block;
    background: var(--badge-background);
    color: var(--badge-color);
    border-radius: 99999px;
    font-size: 16px;
    padding: 6px 12px;
    text-align: center;
    user-select: none;
    text-decoration: none;
}

.badge--bordered {
    padding-top: 5px;
    padding-bottom: 5px;
    border: 1px solid #333;
}

.badge--white {
    --badge-background: white;
    --badge-color: #333;
}

.badge--clickable {
    cursor: pointer;
}

.badge--green {
    --badge-background: #1c5e00;
}

.badge--black {
    --badge-background: #333;
}

.badge--orange {
    --badge-background: #d2691e;
}

.badge--blue {
    --badge-background: #123456;
}

.badge--red {
    --badge-background: #da2d2d;
}

.labeled-value__label {
    font-weight: bold;
    color: #444;
}

.orders {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
}

.orders__tags-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    justify-content: center;
}

.orders__tags-filter-label {
    font-size: 0.5em;
    font-weight: normal;
}

.order {
    margin: 0;
}

.order__date {
    color: #d2691e;
    margin-top: 2px;
}

.order__header {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media screen and (max-width: 900px) {
    .order__header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 8px;
    }
}

.order__tag-actions {
    display: none;
    position: absolute;
    right: 0;
    white-space: nowrap;
    gap: 6px;
    padding-top: 12px;
    flex-direction: column;
    align-items: flex-end;
    z-index: 106;
}

.order__tag-action {
    cursor: pointer;
}

.order__tag {
    position: relative;
}

.order__tag:hover .order__tag-actions {
    display: flex;
}

.order__add-tag {
    display: none;
    font-size: 0;
}

.order:hover .order__add-tag {
    display: inline-block;
}

.order__add-tag-list {
    display: none;
    flex-direction: column;
    position: absolute;
    white-space: nowrap;
    gap: 6px;
    padding-top: 6px;
}

.order__add-tag-badge {
    cursor: pointer;
}

.order__add-tag:hover .order__add-tag-list {
    display: flex;
}

.order__subheader {
    color: #444;
    margin: 8px 0;
}

.order__parameters {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    position: relative;
    z-index: 105;
}

.order__parameters-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

@media screen and (max-width: 1200px) {
    .order__parameters-group {
        grid-template-columns: 1fr;
    }
}

.order__note {
    width: 100%;
    min-height: 240px;
}

.order__columns {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 8px;
}

@media screen and (max-width: 980px) {
    .order__columns {
        grid-template-columns: 1fr;
    }
}

.order-comment {
    position: relative;
}

.order-comment__date {
    font-size: 12px;
    position: absolute;
    bottom: 0px;
    right: 32px;
    color: #888;
    display: none;
    gap: 16px;
}

.order-comment:hover .order-comment__date {
    display: flex;
}
