body {
    font-family: 'Open Sans', Arial, sans-serif;
    margin: 0.625rem;
}

h1 {
    font-family: Roboto;
    font-weight: 100;
    margin-bottom: 4rem;
}

h2 {
    font-family: Roboto;
    font-weight: 100;
}

h3 {
    font-family: Roboto;
    font-weight: 100;
}

p {
    font-size: 0.9rem;
}

a {
    color: #000000;
}

table {
    display: table;
    border-collapse: collapse;
    width: 100%;
    font-size: 0.9rem;
}

form {
    font-size: 0.9rem;
    margin-top: 2rem;
}

input {
    font-size: 0.9rem;
}

button {
    height: 2rem;
    font-size: 0.9rem;
}

strong.kontrola {
    display: block;
    font-size: 1rem;
    margin: 0.3125rem 0 1.25rem 0;
}

#footer {
    margin-top: 4rem;
    margin-bottom: 4rem;
    font-size: 0.9rem;
    color: #808080;
    display: flex;
    justify-content: space-between;    
}

#footer a {
    color: #808080;
}

#footer a:hover {
    color: #000000;
}

.container {
    max-width: 60rem;
    margin: 2rem auto;
    padding-left: 2rem;
}

.w10rem {
    width: 10rem;
}

.mt4rem {
    margin-top: 4rem;
}

.mt2rem {
    margin-top: 2rem;
}

.table {
    display: table;
    border-collapse: collapse;
    width: 100%;
    font-size: 0.9rem;
}

.row {
    display: table-row;
    border-bottom: solid transparent 1.875rem;
}

.cell {
    display: table-cell;
}

.package-form td {
    padding-top: 0.3rem;
}

.package-form select {
    height: 1.5rem;
}

.img-cell {
    width: 3.5rem;
}

.img-error {
    margin: 0.3125rem 0.625rem 0 0.625rem;
}

.valign-top {
    vertical-align: top;
}

.status {
    color: #ffffff;
    text-align: center;
    font-family: Roboto;
    font-weight: 100;
    font-size: 1.35rem;
    margin: 1.25rem 0 0 0;
    padding: 0.3125rem;
}

.ok {
    background-color: #55B05A;
}

.chyba {
    background-color: #E8360B;
}

.pravidlo {
    font-size: 0.9rem;
    margin-top: 0.625rem;
}

.checklist {
    width: auto;
}

.checklist th,
.checklist td {
    padding: 0.125rem 1.5rem 0.125rem 0;
    text-align: left;
}

.checklist th:last-child,
.checklist td:last-child {
    padding-right: 0;
    min-width: 8rem;
}

@media screen and (min-width: 501px) {
    body {
        margin: 1.25rem;
    }
}

@media screen and (min-width: 769px) {
    body {
        margin: 2.5rem;
    }
}

@media screen and (min-width: 1281px) {
    #page {
        width: 75rem;
        margin: auto;
    }
}

button:disabled {
    cursor: wait;
}

/* Progress of upload and validation */
.progress {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid #d0d7de;
    border-radius: 0.375rem;
    background-color: #f6f8fa;
}

.progress[hidden] {
    display: none;
}

.progress-text {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.progress-track {
    position: relative;
    height: 0.5rem;
    border-radius: 0.25rem;
    background-color: #d0d7de;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0;
    background-color: #55B05A;
    transition: width 0.2s ease;
}

/* Unknown duration - moving bar */
.progress-indeterminate .progress-bar {
    width: 30%;
    position: absolute;
    animation: progress-move 1.4s ease-in-out infinite;
}

@keyframes progress-move {
    0% { left: -30%; }
    100% { left: 100%; }
}

.progress-detail {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #57606a;
}

.progress-error {
    border-color: #E8360B;
    background-color: #fdecea;
}

.progress-error .progress-track {
    display: none;
}
