﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body
{
  background-color: #ffffff;
  font-size: .75em;
  font-family: Verdana, Helvetica, Sans-Serif;
  margin: 0;
  padding: 0;
  color: #696969;
}

a:link
{
  color: #034af3;
  text-decoration: underline;
}
a:visited
{
  color: #505abc;
}
a:hover
{
  color: #1d60ff;
  text-decoration: none;
}
a:active
{
  color: #12eb87;
}

p, ul
{
  margin-bottom: 20px;
  line-height: 1.6em;
}

/* HEADINGS
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6
{
  font-size: 1.5em;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
}

h1
{
  font-size: 2em;
  padding-bottom: 0;
  margin-bottom: 0;
}
h2
{
  padding: 0 0 10px 0;
}
h3
{
  font-size: 1.2em;
}
h4
{
  font-size: 1.1em;
}
h5, h6
{
  font-size: 1em;
}

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
  margin-top: 0;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page
{
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

#header
{
  position: relative;
  margin-bottom: 0px;
  color: #000;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px #5C87B2 solid;
}

#header h1
{
  font-weight: bold;
  padding: 5px 0;
  margin: 0;
  color: #5c87b2;
  border: none;
  line-height: 2em;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 32px !important;
}

#main
{
  clear: both;
  padding: 0px 30px 15px 30px;
  background-color: #fff;
  margin-bottom: 30px;
  _height: 1px; /* only IE6 applies CSS properties starting with an underscrore */
}

#footer
{
  clear: both;
  color: #999;
  padding: 10px 0;
  text-align: center;
  line-height: normal;
  margin: 0;
  font-size: .9em;
}

/* TAB MENU   
----------------------------------------------------------*/
ul#menu
{
  border-bottom: 1px #5C87B2 solid;
  padding: 0 0 2px;
  position: relative;
  margin: 0;
  text-align: right;
}

ul#menu li
{
  display: inline;
  list-style: none;
}

ul#menu li#greeting
{
  padding: 10px 20px;
  font-weight: bold;
  text-decoration: none;
  line-height: 2.8em;
  color: #5c87b2;
}

ul#menu li a
{
  padding: 10px 20px;
  font-weight: bold;
  text-decoration: none;
  line-height: 2.8em;
  background-color: #e8eef4;
  color: #034af3;
}

ul#menu li a:hover
{
  background-color: #5c87b2;
  text-decoration: none;
}

ul#menu li a:active
{
  background-color: #a6e2a6;
  text-decoration: none;
}

ul#menu li.selected a
{
  background-color: #5c87b2;
  color: #000;
}

/* MISC  
----------------------------------------------------------*/
.clear
{
  clear: both;
}

.error
{
  color: Red;
}

#menucontainer
{
  margin-top:40px;
}

#title
{
  display:block;
  float:left;
  text-align:left;
}

#logindisplay
{
  color:#5c87b2;
  position: absolute;
  right: 0;
  margin-top: 1em;
}
#logindisplay img
{
  float: left;
  margin-right: 0.5em;
}

.field-validation-error
{
  color: #ff0000;
}

.input-validation-error
{
  border: 1px solid #ff0000;
  background-color: #ffeeee;
}

.validation-summary-errors
{
  font-weight: bold;
  color: #ff0000;
}

#title h1
{
  color: gray;
}

.logo
{
 vertical-align: text-bottom;
}

.note
{
  float: right;
  overflow: hidden;
  max-width: 25%;
  padding: 0 0 2em 1em;
  border-left: dotted 2px #5c87b2;
  margin-left: 1em;
}
  .note ul
  {
    margin: 0 0 1em 0;
    padding: 0;
  }
  .note ul li
  {
    margin-left: 1.5em;
  }
.field
{
  width: 97%;
}

a.main
{
  text-decoration: none;
}
a:link,
a:visited
{
  color: #5c87b2;
}

.relogin
{
  font-size: 0.7em;
  color: Red;
}

/* favicons */
i
{
  background: url("http://favicon.yandex.ru/favicon/team23.ru/livejournal.com/lenta.ru/blogger.com/wordpress.com/diary.ru/movister.ru/kinopoisk.ru") no-repeat 0 0;
  display: inline-block;
  height: 16px;
  width: 16px;
  vertical-align: text-top;
}
i.favicon { background: url("http://metrika.yandex.ru/i/new-window.png") 4px 2px no-repeat; }
i.i1 { background-position: 0 -16px; }
i.i2 { background-position: 0 -32px; }
i.i3 { background-position: 0 -48px; }
i.i4 { background-position: 0 -64px; }
i.i5 { background-position: 0 -80px; }
i.i6 { background-position: 0 -96px; }
i.i7 { background-position: 0 -112px; }

.note.info
{
  min-width: 25%;
}

body.profile_page
{
  display: none;
}
span.s
{
  padding-right: 1em
}

#vk_like
{
  width: 100px !important;
  margin: 0
}

.adv
{
  text-align: center;
  margin-top: 2em;
}

.profile
{
  color: gray;
}
