@import url("https://fonts.googleapis.com/css?family=Open+Sans");
@import url("https://fonts.googleapis.com/css?family=Roboto+Slab");


* {
    margin: 0px;
}

:root {
    /* Light Mode Variables (Default) */
    --admin-error-bg: #b81900;
    --admin-error-text: #ffffff;
    --admin-error-border: #cd0a0a;

    --admin-success-bg: #c5e1a5;
    --admin-success-text: #33691e;
    --admin-success-border: #33691e;
}

[data-bs-theme="dark"] {
    /* Navi-Blau Theme */
    --bs-body-bg: #101e33;
    --bs-body-color: #cbd5e1;
    --bs-secondary-color: #94a3b8;

    --bs-tertiary-bg: #0d1726;
    --bs-secondary-bg: #1a2b4b;
    --bs-emphasis-color: #f8fafc;

    --bs-border-color: rgba(50, 100, 150, 0.4);
    --bs-border-color-translucent: rgba(255, 255, 255, 0.05);

    --admin-error-bg: rgba(220, 38, 38, 0.2);
    --admin-error-text: #fecaca;
    --admin-error-border: rgba(220, 38, 38, 0.4);

    --admin-success-bg: rgba(16, 185, 129, 0.15);
    --admin-success-text: #a7f3d0;
    --admin-success-border: rgba(16, 185, 129, 0.4);

    --bs-primary: #3b82f6;

    --bs-card-bg: #1a2b4b;
    --bs-card-border-color: rgba(50, 100, 150, 0.4);

    --online-color: #1b4d32;
    --online-text: #a7f3d0;
    --offline-color: #5c1e1e;
    --offline-text: #fecaca;
}

[data-bs-theme="dark"] .card {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="dark"] .bg-body-tertiary {
    background-color: var(--bs-tertiary-bg) !important;
}

body {
    font-style: normal;
}

.ui-widget-content,
.ui-widget,
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
    font-family: 'Open Sans', sans-serif !important;
}

.ui-state-active,
.ui-widget-content .ui-state-active {
    background: var(--bs-body-bg);
    color: var(--bs-primary);
}

.ui-state-highlight {
    border: 1px solid var(--admin-success-border);
    background: var(--admin-success-bg);
    color: var(--admin-success-text);
}

.ui-icon-background,
.ui-state-active .ui-icon-background {
    background-color: var(--bs-tertiary-bg);
}

input[type=text],
input[type=number],
input[type=password],
select,
textarea {
    font-size: 14px;
    padding: 3px;
    border: 1px solid var(--bs-border-color);
    outline: none;
    font-family: 'Open Sans', sans-serif;
}


a,
a:link,
a:visited,
a:active {
    text-decoration: none;
}

a:hover {
    color: var(--bs-body-color);
    text-decoration: none;
    cursor: pointer;
}


.a,
.a a:link,
.a a:visited,
.a a:active {
    color: var(--bs-body-color);
}

.a a:hover {
    color: var(--bs-danger);
}

.td_ffffff td {
    color: var(--bs-body-color);
}

/**
 *  Geburtstagskalender
 */
.geburtstage {
    font-size: 11px;
}

.geburtstage a,
.geburtstage a:link,
.geburtstage a:visited,
.geburtstage a:active {
    color: var(--bs-warning);
    text-decoration: none;
}

.geburtstage a:hover {
    color: var(--bs-body-color);
    text-decoration: none;
    cursor: pointer;
}

hr {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--bs-border-color);
    height: 1px;
    margin-top: 10px;
    margin-bottom: 9px;
}

h2 {
    /* color: var(--bs-body-color); REMOVED FOR BOOTSTRAP THEME */
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
}


/* Bilder */
img {
    border: none;
}

/* Head (Kopf) */
#head {
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: 1px solid var(--bs-border-color);
    width: 100%;
    overflow: hidden;
}

.new_mess {
    height: 112px;
    width: 300px;
    color: var(--bs-body-color);
    overflow-x: hidden;
    overflow-y: auto;
}

.new_mess a {
    color: var(--bs-body-color);
}

.new_mess a:hover {
    color: var(--bs-danger);
}

#new_mess ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#new_mess li {
    padding: 2px;
    width: 300px;
    border-top: none;
    border-right: none;
    border-bottom: 1px solid var(--bs-border-color);
    text-decoration: none;
}


#new_mess li:hover {
    background-color: var(--bs-tertiary-bg);
    color: #ffffff;
    opacity: 0.60;
    filter: alpha(opacity=60);
    -moz-opacity: 0.6;
}


.offline {
    background-color: var(--offline-color, var(--admin-error-bg));
    color: var(--offline-text, var(--admin-error-text));
    font-weight: bold;
    font-size: 80%;
    text-align: center;
    border-top: 1px solid var(--bs-border-color);
    border-bottom: 1px solid var(--bs-border-color);
}

.offline a {
    color: var(--offline-text, var(--admin-error-text));
}

.offline a:hover {
    color: var(--bs-body-color);
}

/* Online-Button */
.online {
    background-color: var(--online-color, var(--admin-success-bg));
    color: var(--online-text, var(--admin-success-text));
    font-weight: bold;
    font-size: 80%;
    text-align: center;
    border-top: 1px solid var(--bs-border-color);
    border-bottom: 1px solid var(--bs-border-color);
}

/* Online-Button - Link */
.online a {
    color: var(--online-text, var(--admin-success-text));
}

/* Online-Button - Link - Mouseover */
.online a:hover {
    color: var(--bs-body-color);
}


.tab-pane p,
.tab-pane div {
    font-size: 0.9rem;
}


/* Navigation */

.nav,
.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav {
    font-family: 'Open Sans', sans-serif;
    position: relative;
}

.nav li {
    /* border-right: 1px solid #aaaaaa; */
    float: left;
    margin: 0;
    padding: 0;
    position: relative;
    text-align: left;
}

.nav li ul {
    z-index: 2;
}

.nav li a {
    font-size: 0.9rem;
    font-family: 'Open Sans', sans-serif;
    display: block;
    padding: 6px 8px;
    color: var(--bs-body-color);
    text-decoration: none;
}

#nav-one li:hover a,
#nav-one li.sfHover a {
    background: var(--bs-secondary-bg);
}

#nav-one li:hover ul a,
#nav-one li.sfHover ul a {
    text-shadow: none;
    background: var(--bs-secondary-bg);
    font-weight: normal;
}

#nav-one li:hover ul a:hover,
#nav-one li.sfHover ul a:hover {
    background-color: var(--bs-secondary-bg);
}

.nav ul {
    background: var(--bs-secondary-bg);
    border-bottom: 1px solid var(--bs-border-color);
    list-style: none;
    margin: 0;
    min-width: 80px;
    position: absolute;
    top: -999em;
    left: -1px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.5) 2px 4px 5px;
    -moz-box-shadow: rgba(0, 0, 0, 0.5) 2px 4px 5px;
    box-shadow: rgba(0, 0, 0, 0.5) 2px 4px 5px;
}

.nav li:hover ul,
.nav li.sfHover ul {
    top: 26px;
}

.nav ul li {
    border: 0;
    float: none;
}

.nav ul a {
    border: 1px solid var(--bs-border-color);
    border-bottom: 0;
    padding-right: 20px;
    width: auto;
    white-space: nowrap;
}

.nav ul a:hover {
    background: var(--bs-secondary-bg);
    color: #000;
}

.nav_group_header {
    cursor: default;
    color: #ffffff;
    font-size: 13px;
    font-style: italic;
    font-weight: bold;
    padding: 5px 5px 5px 20px !important;
    border-top: 1px solid var(--bs-border-color);
    border-left: 1px solid var(--bs-border-color);
    border-right: 1px solid var(--bs-border-color)
}


/**
*	Mainframe (Hauptbereich)
****************************************/
#aussen {
    overflow-x: auto;
}


#main2 {
    /* padding: 10px 20px 10px 20px; */
    /* vertical-align: top; */
    /* width: 100%; */
    /* min-width: 1050px; */
    max-width: 1800px;
    font-size: 0.9em;
    flex-shrink: 0;
}

#menu_left {
    /*
    padding: 15px 15px 5px 0px;
    height: calc(95vh - 200px);
    min-height: calc(95vh - 200px);
    width: 180px+;
    min-width: 70px;
    vertical-align: top;
    font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif;
    */
    max-width: 300px;
    flex-shrink: 0;
}

#menu_left .material-icons {
    padding-right: 15px;
}

#menu_left a {
    padding: 5px 15px 5px 28px;
    color: var(--bs-secondary-color);
    display: block;
    font-size: 0.9rem;
    /*
    -webkit-border-top-right-radius: 20px;
    -webkit-border-bottom-right-radius: 20px;
    -moz-border-radius-topright: 20px;
    -moz-border-radius-bottomright: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    */
    white-space: nowrap;
    text-decoration: none;
}

#menu_left .menu_checked,
#menu_left a:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

#menu_left .menu_checked {
    font-weight: bold;
}


.hide_menu {
    display: none;
}

.show_menu {
    display: inline-block;
}

#menu_left .menu_checked .material-icons {
    color: var(--bs-danger);
}

#menu_left .material-icons.md-20 {
    font-size: 20px;
    vertical-align: middle;
}

#menu_left .submenu {
    padding: 5px;
    color: var(--bs-secondary-color);
    display: block;
    cursor: pointer;
}

#menu_left .submenu .arrow {
    padding-right: 0;
    vertical-align: middle;
}

#menu_left .submenu_videothek,
#menu_left .submenu_photoalbums,
#menu_left .submenu_shop,
#menu_left .submenu_members,
#menu_left .submenu_member_newsletter,
#menu_left .submenu_actors,
#menu_left .submenu_transactions,
#menu_left .submenu_pages,
#menu_left .submenu_blog,
#menu_left .submenu_stats,
#menu_left .submenu_coupons,
#menu_left .submenu_telegram,
#menu_left .submenu_settings,
#menu_left .submenu_template_settings,
#menu_left .submenu_others {
    display: none;
}

#menu_left .submenu_videothek a,
#menu_left .submenu_photoalbums a,
#menu_left .submenu_shop a,
#menu_left .submenu_members a,
#menu_left .submenu_member_newsletter a,
#menu_left .submenu_actors a,
#menu_left .submenu_transactions a,
#menu_left .submenu_pages a,
#menu_left .submenu_blog a,
#menu_left .submenu_stats a,
#menu_left .submenu_coupons a,
#menu_left .submenu_telegram a,
#menu_left .submenu_settings a,
#menu_left .submenu_template_settings a,
#menu_left .submenu_others a {
    padding: 5px 15px 5px 40px;
}

#menu_left #menu_toggle {
    margin-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: right;
}

#menu_left #menu_toggle a {
    display: block;
    padding: 8px;
    /* margin-right removed to match menu items */
    background-color: transparent;
    color: var(--bs-secondary-color);

    /* border-top-right-radius: 20px;
    border-bottom-right-radius: 20px; */

    transition: all 0.2s ease;
    cursor: pointer;
}

#menu_left #menu_toggle a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--bs-danger);
    /* padding-right removed to avoid inconsistent movement */
}

#menu_left #menu_toggle a .material-icons,
#menu_left #menu_toggle a .bi {
    padding: 0;
    font-size: 24px;
    vertical-align: middle;
}

#menu_left #footer {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-top: 1px solid rgba(0, 0, 0, .10);
    color: rgba(0, 0, 0, .38);
    text-align: center;
    line-height: 1.5;
    width: 100%
}

#menu_left #footer a {
    padding: 5px 0;
    white-space: nowrap;
    /* background-color: #ffffff; */
}

#menu_left #navi_themes {
    width: 100%;
    width: -moz-available;
    width: -webkit-fill-available;
    width: fill-available;
    padding: 1px;
    font-size: 12px;
}


/*
*	Shop - Kategorie
****************************************/
.cat_list {
    padding: 10px;
    font-size: 12px;
    background-color: var(--bs-tertiary-bg);
}

/* Link */
.cat_list a {
    text-decoration: none;
    color: var(--bs-body-color);
}

/* Link mouseover */
.cat_list a:hover {
    text-decoration: none;
    color: var(--bs-danger);
}

.cat_list td,
.cat_list th {
    background-color: var(--bs-secondary-bg);
    border: 1px solid var(--bs-border-color);
    padding: 4px;
    color: var(--bs-body-color);
}

.cat_list th {
    font-weight: bold;
}



/*
*	Shop - vorschau
****************************************/
.preview_aussen {
    margin-top: 15px;
    padding: 5px;
    border: 1px solid var(--bs-border-color);
    background-color: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
}

.preview_aussen hr {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--bs-border-color);
    height: 1px;
}

.preview_aussen a {
    text-decoration: none;
    color: var(--bs-danger);
}

.preview_aussen a:hover {
    text-decoration: none;
    color: #d0d0d0;
}

.preview_beschreibung {
    padding: 5px;
    margin-left: 265px;
    text-align: justify;
    min-height: 210px;
}

.preview_beschreibung_edit {
    padding: 5px;
    margin-left: 265px;
    text-align: justify;
    min-height: 210px;
}

.preview_image {
    width: 250px;
    height: 200px;
    border: 1px solid var(--bs-border-color);
}

.preview_img {
    padding: 5px;
    height: 188px;
    width: 250px;
    float: left;
}


.admin_tables {
    border-spacing: 0;
    border-collapse: separate;
    width: 100%
}

.admin_tables th,
th {
    padding: 2px 5px;
    border: 1px solid var(--bs-border-color);
    /* background: #ccc; REMOVED FOR BOOTSTRAP THEME */
    /* color: #454545; REMOVED FOR BOOTSTRAP THEME */
    font-weight: bold;
}

.admin_tables td {
    padding: 2px 5px;
    border-bottom: 1px solid var(--bs-border-color);
    border-top: none;
    border-right: none;
    border-left: none;
    /* color: var(--bs-body-color); REMOVED FOR BOOTSTRAP THEME */
}


.admin_tables th a,
.admin_tables th a:link,
.admin_tables th a:visited,
.admin_tables th a:active {
    color: var(--bs-body-color);
    text-decoration: none;
}


.admin_tables th a:hover,
.admin_tables td a:hover {
    /* color: #454545; REMOVED FOR BOOTSTRAP THEME */
    text-decoration: underline;
}

.admin_tables td a,
.admin_tables td a:link,
.admin_tables td a:visited,
.admin_tables td a:active,
.wm td a,
.wm td a:link,
.wm td a:visited,
.wm td a:active {
    /* color: #454545; REMOVED FOR BOOTSTRAP THEME */
    text-decoration: none;
}

.admin_tables td a:hover,
.wm th a:hover,
.wm td a:hover {
    /* color: #454545; REMOVED FOR BOOTSTRAP THEME */
    text-decoration: none;
}


.headline {
    border-bottom: 1px solid var(--bs-border-color);
    margin-bottom: 40px;
    padding-bottom: 10px;
}

.headline-title,
.headline_icon {
    color: var(--bs-danger);
}

.headline-title {
    color: var(--bs-danger);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.headline-title h1 {
    font-size: 2rem;
    font-weight: 400;
    font-family: 'Roboto Slab', serif;
    letter-spacing: 0px;
    line-height: 2.0;
    font-style: normal;
    padding-left: 0.5rem;
}

.headline div:last-child {
    font-size: 1rem;
    padding-left: 0.5rem;
}

.headline img,
.headline #headline_icon {
    width: 60px;
    height: 80px;
}

.headline #headline_icon .material-icons {
    font-size: 80px;
    color: var(--bs-danger);
}

.site_description {
    font-size: 15px;
    font-weight: normal;
    letter-spacing: 1px;
    padding: 8px;
    margin-bottom: 10px;
}


.admin_login {
    font-size: 80%;
}

#admin_login {
    background-color: rgba(0, 0, 0, 0.06);
    background-image: none;
    margin: 0 auto;
    padding: 0;
    width: 300px;
    text-align: left;
    vertical-align: top;
    font-size: 12px;
}


#admin_login2 {
    color: var(--bs-body-color);
    padding: 0px;
    margin: 10px;
}

.admin_login_footer {
    margin: 1rem auto 0 auto;
    text-align: center;
    color: var(--bs-body-color);
    font-size: 10px;
}

.admin_login_footer a {
    color: var(--bs-body-color);
    font-size: 10px;
}

.admin_login_footer a:hover {
    text-decoration: underline;
}

/* Sidebar Logo Switcher */
/* Default Light Mode: Show light logo, hide dark logo */
.sidebar_logo_dark {
    display: none;
}

.sidebar_logo_light {
    display: block;
}

/* Dark Mode: Show dark logo, hide light logo */
[data-bs-theme="dark"] .sidebar_logo_dark {
    display: block;
}

[data-bs-theme="dark"] .sidebar_logo_light {
    display: none;
}

.admin_reihe {
    padding-bottom: 5px;
}

.admin_label {
    padding: 3px 0 2px 5px;
    font-weight: bold;
}

.admin_feld {
    width: 150px;
}

.admin_defbreite {
    padding: 6px !important;
    border: 1px solid var(--bs-border-color);
    /* color: var(--bs-body-color) !important; REMOVED FOR BOOTSTRAP THEME */
    font-size: 20px !important;
    /* background-color: #ffffff !important; REMOVED FOR BOOTSTRAP THEME */
    width: 262px;
}


#admin_logout_mess {
    padding: 5px;
    margin-bottom: 15px;
    border-left: none;
    border-top: none;
    border-right: none;
    text-align: center;
}


/**
*	Fehler (so wird ein Fehler dargestellt)  
****************************************/
.fehler {
    border: 1px solid var(--admin-error-border);
    background-color: var(--admin-error-bg);
    /* Only show pattern in light mode if needed, or overlay it */
    background-image: url(../templates/default/images/diagonals-thick_18_b81900_40x40.png);
    background-repeat: repeat;
    background-position: 50% 50%;

    color: var(--admin-error-text);
    border-radius: 4px;

    /* Dark Mode Glassmorphism Override */
    /* Checks if theme is dark via parent html attribute */
}

[data-bs-theme="dark"] .fehler {
    background-image: none;
    /* Remove pattern in dark mode for cleaner look */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.fehler {
    /* CSS3 */
    -o-border-radius: 4px;
    /* Opera <= 9 */
    -moz-border-radius: 4px;
    /* Firefox */
    -khtml-border-radius: 4px;
    /* Konqueror */
    -webkit-border-radius: 4px;
    /* Safari, Chrome */
    height: auto;
    padding: 8px;
    color: #ffffff;
    font-weight: normal;
    overflow: auto;
}

.fehler a,
.fehler a:link,
.fehler a:visited,
.fehler a:active {
    color: var(--bs-body-color);
    text-decoration: underline;
}

.nofehler {
    height: auto;
    border: 1px solid var(--admin-success-border);
    padding: 8px;
    color: var(--admin-success-text);
    font-weight: normal;
    background-color: var(--admin-success-bg);
    overflow: auto;
}

.nofehler a,
.nofehler a:link,
.nofehler a:visited,
.nofehler a:active {
    text-decoration: underline;
    color: var(--admin-success-text);
}

.nofehler a:hover {
    text-decoration: none;
    color: #ffffff;
}


.box {
    background-image: none;
    background-color: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    padding: 8px;
    color: var(--bs-body-color);
    /* Removed old gradients */
}

.box td,
.box li {
    color: #ffffff;
}

/* Webmsater */
.wm td {
    padding: 5px;
    border-top: 1px solid var(--bs-border-color);
    color: var(--bs-body-color);
}


#editsettings_reihe {
    width: 100%;
    margin-bottom: 2px;
}

#editsettings_lable {
    font-weight: bold;
    width: 300px;
    float: left;
    padding-right: 7px;
    padding-top: 3px;
    text-align: right;
}

#editsettings_feld {
    width: auto;
}


.save_button {
    background-image: url(../templates/default/images/icons/save.gif);
    background-repeat: no-repeat;
    background-position: 2px 2px;
}

.radio_set .ui-corner-bottom,
.radio_set .ui-corner-left,
.radio_set .ui-corner-right,
.radio_set .ui-corner-top {
    -moz-border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    border-radius: 0 !important;
}

.radio_set .ui-corner-all {
    -moz-border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    border-radius: 0 !important;
}


.amateur_profil .radio_set .ui-corner-all {
    padding: 4px 8px;
    margin-left: -5px;
}

#template_settings .radio_set .ui-corner-all {
    margin-left: -6px;
}


.radio_set.hotline label {
    padding: 2px 10px;
}

.ui-timepicker-div .ui-widget-header {
    margin-bottom: 8px;
}

.ui-timepicker-div dl {
    text-align: left;
}

.ui-timepicker-div dl dt {
    height: 25px;
    margin-bottom: -25px;
}

.ui-timepicker-div dl dd {
    margin: 0 10px 10px 65px;
}

.ui-timepicker-div td {
    font-size: 90%;
}

.ui-tpicker-grid-label {
    background: none;
    border: none;
    margin: 0;
    padding: 0;
}

.ui-timepicker-rtl {
    direction: rtl;
}

.ui-timepicker-rtl dl {
    text-align: right;
}

.ui-timepicker-rtl dl dd {
    margin: 0 65px 10px 10px;
}


.ui-tooltip,
.arrow:after {
    background: var(--bs-body-bg);
    border: none;
}

.ui-tooltip {
    padding: 10px;
    color: var(--bs-body-color);
    border-radius: 3px;
    font: normal 12px Arial;
    box-shadow: none;
    width: auto;
    min-width: 350px;
    /* I have changed here */
    max-width: 500px;
    border: 1px solid var(--bs-border-color);
}

.info_box {
    background-color: #fbf9ee;
    border: 1px solid var(--bs-warning-border-subtle);
    color: var(--bs-body-color);
}

.site-bulider-button,
.add_new_column,
.add_new_container {
    font-size: 14px;
}

.site-bulider-button .material-icons,
.add_new_column .material-icons,
.add_new_container .material-icons {
    vertical-align: top;
    font-size: 20px;
}

#site-builder-new-container-info {
    font-weight: 600;
    font-size: 15px;
    margin-top: 20px;
    width: 100%;
    width: -webkit-fill-available;
    width: -moz-fill-available;
    border: 1px dashed var(--bs-border-color);
    text-align: center;
    padding: 30px 0;
}

#site-builder-new-container-info>div:first-of-type {
    margin-top: 20px;
}

#new-containers-layer ul {
    list-style: none;
}

#new-containers-layer li {
    padding: 0.5em;
    float: left;
    width: 17%;
    margin: 1.5%;
    cursor: pointer;
    border: 1px dashed var(--bs-border-color);
    margin-bottom: 2em;
    box-sizing: border-box;
    background-color: #fff;
    text-align: left;
    position: relative;
    list-style-position: inside;
    list-style-type: none;
}

#new-containers-layer li:hover {
    border: 1px dashed var(--bs-border-color);
}

#new-containers-layer .builder_layout_column {
    text-align: center;
    padding: 18% 0;
    display: inline-block;
    float: left;
    background: var(--bs-secondary-bg);
    color: var(--bs-body-color);
    margin-right: 4%;
    font-size: 12px;
}

.builder_layer_headline {
    font-size: 25px;
    margin-bottom: 20px;
}

.builder_layout_column_1_1 {
    width: 97.5%;
}

.builder_layout_column_1_2 {
    width: 47.4%;
}

.builder_layout_column_1_3 {
    width: 30.33%;
}

.builder_layout_column_1_4 {
    width: 22%;
}

.builder_layout_column_1_5 {
    width: 16.8%;
}

.builder_layout_column_1_6 {
    width: 13.33%;
}

.builder_layout_column_2_3 {
    width: 64%;
}

/*65.3333%*/
.builder_layout_column_3_4 {
    width: 72.8%;
}

/*74*/
.builder_layout_column_2_5 {
    width: 37.6%;
}

.builder_layout_column_3_5 {
    width: 57.2%;
}

/*58.4*/
.builder_layout_column_4_5 {
    width: 78%;
}

/*79.2*/
.builder_layout_column_5_6 {
    width: 81.55%;
}

/*82.6666*/


.builder-container {
    margin-bottom: 30px;
}

.builder-container .ui-widget-header,
.builder-container .builder_layout_column {
    cursor: move;
}

.builder-container .container_menu {
    /* Flexbox handles positioning */
}

.builder-container .ui-widget-header .container_name,
.builder-container .card-header .container_name {
    /* Bootstrap form-control-plaintext handles styling */
    width: auto;
    flex-grow: 1;
    margin-right: 1rem;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.builder-container .ui-widget-header .container_name:active,
.builder-container .ui-widget-header .container_name:focus,
.builder-container .ui-widget-header .container_name:hover,
.builder-container .card-header .container_name:active,
.builder-container .card-header .container_name:focus,
.builder-container .card-header .container_name:hover {
    cursor: text;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Legacy container_menu_button styles removed in favor of Bootstrap classes */
.container .container_menu .container_menu_button.info_container_inactive .material-icons {
    color: #f44336;
}

.builder-row {
    margin: 10px 10px 20px 20px;
    min-height: 50px;
}

.builder-row .builder_layout_column {
    border: 1px solid var(--bs-border-color);
    float: none;
    display: inline-block;
    margin: 20px 1.2%;
    font-size: 12px;
    padding: 50px 20px 20px 20px;
    box-sizing: border-box;
    position: relative;
    vertical-align: top;
}

.builder-row .builder_layout_column .column_menu {
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    background-color: var(--bs-tertiary-bg);
}

.builder-row .builder_layout_column .column_menu_button {
    width: 30px;
    color: var(--bs-secondary-color);
    border-right: 1px solid var(--bs-border-color);
    border-bottom: 1px solid var(--bs-border-color);
    padding: 7px 0;
    float: left;
    cursor: pointer;
}

.builder-row .builder_layout_column .column_menu_button:first-of-type {
    cursor: auto;
}

.builder-row .builder_layout_column .column_menu_button .material-icons {
    color: var(--bs-secondary-color);
    font-size: 17px;
    vertical-align: bottom;
}

.builder-row .builder_layout_column .add_element,
.builder-row .builder_layout_column .edit_element {
    border: 1px dashed var(--bs-border-color);
    color: #c4c4c4;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    min-height: 29px;
    overflow-y: -webkit-paged-x;
    overflow-y: -moz-hidden-unscrollable;
    overflow-y: -moz-hidden-unscrollable;
    overflow-x: hidden;
}

.builder-row .builder_layout_column .add_element,
.builder-row .builder_layout_column .edit_element .widget_edit {
    text-align: center;
    box-sizing: border-box;
    vertical-align: middle;
    padding: 10px;
    /*
    position: relative;
    display: table;
    */
    width: 100%;
    position: relative;
}

.builder-row .builder_layout_column .edit_element .widget_edit {
    min-height: 43px;
}

.builder-row .builder_layout_column .edit_element .widget_preview {
    padding: 5px;
    display: block;
}

/*
.builder-row .builder_layout_column .add_element {
    display: table;
    width: 100%;
}
*/

.builder-row .builder_layout_column .edit_element .widget_edit a {

    position: absolute;
    /* margin: auto; */
    margin: 0 20px;
    width: 100%;
    width: -moz-available;
    width: -webkit-fill-available;
    width: fill-available;
    /* box-sizing: border-box; */
    top: calc(50% - 9px);
    display: block;
    left: 0;

}

.builder-row .builder_layout_column .add_element:hover a,
.builder-row .builder_layout_column .add_element:hover,
.builder-row .builder_layout_column .edit_element:hover a,
.builder-row .builder_layout_column .edit_element:hover {
    color: var(--bs-body-color);
    background-color: var(--bs-tertiary-bg);
}

.builder-row .builder_layout_column .add_element .material-icons,
.builder-row .builder_layout_column .edit_element .material-icons {
    vertical-align: top;
    font-size: 19px;
}

.builder-row .builder_layout_column .edit_element .widget_preview {
    overflow: hidden;
    word-wrap: break-word;
    color: var(--bs-body-color);
}

#new-containers-layer .builder_layout_column:last-child {
    margin-right: 0;
}

.builder-row .builder_layout_column.last {
    margin-right: 0;
}

.container_bottom_menu {
    position: absolute;
    bottom: 0;
    right: 0;
}

.add_new_column,
.add_new_container {
    display: none;
    cursor: pointer;
    padding: 5px 20px 5px 15px;
    border-top: 1px solid #aaa;
    border-left: 1px solid #aaa;
    color: var(--bs-secondary-color);
    float: left;
}

.add_new_column:hover,
.add_new_container:hover,
.builder-container .container_menu .container_menu_button:hover .material-icons,
.builder-row .builder_layout_column .column_menu_button:hover .material-icons {
    color: var(--bs-body-color);
}

.site_container_placeholder {
    border: 1px dashed var(--bs-border-color);
    background-color: var(--bs-tertiary-bg);
    float: none;
    display: inline-block;
    margin-top: 30px;
}


.site_container_placeholder_column {
    border: 1px dashed var(--bs-border-color);
    background-color: var(--bs-tertiary-bg);
    font-weight: bold;
    float: none;
    display: inline-block;
    margin: 20px 1.2%;
    padding: 0 20px;
}

#info_container,
#info_element {
    display: none;
    position: absolute;
    max-width: 320px;
    z-index: 1060;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.375rem;
    background: white;
}

#info_container .card-header,
#info_element .card-header {
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    background-color: var(--bs-tertiary-bg);
    border-bottom: 1px solid var(--bs-border-color);
    border-radius: 0.375rem 0.375rem 0 0;
}

#info_container .card-body,
#info_element .card-body {
    padding: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--bs-body-color);
}


#cboxLoadedContent {
    position: relative;
}

#new-element-layer {
    /*  width:auto; */
    height: 520px;
}

#new-element-layer #elements_menu,
#new-element-layer #elements_menu2 {
    width: 250px;
    overflow-x: hidden;
    overflow-y: auto;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 20px;
}

#new-element-layer #elements_menu .element_button,
#new-element-layer #elements_menu2 .element_button {
    padding: 5px 10px;
    border: 1px solid var(--bs-border-color);
    font-size: 15px;
    background-color: var(--bs-tertiary-bg);
    margin-bottom: 5px;
    cursor: pointer;
}

#new-element-layer #elements_menu .element_button:hover,
#new-element-layer #elements_menu2 .element_button:hover {
    background-color: #fff;
    cursor: pointer;
}

#new-element-layer #elements_menu .element_button i,
#new-element-layer #elements_menu2 .element_button i {
    vertical-align: middle;
    margin-right: 10px;
    font-size: 20px;
}

#new-element-layer #elements_menu_middle {
    display: inline-block;
    vertical-align: top;
    margin: 0 20px;
    width: auto;
    max-width: 300px;
    max-height: 400px;
    padding: 0 10px;
    overflow-x: hidden;
    overflow-y: auto;
}

#new-element-layer #elements_properties {
    min-height: 90px;
}


#edit-element-layer .ui-tabs,
#edit-container-layer .ui-tabs {
    border: none !important;
    padding: 0;

}

#edit-element-layer .ui-tabs .ui-corner-all,
#edit-container-layer .ui-tabs .ui-corner-all {
    border-radius: 0px;
}

#edit-element-layer .ui-tabs .ui-tabs-nav,
#edit-container-layer .ui-tabs .ui-tabs-nav {
    margin: 0;
    padding: 10px 0 0 20px;
}

#edit-element-layer #widget_content,
#edit-element-layer #widget_settings {
    padding: 20px 20px 60px 20px
}

#edit-element-layer #menu_bottom,
#edit-container-layer #menu_bottom {
    text-align: right;
    padding: 10px 20px;
    position: sticky;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    border-left: none;
    border-right: none;
    z-index: 100;
}

#edit-element-layer #menu_bottom,
#edit-container-layer #menu_bottom,
#new-element-layer #add_element_button {
    text-align: right;
    padding: 10px 20px;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    border-left: none;
    border-right: none;
    z-index: 100;
}

#edit-element-layer #menu_bottom,
#edit-container-layer #menu_bottom {
    position: sticky;
}

#new-element-layer #add_element_button {
    position: absolute;
    text-align: center;
}

#edit-element-layer #menu_bottom #element_saved,
#edit-container-layer #menu_bottom #container_saved {
    padding-right: 20px;
    color: #ffffff;
    display: none;
    text-shadow: 1px 1px 1px #000000;
    font-size: 15px;
    vertical-align: middle;
    letter-spacing: 3px;
}

#edit-element-layer #widget_image_preview .ui-resizable-e {
    border-right: 5px dashed var(--bs-border-color);
    right: -6px !important;
}

#edit-element-layer #widget_image_preview .ui-resizable-s {
    border-bottom: 5px dashed var(--bs-border-color);
    bottom: -6px !important;
}

#edit-element-layer #widget_content #widget_image_size {
    margin: 20px 0 30px 0;
}


#edit-element-layer #widget_content #widget_image_size input[type=text] {
    width: 55px;
    padding: 3px 5px;
    font-size: 14px;
    text-align: center;
}

#edit-element-layer #widget_content #widget_image_preview img {
    width: 100%;
    height: 100%
}

#accordion_pay4coins_arten td {
    font-size: 0.8rem;
}


/* Zum überschreiben von jQuery-UI.css damit Boostrap arbeiten kann */
#main2 .ui-button {
    background: none;
}

#main2 .ui-button:hover {
    color: transparnt;
    background: none;
}

/* SortableJS Visual Feedback */
.sortable-ghost {
    opacity: 0.4;
    background-color: var(--bs-tertiary-bg);
    border: 2px dashed var(--bs-border-color);
}

.sortable-chosen {
    background-color: var(--bs-secondary-bg);
}

.sortable-drag {
    cursor: move;
}

/* Base style for all list items to ensure handles are aligned */
#navilistuser .list-group-item {
    position: relative;
    padding-left: 45px !important;
    /* Space for the handle */
}

#navilistuser .list-group-item .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#navilistuser .handle {
    position: absolute !important;
    left: 0;
    top: 0;
    width: 45px !important;
    height: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 5;
    padding: 0 !important;
    max-width: none !important;
}

/* Indentation for sub-menus */
.sub_menu {
    background-color: var(--bs-tertiary-bg) !important;
    margin-left: 0 !important;
    /* Override potential database-injected margin */
}


.sub_menu .row {
    padding-left: 2.5rem !important;
    /* The actual indentation */
}

.sub_menu:hover {
    background-color: var(--bs-secondary-bg) !important;
}

.sub_menu .bi-arrow-return-right {
    margin-right: 5px;
    color: var(--bs-secondary-color);
}


/**
 *  Members Page - Redesign Styles
 ****************************************/

/* Sticky table header for members DataTables */
.member_list .table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: var(--bs-body-bg);
    border-bottom: 2px solid var(--bs-border-color);
}

/* Modern table header */
.table-header-modern th {
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bs-secondary-color) !important;
    white-space: nowrap;
    padding-top: 0.6rem !important;
    padding-bottom: 0.6rem !important;
    border-bottom: 2px solid var(--bs-border-color) !important;
    border-top: none !important;
    background-color: var(--bs-body-bg);
}

/* Pinned Tester row at the top of DataTable */
.table-pinned-row {
    background-color: rgba(var(--bs-info-rgb), 0.06) !important;
    border-left: 3px solid var(--bs-info) !important;
}

.table-pinned-row td {
    border-bottom: 2px solid var(--bs-border-color) !important;
}

/* Enhanced hover effect for table rows */
.member_list .table-hover tbody tr:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.06) !important;
    transition: background-color 0.15s ease;
}

/* Filter button active states with matching colors */
.filter-btn-group .btn-outline-success.active,
.filter-btn-group .btn-outline-success:active {
    background-color: var(--bs-success) !important;
    border-color: var(--bs-success) !important;
    color: #fff !important;
}

.filter-btn-group .btn-outline-warning.active,
.filter-btn-group .btn-outline-warning:active {
    background-color: var(--bs-warning) !important;
    border-color: var(--bs-warning) !important;
    color: #000 !important;
}

.filter-btn-group .btn-outline-danger.active,
.filter-btn-group .btn-outline-danger:active {
    background-color: var(--bs-danger) !important;
    border-color: var(--bs-danger) !important;
    color: #fff !important;
}

.filter-btn-group .btn-outline-secondary.active,
.filter-btn-group .btn-outline-secondary:active {
    background-color: var(--bs-secondary) !important;
    border-color: var(--bs-secondary) !important;
    color: #fff !important;
}

/* Accordion search header styling */
#searchAccordion .accordion-button:not(.collapsed) {
    background-color: rgba(var(--bs-primary-rgb), 0.05);
    color: var(--bs-primary);
    box-shadow: none;
}

#searchAccordion .accordion-button:focus {
    box-shadow: none;
    border-color: var(--bs-border-color);
}