/* CSS Document for Screens */

@import url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,700italic,300,700);


body {
	font-family: 'Open Sans', sans-serif;
	font-size:16px; /* the base font size */
	font-weight:300;
	color:#555;
	margin:0;
	padding:0;
	text-align: center;
	}
	
#page {
	max-width:1200px;
	margin: 0 auto;
	position:relative;
	}
	
	
	/* text styles */
	
h1 {
	margin: 0 0 1em 0;
	font-size:2.8em; /* 2.8 times bigger than the base font size */
	font-weight:700;
	text-align:center;
	}
	
h2 {
	margin: 0 0 .5em 0;
	font-size:1.6em; /* 60% times bigger than the base font size */
	font-weight:700;
	line-height:1.1em;
	}	
	
h3 {
	margin: 0 0 .5em 0;
	font-size:1.3em; /* 30% times bigger than the base font size */
	font-weight:700;
	}		
	
h4 {
	margin: 0 0 1.5em 0;
	font-size:1.3em; /* 30% times bigger than the base font size */
	font-weight:700;
	}	
	
p {
	margin:0 0 1em 0;
	}		
	
a {
	color:rgba(228, 79, 38, 1.00);
	}	
	
a:visited {
	color:rgba(228, 79, 38, .5);
		}	
	
header p {
	font-size:1.2em;
	text-decoration:none;
	color:#fff;
	border-top:1px solid #fff;
	padding-top:15px;
	}

	
	/* header styles */

header {
	height:430px; 
	background:url(images/banner_1200.jpg) no-repeat center bottom; 
	position:relative;
	}
			
header div.hero {
	position:absolute;
	top:130px;
	left:27%;
	}	
	
header div.hero a {
	text-decoration:none;
	color:#fff;
		}
header div.hero a:hover {
	text-decoration:none;
	color:#fff;
		}			
header div.hero a:visted{
	text-decoration:none;
	color:#fff;
		}	
			
header div.darken {
	position:relative;
	width:100%;
	height:100%;
	background-color:rgba(0,0,0,.4);
	}	
	
header div.hero h1 {
	line-height:1em;
	margin:0 0 5px 0;
	color:#fff;
	}	
	
 /* portfolio pages header */
 
header.port {
	height:330px; 
	background:url(images/banner_1200.jpg) no-repeat center bottom; 
	position:relative;
	}
			
header div.hero_port {
	position:absolute;
	top:130px;
	left:27%;
	}	
	
header div.hero_port a {
	text-decoration:none;
	color:#fff;
		}
header div.hero_port a:hover {
	text-decoration:none;
	color:#fff;
		}			
header div.hero_port a:visted{
	text-decoration:none;
	color:#fff;
		}	
			
header div.darken {
	position:relative;
	width:100%;
	height:100%;
	background-color:rgba(0,0,0,.4);
	}	
	
header div.hero_port h1 {
	line-height:1em;
	margin:0 0 5px 0;
	color:#fff;
	}	 


/* Section All */	

section {
	padding: 0 30px;	
	}

section::after {
	content:'';
	display:block;
	clear:both;
	}


		
	
/* Section portfolio */	

section.portfolio {
	margin-top:20px;
	margin-bottom:30px;
	padding:0px;
	}
	
section.portfolio aside /* creating 2 columns */
	{
	width:50%;
	float:left;
	text-align:center;
	}

section.portfolio .content {
	margin:15px;
	background:no-repeat center top;
	background-size:75px 75px;
	padding-top:85px; 
	}

section.portfolio aside h3 a {
	color:#000;
	text-decoration:none;
	}

section.portfolio aside h3 a:hover {
	color:#000;
	text-decoration:underline;
	}

section.portfolio aside .content.web {
	background-image:url(images/web_icon.svg);
		}

section.portfolio aside .content.print {
	background-image:url(images/print_icon.svg);
		}
	



/* Section aboutme */	

section.aboutme {
	border-top:5px solid rgba(228,79,38,1.00);
	background-color:rgba(242,243,237,1.0);
	padding-top:30px;
	padding-bottom:30px;
	color:#000;
	border-bottom:2px solid rgba(165,164,164,.2);
	}

section.aboutme article {
	padding-top: 75px;
	margin: auto;
	text-align: center;
	min-height: 150px;
	}
	
	
	
/* Section thankyou */	

section.thankyou {
	border-top:5px solid rgba(228,79,38,1.00);
	background-color:rgba(242,243,237,1.0);
	padding-top:30px;
	padding-bottom:30px;
	color:#000;
	border-bottom:2px solid rgba(165,164,164,.2);
	}

section.thankyou article {
	padding-top: 75px;
	margin: auto;
	text-align: center;
	min-height: 150px;
	}
		
	
/* Section skills */	

section.skills {
	padding:0px;
	background-image:url(images/skills_bg_4);
	color:#000;
	}

section.skills div.darken {
	position:relative;
	width:100%;
	height:100%;
	background-color:rgba(0,0,0,.3);
	}		

section.skills article {
	padding:30px;
	color: #fff;
	padding-top: 50px;
	margin: auto;
	text-align: center;
	min-height: 173px;
	}
	
section.skills aside{	
	width:33%;
	float:left;
	text-align:center;
	}
	
section.skills .content {
	color: rgba(155, 155, 155, 1.5);
	}
	
/* Section Featured  */
	
section.portfolio_snippet {
	padding:20px 0px;
	background-color: rgba(242, 243, 237, 1.0);
	}
section.portfolio_snippet p {
	padding: 0px;
	margin: 0px;
	}
		
section.portfolio_snippet .content {
	background:no-repeat center top;
	padding-top: 17px;
	}

section.portfolio_snippet aside a {
	display:none;
	}

section.portfolio_snippet aside a:hover {
	color:#000;
	text-decoration:none;
	}

section.portfolio_snippet aside .feature1 {
	background-image:url(Portfolio/kbs_com.png);
	height:130px;
	}
		
section.portfolio_snippet aside .feature2 {
	background-image:url(Portfolio/guidedsam.jpg);
	height:130px;
	}
section.portfolio_snippet aside .feature3{
	background-image:url(Portfolio/CUSucceed.png);
	height:130px;
	}
section.portfolio_snippet aside .feature4 {
	background-image:url(Portfolio/kbsIII.jpg);
	height:130px;
	}
		
section.portfolio_snippet aside .feature5 {
	background-image:url(Portfolio/blingiton.png);
	height:130px;
	}
section.portfolio_snippet aside .feature6 {
	background-image:url(Portfolio/kbs_lenders_com.jpg);
	height:130px;
	}	

	
/* Section contact */	

section.contact {
	padding:0px;
	color:#000;
	}

section.contact div.darken {
	position:relative;
	width:100%;
	height:100%;
	background-color:rgba(228,79,38,1.0);
	}		

section.contact aside {
	padding:30px;
	color: #fff;
	padding-top: 40px;
	margin: auto;
	text-align: center;
	min-height: 100px;
	}
	
section.contactform {
	text-align: left;
	padding-left: 40px;
	}	
	
section.contactform h2 {
	text-align: center;
	}		
	
	
section.contactform form#form1 {
	padding-left: 40px;
	}	
	
	section.contactform div.g-recaptcha	{
	padding-top:20px;
	}

section.contact aside a {
		color:rgba(146, 50, 24, .8)
	}
	
	
/* Contact Form Page */

section.contactform aside {
	width:50%;
	float:left;
	}	
	
/* Photo  */


section.photo {
	background-image:url(images/photo_me2.png);
	position: absolute;
	padding: 0;
	margin: 0;
	top: 340px;
	left: 42.5%;
	height: 175px;
	width: 175px;
	}	

		
/* Navigation */


nav {
	background-color:rgba(0,0,0,.65);
	position:absolute;
	top:0px;
	padding: 0px;
	width:100%;
	}

nav::after {
	content:'';
	display:block;
	clear:both;
	}
	
nav ul {
	list-style:none;
	margin:0 0 0 0;
	padding: 0 0 0 0;
	}

nav ul li:hover {
	background-color:#2b0306;
	}
nav ul li:hover > ul {
	display:block;
	}	
 

nav ul li a {
	display:inline-block;
	color:#fff;
	padding: 10px 20px;
	text-decoration:none;
	width:125px;
	position:relative;
	}	

nav ul li a:visited {
	color:#fff;
	}
	
nav ul li a:hover {
	background-color:#6d0911;
	}	


nav ul ul {
	position:absolute;
	top:100%;
	background-color:#2b0306;
	display:none;
	}
	
nav ul ul li {
	position:relative;
	}
	
nav ul ul ul {
	left:100%;
	top: 0px}



/* Top lvl navigation rules */

nav > ul /* Targets immedate parent of the ul which must be nav  */
	{
	padding-left: 37%;
	}

nav > ul > li {
	float:left;
	} 

nav > ul > li > a {
	width:auto;
	padding: 10px 20px 10px 20px;
	}
	
nav a[aria-haspopup="true"]::after {
	content:'';
	display:block;
	width:0;
	height:0;
	position:absolute;
	top:16px;
	right:15px;
	border-top:4px solid transparent;
	border-bottom:4px solid transparent;
	border-left: 4px solid #fff;
	}
nav > ul > li > a[aria-haspopup="true"]::after {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid #fff;
	left:20px;
	right:auto;
	bottom:6px; 
	top:auto;
	}

/* Footer */
	
footer {
	background-color:rgba(0,0,0,.90);
	font-size: .8em;
	text-align: center;
	padding: 5px;
	color: #FFF;
		}

footer .content {
	display:inline;
	}		
	
footer a {
	margin-left:30px;
	color:#777;
	}	
	
footer a:visited {
	color:#777;
	}			
	
footer a:hover {
	color:#000;
	}	
	
	
/* Break points */	

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

section.portfolio_snippet {
	padding:20px 75px;
	}	
}
	
@media screen and (max-width:1000px) {
	
	h1 {
		font-size: 2.4em;
		}
	/* header */
	header div.hero {
		left:21%;
		}
	header div.hero h1 {
		margin-bottom:20px;
		}
		
		
		
	/* Section aboutme */		
	
	section.aboutme article {
		background-size:375px auto;
		}
	section.skills article {
		padding: 40px 5px 0px;
		min-height: 215px;
	}		
		
	section.photo {
		left: 41.5%;
		}	
		
	nav > ul {
    padding-left: 34%;
}
		
	
	}	
	

@media screen and (max-width:825px) {
	
	h1 {
		font-size: 2.2em;
		}

	
/* header */

	header {
		height:300px; 
		background-image:url(images/banner_825.jpg);
		}
		
	header div.hero {
		top:120px;
		left:15%;
		}

/* Section aboutme */	
			
	section.aboutme article {
		background-size:300px auto;
		}
		
	section.skills article {
		padding: 40px 5px 0px;
		min-height: 210px;
	}

	nav {
		left: 0px;
		}
		
section.portfolio_snippet {
	padding:20px 35px;
	}		
	
section.photo {
		background-image:url(images/photo_me2.png);
		top: 233px;
		left: 39%;
	}	
	
	
	}
	
@media screen and (max-width:750px) {
		
	h1 {
		font-size: 1.8em;
		}	
		
	h2 {
		font-size: 1.4em;
		}	
		
	h3 {
		font-size: 1.1em;
		}	

	a.btn {
		font-size: 1em;
		}	
					
	header div.hero {
		left: 10%;
		}			
		
/* section portfolio */
	
	section.portfolio {
		margin-top:10px;
		margin-bottom:10px;
		}
			
	section.portfolio aside div.content {
		background-size: 55px 55px;
		padding-top: 60px;
		}

	section.skills article {
		padding: 40px 5px 0px;
		min-height: 215px;
	}
		
/* Navigation */
	nav {
		padding-top:0px;
	 	}		
	 
	nav > ul {
		padding-left:10px
		}	
	nav > ul {
    padding-left: 30%;
}		 
		
section.portfolio_snippet {
	padding:6px 0px;
	}	
section.contactform form#form1 {
	padding-left: 0px;
	}	
/* hand held */

}
@media screen and (max-width:625px) {
	
		
	h1 {
		font-size: 1em;
		}	
		
	h3 {
		margin-bottom:0px;
		}	

	a.btn {
		font-size: .9em;
		}
			
/* header */

	header{
		height:160px;
		background-image:url(images/banner_625.jpg);
		background-position:left top;
		}		

	header h1 {
		font-size: 1.5em;
		}	
		
	header p {
		font-size: 1.1em;
		}	
				
	header div.hero {
		width: 70%;
		top:30px;
		left: 18%;
		}
	header div.hero h1{
		margin-bottom:10px;
		}		
/* section portfolio */

	section.portfolio aside {
		width:100%;
		float:none;
		text-align:left;
		}
		
	section.portfolio aside div.content {
		margin:8px 20px 8px 0;
		padding:5px 0px 10px 85px;
		background-size: 50px 50px;
		background-position: 20px 5px;
		}
/* section aboutme */
	section.aboutme article {
		background-size:300px auto;
		min-height:initial;
		}

	section.skills article {
		padding: 40px 5px 0px;
		min-height: 250px;
	}

		
/* navigation */
	nav {
		position:static;
		width:auto;
		padding: 20px 15px;
		background-color:#4B0A0C;
		}

	nav ul, 
	nav ul ul,
	nav ul ul ul {
		display:block;
		position:static;
		}
	nav > ul{
		padding:0;
		}
		
	nav > ul > li {
		float:none;
		margin-top:25px;
		}	
	
	nav ul li:hover {
		background:none;
		}
	nav ul li a {
		width:auto;
		display:block;
		margin:8px 10px;
		padding:8px 15px;
		border:1px solid rgba(255, 255, 255, .25);
		}	
			
	nav ul li a:hover {
		background-color:rgba(255, 255, 255, .2);}

	nav ul ul {
		background:none;
		}

	nav ul ul li a {
		margin-left:30px;
			}
			
	nav ul ul ul li a {
		margin-left:60px;
			}	
	nav a[aria-haspopup="true"]::after {
		display:none;
		}					

/* footer */
	footer div.content {
		display:block;
		margin-top:15px;
		}
	footer div.content a{
		margin: 0 20px 0 0;
		}
		
section.photo {
		background-image:url(images/photo_me_small.png);
		top: 135px;
		left:  38.5%;
		height: 131px;
		width: 131px;
		}	
section.contactform aside {
	width:100%;
	float:left;
	}		
		
		

}

@media screen and (max-width:425px) {
	/* header */
	
	header {
		height:110px;
		background-image:url(images/banner_425.jpg);
		}
	header p {
		font-size: .85em;
		padding-top:5px;
		}			
		
	section.photo {
		background-image:url(images/photo_me_small.png);
		top: 90px;
		left:  35%;
		height: 131px;
		width: 131px;
		}	
	
	header div.hero {
		width:80%;
		left:10%;
		top: 10px;
		text-align:center;
		}	
		
	header div.hero h1{
		font-size:1em;
		margin-bottom:10px;
	}
			
	header div.hero a.btn {
		padding: 2px 30px;
		font-size:.8em;
	}
	
	header div.hero a.btn span {
		display:none;
	}
	
	section.skills article {
	padding: 30px 5px 0px;
	min-height: 370px;
	}
	/* footer 425 */
		footer::after {
			content:'';
			display:block;
			clear:both;
			}
		 
	footer div.content a {
			display:inline-block;
			margin: 0 0 10px 0;
			float:left;
			clear:both;
			}
			
}

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	