body {
	margin:0; padding:0;
	font-family: tahoma , "MS Sans Serif";
	font-size:14px;
	cursor:default;
}
form {
	margin:0; padding:0;
}
.login_head { 
	font-family: supermarketRegular, Tahoma, sans-serif; font-size:26px; color:#000;
}
.login_text { 
	font-size:13px; color:#000;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

input.txtbox {
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
	padding:0 7px 0 7px;
	height:27px;
	/*color: #000;*/
	border: 1px #CCC solid;
	outline:none;
	background-color:#FFF;
	font-size:14px;
}
input.bottombox {
	padding:0 7px 0 7px;
	border:0px;
	height:27px;
	/*color: #000;*/
	background-color:#FFF;
	font-size:14px;
	border-bottom:1px dotted #aaa;
}
input.bottombox.cen {
	text-align:center;
}
.smalltext { font-size:12px;}
.selectbox {
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
	outline:0px;
	font-size:14px;
	/*color: #000;*/
	height:27px;
	border: solid 1px #CCC; vertical-align:middle;
}
input.btn-form { 
	color:#FFF;
	min-width:127px; 
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
	
	text-align:left;
	box-shadow:0pt 1px 0pt 0pt rgba(255, 255, 255, 0.2) inset;
	padding:5px 10px 6px;
	cursor:pointer;
	font:13px tahoma;
	opacity:0.85;
	margin-right:7px;
	outline: none;
}
input.btn-form:hover {opacity:1.0;}
input.btn-form.submit {
	background-image:-moz-linear-gradient(#00bae8, #0075c1);
	background-image:-webkit-linear-gradient(#00bae8, #0075c1);
	background-image:-ms-linear-gradient(#00bae8, #0075c1);
	/* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00bae8', endColorstr='#0075c1');  for IE */
	background-color:#00bae8; /*for IE9*/
	
	border:1px solid #00bae8;
}
input.btn-form.normal {
	color:#222;
	background-image:-moz-linear-gradient(#d6d6d6, #acb3b5);
	background-image:-webkit-linear-gradient(#d6d6d6, #acb3b5);
	background-image:-ms-linear-gradient(#d6d6d6, #acb3b5);
	/* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00bae8', endColorstr='#0075c1');  for IE */
	background-color:#d6d6d6; /*for IE9*/
	
	border:1px solid #c2c2c2;
}

.file_button_container,
.file_button_container input {
	cursor:pointer;
	height: 28px;
	width: 114px;
}
.file_button_container {
	background: transparent url('images/icon_browse.png') left top no-repeat;
}
.file_button_container.gray {
	background: transparent url('images/icon_browse_gray.png') left top no-repeat;
}
.file_button_container input {
	opacity: 0;
}

.doc_show_ex img { vertical-align:middle; cursor:pointer;}

.pointer {cursor:pointer;}

@font-face {
    font-family: 'supermarketRegular';
    src: url('fonts/supermarket-webfont.eot');
    src: url('fonts/supermarket-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/supermarket-webfont.woff') format('woff'),
         url('fonts/supermarket-webfont.ttf') format('truetype'),
         url('fonts/supermarket-webfont.svg#supermarketRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'db_ozone_x';
    src: url('fonts/db_ozone_x-webfont.eot');
    src: url('fonts/db_ozone_x-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/db_ozone_x-webfont.woff') format('woff'),
         url('fonts/db_ozone_x-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

div.containermain { text-align: left; margin: 0 auto; position: relative; height: 100%; margin-bottom:12px; }
.webwidth {width:984px; margin-left:7px; margin-right:7px;}
.weblock {min-width:984px;}

.headermain {
	float: left; width:100%;
	/*background-color:#b28b44;*/
	background-color:#CCC;
	height:60px;
}
.headermain .page_inner {
	float: left; width:100%;
}

.menumain {
	font-size:14px;
	color:#000;
	background-color:#ededed;
    float: left; width:100%;
    border-top: 1px solid #999;
	
}
.menumain .page_inner {
	float: left; width:100%;
	border-top: 0px solid #666;
}



.indexmain {
	font-size:14px;
	color:#000;
    float: left; width:100%;
    border-top: 1px solid #e0e0e0;
	background-color:#fff; 
}
.indexmain .page_inner {
	float: left; width:100%;
	border-top: 1px solid #fff;
}

.footermain {
	font-size:14px;
	color:#fff;
    float: left; width:100%;
    border-top: 1px solid #666;
	background-color:#111; 
}
.footermain .page_inner {
	float: left; width:100%;
	border-top: 1px solid #8b7a5a;
}



.blankrow { padding-top:12px; }

h1.headsite {
	font-family: supermarketRegular,Tahoma;
	font-size: 24px;
	text-decoration:none;
	color:#000;
	text-shadow: 1px 1px 0px #fff;
}
.bold { font-weight:bold; }

#income_explain { padding-left:41px; color:#888; padding-top:3px;}

.li { float:left; width:190px; display:inline-block;}
.menuindent { padding-left:24px; padding-top:12px;}
.linkmenu { 
	padding:6px; cursor:pointer;
}
.lh { width:auto; float:left; }
.lh:hover {   width:auto; float:left; 
	color:#FFF;
	background-color:#00ccff;
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px; 
	border-radius: 5px;
}

.linkmenu:hover { 
	color:#FFF;
	background-color:#00ccff;
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px; 
	border-radius: 5px;
}
.linkmenu.mark {
	color:#FFF;
	background-color:#00ccff;
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px; 
	border-radius: 5px;
}

[data-notifications] {
	position: relative;
}
[data-notifications]:after {
	font-size:10px;
	color: #FFF;
	content: attr(data-notifications);
	background: #E28789;
	border-radius: 50%;
	display: inline-block;
	width:20px;
	height:20px;
	position: absolute;
	right: -8px;
	top: -8px;
	text-align:center;
	line-height:20px;
}


.iconmenu_post {
	border:0px;
	background-repeat:no-repeat;
	background-image:url(images/icon_post.png);
	width:36px;
	height:35px;
	vertical-align:middle;
}
.iconmenu_table {
	border:0px;
	background-repeat:no-repeat;
	background-image:url(images/icon_table.png);
	width:36px;
	height:35px;
	vertical-align:middle;
}
.iconmenu_assess {
	border:0px;
	background-repeat:no-repeat;
	background-image:url(images/icon_assess.png);
	width:36px;
	height:35px;
	vertical-align:middle;
}
.iconmenu_setting {
	border:0px;
	background-repeat:no-repeat;
	background-image:url(images/icon_setting.png);
	width:36px;
	height:35px;
	vertical-align:middle;
}
.iconmenu_logout {
	border:0px;
	background-repeat:no-repeat;
	background-image:url(images/icon_logout.png);
	width:36px;
	height:35px;
	vertical-align:middle;
}

.icon_delete {
	display: inline-block;
	border:0px;
	background-repeat:no-repeat;
	background-image:url(images/icon_delete.gif);
	width:16px;
	height:16px;
	vertical-align: top;
	opacity:0.7;
}
.icon_delete:hover {
	opacity:1;
}

.icon_document {
	display: inline-block;
	border:0px;
	background-repeat:no-repeat;
	background-image:url(images/icon_document.png);
	width:16px;
	height:16px;
	vertical-align: top;
	opacity:0.7;
}
.icon_document:hover {
	opacity:1;
}

.icon_stulist_all {
	display: inline-block;
	border:0px;
	background-repeat:no-repeat;
	background-image:url(images/icon_stulist_all.png);
	width:150px;
	height:130px;
	vertical-align: middle;
	opacity:0.7;
}
.icon_stulist_all:hover {
	opacity:1;
}
.icon_stulist_search {
	display: inline-block;
	border:0px;
	background-repeat:no-repeat;
	background-image:url(images/icon_stulist_search.png);
	width:150px;
	height:130px;
	vertical-align: middle;
	opacity:0.7;
}
.icon_stulist_search:hover {
	opacity:1;
}
.icon_stulist_classroom {
	display: inline-block;
	border:0px;
	background-repeat:no-repeat;
	background-image:url(images/icon_stulist_classroom.png);
	width:150px;
	height:130px;
	vertical-align: middle;
	opacity:0.7;
}
.icon_stulist_classroom:hover {
	opacity:1;
}

.icon_new {
	display: inline-block;
	border:0px;
	background-repeat:no-repeat;
	background-image:url(images/icon_new.png);
	width:10px;
	height:10px;
	vertical-align: middle;
	padding-right:3px;
}

/* START pure-table */
.pure-table {
    /* Remove spacing between table cells (from Normalize.css) */
    border-collapse: collapse;
    border-spacing: 0;
    empty-cells: show;
    border: 1px solid #cbcbcb;

	-moz-box-shadow: 0 1px 2px #d1d1d1;
	-webkit-box-shadow: 0 1px 2px #d1d1d1;
	box-shadow: 0 1px 2px #d1d1d1;

}
.pure-table td,
.pure-table th {
    border-left: 1px solid #cbcbcb;/*  inner column border */
    border-width: 0 0 0 1px;
    font-size: inherit;
    margin: 0;
    overflow: visible; /*to make ths where the title is really long work*/
    padding: 0.5em 1em; /* cell padding */
}
.pure-table td:first-child,
.pure-table th:first-child {
    border-left-width: 0;
}
.pure-table td {
    border-bottom: 1px solid #cbcbcb;
}
.pure-table td.top {
    border: 0px;
}
.pure-table tbody > tr:last-child td {
    border-bottom-width: 0;
}
.pure-table th {
    background: #e0e0e0;
    color: #000;
    text-align: left;
    vertical-align: bottom;
}
.pure-table td.havebleft {
	border-left-width: 1px;
}
.pure-table table td { border:none;}

/* START tabletopic */
.tabletopic {
	color:#333;
	font-size:12px;
	
	background:#eaebec;
	margin-top: 5px;
	border:#ccc 1px solid;

	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;

	-moz-box-shadow: 0 1px 2px #d1d1d1;
	-webkit-box-shadow: 0 1px 2px #d1d1d1;
	box-shadow: 0 1px 2px #d1d1d1;
	
	empty-cells: show;
}
.tabletopic th {
	text-shadow: 1px 1px 0px #fff;
	padding:7px 0px 7px 0px;
	border-top:1px solid #fafafa;
	border-bottom:1px solid #e0e0e0;

	background: #ededed;
}
.tabletopic th:first-child{
	/*text-align: center;*/
	padding-left:20px;
}
.tabletopic tr:first-child th:first-child{
	-moz-border-radius-topleft:3px;
	-webkit-border-top-left-radius:3px;
	border-top-left-radius:3px;
}
.tabletopic tr:first-child th:last-child{
	-moz-border-radius-topright:3px;
	-webkit-border-top-right-radius:3px;
	border-top-right-radius:3px;
}
.tabletopic tr{
	text-align: center;
	padding-left: 0px;
}
.tabletopic tr td:first-child{
	text-align: left;
	/*padding-left: 0px;*/
	border-left: 0;
}
.tabletopic tr td {
	padding: 7px;
	border-top: 1px solid #ffffff;
	border-bottom:1px solid #e0e0e0;
	/*border-left: 1px solid #e0e0e0;*/ border-left: 0;
	
	background-color: #fafafa;
}
.tabletopic tr:nth-child(even) td {
	background-color: #f6f6f6;
}
.tabletopic tr:last-child td{
	border-bottom:0;
}
.tabletopic tr:last-child td:first-child{
	-moz-border-radius-bottomleft:3px;
	-webkit-border-bottom-left-radius:3px;
	border-bottom-left-radius:3px;
}
.tabletopic tr:last-child td:last-child{
	-moz-border-radius-bottomright:3px;
	-webkit-border-bottom-right-radius:3px;
	border-bottom-right-radius:3px;
}
.tabletopic tr:hover td{
	background: #f2f2f2;
}
.tabletopic td.subtext { color:#aaa; }

.tabletopic tr.trsum td { color:#690; font-weight:bold; text-decoration:underline;}
.tabletopic tr.trsumlast td { background-color:#ededed; color:#06C; font-weight:bold; text-decoration:underline; }
.tabletopic tr.trsumlast td.subtext { color:#aaa; }
.tabletopic tr td.text0 { color:#bbb}

.tabletopic tr.timepeeb td { background-color:#393; color:#000; font-weight:bold; }
.tabletopic tr.timeover td { background-color:#F55; color:#000; font-weight:bold; }
.tabletopic tr.pause td { color:#aaa; }

.tabletopic a:link, .tabletopic a:active, .tabletopic a:visited { 
	text-decoration:none; color:#333;
}
.tabletopic a:hover{
	text-decoration:none; color:#000;
}
/*END tabletopic*/
#table_subgroup {
	border-spacing: 10px;
    border-collapse: separate;	
}
#table_subgroup td:first-child {
	text-align: left;
	width:259px;
}
#table_subgroup td:not(:first-child) {
	text-align:center;
	width:99px;
}
#table_subgroup td:last-child {
	font-weight:bold;
}
#table_subgroup td[contenteditable="true"] {
	border-bottom:1px dotted #aaa;
	cursor:text;
	outline:none;
}

.headhome { font-family: supermarketRegular,Tahoma, sans-serif; font-size:22px; color:#000;}

.copyrighthome { font-family: supermarketRegular,Tahoma; font-size:18px; color:#000;}

.displaynone { display:none; }

.texttools { color:#CCC;
	cursor:pointer;
	outline: none;
}
.texttools:hover { color:#AAA;}

.warn_pay { color:#B9282C; font-weight:bold;}

.tabletopic .stuname { color:#CCC; outline: none; font-style:italic;}

#dhtmltooltip{
	position: absolute;
	left: -300px;
	border: 1px solid #444;
	padding: 2px;
	background-color: #333;
	color:#fff;
	visibility: hidden;
	z-index: 100;
	white-space: nowrap;
	background-color: rgb(0, 0, 0);
	/* RGBa with 0.5 opacity */
	background-color: rgba(0, 0, 0, 0.5);
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
}

th.text_rotate { height:180px; width:22px; }
th.text_rotate div {
	width:15px;
	white-space: nowrap;
	-webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
	transform: rotate(-90deg);
	
	/* if want fix */
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

.menusheet.mark {
	color:#000;
	background-color:#DEDEDE;
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px; 
	border-radius: 5px;
	cursor:pointer;
	padding:6px;
}

.print-overdue { 
	cursor:pointer;
	opacity:0.7;
}
.print-overdue:hover {
	opacity:1;
}

/* FIX IE<9 */
.placeholder { color: #aaa; }

/* */
:-ms-input-placeholder {  
   color: #aaa;  
}

.for-print {display:none;}

@media print {
.no-print { display:none; }
.btn-form { display:none; }
.headermain,.menumain,.footermain { display:none; }
.indexmain { border: 0px; }
.texttools { display:none; }

.for-print {display: block;}

.pure-table th { border-bottom: 1px solid #cbcbcb; }
}