
/*html5 support*/

aside, article, section, header, footer, nav {
	display: block;
}

/*reset default browser values*/

html, header, body, section, div, ul, li, p, a, img, article, h1, h2, h3 {
	margin: 0;
	padding: 0;
}

html {
	background: url(../assets/machine.jpg) #fff no-repeat;
	margin-top: 13em;
	
}

body {
	background: #e1d8b9;
	font: 100% Georgia, Arial, Helvetica, sans-serif;
	width: 800px;
	height: 700px;
	font-weight:normal;
	font-style:normal;
	padding: 5em;
	margin: 0 auto;
	position: relative;	
}

/* My header style of the page */

header {
	position: absolute;
	top: -13em;
	left: -30em;
}

.buttons_gradient{
	background: -webkit-linear-gradient(0deg, #656565, #7b7b7b 50%); 
  	background: -o-linear-gradient(0deg, #656565, #7b7b7b 50%); 
  	background: -moz-linear-gradient(0deg, #656565, #7b7b7b 50%); 
  	background: linear-gradient(0deg, #656565, #7b7b7b 50%); 
}

#top_header_list {
	list-style: none;
	margin-left: 30em;
}

#top_header_list  li {
	display: block;
	float: left;
	margin-top: 0.55em;
	color: #fff;
	font-family: Arial;
	font-size: 90%;
}

#top_header_list  li a {
	text-decoration: none;
	color:#fff;
	margin-left: 1.7em;
}

#top_header_list  li:first-child {
	background: url(../assets/sprite.png) 1px 0 no-repeat;
	width: 120px;
	height: 16px;
} 

#top_header_list  li:first-child p {
	margin-left: 1.5em;
}

#top_header_list  li:nth-child(2) {
	margin-left: 15.7em;
}

#top_header_list  li:last-child {
	background: url(../assets/sprite.png) -120px 0 no-repeat;
	width: 120px;
	height: 16px;
	margin-left: 15.7em;
}

#top_header_list  li:last-child:hover {
	background: url(../assets/sprite.png) -120px -20px no-repeat;
}

#top_header_list  li:last-child a:hover {
	color: orange;
}

#top_header {
	width: 1920px;
	height: 2em;
	background: rgb(0,0,0);
	position: absolute;
}

#header_logo {
	width: 1920px;
	height: 5em;
	padding: 0.1em 0 1em;
	background: #fff;
	margin-top: 2em;
	position: absolute;
}

#header_logo img {
	margin-top: 1em;
	margin-left: 30em;
}

#header_logo p {
	position: absolute;
	left: 50em;
	top: 4.8em;
	font-style: italic;
}

#header_fb {
	width: 40px;
	height: 40px;
	top: 2.5em;
	left: 83em;
	position: absolute;
	background: url(../assets/fb_dionusopoulos.png) 0px 0 no-repeat;
}

#header_fb:hover {
	background: url(../assets/fb_dionusopoulos.png) -1px -47px no-repeat;
}

#header_tw {
	width: 40px;
	height: 40px;
	top: 2.5em;
	left: 86em;
	position: absolute;
	background: url(../assets/fb_dionusopoulos.png) -45px 0 no-repeat;
}

#header_tw:hover {
	background: url(../assets/fb_dionusopoulos.png) -45px -47px no-repeat;
}

/* menu buttons style */

.pressed_menu_button {
	background: -webkit-linear-gradient(0deg, #000, #7b7b7b 80%); 
  	background: -o-linear-gradient(0deg, #000, #7b7b7b 80%); 
  	background: -moz-linear-gradient(0deg, #000, #7b7b7b 80%); 
  	background: linear-gradient(0deg, #000, #7b7b7b 80%); 
}

nav#menu_buttons {
	margin-top: 9em;
	padding: 0 30em;
	font-family: Georgia;
	min-width: 961px;
	width: 961px;
	height: 3em;
}

nav#menu_buttons ul {
	list-style: none;
}

nav#menu_buttons ul li {
	float: left;
	border: 1px solid black;
	text-decoration: none;
	color: #fff;
	font-size: 100%;
	font-family: verdana;
	text-align: center;	
}

nav#menu_buttons ul a li:hover {
	color: orange;
}

nav#menu_buttons ul li.arxiki {
	padding: 13px 68px;
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
}

nav#menu_buttons ul li.paper_history {
	padding: 13px 62px;
}

nav#menu_buttons ul li.user_tools {
	padding: 13px 62px;
}

nav#menu_buttons ul li.gallery {
	padding: 13px 66.5px;
}

nav#menu_buttons ul li.communication {
	padding: 13px 48px 13px 47px;;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;

}

nav#menu_buttons #sub_user_tools {
	display: none;
	position: absolute;
	top: 191px;
	left: 856px;
	z-index: 1;
}
nav#menu_buttons #sub_user_tools ul li {
	float: none;
}

nav#menu_buttons #sub_user_tools ul a {
	text-decoration: none;
}

nav#menu_buttons #sub_user_tools ul li.upologismos {
	padding: 13px 48px 13px 47px;
	border: 2px solid black;
	border-top: none;
	border-bottom: 1px solid black;
}

nav#menu_buttons #sub_user_tools ul li.diastaseis {
	padding: 13px 0;
	border: 2px solid black;
	border-top: none;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}

/* My main content style of the page */

.mainContent {
	position: absolute;
	top: 1em;
}

h2, h3 {
	color: rgb(128,0,0);
}

h2 {
	text-align: center;
	margin: 1em;
}

.mainContent p {
	color: rgb(128,0,0);
}

.det_list {
	padding: 1em;
	margin-left: 9.5em;
}

.list_elem {
	padding: 0.5em;
}

.det_h3 {
	margin: 1.5em 0 1em 0;
} 

.nextToMe {
	float: left;
	margin-left: 3em;
}

.userButtons {
	margin: 2em 17em 0.5em;
}

.heightMe {
	margin-left: 11em;
}

#userWidth {
	margin-top: 1em;
	margin-left: 6em;
}

#userHeight {
	margin-top: 1em;
	margin-left: 5em;
}

#posotita {
	margin-left: 6em;
}

#ergWidth {
	margin-left: 6.8em;
}

#ergHeight {
	margin-left: 6.8em;
}

.my_result {
	display: none;
	position: absolute;
	top: 42%;
	left: 70% ;
}

.my_result ul {
	margin: 0;
	padding: 10px;
	border: dashed 1px;
	list-style: none;
}

.my_result ul li {
	margin: 0;
	padding: 0;
}

.my_result ul li:nth-child(2) {
	float: left;
	margin-right: 0.5em;
	font-weight: bold;
}

.my_result ul li:nth-child(4) {
	float: left; 
	font-weight: bold;
	margin-right: 0.5em;
}

.cartoon_einstein {
	position: absolute;
	top: 58%;
	left: 70% ;
}

#errmsg {
	color: red;
	margin-left: 3em;
}

#newerrmsg {
	color: red;
	margin-left: 3em;
}

.disable_button {
	display: none;
	position: absolute;
	width: 124px;
	height: 46px;
	border-radius: 10px; 
	top: 91.2%;
	left: 33.9% ;
	background: #ccc;
	opacity: 0.6;
}

/* Footer style */

#bottom_footer {
	display: block;
	position: absolute;
	top: 53.95em;
	left: -30em;
	width: 1920px;
	height: auto;
	background-color: #444;
}

#up_bottom_footer {
	display: block;
	width: 960px;
	height: 200px;
	margin-left: 30em;
}

#down_bottom_footer {
	display: block;
	width: 928px;
	height: 168px;
	padding: 1em;
	margin-left: 30em;
}

#up_bottom_footer_left {
	display: block;
	padding: 2em;
	float: left; 
}

#up_bottom_footer_right {
	display: block;
	float: right;
	padding: 0em;
	margin-top: 7em;
}

#up_bottom_footer_right h1 {
	font-size: 130%;
	letter-spacing: 1px;
	font-family: impact;
	color: #fff;
	margin-bottom: 0.5em;
}

#up_bottom_footer_right_up {
	border-bottom: 2px solid white;
}

.footer_columns {
	display: block;
	float: left;
	font-size: 120%;
	font-family: sans-serif;
	padding: 1em;
}

.footer_columns ul {
	list-style: none;
	margin-top: 1em;	
}

.footer_columns p {
	text-decoration: underline;
	color: #fff;
}

.footer_columns ul li {
	font-size: 70%;
	color: #fff;
}

.ligoPioKei {
	margin-left: 2em;
}

#footer_first_column {
	padding-left: 3em;
	padding-right: 3.5em;
	
}

#footer_second_column {
	padding-left: 4.4em;
	padding-right: 4.5em;
	border-right: 1px solid white;	
	border-left: 1px solid white;	
}

#footer_third_column {
	padding-left: 3.4em;
	padding-right: 2em;
}

#facebook_footer {
	margin-left: 591px;
	margin-top: 7px;
}

#footer_eco {
	padding: 0 32em;
}

#footer_eco img {
	float: left;
	padding: 0 1em;
}

#footer_eco p {
	font-size: 70%;
	color: #fff;
	font-family: sans-serif;
}

#footer_eco span {
	font-size: 30%;
	font-family: arial;
	color: #fff;
	font-weight: normal;
}

