@import url('https://fonts.googleapis.com/css?family=Droid+Sans');
@import url('https://fonts.googleapis.com/css?family=Ubuntu+Condensed');
* {
	border: 0;
	padding: 0;
	margin: 0;
}
body {
	background: lightblue;
	color: royalblue;
	font-family: 'Ubuntu Condensed', sans-serif;
	line-height: 190%;
	text-align: center;
	text-transform: uppercase;
}
h3 {
	font-size: 190%;
	padding: 5% 0;
}
h4 {
	font-size: 170%;
	padding: 5% 0;
}
h5 {
	font-size: 120%;
	color: #959595;
}
img {
	max-width: 100%;
}
figure {
	max-width: 100%;
}
header {
	background: #405580;
	height: 100px;
	position: fixed;
	z-index: 1000;
	width: 100%;
	opacity: .9;
	top: 0;
}
#header-inner {
	max-width: 1200px;
	margin: 0 auto;
}
#logo {
	background: url(img/JAIT.png);
	float: left;
	width: 100px;
	height: 100px;
}
/* Nav Menu */
nav {
	float: right;
	padding: 35px 20px 0 0;
}
#menu-icon {
	background: url(3D-Button.jpg) center;
	width: 40px;
	height: 34px;
	display: hidden;
}
ul {
	list-style: none;
}
nav ul li{
	font-family: sans-serif;
	display: inline-block;
	padding: 10px;
	font-size: 110%;
}
nav ul li a{
	color: #F0F0F0;
	text-decoration: none;
	font-weight: 700;
}
.sub-menu {
	display: none;
	position: absolute;
	list-style: none;
}
nav ul li:hover .sub-menu {
	display: block;
}
a:hover, .current {
	text-decoration: underline;
}

.sub-menu-one {
	display: none;
	list-style: none;
	margin-left: 226px;
	margin-top: -51px;
}
.sub-menu:hover .sub-menu-one{
	display: block;
}
/* 3D image slider */
.slider {
	padding-top: 100px;
	max-width: 100%;
	padding-bottom: 10px;
}
.slideshow{
	margin: 0 auto;
	padding-top: 50px;
	height: 300px;
	background-color: skyblue;
	box-sizing: border-box;
}
.content{
	margin: auto;
	width: 190px;
	perspective: 1000px;
	position: relative;
	padding-top: 10px;
}
.content-carrousel{
	width: 100%;
	position: absolute;
	float: right;
	animation: rotar 15s infinite linear;
	transform-style: preserve-3d;
}
.content-carrousel:hover{
	animation-play-state: paused;
	cursor: pointer;
}
.content-carrousel figure{
	width: 100%;
	height: 120px;
	border: 1px solid #4d444d;
	overflow: hidden;
	position: absolute;
}
.content-carrousel figure:nth-child(1){
	transform: rotateY(0deg) translateZ(300px);
}
.content-carrousel figure:nth-child(2){
	transform: rotateY(40deg) translateZ(300px);
}
.content-carrousel figure:nth-child(3){
	transform: rotateY(80deg) translateZ(300px);
}
.content-carrousel figure:nth-child(4){
	transform: rotateY(120deg) translateZ(300px);
}
.content-carrousel figure:nth-child(5){
	transform: rotateY(160deg) translateZ(300px);
}
.content-carrousel figure:nth-child(6){
	transform: rotateY(200deg) translateZ(300px);
}
.content-carrousel figure:nth-child(7){
	transform: rotateY(240deg) translateZ(300px);
}
.content-carrousel figure:nth-child(8){
	transform: rotateY(280deg) translateZ(300px);
}
.content-carrousel figure:nth-child(9){
	transform: rotateY(320deg) translateZ(300px);
}
.shadow{
	position: absolute;
	box-shadow: 0px 0px 20px 0px #000;
	border-radius: 2px;
}
.content-carrousel img{
	image-rendering: auto;
	transition: all 300ms;
	width: 100%;
	height: 100%;
}
.content-carrousel img:hover{
	transform: scale(1.2);
	transition: all 300ms;
}
.body-inner{
	border: 10px;
	padding: 10px;
	margin: 10px;
	text-align: center;
	
}
@keyframes rotar{
	from{
		transform: rotateY(0deg);
	} to {
		transform: rotateY(360deg);
	}
}
/* End Image Slider */
/* Inner Wrapper Start */
#inner-wrapper {
	max-width: 1200px;
	margin: 0 auto;
}
.one-third {
	width: 29%;
	float: left;
	margin-left: 2%;
}
.one-third img {
	max-width: 29%;
	padding: 1%;
}
.circle {
	margin: 0 auto;
	width: 150px;
	height: 150px;
	background: #405580;
	border-radius: 50%;
}
.one-third i {
	color: #F0F0F0;
	font-size: 555%;
	padding: 20%;
}
p {
	font-family: 'Droid Sans', sans-serif;
	text-align: center;
	text-transform: none;
	font-size: 125%;
	padding-bottom: 2%;
}
.clearfix {
	clear: both;
	padding: 2%;
}
article {
	float: left;
	width: 50%;
	padding: 4%;
}
.circle-image {
	border-radius: 70%;
}
aside {
	float: right;
	width: 35%;
	padding: 2%;
}
aside h3 {
	text-decoration: underline;
}
/* footer */
footer {
	background: #405580;
	overflow: hidden;
	opacity: .9;
}
footer h3 {
	color: #959595;
}
footer p {
	color: #959595;
}
footer h4 {
	color: #959595;
}
#footer-inner {
	max-width: 1200px;
	margin: 0 auto;
}
footer .one-third {
	width: 33%;
	margin: 2% 0;
}
#footer-third {
	border-right: 1px solid #959595;
	max-height: 400px;
	min-height: 400px;
}
footer a {
	color: #959595;
	text-decoration: none;
}
.social li {
	display: inline;
}
.social i {
	font-size: 255%;
	padding: 2% 6%;
	color: #959595;
}
.social i:hover {
	color: blue;
}
/* Footer Second */
footer.second {
	border-top: 1px solid #4D4E50;
	max-height: 50px;
	padding-bottom: 1%;
	text-align: center;
	opacity: .95;
}
/* Media Querie */
@media screen and (max-width: 768px){
	header {
		position: absolute;
	}
	#menu-icon{
		display: inline-block;
	}
	nav:hover ul{
		display: block;
	}
	nav ul, nav:active ul {
		display: none;
		z-index: 1000;
		position: absolute;
		background: #405580;
		width: 50%;
		padding: 20px;
		right: 20px;
		top: 60px;
		border: 1px solid #fff;
		border-radius: 4px 0 4px 4px;
	}
	nav li {
		text-align: center;
		width: 100%;
	}
	.one-third {
		width: 100%;
		margin: 0;
	}
	.circle {
		width: 100px;
		height: 100px;
	}
	.one-third i {
		font-size: 360%;
	}
	article {
		width: 100%;
		padding: 0;
		margin: 0;
	}
	aside {
		width: 100%;
		padding: 2px;
		margin: 1px;
	}
	h4 {
		font-size: 140%;
	}
	footer .one-third {
		width: 100%;
		margin: 0;
		padding: 0;
	}
	.social i {
		font-size: 245%;
	}
	#footer-third {
		min-height: 150px;
		padding-bottom: 10%;
		border-bottom: 1px solid #959595;
	}
	#footer-third-last {
		margin-bottom: 15%;
	}
}
@media  screen and (max-width: 478px) {
	h3 {
		font-size: 150%;
	}
	p {
		font-size: 100%;
		margin: 2%;
	}
	h4 {
		font-size: 115%;
	}
	
}