/* --------------------------------------------------------------------------------------
   generic elements
   --------------------------------------------------------------------------------------
*/

html, body
{
  height: 100%;
}
html>body
{
  height: auto;
  min-height: 100%;
}
body
{
  margin: 0;
  color: #000000;
  background-color: #ffffff;
  font-family: arial, sans-serif;
  font-size: 80%;
}

a
{
  color: #E73877;
  text-decoration: underline;
}
a:hover, a:active
{
  color: #CC1E5C;
}

img
{
  border: 0;
}

table
{
  font-size: 100%;
}
td
{
  vertical-align: top;
  padding: 0;
}

form
{
  margin: 0;
}
input, select, textarea
{
	font-family: arial, sans-serif; 
  font-size: 100%;
  font-weight: normal;
	vertical-align: middle; 
}
optgroup
{
  font-size: 85%;
  font-weight: bold;
  font-style: normal;
}

h1
{
  font-size: 120%;
  color: #e73877;
  text-transform: uppercase;
  margin: 0 0 1em 0;
}
h2
{
  font-size: 110%;
  color: #e73877;
  text-transform: uppercase;
  margin: 0 0 0.75em 0;
}
h3
{
  font-size: 100%;
  color: #e73877;
  margin: 0 0.5em 0.5em 0;
}
h4
{
  font-size: 120%;
  color: #e73877;
  font-weight: normal;
  margin: 0 0 0.25em 0;
}

ul, ol
{
  padding: 0;
  margin: 0 0 1em 17px;
}
ul
{
  list-style: square outside;
}

li
{
  margin-bottom: 0.25em;
}
li ul, li ol 
{
  font-size: 85%;
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}
li li ul, li li ol
{
  font-size: 100%;
}

p
{
  margin: 0 0 1em 0;
}

hr
{
  color: #E2F0FE;
  background-color: #E2F0FE;
  border: none;
  height: 1px;
  padding: 0;
  margin: 1.5em 0;
}

/* --------------------------------------------------------------------------------------
   common classes
   --------------------------------------------------------------------------------------
*/

.px      { width: 1px; height: 1px; }
.fill    { width: 100%; height: 100%; }
.wide    { width: 100%; }
.high    { height: 100%; }

.center  { text-align: center; }
.right   { text-align: right; }
.left    { text-align: left; }
.justify { text-align: justify; }

.top     { vertical-align: top; }
.middle  { vertical-align: middle; }
.bottom  { vertical-align: bottom; }

.nowrap  { white-space: nowrap; }

.bold    { font-weight: bold; }
.italic  { font-style: italic; }

.big     { font-size: 120%; }
.small   { font-size: 85%; }

/* --------------------------------------------------------------------------------------
   specific classes
   --------------------------------------------------------------------------------------
*/

.mb15 {
  margin-bottom: 15px;
}

a.selected
{
  color: #CC1E5C;
  text-decoration: none;
  font-weight: bold;
}

a.with_arrow
{
  font-size: 85%;
  padding-left: 14px;
  background: url(../i/icon_arrow2.gif) no-repeat 0 50%;
}

.page_nav
{
  font-size: 85%;
  margin: 1em 0 2em 0;
}

.list_articles_img img
{
  margin: 0.25em 1em 1em 0;
}
.list_articles_text
{
  padding-bottom: 1.5em;
}
td.list_articles_text
{
  width: 100%;
}

.float_clear
{
  clear: both;
}

.padb05
{
  padding-bottom: 0.5em;
}
.padb1
{
  padding-bottom: 1em;
}
.padr1
{
  padding-right: 1em;
}

/* --------------------------------------------------------
   user's content formatting (differences of generic formatting)
   --------------------------------------------------------
*/

.user_content
{
  clear: both;
}

.user_content img.l_float
{
  position: relative;
  float: left;
  margin: 0 1em 1em 0;
}
.user_content img.r_float
{
  position: relative;
  float: right;
  margin: 0 0 1em 1em;
}

.user_content table, .common_table
{
  border-top: 1px #bedfff solid;
  border-left: 1px #bedfff solid;
  margin-bottom: 1em;
}
.user_content table th, .common_table th
{
  padding: 0.5em;
  background-color: #bedfff;
  font-weight: normal;
  text-align: left;
}
.user_content table td, .common_table td
{
  padding: 0.5em;
  background-color: #f6faff;
  border-right: 1px #bedfff solid;
  border-bottom: 1px #bedfff solid;
}

.user_content img, .common_img
{
  border: 2px #E94680 solid;
  padding: 1px;
  background-color: #ffffff;
}

.user_content table
{
  clear: both;
}

.user_content p {
    text-align: justify;
}

img.lfloat
{
  position: relative;
  float: left;
  margin: 0 1em 1em 0;
}

/* --------------------------------------------------------
   common form
   --------------------------------------------------------
*/

input.text, select, textarea
{
  color: #000000;
	background-color: #E9F4FE;
  border: #ABD7FF 1px solid;
}

.form_element
{
  position: relative;
  margin-bottom: 0.5em;
}
.form_label
{
  font-size: 85%;
}
.form_element input.text, .form_element select, .form_element textarea 
{
  width: 275px;
}
.form_element textarea
{
  height: 100px;
}
.form_error
{
  font-weight: bold;
  color: #e73877;
}

/* --------------------------------------------------------
   common menu block
   --------------------------------------------------------
*/

ul.menu
{
  color: #e73877;
}
ul.menu li ul
{
  list-style-image: url(../i/blank.gif);
}


/* --------------------------------------------------------
   common icon
   --------------------------------------------------------
*/

.icon
{
  height: 11px;
  width: 11px;
  margin: 0 0.5em;
}

/* --------------------------------------------------------
   block corners
   --------------------------------------------------------
*/

.corner_tl
{
  position: absolute;
  top: 0;
  left: 0;
}
.corner_tr
{
  position: absolute;
  top: 0;
  right: 0;
}
.corner1
{
  height: 16px;
  width: 10px;
}
.corner2
{
  height: 20px;
  width: 10px;
}

/* --------------------------------------------------------
   rounded frame (on white and blue bagkground)
   --------------------------------------------------------
*/

.rframe, .rframe1 
{
  position: relative;
  background-color: #E9F4FE;
  border-bottom: 1px #ffffff solid; /* fix block height for stupid IE */
}
.rframe1 
{
  border-bottom: 1px #f6faff solid; /* fix block height for stupid IE */
}
.rframe div, .rframe1 div
{
  position: relative;
}
.tside, .bside, .lside, .rside
{ background-image: url(../i/bluepx.gif);
}
.tside
{ background-repeat: repeat-x;
  background-position: top; 
}
.bside
{ background-repeat: repeat-x;
  background-position: bottom; 
}
.lside
{ background-repeat: repeat-y;
  background-position: left; 
}
.rside
{ background-repeat: repeat-y;
  background-position: right; 
}
.rframe .tlc
{ background: url(../i/cornerf0_tl.gif) no-repeat left top;
}
.rframe .trc
{ background: url(../i/cornerf0_tr.gif) no-repeat right top;
}
.rframe .blc
{ background: url(../i/cornerf0_bl.gif) no-repeat left bottom;
}
.rframe .brc
{ background: url(../i/cornerf0_br.gif) no-repeat right bottom;
}
.rframe1 .tlc
{ background: url(../i/cornerf1_tl.gif) no-repeat left top;
}
.rframe1 .trc
{ background: url(../i/cornerf1_tr.gif) no-repeat right top;
}
.rframe1 .blc
{ background: url(../i/cornerf1_bl.gif) no-repeat left bottom;
}
.rframe1 .brc
{ background: url(../i/cornerf1_br.gif) no-repeat right bottom;
}
.rframe_content
{
  padding: 0.5em 1em;
}

/* --------------------------------------------------------
   list of 2 columns
   --------------------------------------------------------
*/

.list_2cols
{
  position: relative;
}
.list_2cols .list_1col
{
  width: 50%;
  padding-right: 1em;
  background: none;
}
.list_2cols .list_2col
{
  width: 50%;
  padding-left: 1em;
  background: none;
}

/* --------------------------------------------------------------------------------------
   main container
   --------------------------------------------------------------------------------------
*/

#container
{
  position: absolute;
  height: 100%;
  width: 100%;
}
body>#container
{
  height: auto;
  min-height: 100%;
  width: auto;
  min-width: 100%;
}

/* --------------------------------------------------------------------------------------
   main frame
   --------------------------------------------------------------------------------------
*/

#main_frame
{
  position: relative;
  width: 100%;
  margin-bottom: 140px;
  background: url(../i/bg_r0.png) no-repeat 100% 75px;
  z-index: 10;
}

#main_frame .col1
{
  width: 75%;
}
#main_frame .col2
{
  width: 25%;
}

/* --------------------------------------------------------------------------------------
   head
   --------------------------------------------------------------------------------------
*/

#head
{
  height: 172px;
}

#head .col1
{
  vertical-align: bottom;
}
#head .col2
{
  vertical-align: middle;
}

#logo
{
  position: relative;
  height: 80px;
  width: 226px;
  margin-left: -7px;
}

/* --------------------------------------------------------
   service menu
   --------------------------------------------------------
*/

#servicemenu
{
  position: absolute;
  top: 8px;
  right: 20px;
}
#servicemenu td
{
  padding: 0 1em;
  vertical-align: middle;
  white-space: nowrap;
}
#servicemenu td.inner
{
  border-left: 1px #BFBFBF solid;
  border-right: 1px #BFBFBF solid;
}
#servicemenu img
{
  height: 12px;
  vertical-align: middle;
}
#servicemenu input
{
  margin-left: 0.5em;
}

/* --------------------------------------------------------------------------------------
   right column
   --------------------------------------------------------------------------------------
*/

#body .col2
{
  padding: 0 3em;
  background: url(../i/bg_r1.png) no-repeat 100% 30%;
}
#body .col2 h1
{
  margin-bottom: 0.5em;
}
#body .col2 h1 img
{
  height: 13px;
}

/* --------------------------------------------------------
   main menu
   --------------------------------------------------------
*/

#mainmenu
{
  margin-bottom: 2em;
}
#mainmenu hr
{
  width: 80%;
  text-align: left;
  margin: 0 0 0.25em 0;
}
#mainmenu>hr /* fix HR height for IE */
{
  width: 100%;
  margin: 0.25em 0 0.5em 0;
}

/* --------------------------------------------------------
   contacts on right column
   --------------------------------------------------------
*/

#right_contacts
{
  margin-bottom: 2.5em;
  font-size: 85%;
}

/* --------------------------------------------------------
   subscribe
   --------------------------------------------------------
*/

#subscribe
{
  margin-bottom: 2.5em;
  font-size: 85%;
}

/* --------------------------------------------------------
   banners
   --------------------------------------------------------
*/

#wbenrek
{
  margin-bottom: 2.5em;
}
.wbenrek_place
{
margin-bottom:1em;
margin-right:82px;
text-align:center;
}

/* --------------------------------------------------------------------------------------
   footer
   --------------------------------------------------------------------------------------
*/

#footer
{
  position: absolute;
  height: 140px;
  width: 100%;
  right: 0;
  bottom: 0;
}

#footer_lcorner
{
  position: absolute;
  left: 0;
  bottom: 0;
  height: 133px;
  width: 581px;
}
#footer_rcorner
{
  position: absolute;
  right: 0;
  bottom: 0;
  height: 364px;
  width: 419px;
}
#footer_content
{
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
}
#footer_content .col1
{
  font-size: 75%;
  color: #b7b7b7;
  padding: 0 1em 1em 4em;
}
#footer_content .col1 a, 
#footer_content .col1 a:hover,
#footer_content .col1 a:active
{
  color: #b7b7b7;
}
#footer_content .col2
{
  height: 50px;
  width: 100%;
  padding-right: 120px;
  white-space: nowrap;
  text-align: center;
}
#footer_content .col2 a
{
  margin-right: 25px;
}
#footer_content .col2 a img
{
  height: 13px;
}
#footer_content .col3
{
  padding: 0 3em 1em 1em;
}

/* --------------------------------------------------------
   Magic Wand logo
   --------------------------------------------------------
*/

#magic_wand
{
  font-family: Arial;
  font-size: 75%;
  white-space: nowrap;
  color: #345CB9;
}
#magic_wand a, #magic_wand a:hover, #magic_wand a:active 
{
  text-decoration: none;
  color: #345CB9;
}
#magic_wand img
{
  position: absolute;
  width: 28px;
  height: 29px;
}
#magic_wand div
{
  margin-left: 35px;
  margin-right: 0;
}
#magic_wand div span
{
  font-size: 110%;
  font-weight: bold;
  text-transform: uppercase;
}
