﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body {
    background-color: #005a2c;
    font-size: .85em;
    font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #000000;
}

a:link {
    color: #004020;
    text-decoration: underline;
}

a:visited {
    color: #004020;
}

a:hover {
    color: #007439;
    text-decoration: none;
}

a:active {
    color: #007439;
}

p, ul {
    line-height: 1.6em;
}

header,
footer,
nav,
section {
    display: block;
}

/* HEADINGS
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #000;
}

h1 {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    padding: 0 0 10px 0;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

/* PRIMARY LAYOUT ELEMENTS
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the
page width. Or, you can specify an exact pixel width. */
.page {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

header, #header {
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

header h1, #header h1 {
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 32px !important;
    text-shadow: 1px 1px 2px #111;
}

#main {
    padding: 30px 30px 15px 30px;
    background-color: #fff;
    border-radius: 4px 0 0 0;
    -webkit-border-radius: 4px 0 0 0;
    -moz-border-radius: 4px 0 0 0;
}

footer,
#footer {
    background-color: #fff;
    color: #999;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0 0 30px 0;
    font-size: .9em;
    border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
}

/* TAB MENU
----------------------------------------------------------*/
ul#menu {
    border-bottom: 1px #5C87B2 solid;
    padding: 0 0 2px;
    position: relative;
    margin: 0;
    text-align: right;
}

ul#menu li {
    display: inline;
    list-style: none;
}

ul#menu li#greeting {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu li a {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    background-color: #d1ffe8;
    color: #00552a;
    border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
}

ul#menu li a:hover {
    background-color: #fff;
    text-decoration: none;
}

ul#menu li a:active {
    background-color: #a6e2a6;
    text-decoration: none;
}

ul#menu li.selected a {
    background-color: #fff;
    color: #000;
}

/* FORM LAYOUT ELEMENTS
----------------------------------------------------------*/

fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
    min-width: 0;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
}

textarea {
    min-height: 75px;
}

input[type="text"],
input[type="password"] {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
    width: 200px;
}

select {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
}

/*input[type="submit"]
{
    font-size: 1.2em;
    padding: 5px;
}*/

/* TABLE
----------------------------------------------------------*/

table, table td, table th
{
    border: solid 1px #aeaeae;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 10px;
}

table td {
    padding: 5px;
}

table th {
    padding: 6px 5px;
    text-align: left;
    background-color: #c6c6c6;
    text-align: center;
}

/* MISC
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

nav,
#menucontainer {
    margin-top: 40px;
}

div#title {
    display: block;
    float: left;
    text-align: left;
}

#logindisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    margin: 10px;
    color: White;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-valid {
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label,
.editor-label {
    padding: 5px 0 0 0;
    float: left;
    width: 200px;
    height: 35px;
}

.display-field,
.editor-field {
    padding: 5px 0 0 0;
    min-height: 35px;
}

.editor-field {
    padding-left: 200px;
}

.editor-field input[type="checkbox"]
{
    margin-bottom:0px;
}

.editor-field textarea
{
    width: 400px;
    height: 100px;
}

.text-box {
    width: 30em;
}

.text-box.multi-line {
    height: 6.5em;
}

.tri-state {
    width: 6em;
}

.readonly {
    background-color: #f0f0f0;
    color: #666;
    pointer-events: none;
}

#main .editor-field input[type="text"],
#main .editor-field select {
    width: 240px;
    box-sizing: border-box;
}


 /*BALÍČKY*/
.package-layer,
.package-sublayer,
.sublayers-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

fieldset.layers-panel {
    border: 1px solid #cfd8e3;
    border-left: 5px solid #4f8dd6;
    border-radius: 8px;
    background-color: #e7f1ff;
}

fieldset.package-layer {
    margin: 0 0 16px 0;
    padding: 14px 16px;
    border: 1px solid #cfd8e3;
    border-left: 5px solid #4f8dd6;
    border-radius: 8px;
    background-color: #e7f1ff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    overflow-x: auto;
}

.package-sublayer {
    padding: 0;
    margin: 0;
}

.package-sublayer + .package-sublayer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #d9ead3;
}

.sublayers-container {
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid #b7d7a8;
    border-left: 5px solid #6aa84f;
    border-radius: 8px;
    background: #f4fbf0;
    overflow-x: auto;
}

.sublayers-container > h4 {
    margin: 0 0 10px 0;
    color: #2f6b23;
}

.package-layer-row,
.package-sublayer-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: center;
    white-space: nowrap;
}

.package-field {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    min-width: 0;
    margin-right: 35px;
}

.package-field .editor-label,
.package-field .editor-field {
    display: block;
    float: none;
}

.package-field .editor-label {
    flex: 0 0 auto;
}

.package-field .editor-field {
    flex: 0 0 auto;
    min-width: 0;
}

#main .package-field-version .editor-field input[type="text"] {
    width: 80px;
    min-width: 80px;
}

#main .package-field-order .editor-field input[type="text"],
#main .package-field-size .editor-field input[type="text"] {
    width: 80px;
    min-width: 80px;
}

.package-field-order,
.package-field-size {
    flex: 0 0 auto;
}

.package-field-name,
.package-field-display,
.package-field-version,
.package-field-order,
.package-field-size,
.package-field-description
.package-field-actions {
    width: auto;
}

.package-field-actions {
    flex: 0 0 auto;
    margin-left: auto;
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: nowrap;
}

.package-sublayer-row .package-field-name {
    width: 300px;
}

.package-sublayer-row .package-field-name .editor-field {
    max-width: 300px;
    white-space: normal;
    word-break: break-word;
}

.package-field-upload {
    flex: 0 0 auto;
    width: 520px;
    margin-left: 10px;
    margin-right: 0;
}

.package-field-upload .sublayer-browse {
    width: 100px;
    flex: 0 0 100px;
}

.package-field-upload .sublayer-file-name {
    display: inline-block;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.icon-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    width: 30px;
    height: 28px;
    min-width: 30px;
    padding: 0;
    border: 1px solid #b7b7b7;
    border-radius: 3px;
    background: #f6f6f6;
    color: #2e2e2e;
    line-height: 1;
    vertical-align: middle;
}

.icon-action:hover,
.icon-action:focus,
.icon-action:active,
.icon-action:visited {
    color: #2e2e2e;
}

.icon-action .icon-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.icon-action-delete {
    color: #8f2f2d;
}

.icon-action-delete .icon-glyph {
    font-size: 21px;
}

.package-layer .editor-label,
.package-layer .editor-field,
.package-sublayer .editor-label,
.package-sublayer .editor-field {
    float: none;
    width: auto;
    height: auto;
    min-height: 0;
    padding: 0;
}

.package-layer .editor-label,
.package-sublayer .editor-label {
    line-height: 1.1;
}

.package-layer .editor-label,
.package-sublayer .editor-label {
    white-space: nowrap;
}

.package-layer .editor-field,
.package-sublayer .editor-field {
    padding-left: 0;
}

.package-layer .editor-label,
.package-layer .editor-field {
    display: flex;
    align-items: center;
}

.package-layer .editor-field input[type="text"],
.package-sublayer .editor-field input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.package-layer .editor-field input[type="text"] {
    min-width: 120px;
}

.package-sublayer .editor-field input[readonly],
.package-layer .editor-field input[readonly] {
    /*background: #f7f7f7;*/
}

.collection-add-row {
    margin-top: 12px;
}

fieldset:disabled {
    opacity: 0.8;
}

.btn-link-like {
    background: none;
    border: 0;
    padding: 0;
    color: #004020;
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
}

.btn-link-like:hover {
    color: #007439;
}

.btn-link-like:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}