﻿/*-------------
 	General
-------------*/

@charset "utf-8";

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html{
	font: normal 16px sans-serif;
	color: #555;
}

ul, nav{
	list-style: none;
}

a{
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	opacity: 1;
}

a:hover{
	opacity: 0.8;
}

a.btn{
	color: #000;
	border-radius: 4px;
	text-transform: uppercase;
	background-color: #fff;
	font-weight: 800;
	text-align: center;
}

hr{
	width: 150px;
	height: 2px;
	background-color: #2196F3;
	border: 0;
	margin-bottom: 80px;
}

section{
	display: flex;
	flex-direction: column;
	align-items: left;

//	padding: 2rem 102px;
}

@media (max-width: 1024px){

	section{
//		padding: 2rem 4rem;
	}

}

@media (max-width: 480px){

	section{
//		padding: 2rem 2rem;
	}

}

/* padding function */

section h3.title{
//	color: #414a4f;
	text-transform: capitalize; 
	font: normal 2.42rem 'mufi-med', sans-serif;
	letter-spacing: -0.04rem;
//	margin-bottom: 0.1rem;
	text-align: left;
}

section p{
	max-width: 800px;
//	text-align: center;
	margin-bottom: 35px;
	padding: 0 0;
	line-height: 1.7;
	opacity: 0.7;
}

ul.grid{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}


/*-------------
 	Header
-------------*/

header{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	display: flex;
	justify-content: space-between;
//	align-items: center;
	align-items: baseline;
	color: #fff;
	padding: 1.44vw 1.44vw 0;
//	background-color: rgba(0, 0, 255, 0.3);
}

header h2{
	font-family: 'EB Garamond', serif;
	font-weight: 400;
	font-size: 1.66rem;
}

header nav{
	display: flex;
	font-family: 'mufi-med', sans-serif;
	font-size: 1.36rem;
	letter-spacing: -0.005rem;
}

header nav ul{
	 display: flex; 
	 flex-direction: row;
}

header nav li{
	margin: 0 15px;
//	font-weight: 800;
}

header nav li:first-child{
	margin-left: 0;	
}

header nav li:last-child{
	margin-right: 0;	
}



@media (max-width: 1024px){
	header{
		padding: 17px 31px;
	}
	
	header nav{
		font-size: 1.14rem;
		letter-spacing: -0.018rem;
	}
	
	header nav li{
	margin: 1px 6px;
	}
	
	header h2{
		font-size: 1.24rem;
		letter-spacing: 0.005rem;
	}
}


@media (max-width: 575px){
	header{
		flex-direction: row;		
		align-items: flex-start;
		padding: 21px 2rem;
	}

	header h2{
		margin-bottom: 15px;
		font-size: 1.4rem;
	}
	
	header nav{
		flex-direction: column;	
		font-size: 0.8rem;
	}
	
	header nav li{
		margin: 0;
	}
	header nav ul{
	 flex-direction: column;
	}
}





/*----------------
 	Hero Section
----------------*/

.hero{
	position: relative;
//	justify-content: center;
	min-height: 96vh;
	color: #fff;
//	text-align: center;
}


.hero .background-image{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-color: #2196F3;
	background-position: center;
	z-index: -1;
}

.hero-background-image{
//	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
//	background-color: #2196F3;
	background-position: center;
	z-index: -1;
	margin-bottom: 1.5rem;
}

.hero .background-image:after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: 0;
}

.hero h1{
	font: 48px 'Open Sans', sans-serif;
	font-weight: 700;
	margin-bottom: 15px;
}

.hero h3{
	font: normal 28px 'Open Sans', sans-serif;
	margin-bottom: 40px;
}

.hero a.btn{
	padding: 20px 46px;
}

@media (max-width: 480px){

	.hero{
		min-height: 96vh;
	}

	.hero h1{
		font-size: 48px;
	}

	.hero h3{
		font-size: 24px;
	}

	.hero a.btn{
		padding: 15px 40px;
	}

}


/*----------------------
 	Features Section
----------------------*/

.features{
	background-color: #ffffff;
//	text-align: center;
	z-index:300; 
	box-shadow: inset 0 18px 20px -24px rgba(0,0,0,0.55);
//	justify-content: space-between;
}

.features p {
	text-align: left;
}

.features h3 {
	align: left;
}

.features .grid li{
	padding: 0 0 0 0;
	flex-basis: 33%;
	text-align: left;
//	margin-bottom: 3rem;
//	margin-right: 6rem;
	opacity: 1;
	flex-grow: 1;
}

.features-blog .grid li{
	flex-basis: 25%;
}

.features-mal .grid li{
	flex-basis: auto;
	margin-right: 5.7rem;
}

.features .grid li:last-child{
		margin-bottom: 0;
		padding-right: 0;
		margin-right: 0;
	}

.features .grid li i{
    font-size: 50px;
    color: #2196F3;
    margin-bottom: 2rem;
}

.features .grid li h4{
	color: #555;
    font-size: 1.35rem;
    margin-bottom: 2rem;
}

.features .grid li p{
    margin: 0;
}

@media (max-width: 1024px){

	.features .grid li{
		flex-basis: 50%;
//		margin-bottom: 3rem;
//		margin-right: 0rem;
	}

	.features .grid li:last-child{
		margin-bottom: 0;
		padding-right: 0;
		margin-right: 0;
	}
	
	.features-mal .grid li{
	flex-basis: auto;
//	margin-right: 3rem;
}

}

@media (max-width: 640px){

	.features .grid li{
		flex-basis: 100%;
//		margin-right: 2.5rem;
	}
	
	.features .grid li:last-child{
		margin-bottom: 0;
		padding-right: 0;
		margin-right: 0;
	}

}

@media (min-width: 1280px){

	.features .grid li{
//		flex-basis: 25%;
//		margin-bottom: 3rem;
	}

	.features .grid li:last-child{
		margin-bottom: 0;
	}

}


/*--------------------
 	Reviews Section
--------------------*/

.reviews{
	background-color: #f2f2f2;
//	background-image: linear-gradient(180deg, #f0f0f0, #fcfcfc);
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.05); 
	z-index:400; 
	border-top: 2px solid rgba(255,255,255,1); 
	border-bottom: 2px solid rgba(0,0,0,0.1);
}

.reviews .quote{
	font-family: 'mufi-med', sans-serif;
	text-align: left;
	margin-left: 1.2rem;	
	width: 80%;
    font-size: 1.6rem;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0;
}

.reviews .author{
    font-size: 1rem;
	font-style: italic;
    margin-bottom: 50px;
}

.reviews .author:last-child{
    margin-bottom: 0;
}

@media (max-width: 1024px){

	.reviews .quote{
		font-size: 20px;
	}

	.reviews .author{
	    font-size: 16px;
	}

}



/*---------------------
 	Contact Section
---------------------*/

.contact{
	background-color: #f7f7f7;
}

.contact form{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;

	max-width: 800px;
	width: 80%;
}

.contact form input{
	padding: 15px;
	flex: 1;
	margin-right: 30px;
	font-size: 18px;
	color: #555;
}

.contact form .btn{
	padding: 18px 42px;
}


@media (max-width: 480px){

	.contact form input{
		flex-basis: 100%;
		margin: 0 0 20px 0;
	}

}




/*-------------
 	Footer
-------------*/

footer{
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: #fff;
	background-color: #414a4f;
	padding: 60px 0;
	box-shadow: inset 0 18px 20px -24px rgba(0,0,0,0.65);
}

footer ul{
	display: flex;
	margin-bottom: 25px;
	font-size: 32px;
}

footer ul li{
	margin: 0 8px;	
}

footer ul li:first-child{
	margin-left: 0;	
}

footer ul li:last-child{
	margin-right: 0;	
}

footer p{
	text-transform: uppercase;
	font-size: 14px;
	color: rgba(255,255,255,0.6);
	margin-bottom: 10px;
}

footer p a{
	color: #fff;
}

@media (max-width: 700px){

	footer{
		padding: 80px 15px;
	}

}


/* -- Demo ads -- */

@media (max-width: 1200px) {
	#bsaHolder{ display:none;}
}