/* Bootstrap 5 Custom Styles */

/* Navbar Anpassungen */
.navbar {
    margin-bottom: 0;
}

.navbar-brand {
    font-size: 18px;
}

.navbar-nav .nav-link {
    padding: 15px;
}

/* Grid System Anpassungen */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Dropdown Anpassungen */
.dropdown-menu {
    min-width: 200px;
    padding: 5px 0;
    margin: 2px 0 0;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.dropdown-menu > li > a {
    padding: 3px 20px;
    color: #333;
    background-color: #fff;
}

.dropdown-menu > li.divider {
    margin: 4px 0;
}

.ma_item {
    margin: 4px 0;
}

.ma_item a {
    padding: 8px 20px;
    display: block;
    color: #333;
    text-decoration: none;
}

.ma_item a:hover {
    background-color: #f5f5f5;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}

.gew_paket_item, .gew_taet_item {
    padding: 3px 20px;
    color: #333;
    background-color: #fff;
    cursor: pointer;
}

.gew_paket_item:hover, .gew_taet_item:hover {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}

.gew_ma_item {
    position: relative;
    width: 100%;
    text-align: left;
    padding: 3px 20px;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.gew_ma_item:hover {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}

.gew_ma_item a {
    color: inherit;
    text-decoration: none;
    flex-grow: 1;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.gew_ma_item .ma_bild {
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
}

/* Button Anpassungen */
.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

/* Form Anpassungen */
.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}

/* Modal Anpassungen */
.modal-content {
    position: relative;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 6px;
    box-shadow: 0 3px 9px rgba(0,0,0,.5);
    background-clip: padding-box;
    outline: 0;
}

.modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.modal-body {
    position: relative;
    padding: 15px;
}

.modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

/* Table Anpassungen */
.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.table > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 2px solid #ddd;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

/* Well/Card Anpassungen */
.card {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
}

/* Glyphicon zu Bootstrap Icons Anpassungen */
.glyphicon {
    display: inline-block;
    font-family: "Bootstrap Icons";
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Responsive Utilities */
.d-xs-block {
    display: block !important;
}

.d-sm-none {
    display: none !important;
}

@media (min-width: 576px) {
    .d-sm-none {
        display: none !important;
    }
    .d-sm-block {
        display: block !important;
    }
}

@media (min-width: 768px) {
    .d-md-none {
        display: none !important;
    }
    .d-md-block {
        display: block !important;
    }
}

@media (min-width: 992px) {
    .d-lg-none {
        display: none !important;
    }
    .d-lg-block {
        display: block !important;
    }
}

.remove_dl {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
}

.remove_dl:hover {
    color: #dc3545;
}

.remove_dl i {
    font-size: 1.2em;
}

/* .sektion_ueberschrift_buchung Definitionen wurden zu style.css verschoben */

#kalender td {
    vertical-align: middle;
    text-align: center;
}

#kalender td i {
    font-size: 1.2em;
    color: #999;
    vertical-align: middle;
    line-height: 1;
}

#kalender td i.icon-small {
    font-size: 1em;
}

#kalender td.kalender_buchbar i {
    color: #dc3545;
} 