div#ml_onfly_chat_box {
    position: fixed;
    bottom: 0px;
    left: 0px;
    background: #fff;
    width: 300px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
	box-shadow: 0px -3px 12px -7px #333;
}
div#ml_onfly_chat_box .inner {
    display: none;
    padding: 0 10px 10px;
	height: 300px;
    position: relative;
    z-index: 1;
}
div#ml_onfly_chat_box span#online_inner {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
}
div#ml_onfly_chat_box h4#onfly_chat_header {
    margin: 0;
    padding: 10px 15px 10px 41px;
	cursor: pointer;
	text-shadow: none;
	color: #333;
	transition: all 0.3s;
	position: relative;
}
div#ml_onfly_chat_box h4#onfly_chat_header.visible {
    color: blue;
}
div#ml_onfly_chat_box h4#onfly_chat_header:hover {
	color: blue;
}
h4#onfly_chat_header:before {
    content: "\f125";
    font-family: 'dashicons';
    margin-right: 15px;
    vertical-align: middle;
    line-height: 1;
	position: absolute;
	left: 10px;
    top: 9px;
    font-weight: normal;
    font-size: 22px;
    width: 22px;
    height: 22px;
    color: #333;
}
h4#onfly_chat_header.waiting:before {
    content: "\f463";
	color: #ddd;
    -webkit-animation: wait-for 2s linear infinite;
    -moz-animation: wait-for 2s linear infinite;
    animation: wait-for 2s linear infinite;
	font-size: 20px;
    width: 20px;
    height: 20px;
    left: 11px;
    top: 10px;
}
h4#onfly_chat_header:after {
    content: "\f142";
    font-family: 'dashicons';
    position: absolute;
    right: 15px;
    top: 10px;
}
h4#onfly_chat_header.visible:after {
	content: "\f140";
}
div#ml_onfly_chat_box .inner span#button_container {
    display: inline-block;
    width: 50px;
}
div#ml_onfly_chat_box .inner span#button_container button {
	width: 100%;
}
div#ml_onfly_chat_box .inner span#button_container button#end_chat_message {
    padding: 6px 8px;
    font-weight: bold;
    text-shadow: 0px 1px 0px #000;
    margin-bottom: 5px;
    background-color: red;
	height: auto !important;
    border: 0;
    color: #fff;
	font-size: 13px;
}
div#ml_onfly_chat_box .inner textarea#message_body {
    display: inline-block;
    width: 223px;
    margin: 0 7px 0 0;
    vertical-align: bottom;
    border: 1px solid #bbb;
    height: 62px;
    resize: none;
    font-size: 1.1em;
    padding: 5px 8px;
    box-sizing: border-box;
}
div#ml_onfly_chat_box .inner section#footer button#send_chat_message {
    padding: 6px 8px;
	font-weight: bold;
	text-shadow: 0px 1px 0px #000;
	height: auto !important;
    border: 0;
    color: #fff;
	font-size: 13px;
}
div#ml_onfly_chat_box.private_member div.inner section#header {
    position: absolute;
    bottom: 270px;
    left: 10px;
    right: 10px;
    top: 0;
    box-sizing: border-box;
}
div#ml_onfly_chat_box div.inner section#body {
    position: absolute;
    bottom: 83px;
    left: 10px;
    right: 10px;
    top: 10px;
    background: #f0f0f0;
    box-sizing: border-box;
    box-shadow: 0px 0px 12px -4px #555 inset;
	overflow-y: auto;
}
div#ml_onfly_chat_box.private_member div.inner section#body {
	top: 40px;
}
div#ml_onfly_chat_box div.inner section#footer {
    position: absolute;
    bottom: 10px;
    height: 63px;
}
div#ml_onfly_chat_box div.inner section#header span#online_title {
    font-weight: bold;
    font-size: 0.9em;
    line-height: 1;
	vertical-align: middle;
	color: #333;
    text-shadow: none;
}
div#ml_onfly_chat_box div.inner section#header ul#online_list {
    margin: 0;
    vertical-align: top;
    display: inline-block;
    padding: 0px;
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
}
div#ml_onfly_chat_box div.inner section#header ul#online_list li {
    display: inline;
    color: #555;
    text-shadow: none;
    font-size: 0.83em;
    padding: 5px;
    cursor: pointer;
    transition: all 0.3s;
}
div#ml_onfly_chat_box div.inner section#header ul#online_list li:hover, div#ml_onfly_chat_box div.inner section#header ul#online_list li.selected {
	color: blue;
}
div#ml_onfly_chat_box div.inner section#header ul#online_list li:before {
    content: '•';
    margin-right: 3px;
	color: #bbb;
}
div#ml_onfly_chat_box div.inner section#header ul#online_list li.new-items:before {
    color: red;
}
div#ml_onfly_chat_box div.inner section#body p {
    padding: 5px 8px;
    font-size: 14px;
	color: #333;
    text-shadow: none;
	text-align: left;
	box-sizing: border-box;
	border-bottom: 1px dashed #bbb;
	margin: 0;
}
div#ml_onfly_chat_box div.inner section#body p span {
    display: block;
}
div#ml_onfly_chat_box div.inner section#body p.guest {
    text-align: right;
    background: #ffffff87;
    margin: 5px 2% 9px 28%;
    width: 70%;
    border: 1px dashed #bbb;
    border-radius: 4px;
}
div#ml_onfly_chat_box div.inner section#body p span.date {
    font-weight: bold;
    font-size: 0.8em;
}
div#ml_onfly_chat_box div.inner section#body p.guest span.message {
	text-align: left;
}
div#ml_onfly_chat_box div.inner section#body p.host.private_member {
    background: #dedede80;
	width: 70%;
    margin: 5px 28% 9px 2%;
    border: 1px dashed #bbb;
    border-radius: 4px;
}
div#ml_onfly_chat_box div.inner section#body p.host.private_member span.message {
	text-align: left;
}
div#ml_onfly_chat_box div.inner section#body p.ended {
    color: red;
}

/* TABS */
div#ml_onfly_chat_box div.onfly_chat_tabs {
    position: absolute;
    top: 50px;
    left: 100%;
	background: #fff;
    box-shadow: 3px 0px 8px -6px #555;
}
div#ml_onfly_chat_box div.onfly_chat_tabs span {
    display: block;
    padding: 8px;
    color: #333;
    font-size: 22px;
    width: 22px;
    height: 22px;
    line-height: 1;
    font-weight: 100;
	cursor: pointer;
	text-shadow: none;
    border-left: 3px solid transparent;
	transition: all 0.3s;
}
div#ml_onfly_chat_box div.onfly_chat_tabs span.selected {
    color: blue;
    border-color: blue;
}
div#ml_onfly_chat_box div.onfly_chat_tabs span:hover {
	color: blue;
}
div#ml_onfly_chat_box div.details, div#ml_onfly_chat_box div.settings {
    position: absolute;
    height: 300px;
    width: 300px;
    background: #fff;
	display: none;
	z-index: 2;
	transition: all 0.3s;
	padding: 10px;
}
div#ml_onfly_chat_box div.details.open-house, div#ml_onfly_chat_box div.settings.open-house {
	display: block;
}
div#ml_onfly_chat_box div.details h5, div#ml_onfly_chat_box div.settings h5 {
    margin: 0;
    padding: 5px 8px;
    text-shadow: none;
    color: #333;
}
div#ml_onfly_chat_box div.details h5 span, div#ml_onfly_chat_box div.settings h5 span {
    padding: 5px 8px;
	cursor: pointer;
	transition: all 0.3s;
}
div#ml_onfly_chat_box div.details h5 span.selected, div#ml_onfly_chat_box div.settings h5 span.selected {
    border-bottom: 2px solid blue;
	color: blue;
}
div#ml_onfly_chat_box div.details h5 span:hover, div#ml_onfly_chat_box div.settings h5 span:hover  {
	color: blue;
}
div#ml_onfly_chat_box div.details section#details_body, div#ml_onfly_chat_box div.settings section#settings_body {
    padding: 8px;
	height: 235px;
    overflow-y: auto;
}
div#ml_onfly_chat_box div.details section#details_body table, div#ml_onfly_chat_box div.settings section#settings_body table {
    width: 100%;
    border-collapse: collapse;
}
div#ml_onfly_chat_box div.details section#details_body table th, div#ml_onfly_chat_box div.settings section#settings_body table th {
    color: #000;
    text-shadow: none;
    font-size: 0.9em;
    font-weight: normal;
    text-align: left;
    padding: 5px 8px;
}
div#ml_onfly_chat_box div.details section#details_body table td {
    padding: 5px;
    color: #333;
    text-shadow: none;
    font-size: 0.9em;
}
div#ml_onfly_chat_box div.details section#details_body p {
    margin: 0;
}
div#ml_onfly_chat_box div.settings section#settings_body table td {
    padding: 3px;
    color: #333;
    font-size: 0.9em;
}
div#ml_onfly_chat_box div.details section#details_body table input.onfly-save-chat {
    padding: 5px 8px;
    font-size: 0.9em;
}
div#ml_onfly_chat_box div.details section#details_body table input.memory-stick {
    box-sizing: border-box;
    width: 100%;
    padding: 5px 8px !important;
    margin-top: 5px;
}
div#ml_onfly_chat_box div.details section#details_body table td.current {
    color: blue;
	cursor: default;
}
div#ml_onfly_chat_box div.details section#details_body table td.click-cell-to-chat {
    cursor: pointer;
}
div#ml_onfly_chat_box div.details section#details_body table td.click-cell-to-chat:hover {
    color: blue;
}
div#ml_onfly_chat_box div.details section#details_body table td:first-child {
    width: 70px;
    vertical-align: top;
}
div#ml_onfly_chat_box div.details section#details_body table tr.highlight td:last-child {
    color: #000;
    font-style: italic;
    font-weight: bold;
}
div#ml_onfly_chat_box div.details section#details_body table tr.lowlight td:last-child {
    color: #000;
    font-style: italic;
}
div#ml_onfly_chat_box div.details section#details_body table tr.click-to-chat td {
    cursor: pointer;
}
div#ml_onfly_chat_box div.details section#details_body table tr.click-to-chat:hover td {
    color: blue;
}
div#ml_onfly_chat_box div.details section#details_body table#saved_chats tr td {
    font-size: 0.8em;
    word-break: break-all;
}
div#ml_onfly_chat_box div.details section#details_body table td p.saved-chat {
    margin-bottom: 2px;
    font-weight: bold;
}
div#ml_onfly_chat_box div.details section#details_body table tr td.click-cell-to-chat:before {
	content: "\f344";
	font-family: 'dashicons';
	vertical-align: middle;
    line-height: 1;
    font-size: 15px;
	color: #000;
    margin-right: 3px;
}
div#ml_onfly_chat_box div.details section#details_body table#saved_chats tr:not(:last-child) td {
    border-bottom: 1px dashed #bbb;
}
div#ml_onfly_chat_box div.details section#details_body table#saved_chats tr td:first-child {
    width: 70px;
	cursor: default;
	font-size: 0.7em;
}
div#ml_onfly_chat_box div.details section#details_body table#saved_chats tr td.click-cell-to-chat {
    cursor: pointer;
}
div#ml_onfly_chat_box div.details section#details_body table#saved_chats tr td:click-cell-to-chat:hover {
	color: blue;
}
div#ml_onfly_chat_box div.details section#details_body table#saved_chats tr td span.dashicons-no-alt {
    color: #000;
	cursor: pointer;
	font-size: 25px;
    width: 25px;
    height: 25px;
    line-height: 1;
    transition: all 0.3s;
}
div#ml_onfly_chat_box div.details section#details_body table#saved_chats tr td span.dashicons-no-alt:hover {
	color: red;
}
div#ml_onfly_chat_box div.details section#details_body p.explanation {
    font-size: 0.9em;
    font-style: italic;
    margin: 10px 0 0 5px;
}


/* Settings */
section#settings_body table span#polling_speed_range input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    background: #000;
    outline: none;
    opacity: 0.7;
    -webkit-transition: all .3s;
    transition: all .3s;
}
section#settings_body table span {
    font-weight: normal;
    margin-left: 10px;
}
section#settings_body table span#polling_speed_range {
    height: 40px;
    display: block;
    padding: 5px;
    box-sizing: border-box;
}

section#settings_body table span#polling_speed_range input[type="range"]:hover {
  opacity: 1; 
}
section#settings_body table span#polling_speed_range input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none; 
	appearance: none;
	background: #FFBF00;
	width: 18px; 
	height: 18px;
	cursor: pointer; 
}

section#settings_body table span#polling_speed_range input[type="range"]::-moz-range-thumb {
	width: 18px; 
	height: 18px; 
	cursor: pointer;
	background: #FFBF00;
}

/* Keyframes */
@-moz-keyframes wait-for { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes wait-for { 
    100% { -webkit-transform: rotate(360deg); } 
}
@keyframes wait-for { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}