/*------------------------------------------------------------------------------------------------*/
/*	KeyEyes Attendance Admin Page: main.css
/*	Written by Hanon HUI & Yan SHAM
/*	Copyright BeyondZ Company Limited, 2013. All rights reserved
/*------------------------------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------------------------*/
/*  GLOBAL  
/*------------------------------------------------------------------------------------------------*/
html { height: 100%;}
body { font-size: 14px; font-family: Helvetica, Arial, "微軟正黑體", sans-serif; color: #666666; margin: 0; padding: 0; background: #4f4f4f; height: 100%;}
h1 { font-size: 1.8em; line-height: 1em; font-weight: 600; }
h2 { font-size: 1.6em; line-height: 1em; font-weight: 600; }
h3 { font-size: 1.4em; line-height: 1em; font-weight: 600; }
h4 { font-size: 1.2em; line-height: 1em; font-weight: 600; }
a { text-decoration: none; }
p { line-height: 1.6em; }
table { border: 0; border-spacing:0; }
.float_L { float: left;}

.clear { clear: both; }


/*------------------------------------------------------------------------------------------------*/
/*  WRAPPER  
/*------------------------------------------------------------------------------------------------*/
.wrapper { width: 100%; height: inherit;}


/*------------------------------------------------------------------------------------------------*/
/*  HEADER  
/*------------------------------------------------------------------------------------------------*/
.header { width: 100%; height: 49px; background: url(../images/header_bg.png) repeat; border-bottom: 1px solid #333333; position: relative; }
table.header_panel { position: absolute;}
#header .title { color: #ffffff; margin-top: 10px; font-size: 24px; margin-left: 12px;}
#header .date { color: #cccccc; margin-right: 30px; margin-top: 10px}
#header .year, .month, .day { padding: 0px 7px; }
#header .logout a { color: #cccccc; }
#header .logout a  > i {padding-right: 10px; line-height: 1.8em; }

/*------------------------------------------------------------------------------------------------*/
/*  SIDEBAR  
/*------------------------------------------------------------------------------------------------*/
#sidebar { display: none; }
.sidebar { position: relative; left: 0; width: 220px; float: left; background: #42474b; box-shadow: 2px 0px 3px -2px #969696; -moz-box-shadow: 2px 0px 3px -2px #969696; -webkit-box-shadow: 2px 0px 3px -2px #969696; z-index: 10; display: block; }
ul.main_nav, ul.sub_nav { padding: 0; margin: 0; list-style: none; }
ul.main_nav li.nav:first-child { border-top: 0; }
ul.main_nav li.nav:last-child { border-bottom: 0; }
ul.main_nav li.nav { background: #42474b; border-top: #61676c 1px solid; border-bottom: #333333 solid 1px; position: relative; }
/* ul.main_nav li.nav .dropdownArrow { width: 0; height: 0; display: inline-block; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid #ffffff; position: absolute; top: 16px; right: 20px; } */
ul.main_nav li.nav > a { color: #cccccc; display: block; padding: 10px 0px 10px 20px; }
ul.main_nav li.nav > a:hover { color: #ffffff; }
ul.main_nav li.nav > a.active { color: #ffffff; background: url(../images/nav_active.png) no-repeat right; }
ul.main_nav li.nav i { width: 20px; display: inline-block; text-align: center; margin-right: 8px; }
ul.main_nav li.nav_drop i.dropDown { float: right; margin-right: 20px; }
ul.sub_nav { background: #5c5c5c; display: none; }
ul.sub_nav li {}
ul.sub_nav li a { display: block; margin: 0px 0px 0px 40px; padding: 10px 0px; color: #cccccc; }
ul.sub_nav li a:hover { color: #ffffff; }
ul.sub_nav li a.active { color: #ffffff; background: url(../images/nav_active.png) no-repeat right; }


/*------------------------------------------------------------------------------------------------*/
/*  LOGIN
/*------------------------------------------------------------------------------------------------*/
.login { background: #eeeeee; min-height: 640px; position: relative; width: auto; overflow: auto; }
#loginDiv { position: absolute; width: 500px; left: 50%; margin-left: -250px; margin-top: 100px; }
#loginTable { margin: 20px auto; }
#loginTable td { padding: 10px 5px; }

#logout { display: none; }



/*------------------------------------------------------------------------------------------------*/
/*  CONTENT  
/*------------------------------------------------------------------------------------------------*/
.content { background: #eeeeee; min-height: 100%; position: relative; width: auto; margin-left: 220px; overflow: auto; }
#content { display: none; }
#content .content_header { font-size: 2em; color: #2E363F; height: 50px; line-height: 1.8em; padding-left: 10px; font-weight: bold; }
#content .content_header i { padding-right: 10px; }
#content .container { padding-left: 20px; padding-right: 20px; padding-bottom: 50px; }

.content_50 { width: 50%; float: left; }


/*------------------------------------------------------------------------------------------------*/
/*  FOOTER  
/*------------------------------------------------------------------------------------------------*/
#footer { background: #222; width: 100%; color: #999; text-align: right; padding: 12px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }


/*------------------------------------------------------------------------------------------------*/
/*  TABLE & DIV CONTAINER  
/*------------------------------------------------------------------------------------------------*/
.sub_content_wrap { padding-top: 10px; padding-bottom: 10px; }
.sub_content_wrap_col_l { padding-right: 10px; padding-top: 10px; padding-bottom: 10px; }
.sub_content_wrap_col_r { padding-left: 10px; padding-top: 10px; padding-bottom: 10px; }
.sub_content_header { border-bottom: none; border-top: 1px #cccccc solid; border-right: 1px #cccccc solid; border-left: 1px #cccccc solid; font-size: 1em; font-weight: bold; padding: 7px 0 7px 10px; 
border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px;
-webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px; -webkit-border-bottom-left-radius: 0px; -webkit-border-bottom-right-radius: 0px;
-moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px; -moz-border-radius-bottomleft: 0px; -moz-border-radius-bottomright: 0px;
background-image: url(../images/title_bg.gif); background-size: 100% 100%;  }
.sub_content_header i { margin-right: 8px; }

.sub_content_sub_header { border-bottom: none; border-top: 1px #cccccc solid; border-right: 1px #cccccc solid; border-left: 1px #cccccc solid; font-size: 1em; font-weight: bold; padding: 7px 0 7px 10px; 
border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px;
-webkit-border-top-left-radius: 0px; -webkit-border-top-right-radius: 0px; -webkit-border-bottom-left-radius: 0px; -webkit-border-bottom-right-radius: 0px;
-moz-border-radius-topleft: 0px; -moz-border-radius-topright: 0px; -moz-border-radius-bottomleft: 0px; -moz-border-radius-bottomright: 0px;
background-image: url(../images/title_bg.gif); background-size: 100% 100%;  }
.sub_content_sub_header i { margin-right: 8px; }

.table_fixed_layout { table-layout:fixed; }
tr.row_head > td { background: #cccccc; border-right: 1px #cccccc solid;  padding: 5px 10px; border-top: #d9d9d9 1px solid; border-bottom: 1px #c0c0c0 solid; }
tr.row_head > td:first-child {border-left: 1px #cccccc solid; }
tr.row_a > td { background: #ffffff; border-right: 1px #cccccc solid; border-bottom: 1px #cccccc solid; padding: 5px 10px; word-wrap: break-word; }
tr.row_a > td:first-child {border-left: 1px #cccccc solid; }
tr.row_b > td { background: #dfdfdf; border-right: 1px #cccccc solid; border-bottom: 1px #cccccc solid; padding: 5px 10px; word-wrap: break-word; }
tr.row_b > td:first-child {border-left: 1px #cccccc solid; }
tr.row_empty > td { background: #ffffff; border: 1px #cccccc solid; padding: 20px 10px; }
tr.row_content > td { padding: 5px 10px; }
tr.row_photo { max-width: 100%;}
tr.row_photo > td { padding: 5px 10px; max-width:320px; min-width: 80px; max-height: 360px; min-height: 90px; vertical-align: bottom; word-wrap: break-word;}

.photo_deselected  {
	border: 3px #cccccc solid;
}

.photo_selected  {
	border: 3px #ff4c5c solid;
	background-color: #f4a5a7;
}

.photo_img  {height:280px;}

.photo_table  {border-spacing: 10px;}

.div_content_wrap { padding-top: 10px; padding-bottom: 10px; }
.div_content {background: #ffffff; border-left: 1px #cccccc solid; border-right: 1px #cccccc solid; border-bottom: 1px #cccccc solid; padding: 10px 15px; }

/*------------------------------------------------------------------------------------------------*/
/*  BUTTON  
/*------------------------------------------------------------------------------------------------*/
.btn { }
.primary_btn { 
-moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; border: none; padding: 5px 15px; font-size: 1em; color: #eeeeee; cursor: pointer;
text-align: center;
-moz-box-shadow: 0px 1px 2px rgba(0,0,0,.25); -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,.25); box-shadow: 0px 1px 2px rgba(0,0,0,.25);
background: rgb(226,147,159);
background: -moz-linear-gradient(top, rgb(226,147,159) 0%, rgb(196,90,107) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(226,147,159)), color-stop(100%,rgb(196,90,107)));
background: -webkit-linear-gradient(top, rgb(226,147,159) 0%,rgb(196,90,107) 100%);
background: -o-linear-gradient(top, rgb(226,147,159) 0%, rgb(196,90,107) 100%);
background: -ms-linear-gradient(top, rgb(226,147,159) 0%, rgb(196,90,107) 100%);
background: linear-gradient(to bottom, rgb(226,147,159) 0%, rgb(196,90,107) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2939f', endColorstr='#c45a6b', GradientType=0 );
}
.secondary_btn { 
-moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; border: none; padding: 5px 15px; font-size: 1em; color: #eeeeee; cursor: pointer;
text-align: center;
-moz-box-shadow: 0px 1px 2px rgba(0,0,0,.25); -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,.25); box-shadow: 0px 1px 2px rgba(0,0,0,.25);
background: rgb(181,189,200);
background: -moz-linear-gradient(top, rgb(181,189,200) 0%, rgb(117,125,130) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(181,189,200)), color-stop(100%,rgb(117,125,130)));
background: -webkit-linear-gradient(top, rgb(181,189,200) 0%,rgb(117,125,130) 100%);
background: -o-linear-gradient(top, rgb(181,189,200) 0%, rgb(117,125,130) 100%);
background: -ms-linear-gradient(top, rgb(181,189,200) 0%, rgb(117,125,130) 100%);
background: linear-gradient(to bottom, rgb(181,189,200) 0%, rgb(117,125,130) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b5bdc8', endColorstr='#757d82', GradientType=0 );
}
.tertiary_btn { 
-moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; border:none; padding:5px 15px; font-size: 1em; color: #909090; cursor:pointer;
text-align: center;
-moz-box-shadow: 0px 1px 2px rgba(0,0,0,.25); -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,.25); box-shadow: 0px 1px 2px rgba(0,0,0,.25);
background: rgb(238,238,238);
background: -moz-linear-gradient(top,  rgb(238,238,238) 0%, rgb(204,204,204) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(238,238,238)), color-stop(100%,rgb(204,204,204)));
background: -webkit-linear-gradient(top,  rgb(238,238,238) 0%,rgb(204,204,204) 100%);
background: -o-linear-gradient(top,  rgb(238,238,238) 0%,rgb(204,204,204) 100%);
background: -ms-linear-gradient(top,  rgb(238,238,238) 0%,rgb(204,204,204) 100%);
background: linear-gradient(to bottom,  rgb(238,238,238) 0%,rgb(204,204,204) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 );
}

.primary_btn i, .secondary_btn i, .tertiary_btn i { padding-right: 5px; }
.primary_btn:hover, .secondary_btn:hover { color: #FFFFFF; }


/*------------------------------------------------------------------------------------------------*/
/*	PAGINATION
/*------------------------------------------------------------------------------------------------*/
.paging_wrap { position: relative; height: 39px; background-image: url(../images/title_bg.gif); background-size: 100% 100%; border-bottom: 1px #cccccc solid; border-left: 1px #cccccc solid; border-right: 1px #cccccc solid; }
.pagingInfo { position: absolute; left: 10px; padding-top: 15px; float: left; font-size: 0.8em; font-weight: bold; }
.paging { position: absolute; right: 10px; padding-top: 10px; float: right; }
.paging td { padding: 0 3px; }
.p_btn {
-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; border:none; padding:5px 7px; font-size: 1em; cursor: pointer; text-align: center; font-size: 0.88em;
-moz-box-shadow: 0px 1px 2px rgba(0,0,0,.25); -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,.25); box-shadow: 0px 1px 2px rgba(0,0,0,.25);
}
.cur_page { background: #fbbaaf; color: #666666; cursor: default; }
.page, .light { background: #ffffff; color: #666666; }
.dim { background: #eeeeee; color: #b3b3b3; }



/*------------------------------------------------------------------------------------------------*/
/*	INPUT
/*------------------------------------------------------------------------------------------------*/
.input_txt_wrap { padding-right: 10px; padding-bottom: 15px; }
input.txtfield, .txtarea { background: #ffffff; border: #cccccc 1px solid; color: #454545; padding: 5px; 
-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }


/*------------------------------------------------------------------------------------------------*/
/*  COMMON  
/*------------------------------------------------------------------------------------------------*/
.fullWidth { width: 100%; }
.longField { width: 400px; }
.centerText { text-align: center; }
.rightText { text-align: right; }
.boldText { font-weight: bold; }
.deletedText { text-decoration: line-through; }
.descriptionText { color: #42474B; }
.warningText { color: #CC9900; }
.redText, .errorText { color: #CC0000; }
.availableText { color: #009933; }
.fileLink { color: #FFFFFF; }
.pointer  { cursor:pointer; }

/*------------------------------------------------------------------------------------------------*/
/*  jQuery TimePicker if any  
/*------------------------------------------------------------------------------------------------*/
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { float: left; clear:left; padding: 0 0 0 5px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 45%; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

.ui-timepicker-rtl{ direction: rtl; }
.ui-timepicker-rtl dl { text-align: right; padding: 0 5px 0 0; }
.ui-timepicker-rtl dl dt{ float: right; clear: right; }
.ui-timepicker-rtl dl dd { margin: 0 45% 10px 10px; }


/*------------------------------------------------------------------------------------------------*/
/*  IE 7  
/*------------------------------------------------------------------------------------------------*/
.sidebar { *border-right: #aaaaaa 1px solid; }
ul.main_nav li.nav_drop span i { *margin-top: -27px; }
.content { *overflow-x: hidden; }


/*------------------------------------------------------------------------------------------------*/
/*  IE 8  
/*------------------------------------------------------------------------------------------------*/
.sidebar { border-right: #aaaaaa 1px solid\0; }


/*------------------------------------------------------------------------------------------------*/
/*  DEBUG  
/*------------------------------------------------------------------------------------------------*/
#debugDiv { display: none; }
#debugLogTable { width: 100%; table-layout: fixed; word-wrap: break-word; }
#debugLogTable .debugLogTime { width: 200px; vertical-align: top; }


/*------------------------------------------------------------------------------------------------*/
/*  CUSTOM  
/*------------------------------------------------------------------------------------------------*/
.access_hidden  { display: none; }
.default_hidden  { display: none; }
#downloadFrame { display: none; }
.dragfile  {
	border:2px dotted #0B85A1;
	width: 250px;
	color:#92AAB0;
	text-align:center;vertical-align:middle;
	padding:10px 10px 10 10px;
	margin-bottom:10px;
}

#manualAddStaffDiv, #manualRemoveStaffDiv { display: none; }
#manualAddTasksDiv, #manualModifyTasksDiv, #manualRemoveTasksDiv { display: none; }
#manualGetReportsDiv, #manualAccessLevelsDiv { display: none; }
#systemLogDiv, #systemLogResultDiv { display: none; }
#debugLogDiv { display: none; }

/* The dialog close button */
.ui-dialog-titlebar-close {
  visibility: hidden;
}

#accessLevelsTable { width:100%; padding:2 2 2 2px; border-collapse:collapse; }
#accessLevelsTable tr { border-bottom: 1px solid #dddddd; height:12px; }
#accessLevelsTable tr.last { border-bottom: none; height:12px; }
#accessLevelsTable td { text-align:center; width:15%; }
#accessLevelsTable .heading { text-align:left; padding:0 0 0 20px; height:40px; vertical-align:bottom; border-bottom:2px solid #aaaaaa; font-weight:bold; }
