/*-------------------------Footer-------------------------*/


/*-------------------------Footer-------------------------*/

footer{
	background-image: url('/_images/footer/footer.jpg') !important;
	background: no-repeat center;
	background-size: 100% 100%;
	padding-top: 100px;
	padding-bottom: 0px;
	color: white;
	float: left;
	width: 100%;
	overflow:hidden;
}


/*First Section*/

footer section#top{
	height: 200px;
}

footer section#top span{
	border: solid 1px white;
	background: white;
	display: inline-block;
	width: 100%;
	height: 1px;
}

footer section#top>div{
	width: calc(100%/4);
	float: left;
	position: relative;
	bottom: 50px;
}

footer section#top>div p{
	text-align: center;
	font-size: 20px;
	font-weight: 400;
}


/*Newsletter*/

form#newsletter{
	border-radius: 5px;
	border: 3px solid white;
	width: 94%;
	max-width: 300px;
	height: 40px;
	margin: auto; position: relative; overflow: hidden;
}
form#newsletter .contactbtn{position: absolute; right:-4px;}
form#newsletter input{
	display: inline;
	outline: none;
}

form#newsletter input[type="text"],
form#newsletter input[type="email"]{
	background: none;
	color: white;
	padding: 10px;
	width: 54%;
	border: none;
	float: left;
}

form#newsletter input[type="text"]::placeholder,
form#newsletter input[type="email"]::placeholder{
	color: white;
}

form#newsletter input[type="submit"]{
	border: solid 1px white;
	padding: 10px;
	background: white;
	color: #004990;
	font-weight: bold;
	width: calc(34% - 4px);
	height: 100%;
	cursor: pointer;
	float: right;
}


/*Second Section*/

footer section#middle{
	text-align: center;
}

footer section#middle>a>div{
	background: white;
	border-radius: 10px;
	padding: 30px 5px;
	padding-bottom: 50px !important;
	width: 23%;
	height: 200px;
	color: #333333;
	display: inline-block;
	vertical-align: top;
	margin: 0 15px 0 0;
	transition: 0.3s;
	cursor: pointer;
	float: left;
}

footer section#middle>a:last-child>div{
	margin-right: 0;
}

footer #bottom{
	padding: 30px 0!important;
}

footer section#middle>a>div:hover{
	box-shadow: 0px 0px 24px 0px rgba(196, 226, 255, 0.85);
}

footer section#middle>a>div h3{
	font-size: 24px;
	text-transform: uppercase;
}

footer section#middle>a>div img{
	margin-top: 10px;
	margin-bottom: 20px;
}


/*Third Section*/

footer section#bottom>*{
	display: inline-block;
	vertical-align: top;
}

footer section#bottom>p{
	width: 33%;
	float: left;
	text-align: left;
	font-size: 15px;
}

footer section#bottom>div#socialIcons{
	width: 33%;
}

footer section#bottom>div#socialIcons span{
	border: solid white 1px;
	background: white;
	display: inline-block;
	width: 50px;
	height: 1px;
	margin: 0px 10px;
	position: relative;
	bottom: 25px;
}

@media screen and (max-width: 415px){
	footer section#bottom>div#socialIcons span{
		width: 25px;
	}
}

@media screen and (max-width: 355px){
	#socialIcons div a{
		padding: 0px !important;
	}
}

@media screen and (max-width: 317px){
	footer section#bottom>div#socialIcons span{
		display: none !important;
	}
}

footer section#bottom>div#socialIcons div{
	display: inline-block;
}

footer section#bottom>div#links{
	text-transform: uppercase;
	width: 33%;
	margin: 1em 0px;
	text-align: right;
}

footer section#bottom>div#links a{
	color: white;
	text-decoration: none;
	font-size: 13px;
}

footer section#bottom>div#links a:hover{
	text-decoration: underline;
}

footer section#bottom>div#links a.leftRight{
	border: 2px solid white;
	border-top: none;
	border-bottom: none;
	padding: 0px 14px;
	margin: 0px 10px;
}

.mobShow{
	display: none;
}

#socialIcons div a{
	padding: 0 2px;
}

@media screen and (max-width:1024px){
	footer section#middle > a > div{
		width: 45%;
		margin: 0 10px 20px 0;
		float: none;
	}

	#socialIcons div a{
		padding: 0 6px;
	}

	footer #bottom{
		padding: 20px 50px!important;
	}

	footer section#middle>a:last-child>div{
		margin-right: 10px;
	}

	form#newsletter .contactbtn button{
		min-width: auto;
	}

	form#newsletter{
		margin:0;
	}
}

@media screen and (max-width:800px){
	form#newsletter .contactbtn br{
		display: none;
	}

	footer section#middle>a:last-child>div{ margin:2% 1% 0 0;}
	form#newsletter{ margin:0 auto;}
		.bounceInRight, .bounceInLeft, .bounceInUp, .bounceInDown{
		opacity: 0;
		-webkit-transform: inherit !important;
		transform: inherit !important;
	}

	footer{
		float: left;
		width: 100%;
		padding: 30px 0 0 0;
	}

	footer section#top>div{
		width: 100%;
	}

	footer section#top span{
		border: none;
		height: 0;
	}
 
	footer section#bottom>p,
	footer section#bottom>div#socialIcons,
	footer section#bottom>div#links{
		width: 100%;
		text-align: center;
		line-height:24px;
	}
 
	#topSection{
		padding-top: 160px;
	}

	#summary h1{
		font-size: 30px;
	}

	#summary h2{
		font-size: 18px;
	}

	.homePage .grayBg>*{
		position: inherit;
	}

	.homePage .grayBg img{
		margin-bottom: 30px !important;
	}

	.mobShow{
		display: block;
	}

	.mobNone{
		display: none!important;
	}

	footer section#top>div{
		bottom: 0;
	}

	footer section#top,
	footer section#middle{
		height: auto;
		float: left;
		width: 100%;
	}

	footer section#middle{
		margin-top: 40px;
	}
	 
	footer #bottom{
		padding-bottom: 40px;
	}
}

@media screen and (max-width:480px){
	form#newsletter .contactbtn{
		width: auto;
	}

	footer section#top>div{
		width: 100%;
	}
	
	footer section#bottom>div#socialIcons a{
		margin: 0 2px;
	}
}

@media screen and (max-width:380px){ 
	footer section#middle > a > div{
		width: 97%;
		margin: 0 20px 20px 0;
	}

	footer section#bottom>div#links a.leftRight{
		border: none;
		border-bottom: none;
		padding: 0px;
		margin: 0px;
		letter-spacing: 1px;
	}

	footer section#bottom>div#links a{
		color: white;
		text-decoration: none;
		font-size: 12px;
		width: 100%;
		float: left;
		letter-spacing: 1px;
	}

}

@media screen and (max-width:430px){
	footer section#middle > a > div{ width:96%;}
	footer #bottom{padding: 20px 1px!important;}
}

@media screen and (max-width:350px){
	form#newsletter input[type="text"],form#newsletter input[type="email"]{
		width: 56%;
	}

	form#newsletter .contactbtn button{
		font-size: 14px;
		text-transform: uppercase;
		color: #004890;
	}
}