*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Calibri;
	font-size: 18px;
	color: #777;
}
html{
}
body{
	background-color: #dcdcdb26;
}
h1,h2{
	font-family: Century Gothic,sans-serif !important;
	text-decoration: none;
}
h3{
	font-family: Century Gothic,sans-serif !important;
	text-decoration: none;
	text-align: center;
	color: #555;
}
form{
	display: table;
	border-spacing: 15px;
	margin-left: auto;
	margin-right: auto;
}
p{
	display: table-row;
}
a{
	text-decoration: none;
}
label{
	display: table-cell;
}
input, textarea, select{
	display: table-cell;
	padding: 3px;
	width: 100%;
	border-radius: 5px;
	box-shadow: 1px 1px 3px lightgray inset;
}
input{
	border: solid #AAA 1px;
}
input:hover, textarea:hover{
	border: solid #66d9ff 1px;
}
input[disabled="disabled"], textarea[disabled="disabled"], select[disabled="disabled"]{
	background: #ddd;
	color: #555;
}
button, .blue-btn{
	background-color: #55c8ee !important;
	color: white !important;
	border: none;
	border-radius: 5px;
	padding: 4px;
	cursor: pointer;
	transition: 0.5s ease;
	text-decoration: none;
	margin-left: 3px;
}
button:hover{
	background-color: #55d8fe !important;
}

table{
	width: 100%;
	box-shadow: 1px 3px 5px grey;
}
table, tr, th, td{
	border-collapse: collapse;
	text-align: center;
	padding: 4px;
}
th{
	background-color: #5f5f5f;
	color: #EEE;
}
td{
	background-color: white;
	border-bottom: 1px solid #ddd;	
}
tr:hover {
	background-color: #f5f5f5;
}
.login-input{
	background: rgba(0,0,0,0.1);
	border: none;
	border-radius: 5px;
	padding: 3px;
	color: maroon;
}
.page-numbers{
	background: white;
	padding: 4px;
	margin: 4px;
	border: 1px solid #aaa;
	border-radius: 3px;
	font-weight: bold;
	transition: 0.5s ease;
}
.page-numbers:hover{
	color: white !important;
	background: #888 !important;
}
.current-page{
	color: white !important;
	background: #aaa !important;
}
.title-bar{
	background-color: #eee;
	font-size: 120%;
	letter-spacing: 0.05em;
	color: #5f5b5b;
	width: 100%;
	padding: 2px;
	text-align: center;
	margin: none;
}
.selection-tabs{
	margin: 10px 200px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-column-gap: 3px;
	/*border: solid #007aff 3px;*/
	border-radius: 4px;
}
.in-tab{
	min-height: 20px;
	padding: 3px;
	text-align: center;
	background-color: #eeeef0;
	color: #b8b8b8;
	/*border-left: solid #007aff 3px;
	border-right: solid #007aff 3px;*/
	cursor: pointer;
	transition: 0.3s ease;
}
.in-tab:hover{
	color: white;
	background-color: #b6bbc1
}
.in-tab-selected{
	background-color: #29b4ac;
	color: white;
}
.form-div{
	box-shadow: 0px 3px 5px grey;
	overflow-x: scroll;
}
#passport-pic{
	min-height: 200px;
	min-width: 30px;
	border: solid #ddd;
	background: url('../img/no-file.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
#marksheet-pic{
	min-height: 120px;
	min-width: 120px;
	max-height: 400px;
	max-width: 400pc;
	border: solid #ddd;
	background: url('../img/no-file.png');
	background-size: contain;
}
.subject-input{
	width: auto;
	margin: 2px;
	
}
.custom-btn{
	border-radius: 3px;
	cursor: pointer;
	margin: 3px;
}
.error-field{
	border-color: red;
}
.no-error-field{
	border-color: #aaa;
}
.gallery-grid{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;	
	margin-left: auto;
	margin-right: auto;
	grid-gap: 20px;
}
.gallery-div{
	min-height: 200px;
	min-width: 200px;
	padding: 10px;
}
.gallery-pic{
	height: 150px;
	width: 150px;
	background-repeat: no-repeat;
	background-size: cover;
	border: solid black 1px;
	margin-left: auto;
	margin-right: auto;
	transition: ease 0.3s;
	cursor: pointer;
}
.gallery-pic:hover{
	height: 154px;
	width: 154px;
	opacity: 0.8;
	box-shadow: 3px 3px 5px gray;
}
.gallery-div p{
	text-align: center;
	display: block;
}
#my-overlay {
	position: fixed;
	padding: 10px;
	min-width: 100%;
	min-height:  100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 99;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	display: none;
}
#my-overlay button{
	display: block;
}

#image-to-display{
	position: absolute;
	max-width: 60%;
	max-height: 60%;
	top: 50%;
	left: 50%;
	padding: 10px;
    transform: translate(-50%,-50%);
}
#message-3{
	color: green;
}
/* Mobile View */
@media(max-width: 700px){
	h1{
		font-size: 24px !important;
	}
	*{
		font-size: 14px;
	}
	h3{
		font-size: 16px !important;
	}
	.selection-tabs{
	margin: 10px 10px;
	}	

	#passport-pic{
		min-height: 120px;
		min-width: 30px;
	}
	#marksheet-pic{
		width: 120px;
	}

	.gallery-grid{
		grid-template-columns: 1fr;	
		grid-gap: 10px;
	}

	.gallery-div{
	min-height: 100px;
	min-width: 100px;
}
}
