/*
Theme Name: Базовая FacMag
Theme URI: http://facmag.ru/
Description: Тема FacMag.ru.
Version: 1.0
Author: FacMag.ru
Author URI: http://facmag.ru/
*/

html, body, table, tr, td, th {
	margin:0;
	padding:0;
	border:0;
	border-collapse: collapse;
}
table, td, th, input {font-size: 100%;}
img {
	border:0;
	vertical-align: top;
}
form {margin: 0;}
html {width: 100%; height: 100%;}
body {
	width: 100%;
	min-width: 1024px;
	background: #ebeff1;
	font-family: Tahoma, Arial, sans-serif;
	font-size: 70%;
	color: #231f20;
}

/*links*/
a {color: #231f20;}
a:hover {text-decoration: none;}
#pagelist a { color: #ffffff; }


/*tags*/
ul, ol, p, dl {
	padding-top: 2px;
	margin: 0 0 15px 0;
}
h1 {
	margin: 0 0 13px 0;
	font: 180% Georgia, Arial, san-serif;
	font-weight: bold;
	line-height: 105%;
}
h1 a {color: #231f20; text-decoration: none;}
h1 a:hover {text-decoration: underline;}
h1 span {
	font: 70% Arial, san-serif;
	font-weight: normal;
	white-space: nowrap;
}
h2 {
	margin: 1px 0 0 0;
	color: #231f20;
	font: 165% Georgia, Arial, san-serif;
}

#main {
	width: 1024px;
	margin: 20px auto;
}
#back {
  float: left;
  width: 1000px;
	padding: 10px 12px 10px 12px;
	background-color: #ffffff;
}
/*top*/
#top {float: left; margin: 0 0 10px 0;}
	#logo {
		border-bottom: 4px solid #221e1f;
	}
  #topmenu {
    width: 1000px;
		height: 21px;
		background-image: url('images/menu_bg.gif');
		background-repeat: repeat-x;
		text-align: center;
	}
  #topmenu img {
		margin: 0 10px 0 10px;
	}

/*content*/
#content {float: left;}
#contentLeft {
	width: 260px;
	float: left;
	display: inline;
	padding: 0 10px 0 0;
}
#contentCenter {
	float: left;
	width: 550px;
	padding: 0 10px 0 10px;
	border-left: 1px solid #221e1f;
	border-right: 1px solid #221e1f;
	min-height: 830px;
}
#contentRight {
	width: 141px;
	float: left;
	padding: 0 0 0 10px;
}
#contentRight p {
	text-align: justify;
}
#linksRSS {
	margin-bottom: 15px;
	padding: 0 0 15px 20px;
	border-bottom: 1px #6d6e71 dashed;
}
/*redesign*/
.topheader {
	font-family:Arial, sans-serif;
	font-size: 18px;
	color:#D2222A;
}
.sidebarMenu {
	display: block;
	margin: 0;
	padding: 0;
}
.sidebarMenu img {
	margin-bottom:5px;
	margin-right:8px;
}
.sidebarMenu li {
	display: block;
	margin: 18px 0 15px 0;
	padding: 0 0 0 0;
	border-bottom: 1px #6d6e71 dashed;
}
.left_submenu {
	display: block;
	margin: -7px 52px 18px;
	padding: 0;
	border: none;
	list-style: none;
}
.left_submenu li {
	border: none !important;
	display: block !important;
	background-image: url('images/btn_finger_blue.gif') !important;
	background-position: 0px 4px !important;
	background-repeat: no-repeat !important;
	margin: 0 0 4px 0 !important;
	padding: 0 0 0 23px !important;
}

.left_submenu a {
	font-family:Arial, sans-serif;
	font-size: 12px !important;
	color:#747474 !important;
}

.left_submenu li.current_page_item a {
 	text-decoration: none !important;
}

.sidebarMenu a {
	font-family:Arial, sans-serif;
	font-size: 18px;
	color:#231F20;
	text-decoration: underline;
}
#address-title {
	text-align:right;
	color:#78909F;
	font-family:Tahoma;
	font-size: 14px;
	font-weight:bolder;
	margin-bottom:8px;
}
#address-content {
	text-align:left;
	font-size:11px;
	font-family: Arial, Helvetica, sans-serif;
	color: #A4A4A4;
	margin-left:7px;
}
#send-message {
	margin-top: 13px;
	text-align:center;
	font-family: Tahoma;
	font-size: 14px;
}
#send-message a{
	font-family: Tahoma;
	font-size: 14px;
	text-decoration: underline;
}


/*menu*/
.menu {
  font-family: Tahoma, Arial, sans-serif;
	display: block;
	margin: 0 0 15px 0;
	padding: 0 0 10px 0;
	border-bottom: 1px #6d6e71 dashed;
}
.menu a {color: #6d6e71; text-decoration: none; font-size: 120%;}
.menu a:hover {text-decoration: underline;}
.menu li {
  display: block;
  background-image: url('images/btn_finger.gif');
  background-position: center left;
  background-repeat: no-repeat;
  margin: 0 0 4px 0;
  padding: 0 0 0 20px;
}
.menu li.tel {
  font-weight: bold;
  margin: 15px 0 10px 0;
  background-image: url('images/tel.gif');
  color: #d2232b;
}

.menubig {
  font-family: Georgia, Arial, sans-serif;
	display: block;
	margin: 0 0 20px 0;
	padding: 0 0 15px 0;
	border-bottom: 1px #6d6e71 dashed;
	text-transform: uppercase;
}
.menubig a {color: #231f20; text-decoration: none; font-size: 115%;}
.menubig a:hover {text-decoration: underline;}
.menubig li {
  display: block;
  letter-spacing: 2px;
  background-image: url('images/btn_finger_big.gif');
  background-position: 0px 4px;
  background-repeat: no-repeat;
  margin: 0 0 4px 0;
  padding: 0 0 0 23px;
}
.menubig li.current_page_item {
 background-image: url('images/btn_finger_big_s.gif');
}

.submenu {
	height: 13px;
	text-align: center;
	overflow: hidden;
	margin: 0;
	padding: 5px 0 5px 30px;
}
.submenu div {
  float:left;
  width: 130px;
  text-align: center;
}
.submenu div.wide {
  width: 200px !important;
}
.submenu div img {
  margin: 0 3px 0 3px;
}
.submenu div img.brckt {
  margin-top:1px;
}

/*search*/
#search {
	margin: 10px 0 12px 12px;
}
#searchInput {float: left; border: solid 1px #a0a0a0; width: 210px; height: 17px; font-size: 110%;}
#searchButton {margin-left: 5px;}

/*navBar*/
#navBar {font-size: 110%; color: #c0c0c0; margin-bottom: 39px;}
#navBar p {margin-bottom: 5px;}
#navBar strong {color: #949494;}

/*news*/
.newsItems {margin-bottom: 15px; padding: 0 0 2px 0;}
.newsItems p {font-size: 120%; line-height: 1.05em; margin-bottom: 4px;}
.newsItems p.comment {color: #d2232b; font-size: 110%; margin: 0;}
.newsItems p.comment img {vertical-align: bottom;}
.newsItems p.comment a {color: #d2232b; text-decoration: none;}
.newsItems p.comment a:hover {text-decoration: none;}
.newsItems .newsImg {margin: 0; float: left; margin: 0 7px 5px -3px;}
.newsItems .newsDate {font-size: 120%; font-family: Tahoma;}
.newsItems .newsTitle {background-image: url('images/dot_red.gif');	background-repeat: no-repeat; background-position: center left; font-size: 120%; font-family: Tahoma; padding: 0 5px 0 17px;}
.newsItems .newsTitle a {text-transform: uppercase; color: #d2232b; text-decoration: none; font-weight: bold; letter-spacing: 2px;}
.newsItems .newsTitle a:hover {text-decoration: underline;}

.post .newsDate {font-size: 120%; font-family: Tahoma;}
.post p.about-img {display: block; width: 375px; margin: 0 10px 5px 0; clear:both; background-repeat: no-repeat; background-position: 0px 0px;}
.post p.about-img:hover {background-position: -375px 0%;}
.post p.about {display: block; width: 375px; overflow: hidden; float:left; margin: 0 10px 5px 0; clear:both;}
.post p.about img {width:750px; margin-left: 0px;}
.post p.about img:hover {margin-left: -375px;}
.post h3 {clear:left;}

.commentlist {padding-left: 25px;}

/*sidelink*/
.sidelink {margin-bottom: 5px; margin-right: 10px;}
.sidetitle {margin-bottom: 12px; margin-top: 25px; text-transform: uppercase;}

/*footer*/
#footer {
	float: left;
	width: 1000px;
	height: 10px;
}
#footer a {
	color:#777777;
}
#footer a:hover {
	color:#777777;
	text-decoration:none;
}
#copy {
	margin: -120px 0 0 0;
	width: 150px;
	float: left;
	display: inline;
	color: #a0a0a0;
	line-height: 1.1em;
	position: absolute;
}
#copy p {margin: 0 0 5px 0;}
#copyright {margin: 23px 0 0 0!important;}
#counters {
   margin: -36px 0 0 0;
	width: 150px;
	float: left;
	/*display: inline;*/
	color: #a0a0a0;
	line-height: 1.1em;
	position: absolute;
}
  #counter_01 {
  	float: right;
  	margin-left: 25px;
  }
  #counter_02 {
  	float: right;
  	margin-left: 25px;
  }

.entry {
	font-size: 1.25em;
	padding-right: 25px;
}
.entry ul {
  padding-left: 25px;
}


/*recentposts*/
#recentposts {
  padding: 0 0 0 0;
}
#recentposts-title {
	text-align:right;
	color:#78909F;
	font-family:Tahoma;
	font-size: 14px;
	font-weight:bolder;
	margin-bottom:8px;
}
#recentposts-list {

}

#recentposts-list div.item {
  padding: 0 0 20px 0;
}

#recentposts-list div.item .shadowed {
  margin: 0 0 0 -4px;
}
#recentposts li {
  margin: 0 10px 7px 0;
  padding: 0;
}

/*recentcomments*/
#recentcomments {
  margin: 0;
  padding: 0;
  list-style:none;
}
#recentcomments li {
  margin: 0 10px 7px 0;
  padding: 0;
}

/*topposts*/
#topposts {
  margin: 15px 0 15px 0;
  padding: 1px;
  border: 4px solid #9fb0b8;
}
#topposts-in {
  padding: 15px 5px 5px 5px;
  margin: 0;
  border: 1px solid #9fb0b8;
}
#topposts-title {
  padding: 0;
  height: 56px;
  background-image: url('images/title_top.gif');
  background-position: top center;
  background-repeat: no-repeat;
  border-bottom: 1px #6d6e71 dashed;
}
#topposts-list {
  margin: 0;
  padding: 5px 5px 5px 9px;
  font-size: 110%;
}
#topposts-list div {
  margin: 10px 0 0 17px;
}
#topposts-list div a {
  margin: 1px 0 0 -17px;
  padding: 0 0 8px 19px;
  display: block;
  font-size: 135%;
  line-height: 105%;
  color: #231f20;
  font-weight: bold;
  text-decoration: none;
  font-family: Georgia;
  background-position: top left;
  background-repeat: no-repeat;
}
#topposts-list div a:hover {
  text-decoration: underline;
}

.caricature {margin: 20px 0 20px 0; padding: 0; float: left; width: 100%;}
.caricature span.t {font-size: 175%; font-weight: bold; line-height: 105%;}
.caricature span.s {font-size: 120%; display: block; float: right; margin: 5px 0 0 0;}
.caricature img {float: left; margin: 0 15px 0 0;}
.caricature img.ql {float: left; margin: 0 10px 5px 0;}
.caricature img.qr {float: right; margin: 5px 0 0 10px;}


.blogmenu {}
.blogmenu div img.title {margin: 7px 0 0 0;}
.blogmenu div.first {border-left: 0px;}
.blogmenu div.last {border-right: 0px;}
.blogmenu div {
  float:left;
  border-right: 1px solid #221e1f;
  width: 141px;
  text-align: center;
}
.blogmenu-end {
  clear: left;
  height: 0px;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #221e1f;
}
.blogmenu-end-big {
  clear: left;
  height: 0;
  padding: 0;
  margin: 0;
  border-bottom: 4px solid #221e1f;
}
.blogmenu-end-huge {
  clear: left;
  height: 7px;
  padding: 0;
  margin: 0;
  border-bottom: 4px solid #221e1f;
}
.blogmenu-spacer {
  height: 20px;
  padding: 0;
  margin: 0;
}
.blogmenu-spacer-small {
  clear: left;
  height: 10px;
  padding: 0;
  margin: 0;
}

#auth {
  margin: 0 0 20px 0;
  padding: 0 0 15px 0;
  border-bottom: 1px #6d6e71 dashed;
}
#authLogin, #authPass {
  border: solid 1px #a0a0a0; width: 100px; height: 17px;
  vertical-align: middle;
  margin: 0 5px 0 0;
  font-size: 110%;
}
#authButton {
  margin: 0;
  width: 21px; height: 20px;
  vertical-align: middle;
}
#authLinks {
  margin: 3px 0 0 110px;
}
#authLogout {
  text-align: center;
}

.num1 {background: url('images/num_1.gif');}
.num2 {background: url('images/num_2.gif');}
.num3 {background: url('images/num_3.gif');}
.num4 {background: url('images/num_4.gif');}
.num5 {background: url('images/num_5.gif');}

.textwidget {
	margin: 15px 0 15px 12px;
	padding: 0 0 15px 0;
        text-align: center;
}

.shadowed {position: relative; z-index: 1; display: block; float: left; min-height: 10px; color: #000000;}
.shadowed .c {text-align: center; position: relative; z-index: 2; display: block; margin: 0; padding: 3px 6px 0px 4px;}
.shadowed .t, .shadowed .b {position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; right: 6px; overflow: hidden;}
.shadowed .b {top: auto; bottom: -6px; height: 6px;}
.shadowed .r {left: auto; right: 0; width: 6px;}
.shadowed .t *, .shadowed .b * { position: absolute; top: 0; left: 0; width: 300px; height: 400px; background: url('images/shadow.gif') 0 0 no-repeat;}
.shadowed .t * {margin-top: -6px;}
.shadowed .l * {margin-left: -6px;}

.dashed {border-bottom: 1px #6d6e71 dashed;}

.gallery-table td {padding: 0 0 10px 0;}

*html .shadowed .t *, *html .shadowed .b * { background: transparent;}

