@font-face {
  font-family: MySegoe;
  font-style: normal;
  font-weight: normal;
  src: local("segoe ui"), 
       local("Segoe UI"), 
	   local("Segoeui"),
       url(segoeui.ttf);
}
@font-face {
  font-family: MySegoe;
  font-style: oblique;
  font-weight: oblique;
  src: local("segoe ui oblique"), 
       local("Segoe UI oblique"), 
	   local("Segoeuiz"),
       url(segoeuiz.ttf);
}
@font-face {
  font-family: MySegoe;
  font-style: italic;
  font-weight: italic;
  src: local("segoe ui italic"), 
       local("Segoe UI italic"), 
	   local("Segoeuii"),
       url(segoeuii.ttf);
}
@font-face {
  font-family: MySegoe;
  font-style: bold;
  font-weight: bold;
  src: local("segoe ui bold"), 
       local("Segoe UI bold"), 
	   local("Segoeuib"),
       url(segoeuib.ttf);
}

* {	margin: 0;	padding: 0;}
html {height: 100%;}

body {font-family: segoe ui, MySegoe, tahoma, arial;
	font-size: 14px;
	height: auto !important;
	height: 100%;
	min-height: 100%;
	background: #4DA3D1 url(images/bg_grad.gif) bottom repeat-x; 
	color: #ffffff;
	position: relative;
	font-style: normal;
	font-weight: normal;
	}
	
a {text-decoration: none; color: #cef7ed}
a:hover {color: #00529c; }

.wp-caption img { margin: 0; padding: 0;  border: 0 none;}

img {border: 0px; width: auto; height: auto}	
img a, img a:hover, img {border: none;}
img:hover {border: none;}

h1, h2, h3, h4, h5, h6 {color: #222222; font-weight: normal;}

h1 {font-size: 30px; color: #ffffff;}
h2 {font-size: 18px}
h3 {font-size: 16px}
h4 {font-size: 14px}
h5 {font-size: 12px}
h6 {font-size: 10px}

.clear {	float:none;	clear:both;}

#news_title {color: #004788;}
	
#news_preview {color: #ffffff;}

#wrapper {position: absolute; background: url(images/bg_kremlin4.png) 50% 100% no-repeat; height: 100%; width: 100%;}
#container {
	width: 1024px; 
	margin: 0 auto;
	padding: 0px 25px;
	height: auto !important;
	min-height: 100%;
	
	}

/* ------------------------ HEADER ------------------------- */
	
#header {height: 150px;
	padding: 0 5px;
	margin-bottom: 10px;}

#first_menu {width: auto;
	padding: 10px 0px;}
	
#lang_select {
	
	/*background: url(images/lang_select.png) repeat-x;
	padding: 10px 25px;
	float: left;
	color: #155591;
	margin: -10px 30px 0px 0px;
	color: #ffffff; */
	
	padding: 10px 0px;
	float: left;
	margin: -10px 0px 0px 0px;
	
}
	
#lang_select a{color: #155591; margin-left:10px; margin-right:10px;}
#lang_select span{color: #993333; margin-left:10px; margin-right:10px;}


#first_menu_left_nav {margin-bottom: -30px;}
#first_menu_left_nav  a{margin-left:10px; margin-right:10px;}
#first_menu_right_nav {float: right}

#second_menu {width: 100%; float: right; color: #8bc2df; margin-top: -25px;}
#main_menu {margin: 0px 0 -40px 290px; font-size: 16px; position: relative; z-index: 1000;}
#logo {margin-top: 0px}
#logo a{border-bottom: none;}
#logo img {margin-top: -10px; margin-left: 30px;}

/* ------------------------ SIDEBAR ------------------------- */
	
#sidebar {width: 180px;
	height: auto; 
	float: left; 
	margin-right: 10px;
	font-size: 18px;
	color: #ffffff;}
	
#sidebar a{color: #fff; margin-bottom:10px;}
#sidebar a:hover{color: #00529c; border-bottom: none; }
	
#sidebar ul{margin-left: 0px;
	list-style: none;}
	
#sidebar li {padding: 5px 0px; border-bottom: 1px #c2e3f5 dashed;}


/* ------------------------ CONTENT ------------------------- */	
	
#content {height: auto; 
	width: auto;
	padding-left: 190px;
	padding-bottom: 60px;}

#content:after {
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
	clear: both;}
	

/* ------------------------ FOOTER ------------------------- */

#footer {
	width: 100%;
	top:100% - 50px;
	position: absolute;
	bottom: 0;
	height: 50px;
}
	
.foo_table {	font-size: 11px;
	color: #ffffff;
	height: 50px;}

.foo_td_left {background: #161c20;
	width: 50%;
	padding: 5px 25px}
	
.foo_td_right {background: #676f77;
	padding: 5px 25px}
	
/* ------------------------ CUSTOM ------------------------- */

#journal {background: url(images/journal.png) repeat-x;
	width: auto;
	height: 40px;
	float: right;
	margin-top: -10px;
	padding: 10px 0px;
	z-index: 995;
	
font: 14px;
/*display: inline;*/

}

#journal ul{
margin: 0;
padding: 0;
list-style-type: none;
z-index: 995;
}

#journal ul{
z-index: 995;}

#journal li{z-index: 995;}

/*Top level list items*/
#journal ul li{
position: relative;
display: inline;
float: left;
}

/*Top level menu link items style*/
#journal ul li a{
display: block;
/*background: #414141; /*background of tabs (default state)*/
padding-bottom: 11px;
padding-left: 20px;
padding-right: 20px;
/*border-right: 1px solid #778;*/
color: #cef7ed;
text-decoration: none;
}

* html #journal ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
}

#journal a:link, .journal a:visited{
color: #cef7ed;
}

#journal a:hover{
color: #00529c;
}
	
/*1st sub level menu*/
#journal ul li ul{
position: absolute;
left: 0;
display: block;
visibility: hidden;
text-align: center;
}

/*Sub level menu list items (undo style from Top level List Items)*/
#journal ul li ul li{
display: list-item;
float: none;
}


/* Sub level menu links style */
#journal ul li ul li a{
font-size: 14px;
width: 120px; /*width of sub menus*/
padding: 5px;
margin: 0;
border-top-width: 0;
border-bottom: 1px solid #C2DFEF;

display: block;
background: #8CC2DF; /*background of tabs (default state)*/
padding: 8px 10px;
/*border-right: 1px solid #778;*/
color: #cef7ed;
text-decoration: none;

  opacity: 0.9;
  filter: alpha(opacity=90);
  -moz-opacity: 0.9;

}


/* ---------------------------------- */	
#search {margin: -5px 10px 0 0; float: right; }

#search_field {background: url(images/search_field.png) left no-repeat;
	width: 185px;
	height: 30px;
	float: left;
	border: 0px;
	padding: 0 10px;
	color: #ffffff;}

#search_button {background: url(images/search_button.png) left no-repeat;
	width: 48px;
	height: 30px;
	float: left;
	border: 0px;
	margin: 0 13px 0 -32px;}

#BackGrUp{ height: 43px; background-image: url(/static/themes/nirsi/images/BulbUp2.png); }

#BackGrDown{ height: 15px; background-image: url(/static/themes/nirsi/images/BulbDown2.png); }

#BackCenter { background: url(/static/themes/nirsi/images/BulbCenter.png) 0% 0% repeat-y; margin-top: -28px; min-height: 30px;}
	
#JsCubesBulb {	
	
	/*margin-top: 50px; */
	position: absolute;
	left: 50%; /*65%;*/
	top: 200px;
	margin-left: 220px;
	
	/*vertical-align: top; 
	display: inline-block;*/
	
	width:  286px; 
	/*height: 140px; 
	background-image: url(/static/themes/nirsi/images/Bulb.png);*/
}

#JsCubesBulb .InBulb {	
padding-left: 42px;
width: 230px;
}

#JsCubesBulb p {	
padding-bottom:5px; 
color:#a11318;
}

#myslidemenu li {z-index: 990;}
#myslidemenu ul li a {z-index: 990; font-size: 16px;}
#myslidemenu ul li ul a {z-index: 990; font-size: 14px;}
#myslidemenu ul {z-index: 991;}
#myslidemenu {z-index: 990;}

#CubeDiv {z-index: 900;}

