:root {
    --color-white: white;
    --color-black: black;
    --color-link: rgb(231, 247, 132);
    --color-yellow: rgb(255, 255, 0);
    --color-green: rgb(0, 255, 0);
    --color-lightblue: #B5DEEF;
    --color-title: rgb(75, 87, 109, 0.56);

    --background-50: rgb(0, 0, 0, 0.5);
}

* {
  cursor: url(../images/cursor.gif), auto;
  font-family: "Dotum", sans-serif;
  font-size: 12px;
}

img:hover,
a:hover *,
input:hover {
  cursor: url(../images/hover.gif), auto;
}

/* common */

table{
    border-collapse: collapse;
}


/* utilities */

.float--right {
    float: right;
}

.text--center {
    text-align: center;
}

.text--justify {
    text-align: justify;
}

.text--white {
    color: var(--color-white);
}

.text--black {
    color: var(--color-black);
}

.text--green {
    color: var(--color-green);
}

.border--white {
    border: 1px solid var(--color-white);
}

.background--50 {
    background-color: var(--background-50)
}

.background--chat-title { 
    background-color: var(--color-title)
}

/* footer */

footer{
    position:fixed;
    bottom:0;    
    font-family: "Dotum";
}

footer a{
    color: var(--color-link);
    text-decoration: none;
}

.footer__title{
    width: 70px;
    border-radius: 3px 3px 0 0;
}

.footer__title.active {
    border-bottom: none; /* active일 경우 border 제거 */
}

.footer__content{
    padding-left: 3px;
    width: 540px;
    border-radius: 0 3px 0 0;
    height: 50px; 
    overflow-y: auto; 
    text-shadow: 1px 1px 0 var(--color-black);
}

.footer__content p{
    padding-left: 3px;
    margin: 0;
    height: 60px; 
    overflow-y: auto; 
    scrollbar-color: #a5adad black;
    scrollbar-width: thin;
}

.footer__content::-webkit-scrollbar-track {
    background-color: black;
}

.footer__content::-webkit-scrollbar-thumb {
    background-color: black;
}

/* sidebar */

#left{
    width: 200px;
    position: fixed;
}

.sidebar{
    display:flow-root;
    float: left;
    width: 180px;
    border: 1px solid rgb(198,198,198);
    border-radius: 3px;
    margin-top: 3px;
}

.sidebar table, .sidebar__table{
    margin: auto;
    width: 100%;
}

.sidebar__table tr:nth-child(even){
    background-color: rgba(231, 239, 255, 1);
}

.table-container {
    max-height: 500px; 
    overflow: auto;
}

.table-container::-webkit-scrollbar {
    width: 8px; 
}

.table-container::-webkit-scrollbar-track {
    background-color: transparent;
}

.table-container::-webkit-scrollbar-thumb {
    background-color: #B5C6E7;
    border-radius: 0px; 
}

.table-container {
    scrollbar-color: #B5C6E7 transparent;
    scrollbar-width: thin;
}

.search{
    width: 97%;
    border: 0px;
}

.search::placeholder{
    font-size: 12px;
}

.filter__count {
    color: rgba(0, 0, 0, 0.5);
}


input[type="number"]{
    background: transparent;
    border: hidden;
    padding: 0;
    width: 30px;
    text-align:right;
    font-size: 12px;
    font-family: 'dotum';
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}



#lab-password{
    height: 14px;
    padding: 3px;
}

#lab-password::after {
    content: "";
    display: inline-block;
    width: 100%;
}

/* container */

#container{
    display: flex;
    flex-wrap : wrap;
    justify-content: center;
    margin-left: 200px;
}

.container__box {
    width: 370px;
    height: 100%;
    border: 1px solid rgb(198,198,198);
    border-radius: 3px;
    float: left;
    margin: 3px;
}

.container__bottom {
    position: relative;
    height: 20px;
    background-image: linear-gradient(to bottom, rgb(247,247,247) 0%, rgb(247,247,247) 50%, rgb(255,255,255) 50%, rgb(255,255,255) 100%);
    background-size: 100% 3px;
    border-top: 1px solid rgba(198,198,198,1);
}

.container__info {
    background-color: rgb(231,231,239);
    border-radius: 5px;
    padding: 2px;
    text-align: center;
}

.titlebar {
    height: 16px; 
    background: linear-gradient(to bottom, 
        rgb(181, 198, 222),
        rgb(173, 189, 222),
        rgb(206, 214, 239),
        rgb(181, 198, 231),
        rgb(181, 198, 239),
        rgb(156, 173, 222),
        rgb(165, 189, 231),
        rgb(156, 181, 231),
        rgb(189, 206, 247),
        rgb(173, 198, 247),
        rgb(206, 222, 255),
        rgb(189, 222, 247),
        rgb(222, 247, 255),
        rgb(198, 222, 247),
        rgb(214, 239, 255),
        rgb(0, 0, 0)
    );
    
}
.titlebar__icon {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1px solid rgb(41, 67, 121);
    background: linear-gradient(to bottom, 
        rgb(217, 226, 244),
        rgb(134, 162, 220),
        rgb(67, 111, 201),
        rgb(126, 156, 218),
        rgb(146, 172, 223),
        rgb(182, 199, 234),
        rgb(173, 193, 232)
    );
    float:left;
    margin: 2px 0px 0px 2px;
}

.titlebar__content {
    float:left;
    text-indent: 2px;
}

.ragbtn{
    background: linear-gradient(to bottom, 
    rgb(222,222,222),
    rgb(239,239,239),
    rgb(239,239,239),
    rgb(247,247,247),
    rgb(222,222,222),
    rgb(239,239,239),
    rgb(239,239,239),
    rgb(247,247,247),
    rgb(247,247,247),
    rgb(255,255,255),
    rgb(255,255,255),
    rgb(255,255,255),
    rgb(255,255,255),
    rgb(255,255,255),
    rgb(255,255,255),
    rgb(247,247,247),
    rgb(255,255,255)
    );
    border: 1px solid rgb(173,173,173);
    border-radius: 3px;
    height: 22px;
}

.ragbtn:hover{
    background: linear-gradient(to bottom, 
    rgb(198,206,222),
    rgb(206,214,239),
    rgb(198,214,239),
    rgb(189,206,239),
    rgb(165,181,214),
    rgb(173,189,231),
    rgb(165,189,231),
    rgb(165,189,231),
    rgb(165,189,239),
    rgb(165,189,239),
    rgb(173,198,247),
    rgb(173,198,247),
    rgb(181,206,247),
    rgb(181,206,247),
    rgb(206,222,255),
    rgb(206,222,255),
    rgb(222,231,247)
    );
}

.ragbtn:active{
    margin: 1px 0 0 1px;
    background: linear-gradient(to bottom, 
    rgb(198,206,222),
    rgb(206,214,239),
    rgb(198,214,239),
    rgb(189,206,239),
    rgb(165,181,214),
    rgb(173,189,231),
    rgb(165,189,231),
    rgb(165,189,231),
    rgb(165,189,239),
    rgb(165,189,239),
    rgb(173,198,247),
    rgb(173,198,247),
    rgb(181,206,247),
    rgb(181,206,247),
    rgb(206,222,255),
    rgb(206,222,255),
    rgb(222,231,247)
    );
}

.btn-resize {
    position: absolute;
    right: 1px;
    bottom: 1px;
    cursor: pointer;
}
