@font-face {
	font-family: Roboto-Bold;
	src: url('rsc/fonts/Roboto-Bold.ttf');
}

@font-face {
	font-family: Roboto-Light;
	src: url('rsc/fonts/Roboto-Light.ttf');
}

@font-face {
	font-family: Roboto;
	src: url('rsc/fonts/Roboto-Regular.ttf');
}

body {
	margin: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

section, article, figure, time {
	display: block;
}

a {
	text-decoration: none;
}

#infobar {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	z-index: 10;
	min-width: 960px;
	height: 40px;
	background-color: #222;
	font-size: 12px;
	padding: 0px;
	color: #EEE;
	text-shadow: 1px 1px #555;
	display: block;
	box-shadow: 0px 5px 5px rgba(0,0,0,0.5);
	-webkit-transform: translate3d(0,0,0);
}

#infobar #infobar-content {
	margin: 0 auto 0 auto;
	width: 960px;
}

#infobar #infobar-content a {
	color: #EEE;
	text-decoration: none;
	border: 0px;
}

#infobar #infobar-content a:visited, #infobar #infobar-content a:hover{
	color: #EEE;
}

#infobar #infobar-content img.logo {
	float: left;
	border: 0px;
	margin: -3px 10px 0px 10px;
}

#infobar #infobar-content a div.admin {
	width: 20px;
	height: 20px;
	z-index: 10;
	display: inline-block;
	position: relative;
	left: 470px;
	top: -24px;
	background-image: url('rsc/admin.png');
}

#infobar #infobar-content a div.admin:hover {
	background-image: url('rsc/admin_hover.png');
}

#infobar #infobar-content a div.fb {
	width: 20px;
	height: 20px;
	z-index: 10;
	display: inline-block;
	position: relative;
	left: 470px;
	top: -24px;
	background-image: url('rsc/fb.png');
}

#infobar #infobar-content a div.fb:hover {
	background-image: url('rsc/fb_hover.png');
}

#infobar #infobar-content p {
	width: 600px;
	margin: 13px 0px 7px 0px;
}

#infobar #infobar-content #___gcse_0 {
	width: 300px;
	font-size: 14px;
	color: #CCC;
	height: 22px;
	float: right;
	margin: -30px 0px 0px 0px;
}

header {
	width: 960px;
	height: 100px;
	background-color: #FFF;
	margin: 50px auto auto auto;
	display: block;
}

#tgyi-logo {
	width: 200px;
	padding: 0px;
	margin-bottom: -20px;
	margin-top: 15px;
	text-align: center;
	float: left;
}

#tgyi-logo a img  {
	height: 70px;
	width: 150px;
	margin-left: 30px;
	text-decoration: none;
	border: 0px;
}

nav {
	font-family: Roboto-Bold;
	font-size: 14px;
	margin-bottom: -20px;
	vertical-align: center;
}

nav ul {
	margin: 20px auto 0px auto;
	padding: 0px;
	list-style: none;
	text-align: center;
	width: 900px;
}

nav ul li.subnav, nav ul li {
	float: left;
	width: 110px;
	height: 40px;
	padding: 40px 0px 20px 0px;
}

nav ul li.subnav:hover, nav ul li:hover {
	background-color: #0546A8;
	color: #FFF;
	cursor: default;
}

nav ul li.subnav ul {
	display: none;
}

nav ul li.subnav:hover  ul{
	display: block;
	width: 124px;
	margin: 40px 0px 0px 0px;
	padding: 0px;
}

nav ul li.subnav:hover ul li{
	float: none;
	width: 144px;
	margin: 0px;
	height: 40px;
	padding: 0px;	
	background-image: url('rsc/transparent-25-green.png');
	font-size: 12px;
	margin: 0px;
	text-align: center;
	line-height: 40px;
	vertical-align: bottom;
}

nav ul li.subnav:hover ul li a, nav ul li.subnav:hover ul li a:visited {
	display: block;
	color: #FFF;
	text-decoration: none;
	height: 100%;
	width: 100%;
}

nav ul li.subnav:hover ul li a:hover{
	background-color: #0546A8;
	color: #FFF;
}

#decoration {
	padding: 0px;
	margin: 0px auto 0px auto;
	z-index: -1;
	width: 100%;
	min-width: 960px;
	position: absolute;
	float: left;
	height: 1000px;
}

#replace {
	background-image: url('rsc/tgyi.png');
	background-position: center center;
	position: absolute;
	top: -20px;
	left: 0px;
	width: 100%;
	min-width: 960px;
	height: 500px;
	z-index: 1;
}

#tile {
	background-image: url('rsc/tile-bck.jpg');
	width: 100%;
	height: 500px;
	margin-top: 480px;
}

#toptext {
	width: 940px;
	margin: 380px auto 0px auto;
	padding: 15px 10px 25px 10px;
	background-image: url('rsc/transparent-50-black.png');
	text-shadow: 2px 2px rgba(64,64,64,0.5);
	height: 40px;
}

p.toptext1 {
	margin: 0;
	display: inline;
	font-size: 36px;
	color: #FFF;
	font-family: Roboto-Bold;
	margin-left: 70px;
}

p.toptext2 {
	margin: 0;
	display: inline;
	font-size: 24px;
	color: #EEE;
	font-family: Roboto-Light;
}

#content-wrapper {
	width: 800px;
	min-height: 500px;
	padding: 30px 80px 30px 80px;
	margin: 0px auto 0px auto;
	text-align: justify;
	text-justify: inter-word;
	font-size: 14px;
	background-color: #FFF;
	word-wrap: break-word;
	line-height: 170%;
}

#content-wrapper h1 {
	font-family: Roboto-Bold;
	font-size: 28px;
	line-height: 180%;
}

#content-wrapper h2 {
	font-family: Roboto-Light;
	font-size: 24px;
	color: #333;
	line-height: 170%;
}

#content-wrapper h3 {
	font-family: Roboto;
	font-size: 18px;
	font-style: italic;
	line-height: 150%;
}

#content-wrapper blockquote {
	font-family: Roboto;
	font-size: 14px;
	color: #666;
	font-style: italic;
	padding-left: 14px;
	margin-top: 25px;
	margin-bottom: 25px;
	border-left: 7px solid #CCC;
}

#content-wrapper a, #content-wrapper a:visited {
	text-decoration: none;
	color: #009DDF;
}

#content-wrapper a:hover {
	text-decoration: none;
	color: #00B4FF;
}

#content-wrapper p img {
	border: 1px solid #CCC;
	padding: 5px;
	display: block;
	margin: 10px auto 15px auto;
	width: auto;
	max-width: 700px !important;
	height: inherit !important;
}

#content-wrapper div.profilepic {
	border: 1px solid #DDD;
	width: 380px;
	height: 380px;
	padding: 10px;
	display: block;
	margin: 10px auto 15px auto;
}

#content-wrapper #profilebox {
	width: 100%;
	line-height: 170%;
	text-align: center;
	cursor: default;
}

#content-wrapper #profilebox h1.nev {
	border-top: 1px solid #EEE;
	margin: 20px 0 -10px 0;
	font-family: Roboto;
	font-size: 36px;
	color: #333;
}

#content-wrapper #profilebox p.beosztas {
	border-bottom: 1px solid #EEE;
	margin: 10px 0 40px 0;
	font-family: Roboto-Light;
	font-size: 21px;
	color: #777;
	padding-bottom: 15px;
}

#content-wrapper #profilebox h2 {
	margin: 35px 0 0 0;
	font-family: Roboto;
	font-size: 24px;
	color: #333;
}

#content-wrapper #profilebox p {
	margin-bottom: 10px;
	font-size: 16px;
	line-height: 170%;
}

#content-wrapper table {
	max-width: 760px;
	display: box;
	float: none;
	margin: 0 auto 0 auto;
	border-collapse: collapse;
	border: 0px;
	vertical-align: middle;
	text-align: left;
}

#content-wrapper table tbody tr:first-child{
	border-bottom: 3px solid #CCC;
}

#content-wrapper table tbody tr:first-child td {
	border: 0px;
}

#content-wrapper table td {
	padding: 5px 10px;
	border-bottom: 1px solid #DDD;
	border-left: 0px;
	border-right: 0px;
	max-width: 400px;
}

#content-wrapper table tr:hover {
	background-color: #FAFAFA;
	color: #00B4FF;
}

#content-wrapper ul.nevsor {
	list-style: none;
	font-size: 21px;
	font-family: Roboto-Light;
	color: #777;
	line-height: 170%;
}

#content-wrapper ul.nevsor a {
	list-style: none;
	font-size: 21px;
	font-family: Roboto;
}

#content-wrapper div.slide-tool {
	margin-top: -150px;
	float: right;
	margin-right: -50px;
	width: 32px;
	height: 32px;
	z-index: 100;
	background-image: url('rsc/slide.png');
}

#content-wrapper div.slide-tool:hover {
	background-image: url('rsc/slide_hover.png');
}

#content-wrapper div.admin-tool {
	float: right;
	width: 32px;
	height: 32px;
	margin-right: -50px;
	background-image: url('rsc/edit.jpg');
}

#content-wrapper div.admin-tool:hover {
	background-image: url('rsc/edit_hover.jpg');
}

#content-wrapper div.add-oktato {
	float: right;
	width: 32px;
	height: 32px;
	margin-right: -50px;
	background-image: url('rsc/add_user.jpg');
}

#content-wrapper div.add-oktato:hover {
	background-image: url('rsc/add_user_hover.jpg');
}

#content-wrapper div.delete-oktato {
	float: right;
	width: 32px;
	height: 32px;
	margin-right: -50px;
	margin-top: 50px;
	background-image: url('rsc/delete_user.jpg');
}

#content-wrapper div.delete-oktato:hover {
	background-image: url('rsc/delete_user_hover.jpg');
}

#content-wrapper div.back {
	float: left;
	width: 32px;
	height: 32px;
	margin-left: -50px;
	background-image: url('rsc/back.jpg');
}

#content-wrapper div.back:hover {
	background-image: url('rsc/back_hover.jpg');
}

#content-wrapper div.docs {
	width: 250px;
	font-size: 21px;
	font-family: Roboto-Light;
	padding-top: 8px;
	display: inline-block;
	height: 32px;
	margin: 25px 10px 10px 10px;
	background-image: url('rsc/docs.jpg');
	background-position: left center;
	background-repeat: no-repeat;
	overflow: hidden;
}

#content-wrapper div.docs:hover {
	background-image: url('rsc/docs_hover.jpg');
	background-color: #00B4FF;
	color: #FFF;
	background-repeat: no-repeat;
}

footer {
	width: 100%;
	min-width: 960px;
	height: 300px;
	box-shadow: 0px -5px 5px rgba(0,0,0,0.5);
	background-image: url('rsc/footer-bck.jpg');
	margin: 0px;
	border-top: 1px solid #333;
}

#footer-content {
	width: 840px;
	height: 280px;
	clear: right;
	padding-top: 20px;
	margin: 0 auto 0 auto;
}

#footer-content h2 {
	color: #EEE;
	font-size: 20px;
	font-family: Roboto;
	letter-spacing: 1px;
	width: 220px;
	padding-bottom: 5px;
	border-bottom: 3px solid #333;
	margin-bottom: -10px;
}

#footer-content #column-left {
	float: left;
	width: 420px;
	margin: 0px 60px 0px 70px;
}

#footer-content #column-left h2 {
	width: 320px;
}

#footer-content #column-right {
	float: left;
	width: 250px;
}

#footer-content #column-right img{
	margin: 40px auto 0px auto;
	width: 250px;
}

#footer-content ul {
	list-style: none;
	list-style-position: inside;
	padding: 0px;
	line-height: 200%;
	color: #AAA;
	font-family: Roboto;
	font-size: 14px;
	margin-left: 10px;
}

#footer-content ul li {
	list-style-image: url('rsc/icon-bullet.png');
}

#footer-content #column-left ul li a, #footer-content #column-left ul li a:visited {
	color: #AAA;
	text-decoration: none;
}

#footer-content #column-left ul li a:hover {
	color: #00B4FF;
}

#footer-content #column-left ul li.location{
	list-style-image: url('rsc/icon-place.png');
}

#footer-content #column-left ul li.web{
	list-style-image: url('rsc/icon-fb.png');
}

#footer-content #column-left ul li.tel{
	list-style-image: url('rsc/icon-tel.png');
}

#footer-content #column-left ul li.email{
	list-style-image: url('rsc/icon-email.png');
}

#footer-disclaimer {
	width: 100%;
	z-index: 900;
	min-width: 960px;
	height: 20px;
	background-color: rgba(0,0,0,0.5);
	font-size: 10px;
	padding: 13px 0px 7px 0px;
	color: #777;
	display: block;
	margin: -40px 0px 0px 0px;
}

#footer-text {
	width: 920px;
	margin: 0 auto 0 auto;
}

#footer-disclaimer #footer-text p {
	width: 400px;
	display: inline;
}

#footer-disclaimer #footer-text p.footer-link {
	margin-left: 200px;
}

#footer-disclaimer #footer-text p.footer-link a, #footer-disclaimer #footer-text p.footer-link a:visited {
	color: #777;
}

#footer-disclaimer #footer-text p.footer-link a:hover{
	color: #00B4FF;
}