/*---------------------------------------------------------
    MESSAGE WRAP
---------------------------------------------------------*/

#message_wrap {
    display: flex;
    min-width: 1400px;
    justify-content: center;
}

#message_wrap > .flexbox {
    display: flex;
    min-width: 1400px;
    max-width: 2200px;
    padding-left:20px;
    padding-right:20px;
    width:100%;
}

#message_wrap > .flexbox > .leftbox {
    display: block;
    width:100%;
    margin-right:20px;
}

#message_wrap > .flexbox > .leftbox > .titlebox {
    display: flex;
    background:#07172d;
    background: url(/images/1bet1/sports/title_effect_overlay.png), #07172d;
    background-size: cover;
    background-position: center;
    margin-top:20px;
}

#message_wrap > .flexbox > .leftbox > .titlebox > .leftbox {
    display: flex;
    margin-left:20px;
    margin-bottom:20px;
    width:100%;
    margin-top:20px;
    border:1px solid #29324b;
    background:#07172d88;
    backdrop-filter: blur(10px);
    border-right:0px;
    height:112px;
    justify-content: center;
    flex-direction: column;
}

#message_wrap > .flexbox > .leftbox > .titlebox > .leftbox > .label {
    font-size:26px;
    font-weight: 600;
    font-family: 'Gmarket Sans';
    color:#aaaaaa;
    margin-left:30px;
}

#message_wrap > .flexbox > .leftbox > .titlebox > .leftbox > .sublabel {
    font-size:16px;
    font-weight: 600;
    font-family: 'Gmarket Sans';
    color:#aaaaaa;
    margin-left:30px;
    margin-top:-5px;
}


#message_wrap > .flexbox > .leftbox > .titlebox > .rightbox {
    display: flex;
    margin-right:20px;
    margin-bottom:20px;
    width:100%;
    margin-top:20px;
    border:1px solid #29324b;
    background:#07172d88;
    backdrop-filter: blur(10px);
    border-left:0px;
    height:112px;
    justify-content: right;
}

#message_wrap > .flexbox > .leftbox > .titlebox > .rightbox > .amount {
    font-family: 'Rajdhani';
    font-size:56px;
    line-height:115px;
    margin-right:10px;
    color:#ef7c00;
}

#message_wrap > .flexbox > .leftbox > .titlebox > .rightbox > .unit {
    font-size:45px;
    line-height:110px;
    color:#aaaaaa;
    margin-right:30px;
}

#message_wrap > .flexbox > .leftbox > #board_list > .listbox {
    margin-top:0px;
    height:627px;
    overflow-y: auto;
    overflow-x: hidden;
    background:#031124;
}

#message_wrap > .flexbox > .leftbox > #board_list > .listbox::-webkit-scrollbar {
    width:8px;
}

#message_wrap > .flexbox > .leftbox > #board_list > .listbox::-webkit-scrollbar-track {
    background: #141921;
}

#message_wrap > .flexbox > .leftbox > #board_list > .listbox::-webkit-scrollbar-thumb {
    background: #262b32;
}

#message_wrap > .flexbox > .rightbox {
    display: block;
    width:100%;
}

#message_wrap > .flexbox > .rightbox  > .titlebox {
    display: flex;
    height: 62px;
    background: url(/images/1bet1/sports/title_effect_overlay.png), #07172d;
    background-position: left;
    background-size: cover;
    position: relative;
    z-index: 10;
    margin-bottom:1px;
    flex-shrink: 0;
    justify-content: space-between;
    margin-top:20px;
}

#message_wrap > .flexbox > .rightbox > .titlebox > .label {
    display: block;
    flex-grow: 1;
    line-height: 62px;
    font-size: 16px;
    margin-left: 20px;
    font-weight: 600;
    color: #cccccc;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-shadow: 0 0 10px rgb(0 0 0 / 50%);
}

#message_wrap > .flexbox > .rightbox > .titlebox > .count {
    display: block;
    flex-shrink: 0;
    line-height: 62px;
    font-size: 16px;
    margin-left: 20px;
    font-weight: 600;
    color: #cccccc;
    white-space: nowrap;
    margin-right:20px;

}

#message_wrap > .flexbox > .rightbox > #board_list > .listbox{
    margin-top:0px;
}


#message_wrap > .flexbox > .rightbox > #board_list > .listbox > .listtoolbar{
    margin-top:1px;
}


/*---------------------------------------------------------
    MESSAGE VIEW
---------------------------------------------------------*/
#message_view {
    display: block;
    height:0px;
    position: relative;
    z-index:20;
    background: #031124;
}

#message_view > .layerbox {
    display: block;
    height:0px;
    overflow: hidden;
    transition: all 500ms;
    background:#0d1d3244;
    backdrop-filter: blur(20px);
    position: absolute;
    top:20px;
    left:0px;
    right:0px;
    opacity: 0;
    display: flex;
    flex-direction: column;
}

#message_view.active > .layerbox {
    height:778px;
    opacity: 1;
    transition: all 500ms;
}

#message_view > .layerbox > .titlebox {
    display: flex;
    height: 63px;
    background: url(/images/1bet1/sports/title_effect_overlay.png), #07172d;
    background-position: left;
    background-size: cover;
    position: relative;
    z-index: 10;
    border-bottom:1px solid #070a0f;
    flex-shrink: 0;
    justify-content: space-between;
}

#message_view > .layerbox > .titlebox > .subject {
    display: block;
    flex-grow: 1;
    line-height: 62px;
    font-size: 16px;
    margin-left: 20px;
    font-weight: 600;
    color: #cccccc;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-shadow: 0 0 10px rgb(0 0 0 / 50%);
}

#message_view > .layerbox > .titlebox > .sender {
    display: block;
    flex-shrink: 0;
    line-height: 62px;
    font-size: 16px;
    margin-left: 20px;
    font-weight: 600;
    color: #cccccc;
    white-space: nowrap;
    margin-right:20px;
}

#message_view > .layerbox > .titlebox > .datetime {
    display: block;
    flex-shrink: 0;
    line-height: 62px;
    font-size: 16px;
    margin-left: 20px;
    font-weight: 600;
    color: #cccccc;
    white-space: nowrap;
    margin-right:20px;
}

#message_view > .layerbox > .contentsbox {
    flex-grow : 1;
    padding:20px;
    overflow-y: auto;
    overflow-x: hidden;
    user-select: text;
    word-break:break-word;
}

#message_view > .layerbox > .contentsbox > * {
    user-select: text;
}

#message_view > .layerbox > .contentsbox::-webkit-scrollbar {
    width:8px;
}

#message_view > .layerbox > .contentsbox::-webkit-scrollbar-track {
    background: #141921;
}

#message_view > .layerbox > .contentsbox::-webkit-scrollbar-thumb {
    background: #262b32;
}


#message_view > .layerbox > .toolbar {
    display: flex;
    height:50px;
    justify-content: end;
}


#message_view > .layerbox > .toolbar > .expand {
    flex-grow: 1;
    background:#031124;
}

#message_view > .layerbox > .toolbar > .btn_list {
    width:127px;
    border-top:1px solid #070a0f;
    border-left:1px solid #070a0f;
    background:#0d1d32;
    font-size:15px;
    line-height:50px;
    text-align:center;
    color:#aaaaaa;
    cursor:pointer;
    position: relative;
    z-index:1;
}

#message_view > .layerbox > .toolbar > .btn_list:hover {
    background:#29324b;
    color:#ffffff;
    z-index:10;
}
