@charset "utf-8";

@font-face { 
    font-family: "Fresset";
    src: url(fresset.eot);
}

@font-face {
	font-family: "Fresset";
	src: url(fresset.ttf);
}

* {
	margin: 0;
	padding: 0;
	font-family:"Trebuchet MS", Helvetica, Arial, sans-serif;
	list-style-type:none;
	font-weight:normal;
	font-style:normal;
}

html {	
	background: #333 url('images/fressetlogo-b-s-8.png') no-repeat 50% 62px;
	scrollbar-3dlight-color: #666;
	scrollbar-highlight-color: #83888C;
	scrollbar-face-color: #333;
	scrollbar-shadow-color: #222;
	scrollbar-darkshadow-color: #292a2b;
	scrollbar-arrow-color: #ccc;
	scrollbar-track-color: #32373a;
}

body {
	color:white;
	font-size:14px;
}

p {
	margin-bottom:0.5em;
}

a {
	color:#16C1F3;
	text-decoration:none;
}

	a img {
		border:none;
	}
	
h1, h2, h3, h4, h5, h6, button,
#identity a,
#projects p a {
	font-family:"Fresset", "Trebuchet MS", sans-serif;
}

h1 {
	position:absolute;
	bottom:25px;
	right:40px;
	width:201px;
	height:61px;
}

.nojs h1 {
	position:static;
	margin:-10px 20px 10px -5px;
}

.contents a {
	background:#16C1F3;
	color:white;
	padding:0 0.4em;
	-moz-border-radius:0.4em;
	-webkit-border-radius:0.4em;
}

.contents a:hover {
	background:#fff;
	color:#16C1F3;
}

label {
	display:block;
}

input, textarea, button {
	border:0 solid #2e9ebf;
}

input, textarea {
	background: transparent url("images/white_60.png");
	background: rgba(255, 255, 255, 0.6);
	padding:4px 2px 2px 4px;
	color:#2e9ebf;
	display:block;
	font-size:14px;
}

input:focus, textarea:focus {
	background: white;
	background: rgba(255, 255, 255, 0.8);
	border-width:2px 0 0 2px;
	padding:2px;
}

textarea {
	overflow:auto;
	scrollbar-face-color:#BEEEFC;
	scrollbar-highlight-color:#CCCFCF;
	scrollbar-3dlight-color:#16C1F3;
	scrollbar-darkshadow-color:#545C5D;
	scrollbar-shadow-color:#8F9090;
	scrollbar-arrow-color:#333;
}

button {
	border-width: 1px 2px 2px 1px;
	background-color:#39b9de;
	font-size:14px;
	color:#BEEEFC;
	letter-spacing:1px;
	padding:4px 7px 2px;
	text-shadow:1px 1px 1px rgba(0,0,0,.4);
	margin:5px 0 0;
}

button:hover, button:focus, button:active {
	color:white;
}

button:active {
	border: 1px solid #2e9ebf;
	border-width: 2px 1px 1px 2px;
}

.nojs .ifjs {
	display:none;
}

#wrapper {
	width:495px;
	margin:20px auto 0 auto;
	position:relative;
}

#shadow {
	background:url("images/bothshadow.png") no-repeat -5px -1px;
	padding:15px 15px 25px 10px; /*white container shadow*/
	position:relative;
	z-index:1;
}

#container {
	background-color:#FFFFFF;
	position:relative;
	height:455px;
	padding:40px;
	margin-bottom:4px;
}

.nojs #container {
	height:auto;
}
			
	#container .selected,
	.nojs .box,
	#boxes {
		width:390px;
		height:390px;
		overflow:hidden;
	}
	
	#container .selected {
		z-index:100;
	}

#boxes {
	position:relative;
}

.nojs #boxes {
	height:auto;
}

.box {
	background-image:url('images/translogo.png');
	background-repeat:no-repeat;
	width:120px;
	height:120px;
	position:absolute;
	z-index:0;
}

	.box h2 {
		text-align:right;
		font-size:18px;
		padding:85px 8px 0 0;
		height:35px;
		text-shadow:1px 1px 2px rgba(0,0,0,.5);
		display:none;
	}
	
	.box.active h2 {
		display:block;
	}
	
	.box .boxshadow {
		background-image:url('images/bothshadow.png');
		background-repeat:no-repeat;
		background-position:-190px -26px;
		height:100%;
	}
	
.nojs .box {
	margin-bottom:10px;
	position:static;
	margin-left:0 !important;
	margin-top:0 !important;
	display:none;
}

.nojs .box.active {
	display:block;
}

/* Horizontally centered */
#people, #freebox1 {
	left:195px;
	margin-left:-60px;
}

#people.selected, #freebox1.selected {
	margin-left:-195px;
}

/* Vertically centered */
#people, #freebox2 {
	top:195px;
	margin-top:-60px;
}

#people.selected, #freebox2.selected {
	margin-top:-195px;
}

#projects {
	background-color:black;
	top:0;
	left:0;
	scrollbar-face-color: #4D4D4D;
	scrollbar-shadow-color: #141b1f;
}
	
	#projects h3 {
		
	}

		#projects h3 a {
			background:none;
		}
		
			#projects h3 a img {
				float:left;
				margin-right:10px;
			}
	
	#projects p {
		margin-bottom:1em;
	}
	
		#projects p a {
			font-size:75%;
			white-space:nowrap;
		}

#freebox1 {
	background-position:-711px -12px;
	background-color:#1A1C20;
	top:0;
}

#about {
	background-position:-1078px -15px;
	background-color:#4D555A;
	top:0;
	right:0;
	scrollbar-3dlight-color: #5e676d;
	scrollbar-highlight-color: #83888C;
	scrollbar-darkshadow-color: #1d1e1e;
	scrollbar-face-color: #4D555A;
	scrollbar-arrow-color: #ccc;
}

#freebox2 {
	background-position:-578px -142px;
	background-color:#727C83;
	left:0;
}

#people {
	background-position:-711px -143px;
	background-color:#A8B6BF;
}

	#people #identity li {
		padding:10px 0;
		margin-bottom:10px;
		font-size:10px;
		text-shadow:1px 1px 1px rgba(0,0,0,.2);
		overflow:hidden;
	}
		
		#identity li img {
			float:left;
			margin-right:15px;
			padding:3px;
			background:white;
			filter:progid:DXImageTransform.Microsoft.Shadow(color=#333333,direction=135,strength=3);
			-moz-box-shadow:2px 2px 4px rgba(0,0,0,.5);
			-moz-transform:rotate(3deg);
			-webkit-box-shadow:2px 2px 4px rgba(0,0,0,.5);
			-webkit-transform:rotate(3deg);
			box-shadow:2px 2px 4px rgba(0,0,0,.5);
		}
		
		#identity li:nth-child(even) img {
			-moz-transform:rotate(-3deg);
			-webkit-transform:rotate(-3deg);
		}
		
		#identity li h3 {
			font-size:15px;
			text-shadow:1px 1px 2px rgba(0,0,0,.4);
			letter-spacing:0.5px;
		}
	
		#identity a,
		#projects p a {
			border:2px solid white;
		}
	
		#identity a:hover,
		#projects p a:hover {
			border-color:#16C1F3;
		}

#contact {
	background-position:-588px -282px;
	background-color:#16C1F3;
	clear:left;
	bottom:0;
	left:0;
	scrollbar-face-color:#BEEEFC;
	scrollbar-highlight-color:#CCCFCF;
	scrollbar-3dlight-color:#16C1F3;
	scrollbar-darkshadow-color:#545C5D;
	scrollbar-shadow-color:#8F9090;
	scrollbar-arrow-color:#333;
}

	#contact .contents {
		overflow:hidden;
	}

	#contact dl,
	#contact .message {
		padding:8px;
		border:2px dotted white;
		overflow:hidden;
		background: transparent url("images/white_60.png");
		background: rgba(255, 255, 255, 0.6);
		color:#2E9EBF;
		text-shadow:1px 1px 1px white;
		font-size:11px;
	}
	
		#contact dl dt {
			float:left;
			clear:left;
		}
		
		#contact dl dd {
			float:right;
			clear:right;
			white-space:nowrap;
		}
		
			#contact dl dd img {
				vertical-align:middle;
			}
		
	#contact .failure {
		border-color:#d00;
	}
	
	#contact .success {
		border-color:#5c0;
	}
	
	#contact .message .ifjs {
		font-size:smaller;
	}
		
	#contact form {
		margin-top:15px;
	}
	
	#contact .inputlabel,
	#contact #messagelabel {
		font-size:80%;
	}
	
	#contact .inputlabel {
		width:145px;
		height:45px;
	}
	
		#contact input {
			width:130px;
		}
	
	#contact #messagelabel {
		width:195px;
		float:right;
		margin-top:-135px;
	}
	
		#contact textarea {
			width:190px;
			height:150px;
		}
		
	#contact button {
		width:136px;
		margin-top:5px;
	}

.box.active .boxshadow:hover {
	background-position:-60px -26px;
	cursor:pointer;
}

.selected .boxshadow,
.nojs .active.box .boxshadow,
.selected.active .boxshadow:hover {
	background-position:-60px -156px; /*selected shadow*/ 
	width: 345px;
	height:345px;
	overflow:hidden;
	padding:25px 20px 20px 25px;
}

#projects, #container .selected {
	background-position:-590px -12px;
}

body.lang-el .selected h2,
.selected h2,
.nojs h2 {
	font-size:200%;
	padding:0;
	background-image:none;
	margin:-5px 0 25px 0;
}

.contents {
	display: none;
}

.selected .contents,
.nojs .contents {
	display:block;
	overflow:auto;
	overflow-x: hidden;
	height:290px;
}

.nojs #freebox1,
.nojs #freebox2 {
	display:none;
}

.active {
	-webkit-transition-duration:1s;
	-webkit-transition-property: top, left, width, height, z-index;
}

.selected.active .boxshadow:hover {
	cursor:default;
}
	
.selected .closebutton {
	background-image:url('images/bothshadow.png');
	background-repeat:no-repeat;
	background-position:-351px -70px;
	text-indent:-9999px;
	display:block;
	width:36px;
	height:36px;
	float:left;
	outline:none;
	margin:-4px 0 0 -4px;
}

.closebutton:hover {
	background-position:-394px -70px;
}

.closebutton {
	display:none;
}

#language {
	background:url('images/GRE-EN-Label.png') no-repeat ;
	text-indent:-9999px;
	position:absolute;
	width:60px;
	height:100px;
	left:466px;
	top:76px;
	z-index:0;
	outline:none;
}

body.lang-en #language {
	background-position:-68px 0;
}

#language:hover {
	background-position:3px 0;
}

body.lang-en #language:hover {
	background-position:-64px 0;
}

#language:active {
	top:77px;
}

body.lang-el h2 {
	letter-spacing:-0.5px;
}

#under-construction {
	position:absolute;
	position:fixed;
	top:0;
	left:0;
	text-indent:-9999px;
	background-image:url(images/underconstruction.png);
	width:188px;
	height:188px;
	z-index:2;
}

.lang-el #under-construction {
	background-image:url(images/underconstruction_el.png);
}

#error_ie6 {
	border:1px solid #b11;
	color:#b11;
	background:#fee;
	padding:6px;
	margin:5px;
}

::selection {
	color:white;
	background:#16C1F3;
}

::-moz-selection {
	color:white;
	background:#16C1F3;
}