﻿body {
	font-family:Tahoma, Geneva, sans-serif;
	font-size:9pt;
	background-image:url(../img/bg.jpg);
	background-attachment:fixed;
	background-repeat:repeat-x;
}
#date{
	position:fixed;
	left:10px;
	width:170px;
	height:50px;
	top:10px;
	color:#006;
}
#date img{
	float:left;
}
#login{
	width:300px;
	height:200px;
	position:relative;
	top:200px;
}
.input{
	font-family:Tahoma, Geneva, sans-serif;
	font-size:9pt;
}
.input_checkbox{
	width:auto;
}
.error
{
	color:red;	
}
.required
{
	color:red;
}
.main-container{
	-moz-box-shadow:    3px 3px 3px 1px #555;
	-webkit-box-shadow: 0px 0px 3px 1px #c5c5c5;
	box-shadow:         1px 1px 5px 1px #999;
	margin-bottom:80px;
	position:relative;
	top:100px;
	width:820px;
	height:auto;
}
html>body .main-container {
width:700px;
} 
.help
{
	font-size:8pt;
	color:gray;
}
.table_header{
	height:30px;
	background-color:black; 
	color:white;
}
.table_header td{
	padding:3px;
	border:1px solid white;
	text-align:center;
	font-weight:bold;
}
.default_font{
	font-family:Tahoma, Geneva, sans-serif;
	font-size:9pt;
}
.table_rows td{
	padding:2px;
}
.table_rows:hover{
	background-color:#FFCC33;
}
.tr_hover_class{
	background-color:white;
}
.popup_form{
	position:fixed;
	width:250px;
	height:150px;
	background-color:#EFEFEF;
	border-radius:5px;
	top:200px;
	padding:5px;
	border:1px solid #DBDBDB;
	box-shadow:#B0B0B0 0px 0px 3px;
	z-index:100000;
}
.lock{
	position:fixed;
	top:0px;
	left:0px;
	background-color:black;
	opacity:0.8;
	width:100%;
	height:100%;
	z-index:9999;
}
#student-container{
	width:700px;
	overflow:scroll;
	border:1px solid gray;
}
#term-container{
	width:500px;
}
.small{
	font-size:7pt;
}
.large{
	font-size:10pt;
}
.hidden{
	display:none;
}

#fifteenth
{
	position: absolute;
	width: 100px;
	border: 1px solid black;
	padding: 5px;
	background-color: #FFFFFF;
	visibility: hidden;
	z-index: 99;
	filter: progid:DXImageTransform .Microsoft .Shadow( color = gray, direction = 135 );
	font-family: Tahoma;
	font-size: 9pt;
	border-radius:3px;
	-moz-border-radius:3px;
	box-shadow:1px 1px 3px;
	-moz-box-shadow:1px 1px 3px;
}

#st_login{
	width:300px;
	height:200px;
	position:relative;
	top:200px;
}
.table_print_header
{
	border:1px black solid; 
	text-align:center;
	background-color:#bdbdbd;
}
.table_rows_border td{
	border:1px black solid;

}
.img_hover:hover{
	width:150px;
}
.print_font
{
	font-family:"Times New Roman", Times, serif;
	font-size:10pt;
	color:black;
}
.print_font td
{
	font-family:"Times New Roman", Times, serif;
	font-size:10pt;
	color:black;
}
.shadow
{
	 -moz-box-shadow:1px 1px 3px gray; box-shadow:1px 1px 3px gray;
}
.hover{
	text-decoration:underline;
}
.hover:hover{
	background-color:white;
}
/* ===== Modern responsive layer ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    min-width: 0;
    overflow-x: hidden;
    line-height: 1.65;
}
img, video, iframe { max-width: 100%; height: auto; }
input, select, textarea, button { max-width: 100%; font: inherit; }
input[type="text"], input[type="password"], input[type="email"], input[type="number"],
input[type="date"], select, textarea { box-sizing: border-box; }
table { max-width: 100%; }
.table-responsive, #student-container {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.main-container {
    width: 820px !important;
    max-width: calc(100% - 24px);
    max-width: 100%;
    height: auto !important;
    overflow-x: auto;
    margin-left: auto !important;
    margin-right: auto !important;
    top: 24px;
    padding: 30px !important;
}
.hero-unit {
    max-width: calc(100vw - 24px);
    height: auto !important;
}
#login, #st_login {
    width: 420px;
    max-width: calc(100% - 28px);
    height: auto;
    top: 40px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 18px;
}
#login form > div, #st_login form > div {
    height: auto !important;
    min-height: 42px;
}
#login input.input, #st_login input.input {
    width: 100%;
    min-height: 40px;
}
#admin_buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
#admin_buttons img { max-width: 72px; height: auto; }
.popup_form {
    width: 420px;
    max-width: calc(100vw - 24px);
    height: auto;
    max-height: calc(100vh - 30px);
    overflow: auto;
}
#date {
    position: static;
    width: auto;
    height: auto;
    margin: 10px;
}
.btn, button, input[type="submit"], input[type="button"] {
    min-height: 40px;
    touch-action: manipulation;
}
form input[type="file"] {
    width: 100%;
    min-height: 44px;
    padding: 8px;
    border: 1px solid #ccc;
    background: #fff;
}
@media (max-width: 768px) {
    body { font-size: 14px; }
    .table_header, .table_rows, .table_print_header { font-size: 12px; }
    .table_rows td, .table_header td { padding: 6px 4px; white-space: nowrap; }
    .hero-unit { padding: 14px !important; margin-top: 20px !important; }
    #student-container { overflow-x: auto; }
    #student-container table { min-width: 680px; }
    .control-group .controls, .control-group .control-label {
        float: none !important;
        width: 100% !important;
        text-align: inherit;
    }
}
@media (max-width: 480px) {
    body { font-size: 13px; }
    .main-container { width: calc(100% - 16px) !important; padding: 12px !important; }
    .hero-unit { max-width: calc(100vw - 16px); }
    .btn { width: 100%; margin-bottom: 6px; }
    #login, #st_login { width: calc(100% - 16px); top: 20px; }
}
@media print {
    body { background: #fff !important; }
    .main-container { width: 100% !important; top: 0; box-shadow: none; }
}
