@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

@import url("https://fonts.googleapis.com/css?family=Lato:400,400i|Montserrat:400,400i&subset=latin-ext");

@import url('https://fonts.googleapis.com/css2?family=Quicksand&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');
.join-room-message {display: flex;align-items: center;border-radius: 12px;padding: 12px 8px;height: 60px;box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);font-size: 8px;color: #fff;margin: 10px 0;width: 531px;max-width: 301px;}
.join-room-avatar {background-size: cover;border-radius: 50%;width: 36px;height: 36px;margin-right: 16px;cursor: pointer;transition: transform 0.3s ease;}
.join-room-text {font-size: 11px;font-weight: 600;color: #4caf50;flex: 1;}
.join-room-username { font-weight: bold; }
.join-room-action { font-weight: 700; }
.join-room-rank { font-weight: 600; }
.join-room-icon { font-size: 22px; margin-left: 12px; }
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    padding: 20px;
    background: #ffffff;
    color: #222;
    z-index: 1000;
    border-radius: 12px;
    text-align: center;
}

.popup h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.popup p {
    font-size: 16px;
    margin-bottom: 10px;
}

.popup ul {
    text-align: left;
    padding-left: 20px;
}

.popup li {
    font-size: 14px;
    margin: 5px 0;
}

.popup a {
    color: #0088cc;
    text-decoration: none;
}

.popup-buttons {
    margin-top: 15px;
}

.popup-buttons .accept {
    background: #0088cc;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.popup-buttons .decline {
    background: #e74c3c;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    margin-left: 10px;
}

.popup-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.name-change-log, .kick-log, .ban-log, .mute-log, .block-log { border-radius: 8px; padding: 5px; margin: 5px 0; display: inline-flex; align-items: center; }
.name-change-log { background-color: #e6ffe6; border: 1px solid #00b300; color: #005700; }
.kick-log { background-color: #fff3e6; border: 1px solid #ff9900; color: #cc7a00; }
.ban-log { background-color: #ffe6e6; border: 1px solid #d50000; color: #b30000; }
.mute-log { background-color: #fff9e6; border: 1px solid #d6c300; color: #b3a700; }
.block-log { background-color: #e6ffe6; border: 1px solid #00b300; color: #005700; }
.name-change-log i, .kick-log i, .ban-log i, .mute-log i, .block-log i { margin-right: 5px; }
.clear-room-message { background: #1e1e1e; color: #e1e1e1; padding: 8px 12px; border-radius: 10px; border: 2px solid #00d4ff; font-family: monospace; font-size: 1.1em; text-align: center; box-shadow: 0 4px 8px rgba(0, 212, 255, 0.2); max-width: 80%; margin: 10px auto; }
.anonymous_tag {
background: linear-gradient(45deg, #C19A00, #B8860B);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
@media (max-width: 768px) { .join-room-message { width: 100% !important; padding: 10px 12px; font-size: 12px; } .join-room-message div[onclick^="getProfile"] { width: 40px !important; height: 40px !important; } .join-room-message .content span { font-size: 12px !important; } .join-room-message i { font-size: 18px !important; margin-left: 8px; } }

html {
    margin: 0em;
    padding: 0;
    height: 100%;
    width: 100%;
}
body {
    font-family: 'Lato', "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols", sans-serif !important;
}
body {
    background-color: white;
}
body {
    background: url("../default_images/backsystem.png") 0% 0% / contain repeat rgb(1, 83, 167);
    animation: przeplyw 13000s linear infinite;
}
#chat_head {
    height: auto;
    align-items: center;
    justify-content: space-between;
}

.top_background, .background_header, .chat_head, .chat_footer, .panel_top, .emo_head, .modal_top {
    background: hsl(210.43deg 99.24% 32.87%);
    color: #fff;
}
#main_logo {
    height: 51px;
    width: auto;
}
#global_chat {
    position: relative;
    z-index: ;
    border-radius: 12px;
    border-left: 1px solid #FF6666;
    border-right: 1px solid #FF6666;
    border-bottom: 1px solid #FF6666;
    margin-left: 1%;
    border-top: 1px solid #FF6666;
    width: 98%;
}
::-webkit-scrollbar {
  width: 5px;
  height: 0px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
::-webkit-scrollbar-thumb {
  background: hsl(210.43deg 99.24% 32.87%); 
}

::-webkit-scrollbar-thumb:hover {
  background: #6DA7FF; 
}
.chat_head, .chat_footer {
    background: none;
}
/* .head_option .i_btm , .head_option{
	font-size:28px;
} */
.chat_head_logo {
    width: auto;
    display: flex;
    align-items: center;
    width: 130px;
    justify-content: space-between;
    height: 45px;
    margin-top: 15px;
}

.room_element3 {
    position: relative;
    display: table;
    padding: 5px 10px;
    padding-right: 15px;
    margin-left: 3px;
    table-layout: fixed;
    z-index: 13;
    float: left;
    cursor: pointer;
    margin-top: 2px!important;
    font-size: 14px;
    background-color: hsl(210.43deg 99.24% 32.87%);
    color: white;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.room_element3 {
    border: 1px solid #FF6666;
    top: 1px;
}

@media screen and (max-width: 768px) {
	#main_logo {
	    display:none;
		height: 31px;
		padding: 0px;
		margin: 19px 0;
		margin-right: 10px;
	}
	.chat_head_logo{
	    display:none;
	}
	.head_option .i_btm , .head_option{
		font-size: 6px;
	}
	.custom_header{
	    width:100%!important;
	}
}
.avatar_menu {
    width: 40px;
    height: 40px;
}
.top_status {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: block;
    position: absolute;
    top: 4px;
    left: 26px;
    border: 1px solid #fff;
    background: #fff;
}
#my_menu {
    width: 100%;
    height: 50px;
    display: table;
    table-layout: fixed;
}
.chat_head, .chat_footer {
    background: none;
}
.bfoot {
    background: none;
    color: #fff;
}

input, textarea, .post_input_container {
    background: #f2f2f2;
    color: #666;
}
#content, #message_content {
    width: 100%;
    height: 100%;
    padding: 0;
    padding: 0 5px;
    float: left;
    font-size: 16px;
    border-radius: 10px;
}
textarea, input {
    resize: none;
    font-size: 14px;
    font-family: sans-serif, "trebuchet ms", "lucida grande",
    "lucida sans unicode", arial, helvetica, sans-serif;
}
.td_input {
    height: 100%;
    display: table-cell;
    padding: 0 3px;
}

.default_btn {
    background: hsl(210.43deg 99.24% 32.87%);
    color: #fff;
}
#submit_button {
    width: 67%;
    float: right;
    height: 100% !important;
    box-shadow: none !important;
    padding: 4px;
    border: none !important;
    font-size: 13px;
}
button {
    border: none;
    outline: none !important;
    cursor: pointer;
}
.back_input {
    background: #fff;
    border-top: 0;
}
#main_input {
    position: relative;
    width: calc(100% + 2px);
    background-color: white;
    padding-top: 8px;
    height: 45px;
}

#chat_main_menu{
	right: 30px;
	border-radius: 22px 0;
}
.right-toggle {
    position: absolute;
    top: 45%;
    right: 280px;
    width: 30px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    z-index: 10;
    cursor: pointer;
    transform: translateY(-44%);
    background: #fff;
    color: silver;
    border: 1px solid #ededed;
    border-right: 0;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    box-shadow: rgba(0,0,0,.5) 0 0 0 , rgba(0,0,0,.1) 0 1px 6px;
}
#chat_right[style*="display: none"]+.right-toggle, #chat_right:not([style*=display])+.right-toggle {
    right: 0;
}
.toggler-wrapper {
        margin-top: -4px;
	display: inline-block;
	width: 45px;
	height: 25px;
	cursor: pointer;
	position: absolute;
}

.toggler-wrapper input[type="checkbox"] {
	display: none;
}

.toggler-wrapper input[type="checkbox"]:checked+.toggler-slider {
	background-color: #eb4f37;
}

.toggler-wrapper .toggler-slider {
	background-color: #ccc;
	position: absolute;
	border-radius: 100px;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-transition: all 300ms ease;
	transition: all 300ms ease;
}

.toggler-wrapper .toggler-knob {
	position: absolute;
	-webkit-transition: all 300ms ease;
	transition: all 300ms ease;
}

.toggler-wrapper.style-21 input[type="checkbox"]:checked+.toggler-slider .toggler-knob {
	left: calc(100% - 19px - 3px);
}

.toggler-wrapper.style-21 .toggler-slider {
	background-color: #44cc66;
}

.toggler-wrapper.style-21 .toggler-knob {
	width: calc(25px - 6px);
	height: calc(25px - 6px);
	border-radius: 50%;
	left: 3px;
	top: 3px;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center;
}


.nightDay {
    position: relative;
    left: 10px;
    bottom: -15px;
    color: white;
    font-size: 12px;
    max-width: 40%;
}


/*custom_log*/

.ch_logs {
    padding: 7px;
    word-wrap: break-word;
    display: table;
    width: 100%;
    table-layout: fixed;
    max-width: 100%;
    overflow: hidden;
    cursor: pointer;
}

.cavatar {
    height: 20px;
    width: 20px;
}
.chat_avatar {
    display: table-cell;
    width: 20px;
    vertical-align: middle;
    position: relative;
}
.cdate{
	width: 40px;
}
.topic_log {
    border: 1px solid green;
    border-radius: 12px;
    background: #c5ffe3!important;
    color: #0d261a;
}
.tpicon {
    height: 20px;
    width: 20px;
}
 .my_text .chat_message, .usernamefont {
    font-size: 115%;
    margin-right: 4px;
}
.chat_message {
    letter-spacing: 0.1px ;
}
.head_option {
    display: inline-block !important;
    width: 31%;
    vertical-align: middle;
    font-size: 22px;
    text-align: center;
    position: relative;
    cursor: pointer;
}


@media screen and (max-width: 600px) {
	.my_text .username,
	.my_text .chat_message,
	.usernamefont {
	  font-size: 15px;
	  margin-right: 4px;
	}
	.emo_chat {
	  height: 19px;
	}
}
.panel_bar {
    border-radius: 12px;
    border-bottom: 2px solid hsl(210.43deg 99.24% 32.87%)!important;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.user_count {
    background: hsl(210.36deg 98.81% 32.94% / 11%);
}
.back_theme {
    background: hsl(210.43deg 99.24% 32.87%);
    color: #fff;
}
.custom_header{
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 80%;
	margin-top: 20px;
	margin-right: -20px;
}
@media screen and (min-width: 900px) {
    .custom_header {
        width: 30%;
    }
	#chat_main_menu, #status_menu, #report_menu, #notification_menu, #bank_menu, #friends_menu, #private_menu {
		top: 60px;
	}
	.head_option {
		font-size: 30px;
	}
	.head_notify {
		top: 0;
		left: 22px;
	}
}
.cmain_item{
	width: 62px;
}
#submit_button {
    width: 64%;
    float: none;
    height: 99% !important;
    box-shadow: none !important;
    ne !important;
    font-size: 18px;
}
.send_btn {
    border-radius: 5px;
}
@media only screen and (max-width: 4000px) and (min-width: 1701px) {


	 .avstaty {
	width: 50%!important;
	margin-left: 8%!important;

    }}

    @media only screen and (max-width: 1700px) and (min-width: 1000px) {

      .zajawka {
	display: none;
	}

	 .avstaty {
	width: 60%!important;
	margin-left: 8%!important;
       margin-top: 50px!important;
      -webkit-transform: scale(0.60);
      -webkit-transform-origin: 0 0;

    }}

    @media only screen and (max-width: 999px) and (min-width: 1px) {

      .zajawka {
	display: none;
	}

	 .avstaty {
        display:none;
	width: 60%!important;
	margin-left: 0%!important;
       margin-top: 110px!important;
      -webkit-transform: scale(0.50);
      -webkit-transform-origin: 0 0;

    }}

  @media screen and (max-width: 700px) {
    .avnick {
      font-size: 9px;
      display: none;
    }
                                       
}
.bselected {
	padding: 1px 6px;
    display: table-cell;
    vertical-align: middle;
    width: auto;
    text-align: center;
    font-size: 15px;
    cursor: pointer;
    border-radius: 4px;
}
.emo_head .bselected{
	width: 40px;
	padding:0;
}
.customusername {
    font-size: 115%;
    margin-right: 4px;
}
.ch_logs, .other_logs {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(0);
    }
    to {
        opacity: 1;
        transform: translateY(-4px);
    }
}
/* .ch_logs{
    display: flex;
    justify-content: center;
}
 */
.emo_chat{height: 20px;}

.cname {
    display: -webkit-box;
    vertical-align: middle;
    /* align-content: center; */
    align-items: center;
}
.username{
	margin-right: 5px;
}
.back_ptop {
    background: hsl(210.43deg 99.24% 32.87%);
    color: #fff;
}
#private_send {
    width: 100%;
    height: 100% !important;
    cursor: pointer;
}
.pboxed, .pfull{
	bottom: 0;
}
.background_stream {
    background-color: hsl(210.43deg 99.24% 32.87%);
}
/* .iccam{
    color: #7a7979;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    background: #f5f5f5;
    width: 39px;
} */
.iccam{
	width: 45px;
}
/* .cname {
    display: flex;
    vertical-align: middle;
} */

#left_panel_bar{
    justify-content: space-between;
    align-items: center;
}
.head_notify {
    position: absolute;
    top: 0;
    right: 5px;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    display: none;
}

.image-container {
    position: absolute;
    right: 20px;
    margin: 0px;
    z-index: 998;
    text-align: right;
    top: 14px;
}
.custom_rooms > span:only-child .close {
    display: none;
}
.active_room{
	background-color: rgb(255, 102, 102); display: block;
}
.room_element3 {
    flex-shrink: 0;
}
.room_list_custom {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    gap: 10px;
}
.room_list_custom::-webkit-scrollbar {
    height: 8px;
}
.room_list_custom::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    border-radius: 10px;
}

.room_list_custom::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}
#chat_right[style*="display: none"]+.right-toggle,#chat_right:not([style*=display])+.right-toggle {
    right: 0
}

#chat_right[style*="display: none"]+.right-toggle .fa::before,#chat_right:not([style*=display])+.right-toggle .fa::before {
    content: "\f060"
}
.my_text .username, .my_text .chat_message, .usernamefont {
    font-size: 15px;
    margin-right: 4px;
}
/* .chat_message {
    letter-spacing: 0.1px;
    display: inline!important;
} */
.chat_message {
    display: inline!important;
    word-break: break-word;
}
.chat_avatar {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    display: inline-block;
}
.my_text{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
.username {
    text-wrap: nowrap;
}
.cname {
    display: flex;
    align-items: center;
}
.chat_message {
    display: inline-table;
    word-break: break-word;
}
.my_text .btable {
    display: flex !important;
    width: inherit;
}
.cdate {
    margin-left: auto;
}
.cclear, .spclear {
    display: table-cell;
    min-width: 24px;
    font-size: 12px;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
}
.chat_message {
    width: 100%;
    height: 100%;
}
.cdate {
    color: #ccc!important;
    display: table-cell;
    min-width: 50px;
    vertical-align: middle;
    text-align: center;
    font-size: 10px;
}
.emo_chat {
    height: 20px;
    max-width: 100%;
    vertical-align: middle;
}
.cclear, .spclear, .tpclear {
    display: table-cell;
    min-width: 24px;
    font-size: 12px;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
}
#room_list_custom {
    margin-left: 10px;
    margin-right: 10px;
    display: flex;
    overflow-x: auto;
    padding-bottom: 0;
    width: 100%;
}
#my_menu{
	margin-left: 12px;
}
@media screen and (min-width: 769px) {
  #chat_right {
    width: 415px !important
  }
	.right-toggle {
		right: 415px;
	}
	#room_list_custom {
		margin-left: 26px;
	}
}
.panel_selected {
    border-radius: 4px;
}
.panel_bar_item, .panel_option, .side_bar_item {
    padding: 1px 6px;
    display: table-cell;
    vertical-align: middle;
    width: auto;
    text-align: center;
    font-size: 15px;
    cursor: pointer;
}
        #custom-player {
            border-top: 2px solid hsl(210.43, 99.24%, 32.87%);
            border-bottom: 0.1px solid #c3d2ff;
            width: 100%;
            height: 50px;
            background: white;
            color: hsl(210.43, 99.24%, 32.87%);
            padding: 10px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-sizing: border-box;
        }

        #play-pause {
            font-size: 18px;
            color: hsl(210.43, 99.24%, 32.87%);
            border: none;
            background: none;
            cursor: pointer;
        }

        #volume {
            width: 40%;
            height: 5px;
            background: hsl(210.43, 99.24%, 32.87%);
            border-radius: 5px;
            outline: none;
        }

        #volume::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background: hsl(210.43, 99.24%, 42.87%);
            cursor: pointer;
        }

        #channel-select {
            width: 100%;
            height: 30px;
            color: hsl(210.43, 99.24%, 32.87%);
            background: white;
            border: 1px solid #c3d2ff;
            border-radius: 5px;
            padding: 5px;
            box-sizing: border-box;
        }