html, body, .panel, #panels {
    /*height: 100%;*/
    /*width: 100%;*/
    position: relative;
    /*font-size: 80%;*/
}

body.ui-widget-content {
    margin: 0;
    padding: 0;
    color: black;
    background: white;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
}

#bg {
    clear: both;
}

#message {
    font-size: 150%;
    text-align: center;
    color: black;
    background-color: white;
    border: 1px solid grey;
    padding: 30px;
    margin: 30px;
    /*width: 100%;*/
    display: none;
}

label, h3 {
    color: black;
}

.panel {
    display: none;
}

.panel {
    max-width: 100%;
    max-height: 100%;
}

#new_question_text {
    /*width: 300px;*/
    height: 50px;
}

/*INPUT, TEXTAREA {
    border: 1px solid black;
    background-color: white;
    width: 100%;
}*/

BUTTON {
    -webkit-appearance: none;
}

#ask_question_panel, #custom_html_player_div, #custom_flash_player {
    /*width: 848px;*/
    text-align: left;
}

#custom_html_player_div, #custom_flash_player {
    /*height: 480px;*/
}

#ask_question_panel {
    border: 2px solid slategray;
    margin: 10px;
    background: lavender !important;
    margin-top: 40px;
}

#ask_question_panel > div {
    padding: 15px;
}

#custom_flash_player {
    margin: 10px;
    /*height: 610px;*/
    overflow: hidden;
    position: relative;
}

#custom_html_player_div {
}

#custom_html_player_div video {
    width: 100%;
    height: 100%;
    /*position: relative;*/
}

#custom_flash_player, #custom_html_player_div, #ask_question_panel {
    /*display: inline-block;*/
}

#question_sent {
    display: none;
    font-weight: bold;
    color: darkgreen;
    font-size: 120%;
    font-style: italic;
}

.state_info {
    font-size: 190%;
    color: #056ab2;
    font-style: italic;
    font-weight: bold;
}

#connect_status {
    width: 5px;
    height: 5px;
    background-color: grey;
}

.connect_ok {
    background-color: #008000 !important;
}

.connect_pending {
    background-color: orange !important;
}

.connect_lost {
    background-color: red !important;
}

