/*Mobile styles*/
header,aside,footer{
	display:block;
}
body{
	background: #ccc;
	margin:0;
}
#wrapper{
	width:100%;
	background:#fff;
}
#banner img{
	width:100%;
}
#desktopbanner{
	display:none;
}
nav #pullmenu {
	display:block;
	width: 100%;
}
ul{
	margin-left:50px;
}
nav ul{
	display:none;
	margin:0;
	padding:0;
}

nav a{
	height: 50px;
	display: block;
	line-height:50px;
	color: #fff;
	text-decoration: none;
	text-align:center;
	background:#012169;
}
.curr{
	background:#8094dd;
}
nav ul > li > ul > li > .curr{
	background:#012169;
}
nav ul li a{
	width:90%;
	margin:2px 5% 1px 5%;
	border-radius:5px;
}

nav > ul > li ul a{
	width:80%;
	margin:0 10% 3px 10%;
	background:#8094dd;
}

header{
	width:100%;
	margin-top:20px;
}
header h1, h2{
	text-align:center;
	color: #012169;
	margin:0;
	padding-bottom:0;
}
header h2{
	text-align:center;
	color: #012169;
	margin:0;
	padding-bottom:30px;
}
header p{
	margin-top:-20px;
	font-size:14px;
	margin-bottom:40px;
	text-align:center;
}
header a{
	color:#666;
	margin:5px;
}
#left > a,
#right > a{
	max-width:200px;
	margin:0 auto;
	display:block;
	box-shadow:5px 5px 5px #aaa;
}
#left > a{
	height:200px;
}
#right > a{
	height:230px;
}
#left img,
#right img{
	width:100%;
}
header figcaption a{
	color:#000;
	font-size:12px;
	font-style:italic;
	margin:10px auto 20px auto;
	display:block;
	text-align:center;
}
#content{
	padding:10px;
}
#signature{
	font-family: 'Amita', cursive;
	margin-bottom:0;
}
.indent{
	margin-top:0;
	margin-left:30px;
}

#content h3{
	text-align: center;
}
.italic{
	font-style:italic;
	font-size:12px;
}
.red{
	color:#F00;
	text-align:center;
}
.question{
	color: #012169;
	padding-top:15px 
}
.answer{
	color: #E4002B;
	padding-top: 5px;
}
#wings{
	text-align: center;
}
#wings img{
	padding-right: 10px;
}

table{
	margin:auto;
	width:100%;
	border-collapse:collapse;
	border:1px solid #000;
}
table a{
	text-decoration:none;
	color: #fff;
	width:100%;
	padding:5px 0;
	display:block
}
table .lblue{
	background-color: #8094dd;
	color:#fff;
	text-align:center;
}
table .dblue{
	background-color: #012169;
	color:#fff;
	text-align:center;
}
table td{
	border:1px solid #fff;
}

footer{
border-top:2px solid #666;
	height:auto;
	overflow:auto;
	font-size:14px;
}
footer a{
	color:#666;
	text-decoration:none;
}
footer a:hover{
	text-decoration:underline;
}
#footertop > a,
#footercontainer > a{
	display:block;
	width:50%;
	margin:5px 0;
	float:left;
	text-align:center;
}
footer a:nth-child(7){
	padding-top:30px;
}
#footercontainer > a{
	width:100%;
}
#footercontainer p{
	width:100%;
	clear:both;
	padding-top:20px;
	color:#666;
	text-align:center;
}


.auxline{
	width:90%;
	display:block;
	margin:0 auto;
	max-width:500px;
}
.mainimg{
	width:90%;
	max-width:300px;
	display:block;
	margin:0 auto;
}
.personimg{
	width:90%;
	max-width:180px;
	display:block;
	margin:0 auto;
}
#content{
	max-width:650px;
	margin:0 auto;
	padding: 10px;
}
#content h2{
	margin:40px 0 20px 0px;
}
#content h3 a{
	color:#012169;
}
#content h3 a:hover{
	color:#8094dd;
}
#content li{
	list-style:disc;
}
#content ol li{
	list-style:decimal;
}
#content li a{
	color:#012169;
	text-decoration:underline;
}
#content li a:hover{
	color:#8094dd;
}
figcaption{
	text-align:center;
	width:100%;
	font-style:italic;
}
#bread{
	font-style:italic;
	font-size:12px;
	margin-left:10px
}
#bread a{
	color:#012169;
}
#units{
	width:90%;
	margin:0 auto;
}
#units p{
	max-width:300px;
	margin:10px auto;
}
#units a,
#small a{
	color:#012169;
}
#units a:hover,
#units a:visited,
#small a:hover,
#small a:visited{
	color:#8094dd;
}
#units span{
	color:#e4002b;
}
#small{
	text-align:center;
	font-size:12px;
	width:90%;
	max-width:600px;
	margin:0 auto;
}
.backtotop{
	width:100%;
	margin:50px 0;
	text-align:center;
}
#auxinfo{
	width: 200px;
	margin: 0 auto;
}
#auxinfo p {
	text-align: center;
}
#auxinfo a{
	color: #012169;
}
#auxinfo a:hover, #auxinfo a:visited{
	color: #8094dd;
}




@media only screen and (min-width:600px) {
header{
	max-width:600px;
	margin:0 auto;
}


#left{
	float:left;	
	margin:10px 40px;
}
#right img{
	height:200px;
	width:auto;
}
#right > a{
	height:200px;
}
#right{
	float:right;
	margin:10px 40px;
}
#content{
	clear:both;
}
.italic{
	font-style:italic;
	font-size:12px;
}
.red{
	color:#F00;
	text-align:center;
}
footer a{
	width:33%;
}
footer #footercontainer > a{
	width:33%;
	padding-top:10px;
	height:40px;
	float:left;
}
footer #footercontainer > a:first-child{
	padding-top:10px;
}
footer #footercontainer > a:last-child{
	width:100%;
	text-align:center;
	padding-top:10px;
}
footer #footercontainer{
	width:100%;
	max-width:600px;
	margin:0 auto;
}
.backtotop{
	text-align:right;
}


}/*end of media 600px width*/






@media only screen and (min-width:768px) {

#footertop{
	clear:both;
	max-width:580px;
	margin:0 auto;
}
footer #footertop a{
	width:auto;
	padding: 5px 10px;
}
.italic{
	font-style:italic;
	font-size:12px;
}
.red{
	color:#F00;
	text-align:center;
}
}/*end of width 768px*/









@media only screen and (min-width:1020px) {
	
#wrapper{
	max-width:1200px;
	margin:0 auto;
	box-shadow: 15px 15px 15px #aaa;
}
#banner img{
	width:100%
}
#mobilebanner{
	display:none;
}
#desktopbanner{
	display:block;
}
/*-------------------- Navigation  --------------------------*/
nav {
	clear: both;
	border: 2px solid #999;
	font-size: 16px;
	background: #012169;
}
nav #pullmenu{
	display:none;
}
nav ul {
	display:block;
	clear: both;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
nav ul li {
	float: left;
	margin: 0 5px;
	padding: 0;
	background: #012169;
}
nav ul li:first-child{
	margin-left:0;
}
nav ul li a {
	height: 45px;
	display: block;
	line-height:45px;
	color: #fff;
	padding: 0 5px;
	width:100%;
	margin:0;
	text-decoration: none;
	border-radius:0;
}

nav a:hover,
nav .curr,
nav ul li ul li a:hover,
nav ul > li:hover > a {
	background: #8094dd;
}
nav ul > li > ul > li > .curr{
	background:#8094dd;
}
nav ul li ul {
	width: 620px;
	position: absolute;
	border: none;
	max-height: 0;
	height: 600px;
	z-index: 99;
	font-size: 16px;
}
nav ul > li:hover > ul {
	max-height: 300px;
	transition: max-height 1s ease-in-out;
}

nav ul > li:nth-child(5):hover > ul {
	max-height: 560px;
	transition: max-height 1s ease-in-out;
}
nav ul > li:nth-child(7):hover > ul {
	max-height: 560px;
	transition: max-height 1s ease-in-out;
}

nav ul > li:nth-child(9):hover > ul {
	max-height: 525px;
	transition: max-height 1s ease-in-out;
}

nav > ul > li > ul > li:first-child {
	padding-top:0;
}
nav ul li ul li {
	float: none;
	margin: 0;
	padding:0;
	position: relative;
	text-align: center;
	width: 230px;
}
nav > ul > li ul a{
	background: #012169;
	width: 230px;
	margin:0;
	padding:0;
	border-right: none;
	border-top: 1px solid #fff;
	height:30px;
	line-height:30px;
}

.double{
	width:70px;
	line-height:15px;
	padding-top:8px;
	margin-right:-10px;
	margin-bottom:-8px;
	text-align:center;
}




/* ----------------------------- Main Content -------------------------------------*/
header{
	margin-top:20px;
}
/*changed styles*/
#content{
	max-width:78%;
	float:right;
}
aside{
	margin-top:50px;
	max-width:20%;
	background:#eee;
	float:left;
}
aside h3{
	text-align:center;
	text-decoration:underline;
	padding:0;
}
aside ul{
	margin:0 10px;
	padding:0;
	list-style:none;
}
aside li{
	padding:5px;
}
aside li a{
	color:#012169;
	display:block;
	padding:5px 0px;
}
aside li a:hover,
aside li a:visited{
	color:#8094dd;
	transition:color, .2s;
}


#signature{
	text-indent:50px;
	font-size:20px
}
#content p{
	padding:0 20px;
}
#content h4{
	text-indent:50px;
}
#content .main_2{
	text-indent:75px;
	margin-top:-20px
}
.backtotop{
	margin:20px 0;
}
.italic{
	font-style:italic;
	font-size:12px;
}
.red{
	color:#F00;
	text-align:center;
}


footer{
	clear:both;
	font-size:12px;
	overflow: hidden;
	position:relative;
}
footer iframe{
	left:30px;
	top:15px;
	position:absolute;
}
#footertop{
	max-width:580px;
	margin:0 auto;
}
footer #footertop a{
	width:auto;
	padding: 5px 10px;
}
#footercontainer p{
	padding-top:10px;
}
footer #marsec{
	position:absolute;
	right:30px;
	top:15px;
}



/*district and division table styles*/
#current{
	margin-top:50px;
}
#auxinfotable,
#current{
	width:1000px;
}
#current tr:nth-child(5) td:last-child a {
	display:inline-block;
	width:auto;
}
table td:hover{
	background:#e4002b;
	transition:background .3s;
}
#current .lblue td:first-child:hover
#auxinfotable .lblue td:first-child:hover,
.lbluenohover:hover{
	background:#8094dd;
}
#current .dblue td:first-child:hover
#auxinfotable .dblue td:first-child:hover,
.dbluenohover:hover{
	background:#012169
}
table .doubleheight{
	
}
#directorate{
	list-style: none;
	margin: 0 auto;
	padding: 0;
	width: 675px;
	}
#directorate li{
	float: left;
	margin: 0 25px;
	}
#directorate img{
	height: 200px;
	}
#directorate a{
	text-decoration: none;
	font-size: 16px;
	color:#012169;
	}
#directorate a:hover, #directorate a:visited{
	color:#00A3E0;		
	}
#dso{
	width: 600px;
	margin: 0 auto;
	}
#dso li{
	padding-bottom: 20px;
	list-style: none;
	}
#dso li a{
	color:#012169
	}
#dso li a:hover, #dso li a:visited{
	color:#00A3E0		
	}

#asc{
	list-style: none;
	margin: 0 auto;
	padding: 0;
	width: 900px;
	}
#asc li{
	float: left;
	margin: 0 30px 30px;
	}
#asc img{
	height: 200px;
	}
#asc a{
	text-decoration: none;
	font-size: 16px;
	color:#012169;
	}
#asc a:hover, #directorate a:visited{
	color:#00A3E0;		
	}


}/*end of media screen 1020*/
