/********************************************************************************
	- MemHT Portal -
	
	Copyright (C) 2007-2008 by Miltenovik Manojlo
	http://www.memht.com
	
	This program is free software; you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation; either version 2 of the License, or
	(at your opinion) any later version.
	
	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
	GNU General Public License for more details.
	
	You should have received a copy of the GNU General Public License along
	with this program; if not, see <http://www.gnu.org/licenses/> (GPLv2)
	or write to the Free Software Foundation, Inc., 51 Franklin Street,
	Fifth Floor, Boston, MA02110-1301, USA.
		
********************************************************************************/

/***********************************************************************
STYLE REQUIRED BY THE SITE ENGINE - DO NOT RENAME OR DELETE
***********************************************************************/

/*****************
Text
*****************/
#info {
	font-size: 9px;
	color:#B1AB9E;
}
#info a {
	color:#B1AB9E;
	text-decoration: none;
}
#errorText { color: #900000; }
#small { font-size: 9px; }
.std_code {
	margin-left: 10px;
	padding-left: 10px;
	border-left: 3px solid #C0D7E7;
}
/*****************
Boxes
*****************/
.box {
	padding: 4px;
	background-color: #F4F4F4;
	border: 1px solid #DDD;
	margin: 2px 0;
}
.stitle {
	padding: 1px 0;
	background-image:url(images/stitle.gif);
	background-repeat:repeat-x;
	border-bottom: 1px solid #BBB;
	color:#666;
}
.note {
	padding: 4px;
	background-color: #F4F4F4;
	border: 1px solid #DDD;
	margin: 2px 0;
}
.quote_box {
	border: 1px solid #AAA;
}
.quote_title {
	background-color: #EEE;
	padding:1px 2px;
	border-bottom: 1px dashed #CCC;
}
.quote_body {
	background-color: #FFF;
	padding:1px 2px;
}
.code_box {
	border: 1px solid #AAA;
}
.code_title {
	background-color: #EEE;
	padding:1px 2px;
	border-bottom: 1px dashed #CCC;
}
.code_body {
	background-color: #FFF;
	padding:1px 2px;
}
/*****************
Tables
*****************/
table {
	vertical-align: top;
}
table a {
	text-decoration: none;
}
th {
	text-align: left;
}
.std_data_table td {
	padding:1px;
	background-color:#EEE;
	font-size:10px;
}
.std_data_table td,
.std_data_table td a,
.std_data_table td a:visited {
	color:#333;
}
.std_data_table .stitle { color:#777; }
/*****************
Other
*****************/
.underlined {
	border-bottom: 1px solid #DDD;
}
/*****************
Datebox in comments
*****************/
.datebox {
	width:41px;
	height:38px;
	background-image: url(images/datebg.gif);
	background-repeat: no-repeat;
	text-align: center;
	margin-right: 15px;
}
.datebox_day {
	font-weight: bold;
	color: #FFF;
	font-size:18px;
}
.datebox_month {
	color: #777;
}
/*****************
Comments
*****************/
.tpl_comments_box {
	background-color: #F4F4F4;
	background-image: url(images/comments_linguetta.gif);
	background-repeat: no-repeat;
	background-position: top right;
	margin-bottom: 4px;
	padding: 4px;
	border-bottom: 1px solid #DDD;
}
.tpl_comments_title {
	color: #517E9F;
	font-weight: bold;
	border-bottom: 1px solid #CCC;
}
.tpl_comments_body {
	padding-top: 4px;
	font-size: 12px;
	clear: both;
}

/*****************
Titles
*****************/
h1 {
	margin:0;
	padding:0;
	font-size:13px;
}
h2 {
	margin:0;
	padding:0;
	font-size:13px;
	font-weight:bold;
}
h3 {
	margin:0;
	padding:0;
	font-size:13px;
	font-weight:bold;
}
/***********************************************************************
OPTIONAL, TEMPLATE SPECIFIC STYLE
***********************************************************************/
body,td,th {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #4D5A66;
}
body {
	background-color:#FFF;
	margin: 0 0 10px 0;
	padding: 0;
}
a:link { color: #517e9f; text-decoration: none;}
a:visited { color: #053557; text-decoration: none; font-weight: bold;}
a:hover { color: #79ABD5; text-decoration: none; }
a:active { color: #4D5A66; text-decoration: none; }
/*****************
Structure
*****************/
.tpl_inbox {
	margin:0 auto;
	width:940px;
}

/*****************
Header
*****************/
.tpl_header_top {
	height:38px;
	background:url(images/tpl_header_top.gif) repeat-x;
}
.tpl_header_main {
	height:112px;
	background-color: #d3d9de
}
.tpl_header_bottom {
	height:40px;
	background:url(images/tpl_header_bottom.gif) repeat-x #EEE;
	font-size:10px;
}
.tpl_header_bottom .tpl_inbox { padding-top:10px; }

.tpl_header_main .logo {
	float:left;
}
.tpl_header_main .adv {
	padding:40px;
	text-align:right;
}
.menu {
	padding:0;
	margin:0;
	list-style:none;	
	position:relative;
}
.menu li { float:left; }
.menu a {
	float:left;
	height:38px;
	display:block;
	padding:0 20px;
}
.menu a:hover {
	background-color:#EDEFF1;
	color:#4D5A66;
}
.menu a div { padding-top:12px; }
.submenu {
	display:none;
	list-style:none;
	width:50px;
	/*position:absolute;*/
	left:20px;
	top:38px;
}
.submenu li { float:none; }
.submenu a {  background-color:#999999; }

/*****************
Main
*****************/
.tpl_main {
	background-color:#FFF;
	padding-bottom:20px;
}

/*****************
Footer
*****************/
.tpl_footer {
	background-color:#E5E9EC;
	padding:10px;
	font-size:10px;
	color:#8194A3;
}
.tpl_footer a,
.tpl_footer a:visited { color:#8194A3; }
.tpl_footer a:hover { color:#566876; }

/*****************
Blocks
*****************/
.tpl_nav {
	width:180px;
	padding-left:10px;
}
.tpl_extra {
	width:180px;
	padding-left:10px;
}
/* BLOCK */
.tpl_block {
	margin-bottom:10px;
	background-color:#F0F2F4;
}
.tpl_block_title {
	background:url(images/tpl_block_title.gif) no-repeat;
}
.tpl_block_title div {
	background:url(images/tpl_block_title_cap.gif) top right no-repeat;
	padding:8px;
	font-size:16px;
	font-weight:bold;
	color:#FFF;
}
.tpl_block_body {
	padding:8px;
	border-top:1px solid #FFF;
	background:url(images/tpl_block_main.gif) repeat-x;
}
.tpl_block_body .block_linkstyle a {
	display:block;
	padding:2px 0;
	border-bottom:1px dotted #CCD3D9;
}
.tpl_block_body .block_linkstyle a:hover { color:#aa0000; }

/* BLOCK H1 */
.tpl_block_h1 {
	margin-bottom:10px;
	background-color:#DEEDDC;
}
.tpl_block_title_h1 {
	background:url(images/tpl_block_title_h1.gif) no-repeat;
}
.tpl_block_title_h1 div {
	background:url(images/tpl_block_title_cap_h1.gif) top right no-repeat;
	padding:8px;
	font-size:16px;
	font-weight:bold;
	color:#FFF;
}
.tpl_block_body_h1 {
	padding:8px;
	border-top:1px solid #FFF;
	background:url(images/tpl_block_main_h1.gif) repeat-x;
}
.tpl_block_body_h1 .block_linkstyle a {
	display:block;
	padding:2px 0;
	border-bottom:1px dotted #CCD3D9;
}
.tpl_block_body_h1 .block_linkstyle a:hover { color:#aa0000; }

/* BLOCK H2 */
.tpl_block_h2 {
	margin-bottom:10px;
	background-color:#F4F4F4;
}
.tpl_block_title_h2 {
	background:url(images/tpl_block_title_h2.gif) no-repeat;
}
.tpl_block_title_h2 div {
	background:url(images/tpl_block_title_cap_h2.gif) top right no-repeat;
	padding:8px;
	font-size:16px;
	font-weight:bold;
	color:#FFF;
}
.tpl_block_body_h2 {
	padding:8px;
	border-top:1px solid #FFF;
	background:url(images/tpl_block_main_h2.gif) repeat-x;
}
.tpl_block_body_h2 .block_linkstyle a {
	display:block;
	padding:2px 0;
	border-bottom:1px dotted #CCD3D9;
}
.tpl_block_body_h2 .block_linkstyle a:hover { color:#aa0000; }
/* CENTRAL */
.tpl_block_title_c {
	padding-left:10px;
	font-size:16px;
	font-weight:bold;
	margin-bottom:2px;
	color:#517E9F;
}
.tpl_block_body_c {
	margin-bottom:10px;
	padding:8px;
	background-color:#E2ECF1;
}
/*****************
Messages
*****************/
.tpl_messages_title {
	padding-left:10px;
	font-size:16px;
	font-weight:bold;
	margin-bottom:2px;
	color:#517E9F;
}
.tpl_messages_body { 
	margin-bottom:10px;
	padding:8px;
	background-color:#E2ECF1;
}
/*****************
News
*****************/
.tpl_news_box {
	padding:0 4px 10px 4px;
	margin-top:10px;	
	margin-bottom:10px;
	border-bottom:1px dotted #CCC;
}
/* Title */
.tpl_news_title {
	font-weight: bold;
	font-size:140%;
	color: #517E9F;
}
.tpl_news_title a,
.tpl_news_title a:visited { color: #517E9F; }
.tpl_news_title a:hover { color: #889EB3; }
/* Argument */
.tpl_news_argument {
	padding-bottom:14px;
	font-size:90%;
	color:#AAA;
}
/* Read more */
.tpl_news_rest,
.tpl_news_rest a,
.tpl_news_rest a:visited,
.tpl_news_rest a_hover {
	padding-top:8px;
	font-size:10px;
	font-weight:bold;
	text-transform:lowercase;
	color: #517E9F;
}
/* Date */
.tpl_news_date {
	width:49px;
	height:58px;
	margin-top:3px;
	background:url(images/tpl_datebg.gif) no-repeat;
}
.tpl_news_date .month {
	color:#FFF;
	padding-top:3px;
}
.tpl_news_date .day {
	color:#555;
	padding-top:1px;
	font-size:20px;
	font-weight:bold;
}
.tpl_news_date .year {
	color:#555;
	font-size:9px;
}
/* Rank */
.tpl_news_rank {
	padding-top:8px;
}
/* Comments */
.tpl_news_comments {
	padding-top:4px;
	color: #777;
}
.tpl_news_comments a,
.tpl_news_comments a:visited { color: #777; }
.tpl_news_comments a:hover { color:#517E9F; }
/* Author */
.tpl_news_author {
	padding-top:4px;
	color:#777;
}
.tpl_news_author a,
.tpl_news_author a:visited { font-weight:bold; color:#517E9F; }
.tpl_news_author a:hover {
	color: #889EB3;
}
/* Tags */
.tpl_news_tags {
	padding-top:14px;
	color: #889EB3;
}
.tpl_news_tags a,
.tpl_news_tags a:visited { color: #889EB3; }
.tpl_news_tags a:hover { color:#517E9F; }
/*****************
Various
*****************/
.tpl_page_title {
	padding:8px 0;
	font-size:16px;
	font-weight:bold;
	color:#517E9F;
	border-bottom:1px dotted #889EB3;
	margin-bottom:10px;
}
.tpl_page_title a,
.tpl_page_title a:visited { color:#517E9F; }
.tpl_page_title a:hover { color:#889EB3; }

.tpl_opentable_title {
	margin-bottom:2px;
	border-bottom:1px dotted #CCC;
	font-weight:bold;
	color:#777;
}
.tpl_opentable_title a,
.tpl_opentable_title a:visited { color:#777; }
.tpl_opentable_title a:hover { color:#517E9F; }
.tpl_opentable_title {
	margin-bottom:2px;
	border-bottom:1px dotted #CCC;
	font-weight:bold;
	color:#777;
}
.tpl_opentable_title a,
.tpl_opentable_title a:visited { color:#777; }
.tpl_opentable_title a:hover { color:#517E9F; }
/* Nice table */
table.std_nicetable thead td {
	background: url(images/tablebg.gif) #DDD repeat-x;
	border:1px solid #FFF;
	font-weight:bold;
	color:#517E9F;
}