html {
    height: 100%;
}
body {
    margin: 0;
    padding: 0;
    background: #EEE;
    height: 100%;
    font-family: Arial, sans-serif;
}
#header {
    padding: 0.5em;
    background: #FFF;
    border-bottom: 1px solid #CCC;
}
#logo {
    margin: 0;
    padding: 0;
    float: left;
    font-size: 1em;
    margin-left: 1em;
    margin-right: 5em;
}
#logo img {
    display: block;
}
#tagline {
    margin: 0;
    padding: 0;
}
#tagline img {
    display: block;
}
#onlinecount {
    font-weight: bold;
    font-size: 0.9em;
    color: #555;
    position: absolute;
    right: 1.66666666em;
    top: 28px;
}
#intro {
    line-height: 1.5;
    margin: 1em;
    margin-right: 192px;
    padding: 0.5em;
    padding-top: 0;
    border: 1px solid #CCC;
    background: white;
    border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
}
#chatbutton {
    text-align: center;
    margin-bottom: 0.25em;
}
#chatbutton img {
    display: block;
    margin: auto;
    cursor: hand;
    cursor: pointer;
}
#aim {
    margin: 0;
    text-align: center;
    font-size: 0.9em;
}
img {
    border: 0 none;
}
.logwrapper {
    border: 1px solid #CCC;
    border-radius-topleft: 0.5em;
    border-radius-topright: 0.5em;
    -moz-border-radius-topleft: 0.5em;
    -moz-border-radius-topright: 0.5em;
    -webkit-border-top-left-radius: 0.5em;
    -webkit-border-top-right-radius: 0.5em;
    background: white;
    position: absolute;
    left: 1em;
    right: 1em;
    bottom: 6.5em;
    /* Dimensions for IE: */
    _width: 96%;
    _height: 250px;
}
.logbox {
    position: absolute;
    top: 0.5em;
    bottom: 0;
    left: 0.5em;
    right: 0;
    overflow: auto;
    /* Dimensions for IE: */
    _width: 97%;
    _height: 230px;
}
.controlwrapper {
    position: absolute;
    bottom: 1em;
    left: 1em;
    right: 1em;
    height: 5em;
}
.controltable {
    border-collapse: separate;
    border-spacing: 0;
}
.disconnectbtnwrapper {
    margin-right: 0.5em;
    border: 1px solid #CCC;
    border-radius-bottomleft: 0.5em;
    -moz-border-radius-bottomleft: 0.5em;
    -webkit-border-bottom-left-radius: 0.5em;
}
.disconnectbtn {
    font-family: sans-serif;
    font-size: 1em;
    background: white;
    width: 7em;
    height: 5em;
    padding: 0;
    margin: 0;
    border: 0 none;
    border-radius-bottomleft: 0.5em;
    -moz-border-radius-bottomleft: 0.5em;
    -webkit-border-bottom-left-radius: 0.5em;
}
.sendbtnwrapper {
    margin-left: 0.5em;
    border: 1px solid #CCC;
    border-radius-bottomright: 0.5em;
    -moz-border-radius-bottomright: 0.5em;
    -webkit-border-bottom-right-radius: 0.5em;
}
.sendbtn {
    font-family: sans-serif;
    font-size: 1em;
    background: white;
    width: 7em;
    height: 5em;
    padding: 0;
    margin: 0;
    border: 0 none;
    border-radius-bottomright: 0.5em;
    -moz-border-radius-bottomright: 0.5em;
    -webkit-border-bottom-right-radius: 0.5em;
}
.chatmsgcell {
    width: 100%;
}
.chatmsgwrapper {
    background: white;
    border: 1px solid #CCC;
    height: 4.5em;
    padding: 0.25em;
}
.chatmsg {
    width: 100%;    
    background: white;
    font-family: sans-serif;
    font-size: 1em;
    border: 0 none;
    padding: 0;
    margin: 0;
    height: 4.5em;
    font-size: 1em;
    overflow: auto;
}
.youmsg .msgsource {
    color: blue;
    font-weight: bold;
}
.strangermsg .msgsource {
    color: red;
    font-weight: bold;
}
.statuslog {
    color: #555;
    font-size: 0.9em;
    font-weight: bold;
}
.logitem {
    padding-bottom: 0.5em;
}
textarea:focus {
    outline: none;
}
#feedback label {
    font-size: 0.9em;
    font-weight: bold;
    color: #555;
}
#emailfield {
    position: absolute;
    top: -5000px;
    left: -5000px;
}
#feedback h2 {
    font-size: 1.1em;
    font-weight: bold;
    margin: 0;
    padding: 0;
    padding-left: 20px;
}
#feedback.expanded h2 {
    background: url(/static/feedbackexpanded.png) no-repeat center left;
}
#feedback.collapsed h2 {
    background: url(/static/feedbackcollapsed.png) no-repeat center left;
}
#feedback form {
    margin-left: 20px;
}
#feedback.collapsed form {
    display: none;
}
#adwrapper {
    position: absolute;
    right: 1em;
    width: 160px;
    margin-top: 1em;
}
.inconversation #adwrapper {
    display: none;
}
.controlwrapper {
    padding-right: 176px;
}
.inconversation .controlwrapper {
    padding-right: 0;
}
.logwrapper {
    margin-right: 176px;
    _width: 75%;
}
.inconversation .logwrapper {
    _width: 96%;
    margin-right: 0;
}
#appstore {
    margin: 10px;
    margin-right: 192px;
    text-align: center;
}
