/*
Theme Name: MAS
Theme URI: http://www.mas.de/
Description: MAS theme. Based on WP-default based on Kubrick.
Version: 0.1
Author: Yuri Chizhov
Author URI: http://www.mas.ru/
Tags: blue, fixed width
*/

* {
	margin: 0px;
	padding: 0px;
}

body,td,th {
	color: #000000;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
}

body {
	min-width:986px;
	background: #FFFFFF url(images/bg_d.png) repeat-x bottom left;
	margin: 0px;
	height: 100%;
}

img {
	border: 0px;
	vertical-align: middle;
}

a, a:visited { color: #4289e9; }
a:hover { color: #dc2747; }

a img.edit-link {
	position: absolute;
	left: 80%;
top: 54%;
}

.wrap, .head, .content, .content-top, .footer {
	width: 985px;
	margin: 0px auto;
}

.dotline {
	background: url(images/dots.gif) repeat-x bottom;
	margin-bottom: 3px;
	margin-top: 3px;
	height: 1px;
	width: 100%;
}

.clearer {
	clear: both;
	height: 1px;
	line-height: 1px;
}

.fleft { float: left; }
.fright { float: right; }

.alignleft { text-align: left; }
.alignright { text-align: right; }

img.alignleft { float: left; }
img.alignright { float: right; }

.head { height: 95px; }

.logo {
	padding-top: 22px;
	width: 250px;
}

#top-buttons {
	float: right;
	margin-top: 38px;
}

.top-menu-header, .top-menu-header:visited {
	color: #525252;
	text-decoration: none;
	font-weight: bold;
	background: url(/wp-content/themes/mas/images/minimap.gif) no-repeat;
	padding: 0px 0px 0px 42px;
}
.top-menu-header:hover { color: #837373; }

.bottom-border-grey { border-bottom: 1px dashed #ccc9bd; }

.search {
	width:185px;
	height:22px;
	margin-left: 30px;
	margin-top: 38px;
	background:url(images/search-bg.gif) no-repeat;
	padding-left:10px;
	float:right;
}

.search input {
	background: transparent;
	border: 0px;
	height: 22px;
	width:138px;
	display:inline;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	line-height: 16px;
	font-size:12px;
}

.search-item { margin: 0px 0px 20px 0px; }

#submit {
	margin-left:20px;
	border: 0px;
	padding:0px;
	background: url(images/search.jpg) no-repeat left top;
	width:23px;
	cursor: pointer;
}

.lang {
	float:right;
	margin-top: 38px;
	margin-left: 25px;
}

.lang a {
	text-decoration:none;
}

#nav {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

#nav ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

#nav a {
	font-size: 13px;
	color: #0063dc;
	font-weight: bold;
	display: block;
	text-decoration: none;
}

#nav a:hover, #nav li.current_page_ancestor > a, #nav li.current_page_item > a {
	font-size:13px;
	color:#dc2747;
	font-weight:bold;
	display:block;
}

#nav li li.current_page_ancestor, #nav li li.current_page_item,
#nav li li.current_page_ancestor:hover, #nav li li.current_page_item:hover {
	background: url(images/dot_red.gif) 8px 12px no-repeat transparent;
}

#nav li {
	margin: 5px 25px 2px 0px;
	padding-top: 5px;
	padding-bottom: 3px;
	float: left;
	height: 20px;
}

#nav li li, #nav li li:hover {
	padding: 5px 5px 5px 18px;
	background: url(images/dot.gif) 8px 12px no-repeat transparent;
	float: left;
	margin: 0px;
	border-left:none;
	border-right:none;
	width: 159px;
}

#nav li li a, #nav li li a:link, #nav li li a:visited {
	float: none;
	font-size: 11px;
	font-weight: normal;
	padding: 0px;
	text-decoration: underline;
}

#red, #red:hover{
	background: url(images/dot_red.gif) 8px 12px no-repeat transparent;
	border-top: dotted 1px #CCCCCC;
}

#red a { color: #dc2747; }
#red a:hover { color: #8e36cf; }

#nav li ul {
	margin: 5px -9px;
	background: #fdfeff url(images/bg_menu.gif) repeat-x bottom;
	position: absolute;
	width: 180px;
	left: -999em;
	border-right: 1px solid #8e8e8e;
	border-bottom: 1px solid #d3deee;
	border-left: 1px solid #d3deee;
}

#nav li:hover ul {
	left: auto;
	display: block;
}

#nav li:hover ul, #nav li.sfhover ul { left: auto; }

.nav-drop {
	padding-left: 10px;
	padding-right: 23px;
	margin-left: -10px;
	background: url(images/drop.gif) no-repeat right;
	border-right: #dee9fc 1px solid;
	border-left: #dee9fc 1px solid;

}
.nav-drop:hover {
	background: #ebf2fd url(images/drop.gif) no-repeat right;
	border-right: #93979e 1px solid;
	border-left: #e0e5ee 1px solid;
}

.right-buttons {
	float: right;
	text-align: right;
	width: 240px;
	margin: 10px 0px 10px 0px;
}

.right-buttons a { margin: 0px 0px 0px 30px; }

.menu {
	width:100%;
	height: 40px;
	background: #dee9fc;
}

.menu-2 {
	border-top: #e1ebfc solid 12px;
	border-bottom: #d1d1d1 dotted 1px;
	font-size: 11px;
	min-height: 36px;
}

.menu-2 ul {
	height: 36px;
	list-style-type: none;
}

.menu-2 li {
	float: left;
	color: #798594;
	height: 23px;
	margin: 0px 25px 0px 0px;
	padding: 13px 0px 0px 10px;
	background: transparent url(images/dot-grey.png) no-repeat 1px 20px;
}
.menu-2 li.active, .menu-2 li.parent { background: transparent url(images/dot_red.gif) no-repeat 1px 20px; }

.menu-2 li a { color: #3b4a52; }
.menu-2 li.active a {
	color: #d61912;
	text-decoration: none;
}
.menu-2 li.parent a { color: #d61912; }

.menu-3 {
	clear: left;
	height: 40px;
	border-top: #e1ebfc solid 7px;
	font-size: 11px;
}

.menu-3 ul {
	height: 40px;
	margin: 11px 0px 0px 0px;
	padding: 0px 0px 0px 27px;
	background: transparent url(images/menu-sub-active.png) no-repeat;
	list-style-type: none;
}

.menu-3 li {
	float: left;
	height: 27px;
	margin: 0px 32px 0px 0px;
	padding: 2px 0px 0px 0px;
	background: transparent;
}
.menu-3 li.active { background: transparent; }

.menu-3 li a { color: #909090; }
.menu-3 li.active a { color: #d61912; }

.image {
	overflow: hidden;
	height: 161px;
	padding-right: 1px; 
}

.left-image, .right-image {
	width: 50%;
	height: 161px;
	overflow: hidden;
}

.left-image {
	text-align: right;
	background: url(images/bg_m_l.jpg) repeat-x;
	float: left;
}

.right-image {
	text-align: left;
	background: url(images/bg_m.jpg) repeat-x;
	float: left;
}
.preview{
	border-top: 11px solid #dee9fc;
	border-bottom: 7px solid #dee9fc;
	padding-top: 8px;
	padding-bottom: 10px;
	height: 120px;
}

.roller-container{
	text-align: left;
	width: 688px;
	height: 122px;
	float: left;
	overflow: hidden;
	position: relative;
}

.content {
	clear: both;
	padding-top: 25px;
	padding-bottom: 15px;
	color: #000000;
	font-family: arial;
	font-size: 12px;
	width: 685px;
	float: left;
}

.content h1 {
	font-family: Tahoma;
	font-size: 24px;
	color: #3b4a52;
	font-weight: normal;
	margin: 0px 0px 36px 0px;
}

.content .date {
	font-size: 12px;
	color: #909090;
}


.content #short p {
	margin-top: 2px;
	margin-bottom: 14px;
}

.news-item .date {
	font-size: 12px;
	color: #909090;
}

.wrap .news-block .news-item {
	line-height:13px;
}
.content ul,.content ol {margin-left: 20px;}
.content a {
	color: #0063dc;
	text-decoration: underline;
	font-size: 13px;
}
.content a:hover { color: #3363dc; }

.content p {
	margin-top: 14px;
	margin-bottom: 14px;
}

.content-top { margin-bottom: 15px; }
.content-top a {text-decoration: none;}
.block-l, .block-c, .block-r {
	position:relative;
	float:left;
	margin-top: 15px;
	margin-bottom: 15px;
}
.block-l{
	width:462px;
	height:204px;
	background:url(images/bg-masenergo.jpg) no-repeat left top;
}
.block-l h1{
	margin:15px;
	color:#ec1f17;
	font-size:18px;
	text-decoration: none;
}
.block-c{
	width:243px;
	height:204px;
	background:url(images/1925D_NY.jpg) no-repeat left top;
	margin-left:15px;
	margin-right:15px;
}
.block-r{
	width:243px;
	height:204px;
	background:url(images/bg-erss.jpg) no-repeat left top;
}

.masenergo2, .xoro2, .erss2 {
	position: absolute;
	text-decoration: underline;

 }
 .masenergo1, .xoro1, .erss1 {
	position: absolute;
    line-height: 14px;
 	color:#696d71;
	
}
.masenergo1 {
	top:42px;
	left:15px;
	height:51px;
	width:270px;
}
.masenergo2 {
	top:100px;
	left:15px;
	height:60px;
	width:200px;
	font-size:9px;
}
.xoro1 {
	top:78px;
	left:15px;
	height:68px;
	width:217px;
	line-height:12px;

}
.xoro2 {
	top:147px;
	left:120px;
	height:49px;
	width:110px;
	font-size:10px;
}
.erss1 {
	top:64px;
	left:15px;
	height:66px;
	width:217px;
}
.erss2 {
	top:140px;
	left:74px;
	height:57px;
	width:117px;
	font-size:10px;
}

.sidebar {
	margin: 32px 0px 0px 26px;
	width: 245px;
	float: right;
}

.sidebar a { text-decoration:none; }

.contact {
	width: 125px;
	height: 92px;
	padding:15px 105px 15px 15px;
	background:url(images/contact.jpg) no-repeat;
	color:#696d71;
	line-height: 14px;
}

.contact div {
	font-size: 13px;
	font-weight: bold;
	color: #0063dc;
	margin-top: 4px;
}

.partners {
	width: 213px;
	height: 112px;
	background: url(images/partners.jpg) no-repeat;
	margin-top: 25px;
	padding: 15px ;
	color: #3b4a52;
	text-decoration: underline;
}

.shop {
	width:213px;
	height:112px;
	background:url(images/shop.jpg) no-repeat;
	margin-top:25px;
	padding:15px ;
	color:#3b4a52;
	text-decoration:underline;
}

.freight {
	width:213px;
	height:112px;
	background:url(images/freight.png) no-repeat;
	margin-top:25px;
	padding:15px ;
	color:#3b4a52;
	text-decoration:underline;
}

.content-right {
	width: 51%;
	margin-left: 25px;
}

.news-item { margin: 16px 0px 0px 0px; }

.content p.news-item {margin:0px;padding:0px;}

.news-block {
	float:left;
	width:450px;
	margin-bottom:40px;
}

.news-block h1, .content-right h1 {
	font-size:17px;
	font-family: Tahoma;
	color: #3b4a52;
	font-weight: normal;
	margin-bottom: 0px;
	padding: 0px;
}
.content-right h1 { margin-top: 24px; }
.news-block h1 { margin-top: 8px; }

.tags a {
	font-size: 24px;
	color:#0063dc;
	text-decoration: underline;
}

.wrap .tags {
	margin-top:15px;
}

.footer {
	height: 75px;
	color: #4b4b4b;
	font-size: 10px;
	padding-top: 25px;
}
.roller {
	padding-top: 13px;
	list-style-type: none;
	width: 5000px;
}

.roller li {
	display: inline;
	margin-right: 15px;
	margin-left: 0px;
}

.scroller {
	position: absolute;
	bottom: 0px;
	cursor: pointer;
}

#scroller-left { left: 0px; }
#scroller-right { right: 0px; }

.drop-menu { position: relative; }

.drop-menu ul {
	list-style-type: none;
	padding: 10px 0px 10px 0px;
	position: absolute;
	left: -999em;
}

.drop-menu ul li { padding: 0px 10px 0px 10px; }

.lang .drop-menu {
	width: 40px;
	height: 17px;
	background: transparent url(/wp-content/themes/mas/images/lang-menu-bg.gif) scroll no-repeat;
}

.lang img.active-lang {
	display: block;
	padding: 3px 4px;
}

.lang .drop-menu .lang-menu {
	background: #fad41e;
	width: 40px;
	padding: 4px 0px 1px 0px;
	position: absolute;
	top: 0px;
	left: 0px;
	display: none;
}
.lang .drop-menu:hover .lang-menu { display: block; }

.lang .drop-menu .lang-menu li {
	padding: 1px 4px 0px 20px;
	margin: 0px 0px 2px 0px;
	height: 15px;
}
.lang .drop-menu .lang-menu li:hover { background: transparent url(/wp-content/themes/mas/images/flag-sel.png) scroll no-repeat; }

.lang .drop-menu .lang-menu li img { display: block; }

.top-button .drop-menu {
	width: 130px;
	height: 19px;
	background: transparent url(/wp-content/themes/mas/images/drop_e.gif) scroll no-repeat 100% 0%;
}

.drop-menu .worldwide-menu {
	background:white url(images/drop-menu-bg.png) repeat-x scroll left bottom;
	margin:0px 0px 0px 38px;
	padding-right:24px;
	top:20px;
}
.drop-menu:hover .worldwide-menu { left:0px; }

.drop-menu .worldwide-menu ul {
	font-family:arial;
	font-size:10px;
	font-weight:normal;
	position:static;
}
.drop-menu .worldwide-menu li {
	background-image:url(images/dot.gif);
	background-position:8px 8px;
	background-repeat:no-repeat;
	padding:0px 0px 0px 16px;
}

.drop-menu .worldwide-menu ul li {
	background-position:8px 6px;
	padding:0px 0px 0px 22px;
}
.drop-menu .worldwide-menu li:hover { background-image:url(images/dot_red.gif); }

.page-intro {
	color:#959595;
	font-size:14px;
	font-style:italic;
	text-indent:1px;
}

#intro { margin-top:20px; }

.sitemap {
	list-style-type:none;
	width:600px;
}
.sitemap h2 a, .sitemap h2 a:link, .sitemap h2 a:visited {
	color:#000000;
	font-weight:normal;
}

.sitemap h3 a, .sitemap h3 a:link, .sitemap h3 a:visited {
	color:#323B85;
	font-weight:normal;
}

.sitemap li { margin-bottom:24px; }

.sitemap li h2 {
	border-bottom:1px solid #E3E3E3;
	border-top:1px solid #E3E3E3;
	font-size:18px;
	margin-bottom:20px;
	padding-bottom:8px;
	padding-top:3px;
}

.sitemap .sublist-header {
	height:18px;
	margin:6px 0px 0px 14px;
}

.sitemap ul {
	list-style-type:none;
	margin:4px 0px 0px 44px;
}

.sitemap ul li { margin-bottom:2px; }

.sitemap ul li h3 {
	font-size:14px;
	white-space:nowrap;
}

.pager img {
	margin:0px;
	position:relative;
	top:-2px;
}

.pager input { vertical-align:baseline; }
.pager select { width:4em; }
