/* ************************************* */
/* Common styles for the theme           */
/* ************************************* */

/* Normal, standard links. */
a:link
{
	color: #476C8E;
	text-decoration: none;
}
a:visited
{
	color: #476C8E;
	text-decoration: none;
}
a:hover
{
	text-decoration: underline;
}

/* Tables should show empty cells. */
table
{
	empty-cells: show;
}

/* set a fontsize that will look the same in all browsers. */
body
{
	font: 12px/120% Verdana, Helvetica, sans-serif;
	background: #fffdfe;
	margin: 0;
	padding: 0;
}

/* use dark grey for the text, leaving black for headers etc */
body, td, th , tr
{
	color: #444444;
}




/***********************************************************************/




table#header{
  /*border:3px solid #000;*/
  position:absolute;
  top:0;
  text-align:center;
  width:100%;
  height:42px;
  background: url(http://forum.myplace.com.ua/menu_bg_shadow.png); /* Путь к фоновому изображению */
  z-index:99999;
  font-size:12px;
  font: 12px "Lucide Sans Unicode", "Lucida Grande", Arial , sans-serif; /* Basic font size: 12px, line-height: 15px */
}
 @media screen{
  body>table#header{
   position:fixed;
  }
 }

ul#menu{padding-top:0px;}
ul.menus {list-style:none; margin:0; padding:0; text-decoration:none;}
ul.menus * {margin:0; padding:0; text-decoration:none; }
ul.menus a {display:block; color:#747474; text-decoration:none; text-align:center;}
ul.menus li {position:relative; float:left; margin-right:2px;}
ul.menus li a#borders{  background:url('menu_line.gif');background-position:left;background-repeat:no-repeat;padding-right:16px;padding-left:19px;}
ul.menus ul {position:absolute; left:0; background:#a7d339; display:block; list-style:none;}
ul.menus ul li {position:relative; border-top:none;border-bottom:1px solid #b7e640; border-right:none; border-left:none;width:158px; margin:0;}
ul.menus ul li a {display:block; padding:3px 7px 5px; background-color:#a7d339 font-size:11px; text-align:left; color:#fff;}
ul.menus ul li a:hover {background-color:#8dc500;  text-decoration:none; text-align:left;  color:#000;}
ul.menus ul ul {left:158px; top:-1px;}
ul.menus .menulink {padding:5px 7px 7px; font-weight:bold;  width:auto;}
ul.menus .menulink:hover, ul.menu .menuhover { text-decoration:none}
ul.menus .sub {background:#a7d339 136px 8px no-repeat}
ul.menus .topline {border-top:1px solid #b7e640}



/***********************************************************************/




#bodyarea
{
  margin: 5px 5px 0 5px;
  padding: 1px;
  border: 1px solid #f5f3f4;
  background-color: #f5f3f4;
}
#bodyarea2
{
  padding: 10px;
  border: 1px solid #dedcdd;
  background: url(images/bodyarea2.gif) top #fffdfe repeat-x;
}

/* lets give all forms zero padding/margins */
form
{
	padding: 0px;
	margin: 0px;
}

/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button
{
	color: #000000;
	font-family: verdana, sans-serif;
}
input, button
{
	font-size: 90%;
}

textarea
{
	font-size: 100%;
	color: #000000;
	font-family: verdana, sans-serif;
}

/* All input elements that are checkboxes or radio buttons. */
input.check
{
	border: none;
}

/* Selects are a bit smaller, because it makes them look even better 8). */
select
{
	font-size: 90%;
	font-weight: normal;
	color: #000000;
	font-family: verdana, sans-serif;
}

/* Standard horizontal rule.. ([hr], etc.) */
hr, .hrcolor
{
	height: 1px;
	border: 0;
	color: #9dc0d8;
	background-color: #9dc0d8;
}

/* By default set the color on these tags as black. */
h1, h2, h3, h4, h5, h6, h7
{
	color: black;
	font-size: 0.9em;
	margin: 0;
	padding: 0;
}

/* No image should have a border when linked. */
a img
{
	border: 0;
}

/* No lines around buttons in Firefox! */
a
{
	outline: none;
}

/* Reset all lists. */
ul, ul li
{
	padding: 0;
	margin: 0;
	list-style: none;
}

/* We can define lists to be lists tho! */
ul.normallist
{
	padding-left: 2em;
}

ul.normallist li
{
	list-style: disc;
}

/* ************************************* */
/* Some handy custom classes             */
/* ************************************* */

.floatright
{
	float: right;
}
.floatleft
{
	float: left;
}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext
{
	font-size: 9px;
	font-family: verdana, sans-serif;
}
.middletext
{
	font-size: 10px;
}
.pages
{
	font-size: 10px;
}
.normaltext
{
	font-size: 1em;
}
.largetext
{
	font-size: 1.4em;
}

/* This style will make sure all headers use the same padding throughout. */
.headerpadding
{
	padding: 10px 10px 10px 10px;
}
/* smaller padding used in paragraphs, sections etc */
.smallpadding
{
	padding: 0.2em;
}
/* larger padding used in paragraphs, sections etc */
.largepadding
{
	padding: 0.7em;
}

/* A small space to the next section. */
.marginbottom
{
	margin-bottom: 1em;
}
/* On the top too. */
.margintop
{
	margin-top: 1em;
}
/* remove bold/italic styles */
span.plainstyle
{
	font-weight: normal;
	font-style: normal;
}
/* float a list horizontally */
ul.horizlist
{
	width: 100%;
}
ul.horizlist li
{
	float: left;
	padding: 0.2em 0.4em 0.2em 0.4em;
	vertical-align: top;
}
/* make a inline-list */
ul.nolist li
{
	display: inline;
}
/* Helping style to clear floated items. */
.clearfix:after
{
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix
{
	display: inline-block;
}

/* Hides from IE-mac. \*/
* html .clearfix
{
	height: 1%;
}
.clearfix
{
	display: block;
}
/* End hide from IE-mac. */

/* ************************************* */
/* Some specific SMF elements            */
/* ************************************* */

/* A quote, perhaps from another post. */
blockquote
{
  border: solid #476c8e 1px;
  border-left:solid #476c8e 5px;
  border-top: none;
  margin: 0px 0px 10px 0px;
  padding: 15px;
  color:#333;
  font-style: italic;
  font-size: 12px;
  background: #fcfcfc;
}

/* A code block - maybe even PHP ;). */
code
{
	background-color: #FFF;
	display: block;
	font-family: "courier new", "times new roman", monospace;
	font-size: x-small;
	line-height: 1.3em;
	/* Put a nice border around it. */
  border: dotted #666 1px;
  border-left:solid #72879a 5px;
  margin:0px;
  padding:15px;
  color:#333;
  font-style:italic;
	/* Stop after about 24 lines, and just show a scrollbar. */
	max-height: 24em;
	overflow: auto;
}

/* The "Quote:" and "Code:" header parts... */
.quoteheader
{
	border: solid #476c8e 1px;
	border-left:solid #476c8e 5px;
	border-bottom: none;
	background: #d2e1e9 url(images/quote_bg.gif) no-repeat top right;
	color: #000000;
	margin: 10px 0px 0px 0px;
	padding-left: 10px;
	padding: 7px;
	text-decoration: none;
	font-style: normal;
	font-weight: bold;
	font-size: x-small;
	line-height: 1.2em;
}

codeheader
{
	color: #000000;
	text-decoration: none;
	font-style: normal;
	font-weight: bold;
	font-size: x-small;
	line-height: 1.2em;
	width: 100%;
}

.cutheader
{
	border: solid #476c8e 1px;
	border-left:solid #476c8e 5px;
/*	border-bottom: none;*/
	background: #d2e1e9;
	color: #000000;
	margin: 10px 0px 0px 0px;
	padding-left: 10px;
	padding: 5px;
	text-decoration: none;
	font-style: normal;
	font-weight: bold;
	font-size: x-small;
	line-height: 1.2em;
}


/* For links to change the code stuff... */
.codeoperation
{
	font-weight: normal;
}

/* Styling for BBC tags */
.bbc_color a
{
	color: inherit;
}

.bbc_img
{
	border: 0;
}

.bbc_list
{
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 2em;
}

.bbc_list li
{
	list-style: disc;
}

.bbc_list li li
{
	list-style: circle;
}

.bbc_size
{
	line-height: 1.3em;
}

.bbc_table
{
	font: inherit;
	color: inherit;
}

.bbc_table td
{
	font: inherit;
	color: inherit;
	vertical-align: top;
}

.bbc_u
{
	text-decoration: underline;
}

/* Generally, those [?] icons.  This makes your cursor a help icon. */
.help
{
	cursor: help;
}

/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction
{
	color: red;
}

/* The main post box - this makes it as wide as possible. */
.editor
{
	width: 96%;
}

/* Highlighted text - such as search results. */
.highlight
{
	background-color: yellow;
	font-weight: bold;
	color: black;
}

/* A more discreet highlight colour, for selected membergroups etc. */
.highlight2
{
	background-color: #B3F4B0;
	color: black;
}

/* ************************************* */
/* Real common classes                   */
/* ************************************* */

/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg, #preview_body
{
	color: #000000;
	background-color: #edf1f4;
	border-bottom: 1px solid #e1e5e8;

}
.windowbg2
{
	color: #000000;
	background-color: #f1f5f8;
}
.windowbg3
{
	color: #000000;
  background-color: #f1f5f8;
}

.windowbg4
{
	color: #000000;
	border-bottom: 1px solid #e1e5e8;
}

.windowbg5
{
	color: #000000;
  background: url(images/windowbg5.gif) #f1f5f8 top repeat-x;
}

.windowbg6
{
	color: #000000;
	border-bottom: 0px solid #e1e5e8;
}

/* Color for background of posts requiring approval */
.approvebg
{
   background: url(images/topic_bg.gif) #edf1f4 bottom repeat-x;
   border-left: 3px solid #ecbd90;
   border-right: 3px solid #ecbd90;
}
/* Color for background of *topics* requiring approval */
.approvetbg
{
   background: url(images/aprove_bg.gif) #edf1f4 bottom repeat-x;
   border-bottom: 3px solid #d2e1e9;
}

/* the today container in calendar */
.calendar_today
{
	background-color: #FFFFFF;
}

/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td, #credits h3
{
	color: #5b7083;
	font-style: normal;
	background: url(images/titlebg.jpg) #c3dff2 repeat-x;
	border-bottom: solid 1px #9dc0d8;
	padding-left: 10px;
	padding-right: 10px;
}
.titlebg, .titlebg a:link, .titlebg a:visited
{
	font-weight: bold;
	color: #5b7083;
	font-style: normal;
}

.titlebg a:hover
{
	color: #404040;
}
/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited
{
	color: black;
	font-style: normal;
	text-decoration: underline;
}

.titlebg2 a:hover
{
	text-decoration: underline;
}

/* This is used for categories, page indexes, and several other areas in the forum.
.catbg and .catbg2 is for boardindex, while .catbg3 is for messageindex and display headers. */
.catbg , tr.catbg td , .catbg3 , tr.catbg3 td
{
	background: url(images/catbg.gif) #5b7083 repeat-x;
	color: #ffffff;
	padding-left: 10px;
	padding-right: 10px;
}
.catbg2 , tr.catbg2 td
{
	background: url(images/catbg.gif) #5b7083 repeat-x;
	color: #ffffff;
	padding-left: 10px;
	padding-right: 10px;
}
.catbg, .catbg2, .catbg3
{
	border-bottom: solid 1px #fff;
}
.catbg, .catbg2
{
	font-weight: bold;
}
.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited
{
	color: white;
	text-decoration: none;
}
.catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited
{
	color: white;
	text-decoration: none;
}
.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover
{
	color: #e0e0ff;
}
/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor
{
	padding: 0px;
	background-color: #9dc0d8;
}

.bordercolor2
{
	padding: 0px;
	background-color: red;
}

/* This is used on tables that should just have a border around them. */
.tborder
{
	padding: 1px;
	border: 1px solid #99a2a9;
	background-color: #FFFFFF;
}

/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage
{
	overflow: auto;
	line-height: 1.3em;
	width: 100%;
}
.postarea .post
{
	clear: right;
	float: left;
}
/* add a visual divider between subject and post */
.post .inner
{
	padding-top: 0.7em;
	font-size: 12px;
}

/* All the signatures used in the forum.  If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature
{
	clear: right;
	padding: 1em 0 3px 0;
	border-top: solid 1px #888;
	width: 100%;
	overflow: auto;
	line-height: 1.3em;
	font-size:10px;
}

/* Sometimes there will be an error when you post */
.error
{
	color: red;
}

/* Messages that somehow need to attract the attention. */
.alert
{
	color: red;
}

/* Calendar colours for birthdays, events and holidays */
.birthday
{
	color: #920AC4;
}

.event
{
	color: #078907;
}

.holiday
{
	color: #000080;
}

/* Colours for warnings */
.warn_mute
{
	color: red;
}

.warn_moderate
{
	color: orange;
}

.warn_watch
{
	color: green;
}

a.moderation_link, a.moderation_link:visited
{
	color: red;
	font-weight: bold;
}

.openid_login
{
	background: white url(images/openid.gif) no-repeat;
	padding-left: 18px;
}

/* The AJAX notifier */
#ajax_in_progress
{
	background: #32CD32;
	color: white;
	text-align: center;
	font-weight: bold;
	font-size: 18pt;
	padding: 0.4em;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
}

#ajax_in_progress a
{
	color: white;
	text-decoration: underline;
	font-size: smaller;
	float: right;
}

/* ************************************* */
/* Buttons and menus                     */
/* ************************************* */

.buttonlist ul, .buttonlist_bottom ul
{

	padding-left: 13px;
	padding-bottom: 4px;
	padding-top: 4px;
}
.buttonlist ul li, .buttonlist_bottom ul li
{

	margin: 0;
	padding: 0;
	display: inline;
}
.buttonlist ul li a, .buttonlist ul li a:visited, .buttonlist_bottom ul li a, .buttonlist_bottom ul li a:visited
{
     margin-left: 3px;
	float: left;
	display: block;
	color: #69808e;
	font-size: 0.8em;
	font-family: tahoma, sans-serif;
	text-transform: uppercase;
}
.buttonlist ul li a:hover, .buttonlist_bottom ul li a:hover
{
	color: #65c9eb;
	text-decoration: none;

}
.buttonlist ul li a span, .buttonlist_bottom ul li a span
{
	display: block;
	padding: 0.1em 0.5em 0 0.5em;
}
.buttonlist ul li a.active, .buttonlist_bottom ul li a.active
{
	background: url(images/maintab_active_last.gif) no-repeat bottom right;
	padding-right: 8px;
}
.buttonlist ul li a.active span em, .buttonlist_bottom ul li a.active span em
{
	padding: 0.1em 0.5em 0.5em 0.5em;
	display: block;
	font-style: normal;
	background: url(images/maintab_active_back.gif) repeat-x bottom right;
}
.buttonlist ul li a.active span, .buttonlist_bottom ul li a.active span
{
	background: url(images/maintab_active_first.gif) no-repeat bottom left;
	padding: 0 0 0 8px;
}

/* For links that are basically submit buttons. */
.buttonlist_submit
{
	background: transparent;
	color: white;
	text-transform: uppercase;
	vertical-align: top;
	text-decoration: none;
	font-size: 9px;
	font-family: tahoma, sans-serif;
	border: 0;
}

.buttonlist_submit:hover
{
	color: #e0e0ff;
}

/* ..for the "bottom" menu */
.buttonlist_bottom ul
{
	background-position: -3px;
}
.buttonlist_bottom ul li a span
{
	padding: 0.5em 0.5em 0.1em 0.5em;
}
.buttonlist_bottom ul li a.active
{
	background: url(images/mirrortab_active_last.gif) no-repeat top right;
}
.buttonlist_bottom ul li a.active span em
{
	background: url(images/mirrortab_active_back.gif) repeat-x top right;
}
.buttonlist_bottom ul li a.active span
{
	background: url(images/mirrortab_active_first.gif) no-repeat top left;
}

/* the old type of menu, with images */
.oldbuttonlist
{
	text-align: right;
	padding: 0.5em;
}

/* ************************************* */
/* The below is deprecated.              */
/* ************************************* */

/* definitions for the main tab, active means the tab reflects which page is displayed */
.maintab_first, .maintab_back, .maintab_last, .maintab_active_first, .maintab_active_back, .maintab_active_last
{
	color: white;
	text-transform: uppercase;
	vertical-align: top;

}
.maintab_back, .maintab_active_back
{
	color: white;
	text-decoration: none;
	font-size:  9px;
	vertical-align: top;
	padding: 2px 6px 6px 6px;
	font-family: tahoma, sans-serif;
}

.maintab_first
{
	background: url(images/maintab_first_prev.gif) left bottom no-repeat;
	width: 10px;
}
.maintab_back
{
	background: url(images/maintab_back.gif) left bottom repeat-x;
}
.maintab_last
{
	background: url(images/maintab_last_prev.gif) left bottom no-repeat;
	width: 8px;
}
.maintab_active_first
{
	background: url(images/maintab_active_first.gif) left bottom no-repeat;
	width: 6px;
}
.maintab_active_back
{
	background: url(images/maintab_active_back.gif) left bottom repeat-x;
}
.maintab_active_last
{
	background: url(images/maintab_active_last.gif) left bottom no-repeat;
	width: 8px;
}

/* how links behave in main tab. */
.maintab_back a:link , .maintab_back a:visited, .maintab_active_back a:link , .maintab_active_back a:visited
{
	color: white;
	text-decoration: none;
}

.maintab_back a:hover, .maintab_active_back a:hover
{
	color: #e0e0ff;
	text-decoration: none;
}
/* definitions for the mirror tab */
.mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last
{
	color: white;
	text-transform: uppercase;
	vertical-align: top;
}
.mirrortab_back, .mirrortab_active_back
{
	color: white;
	text-decoration: none;
	font-size: 9px;
	vertical-align: bottom;
	padding: 6px 6px 2px 6px;
	font-family: tahoma, sans-serif;
}

.mirrortab_first
{
	background: url(images/mirrortab_first_prev.gif) no-repeat;
	width: 10px;
}
.mirrortab_back
{
	background: url(images/mirrortab_back.gif) repeat-x;
}
.mirrortab_last
{
	background: url(images/mirrortab_last_prev.gif) no-repeat;
	width: 6px;
}
.mirrortab_active_first
{
	background: url(images/mirrortab_active_first.gif) no-repeat;
	width: 6px;
}
.mirrortab_active_back
{
	background: url(images/mirrortab_active_back.gif) repeat-x;
}
.mirrortab_active_last
{
	background: url(images/mirrortab_active_last.gif) no-repeat;
	width: 8px;
}

/* how links behave in mirror tab. */
.mirrortab_back a:link , .mirrortab_back a:visited, .mirrortab_active_back a:link , .mirrortab_active_back a:visited
{
	color: white;
	text-decoration: none;
}

.mirrortab_back a:hover, .mirrortab_active_back a:hover
{
	color: #e0e0ff;
	text-decoration: none;
}

/* These are for the auto suggest floating div type thing. */
.auto_suggest_div
{
	border: 1px solid #505050;
	position: absolute;
	font-size: .7em;
}

/* An auto suggest item */
.auto_suggest_item
{
	background-color: #FAFAFA;
	padding: 2px;
}

/* hovered auto suggest item */
.auto_suggest_item_hover
{
	background: url(images/autosuggest_back.gif) repeat-x;
	background-color: #7897B4;
	padding: 2px;
	cursor: pointer;
	color: white;
}

.logobg
{
  background: url(images/MP_forum_head.jpg) left no-repeat;
  height: 117px;
}

.shadow_header
{
  width: 304px;
  height: 117px;
  background-color: #ffffff;
}

.profile_hight
{
  background: url(images/profile_hight.png) right bottom no-repeat;
  padding: 10px;
}

.who_
{
  background-color: #f3f4f3;
  border: 1px solid #ced6dd;
}

.profile_look
{
  text-align: center;
  margin: 3px 0 3px 0;
}

.topic_bg
{
   /*background: #edf1f4;*/
   background: url(images/topic_bg.gif) #edf1f4 bottom repeat-x;
   border: 2px solid #d2e1e9;
}
.topic_bg2
{
   /*background: #e1e8ed;*/
   background: url(images/topic_bg2.gif) #e1e8ed bottom repeat-x;
   border: 2px solid #d2e1e9;
}

.copy
{
   background: url(images/smf_rus.gif) center top no-repeat;
}

.test
{
	padding-top: 60px;
	margin-left: -15%;
	float: left;
	width: 42px;
	font-size: 7px;
	padding-left: 2px;
}

.test2
{
	padding-top: 50px;
	margin-left: -18%;
	float: left;
	font-size: 7px;
	padding-left: 2px;
}

.test3
{
	width: 15%;
	padding-top: 95px;
	margin-left: -15%;
	float: left;
	font-size: 11px;
	padding-left: 2px;
}

.awardDiv {
	position:absolute;
	z-index:2;
	margin:60px 0 0 -22px;
}

.aD_t_r {
	height:6px;
	background: url(images/awardbg_t_r.png) no-repeat 100% 0;
}

.aD_t_c {
	margin-right:6px;
	height:6px;
	background: url(images/awardbg_t_c.png) repeat-x 0 0;
}

.aD_c_r {
	background: url(images/awardbg_c_r.png) repeat-y 100% 0;
}

.aD_c {
	padding-left:25px;
	margin-right:6px;
	background: url(images/awardbg_c.png) repeat 0 0;
}

.aD_b_r {
	height:6px;
	background: url(images/awardbg_b_r.png) no-repeat 100% 0;
}

.aD_b_c {
	margin-right:6px;
	height:6px;
	background: url(images/awardbg_b_c.png) repeat-x 0 0;
}

.award_pad {
	padding-bottom:5px;
}

 /* Spoiler Tag Mod */
 fieldset.spoiler
 {
 	 border: 1px dashed gray;
 }

 fieldset.spoiler > legend
 {
 	font-size: 1.2em;
 }
 div.spoilerheader a
 {
 	font-family: sans-serif;
 	font-size: 1.1em;
 	font-weight: bold;
 }
 div.spoilerheader input
 {
 	background-color: #cececc;
 	color: #3e3e33;
 	font: 0.9em sans-serif;
 }
 div.spoilerbody
 {
 	color: #0f0f0f;
 	border: 1px dotted gray;
 	padding: 1em;
 	margin: 1em;
 }
 fieldset.spoiler div.spoilerbody
 {
 	border: 0px;
 	padding: 0em;
 }

     /* Spoiler Tag Mod */
     fieldset.spoiler
     {
     border: 1px dashed gray;
     }
     fieldset.spoiler > legend
     {
     font-size: 1.2em;
     }
     div.spoilerheader a
     {
     font-family: sans-serif;
     font-size: 1.1em;
     font-weight: bold;
     }
     div.spoilerheader input
     {
     background-color: #cececc;
     color: #3e3e33;
     font: 0.9em sans-serif;
     }
     div.spoilerbody
     {
     color: #0f0f0f;
     border: 1px dotted gray;
     padding: 1em;
     margin: 1em;
     }
     fieldset.spoiler div.spoilerbody
     {
     border: 0px;
     padding: 0em;
     }

