/* (C) COPYRIGHT 2014-2021 palobby.com All rights reserved. */

body
{
    background-image: none;
}

html, body
{
    display: block!important;
    min-height: inherit;
    min-width: inherit;
    height: 100%;
    width: 100%;
    /*   background: black; */
    overflow: hidden;
}

.btn_std
{
    border-style: solid;
}

/* acknowledge uber */

#message
{
    position:fixed;
    width:100%;
    padding:5px;
    margin:0;
    border:none;
    z-index:2;
    bottom:0;
    left:0;
    text-align:center;
    font-size: 9px;
    background-color: black;
}

/* mention exodus */

#exodus
{
    margin-left: 10px;
}

#exodus img
{
    height: 20px;
    margin-right: 3px;
}

/* no panels so wrap to isolate for knockout */

#server-browser
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc( 100% - 100px );
    z-index: 2
}

#uber-bar
{

}

/* no chat message for other browsers */

#no-chat
{
    text-align: center;
    font-size: 16px;
}

#no-chat a
{
    color: lime;
}

/* ladder and stats */

#ladder
{
    position: absolute;
    top: 10px;
    height: 70px;
    left: 260px;
    right: 240px;
    overflow: visible;
    font-size: 11px;
    color: white;
    z-index: 3;
}

#chat-only #ladder
{
    left: 210px;
}

#ladder table
{
    width: 95%;
    text-align: center;
    vertical-align: bottom;
    font-size: 11px;
}

#ladder table td
{
    border-left: 1px solid white; /* #1e7aa1; */
    padding-left: 2px;
    padding-right: 2px;
}

#ladder-total
{
    width: 40px;
}

#stats
{
    position: absolute;
    top: 0;
    right: 0;
    padding: 2px 16px 8px 16px;
    width: 280px;
    text-align: center;
}

#stats table
{
    font-size: 11px;
    line-height: 120%;
}

#stats table td
{
    padding: 2px;
}

/* uber bar */

#roomContextMenu
{
    position: fixed;
    z-index: 1000;
    display: none;
}

#roomContextMenu ul.dropdown-menu
{
    display: block;
}

#search-results
{
    position: absolute;
    top: 100px;
    right: 5px;
    left: 5px;
    bottom: 75px;
}

div.div-search-results
{
    width: 100%;
    height: 100%;
}

/* chat tweaks */

div.div-win.chat-room
{
    width: 75%;
    flex-shrink: 1;
    margin-bottom: 0;
}

div.div-chat-win-controls
{
   margin: 0;
}

div.div-chat-win-controls:hover
{
    background-color: black;
}

div.btn-chat-win-control
{
    vertical-align: middle;
}

div.btn-chat-win-control input[type='checkbox']
{
    pointer-events: none !important;
}


div.div-chat-header
{
    overflow: hidden;
}

div.div-chat-header .div-chat-username
{
    margin-right: 5px;
}

div.div-chat-header .div-chat-username .username
{
    min-width: auto;
}

div.div-chat-header div.pending-invite
{
    font-size: 9px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

div.div-chat-room-window
{
    height: 100%;
    width: auto;
    border: 2px solid black;
    background: black;
}

div.div-chat-window
{
    border: 2px solid black;
    background: black;
    width: 100%;
}

/* reposition contacts */

div.div-contacts div.div-win
{
    position: absolute;
    bottom: 0;
    right: 0;
}

/*
div.div-user-profile-container
{
    border: 0;
    margin: 0;
    clear: both;
}

div.div-user-profile-container .fill
{
    height: auto;
}

div.user-profile-controls
{
    margin: 0;
    padding: 0;
}
*/

/* notifications  */

div.notification-wrapper
{
    position: absolute;
    bottom: 0;
    right: 10px;
    margin-bottom: 50px;
    z-index: 999;
}

/* chat only page so maximise */



#chat-only div.div-social-canvas
{
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1px;
    right: 0;
    height: calc( 100% - 40px );
    width: calc( 100% - 2px );
}

/*#chat-only div.chat-wrapper
{
  position: absolute;
  top: 0;
  left: 0;
  right: 250px;
  bottom: 0px;
  padding: 0;
  margin: 0;
  width: auto;
}*/

#chat-only div.div-win
{
    height: 100%;
    flex-shrink: 1;
    flex-grow: 1;
}

#chat-only div.div-win.conversation
{
    width: 10%;
    min-width: auto;
}

#chat-only div.div-win.minimised, #chat-only div.div-win.minimized
{
    height: auto;
}

#chat-only .div-chat-header .div-chat-username .username
{
    min-width: 50px;
}

#chat-only div.div-chat-cont
{
    height: calc( 100% - 36px - 28px );
}

#chat-only div.div-chat-window
{
    width: auto;
    height: 100%;
}

#chat-only div.div-win.chat-room
{
    width: 75%;
}

#chat-only div.div-chat-body
{
    height: 100%;
}
/*
#chat-only div.div-chat-room-cont
{
  height: calc( 100% - 36px - 19px );
}*/

#chat-only div.div-chat-room-body
{
    height: 100%;
}

#chat-only div.div-chat-room-users
{
    height: 100%;
}

#chat-only div.contacts-wrapper
{
    top: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    width: 250px;
}

#chat-only div.div-social-widget
{
    height: 100%;
}

#chat-only div.div-contacts
{
    bottom: 0;
    right: 0;
    position: absolute;
    width: 100%;
    height: 100%;
}

#chat-only div.div-contacts div.div-win
{
    position: relative;
}

#chat-only div.div-contacts-cont
{
    height: calc( 100% - 160px );
}

#chat-only div.div-contacts-cont.tab-content
{
    height: calc( 100% - 40px );
}

#chat-only div.tabs-contacts
{
    height: 100%;
}

#community-chat-help
{
    background-color: rgba( 0, 0, 0, 0.5 );
}


/* no flex for browser compatibility */

div.status-psm
{
    display: block;
}

div.div-social-widget
{
    border: 2px solid black;
    background: black;
}

div.div-social-bar
{
    overflow: hidden;
    height: 40px;
    background-color: black;
}

div.div-social-bar .content-wrapper
{
    display: block;
    margin-left: 20px;
}

div.div-social-bar-menu
{
    height: 100%;
}

div.div-social-bar-item
{
    height: 100%;
}

div.div-social-bar-item.div-notifications-btn
{
    width: 80px;
}

div.div-social-bar-item.div-clock
{
    width: 120px;
}

/* palobby buttons */

#palobby-buttons button[type="submit"]
{
    padding: 5px 10px;
}

#palobby-buttons
{
    width: calc( 100% - 250px );
    float: left;
}

#pa-tournaments-join-button
{
    float: right;
    margin-left: 10px;
}

#pa-chat-join-button
{
    float: right;
}

#login, #logout
{
    display: inline-block;
    margin-right: 20px;
}

#username
{
    margin-left: 10px;
}

#username, #password
{
    width: 100px;
}

#chat-only-button, #reset-button
{
    margin-right: 20px;
}

#status-message
{
    line-height: 40px;
    vertical-align: middle;
    text-overflow: ellipsis;
    overflow: hidden;
}

div.div-social-bar-menu
{
    float: right;
    width: 245px;
}

/* chat */

div.chat_message
{
    padding: 2px 2px 4px; /* use padding to avoid context menu misses */
    margin: 0;
}

div.chat_message.markedline
{
/*
    background: #222;
    border: none;
    -webkit-box-shadow: none;
*/
}

span.chat-msg
{
    color: #ddd;
}

span.chat_message_time
{
    color: #666;
    margin-right: 5px;
    font-size: 10px;
}

span.chat-room-user-name
{
    padding-right: 2px;
}

span.chat-room-moderator-name
{
    color: #00B3FF; /* a better blue */
}

span.chat-room-self-name
{
    color: #ff00cc!important;
}


/* server browser */

#resetFilters .btn_label
{
    font-size: 16px;
}

/* the following need to be hidden */

div.title_watermark
{
    -webkit-animation: infinite;
}

div[data-bind="click: back"],div[data-bind="click: createGame"], #join, #spectate
{
    display: none!important;
}

div.section_content_top_bar
{
    display: none!important;
}

div.section_title
{
    padding-left: 20px;
    padding-top: 0px;
    height: 90px;
}

#chat-only div.section_title
{
    padding-left: 10px;
}

div.section_title .content
{
    display: block;
    margin: 0;
}

div.section_title .content .title
{
    font-size: 20px;
    padding-top: 25px;
}

div.div_commit_cont
{
    display: none!important;
}

/* allow for new height */

div.section_content
{
    height:calc(100% - 70px)!important;
    position: relative;
    display: block;
}

/* fix the horizontal padding */

div.one-game
{
    padding: 6px 0;
}

div.one-game > div
{
    padding-left: 10px;
}

/* fix the overflow */

#game-list div.mode
{
    text-overflow: ellipsis;
    overflow-x: hidden;
}

/* reposition the lock for better wrapping */

#game-list-header div.region
{
    padding-right: 32px;
    text-overflow: ellipsis;
    overflow-x: hidden;
}

#game-list div.region
{
    padding-right: 16px;
    text-overflow: ellipsis;
    overflow-x: hidden;
}

#game-list-header span.locked
{
    position: absolute;
    top: 10px;
    right: 15px;
}

#game-list span.locked
{
    position: absolute;
    top: 5px;
    right: 5px;
}

/* all of this magic is to make it work in chrome, firefox, safari and mobile safari ( tables + flex + bootstrap breaks) */

div.section_content_table
{
    padding-bottom: 0;
    min-width: inherit;
    width: auto;
}

div.section_wrapper
{
    display:block;
    overflow: hidden;
}

div.section_wrapper table
{
    table-layout: fixed;
}

div.section_wrapper tbody
{
    height: 100%;
}

div.section_wrapper tr
{
    height: 100%;
    top: 0;
}

td.col_1
{
    width: 240px!important;
    min-width: 240px;
    height: 100%;
    overflow-y: auto;
}

td.col_1 div.section_controls
{
    /*   overflow-x: hidden; */
    /*   position: absolute;   */
    width: 100%;
    height: 100%;
    padding-top: 0;
    padding-right: 12px;
}

td.col_1 div.section_controls div.form-group
{
    width: 100%;
}

td.col_1 div.count_filters
{
    width: 120px;
}

td.col_2
{
    display: table-cell!important;
    min-width: 20px;
}

td.col_3
{
    display: table-cell!important;
}

#detail-pane-wrapper, #useful-links-wrapper
{
    overflow-y: auto;
}

td.col_2 div.div_data_table
{
    height: 100%;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden; /*  header will wrap causing some height issues */
}

#privacy
{

}

#privacy-background
{
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
}

#privacy-wrapper
{
    width: 100%;
    height: calc(100% - 100px);
    display: flex;
    justify-content: center;
    overflow: auto;
}

#privacy-content
{
    max-width: 1200px;
}

#pa-inc
{
    position: absolute;
    width: 100%;
    bottom: 5px;
    text-align: center;
    font-size: 9px;
}

#privacy li
{
    list-style-type: square;
    list-style-position: inside;
    padding-left: 10px;
}

#privacy h3
{
    text-transform: uppercase;
}

#policy
{
    position: fixed;
    width: 100%;
    height: 100%;
    margin: 0;
    border: none;
    z-index: 2;
    top: 0;
    left: 0;
    text-align: center;
    font-size: 16px;
    background-color: rgba(0,0,0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

#policy-wrapper
{
    background-color: black;
    padding: 20px;
    border: 1px solid #888;
}

#policy-wrapper div
{
}

#policy-wrapper button
{
    margin-top: 10px;
}