@import url('https://fonts.googleapis.com/css?family=Roboto:400,700');
@import url('https://fonts.googleapis.com/css?family=PT+Sans:400,700');
@import url('https://fonts.googleapis.com/css?family=Catamaran:400,700');

html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

div {
	margin: 0;
	padding: 0;
}

body {
	font: 1em 'Roboto',Segoe UI,Helvetica,Arial,Tahoma,sans-serif;
	background: #FFFFFF;
	text-align: left;
	color: #555555;
	min-width: 320px;
}

#navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 50px;
	background: rgb(255, 255, 255);
	background: rgba(255, 255, 255, 0.9);
	border-bottom: 1px solid #555555;
	z-index: 3000;
}

#navInside {
	width: 1000px;
	height: 50px;
	margin: 0 auto;
	padding: 0;
	/*padding: 0 20px;*/
}

#menuIcon {
	display: none;
	float: right;
	width: 30px;
	height: 32px;
	margin: 9px 12px;
	padding: 0;
	border: 0;
	cursor: pointer;
}

.mbar1, .mbar2, .mbar3 {
    width: 30px;
    height: 4px;
    background-color: #555555;
    margin: 5px 0 0 0;
    transition: 0.4s;
}

.change .mbar1 {
    -webkit-transform: rotate(-45deg) translate(-8px, 5px) ;
    transform: rotate(-45deg) translate(-8px, 5px) ;
}

.change .mbar2 {opacity: 0;}

.change .mbar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -5px) ;
    transform: rotate(45deg) translate(-8px, -5px) ;
}



#navLeft {
	width: 200px;
	height: 50px;
	display: inline-block;
	vertical-align: top;
	float: left;
	margin: 0;
	padding: 0;
}

ul#navLeft li {
	float: left;
	list-style: none;
	text-align: left;
}



ul#navRight {
	display: inline-block;
	float: right;
	vertical-align: top;
	margin: 0;
}

ul#navLeft li, ul#navRight li {
	float: left;
	list-style: none;
	text-align: left;
}

ul li:hover, ul li:hover > a, ul li:focus, ul li:focus > a {
	color: rgb(0, 103, 179);
}

ul#navLeft li a, ul#navRight li a {
	color: rgb(51, 51, 51);
	display: block;
	padding: 10px 15px;
	margin: 0;
	text-decoration: none;
	white-space: nowrap;
	line-height: 30px;
	min-height: 30px;
	outline: 0;
}
ul#navLeft li a:hover, ul#navRight li a:hover {
	color: rgb(0, 103, 179);
	outline: 0;
}

ul#navLeft li a {
	font-weight: bold;
}

@media only screen and (max-width: 999px) {
	#menuIcon {
		display: block;
	}
	
	#navbar {
		background: transparent;
		overflow: hidden;
		height: 50px;
	}
	
	#navInside {
		width: 100%;
		min-width: 320px;
		height: auto;
		overflow: hidden;
		background: rgb(255, 255, 255);
		background: rgba(255, 255, 255, 0.9);
		border-bottom: 1px solid #555555;
	}
	
	ul#navRight {
		display: block;
		float: none;
		margin: 20px 50px;
		padding: 0;
	}
	
	ul#navRight li {
		float: none;
		display: block;
		border-bottom: 1px solid rgb(150, 150, 150);
	}
	
	ul#navRight li a {
		text-align: center;
	}
	
	ul#navRight li.noborder {
		border-bottom: none;
		padding: 0 0 10px 0;
	}
	
	#navMenuTop {
		width: 100%;
		height: 50px;
	}
}


#wrapper {
	width: auto;
	height: auto;
	min-height: 100%;
	padding: 0 0 0 0;
	margin: 0 0 -100px 0;
}

#container {
	padding: 50px 0 100px 0;
}


#main {
	width: 1000px;
	height: auto;
	margin: 0 auto;
	padding: 0;
}

@media only screen and (max-width: 999px) {
	#main {
		width: 100%;
	}
}

#content {
	padding: 20px 20px 60px 20px;
}

.centralise {
	text-align: center;
}


/* --------------------------------------------------- */


.mbar1, .mbar2, .mbar3 {
    width: 30px;
    height: 4px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
}

.change .mbar1 {
    -webkit-transform: rotate(-45deg) translate(-8px, 5px) ;
    transform: rotate(-45deg) translate(-8px, 5px) ;
}

.change .mbar2 {opacity: 0;}

.change .mbar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -5px) ;
    transform: rotate(45deg) translate(-8px, -5px) ;
}


/* --------------------------------------------------- */

#fullWidthPortfolio {
	width: 960px;
	height: auto;
	margin: 0 auto;
	padding: 0;
}

.portfolioItem {
	width: 320px;
	display: inline-block;
	vertical-align: top;
	height: 245px;
	margin: 0;
	padding: 0;
	background: rgb(0,0,0);
	cursor: pointer;
}

.portfolioItemBackground {
	width: 318px;
	height: 243px;
	border: 1px solid #444444;
	background-color: rgb(51, 51, 200);
}

.portfolioItemBackground a {
	outline: 0;
	text-decoration:none;
}

#iconGardenistic, #iconDOD, #iconOptimo, #iconSmashVid, #iconMedSun, #iconTempMonitor {
	background-size: cover;
	background-position: center center;
    background-repeat: no-repeat;
}

#iconGardenistic {
	background-image: url(portfolio-gardenistic.jpg);
}
#iconDOD {
	background-image: url(portfolio-dod.jpg);
}
#iconOptimo {
	background-image: url(portfolio-optimo.jpg);
}
#iconSmashVid {
	background-image: url(portfolio-smashvid.jpg);
}
#iconMedSun {
	background-image: url(portfolio-medSun.jpg);
}
#iconTempMonitor {
	background-image: url(portfolio-temperatureMonitor.jpg);
}

.portfolioItemHeader {
	width: 318px;
	height: 30px;
	overflow: hidden;
	padding: 20px 0;
	margin: 0;
	background: rgb(255, 255, 255);
	background: rgba(255, 255, 255, 0.85);
	color: rgb(51, 51, 51);
	text-align: center;
}

.portfolioItemHeader h4 {
	font-size: 1.1em;
	font-weight: bold;
	margin: 0;
	padding: 0;
}

.portfolioItemHeader p.generalInfo {
	margin: 0;
	height: 100px;
	padding: 50px 10px 0 10px;
}

.portfolioItem:hover .portfolioItemBackground .portfolioItemHeader {
	background: rgba(255, 255, 255, 0.95);
	height: 203px;
}

p.moreInfo {
	height: auto;
	margin: 0;
	padding: 20px 0 0 0;
	text-align: center;
	font-style: italic;
}


/* ---------------------------------------------------------------- */

.miniItem {
	width: 320px;
	display: inline-block;
	vertical-align: top;
	height: auto;
	margin: 0;
	padding: 0;
	background: rgb(0,0,0);
}

.miniItemBackground {
	width: 318px;
	height: auto;
	border: 1px solid #444444;
	padding: 0;
	margin: 0;
}

.miniImgs {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

/* ---------------------------------------------------------------- */


@media only screen and (max-width: 999px) {
	#fullWidthPortfolio {
		width: 640px;
	}
}

@media only screen and (max-width: 679px) {
	#fullWidthPortfolio {
		width: 320px;
	}
}

@media only screen and (max-width: 359px) {
	#fullWidthPortfolio {
		width: 280px;
	}
	
	.portfolioItem {
		width: 280px;
		height: 214px;
	}
	
	.portfolioItemBackground {
		width: 278px;
		height: 212px;
	}
	
	.portfolioItemHeader {
		width: 278px;
	}
	
	.portfolioItem:hover .portfolioItemBackground .portfolioItemHeader {
		height: 172px;
	}
	
	.miniItem {
		width: 280px;
	}
	
	.miniItemBackground {
		width: 278px;
	}
}


/* ---------------------------------------------------------------- */


#aboutMe {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	background: rgb(58, 130, 183);
	color: rgb(255, 255, 255);
}

#aboutMeInside {
	width: 1000px;
	height: auto;
	margin: 0 auto;
	padding: 0;
}

#leftAbout, #rightAbout {
	display: inline-block;
	vertical-align: top;
}

#leftAbout {
	width: 230px;
	padding: 20px 30px 0 20px;
}

#imageplaceholder {
	background: #333333;
	width: 220px;
	height: 300px;
	border: 3px solid white;
}

#rightAbout {
	width: 700px;
	padding: 20px 0;
}

#rightAbout h3 {
	margin: 0;
	padding: 0 20px;
}

#rightAbout p {
	padding: 0 20px;
}

@media only screen and (max-width: 999px) {
	#aboutMeInside {
		width: 100%;
	}
	
	#rightAbout {
		width: 600px;
	}
}

@media only screen and (max-width: 899px) {
	#rightAbout {
		width: 500px;
	}
}

@media only screen and (max-width: 799px) {
	#rightAbout {
		width: 400px;
	}
}

@media only screen and (max-width: 699px) {
	#leftAbout, #rightAbout {
		display: block;
	}
	
	#leftAbout {
		padding: 20px 0 0 0;
		margin: 0 auto;
	}
	
	#rightAbout {
		width: 100%;
	}
	
	#rightAbout h3 {
		text-align: center;
	}
}




/* ----------------------------------------------------------------- */

#socialfacebook, #sociallinkedin {
	width: 32px;
	height: 32px;
	padding: 0;
	margin: 0 1px 0 0;
	display: inline-block;
	vertical-align: top;
}

#socialfacebook:hover {
	background: url(social-media.png) 0 0;
}
#sociallinkedin:hover {
	background: url(social-media.png) 0 -32px;
}

#socialfacebook {
	background: url(social-media.png) 0 -64px;
}
#sociallinkedin {
	background: url(social-media.png) 0 -96px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), only screen and (min-resolution: 144dpi) {
	
	#socialfacebook, #sociallinkedin {
		background-image: url(social-mediax2.png);
		background-size: 100%;
	}
}

/* ----------------------------------------------------------------- */


#footer {
	width: 100%;
	height: 100px;
	margin: 0;
	padding: 0;
	background: rgb(51, 51, 51);
}

#footerInside {
	width: 1000px;
	height: 100px;
	margin: 0 auto;
	padding: 0;
}

@media only screen and (max-width: 999px) {
	#footerInside {
		width: 100%;
	}
}

#footerContent {
	padding: 20px 20px 0 20px;
	text-align: center;
	color: rgb(200, 200, 200);
}

@media only screen and (max-width: 439px) {
	#footerContent {
		padding: 10px 20px 0 20px;
	}
}

/* ----------------------------------------------------------------- */

a {
	outline: 0;
	text-decoration:underline;
	color: rgb(0, 103, 179);
}

a:hover, a:active, a:focus{
	outline: 0;
	text-decoration:none;
	color: rgb(51, 51, 51);
}

