@font-face {
    font-family: 'Cera Pro';
    src: url('/fonts/CeraPro-Regular.woff2') format('woff2');
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: 'Elinga';
    font-style: normal;
    font-weight: normal;
    src: url('/fonts/Elinga.woff2') format('woff2');
}


.font_elinga {
    font-family: 'Elinga', serif !important;
}

.font_cerapro {
    font-family: 'Cera Pro', sans-serif !important;
}


.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container, .footer > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
    .navbar form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form > button.logout:focus {
    outline: none;
}

.navbar-collapse {
    margin-top: 15px;
}

.navbar-collapse .nav-item {
    margin-bottom: 15px;
}

/* CSS for Nav::widget */
ul.nav {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

ul.nav li {
}

ul.nav li a {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-right: 5px;
    border: 2px solid white;
    border-radius: 5px;
    background-color: transparent;
    color: white;
    /*font-size: 1.8rem;*/
}

ul.nav li a:hover {
    background-color: white;
    color: #47A018 !important;
}

ul.nav li.active a {
}

.anleitung {
    list-style: none;
    counter-reset: anleitung-counter;
    padding-left: 0;
}

.anleitung li {
    counter-increment: anleitung-counter;
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.anleitung li:before {
    content: counter(anleitung-counter) ".";
    font-size: 1.25rem;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: -4px;
}

.btn-success,
.btn-primary,
.btn-secondary {
    color: white !important;
}

.grid-view .card {
    background-color: #fcfcfc;
}

.kv-table-header {
    background-color: #fcfcfc;
    background-image: none;
}

.select2-selection {
    border-width: 2px !important;;
    border-color: #47A018 !important;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.2rem;
}

.width-reduced {
    max-width: 1000px;
    margin: 0 auto;
}

.ergebnisse-index {
    color: #47A018 !important;
    /*max-width: 1200px;*/
}

.ergebnisse-index th,
.ergebnisse-index td,
.ergebnisse-wein th,
.ergebnisse-wein td {
    padding: 1rem;
}


.ergebnisse-index * {
    /*font-family: 'Cera Pro', sans-serif !important;*/
    color: #47A018;
}

.ergebnisse-index h2 {
    font-family: 'Elinga', serif !important;
    color: #47A018;
}

.ergebnisse-index .divider {
    width: 100%;
    max-width: 600px;
}


.ergebnisse-label {
    font-weight: bold;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.ergebnisse-kategorie {
    margin-top: 120px;
}


.ergebnisse_flaschenbild {
    /*border: 3px solid #47A018;*/
    /*border-radius: 15px;*/
    /*width: 350px;*/
}

@media (min-width: 768px) {
    .ergebnisse_flaschenbild {
        width: 900px;
        text-align: center !important;
    }
}

.ergebnisse_flaschenbild img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: contain;
}

.ergebnisse-wein .notizen {
    font-style: italic;
}

.sterne {
    /*font-size: large;*/
    color: #47A018;
}
