/* === Bootstrap 3 Typography & Table Reset for Bootstrap 5 === */

/* ---------- TYPOGRAFIE ---------- */
body {
    font-size: 14px;
    line-height: 1.42857143;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
    margin-top: 20px;
    margin-bottom: 10px;
}
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

p {
    margin: 0 0 10px;
}

a {
    color: #337ab7;
    text-decoration: none;
}
a:hover, a:focus {
    color: #23527c;
    text-decoration: underline;
}

ul, ol {
    margin-top: 0;
    margin-bottom: 10px;
}
ul ul, ol ul, ul ol, ol ol {
    margin-bottom: 0;
}

blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 17.5px;
    border-left: 5px solid #eee;
}

code, kbd, pre, samp {
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
code {
    padding: 2px 4px;
    font-size: 90%;
    color: #c7254e;
    background-color: #f9f2f4;
    border-radius: 4px;
}
pre {
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #333;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}

small, .small {
    font-size: 85%;
}

.text-left   { text-align: left !important; }
.text-right  { text-align: right !important; }
.text-center { text-align: center !important; }
.text-justify{ text-align: justify !important; }

strong { font-weight: bold; }
em     { font-style: italic; }

.caret {
    display: inline-block;
    margin-left: 4px;
    width: 0;
    height: 0;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

/* ---------- TABELLEN ---------- */

/* Basis-Tabellenstil (wie .table in Bootstrap 3) */
table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    background-color: transparent;
    border-collapse: collapse;
    font-size: 14px;
}

th,
td {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

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

/* Zebra-Streifen (.table-striped) */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

/* Hover-Effekt (.table-hover) */
.table-hover tbody tr:hover {
    background-color: #f5f5f5;
}

/* Rahmen (.table-bordered) */
.table-bordered {
    border: 1px solid #ddd;
}
.table-bordered th,
.table-bordered td {
    border: 1px solid #ddd;
}

/* Condensed Tabelle (.table-condensed) */
.table-condensed th,
.table-condensed td {
    padding: 5px;
}

/* Responsive Table Support */
.table-responsive {
    overflow-x: auto;
    min-height: 0.01%;
}

/* ---------- FORMULARE ---------- */

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="url"],
input[type="tel"],
input[type="search"],
textarea,
select {
    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;
}

textarea {
    height: auto;
}

input:focus,
textarea:focus,
select: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);
}

label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: 700;
}

.help-block {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #737373;
}

/* Form group spacing */
.form-group {
    margin-bottom: 15px;
}


/* ---------- BUTTONS ---------- */

.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;
    user-select: none;
}

.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.btn:hover,
.btn:focus {
    text-decoration: none;
}

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

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

.btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}

.dropdown-menu > li > a {
    display: block;
    padding: 4px 0px;
    clear: both;
    font-weight: 400;
    color: #333;
    text-align: inherit;
    white-space: nowrap;
}

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

/* Weitere Buttons (btn-success, btn-info, etc.) bei Bedarf hinzufügen */

/* Button Sizes */
.btn-lg {
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;
}
.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

/* changes for navbar */
.navbar-leadalliance .navbar-brand:hover, .navbar-inverse .navbar-brand:focus {
    color: #fff;
    background-color: transparent;
}
.navbar-leadalliance .navbar-brand {
    color: #999;
}

.navbar-leadalliance .navbar-collapse .navbar-nav .nav-link {
    color: #9d9d9d;
}

/* override BS5 rules for links to get old BS3 behavior */
a:not([href]):not([class]),
a:not([href]):not([class]):hover {
    color: #337ab7;
    text-decoration: none;
}

/* === Remove boat trap 5 hover effect for NAV links (language dropdown) === */
.navbar .nav-link {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.navbar a:hover,
.content a:hover {
    text-decoration: none !important;
}

/* === Bootstrap 3 Breadcrumb Simulation for Bootstrap 5 === */

.breadcrumb {
    padding: 8px 15px;
    margin-bottom: 20px;
    list-style: none;
    background-color: #f5f5f5;
    border-radius: 4px;
}

.breadcrumb > li {
    display: inline-block;
}

.breadcrumb > li + li:before {
    content: "/\00a0";
    padding: 0 5px;
    color: #ccc;
}

.breadcrumb > .active {
    color: #777;
}

/* === Bootstrap 3 Panel Simulation for Bootstrap 5 Collapse/Card === */

/* Basis-Panel-Stil */
.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    font-size: 14px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
}

/* Panel Heading */
.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    background-color: #f5f5f5;
    font-size: 16px;
    font-weight: bold;
}

/* Panel Body */
.panel-body {
    padding: 15px;
}

/* Panel Footer */
.panel-footer {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}
