/* ЦОЭК */
* {padding:0; margin:0;}
html {color:#330; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:100.01%; background:#3a6a3a; height:100%; }
* html img, * html .png, * html .word_ico {
    azimuth: expression(
	this.pngSet?this.pngSet=true:(this.nodeName == "IMG" && this.src.toLowerCase().indexOf('.png')>-1?(this.runtimeStyle.backgroundImage = "none",
	this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "', sizingMethod='image')",
	this.src = "/blank.gif"):(this.origBg = this.origBg? this.origBg :this.currentStyle.backgroundImage.toString().replace('url("','').replace('")',''),
	this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.origBg + "', sizingMethod='crop')",
	this.runtimeStyle.backgroundImage = "none")),this.pngSet=true
	);
}
body {font-size:62.5%; height:100%;}
img, a:link img, a:visited img, a:hover img, a:active img{border: 0; outline:none;}

/*reloading*/
a {outline:none;}
a:link	{ font:inherit; color:#485079;	text-decoration:none; border-bottom: 1px solid #485079; padding:0 2px 1px 2px;}
a:visited{ font-size: 100%; color:#923c35; text-decoration: none; border-bottom: 1px solid #923c35; padding:0 2px 1px 2px;}	
a:hover	{font-size:100%; color:#fff; background:#485079; text-decoration:none; border-bottom: 1px solid #485079;}		
a:active {font-size:100%;color:#429848;text-decoration:none;text-decoration:underline;}	

a.red:link {color: #923c35;}	
a.red:active {color: #429848;}	
a.red:hover {color: #429848;}
a.red:visited {color: #923c35;}

a.mail:link {color:#cecece; border:none;}
a.mail:active {color:#cecece; border:none;}
a.mail:hover {color:#cecece; border-bottom:1px solid  #cecece; background:none;}
a.mail:visited {color:#cecece; border:none;}

h1 {font-size:22px; margin:0 0 0.5em 0; color:#453e08;	font-weight:normal;}
h2 {font-size:19px; margin:0 0 0.5em 0; color:#453e08; font-weight:normal;}
h3 {font-size:16px;margin:0 0 0.5em 0; color:#453e08; font-weight:normal;}
h4 {font-size: 14px; margin:0 0 0.5em 0; color:#2e6cac;}
h5 {font-size:12px; margin:0 0 0.5em 0; color:#2e6cac; font-weight:normal;}	
h6 {font-size:11px; margin:0 0 0.5em 0; color:#2e6cac;}
	
p {margin:0 0 0.2em 0;}
	
table {border:0; border-collapse:collapse;}
table td, th {padding:0; vertical-align:top; text-align:left;}
	
small, sup, sub	{font-size: 0.8em;}
	
big	{font-size: 1.2em;}


	
/*site construction*/
#global {margin:-84px auto 0 auto; min-height:100%; height:auto !important; height:100%; width:961px; background:#f4f4dc url(images/bodytile.jpg) 0 70px repeat-y;}
#header { padding:84px 0 0 0; width:961px; height:113px; background:#44931d url(images/header.jpg) 0 84px repeat-x; position:relative;}
#headercont {margin:0 auto; width:50%; text-align:right;}
#globalcont {position:relative; min-height:500px; height:auto !important; height:500px; background:url(images/bodyinside.jpg) 0 197px no-repeat; }

#back2home {position:absolute; top:100px; left:60px; width:300px; height:70px;}
#back2home a:link, #back2home a:visited, #back2home a:hover {display:block; width:300px; height:70px; border:none; background:none;}
#top {height:90px; width:90px; position:absolute; top:100px; right:50px; background:url(/images/icons.gif) no-repeat;}

#menucol { float:left; width:280px;}
#lag { position:absolute; top:194px; left:285px; width:51px; height:170px; background:url(images/lag_home.jpg) no-repeat;}
#lag a:link, #lag a:visited {display:block; height:170px; width:51px; border:none; text-decoration:none; padding:0; margin:0; background:url(images/lag.jpg) no-repeat;}
#lag a:hover { background-position:100% 0;}

#apic { list-style: none; margin: 0 0 0 15px; _margin: 0 0 0 20px; width: 240px;}
#apic li { float: left; margin: 7px 5px; _margin:5px 2px;}
#apic li a, #apic li a:hover {border:none; text-decoration: none; background:none;}
#apic li a img {padding: 2px; border: 1px solid #E8E8C2;}
#apic li a:hover img {padding: 2px; border: 1px solid #fff; background:#fff;}

/*menu*/
#menu {position:relative; top:50px; left:15px; margin:0 0 84px 0; width:240px;}
.dropdown {display:block; position:relative;font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; color:#363;}
a.no_drop {border:none; border-right:2px solid #e8e8c2; display:block; width:240px; padding:8px; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; text-align:right; color:#363; background:#f4f4dc;}
a.no_drop:hover {color:#94853f; background:#e8e8c2;}
.dropdown dt {width:240px; border-right:2px solid #e8e8c2; padding:8px; font-weight:bold; cursor:pointer; text-align:right;_behavior:url(/csshover.htc);}
.dropdown dt:hover {background:#e8e8c2; color:#94853f; _behavior:url(/csshover.htc);}
.dropdown dd {position:absolute; top:0; overflow:hidden; width:208px; display:none; background:#fff; opacity:0}
.dropdown ul {width:204px; border:2px solid #e8e8c2; list-style:none;}
.dropdown li {display:inline}
.dropdown a:link, .dropdown a:active, .dropdown a:visited {display:block; color:#666; text-decoration:none; background:#fdfdef; width:184px; border-bottom:1px solid #e8e8c2; padding:7px 5px 6px 15px; font-weight:bold;}
.dropdown a:hover {background:#f4f4dc; color:#94853f; border-bottom:1px solid #e8e8c2;}

#maincol { width:600px; float:left; margin:40px 0 0 80px;}
#content { float:left; padding:20px 0 10px 0; font-size:12px;}
#content img { margin:3px; border:2px solid #e8e8c2;}
#rightcol {  width:200px; float:left; position:relative; overflow:hidden; margin:50px 0 0 5px; background:#fdfdef url(images/rcolbg.jpg) 100% 0 repeat-y;}
.rcol_news { display:block; width:200px; height:45px; background:url(images/rcolnewsbg.jpg) no-repeat; font-weight:bold; color:#b5f196; padding:5px 0 0 0; text-align:center;}
/* вывод обновлений сайта */
.news_name a:link, .news_name a:visited, .news_name a:hover { display:block; padding:2px 2px 2px 5px; margin:7px 1px 2px 0; border:none; border-bottom:1px solid #fdfdef; text-decoration:none; font-weight:bold; font-size:1.2em; background:none; color:#30581e;}
.news_name a:hover { background:#f4f4dc; color:#94853f; border-bottom:1px solid #a9a98f;}
p.news {font-size:1em; padding:0 0 0 10px;}
.date {font-size:1em; color:#959877; margin:2px 1px 10px 0; text-align:right; padding:1px 5px 2px 0; }
#rightcol p {display: block; padding: 0 0 0 5px;}

#footer {height:110px; clear:both; width:961px; margin:0 auto; background:#3a6a3a url(images/footer.jpg) no-repeat; color:#cecece; position: relative;}
#feed { float:left; padding:15px 0 0 50px;}
#copyright { float:left;padding:25px 0 0 110px; text-align:center;}
#copyright a {color:#050; border:none; text-decoration:none;}
#copyright a:hover { background:none;}
#counter {float:left;padding:25px 20px 0 70px;}

#some_lnks { position: absolute; top: 84px; height: 24px; width: 100%; padding: 1px 20px; color:#2b4f2b;}
#some_lnks a:link, #some_lnks a:visited, #some_lnks a:hover, #some_lnks a:active {color:#2b4f2b; font:10px Tahoma; border: none; text-decoration:underline; background: none;} 

a.word_ico {background:url(images/page_white_word.png) no-repeat; line-height:18px; padding:0 2px 2px 18px; border:none;}
a.word_ico:hover {background-color:#485079;}

/* закладки в разделе книги */
#book_buttons {border-bottom:1px solid #dfdeae; width:500px; height:15px; margin:0 0 15px 0;}
#book_buttons ul {list-style:none;}
#book_buttons ul li {float:left;}
#book_buttons ul li a { display:block; width:116px; height:13px; padding:2px 0 0 5px; text-decoration:none; border:none; background:url(images/tab_books.jpg) 0 100% no-repeat; color:#94853f; font-weight:bold; font-size:10px;}
#book_buttons ul li a:hover { background:url(images/tab_books.jpg) no-repeat; color:#7c6e2c;}
#book_buttons ul li a.current { background:url(images/tab_books.jpg) no-repeat; color:#7c6e2c; cursor:default;}
#book_buttons ul li a.current:hover {cursor:default;}

/* отправка формы */
#formwrapper { width:200px; margin:20px auto; font-weight:bold;}
.form {float:left; padding:10px 10px 5px 10px; background:#fdfdef; border:2px solid #e8e8c2}
.form select {float:left; width:146px; margin-top:10px}
.form input {margin:0 0 8px 0; width:140px;}
.form .submit {clear:both; float:right; margin:10px 0 0 0; width: 100px;}
#msg {display:none; position:absolute; z-index:200; background:url(images/msg_arrow.gif) left center no-repeat; padding-left:7px}
#msgcontent {display:block; background:#f3e6e6; border:2px solid #924949; border-left:none; padding:5px; min-width:150px; max-width:250px}
.red{background:#ffbaba;}
.green{background:#baffba;}
.fb_error{background:#ffbaba; border:1px #aaa solid; margin:10px auto; text-align:center; display:block; width:400px; font-weight:bold; padding:2px;}
.fb_ok{background-color:#fdfdef; border:1px #e8e8c2 solid; margin:10px auto; text-align:center; display:block; width:400px; font-weight:bold; padding:2px;}

/* */

.clear {clear:both; height:0; overflow:hidden;}
a.zip {color:#808048; padding:2px 0 2px 50px; background:url(images/zip.gif) 30px 2px no-repeat; border:none; border-top:1px solid #d1d195; line-height:18px; margin:15px 0 0 0; display:block; width:200px;}
a.zip:hover {color:#333; padding:2px 0 2px 50px;  background:#d1d195 url(images/zip.gif) 30px 2px no-repeat; border:none; border-top:1px solid #d1d195; margin:15px 0 0 0;}

/*docs*/
#shopping_cart { width: 99%; position:relative; margin:0 0 20px 0; font:11px Verdana;}
#shopping_cart td {padding:2px 2px 5px 2px; border-top:1px solid #dbdbb5;}
th.view_doc_1, th.view_doc_2, th.view_doc_3, th.view_doc_4 {text-align:center; color:#948560; border:1px solid #e5e5c5; border-collapse:collapse;}
.view_doc_1 {vertical-align:middle; background:#eeeed0; padding:0; width:17px; }
.view_doc_1 input {margin:2px 0 0 3px;}
.view_doc_2 { font:bold 11px Verdana; width:35%; color:#6d6b38;}
.view_doc_3 { background:#ebebcd; width:10%; text-align:center;}

td.mail_us {border-top:2px solid #ebebcd; position:relative; height:30px; vertical-align:middle;}
td.mail_us input {position:absolute; left:440px;}
td.fio_us input {position:absolute; left:440px;} 
td.address_us input {position:absolute; left:440px;}
td.donate_us input  {position:absolute; left:440px; }
#shopping_cart td.fio_us, #shopping_cart td.address_us, #shopping_cart td.donate_us {height:30px; vertical-align:middle; border-top:none;}
* html, *+html td.mail_us input {position:relative; left:8px;}
* html, *+html td.fio_us input {position:relative; left:15px;} 
* html, *+html td.address_us input {position:relative; left:10px;}
* html, *+html td.donate_us input  {position:relative; left:83px;}

ul#sub_list_doc {margin:0 0 0 20px; font:12px Verdana;}
ul#sub_list_doc li {margin:5px 0;}
