#minichat {
/*margin-bottom: 5px;*/
}

#box {
top: 0px;
left: 1px;
position: relative;
height: 177px;
background-color: #eee;
border: 0;

z-index:94;
}

/* #chat div is nested inside the #box div and
containing all other divs of the shoutbox layout */
#chat {
position: absolute;
top: 0px;
right: 0px;
left: 0px;
height: 148px;
width: 100%;

background-color: #fff;

z-index:95;
}

/* Messages area div */
#container {
position: absolute;
/*top: 0px;*/
left: 0px;
/*margin-right: 10px;*/
padding-right: 7px;
width: 99%;
height: 98%;
background-color: ghostWhite;
/*overflow: hidden;*/
overflow: auto;
border-bottom: 1px solid #ccc;
border-left: 1px solid #ccc;
}

/* Scroll bar */
#scrollArea {
position: absolute;
right: 2px;
top: -1px;
height: 146px;
width: 8px;
overflow: hidden;
/*background-color: cadetBlue;*/

z-index:96;
}

/* Scroller */
#scroller {
position: absolute;
width: 8px;
background-color: #d0f3ff;
right:0px;

z-index:99;

}

/* Content div */
#content {
position: absolute;
padding-top: 2px;
height: 95%;
width: 99%;
padding-left: 2px;
background-color: ghostWhite;
font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
}

/* Every message */
#content .user {
width: 100%;
padding-bottom: 3px;
padding-left: 8px;
line-height:16px;
background-color: transparent;
}

/*ghostWhite*/

/* Name (without link) */
#content .name {
color: #191970;
font-size: 12px;
background-color: #eee;
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: #00BFFF;
background-color: #eee;
text-decoration: underline;
}

/* Name (with link) on mouse over */
#content .link a:hover {
color: #00BFFF;
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-family: Verdana, Helvetica, Arial, sans-serif;
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: absolute;
top: 148px;
/*left: 0px;*/
width: 100%;
height: 27px;
/*background-color: #fff;*/
}

/* Div containing the form fields */
#field_set {
position: absolute;
top: 0px;
left: 0px;
width: 80%;
height: 100%;
background-color: #ccc;
}

/* Name field */
input#name {
/*position:absolute;*/
width: 20%;
height: 19px;
left: 0px;
/*top: 1px;*/
/*color: #000;*/
/*background-color: #DCDCDC;*/
letter-spacing: 1px;
/*margin-top: 0px;*/
padding: 2px;
font-weight: bold;
text-align: center;
font-size: 1.3em;
}

/* Url field */
input#url {
position:absolute;
width: 10px;
left: 0px;
height: 10px;
top: -20px;
}

/* Message field */
#message {
position: absolute;
height: 19px;
right: 1px;
width: 79%;
/*top: 1px;*/
color: #999;
/*background-color: #DCDCDC;*/
overflow: hidden;
}

/*------ Start of the the shoutbox menu ----кнопки----*/
.td1 {
	padding: 1px;
}

#chat_menu {
position: absolute;
right: -1px;
/*height: 26px;*/
width: 20%;
padding: 1px;
margin-top: 146px;
font-family: Arial, Helvetica, sans-serif;
/*font-size: 10px;*/
/*color: #ccc;*/
/*background-color: #EFEFEF;*/
/*border: 1px solid #A9B8C2;*/
}

/* Smileys panel */
#emo {
/*position: absolute;*/
/*top:0px;*/
/*right: 151px;*/
height: 24px;
/*width: 16%;*/
/*font-family: Arial, Helvetica, sans-serif;
font-size: 10px;*/
background-color:transparent;
border: 1px solid grey;
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: #00BFFF;
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;
background-color: #eee;
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 {
/*position: absolute;*/
/*top:0px;*/
right: 0px;
height: 24px;
/*width: 41%;*/
/*background-color: #eee;*/
cursor: pointer;
border: 1px solid grey;
/*font-family: Helvetica, Arial, sans-serif;*/
/*font-size: 10px;*/
font-weight: bold;
text-align: center;
}

#refresh p {
margin-top: 6px;
color: #069;
text-decoration: none;
}

#refresh p:hover {
margin-top: 4px;
color: #D66500;
text-decoration: underline;
white-space: nowrap;
}

/* Submit button */
#submit {
/*position: absolute;*/
/*top: 0px;*/
right: 75px;
height: 24px;
/*width: 41%;*/
/*background-color: #eee;*/
cursor: pointer;
border: 1px solid grey;
/*font-family: Helvetica, Arial, sans-serif;
font-size: 10px;*/
font-weight: bold;
text-align: center;
}

#submit p {
margin-top: 6px;
color: #069;
text-decoration: none;
}

/* Submit button on mouse over */
#submit p:hover {
margin-top: 4px;
color: #D66500;
text-decoration: underline;
white-space: nowrap;
}


/*------ 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;   
}


