html, body { height:100%; }
* { margin:0; padding:0; }



/* Few resets for within the kiwi container */
#kiwi {
    overflow:hidden; position:relative;
    height:100%;
}
#kiwi * { margin:0px; padding:0px; }
#kiwi p { margin:0.5em 0; }
#kiwi a { color:#36C; text-decoration:none; cursor:pointer; }
#kiwi a img { border:none; }


/**
 * Main layout blocks
 */
#kiwi #toolbar { position:absolute; top:0px; width:100%; display:none; }
#kiwi #panels { position:absolute; left:0px; right:200px; bottom:100px; top:100px; }
#kiwi #memberlists { position:absolute; right:0px; width:200px; bottom:100px; top:100px; overflow-y:auto; }
#kiwi #controlbox { position: absolute; bottom:0px; width:100%; display:none; }
#kiwi #memberlists_resize_handle {
    position: absolute; width:10px; z-index:1; cursor:w-resize;
}


#kiwi #toolbar #tabs { margin-right: 200px; }
#kiwi #toolbar .panellist {
    overflow: hidden;
    white-space: nowrap;
    display:block;
}
#kiwi #toolbar .panellist li {
    float: left; list-style: inline;
    display:inline; position:relative;
    padding:5px; margin:3px;
    cursor: pointer;
}

#kiwi #toolbar .panellist .active { padding-right:23px; }
#kiwi #toolbar .panellist .alert_highlight { font-weight: bold; }
#kiwi #toolbar .panellist .alert_activity { font-weight: bold; }
#kiwi #toolbar .panellist .alert_action { font-weight: bold; }

#kiwi #toolbar .panellist li .part { position: absolute; top: 8px; right: 5px; }
#kiwi #toolbar .panellist li .part:after { content:"[x]"; }
#kiwi #toolbar .panellist li img.icon { left:5px; top:2px; height:auto; width:auto; }

#kiwi #status_message {
    background: #FFF;
    border-bottom: 1px solid;
    text-align: center;
}


#kiwi .panel_container { overflow-y:auto; height:100%; }



#kiwi .messages {
    overflow-x:wrap;
    border:none; display: none;
}
#kiwi .messages a {}
#kiwi .messages.active { display:block; }

#kiwi .messages .msg {}
#kiwi .messages .msg .time { display:inline; }
#kiwi .messages .msg .nick { display:inline; }
#kiwi .messages .msg .text { display:inline; }

#kiwi .messages .msg.action .nick { display:none; }
#kiwi .messages .msg.action .text { }
#kiwi .messages .msg.action.join { }
#kiwi .messages .msg.action.part .text { }
#kiwi .messages .msg.action.quit .text { }
#kiwi .messages .msg.action.kick .text { }
#kiwi .messages .msg.status .nick { display:none; }
#kiwi .messages .msg.status .text { }
#kiwi .messages .msg.topic .nick { display:none; }
#kiwi .messages .msg.topic .text { }
#kiwi .messages .msg.motd { }
#kiwi .messages .msg.motd .nick { }
#kiwi .messages .msg.motd .text { }
#kiwi .messages .msg.whois .nick { }
#kiwi .messages .msg.whois .text { }
#kiwi .messages .msg.error .text { }

#kiwi .messages .msg.global_nick_highlight { }
#kiwi .messages .msg.highlight { }



/* A member/nick list per channel */
#kiwi #memberlists { border-left: 1px solid #8A8A8A; }
#kiwi #memberlists.disabled { display:none; }
#kiwi #memberlists ul { display:none; }

/* The active channels nicklist */
#kiwi #memberlists ul.active { display:block; }
#kiwi #memberlists ul li { overflow-y:auto; overflow-x:hidden; cursor:pointer; }
#kiwi #memberlists ul li a.nick { }

/* The userbox shown when clicking a nick */
#kiwi #memberlists ul li .userbox { position:relative; }
#kiwi #memberlists ul li .userbox a { }
#kiwi #memberlists ul li .userbox a i { }



/**
 * Control box
 */
#kiwi #controlbox .input {
    height:1.7em;
}

/* The nick label */
#kiwi #controlbox .input .nick { cursor: pointer; }
#kiwi #controlbox .input .nick a { }

/* Wrapper div around the text area input */
#kiwi #controlbox .input .input_wrap { display:inline; }

/* The textarea input */
#kiwi #controlbox .input .inp { white-space: nowrap; }


/* Nick change dialog showed when clicking the nick label */
#kiwi #controlbox .nickchange {
    position: absolute;
    background: #FFF;
}
#kiwi #controlbox .nickchange input { }
#kiwi #controlbox .nickchange button { }



/**
 * Topic bar
 */
#kiwi #topic { position:relative; height:2em; }
#kiwi #topic div {
    position:absolute;
    top:0; bottom:0; left:0; right:0;
    overflow: hidden;
}





/**
 * Server selection dialog
 */
#kiwi .server_select { width:800px; margin:0 auto; overflow:hidden; }
#kiwi .server_select .more { display: none; }
#kiwi .server_select button {  }
#kiwi .server_select input { }
#kiwi .server_select label { }
#kiwi .server_select br { clear:both; }
#kiwi .server_select .basic input { }
#kiwi .server_select .basic label { }
#kiwi .server_select .basic { border-bottom: 1px solid gray; margin-bottom:1em; }
#kiwi .server_select .basic .show_more { }
#kiwi .server_select .basic tr.pass { display:none; }
#kiwi .server_select.single_server .basic { border:none; }
#kiwi .server_select .status {  }

/* When connected to an IRC server, .ok is set on the status div */
#kiwi .server_select .status.ok { }

/* IRC server connection error, .error is set on the status div */
#kiwi .server_select .status.error { }



/* Logo and title in the server selection dialog */
#kiwi .server_select .kiwi_logo { text-align: center; display:block; }
#kiwi .server_select .kiwi_logo h1 { }
#kiwi .server_select .kiwi_logo img { }



/* Icons in the top right corner */
#kiwi #toolbar .app_tools { float:right; }
#kiwi #toolbar .app_tools ul li {
    display:inline; cursor:pointer;
}
#kiwi #toolbar .app_tools img { height:25px; width:25px; margin: 6px 0.7em 0 0; }



/* Settings applet */
#kiwi .settings {
    width:900px;
    margin:1em auto;
}
#kiwi .settings table td {
    padding:0.5em 1em;
}




/**
 * Reusable componants
 */

#kiwi .divider-verticle {
    border-left: 1px solid #CFCFCF;
    border-right: 1px solid #FFFFFF;
    position: absolute;
    top:25px; bottom:25px;
    right:0;
    width:0;
}

#kiwi .divider-horizontal {
    border-top: 1px solid #CFCFCF;
    border-bottom: 1px solid #FFFFFF;
    position: absolute;
    left:25px; right:25px;
    bottom:0;
    height:0;
}





/**
 * Themes
 */


/* Relaxed theme */
#kiwi.theme_relaxed {
    background: url(../img/background-light.png) left top repeat-x #E3E3E3;
    color: #555555;
}
#kiwi.theme_relaxed,
#kiwi.theme_relaxed input,
#kiwi.theme_relaxed button,
#kiwi.theme_relaxed textarea {
    font-family:Arial, Helvetica, sans-serif;
    font-size:14px; line-height:1.4em;
}
#kiwi.theme_relaxed input, textarea {
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5),0 1px 0px rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 3px;
}
#kiwi.theme_relaxed #toolbar {
    background-color:#1B1B1B; font-size:0.9em;
}
#kiwi.theme_relaxed #controlbox { background-color:#1B1B1B; }
#kiwi.theme_relaxed #memberlists_resize_handle {
    /*background:url('../img/resize_handle.png') no-repeat; background-position:center;*/
}
#kiwi.theme_relaxed #toolbar .panellist li {
    line-height: 1.4em;
    vertical-align: middle;

    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    -khtml-border-radius:5px;
    behavior: url(border-radius.htc);

    background-image: -webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0.38, rgb(238,238,238)),
        color-stop(0.68, rgb(209,209,209))
    );
    background-image: -moz-linear-gradient(
        center top,
        rgb(238,238,238) 38%,
        rgb(209,209,209) 68%
    );

    border: 1px solid #333;
    background-color: #eee;
}

#kiwi.theme_relaxed #toolbar .panellist .alert_highlight { /*background: #990000;*/ }
#kiwi.theme_relaxed #toolbar .panellist .alert_activity { font-weight:normal; }
#kiwi.theme_relaxed #toolbar .panellist .alert_action { font-weight:normal; }

#kiwi.theme_relaxed #toolbar .panellist .active { padding-right:23px; }
#kiwi.theme_relaxed #toolbar .panellist li .part {
    background:url('../img/redcross.png'); width:14px; height:14px;
}
#kiwi.theme_relaxed #toolbar .panellist li .part:after { content:""; }

#kiwi.theme_relaxed #toolbar .panellist li.server span { background:url(../img/server_tab.png) no-repeat; padding-left:23px; }

/* Tab texts are within a span */
#kiwi.theme_relaxed #toolbar .panellist li span  { line-height:20px; vertical-align:middle; display:inline-block; }

#kiwi.theme_relaxed #toolbar .panellist li.active .activity { display:none; }
#kiwi.theme_relaxed #toolbar .panellist li .activity.zero { visibility:hidden; }
#kiwi.theme_relaxed #toolbar .panellist li .activity {
    padding: 1px 3px; margin-left:1em;
    border-radius: 4px;
    background: #3F9532; color:#000; /*color: #ff5300;*/
    text-align: center; font-size: 10px;
    display:inline-block;
    width:2em;
}
#kiwi.theme_relaxed #toolbar .panellist li.alert_highlight .activity {
    color: #fff; background: #a60400;
}

#kiwi.theme_relaxed #status_message {
    background: #FEEFB3; color: #9F6000;
    border-bottom: 1px solid;
    padding: 0.9em;
    text-align: center; font-size:1.1em;
}
#kiwi.theme_relaxed #status_message.err { color:#D8000C; background:#FFBABA; }

#kiwi.theme_relaxed .messages { color: #333333; }
#kiwi.theme_relaxed .messages.active { }
#kiwi.theme_relaxed .messages a { text-decoration:none; }

#kiwi.theme_relaxed .messages .msg { border-bottom: 1px solid #DEDEDE; padding: 1px; font-family:arial; font-size:0.9em; }
#kiwi.theme_relaxed .messages .msg .time { width:6em; float:left; color:#777; display:none; }
#kiwi.theme_relaxed .messages .msg .nick { width:11em; float:left; font-size:12px; font-family:Arial; text-align:right; padding: 5px; overflow:hidden; }
#kiwi.theme_relaxed .messages .msg .text { display:block; margin-left:12em; border-left: 1px solid #DEDEDE; white-space:pre-wrap; word-wrap:break-word; font-family:arial; padding:5px; }

#kiwi.theme_relaxed.narrow .messages .msg .nick { width: auto; }
#kiwi.theme_relaxed.narrow .messages .msg .text { margin-left: 1em; border:none; }

#kiwi.theme_relaxed .messages .msg.action .nick { }
#kiwi.theme_relaxed .messages .msg.action .text { color:#009900; border-left:none; font-style:italic; }
#kiwi.theme_relaxed .messages .msg.action.join { color:#009900; }
#kiwi.theme_relaxed .messages .msg.action.part .text { color:#900; }
#kiwi.theme_relaxed .messages .msg.action.quit .text { color:#900; }
#kiwi.theme_relaxed .messages .msg.action.kick .text { color:#900; }
#kiwi.theme_relaxed .messages .msg.status .nick { }
#kiwi.theme_relaxed .messages .msg.status .text { color:#990000; margin-left:9em; border-left:none; font-weight:bold; }
#kiwi.theme_relaxed .messages .msg.topic .nick { display:none; }
#kiwi.theme_relaxed .messages .msg.topic .text { color:#009900; margin-left:9em; font-style: italic; border-left:none; }
#kiwi.theme_relaxed .messages .msg.motd { border:none; }
/*#kiwi.theme_relaxed .messages .msg.motd .nick { display:none; }*/
#kiwi.theme_relaxed .messages .msg.motd .text { color:#666; font-family:monospace; }
#kiwi.theme_relaxed .messages .msg.whois .nick { font-weight:normal; }
#kiwi.theme_relaxed .messages .msg.whois .text { margin-left:18em; padding-left:1em; border-left:1px dashed #999; }
#kiwi.theme_relaxed .messages .msg.error .text {
    border:1px solid #A33F3F; background-color:#D28A8A;
    padding:0.5em; margin-top:1em; margin-bottom:1em; margin-right:2em;
}

#kiwi.theme_relaxed .messages .msg.global_nick_highlight,
#kiwi.theme_relaxed .messages .msg.highlight { background:#D9D9D9; }

/* Narrow styling (window width < 400px) */
#kiwi.theme_relaxed.narrow .messages .msg .nick { width: auto; }
#kiwi.theme_relaxed.narrow .messages .msg .text { margin-left: 1em; border:none; }
#kiwi.theme_relaxed.narrow .messages .msg.action .text { margin-left: 1em; }


#kiwi.theme_relaxed .messages .msg .media { margin-left:0.5em; }
#kiwi.theme_relaxed .messages .msg .media .media_close { font-size:0.9em; }
#kiwi.theme_relaxed .messages .msg .media .media_content { margin:10px 0 0 10px; overflow:hidden; }
#kiwi.theme_relaxed .messages .msg .media .media_content img { padding:3px; border:1px solid gray; }
#kiwi.theme_relaxed .messages .msg .media .media_content > .content {
    background: white;
    overflow: hidden;
    padding: 10px;
    border: #DDD 1px solid;
    border-top-color: #EEE;
    border-bottom-color: #BBB;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    float: left;
}

#kiwi.theme_relaxed .messages .msg .media.twitter .media_content > .content {
    background: transparent;
    border:none;
    overflow: hidden;
    box-shadow: none;
    padding: 0;
}
#kiwi.theme_relaxed .messages .msg .media.reddit .thumbnail_nsfw {
    display: inline-block;
    float: left;
}
#kiwi.theme_relaxed .messages .msg .media.reddit .thumbnail { float:left; margin-right: 0.5em; }


#kiwi.theme_relaxed #memberlists {
    background-color: #DADADA;
    border-left: 1px solid #8A8A8A;
}
#kiwi.theme_relaxed.narrow #memberlists { display:none; }
#kiwi.theme_relaxed #memberlists ul { list-style: none; }
#kiwi.theme_relaxed #memberlists ul.active { }
#kiwi.theme_relaxed #memberlists ul li { padding: 0.2em 1em; }
#kiwi.theme_relaxed #memberlists ul li:hover {
    border-left: 5px solid #88C56A;
    -webkit-transition: 0.2s ease;
    -moz-transition: 0.2s ease;
    -ms-transition: 0.2s ease;
    -o-transition: 0.2s ease;
    transition: 0.2s ease;
}
#kiwi.theme_relaxed #memberlists ul li a.nick { display:block; color:black; }

#kiwi.theme_relaxed #memberlists ul li .userbox { margin:4px 1em 5px 1em; padding-bottom:0.7em; font-size:.9em; }
#kiwi.theme_relaxed #memberlists ul li .userbox a { display:block; text-decoration:none; margin-bottom:2px; }
#kiwi.theme_relaxed #memberlists ul li .userbox a i { font-size:1.1em; margin-right:5px; }

/* User mode styles */
#kiwi.theme_relaxed #memberlists ul li .prefix {
    display:none;
    width:20px; height:20px;
    border-radius: 5px;
    margin: 0 7px 0 0;
    font-size:12px; text-align: center;
    color: #E3E3E3;
    /* text-indent: -1000px; */
}
/* Most important modes towards the bottom - they override the top ones! */
#kiwi.theme_relaxed #memberlists ul li.mode.v .prefix { display:inline-block; background:#b3b3b3; }
#kiwi.theme_relaxed #memberlists ul li.mode.h .prefix { display:inline-block; background:#b5b447; }
#kiwi.theme_relaxed #memberlists ul li.mode.o .prefix { display:inline-block; background:#47b547; }
#kiwi.theme_relaxed #memberlists ul li.mode.a .prefix { display:inline-block; background:#b54747; }
#kiwi.theme_relaxed #memberlists ul li.mode.q .prefix { display:inline-block; background:#8547b5; }

#kiwi.theme_relaxed #controlbox .input {
    background:#fff; margin:3px;
    height:1.7em;
    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    -khtml-border-radius:5px;
}
#kiwi.theme_relaxed #controlbox .input .nick { text-align: right; width:11em; left:0px; position:absolute; padding:2px; overflow:hidden; }
#kiwi.theme_relaxed #controlbox .input .nick a { text-decoration:none; color:black; }

#kiwi.theme_relaxed.narrow #controlbox .input .nick { display:none; }
#kiwi.theme_relaxed.narrow #controlbox .input .input_wrap { left:7px; }

#kiwi.theme_relaxed #controlbox .input .input_wrap {
    position:absolute;
    right:7px; left: 12.2em;
    height:1.7em;
}
#kiwi.theme_relaxed #controlbox .input .inp {
    line-height:1.7em;
    border: medium none;
    box-shadow: none;
    border-radius: 0;
    outline:none; resize:none;
    overflow:hidden;
    position:relative;
    height:100%; width:100%;
    display: block;
}


#kiwi.theme_relaxed #controlbox .nickchange {
    padding:10px; left: 0px;
    background: #1B1B1B; color:#eeeeee;
}
#kiwi.theme_relaxed #controlbox .nickchange input { padding:0.3em 0.5em; }
#kiwi.theme_relaxed #controlbox .nickchange button { padding:0.5em; }



#kiwi.theme_relaxed #topic { background-color:#1B1B1B; padding-bottom:2px; }
#kiwi.theme_relaxed #topic div {
    padding: 0.2em 1em;
    text-align: center;
    box-shadow: none;
    border-radius: 0;
    background-color:#FFF;
    height: 1.5em;
    overflow: hidden;
    outline: none;
    white-space: nowrap;
}
#kiwi.theme_relaxed #topic:hover div {
    min-height:1.5em;
    white-space:pre-wrap; word-wrap:break-word;
    overflow:visible;
    background-color:#FFF;
    z-index: 1;
    height:auto; bottom:auto;
    border-bottom: 2px solid #1B1B1B;
}


#kiwi.theme_relaxed #toolbar .app_tools { width:200px; padding-left:10px; color:#D4D4D4; }
#kiwi.theme_relaxed.narrow #toolbar #tabs { margin-right:0; }
#kiwi.theme_relaxed.narrow #toolbar .app_tools { width:auto; }
#kiwi.theme_relaxed #toolbar .app_tools ul li {
    font-size:26px;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
    margin-left:10px;
}
#kiwi.theme_relaxed #toolbar .app_tools ul li:hover { color:#88C56A; }
#kiwi.theme_relaxed #toolbar .app_tools img { }


/* The server select dialog */
#kiwi.theme_relaxed .server_select { width:730px;  padding:3em 0 2em 0; margin: 0 auto; }
#kiwi.theme_relaxed .server_select .more { display: none; width:270px; margin:0 auto; }
#kiwi.theme_relaxed .server_select table tr td { padding:5px; }
#kiwi.theme_relaxed .server_select button { float:right; padding:3px 7px; }
#kiwi.theme_relaxed .server_select input { padding:3px 7px; width:150px; }
#kiwi.theme_relaxed .server_select label { }
#kiwi.theme_relaxed .server_select br { clear:both; }
#kiwi.theme_relaxed .server_select .basic input, .server_select .basic button { font-size:1em; padding:0.5em 1em; }
#kiwi.theme_relaxed .server_select .basic input { width:170px; }
#kiwi.theme_relaxed .server_select .basic label { font-size:1.3em; margin-top:4px; }
#kiwi.theme_relaxed .server_select .basic tr.have_pass { font-size:0.8em; }
#kiwi.theme_relaxed .server_select .basic tr.channel td { padding-top:1em; }
#kiwi.theme_relaxed .server_select .basic { border-bottom: 1px dashed gray; margin-bottom:1em; }
#kiwi.theme_relaxed .server_select .basic .show_more { display: block; width:110px; margin:10px 0 0 0; font-size:0.8em; background: url(../img/more.png) no-repeat right 7px; }
#kiwi.theme_relaxed .server_select.single_server .basic { border:none; }
#kiwi.theme_relaxed .server_select .status { text-align: center; font-weight: bold; padding:1em; }
#kiwi.theme_relaxed .server_select .status.ok { }
#kiwi.theme_relaxed .server_select .status.error {
    border:1px solid #A33F3F; background-color:#D28A8A;
    padding:0.5em; margin-top:1em; margin-bottom:1em; margin-right:2em;
}


#kiwi.theme_relaxed .server_select .kiwi_logo { text-align: center; display:block; }
#kiwi.theme_relaxed .server_select .kiwi_logo h1 {
    font-size:20px;
    line-height:48px; vertical-align: middle;
    color: #555555;
}
#kiwi.theme_relaxed .server_select .kiwi_logo img { }


#kiwi.theme_relaxed.chanlist_treeview #panels { left:200px; }
#kiwi.theme_relaxed.chanlist_treeview #toolbar { position:static; }
#kiwi.theme_relaxed.chanlist_treeview #toolbar .app_tools { float:none; }
#kiwi.theme_relaxed.chanlist_treeview #toolbar > div { margin-left:200px; }
#kiwi.theme_relaxed.chanlist_treeview #toolbar #tabs { position:absolute; left:0px; bottom:0px; top:0px; margin:0; width:200px; background:#1B1B1B; overflow-y:auto; }
#kiwi.theme_relaxed.chanlist_treeview #tabs ul li { display:block; float:none; }
#kiwi.theme_relaxed.chanlist_treeview #tabs ul li .activity { float:right; }
#kiwi.theme_relaxed.chanlist_treeview #tabs ul li.active {
    margin-right:0;
    border-right-width:0;
    border-bottom-right-radius:0;
    border-top-right-radius:0;
}





/**
 * Mini theme
 */
#kiwi.theme_mini {
    background: #FFF;
    color: #555555;
}
#kiwi.theme_mini,
#kiwi.theme_mini input,
#kiwi.theme_mini button,
#kiwi.theme_mini textarea {
    font-family:Arial, Helvetica, sans-serif;
    font-size:14px; line-height:1.4em;
}
#kiwi.theme_mini input, textarea {
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5),0 1px 0px rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 3px;
}
#kiwi.theme_mini #toolbar {
    background-color:#1B1B1B; font-size:0.9em;
}
#kiwi.theme_mini #controlbox { background-color:#1B1B1B; }
#kiwi.theme_mini #memberlists_resize_handle {
    display:none; width:0;
}
#kiwi.theme_mini #toolbar .panellist li {
    line-height: 1.4em;
    vertical-align: middle;

    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    -khtml-border-radius:5px;

    border: 1px solid #333;
    background-color: #eee;
}

#kiwi.theme_mini #toolbar #tabs { margin-right:0 !important; }
#kiwi.theme_mini #toolbar .panellist .alert_highlight { font-weight:bold; }
#kiwi.theme_mini #toolbar .panellist .alert_activity { font-weight:normal; }
#kiwi.theme_mini #toolbar .panellist .alert_action { font-weight:normal; }

#kiwi.theme_mini #toolbar .panellist .active { padding-right:23px; }
#kiwi.theme_mini #toolbar .panellist li .part {
    background:url('../img/redcross.png'); width:14px; height:14px;
}
#kiwi.theme_mini #toolbar .panellist li .part:after { content:""; }

#kiwi.theme_mini #toolbar .panellist li.server span { background:url(../img/server_tab.png) no-repeat; padding-left:23px; }

/* Tab texts are within a span */
#kiwi.theme_mini #toolbar .panellist li span  { line-height:20px; vertical-align:middle; display:inline-block; }

#kiwi.theme_mini #toolbar .panellist li .activity { display:inline; margin-left:0.5em; font-style:italic; font-size:0.8em; }
#kiwi.theme_mini #toolbar .panellist li .activity:before { content:"("; }
#kiwi.theme_mini #toolbar .panellist li .activity:after { content:")"; }

#kiwi.theme_mini #status_message {
    background: #FEEFB3; color: #9F6000;
    border-bottom: 1px solid;
    padding: 0.9em;
    text-align: center; font-size:1.1em;
}
#kiwi.theme_mini #status_message.err { color:#D8000C; background:#FFBABA; }

#kiwi.theme_mini .messages { color: #333333; }
#kiwi.theme_mini .messages.active { }
#kiwi.theme_mini .messages a { text-decoration:none; }

#kiwi.theme_mini .messages .msg { border-bottom: 1px solid #DEDEDE; padding: 5px; font-family:arial; font-size:0.9em; }
#kiwi.theme_mini .messages .msg .time { display:none; }
#kiwi.theme_mini .messages .msg .nick { display:block; font-family:Arial; text-transform:capitalize; }
#kiwi.theme_mini .messages .msg .text { display:block; white-space:pre-wrap; word-wrap:break-word; font-family:arial; }

#kiwi.theme_mini .messages .msg.action .nick { }
#kiwi.theme_mini .messages .msg.action .text { color:#009900; border-left:none; font-style:italic; }
#kiwi.theme_mini .messages .msg.action.join { color:#009900; }
#kiwi.theme_mini .messages .msg.action.part .text { color:#900; }
#kiwi.theme_mini .messages .msg.action.quit .text { color:#900; }
#kiwi.theme_mini .messages .msg.action.kick .text { color:#900; }
#kiwi.theme_mini .messages .msg.status .nick { }
#kiwi.theme_mini .messages .msg.status .text { color:#990000; border-left:none; font-weight:bold; }
#kiwi.theme_mini .messages .msg.topic .nick { display:none; }
#kiwi.theme_mini .messages .msg.topic .text { color:#009900; font-style: italic; border-left:none; }
#kiwi.theme_mini .messages .msg.motd { border:none; }
/*#kiwi.theme_mini .messages .msg.motd .nick { display:none; }*/
#kiwi.theme_mini .messages .msg.motd .text { color:#666; }
#kiwi.theme_mini .messages .msg.whois .nick { font-weight:normal; }
#kiwi.theme_mini .messages .msg.whois .text { padding-left:1em; border-left:1px dashed #999; }
#kiwi.theme_mini .messages .msg.error .text {
    border:1px solid #A33F3F; background-color:#D28A8A;
    padding:0.5em; margin-top:1em; margin-bottom:1em; margin-right:2em;
}

#kiwi.theme_mini .messages .msg.global_nick_highlight,
#kiwi.theme_mini .messages .msg.highlight { background:#D9D9D9; }



#kiwi.theme_mini #memberlists {
    background-color: #DADADA;
    border-left: 1px solid #8A8A8A;
    display:none;
    width:0px;
}
#kiwi.theme_mini #memberlists ul { list-style: none; }
#kiwi.theme_mini #memberlists ul.active { }
#kiwi.theme_mini #memberlists ul li { padding: 0.2em 1em; }
#kiwi.theme_mini #memberlists ul li:hover {
    border-left: 5px solid #88C56A;
    -webkit-transition: 0.2s ease;
    -moz-transition: 0.2s ease;
    -ms-transition: 0.2s ease;
    -o-transition: 0.2s ease;
    transition: 0.2s ease;
}
#kiwi.theme_mini #memberlists ul li a.nick { display:block; color:black; }

#kiwi.theme_mini #memberlists ul li .userbox { margin:0 1em 5px 1em; padding-bottom:0.7em; font-size:.9em; }
#kiwi.theme_mini #memberlists ul li .userbox a { display:block; text-decoration:none; margin-bottom:2px; }
#kiwi.theme_mini #memberlists ul li .userbox a i { font-size:1.1em; margin-right:5px; }


#kiwi.theme_mini #controlbox .input {
    background:#fff; margin:3px;
    height:1.7em;
}
#kiwi.theme_mini #controlbox .input .nick { display:none; }
#kiwi.theme_mini #controlbox .input .nick a { text-decoration:none; color:black; }
#kiwi.theme_mini #controlbox .input .input_wrap {
    position:absolute;
    right:3px; left:3px;
    height:1.7em;
}
#kiwi.theme_mini #controlbox .input .inp {
    line-height:1.7em;
    border: medium none;
    box-shadow: none;
    border-radius: 0;
    resize:none;
    overflow:hidden;
    position:relative;
    height:100%; width:100%;
    display: block;
}


#kiwi.theme_mini #controlbox .nickchange {
    padding:10px; left: 0px;
    background: #1B1B1B; color:#eeeeee;
}
#kiwi.theme_mini #controlbox .nickchange input { padding:0.3em 0.5em; }
#kiwi.theme_mini #controlbox .nickchange button { padding:0.5em; }



#kiwi.theme_mini #topic { display:none; }
#kiwi.theme_mini #topic div {
    top:2; bottom:2px; left:0; width:100%;
    padding: 0.2em 1em;
    text-align: center;
    box-shadow: none;
    border-radius: 0;
    background-color:#FFF;
    height: 1.5em;
    overflow: hidden;
    outline: none;
}


#kiwi.theme_mini #toolbar .app_tools { padding-left:10px; color:#D4D4D4; }
#kiwi.theme_mini #toolbar .app_tools ul li {
    font-size:26px;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
    margin-left:10px;
}
#kiwi.theme_mini #toolbar .app_tools ul li:hover { color:#88C56A; }
#kiwi.theme_mini #toolbar .app_tools img { }


/* The server select dialog */
#kiwi.theme_mini .server_select { padding:3em 0 2em 0; margin: 0 auto; width:100%; }
#kiwi.theme_mini .server_select .more { display:none; }
#kiwi.theme_mini .server_select button { display:block; padding:3px 7px; margin:0 auto; }
#kiwi.theme_mini .server_select input.nick {
    float:none; display:block; width:80%;
    padding:0.5em 1em; margin:0 auto;
    text-align: center;
}
#kiwi.theme_mini .server_select label { display:none; }
#kiwi.theme_mini .server_select br { clear:both; }
#kiwi.theme_mini .server_select .basic { border:none; }
#kiwi.theme_mini .server_select .basic table { width:100%; }
#kiwi.theme_mini .server_select .basic table tr.channel,
#kiwi.theme_mini .server_select .basic table tr.pass,
#kiwi.theme_mini .server_select .basic table tr.have_pass { display:none; }
#kiwi.theme_mini .server_select .basic .show_more { display:none !important; }
#kiwi.theme_mini .server_select.single_server .basic { border:none; }
#kiwi.theme_mini .server_select .status { text-align: center; font-weight: bold; padding:1em; }
#kiwi.theme_mini .server_select .status.ok { }
#kiwi.theme_mini .server_select .status.error {
    border:1px solid #A33F3F; background-color:#D28A8A;
    padding:0.5em; margin-top:1em; margin-bottom:1em; margin-right:2em;
}

#kiwi.theme_mini .server_select .divider-verticle {
    display:none;
}
#kiwi.theme_mini .server_select .server_details {
    position: relative !important;
    float: none !important;
    width: auto !important;
    padding: 0 !important;
    margin: 2em 0 0 0 !important;
}
#kiwi.theme_mini .server_select .about_kiwi { display:none; }









/* CLI theme */
#kiwi.theme_cli { background:#222222; color:#6d6d6d; }
#kiwi.theme_cli,
#kiwi.theme_cli input,
#kiwi.theme_cli button,
#kiwi.theme_cli textarea {
    font-family:Arial, Helvetica, sans-serif;
    font-size:14px; line-height:1.4em;
}

#kiwi.theme_cli #controlbox { background:#111111; border-top:1px solid #444444; color:#909090; font-size:1.3em; line-height:2em; }
#kiwi.theme_cli #controlbox .input_wrap:before { content:"> " }
#kiwi.theme_cli #controlbox .input { background:none; border:none;}
#kiwi.theme_cli #controlbox .input .nick { line-height:1.7em; padding:0; text-align: right; width:11em; left:0px; position:absolute; overflow:hidden; }
#kiwi.theme_cli #controlbox .input .input_wrap {
    position:absolute;
    right:7px; left: 12.2em;
    height:1.7em;
}
#kiwi.theme_cli #controlbox .input .inp {
    line-height:1.4em;
    font-size:1.3em;
    background:transparent; color:#909090;
    border: medium none;
    box-shadow: none;
    border-radius: 0;
    outline:none; resize:none;
    overflow:hidden;
    position:absolute;
    top: 0px;
    height:99%; width:98%;
    display: inline;
    padding-left:0.5em;
}

#kiwi.theme_cli #topic { background:#111111; height:2em; border-bottom:1px solid #444444; border-top:1px solid #444444; }
#kiwi.theme_cli #topic div {
    width:100%; height: 1.5em;
    padding: 0.2em 1em;
    text-align: center;
    color:#6d6d6d;
    border:none; outline:none;
    overflow: hidden;
    white-space: nowrap;
}
#kiwi.theme_cli #topic:hover div {
    min-height:1.5em;
    white-space:pre-wrap; word-wrap:break-word;
    overflow:visible;
    background-color:#111111;
    z-index: 1;
    height:auto; bottom:auto;
    border-bottom: 1px solid #444444;
}

#kiwi.theme_cli #toolbar .app_tools { width:200px; padding-left:10px; color:#D4D4D4; }
#kiwi.theme_cli #toolbar .app_tools ul li {
    font-size:26px;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
    margin-left:10px;
}
#kiwi.theme_cli #toolbar .app_tools ul li:hover { color:#88C56A; }
#kiwi.theme_cli #toolbar .app_tools img { }

#kiwi.theme_cli #toolbar .panellist li {
    line-height: 1.4em;
    vertical-align: middle;

    border: 1px solid #333;
    background-color: #111;
}

#kiwi.theme_cli #toolbar .panellist .alert_highlight { font-weight:bold; }
#kiwi.theme_cli #toolbar .panellist .alert_activity { font-weight:normal; }
#kiwi.theme_cli #toolbar .panellist .alert_action { font-weight:normal; }

#kiwi.theme_cli #toolbar .panellist .active { padding-right:23px; }
#kiwi.theme_cli #toolbar .panellist li .part {
    background:url('../img/redcross.png'); width:14px; height:14px;
}
#kiwi.theme_cli #toolbar .panellist li .part:after { content:""; }

#kiwi.theme_cli #toolbar .panellist li.server span { background:url(../img/server_tab.png) no-repeat; padding-left:23px; }

/* Tab texts are within a span */
#kiwi.theme_cli #toolbar .panellist li span  { line-height:20px; vertical-align:middle; display:inline-block; }

#kiwi.theme_cli #toolbar .panellist li .activity { display:inline; margin-left:0.5em; font-style:italic; font-size:0.8em; }
#kiwi.theme_cli #toolbar .panellist li .activity:before { content:"("; }
#kiwi.theme_cli #toolbar .panellist li .activity:after { content:")"; }


#kiwi.theme_cli #memberlists { background:#222222; }
#kiwi.theme_cli #memberlists ul li { padding: 0.2em 1em; }
#kiwi.theme_cli #memberlists ul li a.nick { color:#6d6d6d; }
#kiwi.theme_cli #memberlists ul li:hover {
    border-left: 5px solid #88C56A;
    -webkit-transition: 0.2s ease;
    -moz-transition: 0.2s ease;
    -ms-transition: 0.2s ease;
    -o-transition: 0.2s ease;
    transition: 0.2s ease;
}

#kiwi.theme_cli #memberlists ul li .userbox { margin:0 1em 0 1em; padding-bottom:0.4em; font-size:.9em; }
#kiwi.theme_cli #memberlists ul li .userbox a { display:block; text-decoration:none; margin-bottom:2px; }
#kiwi.theme_cli #memberlists ul li .userbox a i { font-size:1.1em; margin-right:5px; }
#kiwi.theme_cli #memberlists ul li .userbox .divider-horizontal { display:none; }


#kiwi.theme_cli .messages .msg > div { color:#6d6d6d; font-family: Inconsolata, Consolas, 'courier new', monospace; }
#kiwi.theme_cli .messages .msg { border: none; }
#kiwi.theme_cli .messages .msg .time { display:inline; margin-right:1em; color:#777; }
#kiwi.theme_cli .messages .msg .nick { display:inline; margin-right:1em; }
#kiwi.theme_cli .messages .msg .nick:before { content:"<"; }
#kiwi.theme_cli .messages .msg .nick:after { content:">"; }
#kiwi.theme_cli .messages .msg .text { white-space:pre-wrap; word-wrap:break-word; }

#kiwi.theme_cli .messages .msg.action .nick { display:none; }
#kiwi.theme_cli .messages .msg.action .text { color:#009900; border-left:none; font-style:italic; }
#kiwi.theme_cli .messages .msg.action.join { color:#009900; }
#kiwi.theme_cli .messages .msg.action.part .text { color:#900; }
#kiwi.theme_cli .messages .msg.action.quit .text { color:#900; }
#kiwi.theme_cli .messages .msg.action.kick .text { color:#900; }
#kiwi.theme_cli .messages .msg.status .nick { display:none; }
#kiwi.theme_cli .messages .msg.status .text { color:#990000; border-left:none; font-weight:bold; }
#kiwi.theme_cli .messages .msg.topic .nick { display:none; }
#kiwi.theme_cli .messages .msg.topic .text { color:#009900; font-style: italic; border-left:none; }
/*#kiwi.theme_cli .messages .msg.motd .nick { display:none; }*/
#kiwi.theme_cli .messages .msg.motd { border:none; }
#kiwi.theme_cli .messages .msg.motd .text { color:#666; }
#kiwi.theme_cli .messages .msg.whois .nick { font-weight:normal; }
#kiwi.theme_cli .messages .msg.whois .text { padding-left:1em; border-left:1px dashed #999; }
#kiwi.theme_cli .messages .msg.error .text {
    border:1px solid #A33F3F; background-color:#D28A8A;
    padding:0.5em; margin-top:1em; margin-bottom:1em; margin-right:2em;
}

#kiwi.theme_cli .messages .msg.global_nick_highlight { background:#111111; }



#kiwi.theme_cli .messages .msg .media { margin-left:0.5em; }
#kiwi.theme_cli .messages .msg .media .media_close { font-size:0.9em; }
#kiwi.theme_cli .messages .msg .media .media_content { margin:10px 0 0 6em; overflow:hidden; }
#kiwi.theme_cli .messages .msg .media .media_content img { padding:3px; border:1px solid gray; }
#kiwi.theme_cli .messages .msg .media .media_content > .content {
    background: white;
    overflow: hidden;
    padding: 10px;
    border: #DDD 1px solid;
    border-top-color: #EEE;
    border-bottom-color: #BBB;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    float: left;
}

#kiwi.theme_cli .messages .msg .media.twitter .media_content > .content {
    background: transparent;
    border:none;
    overflow: hidden;
    box-shadow: none;
    padding: 0;
}
#kiwi.theme_cli .messages .msg .media.reddit .thumbnail_nsfw {
    display: inline-block;
    float: left;
}
#kiwi.theme_cli .messages .msg .media.reddit .thumbnail { float:left; margin-right: 0.5em; }



/* The server select dialog */
#kiwi.theme_cli .server_select { width:730px;  padding:3em 0 2em 0; margin: 0 auto; }
#kiwi.theme_cli .server_select .more { display: none; width:270px; margin:0 auto; }
#kiwi.theme_cli .server_select table tr td { padding:5px; }
#kiwi.theme_cli .server_select button { float:right; padding:3px 7px; margin-top:10px; }
#kiwi.theme_cli .server_select input { padding:3px 7px; width:150px; }
#kiwi.theme_cli .server_select label { width:5em; padding-top:3px }
#kiwi.theme_cli .server_select br { clear:both; }
#kiwi.theme_cli .server_select .basic input, .server_select .basic button { font-size:1em; padding:0.5em 1em; }
#kiwi.theme_cli .server_select .basic input { width:170px; }
#kiwi.theme_cli .server_select .basic label { font-size:1.3em; margin-top:4px; }
#kiwi.theme_cli .server_select .basic tr.have_pass { font-size:0.8em; }
#kiwi.theme_cli .server_select .basic tr.channel td { padding-top:1em; }
#kiwi.theme_cli .server_select .basic { border-bottom: 1px dashed gray; margin-bottom:1em; }
#kiwi.theme_cli .server_select .basic .show_more { display: block; width:116px; margin:10px 0 0 0; font-size:0.8em; background: url(../img/more.png) no-repeat right 7px; }
#kiwi.theme_cli .server_select.single_server .basic { border:none; }
#kiwi.theme_cli .server_select .status { text-align: center; font-weight: bold; padding:1em; }
#kiwi.theme_cli .server_select .status.ok { }
#kiwi.theme_cli .server_select .status.error {
    border:1px solid #A33F3F; background-color:#D28A8A;
    padding:0.5em; margin-top:1em; margin-bottom:1em; margin-right:2em;
}


#kiwi.theme_cli .server_select .kiwi_logo { text-align: center; display:block; }
#kiwi.theme_cli .server_select .kiwi_logo h1 {
    font-size:20px;
    line-height:48px; vertical-align: middle;
    color: #555555;
}
#kiwi.theme_cli .server_select .kiwi_logo img { }


#kiwi.theme_cli .divider-verticle {
    border-left: 1px solid #303030;
    border-right: 1px solid #1B1B1B;
}

#kiwi.theme_cli .divider-horizontal {
    border-top: 1px solid #303030;
    border-bottom: 1px solid #1B1B1B;
}



#kiwi.theme_cli.chanlist_treeview #panels { left:200px; }
#kiwi.theme_cli.chanlist_treeview #toolbar { position:static; }
#kiwi.theme_cli.chanlist_treeview #toolbar .app_tools { float:none; }
#kiwi.theme_cli.chanlist_treeview #toolbar > div { margin-left:200px; }
#kiwi.theme_cli.chanlist_treeview #toolbar #tabs { position:absolute; left:0px; bottom:0px; top:0px; margin:0; width:200px; background:#1B1B1B; overflow-y:auto; }
#kiwi.theme_cli.chanlist_treeview #tabs ul li { display:block; float:none; }
#kiwi.theme_cli.chanlist_treeview #tabs ul li .activity { float:right; }
#kiwi.theme_cli.chanlist_treeview #tabs ul li.active { padding-left:1em; }







/* RSI theme */
#kiwi.theme_rsi { background: #060a0f; background: rgba(11, 17, 22, 0.75); color:#6d6d6d; line-height: 1.3em; }
#kiwi.theme_rsi,
#kiwi.theme_rsi input,
#kiwi.theme_rsi button,
#kiwi.theme_rsi textarea {
    font-family:Arial, Helvetica, sans-serif;
    font-size:14px; line-height:1.4em;
}

#kiwi.theme_rsi #memberlists ul li.mode.o .nick { color: red; font-weight: bold; text-shadow: 0 0 20px red; }

#kiwi.theme_rsi #controlbox { background: #05080a; background: rgba(0, 0, 0, 0.5); border-top:1px solid #217F9C; color:#909090; font-size:1.3em; line-height:2em; height: 80px; }
#kiwi.theme_rsi #controlbox .input_wrap:before { content:"> " }
#kiwi.theme_rsi #controlbox .input { background:none; border:none; height: 100%; }
#kiwi.theme_rsi #controlbox .input .nick { line-height:1.7em; padding: 5px 0 0 0; text-align: center; width:218px; left:0px; position:absolute; overflow:hidden; font-family: Consolas, 'Courier New', Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; color: white; }
#kiwi.theme_rsi #controlbox .input .input_wrap {
    position:absolute;
    right:7px; left: 12.2em;
    height:100%;
}
#kiwi.theme_rsi #controlbox .input .inp {
    line-height:normal;
	font-family: Consolas, 'Courier New', Arial, Helvetica, sans-serif;
    font-size:14px;
    background:transparent; 
	color:#0cf;
    border: medium none;
    box-shadow: none;
    border-radius: 0;
    outline:none; 
	resize:none;
    overflow:hidden;
    position:absolute;
    top: 0px;
    height:64px; width:98%;
    display: inline;
    padding: 8px;
	white-space: normal;
}

#kiwi.theme_rsi #topic { background: #08131b; background: rgba(0, 50, 95, 0.1); height:2em; border-bottom:1px solid #217F9C; border-top:1px solid #217F9C; }
#kiwi.theme_rsi #topic div {
    width:100%; height: 1.5em;
    padding: 0.2em 1em;
    text-align: center;
	font-family: Consolas, 'Courier New', Arial, Helvetica, sans-serif;
    color:#0cf;
    border:none; outline:none;
    overflow: hidden;
    white-space: nowrap;
	
	transition: background 0.3s;
	-moz-transition: background 0.3s;
	-webkit-transition: background 0.3s;
	-o-transition: background 0.3s;
}
#kiwi.theme_rsi #topic:hover div {
    min-height:1.5em;
    white-space:pre-wrap; word-wrap:break-word;
    overflow:visible;
    background-color: #08131b;
    background-color: rgba(0, 50, 95, 0.3);
    z-index: 1;
    height:auto; bottom:auto;
}

#kiwi.theme_rsi #toolbar .app_tools { width:200px; padding-left:10px; color:#D4D4D4; }
#kiwi.theme_rsi #toolbar .app_tools ul li {
    font-size:26px;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
    margin-left:10px;
}
#kiwi.theme_rsi #toolbar .app_tools ul li:hover { color:#88C56A; }
#kiwi.theme_rsi #toolbar .app_tools img { }

#kiwi.theme_rsi #toolbar .panellist li {
    line-height: 1.4em;
    vertical-align: middle;

    border: 1px solid #333;
    background-color: #111;
}

#kiwi.theme_rsi #toolbar .panellist .alert_highlight { font-weight:bold; }
#kiwi.theme_rsi #toolbar .panellist .alert_activity { font-weight:normal; }
#kiwi.theme_rsi #toolbar .panellist .alert_action { font-weight:normal; }

#kiwi.theme_rsi #toolbar .panellist .active { padding-right:23px; }
#kiwi.theme_rsi #toolbar .panellist li .part {
    background:url('../img/redcross.png'); width:14px; height:14px;
}
#kiwi.theme_rsi #toolbar .panellist li .part:after { content:""; }

#kiwi.theme_rsi #toolbar .panellist li.server span { background:url(../img/server_tab.png) no-repeat; padding-left:23px; }

/* Tab texts are within a span */
#kiwi.theme_rsi #toolbar .panellist li span  { line-height:20px; vertical-align:middle; display:inline-block; }

#kiwi.theme_rsi #toolbar .panellist li .activity { display:inline; margin-left:0.5em; font-style:italic; font-size:0.8em; }
#kiwi.theme_rsi #toolbar .panellist li .activity:before { content:"("; }
#kiwi.theme_rsi #toolbar .panellist li .activity:after { content:")"; }


#kiwi.theme_rsi #memberlists { background:#091319; background: url(http://robertsspaceindustries.com/rsichat/memberlists_glow_left.png) repeat-y left, url(http://robertsspaceindustries.com/rsichat/memberlists_glow_right.png) repeat-y right, url(http://robertsspaceindustries.com/rsichat/memberlists_hexpattern.png) repeat, rgba(11, 27, 34, 0.38); border-left: 2px dashed #217F9C; }
#kiwi.theme_rsi #memberlists ul li { padding: 0 1em; }
#kiwi.theme_rsi #memberlists ul li a.nick { color:#0892DF; font-family: Consolas, 'Courier New', Arial, Helvetica, sans-serif; font-size: 12px; }
#kiwi.theme_rsi #memberlists ul li:hover {
    border-left: 5px solid #00eaff;
    -webkit-transition: 0.2s ease;
    -moz-transition: 0.2s ease;
    -ms-transition: 0.2s ease;
    -o-transition: 0.2s ease;
    transition: 0.2s ease;
}

#kiwi.theme_rsi #memberlists ul li .userbox { margin:0 1em 0 1em; padding-bottom:0.4em; font-size:.9em; }
#kiwi.theme_rsi #memberlists ul li .userbox a { display:block; text-decoration:none; margin-bottom:2px; }
#kiwi.theme_rsi #memberlists ul li .userbox a i { font-size:1.1em; margin-right:5px; }
#kiwi.theme_rsi #memberlists ul li .userbox .divider-horizontal { display:none; }


#kiwi.theme_rsi .messages .msg > div { color:#acb9c2; font-family: Consolas, 'courier new', monospace, Arial, Helvetica, sans-serif; }
#kiwi.theme_rsi .messages .msg { border-bottom: dotted 1px #172642; padding: 8px 40px 8px 20px; font-size: 12px; line-height: 1.4em; }
#kiwi.theme_rsi .messages .msg .time { display:inline; margin-right:1em; color:#295468; }
#kiwi.theme_rsi .messages .msg .nick { display:inline; margin-right:1em; cursor: pointer; }
#kiwi.theme_rsi .messages .msg .nick:before { content:"<"; }
#kiwi.theme_rsi .messages .msg .nick:after { content:">"; }
#kiwi.theme_rsi .messages .msg .text { white-space:pre-wrap; word-wrap:break-word; }

#kiwi.theme_rsi .messages .msg.action .nick { display:none; }
#kiwi.theme_rsi .messages .msg.action .text { color:#009900; border-left:none; font-style:italic; }
#kiwi.theme_rsi .messages .msg.action.join { color:#009900; }
#kiwi.theme_rsi .messages .msg.action.part .text { color:#900; }
#kiwi.theme_rsi .messages .msg.action.quit .text { color:#900; }
#kiwi.theme_rsi .messages .msg.action.kick .text { color:#900; }
#kiwi.theme_rsi .messages .msg.status .nick { display:none; }
#kiwi.theme_rsi .messages .msg.status .text { color:#990000; border-left:none; font-weight:bold; }
#kiwi.theme_rsi .messages .msg.topic .nick { display:none; }
#kiwi.theme_rsi .messages .msg.topic .text { color:#009900; font-style: italic; border-left:none; }
/*#kiwi.theme_rsi .messages .msg.motd .nick { display:none; }*/
#kiwi.theme_rsi .messages .msg.motd { border:none; }
#kiwi.theme_rsi .messages .msg.motd .text { color:#666; }
#kiwi.theme_rsi .messages .msg.whois .nick { font-weight:normal; }
#kiwi.theme_rsi .messages .msg.whois .text { padding-left:1em; border-left:1px dashed #999; }
#kiwi.theme_rsi .messages .msg.error .text {
    border:1px solid #A33F3F; background-color:#D28A8A;
    padding:0.5em; margin-top:1em; margin-bottom:1em; margin-right:2em;
}

#kiwi.theme_rsi .messages .msg.global_nick_highlight { background: #061324; background: rgba(0, 46, 116, 0.24); }
#kiwi.theme_rsi .messages .msg.global_nick_highlight .text { color:#00ffff; text-shadow: 0 0 25px #1DA5FF; }
#kiwi.theme_rsi .messages .msg.global_nick_highlight .time { color:#fff; }



#kiwi.theme_rsi .messages .msg .media { margin-left:0.5em; }
#kiwi.theme_rsi .messages .msg .media .media_close { font-size:0.9em; }
#kiwi.theme_rsi .messages .msg .media .media_content { margin:10px 0 0 6em; overflow:hidden; }
#kiwi.theme_rsi .messages .msg .media .media_content img { padding:3px; border:1px solid gray; }
#kiwi.theme_rsi .messages .msg .media .media_content > .content {
    background: white;
    overflow: hidden;
    padding: 10px;
    border: #DDD 1px solid;
    border-top-color: #EEE;
    border-bottom-color: #BBB;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    float: left;
}

#kiwi.theme_rsi .messages .msg .media.twitter .media_content > .content {
    background: transparent;
    border:none;
    overflow: hidden;
    box-shadow: none;
    padding: 0;
}
#kiwi.theme_rsi .messages .msg .media.reddit .thumbnail_nsfw {
    display: inline-block;
    float: left;
}
#kiwi.theme_rsi .messages .msg .media.reddit .thumbnail { float:left; margin-right: 0.5em; }



/* The server select dialog */
#kiwi.theme_rsi .server_select { width:730px;  padding:3em 0 2em 0; margin: 0 auto; }
#kiwi.theme_rsi .server_select .more { display: none; width:270px; margin:0 auto; }
#kiwi.theme_rsi .server_select table tr td { padding:5px; }
#kiwi.theme_rsi .server_select button { float:right; padding:3px 7px; margin-top:10px; }
#kiwi.theme_rsi .server_select input { padding:3px 7px; width:150px; }
#kiwi.theme_rsi .server_select label { width:5em; padding-top:3px }
#kiwi.theme_rsi .server_select br { clear:both; }
#kiwi.theme_rsi .server_select .basic input, .server_select .basic button { font-size:1em; padding:0.5em 1em; }
#kiwi.theme_rsi .server_select .basic input { width:170px; outline: none; background: black; border: solid 1px #14283d; color: #fff; transition: box-shadow 0.3s, border 0.3s; -webkit-transition: box-shadow 0.3s, border 0.3s; -moz-transition: box-shadow 0.3s, border 0.3s; -o-transition: box-shadow 0.3s, border 0.3s; }
#kiwi.theme_rsi .server_select .basic input:focus { border-color: #0cf; box-shadow: 0 0 20px #003F83; }
#kiwi.theme_rsi .server_select .basic label { font-size:1.3em; margin-top:4px; }
#kiwi.theme_rsi .server_select .basic tr.have_pass { font-size:0.8em; }
#kiwi.theme_rsi .server_select .basic tr.channel td { padding-top:1em; }
#kiwi.theme_rsi .server_select .basic { border-bottom: 1px dashed gray; margin-bottom:1em; }
#kiwi.theme_rsi .server_select .basic .show_more { display: block; width:116px; margin:10px 0 0 0; font-size:0.8em; background: url(../img/more.png) no-repeat right 7px; }
#kiwi.theme_rsi .server_select.single_server .basic { border:none; }
#kiwi.theme_rsi .server_select .status { text-align: center; font-weight: bold; padding:1em; }
#kiwi.theme_rsi .server_select .status.ok { }
#kiwi.theme_rsi .server_select .status.error {
    border:1px solid #A33F3F; background-color:#D28A8A;
    padding:0.5em; margin-top:1em; margin-bottom:1em; margin-right:2em;
}


#kiwi.theme_rsi .server_select .kiwi_logo { text-align: center; display:block; }
#kiwi.theme_rsi .server_select .kiwi_logo h1 {
    font-size:20px;
    line-height:48px; vertical-align: middle;
    color: #555555;
}
#kiwi.theme_rsi .server_select .kiwi_logo img { }


#kiwi.theme_rsi .divider-verticle {
    border-left: 1px solid #303030;
    border-right: 1px solid #1B1B1B;
}

#kiwi.theme_rsi .divider-horizontal {
    border-top: 1px solid #303030;
    border-bottom: 1px solid #1B1B1B;
}



#kiwi.theme_rsi.chanlist_treeview #panels { left:200px; }
#kiwi.theme_rsi.chanlist_treeview #toolbar { position:static; }
#kiwi.theme_rsi.chanlist_treeview #toolbar .app_tools { float:none; }
#kiwi.theme_rsi.chanlist_treeview #toolbar > div { margin-left:200px; }
#kiwi.theme_rsi.chanlist_treeview #toolbar #tabs { position:absolute; left:0px; bottom:0px; top:0px; margin:0; width:200px; background:#1B1B1B; overflow-y:auto; }
#kiwi.theme_rsi.chanlist_treeview #tabs ul li { display:block; float:none; }
#kiwi.theme_rsi.chanlist_treeview #tabs ul li .activity { float:right; }
#kiwi.theme_rsi.chanlist_treeview #tabs ul li.active { padding-left:1em; }


/* RSI Custom */
#kiwi.theme_rsi .panel_container { height: 100%; background: url(http://robertsspaceindustries.com/rsichat/rsibglogo.png) no-repeat center center; box-shadow: inset 0 0 255px black; }