/*
AvantDG
Thank you for watching our source code :)
*/

*, 
*:after, 
*:before {
	box-sizing: border-box;    
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	padding: 0;
	margin: 0;
    margin: 0;
    padding: 0;
}
.clearfix:before, 
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
a {
	text-decoration: none;
}
li {
	list-style: none;
}
img {
	max-width: 100%;
	height: auto;
}
body {
	font-family: Roboto, sans-serif;
	font-size: 16px;
	color: #333;
}
.container {
	width: 94%;
	max-width: 1300px;
	margin: 0 auto;
}
.button {
	background-color: rgba(125, 0, 0, 1);
	background-position: right center;
	background-repeat: no-repeat;
	background-image: url('./data/button.png');
	border: 1px solid #FFF;
	padding: 10px 52px;
	border-radius: 5px;
	color: #fff;
	font-size: 18px;
	/*text-transform: uppercase;*/
	font-weight: 400; 
	outline: none;
	transition: all 0.3s;
	-moz-transition: all 0.3s;
	-webkit-transition: all 0.3s;
}
.button:hover {
	background-color: #FFF;
	background-image: url('./data/button-hover.png');
	color: #333333;
}
.header {
	position: fixed;
	z-index: 1;
	width: 100%;
	height: 100px;
	padding-top: 45px;
	transition: all 0.3s;
	-moz-transition: all 0.3s;
	-webkit-transition: all 0.3s;
}
.header.scrolled {
	background: #000;
	padding-top: 10px;
	height: 62px;
	overflow: hidden;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
}
.logo {
	float: left;
}
.logo img {
	width: 150px;
}

.menu {
	float: right;
}
.menu li {
	float: left;
	border-bottom: 5px solid transparent;
}
.menu li:hover {
	border-color: #df1e2c; 
}
.menu a {
	display: block;
	padding: 10px 20px; 
	/* text-transform: uppercase; */
	text-decoration: none;
	color: #FFF;
	font-weight: 300;
	font-size: 15px;
}
.header.scrolled .menu a {
	color: #FFF;
}
.screen {
	text-align: center;
	padding: 50px 0;
}
.screen h2 {
	font-size: 60px;
	font-weight: 100;
	/* text-transform: uppercase; */
	color: #df1e2c;
	padding-bottom: 50px;
}

/* Welcome */
.welcome {
	background: url('./data/Header-BG.png') no-repeat center bottom;
	background-attachment: fixed;
	color: #ffffff;
	padding: 22% 0; 
}
.welcome h2 {
	font-size: 60px;
	font-weight: 100;
	color: #FFF;
	padding: 0;
}
.welcome p,
.projects p {
	max-width: 1000px;
	margin: 0 auto;
	font-weight: 300;
}

/* Service */
.services {
	padding-bottom: 50px;
}
.service-list div {
	width: 25%;
	float: left;
	margin: 20px 0;
}
.service-list h3 {
	font-size: 24px;
	text-transform: uppercase;
	font-weight: 400;
	padding: 20px 0 10px;
}
.service-list li {
	padding: 5px 0;
	font-weight: 300;
}

/* Projects */
.projects {
	background: url('./data/AvantCLICK-BG.png') no-repeat center center;
	background-attachment: fixed;
	color: #ffffff;
	padding: 15% 0;
}
.projects h2 {
	color: #ffffff;
	font-weight: 100;
}
.projects .button {
	margin-top: 30px;
	display: inline-block;
}

/* Brands */
.brands {
	background-color: #FFF;
}
.brand-list li {
	display: inline-block;
	padding: 20px 0px;
	width: 25%;
}
.brand-list img {
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
	filter: gray; /* IE6-9 */
	-webkit-filter: grayscale(1);
}
.brand-list img:hover {
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
	-webkit-filter: grayscale(0);
}
.brand-list a {
	outline: none;
}

/* Blog */
.blog {
	background: url('./data/AvantDG-BG-50.jpg') no-repeat center center;
	background-attachment: fixed;
	color: #ffffff;
	padding: 5% 0;
}
.blog h2 {
	color: #df1e2c;
	font-weight: 100;
}
.blog-list div {
	float: left;
	width: 27.33333%;
	margin: 10px 3%;
	background: #FFF;
	padding: 10px 10px 20px 10px;	
	text-align: left;
	color: #333;
}
.blog h3 {
	margin-top: 10px;
	/*height: 50px;*/
	overflow: hidden;
}
.blog h3 a {
	text-transform: uppercase;
	color: #333;
}
.blog h3 a:hover {
	color: #666;
}
.blog img:hover {
	opacity: 0.8;
}
.blog p {
	margin-top: 10px;
}
.blog p.date {
	color: #888888;
	font-size: 12px;
}

/* Facts */
.facts {
	background-color: #FFF; 
}
.fact-list li {
	width: 27.33333%;
	float: left;
	text-align: left;
	padding-left: 120px;
	height: 120px;
	margin: 40px 3%;
	background-repeat: no-repeat;
	font-size: 18px;
	color: #666666;
	text-transform: uppercase;
}
.fact-list li span {
	font-size: 48px;
	display: block;
	text-transform: lowercase;
}
/*
.fact-list li.since {
	background-image: url('#');
}
.fact-list li.office {
	background-image: url('#');
}
.fact-list li.staff {
	background-image: url('#');
}
.fact-list li.national {
	background-image: url('#');
}
.fact-list li.international {
	background-image: url('#');
}
.fact-list li.independent {
	background-image: url('#');
}
*/

/* Contact */
.contact {
	background: url('./data/Avant-MAP.png') no-repeat center bottom;
	background-attachment: fixed;
	text-align: left;
	padding-bottom: 0;
	color: #000;
	padding-bottom: 490px;
}
.contact-info {
	background: url('./data/Contact-BG.png') repeat;
	text-align: left;
	color: #000;
}
.contact a {
	color: #000;
}
.contact h2, 
.contact h3 {
	color: #000;
	font-size: 30px;
	font-weight: 400;
	padding: 0 0 0px;
	/*text-transform: uppercase;*/
}
.contact p {
	font-weight: 300;
	margin-top: 10px
}
.contact-list {
	padding: 20px 0;
}
.contact-list div {
	float: left;
	width: 50%;
	margin: 10px 0;
	position: relative;
}
.contact-list div:nth-child(3n) {
	clear: both;
}
.contact a.download {
	border: 2px solid #FFF;
	border-radius: 5px;
	display: inline-block;  
	padding: 10px 52px;
	background-position: 24px center;
	background-repeat: no-repeat;
	background-image: url('#');
	outline: none;
	transition: all 0.3s;
	-moz-transition: all 0.3s;
	-webkit-transition: all 0.3s;
}
.contact a.download:hover {
	color: #333;
	background-color: #FFF; 
	background-image: url('#');
}


.draw-line {
	background: url('#');
	display: block;
	width: 404px;
	height: 42px;
	position: absolute;
	top: 60px;
	left: -45px;
}

/* Footer */
.footer {
	background: #790000;
	padding: 22.5px 0;
	color: #FFF; 
	font-size: 11px;
	font-weight: 300;
	text-transform: uppercase;
}
.footer a {
	color: #FFF; 
}
.footer p {
	float: left;
}
.footer ul {
	float: right;
}
.footer li {
	float: left;
	margin-left: 30px;
}

/* The content */
.the-content p,
.the-content h1,
.the-content h2,
.the-content h3,
.the-content h4,
.the-content h5,
.the-content h6,
.the-content ul,
.the-content table,
.the-content iframe {
    margin: 13px 0;
}
.the-content p {
    line-height: 22px;
}
.the-content li {
	margin:6.5px 0 6.5px 40px;
}
.the-content ul li {
	list-style: disc ;
}
.the-content ol li {
	list-style: decimal;
}


/* Tablet landscape */
@media screen and (max-width: 1250px) {	
	.header,
	.header.scrolled {
		position: absolute;
		background-color: transparent;
		padding-top: 22.5px;
		box-shadow: 0 0 0;
		height: 90px;
	}
	.header.scrolled .menu a {
		color: #FFF;
	}
	.welcome,
	.projects,
	.blog,
	.contact {
		background-attachment: scroll;
	}
	.contact {
		padding-bottom: 0;
	}
}

/* Tablet portrait */
@media screen and (max-width: 1000px) {
	.service-list div {
	    width: 50%;
	}
	.service-list div:nth-child(3n) {
	    clear: both;
	}
	.blog-list div,	
	.fact-list li {
	    width: 46%;
	    margin: 10px 2%;
	}
	/*.blog-list div:last-child {
	    display: none;
	}*/
	.blog {
	background: url('./data/AvantDG-BG-50.jpg') repeat center center !important;
	}
}

/* Smartphone landscape */
@media screen and (max-width: 700px) {  	
	.service-list div {
	    width: 100%;
	}
	.brand-list li {
	    width: 50%;
	}
	.blog-list div {
	    width: 96%;
	}
	.fact-list li {
	    width: 100%;
	    padding-left: 90px;
		height: 90px;
		background-size: 64px; 
	}
	.fact-list li span {
	    font-size: 36px;
	    line-height: 36px;
	}
	.contact-list div {
	    width: 100%;
	}
	.contact-list span {
	    display: none;
	}
	.contact-map {
		display: none;
	}
	.footer ul {
		float: none;
		text-align: center;
	}
	.footer li {
		float: none;
		display: inline-block;
		margin-left: 15px;
	}
	.footer p {
	    float: none;
	    font-size: 16px;
	    text-align: center;
	    margin-top: 20px;
	}
}

/* Smartphone portrait */
@media screen and (max-width: 480px) {	
	.welcome {
	    padding: 50% 0px 30%;
	    background-position: center center; 
	}
	.welcome h2 {
	    font-size: 50px;
	}
	.screen h2 {
	    font-size: 50px;
	}
	.logo img {
	    width: 130px;
	}	
	.contact a.download {
		padding: 10px 45px;
		background-position: 15px center;
	}
	.footer p {
	   font-size: 12px;
	}
	.menu a {
	padding: 10px 10px; 
	}

}