/*
Theme Name:		ultima
Theme URI:		
Description:	Шаблон для ultima
Version:		1.0
Author:			
Author URI:		
*/

* {
  margin: 0;
  padding: 0;
}
body {
  font: 11px/14px Tahoma, Arial, Verdana, sans-serif;
  width: 100%;
  background: url(images/bg.jpg) repeat-x;
}
a {
  color: #305370;
  outline: none;
}
a:hover {
  text-decoration: none;
}
p {
  margin: 0;
  padding: 8px 0;
}
img {border: none;}


#wrapper {
  width: 900px;
  margin: 0 auto;
}


/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 149px;
	background: url(images/light.jpg) no-repeat;
	position: relative;
}
#logo {
	position: absolute;
	top: 44px;
	left: 20px;
	width: 120px;
	height: 63px;
	background: url(images/logo.jpg) no-repeat;
}
#slogan {
	position: absolute;
	top: 40px;
	left: 182px;
	color: #FFF;
	text-transform: uppercase;
	font-size: 9px;
	line-height: 12px;
	font-weight: bold;
	background: url(images/slogan-bg.gif) no-repeat;
	padding: 2px 23px;
}

#searchform {
	position: absolute;
	top: 0;
	left: 470px;
	width: 320px;
	padding: 63px 0 0;
	background: url(images/search.jpg) 0 19px no-repeat;
}
#search2 {
	position: absolute;
	top: 63px;
	left: 630px;
	width: 320px;
}
#searchform input,
#searchform select,
#search2 input,
#search2 select {
	font: 9px Tahoma, Arial;
	float: left;
}

select.seltop {
	width: 150px;
	height: 17px;
}

.search {
	padding: 2px;
	width: 120px;
}
.go {
	cursor: hand;
	width: 14px;
	height: 13px;
	background: url(images/go.gif) no-repeat;
	margin: 5px 12px 0 6px;
	border: none;
}

ul#langs {
	position: absolute;
	top: 28px;
	right: 27px;
	font-size: 10px;
	line-height: 18px;
	list-style: none;
}
#langs a {
	color: #ACACAC;
	text-decoration: none;
	padding: 0 0 0 10px;
}
#langs a:hover {
	text-decoration: underline;
}
#langs .current a {
	color: #FFF;
	background: url(images/arrow1.gif) 0 4px no-repeat;
}

ul#menu {
	position: absolute;
	bottom: 0;
	right: 0;
	background: #416F90;
	list-style: none;
}
* html #menu {bottom: -1px;}
#menu li {
	float: left;
	text-indent: -9999px;
}
#menu a {
	display: block;
	width: 144px;
	height: 38px;
}
#m1 a {
	width: 145px;
	background: url(images/menu.jpg) no-repeat;
}
#m2 a {
	background: url(images/menu.jpg) -145px 0 no-repeat;
}
#m3 a {
	background: url(images/menu.jpg) -289px 0 no-repeat;
}
#m4 a {
	background: url(images/menu.jpg) -433px 0 no-repeat;
}
#m5 a {
	width: 141px;
	background: url(images/menu.jpg) 100% 0 no-repeat;
}
#m1 a:hover, #m1.current a {background: url(images/menu.jpg) 0 -38px no-repeat}
#m2 a:hover, #m2.current a {background: url(images/menu.jpg) -145px -38px no-repeat}
#m3 a:hover, #m3.current a {background: url(images/menu.jpg) -289px -38px no-repeat}
#m4 a:hover, #m4.current a {background: url(images/menu.jpg) -433px -38px no-repeat}

#autoriz {
	position: absolute;
	right: 0;
	bottom: 45px;
	font-size: 10px;
	color: #FFF;
	width: 140px;
	text-align: center;
}
#autoriz li {list-style: none;}
#autoriz a {color: #FFF;}

#lshadow {
	position: absolute;
	top: 162px;
	left: -8px;
	width: 8px;
	height: 109px;
	background: url(images/shadow-left.gif) no-repeat;
}
#rshadow {
	position: absolute;
	top: 162px;
	right: -9px;
	width: 9px;
	height: 116px;
	background: url(images/shadow-right.gif) no-repeat;
}


/* Content
-----------------------------------------------------------------------------*/
#container {
  width: 100%;
  background: #FFF;
  position: relative;
  overflow: hidden;
}

#content {
  width: 553px;
  float: left;
  padding: 29px 33px 25px 41px;
}

#flash {
	margin: -13px -22px 0 -23px;
}

#content h1 {
	font-size: 30px;
	line-height: 30px;
	font-weight: normal;
	margin: 33px 0 20px;
}

.more {
	font-size: 10px;
	padding: 5px 0 5px 9px;
	background: url(images/arrow2.gif) 0 11px no-repeat;
}
.more a {color: #959595;}

#nav {
	border-bottom: 1px solid #CFCFCF;
	padding: 0 0 11px;
}
#nav a, #nav span {
	margin: 0 0 0 12px;
	padding: 0 0 0 8px;
	background: url(images/arrow2.gif) 0 5px no-repeat;
	color: #959595;
	text-decoration: none;
}
#nav a:hover {
	text-decoration: underline;
}


/*  post */
.post {
	margin: 33px 0 30px;
}
img.left {
	float: left;
}
.postitem {
	margin-left: 60px;
}
.postmetadata {
	font-size: 10px;
}
.postmetadata a {
	color: #959595;
	background: url(images/comments.gif) 0 2px no-repeat;
	padding-left: 17px;
	margin-left: 7px
}
.post h2 {
	font-size: 12px;
	margin: 3px 0 0;
}
.post h2 a {color: #305370;}
.postlinks a {
	padding-left: 9px;
	background: url(images/arrow2.gif) 0 5px no-repeat;
	margin-right: 15px;
	font-size: 10px;
	color: #959595;
}
#content img {
	margin: 4px;
	border: 0px;
	padding: 2px;
}

.post ul,
.post ol {
	margin: 7px 0 7px 30px;
}
.post li {
	padding: 2px 0;
}

.navigation {
	border-top: 1px solid #CFCFCF;
	padding: 20px 0;
}

/* Contact form  */
#contact-form {
	width: 430px;
	padding: 20px 30px;
	background: #DEE4E7;
	margin: 25px 0 0;
}
#contact-form div {
	margin-bottom: 6px;
}
#contact-form div.antispam {
	margin: 10px 0 12px;
	line-height: 22px;
}
#contact-form label {
	display: block;
	margin-bottom: 1px;
}
#contact-form strong {
	font-size: 13px;
}
#contact-form span strong {
	color: #305370;
}
#contact-form input {
	font: 11px Tahoma, Arial;
	width: 420px;
	padding: 2px;
}
#contact-form input#antispam {
	width: 50px;
	margin: 0 5px;
}
#contact-form input#subscribe {
	width: 20px;
}
#contact-form select {
	width: 300px;
	font: 11px Tahoma, Arial;
}
html:first-child #contact-form select {padding: 3px 2px;}
#contact-form textarea {
	width: 420px;
	height: 150px;
	font: 11px Tahoma, Arial;
	padding: 2px;
}
#contact-form #submit,
#contact-form #clear {
	float: left;
	width: 102px;
	height: 32px;
	background: #406F92 url(images/submit.gif) no-repeat;
	font-size: 13px;
	font-weight: bold;
	color: #FFF;
	border: none;
	margin-top: 10px;
	cursor: pointer;
}
#contact-form #clear {
	width: 136px;
	height: 31px;
	background: #A5A5A5 url(images/clear.gif) no-repeat;
	margin: 11px 0 0 7px;
}


/* Right
-----------------------------------------------------------------------------*/
#right {
  float: left;
  width: 255px;
  padding: 16px 18px 30px 0;
}

.widget {
	background: url(images/right-gradient.gif) 0 29px repeat-x;
	padding: 0 14px 16px 14px;
}
.widget .post {
	margin: 0;
}
.widget img.left {
	margin-top: 3px;
}
.widget .postitem {
	margin: 0 -10px 16px 60px;
}
h2.box {
  background: #889EA8 url(images/headline-bg.gif) no-repeat;
  line-height: 27px;
  font-size: 12px;
  text-transform: uppercase;
  padding: 0 0 0 13px;
  margin: 0 -14px 17px;
  color: #FFF;
}

#ci { }
#ci img { vertical-align: middle; }

.contbox { }
.contbox img { 
vertical-align: middle;
padding: 0 7px 1px 0px; }

/* Непописанный класс, который пока не используется */ 
/*.otdel {

}

.otdel strong {
	color: #959595;
	font-size: 12px; 
}

.otdel img {
vertical-align: middle
	margin: 4px;
	border: 0px;
	padding: 2px;
} */
.contacts strong {
	color: #000;
	font-size: 12px; 
}

.contacts {
	padding: 23px 14px 0;
	color: #969696;
	line-height: 16px;
	border-top: 1px solid #DADADA;
}
.contacts h3 {
	font-size: 15px;
	text-transform: uppercase;
	font-weight: normal;
	color: #000;
	margin: 0 0 12px;
}
.contacts strong {
	color: #000;
	font-size: 12px;
}
.contacts a {
	font-size: 12px;
	color: #305370;
	font-weight: bold;
}

#question {
	margin: 17px 0 0;
	overflow: hidden;
	height: 1%;
}
#question a#add {
	display: block;
	width: 128px;
	height: 34px;
	background: url(images/question.gif) no-repeat;
	float: left;
}
a#map {
	float: left;
	margin: 6px 0 0 12px;
	padding: 0 0 0 9px;
	font-size: 10px;
	color: #959595;
	background: url(images/arrow2.gif) 0 7px no-repeat;
	font-weight: normal;
}


/* Footer
-----------------------------------------------------------------------------*/
#footer {
	border-top: 3px solid #D3D3D3;
	padding: 25px 40px 35px;
	color: #959595;
}
#footer a {color: #959595;}
#copyright {
	float: left;
}
#developer {
	float: right;
}
.clear {
  clear: both;
  height: 0;
  overflow: hidden;
}


/* dop 
 @ impo1rt url("custom.css");
*/

ul.postspermonth {
	margin-left: 70px;
}

/* COMMENT FORM */
div.post-comment {
	margin-left: 70px;
}
div.post-single {
	margin-left: 0px;
}
ol.commentlist {
	margin: 20px;
}
ol.commentlist li {
	padding: 5px;
}
li.alt {
	background: #EAF5FD;
}
p.allowed_tags {
	font-size: .8em;
	line-height: 1.1em;
	color: gray;
}
#commentform {
	width: 560px;
}/* form */

#comment {
	width: 99%;
}/*textarea*/

p.subscribe-to-comments {
	font-size: 8pt;
}
#commentform #submit {
	padding: 0px 10px;
	font-size: 8pt;
}
p.submit {
	clear: both;
}
#url, #author, #email {
	width: 205px;
}
input.ed_button {
	padding: 0px 5px;
	font-size: .8em;
	margin-bottom: 3px;
}
#wp_grins {
	margin-top: 5px;
	margin-bottom: 15px;
}
#wp_grins img {
	cursor: pointer;
}
#comment_quicktags {
	margin: 10px 0;
}
#emotion {
	width: 550px;
	margin: 15px 0;
	text-al1ign: justify;
}
#emotion ul li {
	display: inline;
	float: left;
	width: 30px;
	height: 30px;
}
#emotion ul li img {
	margin: 0;
}
#emotion ul {
	list-style-type: none;
	display: inline;
}
div.navigation {
	text-align: right;
}
div.navigation div.paged {
	text-align: left; 
	float: left; 
	width: 200px;
}

div.widget a {
	text-decoration: none;
}
div.widget a:hover {
	text-decoration: underline;
}