/*
* This is the core front-end stylesheet css (client) of Score Manager.
* Author: Nguyen Duc Khanh (ndkhanh@thpt-ngogiatu-daklak.edu.vn)
* URI: http://thpt-ngogiatu-daklak.edu.vn
* Version: 1.4.31.10.2010
* Date update: 31/10/2010.
*/

body {	
	text-align: center; /*--hack css ie 6 align center screen --*/
	font: 12px Tahoma, Geneva, sans-serif;	
	}

h3 {	
	margin: 10px 0px -5px 0px;
	font:normal normal bold 1.2em/150% Verdana, Arial, sans-serif;
	}

#header {
	position: relative;
	height: 22px;
	margin-bottom: 10px;
	border-bottom: 1px solid #c9d7f1;
	min-width: 960px;	
	}
	
#header a.linkHome {
	position: absolute;
	top: 0; 
	left: 5px;
	}

#header a.linkForum{
	position: absolute;
	top: 0; 
	left: 35px;
	}

#header .AVIMControl {
	position: absolute;
	top: 2px; 
	right: 5px;
	}
	
#header #statusAjax {
	position: absolute;
	top: 260px;
	left: 50%;
	display: none;
	}
	
#wrapper {
	text-align: left;
	margin: 0 auto;
	width:960px; 
	min-height: 400px; 
	height: auto !important; 
	height: 150px;
	}
	
#wrapper #logo {
	text-align: center;
	margin: 0 auto;
	width: 100%;
	}
    /*
#wrapper #logo img {
	width: 600px; 
	height: 70px;
	}
	*/
#wrapper #frmSearch {
	width: 100%; 
	text-align: center;
	margin: 10px 0;
	}
	
#wrapper #frmSearch fieldset {
	text-align: left; 
	width: 600px;
	margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 30px;
	}
	
#wrapper #frmSearch fieldset label {
	margin-left: 5px;
	color:#358d2c;  	
	font-weight:bold;
	line-height: 20px;
	}
	
#wrapper #frmSearch table {
	width: 600px;
	text-align: center;
	margin: 0 auto;
	border: 0;
	}
#wrapper #frmSearch table#typeSearch_0 {
    width: 960px;
}
#wrapper #frmSearch table label {
	display: block;
	margin: 5px 0;
	font-size: 12px;
	}	

/*
#wrapper #frmSearch #typeSearch_1 input, #wrapper #frmSearch #typeSearch_1 select, #wrapper #frmSearch #typeSearch_2 select
*/
/*
#pupil_0, #room_0, #year_0, #subject_0, #exam_0,
#pupil_1, #class_1, #year_1, #semester_2, #class_2, #year_2, #subject_2 {
	border: 1px solid #ddd;
	background: #fff url(../images/input-shaddow.gif) no-repeat left top;
	font: 14px Arial, Helvetica, sans-serif;
	color: #646464;
	padding: 5px 5px;
	margin: 0 10px 0 0;
	height: 30px;
	}
	/*
#pupil_0, #pupil_1 {
	padding: 4px 7px;
	width: 271px;
	height: 20px;
	}
	*/
    /*
#semester_2, #class_2, #year_2, #subject_2 {
	width: 117px;
	}
    */
    /*
#submit_0, #submit_1 , #submit_2 {
	font: 12px Arial, Helvetica, sans-serif;
	color: #646464;
	width: 100px;
	height: 30px;
	cursor: pointer;
	border: none;
	background: url(../images/button-submit.gif) no-repeat left top;
	}
*/
#typeSearch_1, #showResult_1 {
	display: block;
	}

#typeSearch_2, #showResult_2 {
	display: none;
	}

#showResult_1, #showResult_2 {
	width: 100%;
	margin: 0 auto;
	text-align: center;
	}

.iconError, .iconHelp, .iconResult {
	
	background-color: #FFFFE0;
	border: 1px solid #E6DB55;
	margin: 0 auto;
	padding: 10px 10px;
    text-align: center;
	}

.iconResult span {
	font-weight: bold;
	}
	
/*------tạo đường viền cho các bảng (linetable)------------------*/
table.tableResult {
	font: 12px Tahoma, Geneva, sans-serif;
	border: 1px solid #000;
	border-collapse: collapse;
	/*width: 1140px;*/
    width: 100%;
  	margin: 0 auto;
	margin-top: 15px;
	padding: 2px;
	}

#showResult_2 table {
	/*width: 1140px;*/
	width: 100%;
	}
	
table.tableResult tr {
	border-width: 1px 1px 1px 1px;
	padding: 1px 1px 1px 1px;
	border-style: inset inset inset inset;
	border-color: gray gray gray gray;
	background-color: white;
	-moz-border-radius: 0px 0px 0px 0px;
	}
	
table.tableResult tr:hover {
	background-color: #bafaff;
	}	

table.tableResult tr td {
	text-align: center;
	padding: 3px; 
	border: 1px solid #000;
	}

table.tableResult th {
	background: #86daf2;	
	border: 1px solid #000;
	padding: 10px 3px;
	vertical-align: middle;
	text-align: center;
	}

table.tableResult.textLeft tr td{
	text-align: left;
	}
		
table.tableResult tr td.textLeft {
	text-align: left;
	}

.pad2 {
	padding: 2px;
	}

#statistics {
	display: block;
	width: 780px;
	text-align:left;
	margin: 15px auto 0 auto;
	}

#statistics  ul li {	
	width: 130px; 
	line-height: 20px;
	display: table-cell;
	}
	
#statistics ul:hover {
	background-color: #bafaff;
	}
	
.print {
	margin-top: 10px;
	}

#footer {
	text-align: center;
	margin-top: 30px;
	color: #898989;	
    margin-bottom: 30px;
    font-size: 1.2em;
	}


/*------------------------ tag a ---------------*/	
a.infoPupil {
	cursor: pointer; 
	color: #6fab49;
}

a, a:link  {
	color:#6fab49;
	text-decoration: none;
}

a:hover {
	color: #43497e;
	text-decoration: none;
}

a:visited{
	color: #43497e;
}

a:active {
	color:#43497e;
}

@media print {
    /* ẩn header and footer page*/
    @page { margin: 0; }
    body { margin: 1.6cm; }
    
	#header, #logo, #frmSearch,.print, .author 
	{
		display: none;		
	}
    table.tableResult tr th {

        padding: 6px 3px;
    }
    table.tableResult tr td {        
        padding: 1px 3px;        
    }
    .xac-nhan-bgh {
        display: block !important;
    }
    .borderNone {
        border: none !important;
    }
    .borderNone tr{
        border-style: initial !important;
    }
    .borderNone td {
        border: none !important;
    }
}

.timeUpdate {
    /*float: right;*/
    margin: 3px;
    font-style: italic;
}

.heart {
    color: red;
}

th.col-monthi {
    width: 70px;;
}

.tableResult tr td {    
    height: 25px;
}

/*----------- new layout--------------*/
@media all and (min-width: 240px)
and (max-width: 1024px){
    table {
        width: 100% !important;
    }
}

.navbar {
    z-index: 1;
    border: 0;
    border-radius: 0;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
    background: initial;
    line-height: 30pt;
    margin-bottom: 0;
}

.navbar-inverse {
    background-color: #fcfcfc;
    border-color: none;
}

.navbar-header {
    width: 100%;
}
.navbar-left {
   float: left;
}
.navbar-right {
    float: right;
    margin-right: 0;
}

.jumbotron {
    background: #d4f4ee;
}
#logo img {
    width: 100%;
    height: auto;
}
legend {
    font-size: 1.4rem;
}

#typeSearch label.radio-inline {
    margin: 10px 20px;
}
input.type-search {
    margin-right: 10px;
}
fieldset#typeSearch {
    margin-bottom: 30px;
}
.form-group>div {
    margin-bottom: 15px;
}

#frmSearch input, #frmSearch select {
    text-align: center;
}
label.radio-inline {
    font-size: 1.3em;
}
input[type="radio"]:checked ~ * { 
    background:pink !important;
}

#statusAjax img {
	width: 70px;
	height: 70px;
}

#statusAjax {
    display: none;
}

select {
    padding-left: calc(50% - 1em);
}

input[type="radio"]:checked + label {
  background: #000 !important;
}

.form-group input, .form-group select{
   border-radius: 0;
}

table.tableResult tr th {
    text-align: center;
    padding: 10px 3px;
    border: 1px solid #000;
}

.linkHome a {
    font-size: 1.8em;        
    top: 5px;
    position: relative;
}
.xac-nhan-bgh {
    margin-top: 15px;    
    display: none;
}

i {
    font-style: italic;
}
.text-right {
    text-align: right;
}

.jumbotron {
    padding-top: 18px;
    padding-bottom: 18px;
    margin-bottom: 18px;
}