/*
Copyright &copy; 2008 Pippa http://www.spacegirlpippa.co.uk
Contact: sthlm.pippa@gmail.com

This file is part of wTag mini chat - shoutbox.

wTag is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

wTag is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with wTag.  If not, see <http://www.gnu.org/licenses/>.
*/


/* main-style.css is the main stylesheet for wTag.
Several display bugs in IE are fixed in ie-style.css,
and a few display bugs in Opera are fixed at the end of this file
*/

/* #box is the main div of the shoutbox layout.
You can find the css code creating rounded corners for Mozilla
inside the minichat.php file.
You can remove the #box div completely from the shoutbox html code
if you wish to redesign the layout.
*/
#box {
/*
position:relative;

margin-top:0px;

width: 250px;

height: 276px;
margin-bottom:20px;
background-color: #d4e3d0;
z-index:94;*/
}

/* #chat div is nested inside the #box div and
containing all other divs of the shoutbox layout */
#chat {
margin-left:29px;
_margin-left:0px;
margin-top:110px;
width:386px;
z-index:95;

}

/* Messages area div */
#container {
position:relative;
top: 0px;

right: 0px;
margin-right: 0px;
width: 375px;
height: 133px;
background-color: transparent;
overflow: hidden;
border-bottom: 0px solid #ccc;
background-color:#F5F5F5;
}

/* Scroll bar */
#scrollArea {
position: relative;
float:right;
right:3px;
top: 0px;
height: 133px;
width: 8px;
overflow: hidden;
background-color: #F5F5F5;
z-index:96;
}

/* Scroller */
#scroller {
position: absolute;
top: -1px;
width: 8px;
background-color: #E58DC9;
right:0px;
}

/* Content div */
#content {
position: relative;
padding-top:10px;
width: 370px;
left: 0px;
background-color: #F5F5F5;
font-size:11px;
text-align:left;
}

/* Every message */
#content .user {
width: 370px;
padding-bottom: 12px;
padding-left: 8px;
line-height:16px;
}

/* Name (without link) */
#content .name {
color: #44B934;
font-size: 12px;

padding-right: 0px;
text-decoration: none;
}

/* Name (with link) */
#content .link, #content .link a, #content .link a:link, #content .link a:visited {
font-size: 12px;
padding-right: 0px;
color: #E58DC9;

text-decoration: underline;
}

/* Name (with link) on mouse over */
#content .link a:hover {
color: #44B934;
background-color: #fff;
text-decoration: underline;
}

/* Date */
#content .date {
font-size: 10px;
letter-spacing: 1px;
color: #666;
margin-right: 6px;
text-decoration: none;
cursor:pointer;
}

/* Message text */
#content .text {

font-size: 12px;
color: #000;
margin-left:10px;
}

/* Links catched in a message */
#content .text a, #content .text a:link, #content .text a:visited {
color: #555;
background-color: #fff;
text-decoration: none;
}

/* Links catched in a message on mouse over */
#content .text a:hover {
color: #555;
background-color: #fff;
text-decoration: none;
}

/* Curly brackets around the links */
.blue {
color:blue;
}

/* Form div */
#form {
position:relative;

}

/* Div containing the form fields */
#field_set {

width:385px;
margin-top:5PX;
}

/* Name field */
input#name {

background-color:#F5F5F5 !important;
border:medium none;
color:#999999;
font-size:11px;
float:left;
height:20px;
letter-spacing:1px;
margin-bottom:5px;
margin-right:15px;
width:180px;
}

/* Url field */
input#url {

background-color:#F5F5F5 !important;
border:medium none;
color:#999999;
float:left;
height:20px;
letter-spacing:1px;
margin-bottom:5px;
width:180px;
font-size:11px;
}

/* Message field */
textarea#message{
background-color:#F5F5F5;
border:medium none;
color:#999999;
height:20px;
letter-spacing:1px;
margin-bottom:5px;
margin-top:0;
overflow:hidden;
width:380px;
font-size:11px;
position:relative;
clear:both;
}

/*------ Start of the the shoutbox menu --------------------------------------*/
#chat_menu {
color:#CCCCCC;
font-size:10px;
height:20px;
margin-top:0;
position:relative;


}

/* Copyright link */
#wtag {
position: absolute;
top:0px;
left: 0px;
height:20px;
width: 60px;
font-size: 10px;

border-right:1px dotted #ccc;
text-align:center;
}

#wtag p {
margin-top:4px;
}

#wtag a, #wtag a:link, #wtag a:visited {
color: #44B934;

text-decoration:none;
}

/* Link to wTag web site on mouse over */
#wtag a:hover {
color: #44B934;
text-decoration:none;
}

/* Smileys panel */
#emo {
position: absolute;
top:0px;
left: 136px;
height:20px;
width: 74px;

font-size: 10px;
background-color:transparent;
border-right: 1px dotted #ccc;
text-align:center;
cursor:pointer;
padding:0px;
}

#emo ul {
list-style-type:none;
margin-top:4px;
color: #666;
text-decoration:none;
background-color: transparent;
margin-left:0px;
padding:0px;
}

#emo li:hover,  #emo li.over {
color: #44B934;
background-color: transparent;
cursor:pointer;
padding-bottom:10px;
}

#emo li ul {
display: none;
cursor:default;
list-style-type:none;
}

#emo li:hover ul {
position:absolute;
right:-1px;
display:block;
top:18px;
width:202px;
height:60px;

border: 1px solid #ccc;
cursor:default;
list-style-type:none;
padding-left:8px;
z-index:97;
}
 
#emo li:hover ul li, #emo li.over ul li{
display: inline;
cursor:default;
margin-right:9px;
}

/* Position smiley images */
.smileys {margin-top:8px;}

/* Refresh button */
#refresh {
display:none;
}


#close_chat{
height:53px;}


/* Submit button */
#submit {

cursor:pointer;
float:right;
height:37px;
background-image:url(../../images/send.jpg);
background-repeat:no-repeat;
width:113px;
}




/*------ The CSS below this comment is for Opera only ------------------------*/

html:first-child #box {
width: 294px;
height: 240px;
background-color: transparent;
background-image: url('../img/rounded.gif');
}

html:first-child textarea {
left: 108px;
width: 164px;
height: 36px;
}

html:first-child #emo li:hover>ul {
display:block;
width:210px;
padding-left:0px;
}

html:first-child #emo li:hover>ul li {
margin-right:10px;
}


html:first-child li>.smileys {
margin-top:10px;   
}

div#fancy_overlay {
opacity:0.8;
background-color:#333333;

filter: alpha(opacity = 50);
display:none;

height:100%;
left:0;
position:fixed;
top:0;
width:100%;
z-index:30;
}
<!--
#main_c_box
{
position: absolute;
top:25%;
left:25%;
width:50%;

text-align: center;


z-index:10000;
}

.box_bg{
background: url('../img/box-trans.png') no-repeat;
width: 450px;
height: 425px;
margin: 0 auto;
}
-->
#close{

margin-right:12px;
margin-top:46px;
}

/*ie 6*/
