html, body {
    margin: 0;
    padding: 0;
    /* 	height: 100%; */
    width: 100%;
    /* 	width: 100vw; */
    background-color: #d8cda6;
}

vaadin-button {
    cursor: pointer;
}

vaadin-button[theme~="tertiary-inline"] {
    border: none;
    font-weight: normal;
}

vaadin-button[theme~="tertiary-inline"]::part(label):hover {
    text-decoration: underline;
}

vaadin-tab img {
    margin: 0px 5px 1px 0;
}

vaadin-progress-bar {
    margin-bottom: 2px;
    display: inline-block;
    width: 100% !important;
}

vaadin-text-area textarea {
    border: none;
    font-weight: 400;
}

vaadin-text-area::part(input-field) {
    background-color: #fff;
    border: 1px solid #ddd;
}

a {
    white-space: nowrap !important;
}

.button-link {
    font-family: var(--lumo-font-family);
    font-size: var(--lumo-font-size-m);
    font-weight: 500;
    border: none;
}

.scroll-div {
    overflow-y: auto;
    height: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

img.thumbnail-200 {
    display: inline-block;
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
}

.grass-table tr td {
    padding-left: 15px;
}

.grass-table tr td:FIRST-CHILD {
    padding-left: 0px;
}

.grid-icon-img {
    margin-top: 3px;
}

/* Nadpisy */
h2, h3 {
    border-bottom: 1px solid;
    border-color: #888;
    font-family: Trebuchet, "Trebuchet MS", Verdana, "Verdana CE", Arial,
    "Arial CE", "Lucida Grande CE", lucida, "Helvetica CE", sans-serif;
    font-weight: normal;
    width: 100%;
    margin-top: 0;
    margin-bottom: 10px;
}

h2 {
    font-size: 15pt;
}

h3 {
    font-size: 11pt;
}

/* Span */
span.label-ok, span.label-err {
    border-radius: 5px;
    margin: auto;
    padding: 3px 10px;
}

span.label-ok {
    border: 2px solid #42af0b;
    background-color: rgba(66, 175, 11, 0.25);
}

span.label-err {
    border: 2px solid #af130b;
    background-color: rgba(175, 11, 11, 0.25);
}

.error-label {
    text-align: center;
}

/* Button div  */
.button-div vaadin-button, .button-div vaadin-combo-box {
    margin: var(--lumo-space-m) var(--lumo-space-m) 0 0;
}

/* Top and Bottom margin */
.top-margin {
    margin-top: var(--lumo-space-m);
}

.bottom-margin {
    margin-bottom: var(--lumo-space-m);
}

/* Top clean and Top pull*/
.top-clean {
    margin-top: 0;
    padding-top: 0;
}

.top-pull {
    margin-top: calc(-1 * var(--lumo-space-m));
    padding-top: 0;
}

/* Tag layout */
.tag-letter {
    font-weight: bold;
    margin: 4px 0px;
}

.tag-labels {
    padding: 0 0 0 15px;
}

/* Quotes */
#quotes {
    width: 790px;
    height: 16px;
    text-align: center;
    margin-left: auto;
    display: inline-block;
}

#quotes-menu-item {
    display: none;
}

@media only screen and (max-width: 1010px) {
    #quotes {
        display: none;
    }

    #quotes-menu-item {
        display: inline-block;
    }
}

#quotes a, #quotes a:hover {
    font-family: Tahoma, sans-serif;
    font-size: 9pt;
    color: white;
}

/* Menu */
#menu {
    padding: 0 0 2px 0;
}

@media only screen and (min-width: 1010px) {
    #menu {
        width: 990px;
    }
}

#menu-wrapper {
    background-color: #333436;
    border-top: 1px solid #505154;
    border-bottom: 1px solid #424246;
    border-radius: 4px;
    box-shadow: 0 0px 10px 0px black;
}

@media only screen and (max-width: 1010px) {
    #menu-wrapper {
        border-radius: 0px;
    }
}

vaadin-horizontal-layout.menu {
    padding: 2px 14px;
}

.menu-item {
    display: inline-block;
    padding: 1px 0px 0px 10px;
}

.menu-item a, .menu-item-right a {
    color: #d1d3d6;
    text-shadow: rgba(0, 0, 0, 0.9) 0 1px 0;
    text-decoration: none;
    font: 400 14px/1.55 Helvetica, Arial, "lucida grande", tahoma, verdana,
    arial, sans-serif;
}

.menu-item-right {
    float: right;
    padding: 1px 10px 0 0;
}

.menu-item a:hover {
    text-decoration: none;
    color: white;
}

/* Page layout */
#center-content h2, #right-content h2 {
    margin-top: var(--lumo-space-m);
}

#center-content h2:FIRST-CHILD, #right-content h2:FIRST-CHILD {
    margin-top: 0px;
}

#main-div {
    position: relative;
    min-height: 100vh;
}

#holder {
    background-position: bottom right;
    padding-bottom: 3rem;
}

#top-holder {
    position: relative;
    background: url(/img/headPattern.png);
    background-repeat: repeat-x;
}

#top {
    max-width: 990px;
    color: black;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 18px;
    margin-top: 0;
}

#logo-line {
    padding: 25px 0px 0px 0px;
    height: 48px;
}

@media only screen and (max-width: 1010px) {
    #logo-line {
        padding-left: 15px;
        padding-right: 15px;
    }
}

#homelink {
    display: inline-block;
    position: relative;
    top: 7px;
}

#top > h1 {
    display: none;
}

#content {
    margin-left: auto;
    margin-right: auto;
    max-width: 990px;
}

#center {
    width: 990px;
}

#center-content, #left-content, #right-content {
    border: 1px solid #b3b3b3;
}

#bottom {
    border-top: 1px solid #b3b3b3;
    border-bottom: 1px solid #b3b3b3;
}

#center-content, #left-content, #right-content {
    background-color: #f4f1e6;
    border-radius: 4px;
    padding: var(--lumo-space-l);
    box-sizing: border-box;
}

@media only screen and (max-width: 1010px) {
    #center-content, #left-content, #right-content {
        border-left: none;
        border-right: none;
        border-radius: 0;
    }
}

@media only screen and (min-width: 1010px) {
    #left-content {
        position: sticky;
        position: -webkit-sticky;
        top: 15px;
    }
}

#left-content {
    width: 220px;
    display: inline-block;
    vertical-align: top;
}

@media only screen and (max-width: 1010px) {
    #left-content {
        width: 100%;
        margin-bottom: 14px;
    }
}


#right-content {
    display: inline-block;
    width: 100%;
}

@media only screen and (min-width: 1010px) {
    #right-content {
        width: 755px;
        margin-left: 14px;
    }
}

#bottom-holder {
    position: absolute;
    bottom: 0;
    width: 100%;
}

#bottom {
    clear: both;
    background-color: #c2dfef;
    padding: 5px;
    font-size: 12px;
    font-family: Verdana, "Verdana CE", Arial, "Arial CE",
    "Lucida Grande CE", lucida, "Helvetica CE", sans-serif;
    text-align: center;
    color: #555555;
}

#bottom-shadow, #bottom {
    overflow: hidden;
    width: auto;
}

#bottom-shadow {
    height: 11px;
}

/* Breadcrumb */
#breadcrumb {
    background: #fdfaf2;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 10px;
    padding-right: 3px;
    line-height: 20px;
    font-weight: bold;
    font-size: 12px;
    font-family: Trebuchet, "Trebuchet MS", Verdana, "Verdana CE", Arial,
    "Arial CE", "Lucida Grande CE", lucida, "Helvetica CE", sans-serif;
}

#breadcrumb img, #breadcrumb a {
    margin-right: 10px;
}

/* Content detail */
.content-info {
    font-size: 10pt;
}

.content-info div, #content-info-tags {
    margin-bottom: 12px;
}

@media only screen and (max-width: 1010px) {
    .content-info div {
        display: inline-block;
        margin-left: 12px;
    }

    .content-info div:first-child {
        margin-left: 0;
    }
}

#content-info-tags {
    font-size: 10pt;
    line-height: 15pt;
}

#content-info-tags div {
    display: inline-block;
    margin-right: 10px;
}

.not-publicated-info {
    border: 1px #70afe9 solid;
    padding: 6px 5px 0 5px;
    height: 25px;
    text-align: center;
    background-color: #d5ebff;
    text-align: center;
    margin-bottom: 15px;
    margin-left: 0px !important;
    display: block !important;
}

.not-publicated-info img {
    margin-right: 10px;
    margin-bottom: -3px;
}

vaadin-date-picker::part(input-field), vaadin-time-picker::part(input-field), vaadin-combo-box::part(input-field) {
    background-color: #fff;
    border-color: #ddd;
    border-style: solid;
    border-width: 1px;
}

vaadin-text-field::part(input-field), vaadin-text-area textarea {
    font-weight: 500;
}

#content-tags-div * {
    margin-right: 10px;
    margin-bottom: 10px;
}

#pg-exif-div {
    color: lightgray;
    position: fixed;
    bottom: 30px;
    padding: 10px;
}

#pg-exif-div div div:first-child {
    font-weight: 500;
    margin-top: 10px;
}

#pg-exif-div a {
    color: lightgrey;
    text-decoration: underline;
}

#pg-exif-div a:hover {
    color: white;
}