/*
Theme Name: MOME line
Theme URI: http://momeline.hu
Description: MOME line WordPress Theme
Version: 1.0
Author: Soczó András, soczoandras@gmail.com
Author URI: mailto:soczoandras@gmail.com
Tags: momeline
*/

body, html {
	margin: 0;
	padding: 0;
}

body {
	background: #ffffff url('images/background.png') no-repeat top center;
	font-family: georgia, "times new roman", sans-serif;
}

a:active, a:focus {
 	outline: none;
}

a img {
	border: none;
}

#header, #wrapper, #footer {
	width: 933px;
	margin: 0 auto;
	overflow: hidden;
}

#wrapper {
	margin-top: 71px;
}

#languages {
	width: 100px;
	position: absolute;
	right: 148px;
}

#header {
	position: relative;
}

#header h1 {
	margin: 59px 0 0 0;
	padding: 0;
	width: 159px;
	height: 117px;
	background: transparent url('images/logo.png') no-repeat top left;
	float: left;
}

#header h1 a {
	display: block;
	width: 159px;
	height: 117px;
	text-indent: -9999px;
}

#footer {
	height: 107px;
	background: transparent url('images/footer.png') no-repeat top right;
}

/* NAVIGATION */

#navigation-hu, #navigation-en {
	float: left;
	margin: 143px 0 0 57px;
}

#navigation-hu ul, #navigation-en ul, #languages ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#navigation-hu li, #navigation-en li, #languages li {
	float: left;
	margin: 0;
	padding: 0;
}

#navigation-hu li a, #navigation-en li a, #languages li a {
	background-repeat: no-repeat;
	display: block;
	text-indent: -9999px;
}

#navigation-hu li a, #navigation-en li a {
	height: 33px;
}

#languages li a {
	height: 18px;
}

#navigation-hu li a {
	background-image: url('images/navigation-hu.png');
}

#navigation-en li a {
	background-image: url('images/navigation-en.png');
}

#languages li a {
	background-image: url('images/languages.png');
}

	/* Hu */

#navigation-hu li#projektek a {
	width: 123px;
	background-position: 0 0; 
}

#navigation-hu li#projektek a:hover {
	background-position: 0 -33px; 
}

body.category-projektek #navigation-hu li#projektek a {
	background-position: 0 -66px;
}

#navigation-hu li#mome-line a {
	width: 124px;
	background-position: -123px 0; 
}

#navigation-hu li#mome-line a:hover {
	background-position: -123px -33px; 
}

body.page-id-2 #navigation-hu li#mome-line a {
	background-position: -123px -66px;
}

#navigation-hu li#hirek-esemenyek a {
	width: 77px;
	background-position: -247px 0; 
}

#navigation-hu li#hirek-esemenyek a:hover {
	background-position: -247px -33px; 
}

body.category-hirek-esemenyek #navigation-hu li#hirek-esemenyek a {
	background-position: -247px -66px;
}

#navigation-hu li#sajto a {
	width: 74px;
	background-position: -324px 0; 
}

#navigation-hu li#sajto a:hover {
	background-position: -324px -33px; 
}

body.category-sajto #navigation-hu li#sajto a {
	background-position: -324px -66px;
}

#navigation-hu li#mome-diakoknak a {
	width: 197px;
	background-position: -398px 0; 
}

#navigation-hu li#mome-diakoknak a:hover {
	background-position: -398px -33px; 
}

body.category-mome-diakoknak #navigation-hu li#mome-diakoknak a {
	background-position: -398px -66px;
}

#navigation-hu li#kapcsolat a {
	width: 116px;
		background-position: -595px 0; 
}

#navigation-hu li#kapcsolat a:hover {
	background-position: -595px -33px; 
}

body.category-kapcsolat #navigation-hu li#kapcsolat a {
	background-position: -595px -66px;
}

	/* En */

#navigation-en li#projektek a {
	width: 109px;
	background-position: 0 0; 
}

#navigation-en li#projektek a:hover {
	background-position: 0 -33px; 
}

body.category-projects #navigation-en li#projektek a {
	background-position: 0 -66px;
}

#navigation-en li#mome-line a {
	width: 126px;
	background-position: -109px 0; 
}

#navigation-en li#mome-line a:hover {
	background-position: -109px -33px; 
}

body.page-id-275 #navigation-en li#mome-line a {
	background-position: -109px -66px;
}

#navigation-en li#hirek-esemenyek a {
	width: 81px;
	background-position: -235px 0; 
}

#navigation-en li#hirek-esemenyek a:hover {
	background-position: -235px -33px; 
}

body.category-news #navigation-en li#hirek-esemenyek a {
	background-position: -235px -66px;
}

#navigation-en li#sajto a {
	width: 78px;
	background-position: -316px 0; 
}

#navigation-en li#sajto a:hover {
	background-position: -316px -33px; 
}

body.category-press #navigation-en li#sajto a {
	background-position: -316px -66px;
}

#navigation-en li#mome-diakoknak a {
	width: 181px;
	background-position: -394px 0; 
}

#navigation-en li#mome-diakoknak a:hover {
	background-position: -394px -33px; 
}

body.category-mome-students #navigation-en li#mome-diakoknak a {
	background-position: -394px -66px;
}

#navigation-en li#kapcsolat a {
	width: 101px;
	background-position: -575px 0; 
}

#navigation-en li#kapcsolat a:hover {
	background-position: -575px -33px; 
}

body.category-kapcsolat #navigation-hu li#kapcsolat a {
	background-position: -575px -66px;
}

/* LANGUAGE SELECTOR */

#languages li#hu a {
	width: 50px;
	background-position: 0 0; 
}

#languages li#hu a:hover {
	background-position: 0 -18px; 
}

body.hu #languages li#hu a {
	background-position: 0 -36px;
}

#languages li#en a {
	width: 50px;
	background-position: -50px 0; 
}

#languages li#en a:hover {
	background-position: -50px -18px; 
}

body.en #languages li#en a {
	background-position: -50px -36px;
}

#content {
	width: 781px;
	float: left;
	overflow: auto;
}

#sidebar {
	width: 150px;
	float: left;
}

.post {
	margin-bottom: 20px;
	overflow: auto;
}

.post .title, .post .postcontent {
	float: left;
}

.post .title {
	width: 206px;
	padding: 10px 5px;
	border-top: 1px solid #ececec;
	border-bottom: 1px solid #ececec;
}

.post .title h2 {
	font-family: "Trebuchet MS", verdana, arial, helvetica, sans;
	font-size: 24px;
	font-weight: normal;
	text-transform: lowercase;
	margin: 0;
	padding: 0;
	line-height: 1em;
}

.post .title h2 a {
	color: #00a6ed;
	text-decoration: none;
}

.post .title h2 a:hover {
	color: #58595b;
}

.post .title p {
	margin: 8px 0 0 0;
	padding: 0;
	color: #58595b;
	font-size: 10px;
}

.post .postcontent {
	margin: 0 0 0 15px;
	width: 510px;
	overflow: auto;
}

.post .leadimage, .post .additionalimage {
	background-color: #ebebeb;
	width: 480px;
	padding: 13px 15px;
	text-align: center;
}

.post .additionalimage {
	margin-top: 10px;
}

.post .postcontent .text {
	width: 480px;
	background-color: #f3f3f3;
	padding: 15px;
}

.post .postcontent .text p {
	font-size: 12px;
	color: #15211e;
	margin: 0 0 14px 0;
	padding: 0;
	line-height: 1.3em;
}

.post .postcontent .meta {
	width: 480px;
	padding: 15px;
	margin-top: -4px;
}

.post .postcontent .meta p {
	font-size: 10px;
	font-weight: bold;
	margin: 4px 0;
	padding: 0;
}

.post .postcontent .meta a {
	color: #00a6ed;
	text-decoration: none;
}

.post .postcontent .meta a:hover {
	text-decoration: underline;
}

.comments h6, .newcomment h6 {
	font-size: 18px;
	font-weight: normal;
	margin: 0 0 15px 0;
	padding: 0;
	font-family: "Trebuchet MS", verdana, arial, helvetica, sans;
}

.newcomment h6 {
	margin-bottom: 28px;
}

.post .postcontent .comments {
	margin: 29px 0 0 0;
	padding: 21px 0 0 15px;
	border-top: 1px solid #f0f0f0;
}

.post .postcontent .newcomment {
	border-top: 1px solid #f0f0f0;
	margin: 31px 0 0 0;
	padding: 22px 0 0 15px;
}

.post .postcontent .comments .comment {
	margin-bottom: 40px;
}

.post .postcontent .comments .comment p {
	margin: 0;
	padding: 0;
}

.comments .comment div.commentbody {
	font-size: 12px;
	color: #15211e;
	margin-bottom: 7px;
}

.comments .comment div.commentbody p {
	margin: 0 0 5px 0;
	padding: 0;
}

.comment p.commentmeta {
	font-size: 10px;
	color: #58595b;
}

.comment p.commentmeta a {
	color: #00aeef;
	text-decoration: underline;
}

.comment p.commentmeta a:hover {
	text-decoration: none;
}

.newcomment #textarea textarea {
	width: 321px;
	height: 139px;
	background: transparent url('images/form-textarea.png') no-repeat top center;
	border: none;
	padding: 10px;
	font-family: "Trebuchet MS", verdana, arial, helvetica, sans;
	font-size: 12px;
}

.newcomment .input input {
	width: 232px;
	height: 16px;
	background: transparent url('images/form-input.png') no-repeat top center;
	border: none;
	padding: 4px 5px 3px 5px;
	font-family: "Trebuchet MS", verdana, arial, helvetica, sans;
	font-size: 12px;	
}

.newcomment .input {
	clear: both;
	overflow: auto;
	margin-top: 13px;
}

.newcomment .input .label {
	width: 95px;
	float: left;
	margin: 0 4px 0 0;
	padding: 5px 0 0 0;
	border-top: 1px solid #f0f0f0;
	font-size: 12px;
}

.newcomment .input .req {
	font-weight: bold;
}

.newcomment .input .inputfield {
	float: left;
}

.newcomment #submit {
	margin: 10px 0 0 147px;
	width: 49px;
}

#sidebar h4 {
	display: block;
	margin: 20px 0 14px 0;
	padding: 0;
	font-family: arial, helvetica, sans;
	font-weight: bold;
	font-size: 11px;
}

#sidebar h4 a {
	color: #27aae1;
	text-decoration: none;
}

#sidebar h4 a:hover {
	text-decoration: underline;
}

#sidebar h4.first {
	margin-top: 0;
}

p#rss {
	margin: 40px 0;
	padding: 0;
}

p#rss a {
	display: block;
	width: 150px;
	height: 50px;
	background-color: transparent;
	background-position: top left;
	background-repeat: no-repeat;
	text-indent: -9999px;
}

body.hu p#rss a {
	background-image: url('images/rss.png');
}

body.en p#rss a {
	background-image: url('images/rss-en.png');
}

p.sidebarimage {
	margin: 0 0 14px 0;
	padding: 0;
}

p.sidebarimage img {
	border: 1px solid #eaeaea;
}

#sidebar li {
	font-family: arial, helvetica, sans;
	color: #27aae1;
	font-weight: bold;
	font-size: 11px;
	margin: 9px 0 5px 0;
	padding: 0;
}

#sidebar p.teaser {
	font-size: 10px;
	color: #343434;
	margin: 0;
	padding: 0;
}

#sidebar ul {
	margin: 0 0 0 15px;
	padding: 0;
}

#sidebar li {
	font-size: 10px;
	list-style-image: url('images/lil-gray-cube.png');
}

#sidebar li a {
	color: #27aae1;
	text-decoration: none;
}

#sidebar li a:hover {
	text-decoration: underline;
}

.prevnext {
	padding: 10px 0;
	border-top: 1px solid #f3f3f3;
	border-bottom: 1px solid #f3f3f3;
	clear: both;
	margin: 30px 0; 
	width: 510px;
	overflow: auto;
}

.center {
	width: 66px;
	margin: 0 auto;
}

.prevnext a {
	text-indent: -9999px;
	width: 26px;
	height: 26px;
	background-color: transparent;
	background-position: top left;
	background-repeat: no-repeat;
	display: block;
}

.prev, .next {
	float: left;
}

.next {
	margin: 0 14px 0 0;
}

.prev a {
	background-image: url('images/prev.png');
}

.next a {
	background-image: url('images/next.png');
}

.prevnextwrapper {
	margin-left: 231px;
}

.post .postcontent p.more {
	text-align: center;
	margin: 0;
	padding: 0 20px 0 0;
	font-weight: bold;
	font-size: 9px;
}

p.more a {
	color: #00aeef;
	text-decoration: none;
	padding: 3px;
}

p.more a:hover {
	background-color: #000000;
	color: #ffffff;
}

/* PROJECTS  */

.projects .project_type {
	clear: both;
	overflow: hidden;
	width: 930px;
	margin-bottom: 63px;
}

.projects .project_type_name, ul, li {
	float: left;
	margin: 0;
	padding: 0;
}

.projects .project_type_name {
	overflow: hidden;
	width: 206px;
	margin-right: 14px;
}

.projects h2 {
	font-family: "Trebuchet MS", verdana, arial, helvetica, sans;
	font-size: 24px;
	font-weight: normal;
	margin: 0;
	line-height: 1em;
	padding: 10px 5px;
	border-top: 1px solid #ececec;
	border-bottom: 1px solid #ececec;
	width: 206px;
	color: #00a6ed;
}

.projects h2:hover {
	cursor: pointer;
}

.projects ul {
	width: 710px;
}

.projects li {
	list-style: none;
	position: relative;
	margin: 0 25px 25px 0;
	width: 220px;
	height: 155px;
}

.projects .third {
	margin-right: 0;
}

.projects li a.tn {
	display: block;
	overflow: hidden;
	border: none;
	border: 5px solid #ebebeb;
}

.projects li a.tn img {
	margin: -5px;
}

.projects li h3 {
	position: absolute;
	left: 0;
	bottom: 0;
	margin: 0;
	padding: 0;
	color: #000000;
	background-color: #ebebeb;
	font-weight: normal;
	font-size: 15px;
	font-family: "Trebuchet MS", verdana, arial, helvetica, sans;
}

.projects li h3 a {
	display: block;
	text-decoration: none;
	color: #000000;
	padding: 6px 10px 0 10px;
	height: 22px;
	max-width: 210px;	
}

.projects .show_more_projects {
	text-align: right;
	display: none;
}

.projects .show_more_projects a {
	text-decoration: none;
	color: #1d1d1d;
	font-size: 11px;
	font-weight: bold;
}

.projects .show_more_projects a img {
	vertical-align: bottom;
	margin-left: 10px; 
}

/* ADDTHIS */

.addthis_wrapper {
	font-size: 13px;
	margin: 10px 0 10px auto;
	width: 180px;
}

.addthis_wrapper a.addthis_button_compact {
	color: #00a6ed;
	text-decoration: none;
}

/* CATEGORY RSS */

#category_rss p {
	text-align: center;
	font-size: 10px;
}

#category_rss a {
	color: #a8a8a8;
}

/* SIMPLEPIE */

.simplepie {
	overflow: hidden;
	margin-top: 40px;
}

/* FLICKR */

#flickr {
	margin-left: 6px;
}

.flickr_badge_image {
	float: left;
	margin: 1px 3px;
	padding: 0;
}

.flickr_badge_image a {
	margin: 0;
	padding: 0;
}

.flickr_badge_image img { 
	width: 66px;
	height: 66px;
	margin: 0;
	padding: 0;
	border: none;
}

.photoset {
	width: 400px;
	margin: 30px auto;
	overflow: hidden;
}

.photoset .flickr-thumb {
	float: left;
	margin-left: 5px;
}



/* 404 NOT FOUND */

#not_found {
	font-size: 11px;
	font-weight: bold;
	background-color: #ebebeb;
	width: 300px;
	padding: 20px;
}