/*Colors*/
/* GLOBALS */

a {
	color: #203d54;
}

/* GRID */

body {
	background: url(../images/bg-paper.png) #c2cbd1;
	display: flex;
	min-height: 100vh;
	font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
}

.container-fluid {
	display: flex;
}

.row {
	display: flex;
	flex-grow: 1;
	position: relative;
}

#right {
	background-image: url(../images/bg-nabwi.png);
	background-repeat: repeat-x;
	background-position: right -280px bottom 0px;
	background-attachment: fixed;
}

#left {
	background-image: url(../images/bg-kaaba.png);
	background-repeat: repeat-x;
	background-position: left -450px bottom 0px;
	background-attachment: fixed;
}

#main {
	padding: .2em 1.2em 5em;
	position: relative;
	background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.5) 0, rgba(255, 255, 255, 0) 124px);
	background: -moz-linear-gradient(top, rgba(255, 255, 255, 0.5) 0, rgba(255, 255, 255, 0) 124px);
	background: -ms-linear-gradient(top, rgba(255, 255, 255, 0.5) 0, rgba(255, 255, 255, 0) 124px);
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 0, rgba(255, 255, 255, 0) 124px);
	background-color: #e3e8eb;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

#home #main {
	padding-top: 1.2em;
}

#main:before {
	background: none;
	border: 1px solid rgba(255, 255, 255, 0.6);
	content: "";
	display: block;
	position: absolute;
	top: 4px;
	left: 4px;
	right: 4px;
	bottom: 4px;
	pointer-events: none;
}

@media (max-width: 440px) {
	#left, #right {
		display: none;
	}
	
	#main {
		margin: 0 .5em;
		padding-right: .9em;
		padding-left: .9em;
	}
}

#bismillah {
	display: block;
	width: 105px;
	margin-bottom: .4em;
}

header {
	border-bottom: 1px solid #d8dde0;
	margin-bottom: 1.6em;
}

header .icon-home {
	width: 20px;
}

header .icon-message {
	width: 20px;
}

.navbar-brand {
	width: 194px;
	padding-bottom: 0;
}

.navbar-brand img {
	-webkit-filter: drop-shadow(0px 2px 0px rgba(255, 255, 255, 0.4));
	filter: drop-shadow(0px 2px 0px rgba(255, 255, 255, 0.4));
}

#home .navbar-brand {
	width: 153px;
	margin-bottom: 1em;
	padding-bottom: .3125rem;
}

article {
	background-color: white;
	padding: .7em;
	margin-bottom: 2.4em;
}

article p {
	color: #525e66;
}

article.legal {
	background-color: transparent;
}

article.legal h2 {
	font-size: .8em;
	margin-bottom: 0;
	margin-top: 1.6em;
}

article.legal p {
	font-size: 1em;
}

article.legal li {
	font-size: 1em;
}

blockquote {
	font-size: 1.2em;
	border-left: 5px solid #c2cbd1;
	padding: 0 .6em;
	color: #525e66;
}

/* TYPOGRAPHY */

h2 {
	text-transform: uppercase;
	line-height: 1.8em;
	text-align: center;
	font-size: .8em;
	letter-spacing: 1px;
	color: #525e66;
	font-weight: bold;
	padding-bottom: .8em;
	-webkit-filter: drop-shadow(0px 2px 0px rgba(255, 255, 255, 0.4));
	filter: drop-shadow(0px 2px 0px rgba(255, 255, 255, 0.4));
}

h3 {
	font-weight: bold;
	color: #203d54;
	text-align: center;
	margin-bottom: .5em;
}

h4 {
	color: #203d54;
	font-weight: bold;
	margin-bottom: .6em;
}

h4:not(:first-child) {
	margin-top: 1.6em;
}

.lead {
	color: #7f858a;
	text-align: center;
}

.text-secondary {
	font-size: 1em;
	font-style: italic;
	margin-bottom: 1.2em;
	text-align: center;
}

p, article li {
	font-size: 1.18em;
	color: #313538;
	line-height: 1.6em;
}

.none-of-above {
	text-align: center;
	display: block;
	font-size: 1.1em;
}

.step {
	text-transform: uppercase;
	font-size: .8em;
	color: #a2afb8;
	letter-spacing: 2px;
	text-align: center;
}

article .embed-responsive {
	margin-top: 1.8em;
	margin-bottom: 2em;
	max-width: 560px;
}

/* BUTTONS and LINKS */

.btn {
	white-space: normal;
	border-radius: 0 !important;
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
}

.btn-group-lg {
	margin-bottom: 3em;
}

.btn-group-lg > .btn, .btn-lg {
	font-size: 1.2em;
	margin-bottom: 1em;
}

.btn-light {
	color: #5c7081;
	background-color: #f1f3f5;
	border: 6px solid rgba(255, 255, 255, 0.2);
}

.btn-dark.cta {
	background-color: #203d54;
	text-transform: uppercase;
	font-size: .8em;
	letter-spacing: 2px;
	padding: .7em 1em .6em;
}

#home .btn-group-lg {
	margin-bottom: 1.6em;
}

/* FOOTER */

footer {
	color: #a2afb8;
	margin-top: 4em;
	text-align: center;
	position: absolute;
	bottom: 2em;
	left: 1em;
	right: 1em;
}

footer.small {
	font-size: .7em;
}

footer.small a {
	color: #a2afb8;
	text-decoration: underline;
}

footer.small a:hover {
	color: #5c7081;
}

@media (min-width: 768px) {
	#bismillah {
		width: 157px;
		margin-bottom: 1em;
	}
	
	#main {
		padding-left: 1.8em;
		padding-right: 1.8em;
	}
	
	header {
		margin-top: .8em;
		padding-bottom: .4em;
		margin-bottom: 3em;
	}
	
	.navbar-brand {
		width: 258px;
	}
	
	#home .navbar-brand {
		width: 243px;
	}
	
	h2 {
		text-align: left;
		font-size: 1em;
		letter-spacing: 2px;
	}
	
	h3 {
		font-size: 2.8em;
		text-align: left;
		text-shadow: 0px 2px 0px rgba(255, 255, 255, 0.4);
		margin-bottom: .2em;
	}
	
	.text-secondary {
		font-size: 1.2em;
	}
	
	.lead {
		text-align: left;
	}
	
	article {
		padding: 1.6em;
	}
	
	.indent h2 {
		text-align: center;
	}
	
	.indent .text-secondary {
		text-align: center;
	}
	
	.btn-group-lg > .btn, .btn-lg {
		font-size: 1.3em;
		margin-bottom: .8em;
	}
}
