/* ====================================================================================== */
/* ! Layout for desktop site															  */
/* ====================================================================================== */
			
html, body, .container {
	margin: 0;
	padding: 0;
}

.header {
	background: #FFFFFF;
	padding: 0;
	border-bottom: 5px solid #954795;
}
	.header .logo {
		padding: 20px 0 20px;
	}

	.header .logo img {
		display: block;
	}

	.header .social-icons {
		text-align: right;
		padding: 20px 0 0 0;
	}

	.header .social-icons img {
		width: 35px;
		margin-left: 5px;
	}

.nav {
	background: #FFFFFF;
	padding: 0;
	color: #954795;
	font-size: 16px;
	overflow: visible;
}

.menu {
	display: none;
}

	.nav ul.nav-menu {
		color: inherit;
		margin-bottom: 0;
		margin-left: -20px;
	}
		.nav ul.nav-menu li {
			display: block;
			float: left;
			margin-right: 10px;
			color: inherit;
			padding-bottom: 5px;
		}
			.nav ul.nav-menu li a, .nav ul.nav-menu li a:visited {
				color: inherit;
				text-decoration: none;
				background: none;
				color: #954795;
				padding: 8px 15px;
				font-size: 16px;
			}
			.nav ul.nav-menu li a:hover, .nav ul.nav-menu li a:focus,
			.nav ul.nav-menu li.here a,
			.nav ul.nav-menu li.parent-here a,
			.nav ul.contactus li a, .nav ul.contactus li a:visited {
				color: #FFFFFF;
				background: #954795;
				padding: 8px 15px;
				text-decoration: none;
				-webkit-border-top-left-radius: 2px;
				-webkit-border-top-right-radius: 2px;
				-moz-border-radius-topleft: 2px;
				-moz-border-radius-topright: 2px;
				border-top-left-radius: 2px;
				border-top-right-radius: 2px;
			}
			.nav ul.nav-menu li:last-child {
				margin-right: 0;
			}

			.nav ul.nav-menu li.desktophide {
				display: none;
			}

			.nav ul.contactus {
				float: right;
				margin-bottom: 0;
			}
			.nav ul.contactus li {
				padding-bottom: 5px;
				width: 100%;
			}
			.nav ul.contactus li a {
				margin: 0px;
				font-size: 16px;
			}
		
.nav.fixed {
	position: fixed;
	top: 0;
	width: 100%;
	opacity: 0.9;
	z-index: 100;
}
	.nav .nav-logo {
		margin: -5px 0 -5px -13.45%;
	}
		.nav .nav-logo img {
			display: block;
		}

#main-banner {
	height: 550px;
	background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#main-banner-title {
	background: rgba(149,72,149,.8);
	color: #FFFFFF;
	max-width: calc(100% - 20px);
	padding: 10px 20px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

#main-banner-title h1 {
	font-size: 40px;
    color: #FFFFFF;
    margin-bottom: 0;
/*    text-shadow: 0 0 60px rgba(0,0,0,.9); */
	text-align: center;
    position: relative;
}

#main-banner-title p {
	text-align: center;
	max-width:950px;
	margin:0 auto;
	margin-top: 10px;
}

.main {
	position: relative;
	padding: 60px 0 0;
	overflow: visible;
}
	.main .pad {
		padding-bottom: 40px;
	}

	.pad-top {
		padding-top: 40px;
	}

	.main .home_section {
		padding-bottom: 40px;
	}

	#contactus {
		display: none;
		z-index: 100;
		padding: 137px 30px 30px;
		min-height: calc(100% - 167px);
		position: absolute;
		top: 0px;
		right: 0px;
		bottom: 0px;
		width: 280px;
		background: #954795;
		text-align: left;
		border-left: 5px solid #FFFFFF;
		color: #FFFFFF;
	}

		#contactus .contactus-close {
			font-weight: bold;
			color: #FFFFFF;
			text-decoration: none;
			position: absolute;
			top: 0;
			right: 0;
			padding: 30px;
			font-size: 26px;
		}

		#contactus p {
			font-size: 16px;
		}

		#contactus p a, #contactus p a:visited {
			text-decoration: none;
			color: #FFFFFF;
		}
		#contactus p a:hover, #contactus p a:focus {
			text-decoration: underline;
			color: #FFFFFF;
		}
		
		#contactus label {
			padding-right: 5px;
		}
		
		#contactus input, #contactus textarea {
			border: 0;
			padding: 10px;
			margin-bottom: 10px;
			font-size: 14px;
			-webkit-border-radius: 2px;
			-moz-border-radius: 2px;
			border-radius: 2px;
			width: 260px;
		}
		
		#contactus textarea {
			height: 100px;
		}

		#contactus select {
			width: 98%;
			margin: 0 0 10px 0;
		}
		
		#contactus input.button {
			width: 100px;
			background: #dec5e1;
			color: #954795;
			cursor: pointer;
			font-size: 18px;
			margin: 0;
		}
		#contactus input.button:hover {
			background: #c5a0c9;
		}

	.main ul.side-menu {
		margin: 0 0 20px 0;
		margin-left: -9999px;
		padding-left: 9999px;
		-webkit-border-top-right-radius: 2px;
		-webkit-border-bottom-right-radius: 2px;
		-moz-border-radius-topright: 2px;
		-moz-border-radius-bottomright: 2px;
		border-top-right-radius: 2px;
		border-bottom-right-radius: 2px;
		color: #FFFFFF;
	}
		.main ul.side-menu li {
			font-size: 18px;
			background: #9c60ab;
			-webkit-border-radius: 2px;
			-moz-border-radius: 2px;
			border-radius: 2px;
			padding: 5px 10px;
			margin-bottom: 10px;
		}
		.main ul.side-menu li a {
			display: block;
			text-decoration: none;
			color: #FFFFFF;
		}
		.main ul.side-menu li:hover {
			opacity: 0.8;
		}
		.main ul.side-menu li.last {
			margin-bottom: 0;
		}
		.main ul.side-menu li ul {
			margin: 10px 0 5px;
			padding: 0;
		}
		.main ul.side-menu li ul li {
			background: #954795;
			font-size: 16px;
			margin-bottom: 5px;
		}

		.image-link {
			height: 300px;
			background-size: cover;
		    background-position: center;
		    display: flex;
		    align-items: center;
		    justify-content: center;
		    margin-bottom: 20px;
		    -webkit-border-radius: 2px;
			-moz-border-radius: 2px;
			border-radius: 2px;
		}

		.image-link-title {
			background: rgba(149,72,149,.8);
			color: #FFFFFF;
			max-width: calc(100% - 20px);
			padding: 10px 20px;
			-webkit-border-radius: 2px;
			-moz-border-radius: 2px;
			border-radius: 2px;
		}

		.image-link-title h2 {
			font-size: 40px;
		    color: #FFFFFF;
		    margin: 0;
			text-align: center;
		    position: relative;
			border-bottom: 0;
			padding: 0;

		}
		.image-link-title h2 span {
			white-space: pre;
		}
		.image-link-title h2 span::before {
			content: "\A";
		}

		.image-link-title h2.small {
			font-size: 26px;
		}
		.image-link-title h2.small span {
			font-size: 20px;
		}
		.image-link-title p {
			text-align: center;
			margin-top: 5px;
		}

		.map-cont {
			height: 400px;
		}
		
		.map {
			position: absolute;
			left: 0;
			right: 0;
			bottom: 0;
			width: 100%;
			height: 400px;
		}

		.map img {
			max-width: none;
		}

		.map .popup p {
			color: #954795;
		}

		.donate-info {
			margin-top: 40px;
			font-size: 25px;
			font-weight: 800;
			text-align: center;
		}

		.our-vision p:nth-child(1) {
			margin-top: 40px;
			font-weight: 800;
			font-size: 22px;
		}

		p.note {
			font-size: 16px;
			color: #954795;
		}

		.light {
			color: #c5a0c9;
		}
		.dark {
			color: #954795;
		}

.events-container {
	background: #954795;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

.events-sub {
	color: #FFFFFF;
	padding: 20px 20px 0 20px;
}

.footer {
	background: #954795;
	padding: 50px 0 30px;
	color: #FFFFFF;
}

	.footer p {
		color: #FFFFFF;
		font-size: 16px;
		margin-bottom: 10px;
	}
	.footer p.small {
		font-size: 14px;
	}
		.footer p a, .footer p a:visited {
			text-decoration: none;
			color: #FFFFFF;
		}
		.footer p a:hover, .footer p a:focus {
			text-decoration: underline;
			color: #FFFFFF;
		}

.desktophide {
	display: none;
}

/* ====================================================================================== */
/* ! Layout for smaller screens 														  */
/* ====================================================================================== */

@media only screen and (max-width: 1180px) {

	.full {
		margin-left: -20px;
		margin-right: -20px;
		padding-left: 20px;
		padding-right: 20px;
	}
	.full.main {
		padding-top: 20px;
		margin: 0;
	}
	.full.header,
	.full.footer {
		margin: 0;
	}
	
}

/* ====================================================================================== */
/* ! Layout for nav on mobile															  */
/* ====================================================================================== */

@media handheld, only screen and (max-width: 980px) {

	.header {
		border-bottom: 0;
	}

	.header .logo {
		padding: 10px 0 10px;
	}
	.header .logo img {
		max-width: 65%;
	}

	.header .social-icons {
		position: absolute;
    	top: -10px;
    	right: 20px;
	}
	.header .social-icons img {
		width: 25px;
	}

	.menu {
		display: inline;
		position: absolute;
		right: 20px;
		margin-top: -30px;
	}
		.menu p a {
			color: #954795;
			font-weight: 800;
    		text-transform: uppercase;
		}

	.nav {
		padding-top: 0;
		padding-bottom: 0;
	}

		.nav .row {
			position: relative;
			padding-top: 10px;
		}

	.nav.fixed {
		width: auto;
		left: 0;
		right: 0;
	}

	.nav ul.nav-menu {
		float: right !important;
		width: 100% !important;
		position: absolute;
		left: 0;
		margin-left: 0;
	}
		.nav ul.nav-menu li {
			clear: both;
			width: 100%;
			text-align: center;
			margin: 0;
			padding: 0;
		}

		.nav ul.nav-menu li.desktophide {
			display: block;
		}

		.nav ul.nav-menu li a {
			display: block;
			padding: 20px 0;
		}

		.nav ul.nav-menu li.here a,
		.nav ul.nav-menu li.parent-here a,
		.nav ul.nav-menu li a:hover,
		.nav ul.nav-menu li a:focus  {
			webkit-border-top-left-radius: 0px;
			-webkit-border-top-right-radius: 0px;
			-moz-border-radius-topleft: 0px;
			-moz-border-radius-topright: 0px;
			border-top-left-radius: 0px;
			border-top-right-radius: 0px;
			padding: 20px 0;
		}

	.nav ul.contactus {
		float: right !important;
		width: 100% !important;
	}
		.nav ul.contactus li {
			padding: 0;
		}
		.nav ul.contactus li a {
			display: block;
			text-align: center;
			margin-left: -20px;
			margin-right: -20px;
			webkit-border-top-left-radius: 0px;
			-webkit-border-top-right-radius: 0px;
			-moz-border-radius-topleft: 0px;
			-moz-border-radius-topright: 0px;
			border-top-left-radius: 0px;
			border-top-right-radius: 0px;
			padding: 10px 0;
		}

}


/* ====================================================================================== */
/* ! Layout for mobile site																  */
/* ====================================================================================== */

@media handheld, only screen and (max-width: 767px) {

	body {
		font-size: 16px;
	}

	.main .pad {
		padding-bottom: 20px;
	}

	.pad-top {
		padding-top: 20px;
	}

	.full.header {
		padding-bottom: 0;

	}

	.main #contactus {
		padding: 10%;
		left: 2%;
		width: 76%;
	}
		.main #contactus input,
		.main #contactus textarea,
		.main #contactus select {
			width: 100%;
			max-width: 100%;
		}

	.donate-info {
		margin-top: 20px;
		font-size: 20px;
	}

	#main-banner {
		height: 500px;
	    align-items: flex-end;
	}

	#main-banner-title {
		width: 100%;
		max-width: auto;
		padding: 20px;
		-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
		border-radius: 0px;
	}

	#main-banner-title h1 {
		font-size: 35px;
		text-align: left;
	}

	#main-banner-title p {
		text-align: left;
	}

	.image-link {
		align-items: flex-end;
		height: 250px;
	}

	.image-link-title {
		width: 100%;
		-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
		border-radius: 0px;
		-webkit-border-bottom-right-radius: 2px;
		-webkit-border-bottom-left-radius: 2px;
		-moz-border-radius-bottomright: 2px;
		-moz-border-radius-bottomleft: 2px;
		border-bottom-right-radius: 2px;
		border-bottom-left-radius: 2px;
	}

	.image-link-title h2 {
		font-size: 30px;
		text-align: left;
	}

	.image-link-title h2.small {
		font-size: 22px;
	}
	.image-link-title h2.small span {
		font-size: 16px;
	}
	.image-link-title p {
		text-align: left;
	}

	.footer {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.contact-details p {
		font-size: 16px;
	}

	.mobhide {
		display: none !important;
	}
	.desktophide {
		display: inline;
	}

}