/**
 * boxs
 	- boxs border: #b5bdc5;
 */

#offset {
	margin: 10px auto 0;
	width: 1000px;
	font-size: 12px;
}
#header {
	height: 100px;
}
#navigate {
}
#main-content {
	padding-top: 15px;
	*margin-bottom: 30px;
	-margin-bottom: 0;
}

/** ส่วน header+logo */
#header h1 {
}
#header h1 a {
	display: block;
	width: 260px; height: 70px;
	/*background-image: url(../images/tarad.logo.gif);*/
	background-image: url(http://www.tarad.com/asset/tarad_logo/tarad_logo_285x75.png);
	background-repeat:no-repeat;
	float: left;
	text-indent: -9999px;
	margin-top: 15px;
}
/**body.newyear #header h1 a {
	display:block;
	float:left;
	height:100px;
	text-indent:-9999px;
	width:265px;
	margin: 0;
}**/

/** ส่วน navigate */
#navigate ul {
	display: inline;
}
#navigate ul.main {
	margin-right: 10px;
}
#navigate ul li {
	display: block;
	float: left;
}
#navigate ul li a {
	display: block;
	*display: inline-block;
	background-repeat: no-repeat;
	line-height: 25px;
	*line-height: auto;
	*height: 25px;
	background-image: url(../images/navigate-x.gif);
	background-position: center;
	text-decoration: none;
	color: #003333;
	border-right: solid 1px #F1F3F5;
	
	padding: 0 10px;
}
#navigate ul li a span {
	display: inline-block;
	cursor: pointer;
}
#navigate ul li a:hover {
	color: #000;
}
#navigate ul li.first a {
	background-position: left;
}
#navigate ul li.last a {
	background-position: right;
	border: 0;
}
#navigate ul li.active {
}
#navigate ul li.active a {
	background-color: #1e5c97;
	background-image: none;
	color: #FFF;
}

/** ส่วนช่อง search */
#navigate .search-area {
	background-image: url(../images/search-area-x.gif);
	background-repeat: repeat-x;
	height: 40px;
	padding-top: 10px;

	position: relative;
}
#navigate .search-area form {
	background-image: url(../images/search-area-inside.gif);
	height: 24px;
	width: 590px;
	margin: 0 auto;
	text-align: center;
	color: #FFFFFF;
	padding: 2px 5px;

	position: relative;
}
#navigate .search-area form .text {
	width: 280px;
	border: 0;
}
#navigate .search-area form .select {
	border: 0;
}

/** bubble-popup */
.bubbleInfo {
	position: relative;
}
.trigger {
}

/* Bubble pop-up */
.popup {
	position: absolute;
	z-index: 50;
	border-collapse: collapse;
	
	width: 990px;
}

.popup td.central {
	background-image: url(../images/bubble.gif);
}

.popup td.corner {
	height: 15px;
	width: 19px;
}

.popup td#topleft { background-image: url(../images/bubble-1.png); }
.popup td.top { background-image: url(../images/bubble-2.png); }
.popup td#topright { background-image: url(../images/bubble-3.png); }
.popup td.left { background-image: url(../images/bubble-4.png); }
.popup td.right { background-image: url(../images/bubble-5.png); }
.popup td#bottomleft { background-image: url(../images/bubble-6.png); }
.popup td.bottom { background-image: url(../images/bubble-7.png); text-align: center;}
.popup td.bottom img { display: block; margin: 0 auto; }
.popup td#bottomright { background-image: url(../images/bubble-8.png); }
.popup td#central { background-color: #FFFFFF; }

.popup td.right,
.popup td.left,
.popup td#topleft,
.popup td#bottomleft { width: 19px; }

.popup td#bottomleft,
.popup td#bottomright {
	height: 20px;
}

.popup td.top,
.popup td.bottom { width: 962px; }

.popup table.popup-contents {
	font-size: 12px;
	line-height: 1.2em;
	background-color: #fff;
	color: #666;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", sans-serif;
	}

table.popup-contents th {
	text-align: right;
	text-transform: lowercase;
	}

table.popup-contents td {
	text-align: left;
	}

tr#release-notes td a {
	color: #333;
}

/** ie z-index buggy*/
.select-free
{
	position:absolute;
	z-index:10;

	overflow:hidden;/*must have*/
	width:1000px;/*must have for any value*/;
	
}
.select-free iframe
{
	display:none;/*sorry for IE5*/
	display/**/:block;/*sorry for IE5*/
	position:absolute;/*must have*/
	top:0;/*must have*/
	left:0;/*must have*/
	z-index:-1;/*must have*/
	filter:mask();/*must have*/
	width:3000px;/*must have for any big value*/
	height:3000px/*must have for any big value*/;
}

/** list in popup */
#central * {
	font-size: 12px;
}
#central ul {
}
#central ul li {
	float: left;
	width: 240px;
	margin-bottom: 5px;
/*	height: 75px;*/
}
#central ul li a {
	display: inline;
	background-image: none;
	height: auto;
	line-height: normal;
	padding: 0;
	padding-right: 5px;
}
#central ul li strong a {
	font-size: 13px;
}
#central ul li span {
	display: inline;
	color: #999999;
	font-size: 10px;
}
#central ul li ul {
	display: block;
	-moz-border-radius: 5px;
	padding: 5px;
	margin-right: 10px;
	height: 30px;
	position: relative;
	background-image: url(../images/all-category-bg.gif);
}
#central ul li div {
}
#central ul li ul li {
	float: none;
	margin-bottom: 0;
	display: inline;
}
#central ul li ul li a {
}

.ui-dialog-content { padding: 0; }

#facebox .popup table {
	width: 100%;
}

/**
 * balloon
 */
#balloon {
	position: absolute;
	background-image: url(../images/search-balloon.gif);
	width: 147px;
	height: 50px;
	overflow: hidden;
	text-align: left;
	
	top: 0; right: -127px;
	z-index: 9999;
}
#balloon a#close-balloon {
	display: block;
	float: right;
	width: 10px; height: 10px;
}
#balloon a#close-balloon span {
	font-size: 9px;
	color: #666666;
}
#balloon a#close-balloon:hover span {
	color: #000;
	text-decoration: none;
}
#balloon p {
	font-size: 9px;
	float: float;
	color: #666666;
	margin-left: 15px;
	margin-top: 5px;
}
#balloon p strong {
	font-weight: bold;
	color: #333333;
}

/*
 * feedback
 */
#navigate ul li a.feedback {
	border: 0;
	background-image: url(../images/button-feedback.gif);
	height: 23px;
	width: 150px;
	background-position: bottom;
	padding: 0;
}
#navigate ul li a.feedback:hover {
	background-position: top;
}
#navigate ul li a.feedback span {
	display: none;
}


/*
 * lang-select
 */
.lang-select {
	position: absolute;
	top: 10px;
	right: 10px;
	
	background-image: url(../images/search-area-inside.gif);
	background-position: left;
	padding-left: 5px;
}
.lang-select p {
	display: block;
	padding: 5px;
	padding-right: 10px;
	margin: 0;
	
	background-image: url(../images/search-area-inside.gif);
	background-position: right;
	height: 18px;
}
.lang-select a {
	display: inline-block;
	padding-top: 2px;
	margin: 0 2px;
}
.lang-select a img{
	border: solid 2px #CDCDCD;
}
.lang-select a:hover img{
	border-color: #FFF;
}