/*
Template 2108 Dashboard
http://www.tooplate.com/view/2108-dashboard

COLOR CODES
  Dark Gray: #656565
  Light Gray: #E6E6E6
  Blue: #0062BB
*/

/* Font-Face-Definitionen unverändert lassen */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: url('webfonts/open-sans-v34-latin-300.eot');
    src: local(''), url('webfonts/open-sans-v34-latin-300.eot?#iefix') format('embedded-opentype'), url('webfonts/open-sans-v34-latin-300.woff2') format('woff2'), url('webfonts/open-sans-v34-latin-300.woff') format('woff'), url('webfonts/open-sans-v34-latin-300.ttf') format('truetype'), url('webfonts/open-sans-v34-latin-300.svg#OpenSans') format('svg');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('webfonts/open-sans-v34-latin-regular.eot');
    src: local(''), url('webfonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), url('webfonts/open-sans-v34-latin-regular.woff2') format('woff2'), url('webfonts/open-sans-v34-latin-regular.woff') format('woff'), url('webfonts/open-sans-v34-latin-regular.ttf') format('truetype'), url('webfonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('webfonts/open-sans-v34-latin-600.eot');
    src: local(''), url('webfonts/open-sans-v34-latin-600.eot?#iefix') format('embedded-opentype'), url('webfonts/open-sans-v34-latin-600.woff2') format('woff2'), url('webfonts/open-sans-v34-latin-600.woff') format('woff'), url('webfonts/open-sans-v34-latin-600.ttf') format('truetype'), url('webfonts/open-sans-v34-latin-600.svg#OpenSans') format('svg');
}

/* Basisstil - Wir verwenden eine Klasse für den Body statt direkter Anpassung */
html {
    font-size: 17px;
}

/* Überschreiben wir den Body statt ihn direkt zu stylen */
.tm-body {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    background-image: url(../img/dash-bg-01.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    padding-left: 50px;
    padding-right: 50px;
}

/* Hintergrundklassen unverändert */
.bg02 {
    background-image: url(../img/dash-bg-02.jpg);
}

.bg03 {
    background-image: url(../img/dash-bg-03.jpg);
}

.bg04 {
    background-image: url(../img/dash-bg-04.jpg);
}

.bg05 {
    background-image: url(../img/dash-bg-05.jpg);
}

.bg06 {
    background-image: url(../img/dash-bg-06.jpg);
}

.bg07 {
    background-image: url(../img/dash-bg-07.jpg);
}

.bg08 {
    background-image: url(../img/dash-bg-08.png);
}

.bg09 {
    background-image: url(../img/dash-bg-09.jpg);
}

.bg10 {
    background-image: url(../img/dash-bg-10.jpg);
}

.bg11 {
    background-image: url(../img/dash-bg-11.png);
}

/* Links - specifischer Klassenname, um Bootstrap zu überschreiben */
.tm-link {
    transition: all 0.3s ease;
}

    .tm-link:hover,
    .tm-link:focus {
        text-decoration: none;
    }

/* Navbar-Anpassung für Bootstrap 5 */
.tm-navbar-brand {
    display: flex;
    align-items: center;
}

.tm-site-icon {
    color: #656565;
}

.tm-site-title {
    display: inline-block;
    text-transform: uppercase;
    font-size: 2rem;
    margin-left: 1rem;
    color: #656565;
    letter-spacing: 1px;
}

.tm-navbar {
    height: 100px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 50px;
}

.tm-logout-icon {
    font-size: 1.5em;
}

/* Layout-Klassen */
.tm-bg-black {
    background-color: rgba(0, 0, 0, 0.5);
}

.tm-mt-big {
    margin-top: 70px;
}

.tm-mt-small {
    margin-top: 20px;
}

.tm-block {
    padding: 50px 45px;
}

.tm-block-title {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 30px;
}

/* Nav-Links - specifischer für Bootstrap 5 */
.tm-nav-link {
    color: #656565;
    padding: 15px 20px;
}

    .tm-nav-link.active,
    .tm-nav-link:hover {
        background-color: #e6e6e6;
    }

.tm-nav-item {
    margin-right: 30px;
}

    .tm-nav-item:last-child {
        margin-right: 0;
    }

/* Layout-Raster für Bootstrap 5 */
.tm-content-row {
    margin-left: -20px;
    margin-right: -20px;
}

.tm-col {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 50px;
}

.tm-col-big {
    width: 39%;
}

.tm-col-small {
    width: 21.95%;
}

/* Link-Styling */
.tm-link-black {
    color: black;
}

    .tm-link-black:hover,
    .tm-link-black:focus {
        color: #0266c4;
    }

/* Listen */
.tm-list-group {
    counter-reset: myOrderedListItemsCounter;
    padding-left: 0;
    list-style-type: none;
}

    .tm-list-group > li {
        list-style-type: none;
        position: relative;
        transition: all 0.3s ease;
        padding: 8px;
    }

.tm-list-group-pad-big > li {
    padding: 20px;
}

.tm-list-group > li:hover {
    color: #0266c4;
}

.tm-list-group-alternate-color > li:nth-child(odd) {
    background-color: #e6e6e6;
}

.tm-list-group > li:before {
    counter-increment: myOrderedListItemsCounter;
    content: counter(myOrderedListItemsCounter) ".";
    margin-right: 0.5em;
}

.tm-list {
    padding-left: 30px;
}

    .tm-list > li {
        margin-bottom: 20px;
    }

/* Formular-Elemente angepasst für Bootstrap 5 */
.tm-form-control {
    margin-bottom: 23px;
    padding: 19px 18px;
    border-radius: 0;
    height: 50px;
}

.tm-label {
    margin-bottom: 18px;
}

/* Buttons angepasst für Bootstrap 5 */
.tm-btn {
    border-radius: 0;
    padding: 13px 28px;
    transition: all 0.2s ease;
    max-width: 100%;
}

.tm-btn-small {
    padding: 10px 24px;
}

.tm-btn-primary {
    background-color: transparent;
    color: black;
    border-color: #999999;
}

    .tm-btn-primary:hover,
    .tm-btn-primary:active {
        color: black;
        background-color: #cdd4da;
        border-color: #999999;
    }

.tm-btn-danger {
    color: #9f1321;
    background-color: transparent;
    border-color: #9f1321;
}

    .tm-btn-danger:hover {
        color: #9f1321;
        background-color: rgba(159, 19, 32, 0.27);
        border-color: #9f1321;
    }

/* Dateiupload-Anpassungen */
.tm-custom-file-input {
    cursor: pointer;
}

.tm-custom-file-label {
    border-radius: 0;
}

.tm-btn-right {
    text-align: right;
}

/* Tabellen */
.tm-table td,
.tm-table th {
    padding: 20px 24px;
}

.tm-table-hover tbody tr:hover {
    background-color: white;
    color: #3aabd0;
}

.tm-bg-gray {
    background-color: rgba(0, 0, 0, 0.05);
}

.tm-table-striped-even.tm-table-striped tbody tr:nth-of-type(even) {
    background-color: rgba(0, 0, 0, 0.05);
}

.tm-table-striped-even.tm-table-striped tbody tr:nth-of-type(odd) {
    background-color: white;
}

.tm-table-mt {
    margin-top: 66px;
}

/* Paginierung */
.tm-page-item:first-child .tm-page-link {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.tm-page-item:last-child .tm-page-link {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.tm-page-link,
.tm-dots {
    padding: 12px 18px;
}

    .tm-page-link,
    .tm-page-link:hover {
        color: black;
    }

.tm-page-item {
    margin-right: 18px;
}

    .tm-page-item:last-child {
        margin-right: 0;
    }

    .tm-page-item.active .tm-page-link {
        background-color: #e9ecef;
        border-color: #dee2e6;
        color: black;
    }

.tm-pagination {
    justify-content: flex-end;
}

.tm-pagination-label {
    padding-bottom: 15px;
    padding-right: 15px;
    display: inline-block;
}

/* Aktionen und Icons */
.tm-table-actions-row {
    display: flex;
    justify-content: space-between;
}

.tm-table-actions-col-right {
    text-align: right;
}

.tm-trash-icon {
    color: #6e6c6c;
    cursor: pointer;
}

    .tm-trash-icon:hover {
        color: #9f1321;
    }

.tm-trash-icon-cell {
    width: 15px;
}

/* Footer */
.tm-footer {
    margin-bottom: 35px;
}

/* Dropdowns und Selects */
.tm-custom-select {
    height: 50px;
    border-radius: 0;
}

/* Produkt-Bild-Dummy */
.tm-product-img-dummy {
    max-width: 100%;
    width: 240px;
    height: 240px;
    border: 1px solid #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c8c8c8;
}

.tm-login-col {
    max-width: 600px;
}

/* Container-Breite für Bootstrap 5.3.3 */
@media (min-width: 1200px) {
    .container {
        max-width: 1630px !important; /* Wieder auf ursprünglichen Wert setzen */
    }
}

/* Responsive-Anpassungen */
@media (min-width: 992px) {
    .tm-nav-link {
        padding: 15px 20px;
    }
}

@media (max-width: 1275px) and (min-width: 1200px) {
    .tm-nav-item {
        margin-right: 15px;
    }
}

@media (max-width: 1350px) and (min-width: 1200px) {
    .tm-table-actions-row {
        display: block;
    }

    .tm-table-actions-col-right {
        margin-top: 30px;
    }
}

@media (max-width: 1350px) {
    .tm-nav-item {
        margin-right: 1px;
    }
}

@media (max-width: 1199px) {
    .tm-col-big,
    .tm-col-small {
        width: 49.65%;
    }

    .tm-navbar-collapse {
        background: white;
        padding: 15px;
        box-shadow: rgba(108, 117, 125, 0.27) 0px 1px 1px 0px;
        position: absolute;
        top: 77px;
        right: 20px;
        width: 245px;
        z-index: 1000;
    }

    .tm-nav-link {
        padding-right: 15px;
        padding-left: 15px;
    }

    .tm-nav-item {
        margin-right: 0;
    }
}

@media (max-width: 991px) {
    .tm-col-big,
    .tm-col-small {
        width: 100%;
        min-height: 383px;
        height: auto;
    }

    .tm-block {
        padding: 30px;
    }

    .tm-table-actions-row {
        display: block;
    }

    .tm-table-actions-col-right {
        text-align: left;
        margin-top: 30px;
    }

    .tm-edit-product-row {
        flex-direction: column-reverse;
    }
}

@media (max-width: 633px) {
    .tm-pagination {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .tm-pagination-label {
        display: inline-block;
        margin-right: 0;
    }

    .tm-page-item {
        margin-top: 10px;
    }
}

@media (max-width: 574px) {
    .tm-navbar-collapse {
        top: 70px;
    }

    .tm-btn-right {
        text-align: left;
        margin-top: 20px;
    }

    .tm-navbar {
        margin-top: 30px;
        height: auto;
    }

    .tm-body {
        padding-left: 15px;
        padding-right: 15px;
    }

    .tm-site-title {
        font-size: 1.4rem;
        margin-left: 7px;
    }

    .tm-site-icon {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .tm-mt-big {
        margin-top: 45px;
    }
}

@media (max-width: 424px) {
    .tm-navbar-collapse {
        top: 107px;
    }
}
.navbar-light .navbar-nav .nav-item.active .nav-link,
.navbar-light .navbar-nav .nav-link.active {
    background-color: #e6e6e6;
}

/* Wenn Sie bereits die tm-nav-link-Klasse verwenden */
.navbar-light .navbar-nav .nav-link.tm-nav-link.active,
.navbar-light .navbar-nav .nav-item.active .tm-nav-link {
    background-color: #e6e6e6;
}
