@charset "utf-8";
body  {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
	background: #CCF2FF;
}

a {
	color: #000066;
	text-decoration: none;
}

a:link {
	color: #000066;
	text-decoration: none;
}

a:visited {
	color: #000066;
	text-decoration: none;
}

a:hover {
	color: #0000CC;
	text-decoration: none;
}

.thrColLiqHdr #container {
	width: 100%;
	margin: 0 auto;
	text-align: left;
} 
#logout {
	width: 120px;
}

#admin div {
	margin: 0px;
	padding-top: 0.6em;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	clear: none;
}
#admin div label {
	float: left;
	width: 40%;
}

#admin  .txt {
	background: #99FF66;
	border: 1px inset #00008B;
	width: 200px;
	margin-left: -15%;
}
#admin .btn {
	background: #add8e6;
	border: 1px outset #00008B;
}
.thrColLiqHdr #header {
	padding-top: 0;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 10px;
	background-image: url(e-learning/img/02.jpg);
	background-position: center top;
	height:140px;
} 
.thrColLiqHdr #header .fltlft {
	height: 120px;
	width: 120px;
	padding-left: 20%;
	margin-top: 15px;
}
.thrColLiqHdr #header .fltrt {
	height: 120px;
	width: 120px;
	float: left;
	margin-top: 15px;
	margin-bottom: 5px;
}
.thrColLiqHdr #container marquee {
	font: 20px Geneva, Arial, Helvetica, sans-serif;
	color: #0000FF;
	background: #CCCCFF;
	border-top-width: thin;
	border-bottom-width: thin;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #CC6600;
	border-bottom-color: #CC6600;
}

.thrColLiqHdr #header h1 {
	float: left;
	color: #FF0000;
	margin-left: 10%;
	margin-right: 6%;
	padding-top: 0px;
	margin-top: 50px;
	height: 40px;
	width: 300px;
	background-image: url(e-learning/img/h_title.png);
}

/* Tips for sidebars:
1. Since we are working in percentages, it's best not to use side padding on the sidebars. It will be added to the width for standards compliant browsers creating an unknown actual width. 
2. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".thrColLiqHdr #sidebar1 p" rule.
3. Since Explorer calculates widths after the parent element is rendered, you may occasionally run into unexplained bugs with percentage-based columns. If you need more predictable results, you may choose to change to pixel sized columns.
*/

.thrColLiqHdr #sidebar1 {
	float: left; /* this element must precede in the source order any element you would like it be positioned next to */
	width: 190px;
	padding:0px;
	padding-right: 0px;
	padding-left: 0px;
	padding-bottom: 15px;
}
.thrColLiqHdr #sidebar1 .navigation {
	background-color:#FFFF33;
	text-align:center;
	border:solid 1px #000000;
	width: 80%;
	margin-left: 20%;
}
.thrColLiqHdr #sidebar1 ul {
	list-style-type: none;
}
.thrColLiqHdr #sidebar1 li {
	background:#FFFF66;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	border:solid 1px #333333;
	width: 100%;
	text-align: justify;
	text-indent: 25px;
	margin-top: 0px;
}
.thrColLiqHdr #sidebar1 li img{
	width:21px;
	height:21px;
}
	
.thrColLiqHdr #sidebar1 li a:hover{
	color:#000066;
}
.thrColLiqHdr #mainContent #lesson strong {
	margin-left: 50px;
	line-height: 25px;
}

.thrColLiqHdr #sidebar1 li:hover{
	background-color: #FFCC00;
}

.thrColLiqHdr #sidebar2 {
	float: right; /* this element must precede in the source order any element you would like it be positioned next to */
	width: 180px; /* top and bottom padding create visual space within this div */
	margin-right: 5%;
	padding-top: 15px;
	padding-right: 0;
	padding-bottom: 15px;
	padding-left: 0;
}
.thrColLiqHdr #sidebar2 .navigation {
	background-color:#FFFF33;
	text-align:center;
	border:solid 1px #000000;
	width: 100%;
}
.thrColLiqHdr #container #sidebar2 embed {
	visibility: hidden;
}


.thrColLiqHdr #sidebar1 p, .thrColLiqHdr #sidebar1 h3, .thrColLiqHdr #sidebar2 p, .thrColLiqHdr #sidebar2 h3 {
	margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
	margin-right: 10px;
}

/* Tips for mainContent:
1. the space between the mainContent and sidebars is created with the left and right margins on the mainContent div.
2. to avoid float drop at a supported minimum 800 x 600 resolution, elements within the mainContent div should be 300px or smaller (this includes images).
3. in the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs.
*/
.thrColLiqHdr #mainContent {
	margin: 0 24% 0 23.5%;
}
#mainContent img {
	margin: 0px;
}

.thrColLiqHdr #lesson {background:#8ACA80;width:100%;}
.thrColLiqHdr #footer {
	clear: both;
	padding-top: 0;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 10px;
} 
.thrColLiqHdr #footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
	text-align: center;
	color: #666666;
	font-size: x-small;
}

/* Miscellaneous classes for reuse */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page The floated element must precede the element it should be next to on the page. */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain its child floats */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
.center {	text-align: center;}
#globalNav  {
	margin-bottom: 10px;
}
/************** นาฬิกา *************************/
  embed {
	width:130px;
	height: 130px;
	margin-left: 50px;
	margin-bottom: 20px;
}
/*************** ตัวนับ **************************/
#counter {
	display: block;
	margin-top: 10px;
	margin-left: 35%;
}
/*********** form style **********************/

#login form {
	width:100%;
	background: #FFFF00;
	margin: 0px;
	padding: 0px;
	clear: both;
	border: 1px inset #000000;
}
#login form label {
	font: 14px Tahoma;
	margin-left: 10px;
}
#login form span {
	font: 16px "js Toomtamas";
	margin-left: 0px;
	width: 100%;
}

#login form input {
	width: 80%;
	/*margin-left: 15px;*/
	background-color: #66FF66;
	margin: 0px;
	padding: 0px;
}


#login form input[type='submit'] {
	width: 50px;
	height: 22px;
	color: #0000FF;
	border: thin solid rgb(209,209,209);
	background-color: #FFFFFF;
	margin-left: 10px;
	margin-top: 5px;
	margin-bottom: 5px;
}

#login form fieldset {
	border: none;
	margin: 0px;
	padding: 0px;
}

/****************ขอบมน*******************/
#mainContent  .contenth #newsFeed ol
{
	padding:0 10px 0 10px;
	margin:0;
	list-style:none;
}
#mainContent  .contenth #newsFeed li{
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #00CC00;
}

#mainContent  .b1h, .b2h, .b3h, .b4h, .b2bh, .b3bh, .b4bh{font-size:1px; overflow:hidden; display:block;}
#mainContent  .b1h {
	height:1px;
	margin:0 5px;
	background-color: #000000;
}
#mainContent  .b2h, .b2bh {
	height:1px;
	margin:0 3px;
	border-right-width: 2px;
	border-left-width: 2px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #000000;
	border-left-color: #000000;
}
#mainContent  .b3h, .b3bh {
	height:1px;
	margin:0 2px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #000000;
	border-left-color: #000000;
}
#mainContent  .b4h, .b4bh {
	height:2px;
	margin:0 1px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #000000;
	border-left-color: #000000;
}
.thrColLiqHdr #mainContent  .b2h, .b3h, .b4h {
	background-color: #FFFF66;
}
.thrColLiqHdr #mainContent  .b2bh, .b3bh, .b4bh {
	background: none;
}
#mainContent  .headh {
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #333333;
	border-left-color: #000000;
	background-color: #FFFF66;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #333333;
}
#mainContent  .headh h3 {margin: 0px 10px 0px 10px; padding-bottom: 3px;}
#mainContent  .contenth {
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #000000;
	border-left-color: #000000;
}
#mainContent .contenth   ol {
	list-style: url(image/file.png) inside;
}

#mainContent .contenth a:link {
	font-size: 100%;
	color: #000000;
	text-decoration: none;
}
#mainContent .contenth a:link, .contenth a:hover {
	line-height: 20px;
}
#mainContent .contenth  a:hover, .contenth a:visited {
	font-size: 100%;
	text-decoration: underline;
}

#mainContent .contenth div {
	margin-left: 12px;
	padding-top: 5px;
}
#mainContent .contentl ol {
	list-style: url(image/73.png);
}
#mainContent .contentl h3 {
	color: #003366;
}
#mainContent .content  p {
	text-indent: 25px;
	color: #003300;
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 10px;

}
#mainContent .content  .content  ul, .content ol {
	color: #003300;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 40px;
	padding: 10px;
}
#mainContent .content ul {
	list-style:none;
}
/***************************************************************/
input.txt {
  color: #00008B;
  background-color: #E3F2F7;
  border: 1px inset #00008B;
  width: 200px;
}
textarea.txt-address {
	color: #00008B;
	background-color: #E3F2F7;
	border: 1px inset #00008B;
	width: 200px;
}
input.btn {
  color: #00008B;
  background-color: #ADD8E6;
  border: 1px outset #00008B;
  
}
form div {
  clear: left;
  margin: 0;
  padding: 0;
  padding-top: 5px;
}
form div label {
  float: left;
  width: 40%;
  font: bold 0.9em Arial, Helvetica, sans-serif;
}
form em {
	font-size:80%;
	color:#FF0000;
}
fieldset {
	border: none;
	margin-top: 1.4em;
	margin-bottom: 0px;
	padding: 0.6em;
}
legend {
  font: bold 0.8em Arial, Helvetica, sans-serif;
  color: #00008B;
}
#sidebar2 #welcome .b1h, .b2h, .b3h, .b4h, .b2bh, .b3bh, .b4bh{font-size:1px; overflow:hidden; display:block;}
#sidebar2 #welcome .b1h {
	height:1px;
	margin:0 5px;
	background-color: #000000;
}
#sidebar2 #welcome .b2h, .b2bh {
	height:1px;
	margin:0 3px;
	border-right-width: 2px;
	border-left-width: 2px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #000000;
	border-left-color: #000000;
	background-color: #FFFF66;
}
#sidebar2 #welcome .b3h, .b3bh {
	height:1px;
	margin:0 2px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #000000;
	border-left-color: #000000;
	background-color: #FFFF66;
}
#sidebar2 #welcome .b4h, .b4bh {
	height:2px;
	margin:0 1px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #000000;
	border-left-color: #000000;
	background-color: #FFFF66;
}
#sidebar2 #welcome .b2bh, .b3bh, .b4bh {
	background-image: url(e-learning/img/136284.JPG);
	background-position: center center;
}
#sidebar2 #welcome .headh {
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #333333;
	border-left-color: #000000;
	background-color: #FFFF66;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #333333;
}
#sidebar2 #welcome .headh h3 {margin: 0px 10px 0px 10px; padding-bottom: 3px;}
#sidebar2 #welcome .contenth {
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #333333;
	border-left-color: #666666;
	background-image: url(e-learning/img/136284.JPG);
	background-position: center center;
}

#sidebar2 #welcome .contenth div {
	padding-top: 5px;
	margin: 0px;
}
#sidebar2 #welcome input {
	background-color: #FFFFFF;
	border: 1px outset #CCCCCC;
	margin-bottom: 5px;
	margin-top: -10px;
	font-family: "Courier New", Courier, monospace;
	font-size: 12px;
	color: #0000FF;
	width: 80px;
}
#sidebar2 #welcome {
	text-align: center;
}


