/*

	project:  MojFaks - portal za studente            (www.mojfaks.com)
	author:   Medianova - programming and consulting  (www.medianova.hr)
	
*/

*{margin:0;padding:0;}:focus,:active {outline:0}ul,ol{list-style:none}h1,h2,h3,h4,h5,h6,pre,code {font-size:1em;}a img{border:0} 
img, div, span, a { behavior: url(frontend/pngfix/iepngfix.htc) }
body { font: .74em Arial, Sans-Serif; background: #ccc url(../images/site/bodybg.gif) repeat-x; color: #333; }
a { text-decoration: none; color: #27517B; cursor: pointer; }
	a:hover { color: #000; }
p  { margin: 0 0 15px; line-height: 1.6em; }

h1 { margin: 0 0 20px; font-size: 1.5em; padding: 0 0 5px; color: #000; border-bottom: 1px solid #ddd; }
h2 { font-size: 1.44em; margin: 0 0 10px; }
	h2, h3 { color: #000; }
	h3 { clear: both; font-size: 1.1em; font-weight: bold; margin: 0 0 10px; }
h4 { margin: 0 0 4px; color: #fff; font-size: 1.2em; padding: 5px 0 0; }
h5 { float: left; font-size: .9em; text-transform: uppercase; font-weight: normal; background: #4E575B; color: #fff; padding: 4px 6px; margin: 0 0 9px; }

.heading-links { float: right; font-size: .9em; font-weight: bold; margin: 0 5px 0 0; }
	.heading-links a { background: #eee; border-bottom: 1px solid #ddd; padding: 5px 8px; margin: 0 0 0 3px; }

input, textarea, select, form p span{ font: normal .94em "Trebuchet MS", Arial, Sans-Serif; }

hr{ clear: both; border: 0; border-bottom: 1px solid #ddd; height: 1px; margin: 0 0 16px; padding: 16px 0 0; }

.clear { clear: both; }
.wrap { margin: 0 auto; width: 980px; }

#header { height: 123px; background: url(../images/site/header.jpg) no-repeat; }

#logo { float: left; margin: 42px 0 0 15px; }

#banner { float: right; margin: 8px 1px 0 0;  }

#menu { clear: both; background: url(../images/site/menu.gif) no-repeat; height: 38px; padding: 3px 3px 3px 1px; margin: -20px 0 0; }
	#menu li { display: inline; text-transform: uppercase; font: .9em "Trebuchet MS", Arial, Sans-Serif; }
	#menu li a { border: 0; float: left; color: #fff; text-align: center; font-weight: bold; margin: 0 0 0 2px; padding: 8px 0 0; width: 92px; height: 22px; }
	
	#menu li.login a { float: right; background: url(../images/site/tab_login.gif) no-repeat; color: #726F42; }
	#menu li a.current { background: url(../images/site/tabcurrent.gif) no-repeat; color: #27517B; }
	#menu li a:hover { background: url(../images/site/tab.gif) no-repeat; color: #fff; }
	#menu li a:focus { background: url(../images/site/tabfocus.gif) no-repeat; color: #ccc; }

#content { clear: both; background: #fff url(../images/site/contentbg.gif) no-repeat; padding: 6px 5px 10px 12px; overflow: auto; }

#main { float: left; width: 640px; padding: 20px 15px 0 0; border-right: 1px solid #ddd; }

	.third { float: left; width: 200px; margin: 0 20px 20px 0; }

	.col { clear: left; float: left; width: 300px; font-size: .94em; }
	.cor, .corline { float: right; width: 300px; padding: 0 0 0 20px; border-left: 1px solid #ddd; font-size: .94em; }
		.col p, .cor p { margin: 0 0 9px; }
	
	.date { font-size: .84em; color: #808080; margin: 0 0 4px; }
	.links { font-size: .9em; margin: 0; }
		.links a { border-bottom: 1px dotted #ddd; margin: 0 10px 0 0; padding: 0 0 0 8px; background: url(../images/site/bullet.gif) no-repeat 0 5px; }
	
	
	#search { height: 119px; background: url(../images/site/search.gif) no-repeat; margin: 0 0 7px; }
	
	#search_form { float: left; width: 450px; color: #fff; padding: 5px; margin: 0 0 10px; padding: 10px 0 0 10px; }
		#search_form label { padding: 5px 0 0 5px; color: #ddd; display: block; float: none; width: 300px; }
		input.searchfield { padding: 6px; width: 320px; margin: 0 5px 0 0; float: left; border: 1px solid; border-color: #444 #647075 #647075 #444; }
		#advanced_link{ float: left; color: #F6F3A6; margin: 0 0 6px 10px; padding: 3px 0 0; }
		#advanced { clear: both; padding: 10px 0 0 0; font-size: .9em; }
			#advanced p { margin: 0; float: left; margin: 0 15px 0 0; }
			
		#tags { float: right; width: 480px; border-left: 1px solid #687479; padding: 5px 15px 0 15px; margin: 10px 0 0; height: 94px; }
			#tags a { color: #ddd; padding: 4px; }
			#tags a:hover { color: #fff; background: #383D40; }
	
		
	/* login and register */
	#login { float: left; width: 290px; background: #eee; padding: 10px; }
	#register { float: right; width: 300px; background: #eee; padding: 10px; }
	
	#login h2, #register h2 { border-bottom: 1px solid #ddd; margin: 0 0 20px; padding: 0 0 4px; color: #990000; }
	
	/* crew */
	.crew { background: #4E575B; padding: 7px 7px 2px 10px; border-bottom: 2px solid #373D40; margin: 0 0 4px; }
		.crew h3, #crew-search h3 { float: left; color: #fff; width: 130px; padding: 16px 0 0 0; font: bold 1.2em "Trebuchet MS", Arial; }
		.others { clear: both; margin: 0 0 0 130px; font-size: .9em; font-style: italic; color: #969696; }
		
	#crew-search { background: #eee; border-bottom: 2px solid #e7e7e7; padding: 7px 7px 2px 10px; margin: 0 0 15px; }
		#crew-search h3 { color: #4E575B; font-size: 1.1em; text-transform: uppercase; padding: 7px 0 40px; }
		#crew-search p { clear: both; margin: 0 0 0 132px; font-size: .9em; padding: 7px 0 4px; color: #808080; }
		#crew-search select { width: 390px; margin: 0 5px 3px 0; float: left; padding: 7px; }
		#crew-search input.button { float: right; }
	
	.result-frame { color: #808080; font-size: .8em; margin: 0 8px 0 0; float: left; }
	#result-users { float: right; width: 490px; }
	
	/* forms */
	form p { margin: 0 0 5px; }
	form p span { margin: 5px 0 0; }
	label { float: left; width: 100px; padding: 5px 0 0; font-weight: bold; font-size: .9em; }
	input.field, select, textarea{ padding: 4px; width: 160px; border: 1px solid; border-color: #ddd #eee #eee #ddd; }
	input.button { float: left; font-weight: bold; border: 0; width: 92px; padding: 7px 0 6px; color: #fff; background: url(../images/site/button.gif) no-repeat; }
	a.button { float: left; font: bold 1em "Trebuchet MS", Arial, Sans-Serif; width: 92px; text-align: center; padding: 7px 0; color: #fff; background: url(../images/site/button.gif) no-repeat; }
	
	.margin { margin: 0 0 0 101px; }
	.explain { margin: 0 0 14px 101px; font-style: italic; color: #808080; font-size: .9em; }
	.login_error { background: #D09A9A; padding: 10px; font-style: italic; color: #990000; }
	.small { width: 80px; }
	textarea { width: 350px; height: 160px; }
	
	.link { background: #eee; border-bottom: 1px solid #ddd; padding: 5px 6px; font-weight: bold; }
	
	/* cool icon */
	#inner-tags { float: left; border: 1px solid #ddd; background: #eee; padding: 6px; width: 500px; margin: 20px 0 0; }
		#inner-tags p { margin: 0; }
		#inner-tags strong { margin: 0 13px 0 0; }
		#inner-tags a { margin: 0 10px 0 0; }
	#cool { float: right; width: 95px; }
	#cool a, #cool_active a { background: url(../images/site/icon_cool.gif) no-repeat; float: left; width: 95px; margin: 0; padding: 8px 0 0 64px; height: 41px; color: #808080; font-weight: bold; font-size: 1.2em; }
	#cool_active a { background: url(../images/site/icon_cool_active.gif) no-repeat; color: #2B5276; }
		#cool_active a:hover { color: #000; }
	
	/* items */
	.item { position: relative; background: #eee; padding: 8px; margin: 0 0 5px; border-bottom: 2px solid #E4E4E4; }
		.item h2 { font-size: 1.2em; margin: 0; }
		.item_desc { padding: 4px 0 0 9px; font-size: .9em; margin: 0; color: #808080; background: url(../images/site/itembullet.gif) no-repeat 0 10px; }
	
	.post { position: relative; clear: both; background: #eee; padding: 8px; margin: 0 0 3px; border-bottom: 2px solid #E4E4E4; }
		.post h2 { font-size: 1.2em; margin: 0; }
		
	.num { float: right; text-align: center; color: #a5a5a5; padding: 5px 5px 0 0; margin: 0; font-size: .9em; }
		.num.info { font-size: .9em; text-align: right; }
		.num span { font-size: 2em; font-weight: bold; }
		
		.divide { padding: 0 0 10px; }
		
	.icon { float: right; margin: 0 5px 0 0; }
	
	.forum_user { width: 80px; float: left; height: 100px; }
		.forum_user .userframe { margin-bottom: 5px; }
		.forum_user p { font-size: .9em; margin: 0; font-weight: bold; }
		.post_pm { float: right; }
		.post_date { color: #808080; font-style: italic; font-size: .9em; border-bottom: 1px solid #ddd; padding: 0 0 5px; }
		.post_body { float: right; width: 520px; }
		
		.contact_info { border-top: 1px solid #ddd; font-size: .9em; margin: 0; line-height: 1.7em; padding: 5px 0 0; }
	
	.commentsbox { clear: both; padding: 10px; background: #eee; }
		.commentsbox textarea { width: 98%; height: 100px; }
	h2.comment { font-size: 1.2em; background: url(../images/site/comment_arrow.gif) no-repeat right; float: left; padding: 0 17px 0 0; margin: 0 0 7px; }
	
	.max_size { background: #f4f4f4; border: 1px solid #eee; padding: 5px; font-size: .9em; font-weight: bold; margin: 0 0 6px 100px; }
	.allowed { clear: left; margin: 0 0 0 100px; font-size: .84em; color: #808080; font-style: italic; }
	
	#pagination { font-size: .9em; padding: 10px 0 0; }
		.paginator { padding: 2px 7px; color: #808080; border: 1px solid #ddd; margin: 0 1px 0 0; }
		.paginator.current { color: #fff; background: #ccc; border: 1px solid #ccc; }

#side { float: right; width: 300px; }
	#side img { margin: 0 0 5px; }
	.loginlinks { margin: 0 0 7px; font-size: .84em; text-transform: uppercase; font-weight: bold; }
		.loginlinks a:hover { color: #fff; border-bottom: 1px solid #606B70; }
	
	#newsbox { padding: 8px 12px; background: #4E575B; margin: 0 0 15px; }
		#newsbox a { color: #eee; }
	

.newsframe { width: 200px; height: 150px; position: relative; float: left; margin: 0 20px 7px 0; }
.newsframe img { position: absolute; width: 200px; height: 150px; z-index: 0; }
.newsframe span { position: absolute; width: 200px; height: 150px; z-index: 1; background: url(../images/site/newsframe.png) no-repeat; }
.third.newsframe { margin-right: 0; }

.small_newsframe { width: 80px; height: 60px; position: relative; float: left; margin: 0 20px 7px 0; }
.small_newsframe img { position: absolute; width: 80px; height: 60px; z-index: 0; }
.small_newsframe span { position: absolute; width: 80px; height: 60px; z-index: 1; background: url(../images/site/small_newsframe.png) no-repeat; }

.userframe { width: 80px; height: 80px; position: relative; float: left; margin: 0 20px 7px 0; }
.userframe img { position: absolute; width: 80px; height: 80px; z-index: 0; }
.userframe span { position: absolute; width: 80px; height: 80px; z-index: 1; background: url(../images/site/userframe.png) no-repeat; }

.small_userframe { width: 45px; height: 45px; position: relative; }
.small_userframe img { position: absolute; width: 45px; height: 45px; z-index: 0; }
.small_userframe span { position: absolute; width: 45px; height: 45px; z-index: 1; background: url(../images/site/small_userframe.png) no-repeat; }

.sideframe { width: 80px; height: 80px; position: relative; float: left; margin: 0 16px 7px 0; }
.sideframe img { position: absolute; width: 80px; height: 80px; z-index: 0; }
.sideframe span { position: absolute; width: 80px; height: 80px; z-index: 1; background: url(../images/site/sideframe.png) no-repeat; }

#contentbottom { clear: both; padding: 10px 0; background: url(../images/site/contentbottom.gif) repeat-x bottom; }

#prefooter { background: #42494D url(../images/site/prefooter.gif) no-repeat bottom; padding: 6px; }
	#prefooter ul { clear: both; }
	#prefooter li, #newsbox li{ border-bottom: 1px solid #3F4649; font-size: .9em; background: url(../images/site/prefooter_bullet.gif) no-repeat 3px 11px; }
	#prefooter li a, #newsbox li a { color: #ddd; display: block; padding: 6px 3px 6px 13px; }
		#prefooter li a:hover, #newsbox li a:hover { color: #fff; }

	.column { float: left; width: 222px; margin: 0 5px 0 0; background: #4E575B; padding: 10px 8px;}
		.column img { float: left; margin: 0 10px 7px 0; }
	.last { margin-right: 0; }
	
	/* rounded */
	.column, h5, #newsbox, .item, .post, .crew, #crew-search { -moz-border-radius: 4px; -webkit-border-radius: 4px; }

	
	/* profile */
	
	#profile-left {float:left; width: 510px;}
	#profile-right { float:right; width: 100px; color: #eee; font-size: .9em; background:#4e575b; padding: 5px 10px 8px; -moz-border-radius: 4px; -webkit-border-radius: 4px;}
		#profile-right h4 { margin: 0 0 7px; color: #D7D7D7; }
		#profile-right a { font-weight: bold; color: #fff; }
		.friends { float: left; width: 45px; margin: 0 8px 8px 0; }
		.slast { margin-right: 0; }
		.remove { position: absolute; z-index: 2; margin: -6px 0 0 40px; }
		.remove a { float: left; width: 7px; height: 7px; background: url(../images/site/remove.gif) no-repeat; }
		
	#cool-box{ clear: left; float: left; width: 245px; }
	#actions { float: right; width: 245px; }
	#cool-box li, #actions li { padding: 4px; border-bottom: 1px solid #ddd; font-size: .9em; }
	

#footer { clear: both; padding: 20px 10px 0; color: #757575; font-size: .9em; }
	#gotop { float: right; margin: -20px 0 0 20px; width: 36px; height: 44px; background: url(../images/site/gotop.gif) no-repeat; }

	ul#right { float: right; }
		ul#right li a { color: #42494D; }
	#footer ul { height: 25px; }
		#footer li { display: inline; }
		#footer li span { float: left; font-weight: bold; width: 119px; }
		#footer li a { float: left; color: #757575; margin: 0 0 0 10px; padding: 0 0 1px; }
			#footer a:hover { border-bottom: 1px solid #BABABA; color: #000; }
			
		#partners { border-top: 1px solid #ddd; padding: 8px 0; margin: 0; }
		#partners span{ font-weight: bold; float: left; width: 129px; }
		
		#network { border-top: 1px solid #ddd; line-height: 1.9em; padding: 8px 0 0; margin: 0 0 8px; }
			#network span{ font-weight: bold; float: left; width: 129px; height: 67px; }
			
			
	#copy { padding: 15px 0 5px; border-top: 1px solid #ddd; }
	#rss { float: right; border: 0; padding: 15px 10px 0; }
		#rss a { background: url(../images/site/rss.gif) no-repeat top right; padding: 5px 23px 3px 0; color: #868788; font-weight: bold;  }
			#rss a:hover { background-position: bottom right; color: #F37A23; }
	
	.success { background: #BAEFB1; color: #377A2C; padding: 15px; font-style: italic; }
	.error { background: #FBDED4; color: #9E2626; padding: 15px; font-style: italic; }
	
.messages {width:100%}
	.messages-info {padding-right:10px;width:100px;}
	.messages-message {padding-left:10px;border-left:1px solid #ccc;background:#eee;}