/* **************************** */
/* Farsi Hack */
table, td, tr, th, p, span, font, div {
	direction: rtl;
	font-size: 11px;
	font-family: tahoma;
}
input, select, textarea {
	font-family: tahoma;
	font-size: 11px;
	padding: 1px 4px 1px 4px;
}

/*=============================
M
K  global styles
P
=============================*/
body {
	/*background: #0f1417 url(images/bg.jpg) repeat-x;*/
	/*background:url(images/bgtt.jpg) repeat;*/
	background-color: #ffffff;
	font-size: 11px; 
	color: #535a62; 
	font-family: tahoma, tahoma, tahoma, tahoma; 
	margin:0px; 
	padding:0px; /* Opera 0 margin */	
	text-align: center; /* center in IE */ 
}

/* portal wrapper */
#mkwrapper {
	text-align:right; /* right-align text in IE */	
	margin: -56px auto 0px auto;
}

/* logostrip */
#mklogostrip {
	/* background-image: url(MKPORTALIMGDIR/sf_logo.jpg); */	
	background-color: #fffffa;
	text-align: right;
}

/* global font formatting */
table, tr, td {
	color: #535a62;	
}
.tdglobal {
	font-size: 11px; 
	color: #535a62;
	font-family: tahoma, tahoma, tahoma, tahoma;	
}

/* main portal table */
.tabmain {
	margin:0px;
	padding:0px;	
}

/* images */
img { 		
	border: 0px;
	vertical-align: middle; /* Meo: Added in C1.2 */
}

/*=============================
M
K  LIGHT BACKGROUND
P
=============================*/
.modulecell {
	background-color: #fffffa;
	color: #535a62;
}
.urlo2 {
	background-color: #fffffa;
	color: #535a62;
}
.tabnews {
	background-color: #fffffa;
	color: #535a62;
}
.trattini {
	background-color: #fffffa;
	color: #535a62;
}
.tabmain {
	background-color: #ffffff;
	color: #535a62;
}
.tablemenu {
	background-color: #ffffff;
	color: #535a62;
}
.taburlo {
	background-color: #fffffa;
	color: #535a62;
}

/*=============================
M
K  MEDIUM BACKGROUND
P
=============================*/
.navigatore{
	background-color: #ecf2f6;
	color: #ffffff;
}
.tdblock{
	background-color: #ecf2f6;
	color: #696969;
}
.moduleborder {
	background-color: #ecf2f6;
	color: #00aeff;
}

/*=============================
M
K  DARK BACKGROUND
P
=============================*/
.sottotitolo {
	/* background-image: url(MKPORTALIMGDIR/m_sf.gif); */
	background-color:#ffffff;
	color: #023a55;
}
.urlo {
	/* background-image: url(MKPORTALIMGDIR/m_sf.gif); */
	background-color:#000000;
	color:#4c4c4c;
}

/*=============================
M
K  border and divider styles
P
=============================*/
.tabmain {
	border: 2px solid #f1f1f1;	
}
/* block wrapper, chat button strip */
.tablemenu {
	border: 0px solid #acdffe;	
} 
.taburlo {
	border: 0px solid #363536;	
}
.urlo2 {
	border: 0px solid #363536;	
}
.trattini {
	border: 0px solid #363536;	
}
.trattini2 {
	border: 0px solid #363536;	
}
.trattini3 {
	border: 0px solid #363536;	
}
	
.trattini { /*used only in tpl_main.php(deprecated), blog, ad_blocks.php*/
	border-width: 1px 0 0 0;
	border-top-style: dashed;
}

.trattini3 {/* used only in blog, quotes, urlobox, calendar*/
	border-width: 0 0 1px 0;
	border-bottom-style: dashed;
}

/* deprecated - used only in tpl_main.php */
/* .vspacer
{
	background-image: url(MKPORTALIMGDIR/punto_vert.gif);
	background-repeat: repeat-y;
	background-color: transparent;	
} */

/*=============================
M
K  hyperlink styles
P
=============================*/
/* global links */
a:link, 
a:visited {
	font-family: tahoma, tahoma, tahoma, tahoma;
	color: #14b4f2;	
	text-decoration: none;	
}

a:hover {
	font-family: tahoma, tahoma, tahoma, tahoma;
	color: #14b4f2;	
	text-decoration: underline;
}

a:active {
	font-family: tahoma, tahoma, tahoma, tahoma;
	color: #14b4f2;	
	text-decoration: none; 	
}

/* bold navbar, block, module links */
a.uno:link {
	font-family: tahoma, tahoma, tahoma, tahoma;
	font-size: 11px; 
	color: #023b68; 
	font-weight: normal;
	text-decoration: none
}

a.uno:visited {	
	font-size: 11px; 
	color: #023b68; 
	font-weight: normal;
	text-decoration: none
}


a.uno:hover {
	font-size: 11px; 
	color: #14b4f2; 
	font-weight: normal;
	text-decoration: underline;
}

/* block text links */
.tablemenu a:link, a:visited {
	font-family: tahoma, tahoma, tahoma, tahoma;
	color: #023b68;	
	text-decoration: none;	
}

.tablemenu a:hover {
	color:#14b4f2;
	text-decoration: underline;
}

.tablemenu a:active { 
	color:#14b4f2;
	text-decoration: none; 	
}

/* global contrasting text and hyperlink color */
.mktxtcontr,
a.mktxtcontr:link, 
a.mktxtcontr:visited {
	color: #FF3300;
	font-weight: normal;
	text-decoration: none;
}

a.mktxtcontr:hover {
	font-weight: normal;
	text-decoration: underline;
}

/* contrasting text and hyperlink color 2 (admin) */
.mktxtcontr2,
a.mktxtcontr2:link, 
a.mktxtcontr2:visited {
	color: #99CC33;
	font-weight: normal;
	text-decoration: none;
}

a.mktxtcontr2:hover {
	font-weight: normal;
	text-decoration: underline;
}

/*=============================
M
K  form styles
P
=============================*/
/* remove margin after closing "form" tag in MSIE */
form {
	margin: 0;
	padding: 0
}

input,
textarea{
	background-color: #ecf2f6;		
	border: 1px solid #0d5156;
	margin: 1px;
	padding: 2px;
	font-family: tahoma, tahoma, tahoma, tahoma;
	font-weight: normal;
	font-size: 11px; 
	color: #00aeff;
	vertical-align: middle;
}

select,
.bgselect, /* input fields */
.mkbutton /* global submit buttons */
{
	background-color: #374660;		
	border: 1px solid #443445; 	
	margin: 1px;
	padding: 1px;
	font-family: tahoma, tahoma, tahoma, tahoma;
	font-weight: normal;
	font-size: 11px; 
	color: #cfcdc1;
	vertical-align: middle;
}

/* button border - needed for blocks to display correctly in forum-view */	
.blsubmit,
.mkbutton {
	border: 1px #0d5156 solid;
}

.mkbutton { /* Global submit buttons */
	padding: 3px;
}

.mkbbbutton { /* MKP BBcode editor buttons */
	margin: 0;
	padding: 0;
}

/* radio/checkbox buttons - remove background color and border in IE */	
.mkradio {
	background-color: transparent;
	border: 0px;		
}

/* configure blog textarea */
textarea.mkwrap1 {
	overflow: auto;
	/* width: 230px; */
	width: 100%;
}

/* edit blog textarea */
textarea.mkwrap2 {
	overflow: auto;
	width: 500px ;
}

/* block input */
.mkblkinput {
	background-color:#023b68;
 	font-size: 11px;
	border: 1px solid #14b4f2;
	margin: 1px;
}

/*=============================
M
K  navstrip styles
P
=============================*/
/* top navstrip */
.navigatore {	
	vertical-align: middle;
	text-align: center;
	font-family: tahoma, tahoma, tahoma, tahoma;
	font-weight: normal;
	font-size: 11px;
}

/*=============================
M
K  block styles
P
=============================*/
/* used in functions.php (function main_page) */
.blocks {
	padding: 0px;
}

/* block header/footer corner images - portal skin only */
.tdmenblock {
	font-size: 0px;	
	padding: 0px;  
	margin: 0px; 
	vertical-align: top;
	background-color:#ffffff;
}

/* block td cell */
.tdblock {
	font-family: tahoma, tahoma, tahoma, tahoma;
	font-size: 11px;
	font-weight: normal;
	margin: 2px;
	padding: 3px 5px 3px 5px;	
}

/* block title bar */
.sottotitolo {
	vertical-align: middle;	
	text-align: right;
	font-family: tahoma, tahoma, tahoma, tahoma;
	font-size: 11px;
	font-weight: bold;	
	/* color: #535a62; */		 
}

/* horizontal spacer between blocks */
.tdspacer {
	line-height: 3px;
}

/*=============================
M
K  module global styles
P
=============================*/
/* module table headings */
.modulex {	
	background-color: #ecf2f6;
	height: 25px;
}

th.modulex {	 
	color: #535a62; 
	font-family: tahoma, tahoma, tahoma, tahoma; 
	background-color: #ecf2f6 !important;
	background-image: none !important;
	height: 25px;
	/* font-weight: normal;*/
	white-space: nowrap;
}

/* Reviews description text */
.modulelite {
	font-size: 8pt;
	color:#a6bbcd;
}

/* center block padding (news, admin) */
.contents {
	padding: 10px;
}

/* module pagination links */
.mkpagelink {
	background-color: #f0f5fa;
	border: 1px solid #072a66;
	padding:1px 3px 1px 3px;
	color: #000;
	font-weight: normal;
}

.mkpagelinklast {
	background-color: #dfe6ef;
	border: 1px solid #072a66;
	padding:1px 3px 1px 3px;
	color: #000;
	font-weight:normal;
}

.mkpagecurrent {
	background-color: #ffc9a5;
	border: 1px solid #072a66;
	padding:1px 3px 1px 3px;
	color: #000;
	font-weight:normal;
}

/* admin cp titles with top border - used in frontend and backend */
.titadmin {
	margin: 0px;
	font-weight: normal;
	font-size: 11px; 
	color: #00aeff;
	border-top: 1px solid #023a55;
}
/*=============================
M
K  shoutbox module styles
P
=============================*/
/* module table with border (shoutbox, news) */
div.taburlo {	
	width: 100%; /* center in IE */	
}

td.taburlo{
	margin:1px;
	padding:1px;
	border: 0;
}
	
/* shouter and date cell */
.urlo {
	line-height: 18px;
	vertical-align: bottom;
	text-align: right;	
	font-weight: normal;
	font-size: 11px;
	/* color: #535a62; */
	padding: 4px;		 
}

/* shout cell */
.urlo2 {
	background-color:#eff3f4;
	padding: 4px;	
	/* border-bottom: 1px solid #5c88c8; */
	border-width: 0 0 1px 0;
	border-style: solid;
	text-align: right;
	color: #167aa8;
	font-size: 11px;
	font-weight: normal;
}

/* white shouter text */
.urlocontrast {	
	color:#99CC00;
}

/*=============================
M
K  news module styles
P
=============================*/
/* news table with border */
.tabnews {
	border: 0px solid #c6ddf3;
	margin:0px; 
	padding:0px;
	font-size: 11px;
	color: #535a62;	
}

/*=============================
M
K  font styles
P
=============================*/
/* red error page text */
.mkerror {	
	font-size: 12pt;
	color: #ff0000;
	font-weight:normal;
}

/* MKPQuote quotation text */
.mkquote { 		
	color: #99CC33;	
}

/* MKPGallery module ecard, offline page */
.ecardtitle,
.offlinetxt {
	font-size: 10pt; 
	font-weight: normal;
	text-align: center;
}

/*=============================
M
K  BBcode quote styles
P
=============================*/
.mkquoteball {
	font-size: 9px; 
	color: #535a62;
	font-family: tahoma, tahoma, tahoma, tahoma;
	font-weight: normal;
	background-color: #fffffa;	
	padding: 0;	
	direction: ltr
}

.mkquotetext {
	font-size: 11px; 
	color: #535a62;
	font-family: tahoma, tahoma, tahoma, tahoma;
	font-weight: normal;
	background-color: #fffffa;
	margin: 0;
	padding: 0;	
	direction: ltr
}
table .mkquotetable{				
	width: auto; /* IE */	
	text-align: right;
	direction: ltr
}

/* Added in C1.2 */
/* Table background highlight */
.bghighlight1 {
	background-color: #ecf2f6;
}
/* Table background highlight 2 */
.bghighlight2 {
	background-color: #EFCBCB;
}
/* mkportal footer copyright - Do not remove, modify or obscure the copyright text */
.mkcopyright {
	font-size: 11px;
}
.mkcopyright a {
	text-decoration: none;
}
/* Calendar block current day highlighting */
#mkcaltoday {
	border:1px;
	border-style:outset;
	background-color: #ffff00;
}


/* RTL alignment */

/* needed for collapse columns javascript */
#menudx,
#menusx {
	 direction: rtl;
}

/* default is "left" */
.mkalign1 {
	text-align: right;
}

/* default is "right" */
.mkalign2 {
	text-align: left;
}

/* align link icons  */
img.mkicon {
	float: right;
	margin-left: 2px
}

/* format block alignment */
.tablemenu {
	direction: rtl;
	text-align: right /* needed for IE */
 }

/* These declarations override default styles.
 * These classes are edited above.
 * They are included here for reference */

/*
#mkwrapper,
#mklogostrip,
.navigatore,
.sottotitolo,
.urlo,
.urlo2,
table .mkquotetable {
	text-align: right;
}
.mkquoteball,
.mkquotetext,
table .mkquotetable {
	direction: ltr
}
*/

.gallback {
	background-color: #FFFFFF;
}
/* top row links color */
a.hdrlinks:link {
	font-family: tahoma;
	font-size: 11px; 
	color: #ffffff; 
	font-weight: normal;
	text-decoration: none
}

a.hdrlinks:visited {	
	font-size: 11px; 
	color: #ffffff; 
	font-weight: normal;
	text-decoration: none
}


a.hdrlinks:hover {
	font-size: 11px; 
	color: #ffffff; 
	font-weight: normal;
	text-decoration: underline;
}

#srchbtn {
	border: 0px;
}

#mkblkinputsx {
	background-color:#fefcf1;
 	font-size: 11px;
	border: 1px solid #14b4f2;
	margin: 1px;
	padding: 3px;
}

/* this is used to drop main bg over usual bg */
#containermain{background:url(images/backg.png) repeat-x top; height:100%; margin:0; padding:0; }
