@charset "utf-8";

body{
	background-image:url(../images/background1.png);
	margin: 0;
}

header{
	width: 80%;
	height: 250px;
	background-color: white;
	background-image:url(../images/header.jpg);
	background-position: right;
	background-repeat: no-repeat;
	margin-right: auto;
	margin-left: auto;
	position: relative;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	border: thin solid #3B1254;
}

#logo{
	height:150px;
	width: auto;
	margin: 50px;
}
#home_logo{
	height:150px;
	width: auto;
	margin: 50px 50px 50px 100px;
	float: left;
}

main{
	width: 80%;
	background-color: #FFFFFF;
	display: table;
	margin-right: auto;
	margin-left: auto;
	position: relative;
	border-right: thin solid #3B1254;
	border-bottom: thin solid #3B1254;
	border-left: thin solid #3B1254;
}

footer{
	width: 80%;
	min-height: 300px;
	background-color: #3B1254;
	margin-right: auto;
	margin-left: auto;
	position: relative;
	border-right: thin solid #3B1254;
	border-bottom: thin solid #3B1254;
	border-left: thin solid #3B1254;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}
#map{
	width: 100%;
	height: 250px;
	box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.2);
}
#menubar {
	background-color: #3B1254;
	height: 50px;
	width: 100%;
	text-align: center;
	z-index: 10;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	border-bottom: thin solid #3B1254;
	border-left: thin solid #3B1254;
}
#service_img{
	width: 100%;
	height: auto;
	border-radius: 5px;
	box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.2);
	margin-bottom: 15px;
	animation-name: fadeindown;
	animation-duration: 1s;
}
#about_img{
	width: 100%;
	height: auto;
	border-radius: 5px;
	box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.2);
	animation-name: fadeindown;
	animation-duration: 1s;
}
/*------------------------------------MENU CSS----------------------------------*/

#menu{
	padding: 0;
	margin: 0;
}

/*Strip the ul of padding and list styling*/
#menu ul {
	list-style-type:none;
	margin:auto;
	padding:0;
	position:relative;
	z-index: 1000;
}

/*Create a horizontal list with spacing*/
#menu li {
	display:inline-block;
	margin-right: 1px;
}

/*Style for menu links*/
#menu li a {
	display:block;
	min-width:125px;
	height: 50px;
	text-align: center;
	line-height: 50px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #fff;
	background: #3B1254;
	text-decoration: none;
}

/*Hover state for top level links*/
#menu li:hover a {
	background:#9575A9;
	transition-duration: 1s;
}

/*Style for dropdown links*/
#menu li:hover ul a {
	background: #9575A9;
	color: #fff;
	height: 40px;
	line-height: 40px;
}

/*Hover state for dropdown links*/
#menu li:hover ul a:hover {
	background: #9575A9;
	color: #fff;
}

/*Hide dropdown links until they are needed*/
#menu li ul {
	display: none;
}

/*Make dropdown links vertical*/
#menu li ul li {
	display: block;
	float: none;
}

/*Prevent text wrapping*/
#menu li ul li a {
	width: auto;
	min-width: 100px;
	padding: 0 20px;
}

/*Display the dropdown on hover*/
#menu ul li a:hover + .hidden, .hidden:hover {
	display: block;
}

/*Style 'show menu' label button and hide it by default*/
.show-menu {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-decoration: none;
	color: #FFFFFF;
	background: #3B1254;
	text-align: center;
	padding-top: 15px;
	display: none;
}

/*Hide checkbox*/
input[type=checkbox]{
    display: none;
}

/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ #menu{
    display: block;
}


/*------------------------------------------------Subfooter Menu-------------------------*/
.subfooter_menu{
	padding: 0;
	margin: 0;
	float: left;
}

/*Strip the ul of padding and list styling*/
.subfooter_menu ul {
	list-style-type:none;
	margin:auto;
	padding:0;
	position:relative;
	z-index: 1000;
	float: left;
}

/*Create a horizontal list with spacing*/
.subfooter_menu li {
	display:inline-block;
	margin-right: 1px;
	font-size: 13px;
}

/*Style for menu links*/
.subfooter_menu li a {
	display:block;
	padding: 5px 25px 0px 5px;
	height: 50px;
	text-align: center;
	line-height: 50px;
	font-family: "lato", sans-serif;
	color: #3B1254;
	text-decoration: none;
}

/*Hover state for top level links*/
.subfooter_menu li:hover a {
	color: #9575A9;
	transition-duration: 1s;
}

/*--------------------------------Responsive Styles------------------------------*/

@media screen and (max-width : 950px){
	/*Make dropdown links appear inline*/
	#menubar{
		width:100%;
	}
	#menubar ul {
		position: static;
		display: none;
		margin-top: 15px;
	}
	/*Create vertical spacing*/
	#menubar li {
	border-top: medium solid #FFFFFF;
	}
	/*Make all menu links full width*/
	#menubar ul li, li a {
		width: 100%;
	}
	/*Display 'show menu' link*/
	.show-menu {
		display:block;
	}
	header{
		width: 100%;
		border-radius: 0;
		height: 150px;
		background-image: none;
	}
	main{
		width: 100%;
		margin: 0;
	}
	footer{
		width: 100%;
		border-radius: 0;
	}
	#logo{
		margin-right: auto;
		margin-left: auto;
		position: relative;
		display: block;
		height:100px;
		width: auto;
		margin-top: 25px;
	}
	#home_logo{
		height:150px;
		width: auto;
		display: block;
		margin-top: 50px;
		margin-bottom: 50px;
		margin-left: auto;
		margin-right: auto;
		position: relative;
		float: none;
	}
}

/*-----------------------------------------------------KEY FRAMES--------------------------------------*/

@keyframes fadeinright {
    from { opacity: 0; transform: translateX(20px);}
    to   { opacity: 1; transform: translateX(0);}
}

@keyframes fadeinleft {
    from { opacity: 0; transform: translateX(-20px);}
    to   { opacity: 1; transform: translateX(0);}
}

@keyframes fadeindown {
    from { opacity: 0; transform: translateY(-20px);}
    to   { opacity: 1; transform: translateY(0);}
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
