body { 
	padding: 0px; 
	margin: 0px; 
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica,Arial,sans-serif;
	font-size: 14px;
	color: #666666;
	background-color: white;
	font-weight: 300;
}

input, textarea {
	border: 1px solid #cccccc;
	margin: 1px;
	width: 220px;
	padding: 3px;
	font-size: 18px;
	border-radius: 5px;
	transition: 0.25s;
}

input:hover, textarea:hover {
	border: 1px solid #993333;	
}

.submit {
	background-color: #993333;
	color: white;
	cursor: pointer;
	font-size: 14px;
	padding: 8px;
	border: 0;
	-webkit-appearance: none;
}

.submit:hover {
	background-color: #771111;
	border: 0;
}

.success {
	font-size: 24px;
	color: green;
	margin: 0 0 20px 0;
}

h1,h2 {
	color: #993333;
}

a:link, a:visited {
	color: #993333;
	background-color: white;
	text-decoration: underline;
}

a:hover, a:active {
	text-decoration: none;
}

#topArea {
	height: 50px;
	color: white;
	background-color: #993333;
	width: 100%;
}

#languageBar {
	float: right;
	padding: 15px 20px 0px 0px; 
	margin: 0px; 
	list-style-type: none;
	text-align: right;
}

#languageBar a {
	color: white;
	background-color: #993333;
	text-decoration: none;
}

#languageBar a:hover {
	text-decoration: underline;

}

#container {
	max-width: 990px; 
	margin: auto;
}

#leftArea {
	padding: 20px 3% 0px 0px; 
	margin: 0px; 
	text-align: right;
	float: left;
	height: 100%;
	width: 300px;	
}

#contactForm {
	background: url("logo-big.gif") 10px 0px no-repeat;
	padding: 120px 0px 0px 0px; 	
	margin: 0px;
	background-size: 280px;
	background-position: right 10px;
}

#contactForm ul {
	list-style-type: none;
}

#rightArea {
	float: left;
	padding: 20px 3% 0px 3%;
	max-width: 640px;
	box-sizing: border-box;
}

#leadText {
	font-style: italic;
	margin-top: 20px;
	font-size: 24px;
	color: #666;
	margin-bottom: 60px;
	line-height: 30px;
	letter-spacing: 1px;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.05);	
}

#projects {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

.article {
	float: left;
	margin-right: 10px;
	margin-bottom: 15px;
	margin-left: 10px;
}

.article img {
	border: 1px solid #999999;
	width: 100px;	
	height: 75px;
	border: 6px solid #eee;
}

.article img:hover {
	border: 6px solid #ccc;
}

.article {
	position: relative;
	display: inline;
}

.article .title {
	display: none;
}

.article .tooltip {
    visibility: hidden;
    background-color: #333;
    color: #eee;
    text-align: center;
    padding: 10px 15px;
    border-radius: 6px;
 
    position: absolute;
    z-index: 1;
    width: 220px;
    bottom: 105%;
    left: 50%; 
    margin-left: -110px;
    opacity: 0;
    transition: opacity .3s;  
    font-size: 14px;
    line-height: 19px;   
}

.article:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.article .tooltip::after {
    content: " ";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

@media screen and (min-width: 800px) {

	.article:nth-child(5) {
		margin-left: 50px;
	}
}

@media screen and (max-width: 480px) {
	
	body {
		overflow-x: hidden;
	}
	
	#container, #rightArea {
		max-width: 100%;
	}
	
	#projects {
		white-space: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		margin-bottom: 50px;
	}
	
	.article {
		float: none;
		display: inline-block;
		text-align: center;
	}
		
	.article .title {
		display: inline;
	}	
	
	.article a {
		text-decoration: none;
	}
	
	.article .tooltip {
		display: none;
	}

}

