body {
    margin-bottom: 30px;
}

a[href^="#error:"] {
    background: red;
    color: white;
}

a {
    color: #2f7da7;
}

form label {
    font-weight: 400;
}
form .form-check-label {
    font-weight: 300;
}

form th, form td {
    vertical-align: top;
    font-weight: normal;
}

form th {
    text-align: right;
    font-weight: bold;
}

form .required label.required:after {
    content: " *";
    color: red;
}

form .error {
    color: #D00;
    font-weight: bold;
}

.hromadna-akce {
    margin-top: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 9px;
}

fieldset {
    border: none;
    margin: 20px 0 0;
    padding-top: 0px;

}

input, select, textarea {
    font-family: sans-serif;
    font-size: 11pt;
    color: #666;
    border: 1px solid #CCC;
    padding: 1px;
}

input[type=text], input[type=email], input[type=number], input[type=password], textarea, select {
    width: 100%;
    border-radius: 0 !important;
}

form div.form_extradesc {
    color: #39292e;
    font-size: smaller;
    font-style: italic;
}

/* Zbyvajici pocet - radiusy, atd.. */
.remain_pcs, .remain_group_pcs {
    font-style: normal;
    background: #2f7da7;
    border: 2px #2f7da7;
    border-radius: 2px;
    color: white;
    padding: 2px 5px;
    margin-bottom: 5px;
}

.remain_group_pcs {
    margin-top: 10px;
}

form div.form_extradesc .remain_pcs {
    margin-left: 10px;
}

.items_group_container {
    border-radius: 4px;
    border: 1px solid #ebbbaf;
    background-color: #fff7fb;
    padding-bottom: 4px;
}
.remain_group_pcs {

    font-size: smaller;
    margin-bottom: 2px !important;
}

td.invalid input {
    border: 1px solid darkred;
}

input[type=submit] {
    width: 300px;
    height: 35px;
    margin-top: 17px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 11pt;
    font-weight: bolder;
    background-color: #405643;
    color: #e1dcce;
    border: none;
}

input[type=submit]:hover {
    background: #405643 !important;
    color: #0c1021 !important;
}


div.wrapper {
    margin-top: 7px;
    padding-left: 10px;
}

div.rekapitulace {
    margin-top: 0;
    padding-left: 30px;
}

.rekapitulace h3 {
    font-size: 18pt;
}

@media only screen and (min-width: 1200px) {

    div.rekapitulace div.rekapitulace-wrapper {
        position: fixed;
    }

}

div.rekapitulace td, div.rekapitulace th {
    text-align: right;
    padding: 5px;
    min-width: 50px;
}

div.rekapitulace th {
    background: #405643;
    color: #e1dcce;
}

div.rekapitulace tr {
    background-color: #ffffff;
}

div.rekapitulace td {
    text-align: right;
}

div.rekapitulace tr.rek_celkem {
    border-top: 1px solid #0b0b2b;
    font-weight: bold;
}

div.formular span.komentar, form small, fieldset p {
    color: #666666;
    font-size: smaller;
    display: block;
    margin: 0;
}

div.formular table th, div.formular table td {
    padding-top: 6px;

}

div.formular span.chyba {
    color: brown;
    font-size: 8pt;
    font-weight: bolder;
    display: block;
}

div.formular span.povinnyhv {
    color: red;
    padding-left: 2px;
}

div.popisek {
    font-size: 10pt;
    color: #6C5894;

}

table.reg_shrnuti {
    border-collapse: collapse;
    border: 1px solid silver;
    color: black;
}

table.reg_shrnuti th {
    text-align: left;
    text-transform: uppercase;

}

table.reg_shrnuti tr {
    border: 1px solid silver;
    margin-top: 1px;
}

table.reg_shrnuti th, table.reg_shrnuti td {
    padding: 1px;
}

table.reg_shrnuti tr.celkem td, table.reg_shrnuti tr.celkem th {
    font-weight: bold;
}

table.reg_shrnuti tr.rek_celkem {
    background: #bddeff;
}

table.hromadna_info tr {
    background-color: #fffae7;
}

table.hromadna_info th {
    background: #2f7da7;
    color: #ffffff;
    text-align: center;

}

table.hromadna_info .hrom_mainreg {
    font-style: italic;
    color: darkred;
}

table.hromadna_info td, table.hromadna_info td th {
    padding: 2px;
}

table.hromadna_info td a {
    display: block;
    width: 40px;
    color: #323021;
    text-decoration: none;
    font-weight: bold;
}

.autocomplete-suggestions {
    border: 1px solid #999;
    background: #FFF;
    overflow: auto;
}

.autocomplete-suggestion {
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
}

.autocomplete-selected {
    background: #F0F0F0;
}

.autocomplete-suggestions strong {
    font-weight: normal;
    color: #3399FF;
}

.autocomplete-group {
    padding: 2px 5px;
}

.autocomplete-group strong {
    display: block;
    border-bottom: 1px solid #000;
}

.italic {
    font-style: italic;
}

.shrnuti table {

}

.shrnuti table table {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.shrnuti table th {
    color: black;
}

.shrnuti table td {
    color: black;
}

.shrnuti table .tab-header {
    border-top: 3px solid #bfbfbf;
    text-align: center;
    background: none;
    text-transform: uppercase;
}

span.help-block, fieldset p {
    color: #5b5b4c !important;
    font-size: 10pt;
}

legend {
    font-family: "Frick", serif;
    font-size: 14pt;
    text-transform: uppercase;
    color: #405643;
    font-weight: 600;
}

.table.table-borderless>tbody>tr>th, .table.table-borderless>tbody>tr>td {
    border-top: none;
}

label + .alert {
    margin-top: 5px;
    padding: 10px;
}