/* G E N E R A L */

html, body {
    background-color: #f2f4f8 !important;
    scroll-behavior: smooth;
    min-height: 100%;
}

.container {
    max-width: 992px !important;
    min-height: 100%;
    background-color: #ffffff;
    margin: auto;
    box-shadow: rgb(184 194 215 / 25%) 0px 4px 6px, rgb(184 194 215 / 10%) 0px 5px 7px;
}

div#wrapper {
    width: 900px;
    margin: auto;
}

div.container.p-4.rounded-3 {
    word-wrap: break-word;
}

div.container.p-4.rounded-3 > h2 {
    border-bottom: 1px solid #dee2e6;
}

ul.list-unstyled {
    margin: 0 !important;
}

a {
    color: #88c0d0 !important;
    text-decoration: none !important;
    word-break: break-all;
}

a:hover, a.btn.btn-primary.btn-sm:hover {
    color: #ffffff !important;
    background-color: #88c0d0 !important;
    border-radius: .25em;
    transition: color 200ms ease-in-out 0s, background-color 200ms ease-in-out 0s;
}

a.btn.btn-primary.btn-sm {
    color: #ffffff !important;
}

a.btn.btn-primary.btn-sm, button.btn.btn-primary.btn-sm, button.btn.btn-primary {
    background-color: #5e81ac !important;
    border: 0 !important;
}

button.btn.btn-primary.btn-sm:hover, button.btn.btn-primary:hover {
    background-color: #6889b1 !important;
}

.btn-check:focus + .btn-primary, .btn-primary:focus, .btn-check:focus+.btn-danger, .btn-danger:focus, .btn-check:focus+.btn-success, .btn-success:focus {
    box-shadow: none !important;
}

.form-control:focus, .form-select:focus, .form-check-input:focus {
    box-shadow: none !important;
    border: 1px solid #ced4da !important;
}

input[type='range']::-webkit-slider-thumb { /* Safari, Chrome */
    -webkit-appearance: none;
    background-color: #5e81ac !important;
    border: 0 !important;
    box-shadow: none !important;
}

input[type='range']::-webkit-slider-runnable-track {
    background-color: #ffffff !important;
    border: 1px solid #ced4da !important
}

input[type=range]::-moz-range-thumb { /* Firefox */
    -webkit-appearance: none;
    background-color: #5e81ac !important;
    border: 0 !important;
    box-shadow: none !important;
}

input[type="range"]::-moz-range-track {
    background-color: #ffffff !important;
    border: 1px solid #ced4da !important
}

input[type="range"]::-ms-thumb { /* Internet Explorer */
    -webkit-appearance: none;
    background-color: #5e81ac !important;
    border: 0 !important;
    box-shadow: none !important;
}

input[type="range"]::-ms-track {
    background-color: #ffffff !important;
    border: 1px solid #ced4da !important
}

.form-check {
    align-self: center;
}

.form-check-input:checked {
    background-color: #5e81ac !important;
    border: 0 !important;
}

button.btn.btn-success.btn-sm {
    background-color: #a3be8c !important;
    border: 0 !important;
}

button.btn.btn-success.btn-sm:hover {
    background-color: #b1c89d !important;
}

button.btn.btn-danger.btn-sm {
    background-color: #bf616a !important;
    border: 0 !important;
}

button.btn.btn-danger.btn-sm:hover {
    background-color:  #c46e77 !important;
}

button.swal2-confirm.swal2-styled {
    background-color: #5e81ac !important;
    border: 0 !important;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.swal2-popup {
    background: #f2f4f8 !important;
    color: #41464b !important;
}

.swal2-styled.swal2-confirm:focus {
    box-shadow: unset !important;
  }

.swal2-actions:not(.swal2-loading) .swal2-styled:active {
    background-image: none !important;
}

button.swal2-confirm.swal2-styled:hover {
    background-color: #81a1c1 !important;
    border-color: 0 !important;
}

span.badge.rounded-pill.bg-warning {
    background-color: #8fbcbb !important;
    color: #000000;
}

span.badge.rounded-pill.bg-danger {
    background-color: #bf616a !important;
    color: #000000;
}

span.badge.rounded-pill.bg-success {
    background-color: #a3be8c !important;
    color: #000000;
}

.tooltip-inner {
    min-width: fit-content !important;
}

.isotopeInfo {
    display: none !important;
}

/* H E A D E R */

.scrolling-bar {
    background: linear-gradient(to right, #5e81ac var(--scroll), transparent 0);
    background-repeat: no-repeat;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    z-index: 9999;
}

.logo {
    background-image: url(/assets/images/logo.svg);
    width: 50px;
    height: 50px;
    background-repeat: no-repeat;
    margin-right: .5rem;
}

header {
    display: flex;
    justify-content: space-between;
    background-color: #f2f4f8;
    padding: .5rem 0 .5rem .5rem;
    box-shadow: rgb(184 194 215 / 25%) 0px 4px 6px, rgb(184 194 215 / 10%) 0px 5px 7px;
    margin-bottom: 2rem;
}

header.sticky-top > div.d-flex.align-items-center > a {
    color: #41464b !important;
}

header.sticky-top > div.d-flex.align-items-center > a:hover {
    color: #88c0d0 !important;
    background-color: unset !important;
}

h3 {
    padding-top: 5px;
}

/* M A I N */

main {
    background-color: #f2f4f8;
}

.wrapper {
    background-color: #5e81ac;
    border: 1px solid #456387;
}

h5 > a {
    color: #ffffff !important;
}

h5 > a:hover {
    background-color: #88c0d0 !important;
}

div.wrapper.p-2.rounded-3.d-flex.justify-content-center.text-center.mb-3 {
    padding-top: 1rem !important;
}

.alert-danger {
    margin-bottom: 0 !important;
}

.alert-warning {
    background-color: #ebcb8b !important;
    border: 1px solid #da9e25 !important;
    text-align: justify;
    margin-bottom: 0 !important;
}

div.col-sm-6.col-lg-4 > div.alert.alert-warning {
    margin-bottom: 1.5rem !important;
}

a.alert-link {
    color: unset !important;
}

a.alert-link:hover {
    background-color: #c48e21 !important;
    border-radius: .25em;
    transition: color 200ms ease-in-out 0s, background-color 200ms ease-in-out 0s;
}

.alert-secondary {
    border: 0 !important;
    background-color: #ffffff !important;
    margin-bottom: -.5rem !important;
}

div.col > button.btn.btn-primary.btn-sm.w-100 {
    height: 38px !important;
}

.alert-info {
    background-color: #8fbcbb !important;
    border: 1px solid #568f8e !important;
    text-align: justify;
    margin-bottom: 0 !important;
}

.modal {
    padding: 0 !important /* sweetalert bug fix */
}

div.modal-footer {
    justify-content: space-between !important;
}

div.modal-footer > button.btn.btn-danger.btn-sm, div.modal-footer > form {
    margin-left: auto;
}

h5.mb-0 {
    background-color: unset !important;
}

form#modal.rounded-3.needs-validation {
    background-color: #f2f4f8;
    padding: 1rem;
}

form > button.btn.btn-primary.btn-sm {
    margin-top: 1rem;
}

form > div.alert.alert-info {
    margin-bottom: 0 !important;
}

div.row > div.form-floating.col > label {
    padding: 1rem 1.5rem !important;
}

.upload {
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    opacity: .65;
    transform: scale(.85);
}

.input-group {
    flex-wrap: nowrap !important;
}

.input-group-text {
    min-width: 65.533px;
    height: 58px;
    justify-content: center;
}

a.d-none.d-lg-block:hover {
    background-color: unset !important;
}

input#homepage.form-control, input#sozial.form-control, input#maps.form-control {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

span.input-group-text {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

div.list-group-item.list-group-item-action.d-flex.gap-3.py-3 > button.btn.btn-primary {
    height: fit-content !important;
    min-height: 36px !important;
    width: 49px !important;
}

.list-group-item:first-child {
    border-top-left-radius: unset !important;
    border-top-right-radius: unset !important;
}

iframe {
    max-width: fit-content !important;
    height: 200px;
    margin-top: 5px;
}

.grid-item {
    float: left;
    margin-bottom: 1.5rem;
    width: 300px !important;
}

div#grid {
    margin: auto;
}

div#grid:after {
    content: "";
    display: block;
    clear: both;
 }

 /*
.card-footer {
    border-top: 1px solid #4C566A !important;
}
*/

 .card-footer:before {
    background: url("../images/shadow-right.png") bottom center no-repeat;
    content: "";
    display: block;
    width: 100px;
    height: 15px;
    position: absolute;
    bottom: -9px;
    right: -6px;
 }

 .card-footer:after {
    background: url("../images/shadow-left.png") bottom left no-repeat;
    content: "";
    display: block;
    width: 100px;
    height: 15px;
    position: absolute;
    bottom: -11px;
    left: -3px;
 }

.card {
    box-shadow: 0 0 10px rgba(0, 0, 0, .05);
    /*background-color: #242933 !important;*/
    border: 1px solid #b2b4b8 !important;
	transition: transform .2s;
}

.card:hover {
    transform: translateY(-5px);
    border: 1px solid #88c0d0 !important;
    box-shadow: rgb(184 194 215 / 25%) 0px 4px 6px, rgb(184 194 215 / 10%) 0px 5px 7px;
}

.wappen {
    position: relative;
}

.wappen:before {
    content: "";
    background-image: url("../images/by.svg");
    filter: grayscale(100%);
    background-size: 200px;
    background-position: 150px 30px;
    background-repeat: no-repeat;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: .1;
}

.card-body {
    padding: 0 1rem 0 1rem !important;
    color: #000000;
    position: relative;
}

div.card.bg-light.mb-3 > div.card-body {
    padding: 1rem 1rem !important;
}

p.card-text {
    text-align: justify;
    color: #41464b;
    margin: 1rem 0 1rem 0 !important;
}

div.card-body > div.mb-3 {
    text-align: center;
}

div.card-body small.text-muted {
    font-style: italic;
}

.card-buttons {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0 1rem;
}

div.card-buttons > a, li.nav-item > a {
    padding: 3px;
}

.thumb, .holder, .large, .box {
    width: 100%;
    height: auto;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

.thumb {
	transition: all .2s ease-in;
	-moz-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    /*border: 2px solid #242933;*/
}

.holder, .ribbon {
	cursor: auto;
}

.box {
    position: relative;
}

.box:hover {
	cursor: pointer;
}

.opc {
	opacity: 0;
}

.box:hover .thumb {
	transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.box:hover .opc {
	opacity: 1;
}

.ribbon {
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px;
    height: 75px;
    text-align: right;
}

.ribbon span {
    font-size: 10px;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 100px;
    display: block;
    background: #79A70A;
    background: linear-gradient(#ebcb8b 0%, #da9e25 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 19px; 
    right: -21px;
}

.ribbon span::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 100%;
    z-index: -1;
    border-left: 3px solid #da9e25;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #da9e25;
}

.ribbon span::after {
    content: "";
    position: absolute;
    right: 0px;
    top: 100%;
    z-index: -1;
    border-left: 3px solid transparent;
    border-right: 3px solid #da9e25;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #da9e25;
}

h5.card-title {
    margin: 1rem 0 1rem 0;
    font-weight: 500;
    font-size: 1rem !important;
    /*color: #E5E9F0;
    border-top: 1px solid #4C566A !important;
    padding-top: .5rem;*/
}

.info {
    background-color: #f2f4f8;
    border: 1px solid #b2b4b8;
    padding: .5rem;
    border-radius: .25rem;
    width: fit-content;
}

blockquote {
    border-left: .2em solid #88c0d0;
    padding-left: 1.5em;
    margin: 1em 0px !important;
    text-align: justify;
}

/* F O O T E R */

footer {
    background-color: #f2f4f8;
}

.footnav {
    margin-top: 1.5rem;
}

i.fa-solid.fa-heart {
    color: #dcaaae;
}

footer > div > img {
    width: 20px;
    height: auto;
}

/* R E S P O N S I V E */

@media (max-width: 464px) {
    form.p-4 {
        padding: 1rem !important;
    }
    div.list-group-item.list-group-item-action.d-flex.gap-3.py-3 {
        padding: .5rem .5rem !important;
    }
    iframe {
        width: 225px !important;
    }
    .fa-lg {
        font-size: .9rem !important;
    }
    div.list-group-item.list-group-item-action.d-flex.gap-3.py-3 > button.btn.btn-primary {
        width: 41px !important;
    }
    h4.modal-title {
        font-size: calc(1.2rem + .3vw) !important;
    }
    h5.mb-0, div.row.mb-3 > h5 {
        font-size: 1rem !important;
    }
    .form-floating.col > label, .form-floating > label, .form-floating.col > label, label.form-label, .invalid-feedback, p.mb-.opacity-75 {
        font-size: .8rem !important;
    }
    .form-floating > .form-control, .form-floating > .form-select {
        height: calc(3rem + 2px) !important;
    }
    .form-select, .form-floating > .form-control:focus, .form-floating > .form-control:not(:placeholder-shown), label.form-check-label, .input-group-text, output {
        font-size: .9rem !important;
    }
    .form-floating > .form-select {
        padding-top: 1.425rem !important;
    }
    input.form-control {
        min-height: calc(1.5em + .5rem + 2px) !important;
        font-size: .9rem !important;
        border-radius: .2rem !important;
      }
    .upload {
        font-size: .8rem !important;
      }
      .input-group-text {
        height: 50px !important;
    }
    form > div.alert.alert-info {
        font-size: .9rem !important;
    }
    h3 {
        font-size: 1.2rem !important;
    }
    p.text-center.text-muted {
        font-size: .75rem;
    }
    input#maps.form-control {
        border-top-left-radius: .2rem !important;
        border-bottom-left-radius: .2rem !important;
    }
    .thumb:hover {
        transform: none !important;
    }
}

@media (min-width: 1800px) {
    .col-xxxl-2 {
        flex: 0 0 auto !important;
        width: 16.66666667% !important;
    }
}