/*
Copyright &copy; 2008-2011 http://www.phpcandy.com
Contact: contact@phpcandy.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.
*/













/* #chat div is nested inside the #box div and
containing all other divs of the shoutbox layout */
#chat {
position: absolute;
top: 1px;
width: 280px;
left: 1px;
height: 226px;
border: 1px solid #ccc;
background-color: #fff;
z-index:95;
}

/* Messages area div */
#container {
position: absolute;
top: 0px;
right: 0px;
margin-right: 0px;
width: 100%;
height: 160px;
background-color: transparent;
overflow: hidden;
border-bottom: 1px solid #ccc;
}

/* Scroll bar */
#scrollArea {
position: absolute;
right:3px;
top: 3px;
height: 154px;
width: 8px;
overflow: hidden;
background-color: #F0F8FF;
z-index:96;
}

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

/* Content div */
#content {
position: relative;
padding-top:10px;
width: 269px;
left: 0px;
background-color: #fff;
font: 10px Arial, Helevetica,san-serif;
}

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

/* 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: Arial,Helvetica,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: 164px;
left: 0px;
width: 280px;
height: 41px;
background-color: #fff;
border-bottom: 1px solid #ccc;
}

/* Div containing the form fields */
#field_set {
position: absolute;
top: 0px;
left:3px;
width: 274px;
height: 38px;
background-color: inherit;
}

/* Name field */
input#name {
position:absolute;
width: 104px;
height:16px;
left: 0px;
top:0px;
font-family: Arial, Helvetica, sans-serif;
color: #999;
background-color: #DCDCDC !important;
font-size: 12px;
letter-spacing: 1px;
border: none;
margin-top:0px;
}

/* Url field */
input#url {
position:absolute;
width: 104px;
height:16px;
left: 0px;
top:20px;
font-family: Arial, Helvetica, sans-serif;
color: #999;
background-color: #DCDCDC !important;
font-size: 12px;
letter-spacing: 1px;
border: none;
}

/* Message field */
textarea {
position:absolute;
height: 38px;
left: 106px;
width: 168px;
top:0px;
font-family: Arial, Helvetica, sans-serif;
color: #999;
background-color: #DCDCDC;
font-size: 12px;
letter-spacing: 1px;
border: none;
overflow:hidden;
margin-top: 0px;
}

/*------ Start of the the shoutbox menu --------------------------------------*/
#chat_menu {
position: absolute;
top:206px;
left: 0px;
margin-top: 0px;
height: 20px;
width: 280px;
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
color: #ccc;
background-color: #eee;
}

/* Copyright link */
#wtag {
position: absolute;
top:0px;
left: 0px;
height:20px;
width: 60px;
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
background-color: #eee;
border-right:1px dotted #ccc;
text-align:center;
}

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

#wtag a, #wtag a:link, #wtag a:visited {
color: #666;
background-color: #eee;
text-decoration:none;
}

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

/* Smileys panel */
#emo {
position: absolute;
top:0px;
left: 136px;
height:20px;
width: 74px;
font-family: Arial, Helvetica, sans-serif;
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: #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:4px;
}

/* Refresh button */
#refresh {
position: absolute;
top:0px;
left: 61px;
height:20px;
width: 74px;
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
background-color: #eee;
border-right:1px dotted #ccc;
text-align:center;
cursor:pointer;
}

#refresh p {
margin-top:4px;
color: #666;
text-decoration:none;
background-color: #eee;
}

#refresh p:hover {
color: #00BFFF;
background-color: #eee;
cursor:pointer;
}

/* Submit button */
#submit {
position: absolute;
top:0px;
left:211px;
height:20px;
width: 69px;
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
background-color: #eee;
text-align:center;
cursor:pointer;
}

#submit p {
margin-top:4px;
color: #666;
text-decoration:none;
background-color: #eee;
}

/* Submit button on mouse over */
#submit p:hover {
color: #00BFFF;
background-color: #eee;
cursor:pointer;
}


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

