/* Its4Thai index CSS */

body {
	background: #333;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #555555;
}

body.print {
	background: #FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #000000;
}


h1, h2, h4, h5 {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	color: #3399cc;
}

h1.print, h2.print, h3.print, h4.print, h5.print {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	color: #00498e;
}

h3 {
	margin-left: 20px;
	font-family: Arial, Helvetica, sans-serif;
	color: #FFFFFF;
}

table.pagebefore  { 
	page-break-before: always; 
}
table.pageafter  { 
	page-break-after: always; 
}

img {
	border: none;
}

img.left {
	float: left;
	margin: 5px 5px 0 0;
}

img.free {
	vertical-align: sub;
}

img.dot {
	vertical-align: bottom;
}

a {
	color: #996633;
	text-decoration: underline;
}

a:visited {
	color: #996633;
	text-decoration: underline;
}

a:hover {
	color: #555E4F;
	text-decoration: none;
}

/* Header, this helds the top picture */

#header {
	width: 650px;
	height: 110px;
	margin: 0 auto;
	background-image: url('images/header.jpg');
	
	
}

/* Content and columns */

#content {
width: 650px;
height: auto;
margin: 0 auto;
background-image: url('images/background.jpg');
background-repeat: no-repeat;
background-color: #ead9c9;
}

#column1 {
	float: left;
	width: 325px;
	margin: 0px;
	padding: 0;
}

#columnwide {
	float: left;
	width: 650px;
	margin: 0px;
	padding-right: 25px;
}


/* Orange Boxes */

#learnthai {
	float: left;
	width: 280px;
	height: 41px;
	background: url('images/learnthai.gif');
	background-repeat: no-repeat;
	margin-top: 40px;
	margin-left: 20px;
}

#orangetop {
	float: left;
	width: 280px;
	height: 17px;
	margin-top: 40px;
	margin-left: 20px;
	margin-right: 20px;
	padding: 0px;
	background: url('images/box_top_orange.gif');
	background-repeat: no-repeat;
}

#orangebox {
	float: left;
	width: 256px;
	height: auto;
	margin-top: 0px;
	margin-left: 20px;
	margin-right: 20px;
	padding-left: 10px;
	padding-right: 10px;
	background: #ff9933;
	border: 2px solid #FFFFFF;
	border-top: 0px;
	border-bottom: 0px;
}

#orangebottom {
	float: left;
	width: 280px;
	height: 17px;
	margin-top: 0px;
	margin-left: 20px;
	margin-right: 20px;
	padding: 0px;
	background: url('images/box_bottom_orange.gif');
	background-repeat: no-repeat;
}

/* White Boxes */

#whitetop {
	float: left;
	width: 280px;
	height: 17px;
	margin-top: 10px;
	margin-left: 20px;
	margin-right: 20px;
	padding: 0px;
	background: url('images/box_top_white.gif');
	background-repeat: no-repeat;
}

#whitebox {
	float: left;
	width: 256px;
	height: auto;
	margin-top: 0px;
	margin-left: 20px;
	margin-right: 20px;
	padding-left: 10px;
	padding-right: 10px;
	background: #FFFFFF;
	border: 2px solid #FFFFFF;
	border-top: 0px;
	border-bottom: 0px;
}

#lidiv {
	float: left;
	width: 256px;
	height: auto;
	margin-top: 0px;
	margin-left: 0px;
	background: #FFFFFF;
	border-top: 0px;
	border-bottom: 0px;
}


#whitebottom {
	float: left;
	width: 280px;
	height: 17px;
	margin-top: 0px;
	margin-left: 20px;
	margin-right: 20px;
	padding: 0px;
	background: url('images/box_bottom_white.gif');
	background-repeat: no-repeat;
}

#whitebox li {
	padding-left: 20px;
	background: url(images/list.gif) no-repeat left center;
	list-style: none;
	line-height: 167%;
}


/* Bluebox */

#bluetop {
	float: left;
	width: 280px;
	height: 17px;
	margin-top: 40px;
	margin-left: 20px;
	margin-right: 20px;
	padding: 0px;
	background: url('images/box_top_blue.gif');
	background-repeat: no-repeat;
}

#bluetop2 {
	float: left;
	width: 280px;
	height: 17px;
	margin-top: 10px;
	margin-left: 20px;
	margin-right: 20px;
	padding: 0px;
	background: url('images/box_top_blue.gif');
	background-repeat: no-repeat;
}

#bluebox {
	float: left;
	width: 256px;
	height: auto;
	margin-top: 0px;
	margin-left: 20px;
	margin-right: 20px;
	padding-left: 10px;
	padding-right: 10px;
	background: #3399cc;
	border: 2px solid #FFFFFF;
	border-top: 0px;
	border-bottom: 0px;
	color: #FFFFFF;
}

#bluebox a  {
	color:#FFFFFF;
	text-decoration: underline;
}

#bluebottom {
	float: left;
	width: 280px;
	height: 17px;
	margin-top: 0px;
	margin-left: 20px;
	margin-right: 20px;
	padding: 0px;
	background: url('images/box_bottom_blue.gif');
	background-repeat: no-repeat;
}






/* Index site login box specialities */


#thaistyle {
	float: left;
	width: 266px;
	height: 35px;
	margin-top: 0px;
	margin-left: 20px;
	margin-right: 20px;
	padding-left: 5px;
	padding-right: 5px;
	background: url('images/thaistyle.gif');
	border: 2px solid #FFFFFF;
	border-top: 0px;
	border-bottom: 0px;
}

#logintext {
	float: left;
	width: 266px;
	height: 35px;
	margin-top: 0px;
	margin-left: 20px;
	margin-right: 20px;
	padding-left: 5px;
	padding-right: 5px;
	background: url('images/logintext.gif');
	border: 2px solid #FFFFFF;
	border-top: 0px;
	border-bottom: 0px;
}

#search {
}

#search fieldset {
	margin: 0;
	padding: 0;
	border: none;
}

#search legend {
	display: none;
}

#search input {
	float: right;
	margin-bottom: 5px;
	background: #FFFFFF;
	border: 1px solid #5A83AE;
	text-transform: lowercase;
	font: bold 100% Arial, Helvetica, sans-serif;
	color: #000000;
}

#searchform {
	margin: 0;
	padding: 0px 0px 0px 0px;
}

#searchfield {
	width: 165px;
	padding: 2px 0px;
}

#searchsubmit {
}

#divright {
	width: 260;
	padding-top: 20px;
	padding-right: 10px;
	float: right;
}



/* Footer */
#bottom {
	width: 650px;
	height: 69px;
	margin: 0 auto;
	background: #999999;
	background: url('images/bottom_pics.png');
	
}


#footer {
	width: 650px;
	height: 30px;
	margin: 0 auto;
	border-top: 2px solid #FFFFFF;
	padding-top: 1px;
	background: #999999;
	
}


#footer p {
	text-align: center;
	padding: 0;
	font-size: 10px;
	color: #FFFFFF;
	

}
#footer a {
	color: #FFFFFF;
}



/* Lessonlist */



#lesson_top {
	float: left;
	width: 600px;
	height: 101px;
	margin-top: 15px;
	margin-left: 25px;
	margin-right: 25px;
	padding: 0px;
	background: url('images/lesson_top.gif');
	background-repeat: no-repeat;
}

#lesson_top_short {
	float: left;
	width: 600px;
	height: 27px;
	margin-top: 15px;
	margin-left: 25px;
	margin-right: 25px;
	padding: 0px;
	background: url('images/lesson_top_short.gif');
	background-repeat: no-repeat;
}


#lesson_top h3 {
	color: #FFFFFF;
	margin-left: 15px;
	margin-top: 0px;
	padding: 0px;
}

#lesson_top2 {
	float: left;
	width: 600px;
	height: 101px;
	margin-top: 15px;
	margin-left: 25px;
	margin-right: 25px;
	padding: 0px;
	background: url('images/lesson_top2.gif');
	background-repeat: no-repeat;
}

#lessonbox h3 {
	color: #3399cc;
	margin: 0px;
	padding: 0px;
}

#lessonbox2 h3 {
	color: #3399cc;
	margin: 0px;
	padding: 0px;
}

#whitestroke {
	float: left;
	margin-left: 25px;
	width: 594px;
	border-left: 3px solid #FFFFFF;
	border-right: 3px solid #FFFFFF;
}	


#lessonbox {
	float: left;
	width: 574px;
	border-left: 10px solid #ff9933;
	border-right: 10px solid #ff9933;
	background: #FFFFFF;
}

#lessonboxx {
	float: left;
	width: 574px;
	border-left: 10px solid #ff9933;
	border-right: 10px solid #ff9933;
	background: #FFFFFF;
}

#lessonbox2 {
	float: left;
	width: 554px;
	border-left: 10px solid #ff9933;
	border-right: 10px solid #ff9933;
	padding-left: 10px;
	padding-right: 10px;
	background: #FFFFFF;
}


#lesson_bottom {
	float: left;
	width: 600px;
	height: 27px;
	margin-top: 0px;
	margin-left: 25px;
	margin-right: 25px;
	padding: 0px;
	background: url('images/lesson_bottom.gif');
	background-repeat: no-repeat;
}

#contentlesson {
	width: 650px;
	height: auto;
	margin: 0 auto;
	background-image: url('images/bg.jpg');
	background-repeat: no-repeat;	
}

#buttons2 {
	float: right;
	width: 160px;
	margin-top: 10px;
	padding-right: 13px;
}

#buttons3 {
	float: right;
	width: 220px;
	margin-top: 10px;
	padding-right: 13px;
}

#buttons4 {
	float: right;
	width: 280px;
	margin-top: 10px;
	padding-right: 13px;
}

#buttons5 {
	float: right;
	width: 360px;
	margin-top: 10px;
	padding-right: 13px;
}

#buttons6 {
	float: right;
	width: 440px;
	margin-top: 10px;
	padding-right: 13px;
}

#holderformenu {
	float: left;
	width: 550px;
	margin-top: 11px;
	margin-bottom: 0;
	padding-left: 13px;
}

#holderformenux {
	float: left;
	width: 550px;
	margin-top: 11px;
	margin-bottom: 0;
	padding-left: 13px;
}

/* Orange Box middle */

#orangetopmiddle {
	float: center;
	width: 214px;
	height: 15px;
	margin-top: 13px;
	margin-left: 200px;
	margin-right: 20px;
	padding: 0px;
	background: url('images/box_top_orangemiddle.gif');
	background-repeat: no-repeat;
}

#orangeboxmiddle {
	float: center;
	width: 198px;
	height: auto;
	margin-top: 0px;
	margin-left: 200px;
	margin-right: 20px;
	padding-left: 5px;
	padding-right: 5px;
	background: #ff9933;
	border: 2px solid #FFFFFF;
	border-top: 0px;
	border-bottom: 0px;
}

#orangeboxmiddle h4 {
	color: #FFFFFF;
	margin: 0;
}

#orangebottommiddle {
	float: center;
	width: 214px;
	height: 17px;
	margin-top: 0px;
	margin-left: 198px;
	margin-right: 20px;
	padding: 0px;
	background: url('images/box_bottom_orangemiddle.gif');
	background-repeat: no-repeat;
}

/*globalnav*/

#globalnav {
	position:relative;
	float: left;
	width:500;
	padding-left: 20;
	margin-left: 20;
	list-style:none;
	line-height:1em;
	
}

#globalnav LI {
	float:left;
	margin:0;
	padding:0;
}

#globalnav A {
	display:block;
	color:#FFFFFF;
	text-decoration:none;
	font-weight:bold;
	background:#3399cc;
	margin:0;
	padding:0.25em 1em;
	border-left:1px solid #fff;
	border-top:1px solid #fff;
	border-right:1px solid #aaa;
}


#globalnav A:hover,
#globalnav A:active,
#globalnav A.here:link,
#globalnav A.here:visited {
	background:#FFFFFF;
	color: #444;
}

#globalnav A.here:link,
#globalnav A.here:visited {
	position:relative;
	z-index:102;
}

/*settings box*/

#settingbox {
	float: left;
	width: 574px;
	height: 586px;
	border-left: 10px solid #ff9933;
	border-right: 10px solid #ff9933;
	background: #FFFFFF;
}

#ornamentbox {
	background: url('images/ornament_bg.jpg');
	width: 404px;
	height: 585px;
	margin: 0px;
	padding-top: 0;
	padding-left: 85px;
	padding-right: 85px;
}

#ornamentbox h4 {
	
}

#preference {
	width: 400px;
	height: 585px;
	margin: 0px;
	padding-top: 40px;
	
}

#profile {
	width: 300px;
	height: auto;
	float: left;
	margin: 0px;
	padding-top:0px;
	
}

#upgrade {
	width: 254px;
	height: 93px;
	float: inherit;
	margin-left: 70px;
	margin-top: 20px;
	padding-top: 20px;
	text-align: center;
	background: url('images/upgradebox.gif');
	
}




#setting_bottom {
	float: left;
	width: 600px;
	height: 27px;
	margin-top: 0px;
	margin-left: 25px;
	margin-right: 25px;
	padding: 0px;
	background: url('images/lesson_bottom.gif');
	background-repeat: no-repeat;
}

#ornament_bottom {
	float: left;
	width: 600px;
	height: 14px;
	margin-top: 0px;
	margin-left: 25px;
	margin-right: 25px;
	padding: 0px;
	background: url('images/ornament_bottom.gif');
	background-repeat: no-repeat;
}

/*Comparison box*/

#lesson_top3 {
	float: left;
	width: 600px;
	height: 14px;
	margin-top: 40px;
	margin-left: 25px;
	margin-right: 25px;
	padding: 0px;
	background: url('images/lesson_top_small3.gif');
	background-repeat: no-repeat;
}

#comparisonboxorange {
	float: left;
	width: 574px;
	border-left: 10px solid #ff9933;
	border-right: 10px solid #ff9933;
	background: #ff9933;
	color: #FFFFFF;
}

#comparisonboxgrey {
	float: right;
	width: 130px;
	height: 50px;
	padding: 0;
	border-left: 0px solid #FFFFFF;
	border-right: 2px solid #FFFFFF;
	background: #666666;
	color: #FFFFFF;
	text-align: center;
	font-weight:bold;
}

#comparisonboxgreyfirst {
	float: right;
	width: 135px;
	height: 50px;
	padding: 0;
	border-left: 2px solid #FFFFFF;
	border-right: 2px solid #FFFFFF;
	background: #666666;
	color: #FFFFFF;
	text-align: center;
	font-weight:bold;
}
#comparisonboxlightgreyhandler {
	float: left;
	width: 534px;
	border-left: 0px solid #ff9966;
	border-right: 10px solid #ff9933;
	background: #999999;
	color: #FFFFFF;
	padding-left: 40px;
}

#comparisonboxlightgrey {
	float: right;
	width: 90px;
	height: 20px;
	padding: 10;
	border-left: 0px solid #FFFFFF;
	border-right: 2px solid #FFFFFF;
	background: #999999;
	color: #FFFFFF;
	text-align: center;
}

#comparisonboxlightgreyfirst {
	float: right;
	width: 90px;
	height: 20px;
	padding: 10;
	border-left: 2px solid #FFFFFF;
	border-right: 2px solid #FFFFFF;
	background: #999999;
	color: #FFFFFF;
	text-align: center;
}

#comparisonboxlightgreyhandler2 {
	float: left;
	width: 534px;
	border-left: 0px solid #ff9966;
	border-right: 10px solid #ff9933;
	background: #cccccc;
	color: #FFFFFF;
	padding-left: 40px;
}

#comparisonboxlightgrey2 {
	float: right;
	width: 90px;
	height: 20px;
	padding: 10;
	border-left: 0px solid #FFFFFF;
	border-right: 2px solid #FFFFFF;
	background: #cccccc;
	color: #FFFFFF;
	text-align: center;
}

#comparisonboxlightgreyfirst2 {
	float: right;
	width: 90px;
	height: 20px;
	padding: 10;
	border-left: 2px solid #FFFFFF;
	border-right: 2px solid #FFFFFF;
	background: #cccccc;
	color: #FFFFFF;
	text-align: center;
}

#lessoncontainer {
	float: left;
	width: 564px;
	height: 20px;
	border-bottom: 2px solid #cccccc;
	background: #FFFFFF;
	color: #999999;
	padding-left: 10px;
}

#comparisonbox3 {
	float: right;
	width: 90px;
	height: 20px;
	padding: 10;
	border-left: 0px solid #cccccc;
	border-right: 2px solid #cccccc;
	background: #FFFFFF;
	color: #999999;
	text-align: center;
}

#comparisonbox3first {
	float: right;
	width: 90px;
	height: 20px;
	padding: 10;
	border-left: 2px solid #cccccc;
	border-right: 2px solid #cccccc;
	background: #FFFFFF;
	color: #999999;
	text-align: center;
}

#comparisonboxlast {
	float: right;
	width: 92px;
	height: 20px;
	padding: 10;
	background: #FFFFFF;
	color: #999999;
	text-align: center;
}

table.sample {
	border-width: 2px;
	border-spacing: ;
	border-style: hidden;
	border-color: #cccccc;
	border-collapse: collapse;
	background-color: white;
}

table.sample th {
	border-width: 2px;
	padding: 3px;
	border-style: groove;
	border-color: #cccccc;
	background-color: white;
	-moz-border-radius: ;
	height: 50px;
}

table.sample td {
	border-width: 2px;
	padding: 3px;
	border-style: groove;
	border-color: #cccccc;
	background-color: white;
	-moz-border-radius: ;
}
