/*
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;
	top: 0px;
	width: 275px;
	left: 0px;
	height: 240px;
	background-color: #000000;
	z-index:94;
	right: 0px;
	bottom: 0px;
	color: #FFFFFF;
}

/* #chat div is nested inside the #box div and
containing all other divs of the shoutbox layout */
#chat {
	position: absolute;
	top: 6px;
	width: 268px;
	left: 6px;
	height: 226px;
	background-color: #000000;
	z-index:95;
	color: #EBC096;
}

/* Messages area div */
#container {
	position: absolute;
	top: 0px;
	right: 19px;
	margin-right: 0px;
	width: 246px;
	height: 160px;
	background-color: transparent;
	overflow: hidden;
	font-family: Tahoma;
	font-size: 11px;
	color: #FFFFFF;
	border: 1px solid #FFFFFF;
	padding: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

/* Scroll bar */
#scrollArea {
	position: absolute;
	right:5px;
	top: 0px;
	height: 160px;
	width: 8px;
	overflow: hidden;
	background-color: #000000;
	z-index:96;
	border: 1px solid #FFFFFF;
}

/* Scroller */
#scroller {
	position: absolute;
	top: -1px;
	width: 8px;
	background-color: #BA352E;
	right:0px;
}

/* Content div */
#content {
	position: relative;
	padding-top:10px;
	width: 260px;
	left: 0px;
	background-color: #000000;
	font-family: Tahoma;
	font-size: 10px;
	color: #FFFFFF;
}

/* Every message */
#content .user {
	width: 240px;
	padding-bottom: 12px;
	padding-left: 8px;
	line-height:16px;
}

/* Name (without link) */
#content .name {
	color: #EBC191;
	font-size: 11px;
	background-color: #000000;
	padding-right: 0px;
	text-decoration: none;
	font-weight: normal;
}

/* Name (with link) */
#content .link, #content .link a, #content .link a:link, #content .link a:visited {
	font-size: 11px;
	padding-right: 0px;
	color: #F0BC95;
	background-color: #000000;
	text-decoration: underline;
	font-weight: normal;
}

/* Name (with link) on mouse over */
#content .link a:hover {
	color: #FFFFFF;
	background-color: #C33430;
	text-decoration: underline;
}

/* Date */
#content .date {
	font-size: 10px;
	letter-spacing: 1px;
	color: #C63F3B;
	margin-right: 6px;
	text-decoration: none;
	cursor:pointer;
}

/* Message text */
#content .text {
	font-family: Tahoma;
	font-size: 11px;
	color: #FFFFFF;
	margin-left:10px;
}

/* Links catched in a message */
#content .text a, #content .text a:link, #content .text a:visited {
	color: #000000;
	background-color: #fff;
	text-decoration: none;
}

/* Links catched in a message on mouse over */
#content .text a:hover {
	color: #E6BE8D;
	background-color: #fff;
	text-decoration: none;
}

/* Curly brackets around the links */
.blue {
	color:#000000;
}

/* Form div */
#form {
	position: absolute;
	top: 164px;
	left: 0px;
	width: 261px;
	height: 41px;
	background-color: #000000;
	
}

/* Div containing the form fields */
#field_set {
	position: absolute;
	top: 0px;
	left:3px;
	width: 258px;
	height: 50px;
	background-color: inherit;
}

/* Name field */
input#name {
	position:absolute;
	width: 91px;
	height:16px;
	left: -2px;
	top:0px;
	font-family: Tahoma;
	color: #FFFFFF;
	background-color: #000000 !important;
	font-size: 10px;
	letter-spacing: 1px;
	border: 1px solid #FFFFFF;
	margin-top:0px;
	margin-right: 5px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-left: 4px;
}

/* Url field */
input#url {
	position:absolute;
	width: 91px;
	height:16px;
	left: -2px;
	top:20px;
	font-family: Tahoma;
	color: #FFFFFF;
	background-color: #000000 !important;
	font-size: 10px;
	letter-spacing: 1px;
	margin-right: 5px;
	border-top-width: 0px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-color: #FFFFFF;
	border-bottom-color: #FFFFFF;
	border-left-color: #FFFFFF;
	padding-left: 4px;
}

/* Message field */
textarea {
	position:absolute;
	height: 38px;
	left: 101px;
	width: 152px;
	top:0px;
	font-family: Tahoma;
	color: #FFFFFF;
	background-color: #000000;
	font-size: 11px;
	letter-spacing: 1px;
	border: 1px solid #FFFFFF;
	overflow:hidden;
	margin-top: 0px;
	padding-left: 5px;
}

/*------ Start of the the shoutbox menu --------------------------------------*/
#chat_menu {
	position: absolute;
	top:206px;
	left: 0px;
	margin-top: 0px;
	height: 20px;
	width: 264px;
	font-family: Tahoma;
	font-size: 10px;
	color: #FFFFFF;
	background-color: #000000;
}

/* Copyright link */
#wtag {
	position: absolute;
	top:0px;
	left: 0px;
	height:20px;
	width: 18px;
	font-family: Tahoma;
	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: 107px;
	height:21px;
	width: 74px;
	font-family: Tahoma;
	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: #FFFFFF;
	text-decoration:none;
	background-color: transparent;
	margin-left:0px;
	padding:0px;
}

#emo li:hover,  #emo li.over {
	color: #C33531;
	background-color: #000000;
	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: #000000;
	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:1px;
	left: 26px;
	height:18px;
	width: 74px;
	font-family: Tahoma;
	font-size: 10px;
	background-color: #000000;
	border-right:1px dotted #ccc;
	text-align:center;
	cursor:pointer;
}

#refresh p {
	margin-top:4px;
	color: #FFFFFF;
	text-decoration:none;
	background-color: #000000;
}

#refresh p:hover {
	color: #B2332C;
	background-color: #000000;
	cursor:pointer;
}

/* Submit button */
#submit {
	position: absolute;
	top:0px;
	left:189px;
	height:20px;
	width: 69px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	background-color: #000000;
	text-align:center;
	cursor:pointer;
}

#submit p {
	margin-top:4px;
	color: #FFFFFF;
	text-decoration:none;
	background-color: #000000;
}

/* Submit button on mouse over */
#submit p:hover {
	color: #BA352E;
	background-color: #000000;
	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;   
}

