/*
------------------------------------------------------------
ET-Chat – Dark Blue Theme
------------------------------------------------------------
*/

/* Grundlayout */

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body,
#body,
#body_id {
    background: #06131f;
    color: #e7f8ff;
    font-family: Arial, Verdana, sans-serif;
}

#body {
    text-align: center;
}

#body_id {
    width: 95%;
    max-width: 1500px;
    height: 100%;
    margin: 0 auto;
}

#rahmen_um_alles {
    margin: 20px 10px 14px;
}

/* Login */

#box {
    width: 260px;
    margin: 30px auto;
    overflow: hidden;
    border: 1px solid #1d6685;
    border-radius: 8px;
    background: #0b2232;
    color: #e7f8ff;
    font-size: 14px;
}

#ueberschrift {
    padding: 10px;
    border-bottom: 1px solid #1d6685;
    background: #0d3850;
    color: #8cf8ff;
    font-size: 15px;
    font-weight: bold;
}

#inhalt {
    padding: 14px;
    color: #e7f8ff;
    font-size: 12px;
}

#login {
    display: inline;
}

/* Kopfbereich */

#header {
    min-height: 100px;
    margin-bottom: 7px;
    padding: 10px;
    border: 1px solid #1d6685;
    border-radius: 8px;
    background: #0b2232;
    color: #e7f8ff;
}

#kopf {
    min-height: 32px;
    margin-bottom: 7px;
    padding: 8px 10px;
    border: 1px solid #1d6685;
    border-radius: 8px;
    background: #0b2232;
    color: #e7f8ff;
    font-size: 14px;
}

#kopf2 {
    padding: 3px;
    color: #8cf8ff;
    font-size: 14px;
    font-weight: bold;
}

/* Online-Liste */

#onlinelist {
    float: right;
    width: 285px;
    height: calc(70% - 45px);
    min-height: 260px;
    overflow: auto;
    padding: 8px;
    border: 1px solid #1d6685;
    border-radius: 8px;
    background: #0b2232;
    color: #e7f8ff;
    font-size: 13px;
}

#splitpane {
    float: right;
    width: 8px;
    height: calc(70% - 45px);
    min-height: 260px;
    margin: 1px;
    overflow: hidden;
    cursor: e-resize;
    background: url("../../img/splitpane.png") center center no-repeat;
}

/* Chatbereich */

#chatinhalt {
    position: relative;
    height: calc(70% - 45px);
    min-height: 260px;
    overflow: auto;
    padding: 10px;
    border: 1px solid #1d6685;
    border-radius: 8px;
    background: #071b2a;
    color: #e7f8ff;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
}

/* Nachrichtenstruktur */

#chatinhalt > div[id^="a"] {
    clear: both;
    width: 100%;
}

/* Name fremder Chatter */

#chatinhalt > div[id^="a"] > .msg {
    width: 60%;
    min-height: 29px;
    margin: 0;
    padding: 0 4px 3px;
    color: #8cf8ff;
    font-size: 15px;
    font-weight: bold;
    line-height: 26px;
    text-align: left;
}

/* Name eigener Chatter */

#chatinhalt > div[id^="a"] > .msgs {
    width: 60%;
    min-height: 29px;
    margin: 0 0 0 auto;
    padding: 0 4px 3px;
    color: #8cf8ff;
    font-size: 15px;
    font-weight: bold;
    line-height: 26px;
    text-align: right;
}

#chatinhalt > div[id^="a"] > .msg img {
    width: 25px;
    height: 25px;
    margin-right: 4px;
    vertical-align: bottom;
}

#chatinhalt > div[id^="a"] > .msgs img {
    width: 25px;
    height: 25px;
    margin-left: 4px;
    vertical-align: bottom;
}

/* Nachrichtentext-Kachel: das zweite DIV jeder Nachricht */

#chatinhalt > div > div:nth-child(2) {
    display: block !important;
    width: 60% !important;
    min-height: 40px !important;
    margin: 0 0 12px 0 !important;
    padding: 8px 10px !important;
    border: 1px solid #38b9de !important;
    border-radius: 8px !important;
    background: #103e50 !important;
    box-shadow: inset 0 0 0 1px rgba(140, 248, 255, 0.18) !important;
    text-align: left !important;
}

/* Eigene Nachricht rechts */

#chatinhalt > div:has(> .msgs) > div:nth-child(2) {
    margin-right: 0 !important;
    margin-left: auto !important;
}

/* Text in der Nachricht */

/* Nachrichtentext – Farbe kommt direkt aus dem ET-Chat-HTML */
#chatinhalt > div > div.messback > span:first-child,
#chatinhalt > div > div.messself > span:first-child {
    display: inline;
    float: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 14px;
    font-weight: normal;
}

/* Uhrzeit in der Nachricht */

#chatinhalt > div > div:nth-child(2) > span:last-child {
    display: inline-block !important;
    float: right !important;
    margin-left: 8px !important;
    padding: 1px 4px !important;
    border: 0 !important;
    border-radius: 1px !important;
    background: #c7c7c7 !important;
    color: #000000 !important;
    font-size: 11px !important;
    font-weight: bold !important;
    line-height: 15px !important;
}

/* Alte Klassen bleiben drin, falls ET-Chat sie direkt nutzt */

#chatinhalt .messback,
#chatinhalt .messself {
    color: #e7f8ff !important;
}

/* Systemmeldungen */

#chatinhalt > div > .sysmsg,
.sysmsg {
    margin: 6px 0;
    padding: 6px 8px;
    border: 1px solid #1d6685;
    border-radius: 6px;
    background: #0a2b3e;
    color: #8cf8ff;
    text-align: left;
}

/* Eingabe */

#form {
    clear: both;
    margin-top: 8px;
    padding: 8px 10px;
    border: 1px solid #1d6685;
    border-radius: 8px;
    background: #0b2232;
    color: #e7f8ff;
}

#form_left,
#form_right {
    position: relative;
    float: left;
}

#form_right {
    padding: 2px;
}

input,
textarea,
select,
#message,
.private_message_field {
    border: 1px solid #2a7595;
    border-radius: 5px;
    background: #07131e;
    color: #e7f8ff;
    font-family: Arial, Verdana, sans-serif;
    outline: none;
}

input,
textarea,
select {
    padding: 7px 9px;
}

input:focus,
textarea:focus,
select:focus,
#message:focus,
.private_message_field:focus {
    border-color: #8cf8ff;
    box-shadow: 0 0 7px rgba(140, 248, 255, 0.40);
}

#message {
    padding: 7px 9px;
    font-size: 16px;
}

.private_message_field {
    width: 300px;
    margin-top: 2px;
    padding: 6px 8px;
}

/* Buttons */

input[type="submit"],
input[type="button"],
button,
.privat_win_button {
    padding: 7px 12px;
    border: 1px solid #4eb4d6;
    border-radius: 5px;
    background: #11607d;
    color: #ffffff;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover,
.privat_win_button:hover {
    background: #1683a8;
}

/* Links */

.img_button,
.grafics {
    cursor: pointer;
}

.grafics {
    margin-left: 5px;
}

a:link,
a:visited,
a:active {
    color: #8cf8ff;
    font-family: Arial, sans-serif;
    font-size: 10pt;
    text-decoration: none;
}

a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Räume */

.rooms,
.rooms_not_allowed {
    margin-bottom: 3px;
    padding: 4px 6px;
    border: 1px solid #1d6685;
    border-radius: 5px;
    background: #0d3850;
    color: #8cf8ff;
    cursor: pointer;
}

.rooms:hover {
    background: #15506b;
}

.rooms_not_allowed {
    border-color: #7f3544;
    background: #30151e;
    color: #f0a0ae;
    cursor: not-allowed;
}

/* Private Nachrichten */

#privat_messages {
    position: absolute;
    top: 100px;
    left: 100px;
    padding: 7px;
    border: 1px solid #1d6685;
    background: #071b2a;
}

.privat_ausg_an,
.privat_ausg_von {
    padding: 5px;
    border-radius: 5px;
    background: #0d3850;
    color: #e7f8ff;
}

.privat_ausg_von {
    background: #123f50;
}

#close_privat {
    padding: 0 4px;
    color: #8cf8ff;
    cursor: pointer;
    font-size: 10px;
}

#privat_anzeige {
    height: 0;
    padding-bottom: 3px;
}

#privat_modus {
    color: #9ab5c5;
    font-size: 10px;
}

.privat_mesages_window {
    height: 165px;
    overflow: auto;
    padding: 6px;
    border: 1px solid #1d6685;
    background: #07131e;
    color: #e7f8ff;
}

.privat_win_button {
    width: 190px;
    margin-top: 3px;
    text-align: center;
}

/* Private Fenster-Nachrichten */

.messback2,
.messself2 {
    display: inline-block;
    margin-bottom: 3px;
    padding: 2px 8px 2px 5px;
    border: 1px solid #38b9de;
    border-radius: 8px;
    background: #103e50;
    color: #e7f8ff;
}

.messself2 {
    color: #b8fbff;
}

/* Fenster-Stil */

.colorpick {
    width: 100%;
    border: 1px solid #1d6685;
    background: #0d3850;
    color: #e7f8ff;
    cursor: pointer;
    font-size: 10px;
}

.dialog {
    color: #e7f8ff;
    font-family: Arial, Verdana, sans-serif;
    font-size: 16px;
}

.overlay_etchat_white {
    background-color: #000000;
    filter: alpha(opacity=70);
    -moz-opacity: 0.70;
    opacity: 0.70;
}

.etchat_white_nw,
.etchat_white_n,
.etchat_white_ne {
    height: 24px;
    border-color: #1d6685;
    background: #0d3850;
}

.etchat_white_nw {
    width: 10px;
    border-top: 1px solid #1d6685;
    border-bottom: 1px solid #1d6685;
    border-left: 1px solid #1d6685;
}

.etchat_white_n {
    border-top: 1px solid #1d6685;
    border-bottom: 1px solid #1d6685;
}

.etchat_white_ne {
    width: 10px;
    border-top: 1px solid #1d6685;
    border-right: 1px solid #1d6685;
    border-bottom: 1px solid #1d6685;
}

.etchat_white_w,
.etchat_white_e {
    width: 10px;
    background: #071b2a;
}

.etchat_white_w {
    border-left: 1px solid #1d6685;
}

.etchat_white_e {
    border-right: 1px solid #1d6685;
}

.etchat_white_sw,
.etchat_white_s,
.etchat_white_se,
.etchat_white_sizer {
    height: 5px;
    border-bottom: 1px solid #1d6685;
    background: #071b2a;
}

.etchat_white_sw {
    width: 10px;
    border-left: 1px solid #1d6685;
}

.etchat_white_se,
.etchat_white_sizer {
    width: 10px;
    border-right: 1px solid #1d6685;
}

.etchat_white_sizer {
    cursor: se-resize;
}

.etchat_white_close,
.etchat_white_minimize,
.etchat_white_maximize {
    position: absolute;
    z-index: 1000;
    width: 23px;
    height: 23px;
    cursor: pointer;
}

.etchat_white_close {
    top: 0;
    right: 11px;
    background: transparent url(button-close-focus.gif) no-repeat 0 0;
}

.etchat_white_minimize {
    top: 0;
    right: 55px;
    background: transparent url(button-min-focus.gif) no-repeat 0 0;
}

.etchat_white_maximize {
    top: 0;
    right: 33px;
    background: transparent url(button-max-focus.gif) no-repeat 0 0;
}

.etchat_white_title {
    float: left;
    width: 100%;
    height: 18px;
    margin-top: 3px;
    color: #8cf8ff;
    font-family: Arial, Verdana, sans-serif;
    font-size: 11px;
    font-weight: bold;
    text-align: left;
}

.etchat_white_content {
    overflow: auto;
    padding-top: 6px;
    background: #071b2a;
    color: #e7f8ff;
    font-family: Arial, sans-serif;
    font-size: 12px;
}

/* Footer */

#copyright {
    display: block;
    width: 100%;
    margin: 22px 0 20px;
    padding: 10px 16px;
    border: 1px solid #1d6685;
    border-radius: 8px;
    background: #0b2232;
    color: #9ab5c5;
    font-size: 10px;
    line-height: 1.45;
    text-align: right;
}

#copyright a,
#copyright a:link,
#copyright a:visited {
    color: #8cf8ff;
    font-size: inherit;
    text-decoration: none;
}

#copyright a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Scrollleisten */

#chatinhalt::-webkit-scrollbar,
#onlinelist::-webkit-scrollbar,
.privat_mesages_window::-webkit-scrollbar,
.etchat_white_content::-webkit-scrollbar {
    width: 10px;
}

#chatinhalt::-webkit-scrollbar-track,
#onlinelist::-webkit-scrollbar-track,
.privat_mesages_window::-webkit-scrollbar-track,
.etchat_white_content::-webkit-scrollbar-track {
    background: #06101a;
}

#chatinhalt::-webkit-scrollbar-thumb,
#onlinelist::-webkit-scrollbar-thumb,
.privat_mesages_window::-webkit-scrollbar-thumb,
.etchat_white_content::-webkit-scrollbar-thumb {
    border: 2px solid #06101a;
    border-radius: 10px;
    background: #167b9c;
}

#chatinhalt::-webkit-scrollbar-thumb:hover,
#onlinelist::-webkit-scrollbar-thumb:hover,
.privat_mesages_window::-webkit-scrollbar-thumb:hover,
.etchat_white_content::-webkit-scrollbar-thumb:hover {
    background: #38b9de;
}

/* Mobile */

@media screen and (max-width: 760px) {
    #body_id {
        width: 100%;
    }

    #rahmen_um_alles {
        margin: 12px 5px;
    }

    #onlinelist {
        float: none;
        width: 100%;
        height: 180px;
        min-height: 0;
        margin-top: 8px;
    }

    #splitpane {
        display: none;
    }

    #chatinhalt {
        height: 380px;
        min-height: 0;
    }

    #chatinhalt > div[id^="a"] > .msg,
    #chatinhalt > div[id^="a"] > .msgs,
    #chatinhalt > div > div:nth-child(2) {
        width: 88% !important;
    }

    #message,
    .private_message_field {
        width: 100%;
    }

    #copyright {
        margin: 16px 0;
        padding: 8px 10px;
    }
	.grafics {
    cursor: pointer;
	margin-left: 5px;
}
}
.grafics:hover {
 transform: scale(0.9) rotate(360deg);
-moz-transform: scale(0.9) rotate(360deg);
-webkit-transform: scale(0.9) rotate(360deg);
-o-transform: scale(0.9) rotate(360deg);
-ms-transform: scale(0.9) rotate(360deg);
transform: scale(0.9) rotate(360deg);
transition: all 0.6s ease-in 0s;
}

/* =========================
   Eingabeleiste korrekt
   ========================= */

#form {
    clear: both;
    margin-top: 8px;
    padding: 8px 10px;
    border: 1px solid #1d6685;
    border-radius: 8px;
    background: #0b2232;
    color: #e7f8ff;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
}

#form_left {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#form_right {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 0 auto !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

#message {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 34px !important;
    line-height: 34px !important;
    margin: 0 !important;
    padding: 0 10px !important;
}

/* Alle Icons/Buttons in dieselbe Zeile */

#form_right img,
#form_right a,
#form_right .grafics,
#form_right .img_button {
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 !important;
}

/* Onlinezeit ebenfalls in die Reihe */

#form_right span,
#form_right div {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
}

/* Falls vor der Onlinezeit ein unnötiger Umbruch/Block sitzt */

#form_right br {
    display: none !important;
}
#form_left,
#form_right {
    float: none !important;
    display: inline-block !important;
    vertical-align: top !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
}

#form_right {
    position: relative !important;
    top: 1px !important;
}
#form_left {
    padding-top: 0 !important;
}

#form_right {
    padding-top: 0 !important;
    line-height: 34px !important;
}
/* Formular wirklich in eine Zeile zwingen */

#message_form br {
    display: none !important;
}

#message_form {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
}

#form_left {
    float: none !important;
    width: auto !important;
    flex: 0 0 400px !important;
    margin: 0 !important;
    padding: 0 !important;
}

#form_right {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

#message {
    width: 400px !important;
    height: 34px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

#form_right .grafics,
#form_right img,
#form_right a {
    margin: 0 !important;
    vertical-align: middle !important;
}
#onlinelist > b:first-child {
    position: relative;
    top: -3px;
    display: inline-block;
}	
#chat_player_area {
    width: 100%;
    margin: 12px 0 14px 0;
    clear: both;
}

.chat-player-box {
    background: #1b2230;
    border: 1px solid #344155;
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    color: #e8edf5;
}

.chat-player-info {
    margin-bottom: 10px;
}

.chat-player-title {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.2;
}

.chat-player-subtitle {
    font-size: 12px;
    color: #aeb9c8;
    margin-top: 3px;
}

.chat-player-controls audio {
    width: 100%;
    display: block;
}

.chat-player-error {
    padding: 10px 12px;
    border-radius: 8px;
    background: #3a2430;
    color: #ffd7df;
    font-size: 12px;
}

	
}