@charset "utf-8";
/* CSS Document */

/*
---------------------------------------------------------------
  Note that styles you apply to the main menu items are inherited by the sub menus items too.
  If you'd like to avoid this, you could use child selectors (not supported by IE6) - for example:
  .sm-cleanBar > li > a { ... } instead of .sm-cleanBar a { ... }
---------------------------------------------------------------*/


/* Menu box
===================*/

	.sm-cleanBar {
		/* border-bottom:2px solid #bbb; */
		padding:0 10px;
		/* background:#6d9d17; */
		-moz-border-radius:50px;
		-webkit-border-radius:50px;
		border-radius:0px; /* ทำให้ขอบมล */
	}
	.sm-cleanBar-vertical {
		padding:10px 0;
		/*-moz-border-radius:5px;
		-webkit-border-radius:5px;
		 border-radius:5px; */
	}
	.sm-cleanBar ul {
		border:1px solid #bbb;
		padding:5px 0;
		background:#FBB784;
		-moz-border-radius:5px;
		-webkit-border-radius:5px;
		border-radius:5px;
		-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);
		-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);
		box-shadow:0 5px 9px rgba(0,0,0,0.2);
	}
	/* first sub level carets */
	.sm-cleanBar > li > ul:before {
		content:'';
		position:absolute;
		top:-18px;
		left:30px;
		width:0;
		height:0;
		overflow:hidden;
		border-width:9px; /* tweak size of the arrow */
		border-style:dashed dashed solid dashed;
		border-color:transparent transparent #bbb transparent;
	}
	.sm-cleanBar > li > ul:after {
		content:'';
		position:absolute;
		top:-16px;
		left:31px;
		width:0;
		height:0;
		overflow:hidden;
		border-width:8px;
		border-style:dashed dashed solid dashed;
		border-color:transparent transparent #fff transparent;
	}
	/* no carets for vertical main */
	.sm-cleanBar-vertical > li > ul:before, .sm-cleanBar-vertical > li > ul:after {
		display:none;
	}


/* Menu items
===================*/

	.sm-cleanBar a {
		padding:12px;
		color:#FFF;
		font-size:16px;
		line-height:17px;
		font-family:'Lucida Sans Unicode','Lucida Sans','Lucida Grande',Arial,sans-serif;
		text-decoration:none;
	}
	.sm-cleanBar a:hover, .sm-cleanBar a:focus, .sm-cleanBar a:active,
	.sm-cleanBar a.highlighted {
		background:#ABE3F3;
		color:#000;  /* เอาเม้าชี้ที่ตัวหนังสือแล้วตัวหนังสือเปลี่ยนสี */
		/* text-decoration:underline; */
	}
	.sm-cleanBar-vertical a:hover, .sm-cleanBar-vertical a:focus, .sm-cleanBar-vertical a:active,
	.sm-cleanBar-vertical a.highlighted {
		background:#d1eff8;
	}
	.sm-cleanBar a.has-submenu {
		padding-right:25px;
	}
	.sm-cleanBar-vertical a,
 	.sm-cleanBar ul a {
		padding:10px 20px;
	}
	.sm-cleanBar-vertical a.has-submenu,
 	.sm-cleanBar ul a.has-submenu {
		padding-right:40px;
	}
	.sm-cleanBar ul a {
		font-size:14px;
	}
	.sm-cleanBar ul a:hover, .sm-cleanBar ul a:focus, .sm-cleanBar ul a:active,
	.sm-cleanBar ul a.highlighted {
		/* color:#FFF; /* เปลี่ยนสีตัวหนังสือเวลาเม้าชี้ */
		/* text-decoration:underline; */
		background:#d1eff8;
	}
	/* current items - add the class manually to some item or check the "markCurrentItem" script option */
	.sm-cleanBar a.current, .sm-cleanBar a.current:hover, .sm-cleanBar a.current:focus, .sm-cleanBar a.current:active {
		background:#555;
		color:#7CFCF5;
	}


/* Sub menu indicators
===================*/

	.sm-cleanBar a span.sub-arrow {
		position:absolute;
		right:12px;
		top:50%;
		margin-top:-3px;
		/* we will use one-side border to create a triangle so that we don't use a real background image, of course, you can use a real image if you like too */
		width:0;
		height:0;
		overflow:hidden;
		border-width:4px; /* tweak size of the arrow */
		border-style:solid dashed dashed dashed;
		border-color:#555 transparent transparent transparent;
	}
	.sm-cleanBar-vertical a span.sub-arrow,
 	.sm-cleanBar ul a span.sub-arrow {
		right:15px;
		top:50%;
		margin-top:-5px;
		border-width:5px;
		border-style:dashed dashed dashed solid;
		border-color:transparent transparent transparent #555;
	}


/* Scrolling arrows containers for tall sub menus - test sub menu: "Sub test" -> "more..." -> "more..." in the default download package
===================*/

	.sm-cleanBar span.scroll-up, .sm-cleanBar span.scroll-down {
		position:absolute;
		display:none;
		visibility:hidden;
		overflow:hidden;
		background:#fff;
		height:20px;
		/* width and position will be automatically set by the script */
	}
	.sm-cleanBar span.scroll-up:hover, .sm-cleanBar span.scroll-down:hover {
		background:#eee;
	}
	.sm-cleanBar span.scroll-up-arrow, .sm-cleanBar span.scroll-down-arrow {
		position:absolute;
		top:0;
		left:50%;
		margin-left:-6px;
		/* we will use one-side border to create a triangle so that we don't use a real background image, of course, you can use a real image if you like too */
		width:0;
		height:0;
		overflow:hidden;
		border-width:6px; /* tweak size of the arrow */
		border-style:dashed dashed solid dashed;
		border-color:transparent transparent #555 transparent;
	}
	.sm-cleanBar span.scroll-up:hover span.scroll-up-arrow {
		border-color:transparent transparent #D23600 transparent;
	}
	.sm-cleanBar span.scroll-down-arrow {
		top:8px;
		border-style:solid dashed dashed dashed;
		border-color:#555 transparent transparent transparent;
	}
	.sm-cleanBar span.scroll-down:hover span.scroll-down-arrow {
		border-color:#D23600 transparent transparent transparent;
	}


/*
---------------------------------------------------------------
  Responsiveness
  These will make the sub menus collapsible when the screen width is too small.
---------------------------------------------------------------*/


/* decrease horizontal main menu items left/right padding to avoid wrapping */
@media screen and (max-width: 850px) {
	.sm-cleanBar:not(.sm-cleanBar-vertical) > li > a {
		padding-left:8px;
		padding-right:8px;
	}
	.sm-cleanBar:not(.sm-cleanBar-vertical) > li > a.has-submenu {
		padding-right:25px;
	}
}
@media screen and (max-width: 750px) {
	.sm-cleanBar:not(.sm-cleanBar-vertical) > li > a {
		padding-left:3px;
		padding-right:3px;
	}
	.sm-cleanBar:not(.sm-cleanBar-vertical) > li > a.has-submenu {
		padding-right:25px;
	}
}


@media screen and (max-width: 700px) {

	/* The following will make the sub menus collapsible for small screen devices (it's not recommended editing these) */
	ul.sm-cleanBar{width:auto !important;}
	ul.sm-cleanBar ul{display:none;position:static !important;top:auto !important;left:auto !important;margin-left:0 !important;margin-top:0 !important;width:auto !important;min-width:0 !important;max-width:none !important;}
	ul.sm-cleanBar>li{float:none;}
	ul.sm-cleanBar>li>a,ul.sm-cleanBar ul.sm-nowrap>li>a{white-space:normal;}
	ul.sm-cleanBar iframe{display:none;}

	/* Uncomment this rule to disable completely the sub menus for small screen devices */
	/*.sm-cleanBar ul, .sm-cleanBar span.sub-arrow, .sm-cleanBar iframe {
		display:none !important;
	}*/


/* Menu box
===================*/

	.sm-cleanBar {
		padding:0;
		-moz-border-radius:5px;
		-webkit-border-radius:5px;
		border-radius:5px;
	}
	.sm-cleanBar ul {
		border:0;
		padding:0;
		/* darken the background of the sub menus */
		background:rgba(130,130,130,0.1);
		-moz-border-radius:0;
		-webkit-border-radius:0;
		border-radius:0;
		-moz-box-shadow:none;
		-webkit-box-shadow:none;
		box-shadow:none;
	}
	/* no carets */
	.sm-cleanBar > li > ul:before, .sm-cleanBar > li > ul:after {
		display:none;
	}


/* Menu items
===================*/

	.sm-cleanBar a {
		padding:13px 5px 13px 28px !important;
		color:#555 !important;
		background:transparent !important;
	}
	.sm-cleanBar a.current {
		color:#D23600 !important;
	}
	/* add some text indentation for the 2+ level sub menu items */
	.sm-cleanBar ul a {
		border-left:8px solid transparent;
	}
	.sm-cleanBar ul ul a {
		border-left:16px solid transparent;
	}
	.sm-cleanBar ul ul ul a {
		border-left:24px solid transparent;
	}
	.sm-cleanBar ul ul ul ul a {
		border-left:32px solid transparent;
	}
	.sm-cleanBar ul ul ul ul ul a {
		border-left:40px solid transparent;
	}


/* Sub menu indicators
===================*/

	.sm-cleanBar a span.sub-arrow,
	.sm-cleanBar ul a span.sub-arrow {
		top:50%;
		margin-top:-9px;
		right:auto;
		left:6px;
		margin-left:0;
		width:17px;
		height:17px;
		font:normal 16px/16px monospace !important;
		text-align:center;
		border:0;
		text-shadow:none;
		background:rgba(255,255,255,0.6);
		-moz-border-radius:50px;
		-webkit-border-radius:50px;
		border-radius:50px;
	}
	/* Hide sub indicator when item is expanded - we enable the item link when it's expanded */
	.sm-cleanBar a.highlighted span.sub-arrow {
		display:none !important;
	}


/* Items separators
===================*/

	.sm-cleanBar li {
		border-top:1px solid rgba(0,0,0,0.05);
	}
	.sm-cleanBar > li:first-child {
		border-top:1;
	}

}