/* Generic classes */
.color-red {
    color: #b82426;
}

.color-yellow {
    color: #e4b10f;
}

.text-150p {
    font-size: 150%;
}

/* Backgrounds */
.bg-wrapper {
    width: 100%;
    background-color: #fdc400;
}

.margin-tb-1rem {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.bg-top {
    height: 3rem;
    background-image: url(../images/horni_zluta.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #fdc400;
}

.bg-bottom {
    height: 3rem;
    background-image: url(../images/spodni_lista.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #fdc400;
}

.bg-contact .col {
    background-image: url(../images/adresa_box.png);
    background-repeat: no-repeat;
    border: #fdc400 2px solid;
    border-radius: 5px;
    margin: 0 15px;
}

/* Content */
main {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

a.logo {
    display: block;
}

h1.title {
    margin-top: 0px;
}

h3.sub-title {
    margin-top: 15px;
}

h5.footer-title {
    border-bottom: 2px solid #fdc400;
}

h5.footer-title img {
    max-width: 20px;
    max-height: 20px;
    margin-bottom: 5px;
    margin-right: 5px;
}

/* Overrides */
.table th {
    padding: 0.25rem 0.75rem;
    background: #43403d;
    color: #ffffff;
}

.table td, .table th {
    border-top: 1px solid #7c7e7e;
}

.table thead th {
    border-bottom: 2px solid #7c7e7e;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: #fffbed;
}

.table-striped tbody tr:hover {
    background: #fdc400;
}

.btn-primary {
    background-color: #b82426;
    border-color: #b82426;
}

.btn-primary:hover {
    background-color: #cc0003;
    border-color: #cc0003;
}

.btn-yellow {
    color: #212529;
    background-color: #fdc400;
    border-color: #fdc400;
}

.btn-yellow:hover {
    color: #212529;
    background-color: #fdc45a;
    border-color: #fdc45a;
}

.cleaner {
    clear: both;
    width: 100%;
}

.min55 {
    min-width: 190px;
}

input, select {
    border: 1px solid #ced4da;
}

textarea {
    resize: none;
}

.selectpicker {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

/* Media Queries */
@media only screen and (max-width: 768px) {
    .bg-contact .col {
        background-image: none;
    }

    a.logo {
        margin: 0 auto;
        max-width: 300px;
    }

    table.products th:nth-child(2) {
        width: 45%;
    }

    table.products th:nth-child(4) {
        width: 20%;
    }
}
