@font-face {
	font-family: 'Conv_LithosPro-Regular';
	src: url('fonts/LithosPro-Regular.eot');
	src: local('☺'), url('fonts/LithosPro-Regular.woff') format('woff'), url('fonts/LithosPro-Regular.ttf') format('truetype'), url('fonts/LithosPro-Regular.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Conv_LithosPro-Black';
	src: url('fonts/LithosPro-Black.eot');
	src: local('☺'), url('fonts/LithosPro-Black.woff') format('woff'), url('fonts/LithosPro-Black.ttf') format('truetype'), url('fonts/LithosPro-Black.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

* {
	margin: 0;
	padding: 0;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}

body {
  	font: 62.5% Verdana, Helvetica, Arial, sans-serif;
  	background:  url(images/body.png);
	/*background:  url(images/border-hor.png) repeat-y, 
				 url(images/border-hor.png) 100% repeat-y,
				 url(images/border-ver.png) repeat-x,
				 url(images/body.png);*/
}

div#wrapper {
	width: 960px;
  	margin: 0 auto;
	margin-top: 10px;
	border: 2px #FFF solid;
	border-radius: 20px;
	background-color: #b3f36d;
	-webkit-box-shadow: 1px 1px 5px #000;
	box-shadow: 2px 2px 5px #000;
} 

header {
	position: relative;
	text-align: center;
	background-color: #6fad2b;
	/*background-color: #78e700;*/
	/*color: #4e9600;*/
	color: #de0052;
	border-top: 1px solid #000;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	font: 2.5em Conv_LithosPro-Regular, "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	padding-bottom: 30px;
}

header img {
	position: absolute;
	left: 40px;
	top: 10px;
}

.ie6 header img,
.ie7 header img,
.ie8 header img,
.ie9 header img, {
	display : none;
}

.ie6 header,
.ie7 header,
.ie8 header,
.ie9 header, {
	padding-top: 50px;
	padding-bottom: 50px;
	background-image:  url(../images/logo.png);
	background-position: left top;
	background-repeat: no-repeat;
}

header h1 {
	padding: 30px;
	padding-left: 140px;
	text-shadow: 2px 2px 3px #000;
}

header h2 {
	position: absolute;
	right: 35px;
	bottom: -50px;
	padding: 5px;
	text-shadow: 1px 1px 3px #000;
}

nav {
	width: 960px;
	background: #6fad2b url(images/nav-main.png) repeat-x;
}

nav ul {
    margin: 0;
    padding: 0;
    overflow: hidden;    
    list-style: none;
    text-transform: uppercase;
}

nav ul li {
    float: left;
} 

nav ul a {
    padding: 0 25px; /* give some right/left padding between anchors*/
    line-height: 50px;
    background: url(images/nav-main-divider.png) repeat-y left top;
    text-decoration: none;
    color: #000;
    float: left;
    display: block;
	font-size: 1.2em;
	font-weight: bold;
}

nav ul a:hover,
nav ul a:focus {
    color: #FFF;
}

nav ul a:active {
    color: #b3f36d;
}

nav ul li:nth-child(1) a {
    background: none;
}

#current {
	background: #b3f36d url(images/nav-main-current.png) repeat-x;
}

div#main-content {
	line-height: 1.6em;
	font-size: 1.3em;
}

div#main-content li {
	list-style: none;
}

div#main-content a:link,
div#main-content a:visited {
	display: block;
	color: #de0052;
	text-decoration: none;
}

div#main-content a:hover {
	color: #fff;
	text-shadow: 1px 1px 3px #000;
}

div#main-content a:focus,
div#main-content a:active {
	color: #000;
	text-shadow: 1px 1px 3px #fff;
}

.logo-c {
	color: #de0052;
}

.logo-s {
	color: #4e9600;
}

div#main-content div#eye-candy {
	margin: 20px;
	padding-left: 15px;
}

div#main-content div#eye-candy li {
	display: inline;
	list-style-type: none;
	padding-right: 12px;
}

div#main-content div#eye-candy img {
	border: 1px solid #000;
	-webkit-box-shadow: 1px 1px 5px #000;
	box-shadow: 2px 2px 5px #000;
}

div#main-content div#home {
	margin: 20px;
}

div#main-content div#home h3 {
	color: #de0052;
	margin: 20px 0;
	text-align: center;
	font-size: 1.6em;
	text-shadow: 1px 1px 3px #000;
}

div#main-content div#home h4 {
	color: #de0052;
	margin: 20px 0;
	text-align: center;
	text-shadow: 1px 1px 3px #000;
}

div#main-content div#home p {
	margin: 15px;
	text-indent: 20px;
}

div#main-content div#home a {
	display: inline;
}

div#main-content div#video {
	margin: -20px;
	padding: 0;
}

div#main-content div#video-sm {
	display: none;
}

article#services {
	overflow: hidden;
	margin: 20px;
}

article#services section {
	float: left;
	width: 300px;
}

article#services li {
	background: url(images/checkmark.png) no-repeat;
	list-style-type: none;
	padding: 0 0 4px 24px;
	margin-top: 12px;
}

article#services section .hidden {
	visibility : hidden;
}

article#services aside {
	float: right;
	border: 4px groove #6fad2b;
	padding: 10px;
	width: 230px;
}

article#services aside p a:link,
article#services aside p a:visited {
	display: inline;
}

/*Contact start*/ 
form {
	position: relative;
    width: 90%;
	margin: 0 auto;
}

input:focus, textarea:focus {
    background: #ffc;
}

#contact-form fieldset {
    margin: 1em 0; /*  space out the fieldsets a little*/
    padding: 1em;
    border : 1px solid #4e9600;
	border-radius: 20px;
    background-color: hsla(89,60%,42%,.5);
	-webkit-box-shadow: 1px 1px 5px #000;
	box-shadow: 2px 2px 5px #000;
}

#contact-form fieldset.no-hsla {
	color: #b3f36d;
}

#contact-form legend {
    font-size: 1.4em;
	background: #6fad2b;
	color: #000;
	padding: 5px 15px 10px 15px;
	border-radius: 20px;
}

#contact-form ol {
	list-style: none;
}

#contact-form li {
	padding: 5px 0;
}

#contact-form input {
    width: 30em;
    font-size: inherit;
	padding: 3px;
	line-height: 1.8em;
}

#contact-form input[type="date"],
#contact-form input[type="tel"] {
    width: 10em;
}

#contact-form textarea {
    width: 95%;
    height: 5em;
	padding: 4px;
	font-size: inherit;
}

#contact-form label {
    display: block;
}
#contact-form label .required {
    font-size: .75em;
    color: #de0052;
	text-shadow: 1px 1px 1px hsla(0,0%,100%,.7);
}

#contact-form fieldset.no-hsla {
	color: #de0052;
}

#contact-form input[type="submit"] {
    width: 5em;
}

fieldset#contact-info {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 200px;
	text-align: center;
}

fieldset#contact-info p {
	margin-top: 15px;
	font-size: .6em;
}
/*Contact end*/ 

footer {
	clear: both;
	background: #6fad2b;
	border-bottom: 1px solid #000;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	padding: 20px 10px 10px 10px;
	height: 30px;
	line-height: 30px;
	font: 1.1em "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

footer a:link,
footer a:visited {
	text-decoration: none;
	color: #de0052;
}
footer a:hover,
footer a:focus {
	text-decoration: none;
	color: #fff;
}

footer a[href^=http] :link {
	display: block;
	width: 50px;
	height: 20px;
	line-height: 20px;
	background-color: #9cf33d;
	border: 1px #eee solid;
	border-radius: 6px;
	border-style: outset;
	padding-top: 2px;
	margin: 0 4px;
	float: right;
	color: #de0052;
	text-decoration: none;
	text-align: center;
	font: 1em Verdana, Helvetica, Arial, sans-serif;
}

footer a[href^=http]:hover,
footer a[href^=http]:focus {
	background-color: #b3f36d;
	color: #fff;
}

footer a[href^=http]:active {
	background-color: #6fad2b;
	border-style: inset;
	color: #000;
}

div#main-content div#error404 h2 {
	margin: 40px;
	font-size: 1.4em;
}

@media screen and (max-width: 550px) {
    div#wrapper {
		border: #fff medium dotted;
		font-size: 90%;
		width: 80%;
	}
	
	header img {
		position: relative;
		left: 0px;
		top: 0px;
	}

	header h1 {
		padding: 0px;
		margin: 10px;
	}
	
	header h2 {
		position: relative;
		right: 0px;
		bottom: 0px;
		font-size: 99%;
	}
	nav {
		font-size: 90%;
		width: 100%;
	}
	div#main-content div#video {
		display: none;
	}
	div#main-content div#video-sm {
		display: block;
		margin: 0;
	}
	/* attempt at getting a link to show up when screen is small*/
	div#main-content div#video-sm:after { 
     content: " ( " <a href="video/home-video-sm.mp4">Video </a> " ) ";
	}
	div#bio {
		float: none;
		width: auto;
		margin: 10px 10px;
	}
	
	div#skills {
		float: none;
		margin: 10px 10px;
	}
	div#main-content table {
		width: 80%;
		margin: 0 10px 0 10px;
	}
	fieldset#contact-info {
		position: relative;
		width: 100%;
		text-align: center;
		margin: 0 0 10px 0;
		top: 0px;
		right: 0px;
		padding: 0; 
	}
	fieldset#contact-info p {
		margin-top: 0px;
		font-size: .6em;
	}
	article#services section {
		margin: 10px 0;
	}
	article#services aside {
		width: 90%;
	}
	div#skills {
		float: none;
	}
}

