body, html {
	margin:0;
	padding:0;
	background:#A7A7AB;
	color:#000;
	font: small "Trebuchet MS",Verdana,Arial,Sans-serif;
	font-size: 10pt
}

body {
	min-width:750px;
}

#wrap {
	border-left: 10px solid #666666;
	border-right: 10px solid #666666;
	background: #B1B1B1;
	margin: 0 auto;
	width:750px;
}

#header {
	background:#EAEAEA;
	height: 100%;
	padding: 10px 0px 10px 10px;
	color: #333333;
	font-size: 40px;
	font-weight: bold;
	border-bottom: solid 1px white;
}

#header h1 {
	padding:5px;
	margin:0;
}

#nav {
	background:#333333;
	padding: 5px 5px 5px 5px;
	color: white;
	border-bottom: solid 1px white;
}

#nav ul{
	margin:0;
	padding:0;
	list-style:none;
}

#nav li{
	display:inline;
	margin:0;
	padding:0;
}

#main {
	background:#FFFFFF;
	float:right;
	width:615px;
	min-height: 615px;
}
	
#main p {
	padding: 0 10px;
}
#main br {
	padding: 0 10px;
}

#main table {
	padding: 0 10px 0px 10px;
}
#main textarea {
	font: small "Trebuchet MS",Verdana,Arial,Sans-serif;
	font-size: 10pt
}
.main img {
	padding: 0 0px 0 0;
}

#article {
	background:#FFFFFF;
	float:right;
	width: 750px;
}
	
#article p {
	padding: 0 10px;
}
#article br {
	padding: 0 10px;
}

#article table {
	padding: 0 10px;
}
#article textarea {
	font: small "Trebuchet MS",Verdana,Arial,Sans-serif;
	font-size: 10pt
}
.article img {
	padding: 0 10px;
}

#sidebar {
	background:#B1B1B1;
	width: 125px;
	float:left;
	min-height: 615px;
	padding: 4px 0px 0px 4px;
}

#sidebar ul {
	margin-bottom:0;
}
#sidebar img {
	border: none;
	padding:0 0 0 0;
}

	#sidebar a, #sidebar p, #sidebar table, #sidebar form, #sidebar br {
	}

#footer {
	background:#F0F0F0;
	clear:both;
	text-align: center;
	padding: 5px;
	font-size: 11px;
	margin-bottom: 20px;
}

#footer p {
	padding:5px;
	margin:0;
}

.heading1 {
	color: #333333;
	font-size: 14pt;
}
.heading2 {
	color: #333333;
	font-size: 12pt;
}



/* 
  ## RESPONSIVE CSS starts from here
*/

.center-links {
	text-align: center;
	display: flex;
    flex-wrap: wrap;
}

.center-links a {
	flex: 25%;
	margin-bottom: 1em;
}

#sidebar img {
    margin-top: 10%;
    width: 25% !important;
    padding: 5px !important;
}

#main {
	display: flex;
	flex-wrap: wrap;
	width: 80%;
}
#main .img a {
	display: block;
	margin-bottom: .5em;
}

/* 
  ##Device = All Low Resolution Devices i.e Tablets, Mobiles
  ##Screen = Less than 1280px
*/

@media (max-width: 1280px) {
  
	div {
		width: 99%
	}
	#wrap {
		width: 70%;
	}
	#header > img {
		width: 99% !important;
	}
	#nav {
		text-align: center;
		font-size: 1.2em;
	}
	table {
		width: 96%;
	}
	#main {
		font-size: 1.2em !important;
	}
	/* MAKING THE TABLE RESPONSIVE */
	table, thead, tbody, th, td, tr {
		display: block;
	}
	td {
		width: auto;
		margin-bottom: 2%;
		position: relative;
	}
	td img {
		width: 25%;
	}
	input[type=text] {
		width: 100%;
		display: block;
		font-size: 2.5em;
		margin-bottom: 2%;
	}
	#sidebar {
		font-size: 1.2em !important;
		text-align: center !important;
		width:	19%;
	}
	#sidebar input, select {
		font-size: 1em !important;
	}
	#sidebar img {
		margin-top: 10%;
		width: 40% !important;
		padding: 5px;
	}
	#sidebar a {
		font-size: 1em !important;
	}
	#footer {
		font-size: 1.2em;
	}
	
	#sidebar {
		text-align: center;
	}


}

/* 
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/

@media (min-width: 1281px) {
  
	/* 5 Images */
	#main .img {
		text-align: center;
		width: 20%;
	}
	#main .img img {
		width: auto;
	}
	/* 5 Images */
  
}

/* 
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/

@media (min-width: 1025px) and (max-width: 1280px) {
  
	/* 5 Images */
	#main .img {
		text-align: center;
		width: 20%;
	}
	#main .img img {
		width: 80%;
	}
	/* 5 Images */
  
}


/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) {
  
	/* 3 Images */
	#main .img {
		text-align: center;
		width: 33%;
	}
	#main .img img {
		width: 70%;
	}
	/* 3 Images */
  
}

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media only screen and (min-device-width : 200px) and (max-device-width : 767px) {
  
	/* 2 Images */
	#main .img {
		text-align: center;
		width: 50%;
	}
	#main .img img {
		width: 75%;
	}
	/* 2 Images */
  
}
