/* header */
header menu {
    background-color: beige;
    margin: 0;
    padding: 0;
}

header .img {
    margin: 10px;
    float: left;
    position: absolute;
}

header menu ul.navbar-nav {
    margin-left: auto;
    margin-right: auto;
}

header menu #mylinks ul {
    padding-left: 0;
}

header menu li {
    list-style: none;
}

header .nav-item {
    padding: 5px 20px;
    margin: 5px;
    max-width: 300px;
    background-color: aliceblue;
}

header .nav-link {
    color: #0a58ca;
    text-decoration: none;
}

header .topnav {
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

header .topnav #myLinks {
    display: none;
    margin-top: 40px;
}

header .fa {
    font-size: x-large !important;
    color: #0a58ca;
    float: right;
    margin-right: 20px;
}

header .fa:after {
    content: "menu";
    margin-left: 5px;
}

@media screen and (max-width: 991px) {
    header menu nav.navbar {
        display: none;
    }
}

@media screen and (min-width: 992px) {
    header menu a.icon {
        display: none;
    }
}

/* forms */
.form {
    background-color: whitesmoke;
    padding-bottom: 5px;
}

.form form {
    background-color: aliceblue;
    max-width: 960px;
    margin: 0 auto 0 auto;
    padding: 0 10px;
}

.form h1 {
    background-color: lightblue;
    padding: 5px 0;
    text-align: center;
}

.form .blok {
    border: 1px solid #000;
}

.form .row {
    padding: 10px 20px;
}

.form .row>div {
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
}

.form .input-group-text {
    color: #fff;
    background-color: deepskyblue;
}

.form .form-label {
    display: grid;
}

/* Button used to open the contact form - fixed at the bottom of the page */
.pop-login {
    cursor: pointer;
}

/* The popup form - hidden by default */
.form-popup {
    display: none;
    position: fixed;
    bottom: 0;
    right: 15px;
    border: 3px solid #f1f1f1;
    z-index: 9;
}

/* Add styles to the form container */
.form-container {
    max-width: 300px;
    padding: 10px;
    background-color: white;
}

/* Full-width input fields */
.form-container input[type=text],
.form-container input[type=password] {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    border: none;
    background: #f1f1f1;
}

/* When the inputs get focus, do something */
.form-container input[type=text]:focus,
.form-container input[type=password]:focus {
    background-color: #ddd;
    outline: none;
}

/* Set a style for the submit/login button */
.form-container .btn {
    background-color: #04AA6D;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    opacity: 0.8;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
    background-color: red;
}

/* Add some hover effects to buttons */
.form-container .btn:hover,
.open-button:hover {
    opacity: 1;
}

/* ostatni */
.top,
.akce,
.click {
    background-color: whitesmoke;
}

.top .nadpis,
.akce .note,
.akce .success {
    max-width: 960px;
    margin: 0 auto 0 auto;
    padding: 10px;
    background-color: aliceblue;
    text-align: center;
}

.akce .success {
    color: green;
}

.nadpis h1 {
    background-color: lightblue;
    padding: 5px 0;
    text-align: center;
    margin-bottom: 0;
}

.click {
    padding-bottom: 20px;
}


/*.form-order-edit .form-label {
    position: relative;
    z-index: 1;
    opacity: 0.4;
    line-height: 1;
    margin-bottom: -8px;
    text-align: center;
}
*/
/* ve form order add zobrazi vybrane labely */
/*.form-order-add .spz,
.form-order-add .firma,
.form-order-add .prevzal
.form-order-add .form-label {
    position: relative;
    z-index: 6;
    opacity: 0.5;
    line-height: 1;
    margin-bottom: -5px;
    margin-left: 45px;
    display: grid;
}*/

#invoiced {
    margin-right: 15px;
}

#invoiced+span {
    margin: auto 5px;
}

.forinvoice {
    background-color: #eef26d !important;
    font-weight: bold;
}

.invoiced {
    background-color: #82db82 !important;
    font-weight: bold;
}

.forinvoice .dropdown .show,
.invoiced .dropdown .show {
    font-weight: normal;
}

.form-order-add p {
    margin-bottom: 0;
    padding-bottom: 1rem;
}

.vs {
    color: #0d6efd;
}

input.form-check-input {
    background-color: deepskyblue !important;
    height: 25px;
    width: 25px;
    border: thick #0d6efd;
    border-radius: 5px !important;
}

/*
input#spz,
input#vin,
input#znacka,
input#motor {
    text-transform: uppercase;
}
*/
.form-order-add #firma,
.form-order-add #spz {
    background-color: khaki;
}

.dynamic-textarea {
    display: block;
    width: 100%;
    line-height: 1.5;
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
}

/* pocitadlo */
.vyplneno-100 {
    color: red
}

.vyplneno-90,
.vyplneno-80,
.vyplneno-70 {
    color: #8C0000
}

input+span {
    color: gray;
    padding-left: .2em;
}


/* z hledani zakazky */
table {
    width: 100%;
    border-collapse: collapse;
}

table,
th,
td,
tr {
    border: 1px solid black;
    padding: 0 5px;
    text-align: left;
    margin: 10px 0;
}

th {
    background-color: #f2f2f2;
}

/* na order search */
.pagination {
    display: grid;
    padding: 20px;
}

.option {
    display: block;
    padding: 20px;
    /*margin-bottom: 20px;*/
}

/* pro tisk a nahled */
.form-view .typinvoice {
    display: flex;
    flex-flow: wrap;
    column-gap: 25%;
    justify-content: flex-end;
    padding-right: 20%;
}

.form-view .subject.zakazka {
    display: initial;
    position: initial;
}

.form-view .subject.dilo {
    display: initial;
    position: initial;
}

.disabled_role {
    text-align: center;
    color: red;
    margin: 0;
    background-color: yellow;
    padding: 10px;
}

.form.form-user {
    padding-bottom: 10px;
}

.info-user {
    display: contents;
}

.form-control:required,
.form-select:required {
    background-color: #00bfff13;
}

.form-control:valid,
.form-select:valid {
    /*color: green;*/
    background-color: rgba(43, 226, 134, 0.1);
}

.form-control:invalid,
.form-select:invalid {
    /*color: red;*/
    background-color: rgba(226, 43, 104, 0.1);
}

.left {
    float: left;
}

.right {
    float: right;
}

/* footer */
footer {
    background-color: beige;
}

footer .contact {
    padding: 10px;
}

footer .copyright {

    color: deepskyblue;
    text-align: right;
    font-style: italic;
    padding: 10px;
}

/* menu v order search */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    left: 0;
}

.form-order .dropdown-content {
    left: auto;
    right: 0;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown-content.show {
    display: block;
}

.dropbtn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: #0a58ca;
    font-style: italic;
}