a:active, a:focus, img, object, input, textarea, select { outline: 0; }
html, body {
	margin: 0;
	padding: 0;
	height: 100%;
}

body {
	background-color: #000000;
	text-align: center;
}

.mta {
/*	table-layout: fixed;*/
	margin: 0 auto;
}

body, td, p {
    color: #BFBFBF;
	font-family: arial, tahoma !important;
	font-size: 13px !important;
}

div.componentheadingotziv,
h1, h2, h3, h4, h5, h6 {
	font-family: arial, tahoma;
}
div.componentheadingotziv,
.componentheading, h1 { font-size: 19px; margin-bottom: 10px; }
h2 { font-size: 18px; margin: 0; }
h3 { font-size: 17px; }
h4 { font-size: 16px; }
h5 { font-size: 15px; }
h6 { font-size: 14px; }


#content * a, #content * a:link, #content * a:active, #content * a:visited { color: #fff; }
#content * a:hover {
	text-decoration: none;
}
/*
.pathway a, .pathway a:link, .pathway a:active, .pathway a:visited,
.MsoNormal a, .MsoNormal a:link, .MsoNormal a:active, .MsoNormal a:visited,
a, a:link, a:active, a:visited { color: #fff; }
.pathway  a:hover,
.MsoNormal a:hover,
.MsoNormal a:hover {
	text-decoration: none;
}
*/

.topt {
	margin: 0;
}

.logo {
    padding: 0 0 0 20px;
}

form {
	margin: 0;
}

.search_form {
	white-space: nowrap;
}

.search_form .inputbox_form {
	width: 100px;
	border: 1px solid #595959;
	background-color: #000000;
	color: #D1D1D1;
	font-size: 11px;
	height: 21px;
	line-height: 20px;
	margin: 0;
	padding: 0 1px;
}
.search_form .button_form {
	background: #595959 url('/templates/sam/images/search.gif') -1px -1px no-repeat;
	width: 27px;
	height: 23px;
	margin: 0 0 0 5px;
	padding: 0;
	border: 1px solid #595959;
	cursor: pointer;
}
* html .search_form .button_form {
	border: none;
	height: 21px;
}

input.button,
textarea,
.inputbox {
	background: #595959;
	border: 1px solid #595959;
	color: #D1D1D1;
	margin: 0;
	padding: 0;
}
textarea,
.inputbox {
	background: #000;
}

fieldset {
	border: 0;
}

#footer {
	width: 1000px;
	font-size: 12px;
	margin: 0 auto;
}
#footer,
#footer .botd2,
#footer a {
	color: #808080;
}

#footer .sword {
	margin: 0 auto;
	height: 146px;
	background: url('/templates/sam/images/sword.jpg') center top no-repeat;
}

#footer .botc a,
#footer .botc {
	color: #fff;
}
#footer .botc {
	padding: 0 20px;
}
#footer .botd1 {
	background: url('/templates/sam/images/dra1.gif') right bottom no-repeat;
	padding-left: 20px;
}
#footer .botd1 span {
	padding: 0 15px;
}
#footer .botd2 {
	background: url('/templates/sam/images/dra2.gif') left bottom no-repeat;
	padding-right: 20px;
}

#jflanguageselection {
	height: 20px;
}

#jflanguageselection li a span,
#jflanguageselection {
	color: #999;
	font-family: arial, tahoma;
	font-size: 11px;
	text-decoration: none;
	font-weight: normal;
}
#jflanguageselection li a {
	text-decoration: none !important;
}
#jflanguageselection li#active_language a span {
	text-decoration: none;
	font-weight: normal;
}
#jflanguageselection li a span {
	text-decoration: underline;
}

#content {
	position: relative;
	width: 1000px;
	padding: 0 0 30px 0;
	text-align: left;
}

table.ctable {
	margin: 0 auto;
}
table.ctable td {
	position: relative;
}

#content #leftc {
/*	padding-right: 20px; */
}

#content #leftc div.flash {
}

#content #leftc div.about {
/*	width: 390px; */
	width: 290px;
	padding-left: 10px;
	margin-top: 15px;
}
*+html #content #leftc div.about,
* html #content #leftc div.about {
	margin-top: 0;
}

#content #rightc {
	width: 100%;
}

.clearfix {
	clear: both;
	float: none;
	width: 100%;
}

div.pathway {
	color: red;
	padding-left: 4px;
	padding-bottom: 20px;
}
div.pathway span {
	color: white;
	padding-left: 5px;
}

.moduletable h3,
.componentheading,
.componentheading h1,
.contentheading h1,
.sectiontableheader h1,
div.componentheadingotziv,
#rightc h1,
.contentheading h2 {
	color: red;
}

.contentpaneopenotziv span.author strong {
	display: block;
	float: left;
	width: 0;
	overflow: hidden;
}
.contentpaneopenotziv span.author {
	text-decoration: underline;
	color: #fff;
	font-size: 16px;
}
.contentpaneopenotziv span.date {
	color: #999;
}

.contentpagetitle {
	font-size: 15px;
	font-weight: bold;
}

table.mainnews {
}

tr.sectiontableentry1 td,
tr.sectiontableentry2 td,
table.mainnews td {
	padding: 0 0 8px 0;
	vertical-align: top;
}

table.mainnews td div.imgcode {
	margin-right: 12px;
	display: block;
	line-height:1px;
}
table.mainnews td div.imgcode img {
    margin: 0;
}
table.mainnews td div.imgcode a {
	margin: 0 5px;
	padding: 0;
	display: block;
}
table.mainnews td div.imgcode a img {
	border: 1px solid #666666;
	padding: 0;
	margin: 0;
}

table.mainnews td div.ntitle {
	padding: 0 0 10px 0;
	margin: -3px 0 0 0;
}

td.sectiontableentry2 p {
	margin: -4px 0 10px 10px;
}

@media all and (-webkit-min-device-pixel-ratio:0) {
   body:first-of-type td.sectiontableentry2 p { margin: 4px 0 10px 10px; }
}


td.sectiontableentry2 p a,
table.mainnews td div.ntitle a {
	font-size: 14px;
	font-weight: bold;
}

table.mainnews td a.noun {
	text-decoration: none;
}

tr.sectiontableentry2 td.thm img {
	border: 1px solid #595959;
}

.sectiontableheader h1,
.sectiontableheader h2 {
	padding: 0;
	margin: 0;
}

span.pagenav,
a.pagenav {
	padding: 0 3px;
}


#menu {
	position: relative;
	z-index: 100;
	margin: 0 0 17px 0;  /* было 22 */
    white-space: nowrap;
}
* html #menu {
	margin-top: 16px;
}
*+html #menu {
	margin-top: 16px;
}


#menu table {
	position: relative;
	display: table;
}
#menu span,
#menu table tr td {
	position: relative;
/*	display: table-cell;*/
	vertical-align: top;
	text-align: left;
	width: 80px;
	height: 47px;
	overflow: hidden;
	padding: 8px 4px 4px 4px;
}
* html #menu span {
overflow: visible;
}
#menu span a,
#menu table td a {
	position: relative;
/*	white-space: nowrap;*/
	width: 80px;
	height: 47px;
	z-index: 201;
}
* html #menu span a {
}

#menu span div,
#menu table td div {
	display: block;
	position: absolute;
	left: 5px;
	top: 4px;
	border: 1px solid #676767;
	width: 88px !important; 
	background-color: #222;
/*	visibility: hidden;*/
display:none;
	padding: 45px 5px 10px 10px;
	z-index: 200;
    text-align: left;
}

#menu span div a ,
#menu table td div a {
    position: relative;
	white-space: normal;
	display: block;
	padding: 4px 0;
	height: auto;
}

@-moz-document url-prefix() {
	#menu table td div {
		top: -2px; 
	}
}
* html #menu span div,
* html #menu table td div {
	display: inline-block;
}



.pagenav_prev, .pagenav_next {
	font-size: 13px;
	width: 50%;
	vertical-align: top;
}
.pagenav_prev {
	text-align: left;
}
.pagenav_next {
	text-align: right;
}

.moduletableletter {
}
tr.lmhead td {
	border-bottom: 1px solid #555;
}

#shadowbox {
	z-index: 2000 !important;
}

#shadowbox_title {
	z-index: 100 !important;
	overflow: visible !important; 
	margin-top: -10px !important;
	padding-bottom: 10px !important;
}
#shadowbox_title_inner {
	font-size: 13px !important;
	min-width: 100px !important;
	overflow: auto !important;
	white-space: normal !important;
}

#shadowbox_info {
	overflow: visible !important;
}
#shadowbox_info_inner {
	position: relative;
	overflow: visible !important;
}
#shadowbox_counter {
	white-space: nowrap !important;
	position: absolute;
	left: -20px;
	top: 0;
}
#shadowbox_nav{
	white-space: nowrap !important;
	margin: 0 -20px !important;
	z-index: 1000 !important;
	width:60px !important;
	padding-left: 10px !important;
	position: absolute;
	right: -10px;
	top: 0;
}
* html #shadowbox_nav{
	width:75px !important;
}

* html td.tdsrch {
	padding-top: 10px;
}

table.partn td {
	padding-left: 10px;
	padding-bottom: 4px;
}
table.partn td p {
	margin: 0 0 10px 0;
}
table.partn td p a {
	text-decoration: none !important;
	font-size: 15px !important;
	font-weight: bold;
	color: #fff;
}


/*.svit td,
.svit td img {
	margin: 0 !important;
	padding: 0 !important;
	border: none;
}
.svit td.svimg img {
	padding: 0 !important;
	border: none !important;
	border-left: 1px solid #666666 !important;
	border-right: 1px solid #666666 !important;
}
.svit td {
	height: 8px;
	line-height: 8px;
	font-size: 4px;
}
.svit td.sv1,
.svit td.sv4 {
	background: url('/templates/sam/images/svit1.gif') right bottom no-repeat;
	padding: 4px 2px !important;
}
.svit td.sv4 {
	background-position: right top;
}
.svit td.sv5,
.svit td.sv2 {
	background: url('/templates/sam/images/svit2.gif') left bottom repeat-x;
	padding: 4px 2px !important;
}
.svit td.sv6,
.svit td.sv3 {
	background: url('/templates/sam/images/svit3.gif') left bottom no-repeat;
	padding: 4px 2px !important;
}
.svit td.sv5,
.svit td.sv6 {
	background-position: left top;
}
*/
.contentpaneopen .svit {
	margin: 0 10px;
}

/**/

#jflanguageselection,div.jflanguageselection{float:none;clear:right;margin-top:14px;}
* html #jflanguageselection{margin:0}
#jflanguageselection ul.jflanguageselection{list-style:none;padding:0;margin:0;font-weight:normal;clear:right;}
#jflanguageselection ul.jflanguageselection li{background-image:none;padding:0;float:left;margin:1px;white-space:nowrap !important;border:none;font-size:0.9em;display:block;}
#jflanguageselection ul.jflanguageselection li#active_language{font-size:11px;font-weight:bold;}
#jflanguageselection ul.jflanguageselection li a{}
#jflanguageselection ul.jflanguageselection img{border:none;}
#jflanguageselection select.jflanguageselection{border:1px solid #cccccc;margin:1px 1px 1px 1px;padding:0 0 1px 0;font-family: arial, helvetica, sans-serif;font-size: 11px;color: #c64934;}
#jflanguageselection label.jflanguageselection{position:absolute;left:-1000px;}
.rawimages {text-align:left;}
.rawimages img {border:none;margin:2px;}
.rawimages span#active_language img {margin:2px;border:none;}
div#jflanguageselection img.langImg{float:left;border:none;margin-top:3px;}
div#jflanguageselection li img.langImg{float:left;border:none;margin: 1px 3px 0 0}

.moduletable-ofspon { font-size: 14px; font-weight: bold; text-align: center; }
.moduletable-ofspon p { font-size: 15px !important; text-align: right; }

.contentpane .inputbox {
margin: 1px 0;
width: 400px;
}

.sptanto {
margin: -30px 0 -10px 0;
}

.mod_category_href {
font-size: 16px;
padding-right: 12px;
}

#lightbox, #lightbox-overlay {
position: absolute;
top: 0;
left: 0;
bottom:auto;
right:auto;

z-index:100;
width:100%;
height:auto;

text-align:center;
color:#333333;

/* stop stupid conflicts */
margin:0;
padding:0;
border:none;
outline:none;
line-height:0;

/* general conflict stopper */
text-decoration:none;
background:none;
word-spacing:normal;
letter-spacing:normal;
float:none;
clear:none;
display:block;
}

#lightbox a, #lightbox a:link, #lightbox a:visited, #lightbox a:hover {
text-decoration:underline;
color:#999999;
}

#lightbox-overlay {
z-index: 90;
background-color:#000000;
height: 100%;
position:fixed;
}
#lightbox-overlay-text {
text-align: right;
margin-right: 20px;
margin-top: 20px;
color: white;
font-size: 12px;
cursor: default;
line-height:normal;
}
#lightbox-overlay-text a, #lightbox-overlay-text a:hover, #lightbox-overlay-text a:visited, #lightbox-overlay-text a:link {
color:white;
}
#lightbox-overlay-text span {
padding-left:5px;
padding-right:5px;
}

#lightbox img, #lightbox a img, #lightbox a { border:none; outline:none; }

#lightbox-imageBox {
position:relative;
border:1px solid black;
background-color:white;
width:400px;
height:400px;
margin:0 auto;
}

#lightbox-imageContainer {
padding:1px;
}

#lightbox-loading {
position:absolute;
top:40%;
left:0%;
height:25%;
width:100%;
text-align:center;
line-height:0;
}

#lightbox-nav {
position:absolute;
top:0;
left:0;
height:100%;
width:100%;
z-index:10;
}
/* #lightbox-imageBox > #lightbox-nav { left: 0; } 
#lightbox-nav a { outline: none; }*/


#lightbox-nav-btnPrev, #lightbox-nav-btnNext {
display:block;
width:49%;
height: 100%;
background:transparent url("../images/blank.gif") no-repeat; /* Trick IE into showing hover */
/* cursor:pointer; */
zoom:1; /* who knows why? */

padding:0;
margin:0;
}
#lightbox-nav-btnPrev { 
left:0;
right:auto;
float:left;
}
#lightbox-nav-btnNext { 
left:auto;
right:0;
float:right;
}
/*
.preload_largeLink, #prevLink:hover, #prevLink:visited:hover {
background:url("../images/prev.gif") left 45% no-repeat;
}
.preload_nextLink, #nextLink:hover, #nextLink:visited:hover {
background:url("../images/next.gif") right 45% no-repeat;
}
*/

#lightbox-infoBox {
font:10px Verdana, Helvetica, sans-serif;
background-color:#FFFFFF;
margin:0 auto;
padding:0;

/* width: 100%;
padding: 0 10px 0; */
}

#lightbox-infoContainer {padding-left:10px;padding-right:10px;padding-top:5px;padding-bottom:5px;color:#666;line-height:normal;/* height:30px; */}
#lightbox-infoHeader {width:100%;text-align:center; }
#lightbox-caption {text-align:justify;}
#lightbox-caption-title {font-weight:bold;}
#lightbox-caption-description {font-weight:normal;}
#lightbox-infoFooter {margin-top:3px;color:#999999;}
#lightbox-currentNumber {display:block;width:49%;float:left;text-align:left;}
#lightbox-close {display:block;width:45%;float:right;text-align:right;}
#lightbox-close-button{padding-left:30%;}
#lightbox-close-button:hover {color:#666666;}
#lightbox-infoContainer-clear {clear:both; visibility:hidden;}

#footer .botc div.friends, #footer .botc div.friends a, #footer .botc div.friends a:hover {color:#3a3a3a;}

/*** Стиль рекламного модуля ***/
div.moduletable-toptextad {
  margin-right: 10px !important;
  text-align: right !important;	
}

/*** Стиль модуля последних отзывов ***/
div.moduletable-lastreview {	padding-right: 60px !important;}
div.moduletable-lastreview h3 {color:red !important;}

/*** Внешний вид баннеров, не выводящихся на глвной ***/

.banners {margin-bottom: 10px;}