/*General Styles*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font: normal 16px sans-serif;
	color: #555;
}
#bs-example-navbar-collapse-1 > ul.nav.navbar-nav.navbar-right > li:nth-child(8) > a {
	color: orange;
}
#bs-example-navbar-collapse-1 > ul.nav.navbar-nav.navbar-right > li:nth-child(8) >a:hover {
	color: #F15C18;
	transform: scale(1.02);
}


.arrow {
	animation-name: fallingarrow;
	animation-duration: 3s;
	animation-timing-function: linear;
	animation-delay: 1s;
	animation-iteration-count: infinite;
}


@keyframes fallingarrow {
	0%{
		color: white;
	}
	25%{
		color: black;

	}
	50%{
		color: white;
		
	}
		100%{
		color: white;
	}
}
.bookText{
	color: white;
}
/*ul,
nav {
	list-style: none;
}*/
.navbar {
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    
}
.navbar-default {
	
	border-style: none;

}
.navbar-default .navbar-toggle .icon-bar {
    background-color: black;
}

.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
    background-color: transparent;
}

.navbar-default .navbar-toggle {
    border: none;
}

.navbar-toggle span.icon-bar {
    transition: all 0.15s;
}

.navbar-toggle span:nth-child(2) {
    transform: rotate(45deg);
    transform-origin: 10% 10%;
}

.navbar-toggle span:nth-child(3) {
    opacity: 0;
}

.navbar-toggle span:nth-child(4) {
    transform: rotate(-45deg);
    transform-origin: 10% 90%;
}

.navbar-toggle.collapsed span:nth-child(2),
.navbar-toggle.collapsed span:nth-child(4) {
    transform: rotate(0);
}

.navbar-toggle.collapsed span:nth-child(3) {
    opacity: 1;
}

.navbar-default .navbar-brand {
	color: black;
	font-weight: 500;
}
.navbar-default .navbar-brand:hover {
	color: white;
}
.navbar-default {
	background-color: #607d8b; 
	border-style: none;

}
.navbar-default .navbar-nav > li > a {
	color: black;
	font-weight: 400;

}
.navbar-default .navbar-nav > li > a:hover {
	color: #fff;
	font-weight: 400;
	text-decoration: underline;

}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
	color: #fff;
	background-color: #607d8b;
	border-radius: 8px;
	font-weight: 400;
}
.navbar-default .navbar-nav > .active > a {

	font-weight: 400;
	/*background-color: #3f51b4;*/
}


a.animated-button.thar-three {
	color: #fff;
	cursor: pointer;
	width: 100%;
	display: block;
	position: relative;
	font-size: 18px;
	border: 2px solid #f5f5f5;
	background-color: transparent;
	transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
0s;
}
a.animated-button.thar-three:hover {
	color: #000 !important;
	background-color: transparent;
	text-shadow: nthree;
}
a.animated-button.thar-three:hover:before {
	left: 0%;
	right: auto;
	width: 100%;
}
a.animated-button.thar-three:before {
	display: block;
	position: absolute;
	top: 0px;
	right: 0px;
	height: 100%;
	width: 0px;
	z-index: -1;
	content: '';
	color: #000 !important;
	background: #3f51b5;
	transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
0s;
}

a:hover {
	text-decoration: none;
}



.jumbotron {
	margin-top: 5%;
	text-align: center;
}
@media (max-width: 990px) {
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
   .navbar-collapse.collapse:not(.in) {
        display: none !important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

.navbar-toggle {
	border: none;
}



ul {
	list-style: none;
}

a {
	text-decoration: none;
	opacity: 0.75;
	color: black;
}

a:hover {
	opacity: 1;
}

a.btn {
	border-radius: 4px;
	text-transform: uppercase;
	font-weight: bold;
	text-align: center;
	background-color: #3f51b5;
	color: #fff;
	opacity: 1;
}

a.btn:hover {
	color: #fff;
}
section {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 100px 80px;

}


section:not(.hero):nth-child(1) {
	background-color: #f5f5f5;
}
section:not(.hero):nth-child(3) {
	background-color: #f5f5f5;
}
section:not(.hero):nth-child(5) {
	background-color: #f5f5f5;
}
.grid {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

hr {
	width: 250px;
	height: 3px;
	background-color: #3f51b5;
	border: 0;
	margin-bottom: 50px;
}

section h3.title {
	text-transform: capitalize;
	font: bold 32px "Open Sans", sans-serif;
	margin-bottom: 30px;
	text-align: center;
}

section p {
	max-width: 775px;
	line-height: 2;
	padding: 0 20px;
	margin-bottom: 30px;
	text-align: center;
}

@media (max-width: 800px) {
	section {
		padding: 50px 20px;
	}
}



/*Hero Styles*/

.hero {
	position: relative;
	justify-content: center;
	text-align: center;
	min-height: 100vh;
	color: #fff;
}

.hero .background-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height:100%;
	background-size: cover;
	z-index: -1;
	background-color: #80a3db;
	background-position: left-center;
}

.hero h1 {
	font: bold 60px "Open Sans", sans-serif;
	margin-bottom: 15px;
}

.hero h3 {
	font: normal 28px "Open Sans", sans-serif;
	margin-bottom: 40px;
}

.hero a.btn {
	padding: 20px 46px;
}

.hero-content-area {
	opacity: 0;
	margin-top: 100px;
	animation: 1s slidefade 1s forwards;
}

@keyframes slidefade {
	100% {
		opacity: 1;
		margin: 0;
	}
}

@media (max-width: 800px) {
	.hero {
		min-height: 100vh;
	}

	.hero h1 {
		font-size: 48px;
	}

	.hero h3 {
		font-size: 24px;
	}

	.hero a.btn {
		padding: 15px 40px;
	}
}

.container {
	flex-wrap: wrap;
	display: flex;
	flex-basis: 50%;
	justify-content: center;
}

/*aboutHero section*/
.aboutHero {
	position: relative;
	justify-content: center;
	text-align: center;
	padding: 0 0;
	color: #fff;

}
.thumbnail {
	border: none;
}



	
/*intro Section*/

.intro .grid li {
	height: 350px;
	padding: 20px;
	background-clip: content-box;
	background-size: cover;
	background-position: center;
}

.intro .grid li.small {
	flex-basis: 30%;
}

.intro .grid li.large {
	flex-basis: 70%;
}

@media (max-width: 1100px) {
	.intro .grid li.small,
	.intro .grid li.large {
		flex-basis: 50%;
	}
}

@media (max-width: 800px) {
	.intro .grid li.small,
	.intro .grid li.large {
		flex-basis: 100%;
	}
}

/*second Section*/

.second .grid li {
	padding: 50px;
	flex-basis: 50%;
	text-align: center;
}

.second .grid li i {
	color: #8c9eff;
}

.second .grid li h4 {
	font-size: 20px;
	margin: 25px 0;
}

@media (max-width: 800px) {
	.second .grid li {
		flex-basis: 100%;
		padding: 20px;
	}
}
.aboutsec .grid li {
	padding: 50px;
	flex-basis: 50%;
	text-align: center;
}

.aboutsec .grid li i {
	color: #8c9eff;
}

.aboutsec .grid li h4 {
	font-size: 20px;
	margin: 25px 0;
}
.aboutsec {
	padding-top: 5px;
}

@media (max-width: 800px) {
	.aboutsec .grid li {
		flex-basis: 50%;
		padding: 20px;
	}
}
.jumbotron {
	padding: 10px;
	margin-top: 5%;


}
body > section.aboutsec > ul > li:nth-child(1) > div > a > svg {
	color: #3b5998;
}
body > section.aboutsec > ul > li:nth-child(4) > a > svg {
	color: #7fa5bd
}

.twiticon {
	color: #00B2FF;
}
.instaicon {
	color: #e56969;
}

/*Testimonials Section*/

.testimonials .quote {
	font-size: 22px;
	font-weight: 300;
	line-height: 1.5;
	margin: 40px 0 25px;
}

@media (max-width: 800px) {
	.testimonials .quote {
		font-size: 18px;
		margin: 15px 0;
	}

	.testimonials .author {
		font-size: 14px;
	}
}

/*Contact Section*/
.subscribe {
	background-color: #f5f5f5
}
.subscribe form {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	width: 60%;
}
/*.second {
	background-color: #fff;
}*/
.subscribe form .btn {
	padding: 18px 42px;
}

.subscribe form input {
	padding: 15px;
	margin-right: 30px;
	font-size: 18px;
	color: #555;
	flex: 1;
}

@media (max-width: 1000px) {
	.subscribe form input {
		flex-basis: 100%;
		margin: 0 0 20px 0;
	}
}

/*Footer Section*/

footer {

	margin-bottom: 0;
	display: flex;
	align-items: center;
	justify-content: space-around;
	background-color: #607d8b;
	color: #fff;
	padding: 20px 0;
}

footer ul {
	display: flex;
}

footer ul li {
	margin-left: 16px;
}

footer p {
	text-transform: uppercase;
	font-size: 14px;
	opacity: 0.6;
	align-self: center;
}

@media (max-width: 1100px) {
	footer {
		flex-direction: column;
	}

	footer p {
		text-align: center;
		margin-bottom: 20px;
	}

	footer ul li {
		margin: 0 8px;
	}
} 
