﻿body
{
    overscroll-behavior: contain;
    overflow: hidden;
}
div.ct
{
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: #000000;
    z-index: 1;
    visibility: hidden;
}

div.ct_main_left
{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 256px;
    bottom: 0px;
    overflow: hidden;
}


div.ct_main_right
{
    position: absolute;
    top: 0px;
    right: 0px;
    left: 256px;
    bottom: 0px;
}

div.goBottomBtn{
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #00608a;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.15s ease, transform 0.15s ease;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}
div.goBottomBtn:hover {
    opacity: 1;
    transform: scale(1.15);
}

div.ct_client
{
    position: relative;
    width: 100%;
    height: 100%;
}

div.ct_room_list_item
{
    position: relative;
    width: calc(100% - 8px);
    height: 40px;
    font-size: 16px;
    margin: 2px 4px;
    border-radius: 8px;
    box-sizing: border-box;
    transition: background-color 0.12s ease;
}

span.ct_room_list_item_read
{
    color: rgb(106 150 197 / 82%);
    overflow: hidden;
    white-space: pre;
    position: absolute;
    left: 8px;
    right: 36px;
    top: 13px;
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 13px;
}

span.ct_room_list_item_unread
{
    color: #4db8e8;
    font-weight: bold;
    overflow: hidden;
    white-space: pre;
    position: absolute;
    left: 8px;
    right: 36px;
    top: 13px;
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 13px;
}

span.ct_room_list_item_selected
{
    color: #ffffff;
    font-weight: bold;
    overflow: hidden;
    white-space: pre;
    position: absolute;
    left: 12px;
    right: 36px;
    top: 13px;
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 13px;
}

div.ct_room_list_item:has(> span.ct_room_list_item_selected)
{
    background-color: rgba(0, 96, 138, 0.35);
    border-left: 3px solid #4db8e8;
    border-radius: 0 8px 8px 0;
}

button.ct_room_list_close
{
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: #dd5c5c8a;
    color: #dc3545;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: background 0.15s, color 0.15s;
    padding: 0;
}

button.ct_room_list_close:hover
{
    background: rgba(220, 53, 53, 0.22);
    color: #ff6b6b;
}


/* pm tab */

div.ct_client_top
{
    background-color: rgb(0, 96, 138);
    position: relative;
}
div.ct_client_tab_button
{
    display: inline-block;
    height: 32px;
    padding-left: 2px;
    padding-right: 2px;
    cursor: pointer;
    color:#c8d6e5;
    background-color: rgb(0, 96, 138);
}

div.ct_client_tab_selected
{
    background-color: rgb(0, 96, 138);
    color: #ffffff;
    border-bottom: 2px solid #4db8e8;
}
div.ct_client_tab_button:hover
{
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

div.ct_tab_item_container
{
    display: table-cell;
    height: 32px;
    font-size: 12px;
}

div.ct_tab_text
{
    padding-top: 10px;
    padding-left: 2px;
    padding-right: 10px;
    color:#c8d6e5;
}

img.ct_tab_img
{
    width: 16px;
    margin-bottom: -2px;
    padding-left: 2px;
}



/* inbox */

div.ct_client_middle
{
    position: relative;
}

div.ct_topic_container
{
    position: absolute;
    top: 0px;
    height: 26px;
    width: 100%;
    overflow: hidden;
    left: 0px;
    right: 0px;
}

div.ct_topic_panel
{
    position: absolute;
    top: 4px;
    height: 20px;
    left: 26px;
    right: 24px;
    background-color: white;
}

.ct_topic{
    width: 1000px;
    height: 20px;
}
.ct_topic:hover{
    display: flex;
    animation: scrolling 10s linear infinite;
}

div.ct_topic_close
{
    position: absolute;
    top: 2px;
    height: 24px;
    right: 0px;
    width: 24px;
    cursor: pointer;
    color:#c8d6e5;
    font-size: 20px;
    background-color: #13161d;
    border-radius: 3px;
    text-align: center;
}

div.ct_client_screen
{
    position: absolute;
    top: 30px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    font-family: Verdana;
    font-size: 14px;
    color: #FF0000;
    background-color: #c8d6e5 ;
}

div.ct_client_screen_instance
{
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
}

div.pm_cfd_banner
{
    background-color: #fdf5c4;
    border: 1px solid #d4c24a;
    border-radius: 8px;
    color: #5a4a00;
    font-size: 12px;
    font-family: Verdana, sans-serif;
    margin: 10px 12px;
    padding: 8px 12px;
    text-align: center;
    line-height: 1.6;
}

div.pm_cfd_banner i
{
    color: #7a6a00;
    margin-right: 5px;
}


/* lower tools */

div.ct_client_bottom
{
    height: 60px;
    position: relative;
    width: 100%;
    background-color: rgb(0, 96, 138);
    color: #c8d6e5 ;
    padding-top: 2px;
}



div.ct_client_toolstrip_item1
{
    position: absolute;
    top: 10px;
    left: 34px;
    height: 28px;
    width: 28px;
    color:#c8d6e5;
    background-color: #13161d;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
}

div.ct_client_toolstrip_item2
{
    position: absolute;
    top: 10px;
    left: 63px;
    height: 28px;
    width: 28px;
    color:#c8d6e5;
    background-color: #13161d;
    font-style: italic;
    cursor: pointer;
    border-radius: 3px;
}

div.ct_client_toolstrip_item3
{
    position: absolute;
    top: 10px;
    left: 92px;
    height: 28px;
    width: 28px;
    color:#c8d6e5;
    background-color: #13161d;
    text-decoration: underline;
    cursor: pointer;
    border-radius: 3px;
}

div.ct_client_toolstrip_item4
{
    position: absolute;
    top: 10px;
    left: 121px;
    height: 28px;
    width: 28px;
    background-color: #13161d;
    color: #FF0000;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
}

div.ct_client_toolstrip_item5
{
    position: absolute;
    top: 10px;
    left: 150px;
    height: 28px;
    width: 28px;
    background-color: #13161d;
    color: #0000FF;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
}

div.ct_client_toolstrip_item6
{
    position: absolute;
    top: 10px;
    left: 179px;
    height: 28px;
    width: 28px;
    background-color: #13161d;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    border-radius: 3px;
    font-size: 16px;
}

div.ct_client_toolstrip_item7
{
    position: absolute;
    top: 10px;
    left: 208px;
    height: 28px;
    width: 28px;
    background-color: #13161d;
    color: #c8d6e5 ;
    cursor: pointer;
    border-radius: 3px;
    font-size: 16px;
}
div.ct_client_toolstrip_item8
{
    position: absolute;
    top: 10px;
    left: 238px;
    height: 28px;
    width: 28px;
    background-color: #13161d;
    color: #c8d6e5 ;
    cursor: pointer;
    border-radius: 3px;
}
div.ct_client_toolstrip_item9
{
    position: absolute;
    right: 3px;
    top: 1px;
    height: 27px;
    width: 27px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5b21b6, #a78bfa);
    box-shadow: 0 0 0 2px rgba(167,139,250,0.20), 0 0 8px rgba(167,139,250,0.25);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.18s ease, transform 0.15s ease, background 0.18s ease;
    user-select: none;
}
div.ct_client_toolstrip_item9:hover
{
    background: linear-gradient(135deg, #4c1d95, #c4b5fd);
    box-shadow: 0 0 0 3px rgba(167,139,250,0.30), 0 0 14px rgba(167,139,250,0.50);
    transform: scale(1.10);
}
div.ct_client_toolstrip_item9:active { transform: scale(0.94); }
.ct_client_toolstrip_item7 label
{
    cursor: pointer;
}

div.buttons_cont
{
    position: absolute;
    left: 0px;
    top: 16px;
    right: 35px;
    height: 45px;
}


.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 0px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
div.ct_client_toolstrip_text
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

div.ct_client_url
{
    position: absolute;
    left: 28px;
    text-decoration: underline;
    overflow: hidden;
}

a.ct_client_url_text
{
    cursor: pointer;
    color: #00FFFF;
}

div.ct_client_outbox
{
    position: absolute;
    bottom: 22px;
    left: 0px;
    width: 100%;
    height: 15px;
    font-size: 18px;
}


input.ct_client_outbox
{
    position: absolute;
    left: 30px;
    right: 34px;
    height: 29px;
    min-width: 268px;
    line-height: 20px;
    border-radius: 9px;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(200, 214, 229, 0.35);
        background-color: rgb(19 22 29);
    color: #c8d6e5;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
input.ct_client_outbox:focus
{
    border-color: #4db8e8;
    outline: none;
    background-color: rgba(6,6,6,1);
    color: #c8d6e5
}

div.mas
{
    position: absolute;
    left: 3px;
    top: 1px;
    height: 27px;
    width: 27px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0090c8, #4db8e8);
    box-shadow: 0 0 0 2px rgba(77,184,232,0.20), 0 0 8px rgba(77,184,232,0.25);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.18s ease, transform 0.15s ease, background 0.18s ease;
    user-select: none;
}
div.mas:hover
{
    background: linear-gradient(135deg, #007ab0, #5dcdf5);
    box-shadow: 0 0 0 3px rgba(77,184,232,0.30), 0 0 14px rgba(77,184,232,0.50);
    transform: scale(1.10);
}
div.mas:active { transform: scale(0.94); }

div.send
{
    position: absolute;
    right: 3px;
    top: 1px;
    height: 27px;
    width: 27px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a9e68, #3ecf8e);
    box-shadow: 0 0 0 2px rgba(62,207,142,0.20), 0 0 8px rgba(62,207,142,0.25);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.18s ease, transform 0.15s ease, background 0.18s ease;
    user-select: none;
}
div.send:hover
{
    background: linear-gradient(135deg, #158a58, #4adea9);
    box-shadow: 0 0 0 3px rgba(62,207,142,0.30), 0 0 14px rgba(62,207,142,0.50);
    transform: scale(1.10);
}
div.send:active { transform: scale(0.94); }

input.color{
    position: relative;
    float: left;
}

#canvasCont.visuallyhidden {
    display: none;
}
#canvasCont {
    position: fixed;
    bottom: 2px;
    max-height: 95%;
    left: 1px;
    width: 90vw;
    max-width: 460px;
    background: #1a1f2e;
    border: 1px solid rgba(78, 184, 232, 0.3);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}
.scrHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(78, 184, 232, 0.2);
    background: #13161d;
    border-radius: 10px 10px 0 0;
}
.scrTitle {
    color: #c8d6e5;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
}
.scrCloseBtn {
    color: #c8d6e5;
    cursor: pointer;
    font-size: 16px;
    padding: 2px 6px;
    border-radius: 4px;
    transition: color 0.15s;
}
.scrCloseBtn:hover {
    color: #ff6b6b;
}
.scribbleCanvas
{
    cursor: url(pen.cur),auto;
    align-self: center;
    margin: 8px auto;
    display: block;
}
.cross{
    cursor: crosshair;
}
.botoneraScribbles
{
    display: flex;
    align-items: center;
    padding: 4px 6px;
    border-top: 1px solid rgba(78, 184, 232, 0.2);
    background: #13161d;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}
.canvasCtxMenu
{
    position: fixed;
    background: #1e2230;
    border: 1px solid #3a4060;
    border-radius: 4px;
    padding: 2px 0;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    min-width: 140px;
}
.canvasCtxMenuItem
{
    padding: 7px 14px;
    color: #c8d6e5;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
}
.canvasCtxMenuItem:hover
{
    background: #2d3555;
}
.sendScribbleBtn
{
    margin-left: auto;
    cursor: pointer;
    color: #fff;
    background-color: #4db8e8;
    border-radius: 6px;
    font-size: 14px;
    padding: 5px 10px;
    transition: background 0.15s;
}
.sendScribbleBtn:hover
{
    background-color: #38a0cc;
}
.botonesScribble
{
    cursor: pointer;
    color: #c8d6e5;
    background-color: #1e2230;
    border-radius: 6px;
    font-size: 14px;
    padding: 5px 7px;
    margin: 2px;
    transition: background 0.15s;
}
.botonesScribble:hover
{
    background-color: #2d3555;
}
.botonesScribble label
{
    cursor: pointer;
}

.ct_close_all_room_btn {
    position: absolute;
    top: 3px;
    right: 30px;
    height: 20px;
    width: auto;
    padding: 0 7px;
    cursor: pointer;
    font-size: 11px;
    letter-spacing: 0.3px;
    color: rgba(200, 214, 229, 0.85);
    background-color: rgba(220, 53, 53, 0.15);
    border: 1px solid rgba(220, 53, 53, 0.35);
    border-radius: 4px;
    text-align: center;
    line-height: 18px;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ct_close_all_room_btn:hover {
    background-color: rgba(220, 53, 53, 0.4);
    border-color: rgba(220, 53, 53, 0.75);
    color: #fff;
}

div.ct_room_list_header
{
    position: absolute;
    top: 5px;
    height: 24px;
    left: 0px;
    right: 0px;
    background-color: rgb(0, 96, 138);
    color:#c8d6e5;
    font-weight: bold;
}

span.ct_column_text
{
    position: relative;
    top: 4px;
    left: 2px;
    white-space: pre;
}

div.ct_left_hide
{
    position: absolute;
    top: 0px;
    right: 0px;
    height: 24px;
    width: 24px;
    cursor: pointer;
    font-size: 18px;
    color:#c8d6e5;
    background-color: #1e2330;
    border-radius: 5px;
    text-align: center;
    line-height: 24px; /* igual a la altura del div */
    height: 24px;
}

div.ct_user_list_pos
{
    position: absolute;
    top: 0px;
    right: 0px;
    color:#c8d6e5;
    background-color: #1e2330;
    font-size: 18px;
    height: 24px;
    width: 24px;
    cursor: pointer;
}

div.ct_room_list_body
{
    position: absolute;
    top: 29px;
    left: 0px;
    right: 0px;
    height: 200px;
    overflow-x: hidden;
    overflow-y: scroll;
    background-color: #c8d6e5 ;
    z-index: 99;
}

div.ct_user_list_header
{
    position: absolute;
    top: 224px;
    height: 24px;
    left: 0px;
    right: 0px;
    background-color: rgb(0, 96, 138);
    color:#c8d6e5;
    font-weight: bold;
}

div.ct_user_list_body
{
    position: absolute;
    top: 248px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    overflow-x: hidden;
    overflow-y: scroll;
    background-color: #c8d6e5 ;
}

div.ct_left_show
{
    position: absolute;
    visibility: hidden;
    z-index: 1;
    height: 36px;
    width: 32px;
    top: 50%;
    margin-top: -40px;
    left: 0px;
    cursor: pointer;
    color: #c8d6e5;
    font-size: 20px;
    background-color: rgb(0, 96, 138);
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    padding-top: 10px;
    text-align: center;
}


div.ct_ul_main
{
    width: 100%;
    height: 100%;
    background-color: #c8d6e5 ;
}

div.ct_ul_item
{
    width: 100%;
    height: 52px;
    background-color:#c8d6e5;
    position: relative;
}

img.ct_ul_av
{
    position: absolute;
    top: 2px;
    left: 2px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    border-radius: 24px;
    z-index: 99;
}
img.ul_av
{
    position: relative;
    top: 20px;
    left: 50%;
    margin-bottom: 15px;
    transform: translate(-50%, 0);
    max-width: 290px;
    max-height: 290px;
    border-radius: 5px;
    z-index: 99;
}

#ul_nick{
    left: 72px;
}

span.ct_ul_0
{
    color: #ffffff;
    overflow: hidden;
    white-space: pre;
    position: absolute;
    left: 56px;
    right: 4px;
    top: 4px;
    font-family: Verdana;
    font-size: 12px;
    font-weight: bold;
}

span.ct_ul_1
{
    color: #0000FF;
    overflow: hidden;
    white-space: pre;
    position: absolute;
    left: 56px;
    right: 4px;
    top: 18px;
    font-family: Verdana;
    font-size: 12px;
    font-weight: bold;
}

span.ct_ul_2
{
    color: #008000;
    overflow: hidden;
    white-space: pre;
    position: absolute;
    left: 56px;
    right: 4px;
    top: 4px;
    font-family: Verdana;
    font-size: 12px;
    font-weight: bold;
}

span.ct_ul_3
{
    color: #FF0000;
    overflow: hidden;
    white-space: pre;
    position: absolute;
    left: 56px;
    right: 4px;
    top: 18px;
    font-family: Verdana;
    font-size: 12px;
    font-weight: bold;
}

span.ct_ul_pmsg
{
    color: #AAAAAA;
    overflow: hidden;
    white-space: pre;
    position: absolute;
    left: 57px;
    right: 4px;
    top: 30px;
    font-family: Verdana;
    font-size: 14px;
}
span.ct_ul_pmsg_xl{
    color: #AAAAAA;
    overflow: hidden;
    white-space: pre;
    width: max-content;
    position: absolute;
    left: 57px;
    right: 4px;
    top: 30px;
    font-family: Verdana;
    font-size: 14px;
}
span.ct_ul_pmsg_xl:hover{
    display: flex;
    animation: scrolling 10s linear infinite;

}

@keyframes scrolling 
{
    100% {transform: translateX(-100%) }
}

@media screen and (max-width: 640px) {
   div.ct_main_right{left: 0px;} 
   div.ct_main_left{width: 0px;}
   div.ct_left_show{visibility: visible;}
}

div.ct_room_list_item:hover
{
    background-color: rgba(0, 96, 138, 0.18);
    cursor: pointer;
}

div[class^="ct_client_toolstrip_item"]:hover
{
    background-color: #1e7ea8;
    box-shadow: 0 0 6px rgba(77, 184, 232, 0.5);
    transition: background-color 0.12s ease, box-shadow 0.12s ease;
}

#ct_panel_backdrop
{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 50;
    backdrop-filter: blur(2px);
}

#ct_mobile_nav
{
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #13161d;
    border-top: 1px solid #1e2330;
    z-index: 60;
    align-items: stretch;
}

#ct_mobile_nav button
{
    flex: 1;
    border: none;
    background: transparent;
    color: #c8d6e5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    gap: 3px;
    cursor: pointer;
    transition: background 0.15s;
}

#ct_mobile_nav button i { font-size: 20px; }

#ct_mobile_nav button:hover,
#ct_mobile_nav button:active
{
    background: rgba(255, 255, 255, 0.08);
    color: #4db8e8;
}

#ct_mobile_nav button.mob-active
{
    color: #4db8e8;
    background: rgba(77, 184, 232, 0.12);
    border-top: 2px solid #4db8e8;
}

@media (max-width: 640px)
{
    #ct_mobile_nav { display: flex; }
    div.ct_main_right { bottom: 56px; }
    div.ct_main_left { bottom: 56px; z-index: 51; }
    div.ct_left_show { display: none; }
}

/* connection status dot */

.ct_conn_dot {
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
}

.ct_conn_connected {
    background-color: #2ecc71;
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.25), 0 0 7px rgba(46, 204, 113, 0.6);
    animation: none;
}

.ct_conn_reconnecting {
    background-color: #f39c12;
    box-shadow: 0 0 0 2px rgba(243, 156, 18, 0.25), 0 0 7px rgba(243, 156, 18, 0.5);
    animation: ct_conn_blink 1s ease-in-out infinite;
}

.ct_conn_disconnected {
    background-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.25), 0 0 7px rgba(231, 76, 60, 0.5);
    animation: none;
}

@keyframes ct_conn_blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.25; }
}

.seo-footer a:link {
  color: #00608a;
}

.seo-footer a:visited {
  color: #004f73;
}

.seo-footer a:hover {
  color: #0077aa;
}

.seo-footer a:active {
  color: #00486a;
}