@import "iconize.css";

/* --------------------------------------------------------------

   reset.css
   * Resets default browser CSS.

-------------------------------------------------------------- */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, dialog, figure, footer, header,
hgroup, nav, section {
   margin: 0;
   padding: 0;
   border: 0;
   font-weight: inherit;
   font-style: inherit;
   font-size: 100%;
   font-family: inherit;
   vertical-align: baseline;
}

article, aside, dialog, figure, footer, header,
hgroup, nav, section {
   display:block;
}

body {
   line-height: 1.5;
}

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* Remove annoying border on linked images. */
a img { border: none; }


/* --------------------------------------------------------------

   typography.css
   * Sets up some sensible default typography.

-------------------------------------------------------------- */

/* Default font settings.
   The font-size percentage is of 16px. (0.75 * 16px = 12px) */
html { font-size:100.01%; }
body {
   font-size: 75%;
   color: #222;
   background: #fff;
   font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}


/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #000; }

h1 { font-size: 1.8em; margin-bottom: 0.5em;}
h2 { font-size: 1.6em; margin-bottom: 0.8em; }
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }

h1 img, h2 img, h3 img,
h4 img, h5 img, h6 img {
   margin: 0;
}


/* Text elements
-------------------------------------------------------------- */

p           { padding: 0 0 1.5em 0; line-height: 1.2em}
p img.left  { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }

a:focus,
a:hover     { color: #000; }
a           { color: #009; text-decoration: underline; }

blockquote  { margin: 1.5em; color: #666; font-style: italic; }
strong      { font-weight: bold; }
em,dfn      { font-style: italic; }
dfn         { font-weight: bold; }
sup, sub    { line-height: 0; }

abbr,
acronym     { border-bottom: 1px dotted #666; }
address     { margin: 0 0 1.5em; font-style: italic; }
del         { color:#666; }

pre         { margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }


/* Lists
-------------------------------------------------------------- */

li ul,
li ol       { margin: 0; }
ul, ol      { margin: 0 1.5em 1.5em 0; padding-left: 3.333em; }

ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;}


/* Tables
-------------------------------------------------------------- */

table       { margin-bottom: 1.4em; width:100%; }
th          { font-weight: bold; }
thead th    { background: #c3d9ff; }
th,td,caption { padding: 4px 10px 4px 5px; }
tr.even td  { background: #e5ecf9; }
tfoot       { font-style: italic; }
caption     { background: #eee; }


/* Misc classes
-------------------------------------------------------------- */

.small      { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
.large      { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
.hide       { display: none; }

.quiet      { color: #666; }
.loud       { color: #000; }
.highlight  { background:#ff0; }
.added      { background:#060; color: #fff; }
.removed    { background:#900; color: #fff; }

.first      { margin-left:0; padding-left:0; }
.last       { margin-right:0; padding-right:0; }
.top        { margin-top:0; padding-top:0; }
.bottom     { margin-bottom:0; padding-bottom:0; }


/* --------------------------------------------------------------

   forms.css
   * Sets up some default styling for forms
   * Gives you classes to enhance your forms

   Usage:
   * For text fields, use class .title or .text
   * For inline forms, use .inline (even when using columns)

-------------------------------------------------------------- */

label       { font-weight: bold; }
fieldset    { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
legend      { font-weight: bold; font-size:1.2em; }


/* Form fields
-------------------------------------------------------------- */

input[type=text], input[type=password],
input.text, input.title,
textarea, select {
   background-color:#fff;
   border:1px solid #bbb;
}
input[type=text]:focus, input[type=password]:focus,
input.text:focus, input.title:focus,
textarea:focus, select:focus {
   border-color:#666;
}

input[type=text], input[type=password],
input.text, input.title,
textarea, select {
   margin:0.5em 0;
}

input.text,
input.title   { width: 300px; padding:5px; }
input.title   { font-size:1.5em; }
textarea      { width: 390px; height: 250px; padding:5px; }

input[type=checkbox], input[type=radio],
input.checkbox, input.radio {
   position:relative; top:.25em;
}

form.inline { line-height:3; }
form.inline p { margin-bottom:0; }


/* Success, notice and error boxes
-------------------------------------------------------------- */

.error,
.notice,
.success    { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd; }

.error      { background: #FBE3E4; color: #8a1f11; border-color: #FBC2C4; }
.notice     { background: #FFF6BF; color: #514721; border-color: #FFD324; }
.success    { background: #E6EFC2; color: #264409; border-color: #C6D880; }
.error a    { color: #8a1f11; }
.notice a   { color: #514721; }
.success a  { color: #264409; }

/* --------------------------------------------------------------

   main.css
   СОбСТВЕННЫЕ КЛАССЫ

-------------------------------------------------------------- */


body {
   background: #d6e2e6 url(../img/bg.png) top repeat-x;
   min-width: 960px;
   color: #000;
}
#wrap {
   background: url("../img/einstein2.jpg") 80% -2px no-repeat;
}

a {
   text-decoration: underline;
   color: #b95c66;
}

a:hover{
   text-decoration: none;
}

@font-face{
   font-family: 'Neosans';
   src: url('webfontkit/neosanscyr-regular-webfont.eot');
   src: url('webfontkit/neosanscyr-regular-webfont.eot?iefix') format('eot'),
      url('webfontkit/neosanscyr-regular-webfont.woff') format('woff'),
      url('webfontkit/neosanscyr-regular-webfont.ttf') format('truetype'),
      url('webfontkit/neosanscyr-regular-webfont.svg#webfont') format('svg');
}

h1,h2,h3,h4,h5,h6 {
   color: #000;
   line-height: 1.2em;
   /*font-family: /*'Neosans',*Georgia;*/
}
h1 {
   line-height:30px !important;
   padding: 6px 0 10px 0 ;
   margin: 0 0 10px 0 !important;
}
h2 {
   line-height: 30px !important;
   padding: 6px 0 8px 0;
   margin: 0 0 15px 0 !important;
}
h3 {
   line-height: 30px !important;
   padding: 6px 0 8px 0;
   margin: 0 0 15px 0 !important;
}
h4 {
   line-height: 15px !important;
   padding: 6px 0 8px 0;
   margin: 0 0 15px 0 !important;
   font-size:15px !important;
}
ul {
   padding: 4px 0 0 30px;
   margin: 0 0 12px 0 !important;
}
li {
   line-height:15px;
}
p {
   margin: 15px 0 15px 0 !important;
   padding: 0px 0 0px 0;
   line-height:15px !important;
}

em, strong, code {
   line-height: 100%;
}

.clear {height: 0; clear: both;}

#top_stripe {
   height: 25px;
   background: #566F7B;
   border-top: 5px solid #000;
   position: relative;
   z-index: 15;
}

#top_stripe>div {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 25px;
}

   #nav1 {
      list-style: none;
      margin: 0;
      padding: 0 2px 0 0;
      font-size: 12px;
      color: #fff;
      font-size: 0;
      display: inline-block;
      zoom: 1;
      *display:inline;

   }
   #nav1 li {
      font-size: 12px;
      list-style: none;
   }

   #nav1 a {
      color: #fff;
      display: block;
      margin-left: 2px;
      height: 31px;
      line-height: 31px;
      vertical-align: middle;
      text-decoration: none;
      padding: 0 1ex;
      margin: -5px 3px 0 3px;
   }

   #nav1 a:hover {
      background: #859CA2;
   }

   #nav1>li {
      margin: 0;
      /*position:relative;*/
      display: inline-block;
      zoom: 1;
      *display:inline;
      list-style: none;
   }

   #nav1>li>ul {
      display: none;
      list-style: none;
      position: absolute;
      /*width: auto;*/
      background: #566F7B;
      padding: 0;
      top: 25px;
      margin: 0;
      /*top: 2.5em;
   	left:0;*/
   }

   #nav1 li ul a {
      margin: 0;
      padding: 0em 1em;
      border-bottom: 1px solid #BDD0D6;
   }

   #nav1>li>ul li {
      padding: 0;
      margin: 0;
   }

   .nojs #nav1>li:hover>ul {
      display: block;
   }

   #nav1>li>ul>li ul {
      margin: 0;
      padding: 0;
   }

   #nav1>li>ul>li ul a{
      padding-left: 2em;
   }

   #nav1>li>ul a:hover {
      background: #859CA2;
   }

   #top_stripe #agents {
      float: right;
      height: 24px;
      padding-right: 2px;
      margin-top:-5px;
   }

   #top_stripe #agents a {
      color: #fff;
      display: block;
      float:left;
      margin-left: 2px;
      height: 31px;
      line-height: 31px;
      vertical-align: middle;
      text-decoration: none;
      padding: 0 1ex;
   }

   #top_stripe #agents a:hover {
      background: #859CA2;
   }

#header {
   height: 80px;
   z-index: 10;
   padding-top:40px;
}

   #header #logo {

      z-index: -1;
   }

#main {
}

.mainblock {
   background:#fff;
   border: 1px solid #566F7B;
   border-top: 1px solid #fff;
   overflow: hidden;
}

.activity-menu {
   margin-top: 5px;
   background:#566F7B;
   padding: 10px 10px 0px 10px;
   height:26px;
   overflow: hidden;
}
   .activity-menu ul {
      width:100%;
      list-style: none;
      margin: 0;
      padding: 0 1px;
      color: #fff;

      zoom: 1;
      *display:inline;

   }
   .activity-menu ul li {
      font-size: 14px;
      list-style: none;
      width:20%;
      margin: 0;
      display: inline-block;
      zoom: 1;
      *display:inline;
      list-style: none;
   }

   .activity-menu ul a {
      color: #fff;
      display: block;
      height: 31px;
      line-height: 31px;
      vertical-align: middle;
      text-align: center;
      padding: 0 5px;
      margin: -5px 1px 0 1px;
   }
   .activity-menu ul a.active {
      /*background: #f5f5f5;*/
      background: #fff;
      color:#566F7B;
      margin-top: -3px;
      height:29px;
      margin-bottom:-11px;
   }

   .activity-menu ul a:hover {
      background: #859CA2;
      color:#fff;
   }

.innermain {
   background: #fff;
   padding-top:10px;
}
.hasmenu {
}

.breadcrumbs {
   z-index:10;
   border-bottom: 1px solid #ccc;
   margin-left:-5px;
   margin-right:-10px;
   padding: 4px 35px 4px 5px;
   margin-bottom:21px;
}

.innercontent {
   padding: 0px 0px 30px 10px;
}

.innercontent .blog
{
	position:rlative;
}
.innercontent .blog.main
{
	padding-left:70px;
}

.innercontent p {
}
.img-caption {
   margin: 5px;
   padding:5px;
   border:1px solid #ccc;
   float:right;
}
.img-caption .caption {
   margin: 10px 0 0 0;
   padding: 0;
}

.submenu {
   background:#f5f5f5;
   margin-top:10px;
}

.submenu>div {
   padding: 0px;
   margin-bottom:15px;
}

.sidebar_nav {
   margin-top:35px;
}
.sidebar_nav ul {
   list-style: none;
   margin: -10px 0 0 30px !important;
   padding: 0;
   font-size: 15px;
}

#sidebar-tagcloud div
{
	white-space:nowrap;
	padding:5px;
	float:left;
}

.submenu .calendar {
   margin-left:30px;
   margin-top:40px !important;
   width:220px;
}

.submenu ul li, .submenu .header {

   line-height: 15px;
   margin: 15px 0;
   vertical-align: baseline;
   list-style: none;
}
.submenu ul li.active, .submenu .header {
   padding:0 25px 0 0px;
}

.submenu ul ul {
   margin-top:-5px !important;
   font-size:0.8em;
}
.submenu ul li ul li {
   padding-left: 0px;
   margin: 10px 0;
}

.submenu ul li.parent {
   border-bottom: 1px solid;
   font-size: 1.2em;
   margin-top:30px;
}

.submenu ul li.parent a {
   color: #000;
}

.submenu .follow_us {
   margin:0px 5px 20px 0;
   padding:5px 20px;
   width:275px !important;
}

#footer {
   height:50px;
   margin: 100px auto 0;
   background: #000;
   border-top: 20px solid #566F7B;
   color: #fff;
   padding: 10px 25px;
}

div.calendar
{
   font-size: smaller;
   color: #000;
}

div.calendar.popup
{
   margin-left: -40px;
   margin-top: -100px;
}

div.calendar table
{
   /*  background-color: #eee;
     border: 1px solid #aaa;*/
   border-collapse: collapse;
   margin: 2px 0 0 10px;
}

div.calendar thead {
   background-color: white;
}

div.calendar td,
div.calendar th
{
   padding: 0px;
   text-align: center;
   height:15px;
}

div.calendar td.title
{
   font-weight: bold;
}

div.calendar th
{
   height:15px;
   border-bottom: 1px solid #ccc;
   font-weight: bold;
   color: #555;
}

div.calendar tr.days td {
   width: 1em;
   color: #555;
   text-align: center;
   cursor: pointer;
}

div.calendar tr.days td:hover,
div.calendar td.calbutton:hover
{
   background-color: #34ABFA;
   cursor: pointer;
}

div.calendar tr.days td:active
div.calendar td.calbutton:active
{
   background-color: #cde;
}

div.calendar tr .highlight
{
   font-weight: bold;
   background:transparent;
   color: #000;
}

div.calendar td .highlight
{
   font-weight: bold;
   color: #D50000;
}

div.calendar tr.days td.otherDay
{
   color: #bbb;
}

div.week_calendar table {
   width:880px;
   margin:-25px 0 50px -25px;
   border-bottom: 1px solid #ccc;
}
div.week_calendar th
{
   font-size: 2em;
}
div.week_calendar td
{
   width:14.3%;
   text-align: left;
   border-right: 1px dashed #ccc;
   vertical-align: top;
}
div.week_calendar .day
{
   font-size:2em;
}
div.week_calendar .day-content {
   overflow: hidden;
}
div.week_calendar .day-timeline
{
   height:800px;
   background: url("/theme/img/timeline.png") top right no-repeat;
}
div.week_calendar .event {
   position:relative;
   overflow: hidden;
   padding:3px 0px 0px 3px;
   margin-bottom:-2px;
   line-height:1.1em;
   opacity: 0.8;
   float:left;
   width:125px;
}
div.week_calendar a {
	text-decoration: none;
}
div.week_calendar .event a {
	text-decoration: underline;
}
div.week_calendar .event:hover {
   z-index: 100000 !important;
   border:1px solid #fff !important;
}
div.week_calendar .event.part2 {
   width:50px;
}
div.week_calendar .event.part3 {
   width:33px;
}
div.week_calendar .event.now {
   height:0px;
   border:1px solid #f00;
   padding:0px;
}
div.week_calendar .event.seminar
{
   border: 1px solid #f1f9f0;
   background: #54bd31;
   font-size:.9em;
}
div.week_calendar .event.random
{
   border: 1px solid #ffd324;
   background: #fff6bf;
   font-size:.9em;
}
div.week_calendar .event h3 {
   font-size: 1.3em;
   font-family: Verdana;
   font-weight: bold;
   margin: 0 3px 0 0;
   /*color:#54bd31;*/
   color: #000;
   padding-bottom:2px;
}
div.week_calendar .event p {
   display:none;
}
div.week_calendar .day-content  {
   border-top:1px solid #666;
}
div.week_calendar .daysaturday, div.week_calendar .daysunday {
   background:#eee;
   width: 10% !important;
}
div.week_calendar .daymonday { border-left: 1px dashed #ccc;}

#categorytree {
   list-style:none;
   padding: 0;
}
#categorytree li, #categorytree td {
   padding: 5px;
   border-bottom: 1px solid #dedede;
   margin-bottom:-1px;
   margin-top:1px;
}
#categorytree li a {
   color: #336699;
}
#categorytree .floatright img {
   margin: -1px 1px 0 1px;
}
#categorytree img {
   margin: -1px 3px 0 3px;
   vertical-align:middle;
}
#categorytree .indent1 { margin-left:0; }
#categorytree .indent2 { margin-left:16px; }
#categorytree .indent3 { margin-left:32px; }
#categorytree .indent4 { margin-left:48px; }
#categorytree .indent5 { margin-left:64px; }
#categorytree .indent6 { margin-left:80px; }
#categorytree .indent7 { margin-left:96px; }
#categorytree .indent8 { margin-left:112px; }
#categorytree .indent9 { margin-left:128px; }
#categorytree .indent10 { margin-left:144px; }
#categorytree .indent11 { margin-left:160px; }
#categorytree .indent12 { margin-left:176px; }
#categorytree .indent13 { margin-left:192px; }
#categorytree .indent14 { margin-left:208px; }
#categorytree .indent15 { margin-left:224px; }
#categorytree .indent16 { margin-left:240px; }
#categorytree .indent17 { margin-left:256px; }
#categorytree .indent18 { margin-left:272px; }
#categorytree .indent19 { margin-left:288px; }
#categorytree .indent20 { margin-left:304px; }

#categorytree .seminar {
   border: 1px solid #54bd31;
   background: #f1f9f0;
}
#categorytree .random {
   border: 1px solid #ffd324;
   background: #fff6bf;
}
#categorytree h3,#categorytree h2,#categorytree h4 {
   margin-bottom:0px;
}


.date {
	 color:#fff;
	 display:block;
	 clear:both;
	 overflow:hidden;
	 margin-top:-25px;
	 line-height:25px;
}
.date .year, .date .month, .date .day {
	float:left;
	line-height:25px;
	margin-right:10px;
   color:#666;
	font-size:14px;
}

.date.main
{
     width: 90px;
	 background:url('/theme/img/date6bg.gif') left top no-repeat;
	 height:67px;
	 font-weight:700;
	 color:#fff;
	 clear:both;
	 /*font-style:italic;*/
	 line-height:25px;
     float:left;
     position:absolute;
     margin: -15px 0 0 -30px;
}


.date.main .year, .date.main .month, .date.main .day {
   width:80px;
   color:#fff;
}
.date.main .year{
    text-align:left;
	 position:relative;
	 top:39px;
    margin: 0 0 -17px 14px;
    color:#ccc;
}
.date.main .month{
   text-align:right;
	position:relative;
	top:7px;
}

.date.main .day{
     text-align:right;
	 position:relative;
	 top:1px;
	 font-size:28px;
}


.innercontent .highlighted {
   width:563px;
   margin: 10px -20px 20px -40px;
   padding: 10px 20px 10px 20px;
   position:relative;
   background:#FEFF80;
}

.innercontent .news .highlighted {

   width:563px;
   margin: 10px -50px 20px -120px;
   padding: 10px 20px 10px 20px;
   position:relative;
   background:#FEFF80;

}

#comments {
   margin: 20px 0px 0px 0px;
   line-height:15px !important;
}

.news div.media {
   margin-left:-100px;
}

div.media {
   margin-left: -35px !important;
}

#categorytree p {
   padding: 0.3em 0 0.5em 0;
}
.main_schedule {
   width: 296px;
   margin-left:-18px;
}
.main_schedule p {
   padding: 0em 0 0em 0;
   margin:0 !important;
}
.main_schedule h4
{
	margin-bottom:0 !important;
}

.MathJax_Display {
   display:inline !important;
}
.dsq-widget-item {
   border-bottom: 1px solid #ccc;
   padding-bottom: 20px;
}
.dsq-widget-avatar {
   margin-top: -3px !important;
}
.dsq-widget-comment {
   clear:both;
   display:block;
   padding: 0 28px 5px;
}
.dsq-widget-meta {
   float:right;
}

#twitter .date {
	width:auto;
	 height:auto;
	 background:none;
	 font-weight:normal;
	 color:#666;
	float:none;
	position: relative;
	margin: 0;
	font-style: italic;
}

/* Written by Vindex10 */
.post-title
{
	text-align:center;
}
.post-subtitle
{
	text-align:right;
}
.post-table
{
	border-collapse:collapse;
	border:none;
	margin:20px auto;
	width:100%;
}
	.post-table td, .post-table th
	{
		border:1px solid #566f7b;
		padding:2px;
		text-align:center;
		line-height:18px;
	}
	.post-table th
	{
		background:#9da5a8;
		font-weight:bold;
	}
	.post-table tr:nth-child(2n+1) td
	{
		background:#d6e2e6;
	}
	.post-table tr td.darken, .post-table tr th.darken
	{
		background:#b2bcbf;
	}
	.post-table tr td.hideme, .post-table tr th.hideme
	{
		border:none;
		background:transparent;
	}

a.lang-active {
   background: #FFF6BF;
}
