/*
 * Page itself
 */

body {
    margin: 0;
    padding: 0;
    background: #347db0 url(img/chromesoul-logo.png) no-repeat 10px 10px;
}


/*
 * Top menu
 */

#user-status {
    position: fixed;
    right: 155px;
    top: 10px;
    margin: 0;
    padding: 0;
    width: 150px;
}

#settings-btn {
    position: fixed;
    right: 222px;
    top: 10px;
    margin: 0;
    padding: 0;
}

.clickable {
    cursor: pointer;
}


/*
 * Contact list
 */

#contact-lst-wrapper {
    position: fixed;
    right: 0;
    top: 0;
    margin: 0;
    padding: 0 5px 0 5px;
    width: 200px;
    height: 100%;
    border-left: 1px solid #aaa;
    background-color: #e4e4e4;
    box-shadow: 0px 0px 10px #666;
    overflow-y: scroll;
}

#contact-lst {
    margin: 15px 0 0 0;
    padding: 0;
    list-style: none;
}

#contact-lst > li {
    margin: 5px 0 0 0;
    padding: 5px 5px 5px 28px;
    border: 1px solid #aaa;
    background-size: 23px 26px;
    background-repeat: no-repeat;
}

#add-contact::-webkit-input-placeholder {
    color: rgba(52, 125, 176, 0.42);
}

#add-contact {
    padding: 2px;
    outline: 0px solid #aaa;
    width: 184px;
    height: 20px;
    margin: 5px 0 0 0;
}

#add-contact, #contact-lst > li {
    box-shadow: inset 0px 0px 1px #666;
    background-color: #f3f3f3;
    border: 1px solid #347db0;
    color: #347db0;
    font-family: monospace;
}

.remove {
    float: right;
    font-family: sans-serif;
    font-size: 12px;
    cursor: pointer;
}


/*
 * Main content
 */

#main-ctn {
    margin: 135px 0 0 0;
    padding: 10px 235px 10px 20px;
    min-width: 400px;
}

#main-ctn > * {
    padding: 10px;
    background-color: #e4e4e4;
}

#chat-pannel {
    margin: 0;
    padding: 0;
    background-color: #347db0;
}


/*
 * Config
 */

#config-pannel > input[type=text], #config-pannel > input[type=password] {
    width: 130px;
    padding: 5px;
    border: 1px solid #347db0;
    outline-style: none;
    background-color: #f3f3f3;
}

#save {
    margin: 0;
    padding: 5px;
    width: 140px;
    height: 30px;
    border-style: none;
    background-color: #347db0;
    color: #f3f3f3;
}


/*
 * Tabs
 */

#tab-lst {
    margin: 0;
    padding: 0;
    list-style: none;
}

#tab-lst > li {
    display: inline;
    margin: 0;
    padding: 2px 20px 2px 20px;
    color: #f3f3f3;
    cursor: pointer;
    background-color: #6c9ec0;
    border-bottom: 1px solid #347db0;
    border-left: 1px solid #347db0;
}

#tab-lst > li > span::selection {
    background: transparent;
}

#tab-lst > li.tab-current {
    color: #347db0;
    background-color: #f3f3f3;
}

#tab-lst > li.tab-active {
    color: #c43434;
}


/*
 * Chat
 */

#tab-body-wrapper {
    margin: 2px 1px;
    padding: 0;
}

.chat-log {
    margin: 0;
    height: 268px;
    overflow-y: scroll;
    font-family: monospace;
    background-color: #e4e4e4;
}

.chat-message {
    margin: 0;
    padding: 5px;
}

.chat-message:nth-child(even) {
    color: #3c3c3c;
    background-color: #afafaf;
}

.chat-message:nth-child(odd) {
    color: #f3f3f3;
    background-color: #6c9ec0;
}

.chat-timestamp {
    float: right;
    font-size: 0.8em;
}

.chat-message-body {
    padding-right: 75px;
}

.chat-timestamp:after {
    clear: both;
}

.spk-me, .spk-oth {
}

.chat-input-wrapper {
    padding-right: 10px;
}

.chat-input {
    padding: 5px;
    outline-style: none;
    border-style: none;
    width: 100%;
    height: 20px;
    margin: 5px 0 0 0;
    background-color: #e4e4e4;
}

.chat-input:focus {
    outline-style: none;
    border-style: none;
}


/*
 * Scrollbar
 */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: transparent;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-track-piece {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    height: 40px;
    background-color: #347db0;
    border: 1px solid #e4e4e4;
}

::-webkit-resizer {
    height: 30px;
}
