/** logoprog.ru main stylesheet  **
 ** by Denis Volkov              **/

/* Stiky footer styles
   Copyright (c) 2006-2007 Ryan Fait
*/
* {
	margin: 0;
}
html, body {
	height: 100%;
}
#wrap {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -40px;
}
#footer, #push, #foot_wrap {
	height: 40px; /* #push must be the same height as #footer */
}
#push {
	clear: both;
}

/* Common styles */
* {
  font-family: 'Verdana', 'Arial', sans-serif;
}

td, th {
  vertical-align: top;
}

img {
  border: none;
}

noscript {
	color: #F00;
	font-weight: bold;
}

.center {
	text-align: center;
}

.relPos {
	position: relative;
}

/* General layout */
body {
	background: #FAFAFA;
	font-size: 11pt;
}

#wrap {
	width: 990px;
	background: #FCD89E url('/img/bodybg.png') repeat-y 50% 0;
}

#header {
	height: 150px;
	position: relative;
	background: #CCC url('/img/headbg.png') repeat-x 0 0;
}
#header p.l {
	position: absolute;
	left: 15px;
	top: 0;
	width: 107px;
	height: 150px;
	background: url('/img/headbgl.png') no-repeat 0 0;
}
#header p.r {
	position: absolute;
	right: 15px;
	top: 0;
	width: 168px;
	height: 150px;
	background: url('/img/headbgr.png') no-repeat 0 0;
}
#header p.title {
	height:90px;
	margin: 0;
	background: url('/img/title.png') no-repeat 50% 0;
}
#header p.title strong {
	display: none;
}

#header p.motto {
	padding: 0 30px 0 0;
	text-align: center;
	color: #00F;
	font-size: 12pt;
	letter-spacing: 0.03em;
}

#footer {
	width: 990px;
	margin: 0 auto;
	background: #00F;
}

/* Header */
#header ul.menu {
	position: absolute;
	left: 22px;
	bottom: 5px;
	height: 20px;
	padding: 0;
	list-style: none;
}
#header ul.menu li {
	display: inline;
	margin-right: 20px;
}
#header ul.menu li a {
	color: #FFF;
	text-decoration: none;
}
#header ul.menu li a:hover, #header ul.menu li a:active {
	color: #DDF;
}

/* Content */
#content {
  margin: 10px 18px 20px;
}

#content h1, #content h2 {
	margin: 16px 0 8px;
	height: 1.3em;
	padding: 3px 1em 1px;
	font-size: 12pt;
	color: #FFF;
	background: #F7863A;
	border-bottom: 2px solid #713207;
}
#content h3 {
	font-size: 11pt;
}

#content p, #content a, #content dl, #content li, 
#content label, #content h3, #content td {
	color: #202AF9;
}
#content form p {
	color: #000;
}

#content p {
	margin: 8px 0;
	/* font-size: 12pt; */
	line-height: 120%;
}

#content p.note {
	font-size: 10pt;
}

#content ul {
	margin: 8px 0;
	padding: 0;
}
#content li {
	margin: 8px 0 8px 16px;
	padding: 0 0 0 2px;
}

#content .pdf_icon {
	float: left;
	width: 50px;
	height: 50px;
	padding: 0 15px 10px 0;
}

#content .error, #content .info {
	margin: 16px 0;
	padding: 2px 16px;
	color: #FFF;
	font-weight: bold;
}
#content .error {
	background-color: #F00;
}
#content .info {
	background-color: #080;
}

#content #sys_req {
	margin: 16px 10px;
}
#content #sys_req dt {
	margin-left: 0.5em;
	font-weight: bold;
}
#content #sys_req dd {
	margin-bottom: 10px;
}

/* Screenshots */
#main_shot {
	display: block;
	float: right;
	margin: 0 0 16px 16px;
}
#main_shot img {
	width: 400px;
	height: 285px;
}

#MainShotBlock {
	float: right;
	width: 420px;
}

#MainShotBlock p.center {
	width: 330px;
	margin: 17px auto 0;
	overflow: hidden;
}

#MainShotBlock p.center a {
	float: left !important;
	margin: 0 10px;
}

#content #screenshots {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	width: 100%;
	overflow: hidden;
}
#content #screenshots li {
	float: left;
	margin: 0;
	padding: 0 9px;
}
#content #screenshots li a {
	display: block;
	width: 300px;
}

/* Subscription block */
#subscr {
	clear: both;
	float: right;
	width: 420px;
	overflow: hidden;
	margin: 0;
	padding: 0 0 16px 16px;
	background: #FBDAA1;
}
#content #subscr p, #content #subscr li {
	font-size: 10pt;
}
#content #subscr h2 {
	margin-top: 8px;
}
#subscr h3, form.subscr h3 {
	margin: 8px 0 4px;
	color: #B5622B;
	font-size: 12pt;
}
#rss_feed {
	float: left;
	width: 32px;
	height: 32px;
	margin-right: 8px;
	background: #ED1822 url('/img/rss-feed.png') no-repeat 50% 50%;
}

/* News */
#site_news, #news_page {
	list-style: none;
	margin: 0;
	padding: 0;
}
#site_news li, #news_page li {
	padding: 0 0 8px;
}
#site_news li a, #news_page li a {
	text-decoration: none;
}
#site_news li a:hover, #news_page li a:hover {
	color: #00A;
}
#site_news li {
	font-size: 10pt;
}

/* Comparison table */
#compare_ver {
	width: 900px;
	/* border: 1px solid #008; */
	border-collapse: collapse;
	margin: 8px auto;
}
#content #compare_ver td, #content #compare_ver th {
	padding: 4px 10px;
	font-weight: bold;
	vertical-align: middle;
}
#compare_ver th {
	text-align: center;
	color: #FFF;
}
#compare_ver tr {
	height: 38px;
}
#compare_ver td {
	background: #FFE9C7;
	border: 1px solid #008;
}
#compare_ver th.demo, #compare_ver th.home, #compare_ver th.pro, #compare_ver th.online {
	width: 150px;
	border: 1px solid #008;
}
#compare_ver th.demo {
	background: #00F;
}
#compare_ver th.home {
	background: #F9B11A;
}
#compare_ver th.pro {
	background: #F7863A;
}
#compare_ver th.online {
	background: #DCF;
}
#compare_ver td.demo, #compare_ver td.home, #compare_ver td.pro, #compare_ver td.online {
	width: 150px;
	text-align: center;
	font-size: 13pt;
}
#compare_ver td.demo {
	color: #00F;
}
#compare_ver td.home {
	color: #F9B11A;
}
#compare_ver td.pro {
	color: #F7863A;
}
#compare_ver td.online {
	color: #88F;
}
#compare_ver td img {
	width: 32px;
	height: 32px;
}

/* Buttons */
div.buttons {
	clear: both;
	margin: 20px 0 0;
	height: 35px;
	position: relative;
}

#content .BtnBigGreen, #content .BtnBigBlue, #content .BtnBigOrange {
	display: block;
	position: absolute;
	top: 5px;
	width: 250px;
	height: 30px;
	line-height: 30px;
	background: url('/img/buttons.png') no-repeat;
	text-decoration: none;
	text-align: center;
	color: #FFF;
}
#content .BtnBigBlue {
	left: 320px;
	background-color: #0000FF;
	background-position: -140px 0;
}
#content .BtnBigBlue:hover, #content .BtnBigBlue:active {
	background-color: #D0D0FF;
	background-position: -140px -30px;
	color: #008;
}
#content .BtnBigOrange {
	left: 320px;
	background-color: #F8A314;
	background-position: -140px -60px;
}
#content .BtnBigOrange:hover, #content .BtnBigOrange:active {
	background-color: #FBD077;
	background-position: -140px -90px;
	color: #B5622B;
}
#content .BtnBigGreen {
	left: 320px;
	background-color: #F8A314;
	background-position: -140px -120px;
}
#content .BtnBigGreen:hover, #content .BtnBigGreen:active {
	background-color: #FBD077;
	background-position: -140px -150px;
	color: #B5622B;
}

#content .BtnSmallBlue, #content .BtnSmallOrange {
	display: block;
	width: 140px;
	height: 30px;
	margin: 5px auto;
	line-height: 30px;
	background: url('/img/buttons.png') no-repeat;
	text-decoration: none;
	color: #FFF;
}
#content .BtnSmallBlue {
	background-color: #0000FF;
	background-position: 0 0;
}
#content .BtnSmallBlue:hover, #content .BtnSmallBlue:active {
	background-color: #D0D0FF;
	background-position: 0 -30px;
	color: #008;
}
#content .BtnSmallOrange {
	background-color: #F8A314;
	background-position: 0 -60px;
}
#content .BtnSmallOrange:hover, #content .BtnSmallOrange:active {
	background-color: #FBD077;
	background-position: 0 -90px;
	color: #B5622B;
}

/* Subscription forms */
form.subscr, form.order {
	width: 500px;
	padding: 20px 10px;
	margin: 10px auto;
	border: solid #080;
	border-width: 1px 2px 2px 1px;
	background: #FFE9C7;
}
#content #NSI_addr {
	margin-right: 10px;
}
#content #NSI_submit {
	width: 70px;
	height: 30px;
	border: none;
	font-size: 12pt;
	font-weight: bold;
	color: #FFF;
	background: #008000 url('/img/buttons2.png') no-repeat -250px 0;
}

#content #NSB_form {
	margin: 0 0 22px;
}
#content #NSB_submit, #content #NSM_submit, #content #msg_submit {
	width: 150px;
	height: 30px;
	border: none;
	font-size: 12pt;
	font-weight: bold;
	color: #FFF;
	cursor: pointer;
	cursor: hand;
	background: #008000 url('/img/buttons2.png') no-repeat;
}
#content #NSB_submit {
	background-position: -470px 0;
}
#content #NSM_submit, #content #msg_submit {
	background-position: -320px 0;
}

/* Social networks blocks */
#socWigets {
	width: 430px;
	overflow: hidden;
	margin: 30px 0 0 50px;
	padding-top: 5px;
	border-top: 1px solid #2B587A;
}
#socWigets h3 {
	margin-bottom: 16px;
}
#socWigets a {
	text-decoration: none;
}

#vk_groups {
	float: right;
}


/* Order form */
form.order label {
	display: block;
	margin: 0 16px 16px;
}
form.order select {
	width: 250px;
}
form.order #order_submit {
	width: 250px;
	height: 30px;
	font-size: 12pt;
	font-weight: bold;
	color: #FFF;
	border: none;
	background: url('/img/buttons2.png') no-repeat 0 0;
	background-color: #F8A314;
}

/* Contacts form */
#contacts {
	width: 570px;
	padding: 20px 10px;
	margin: 10px auto;
	border: solid #080;
	border-width: 1px 2px 2px 1px;
	background: #FFE9C7;
}
#contacts label {
	display: block;
	position: relative;
	padding: 4px 0;
	margin: 8px 0;
}
#contacts label input, #contacts label select {
	display: block;
	position: absolute;
	top: 4px;
	left: 150px;
}

#contacts label #edSubject {
	display: none;
}

/* Download link */
#content div.dl_link {
	width: 610px;
	height: 40px;
	margin: 20px auto 10px;
	padding: 20px 10px 20px 80px;
	text-align: center;
	background: #FFE9C7 url('/img/dl_link.png') no-repeat 50% 50%;
}

/* Methodological Guide */
#MGuideIndex {
	list-style: none;
	margin: 10px 0;
	padding: 0;
}
#content #QuickNav {
	width: 940px;
	/* overflow: hidden; */
	margin: 20px auto 30px;
	position: relative;
	height: 60px;
}
#QuickNav a {
	display: block;
	background: url('') no-repeat;
}
#QuickNav #home {
	position: absolute;
	width: 180px;
	height: 20px;
	top: 0;
	left: 400px;
	padding-left: 20px;
}
#QuickNav #prev {
	float: left;
	width: 350px;
	padding-left: 20px;
}
#QuickNav #next, #QuickNav #download {
	float: right;
	width: 350px;
	text-align: right;
	padding-right: 20px;
}
#results {
	width: 800px;
	border: 2px solid #713207;
	background: #FFF;
	border-collapse: collapse;
}
#results td, #results th {
	border: 1px solid #713207;
	padding: 3px 10px;
}

/* Painting pictures */
#content ul.PaintPict {
	list-style: none;
	width: 950px;
	overflow: hidden;
	margin: 10px auto;
	padding: 0;
}
#content ul.PaintPict li {
	float: left;
	width: 230px;
	margin: 0;
	padding: 0;
	text-align: center;
}
ul.PaintPict li a {
	display: block;
	text-decoration: none;
	margin: 0 15px;
	padding: 7px 2px;
	border: 1px solid #FCD89E;
}
ul.PaintPict li a:hover {
	border-color: #F7863A;
}
ul.PaintPict li span {
	display: block;
	text-align: center;
	height: 2.1em;
}
#PPSaveAs {
	display: block;
	position: absolute;
	width: 220px;
	height: 1.4em;
	left: 50%;
	margin-left: -110px;
	bottom: 2px;
	text-align: center;
	z-index: 100;
	background: none;
	text-decoration: none;
}
#PPSaveAs:hover {
	color: #713207;
}
#content #consAutLink {
	margin: 35px 0;
	text-align: center;
	font-weight: bold;
	line-height: 1.4em;
}

/* Games */
.video640 {
	width: 644px;
	margin: 10px auto;
}
.FlashApp {
	display: block;
	margin: 10px auto;
}

table.gamePict {
	width: 100%;
}
table.gamePict td {
	text-align: center;
	padding: 5px;
}


/* Special action */
#action {
	margin: 20px 10px;
	padding: 0 0 0 120px;
	background: url('/img/action.png') no-repeat 0 50%;
	min-height: 86px;
}
#action h2 {
	background: none;
	border: none;
	text-align: center;
	color: #202AF9;
	font-size: 14pt;
}
#action p {
	position: relative;
}
#action p.buttons {
	height: 40px;
}
#action p.buttons a.BtnBigBlue {
	left: 280px;
}

/* Footer */
#foot_wrap div {
	float: left;
	padding: 4px 4px 0;
	margin: 0 20px;
	text-align: center;
	white-space: nowrap;
	color: #FFF;
}
#foot_wrap * {
	font-size: 8pt;
	color: #FFF;
}
#foot_wrap div a {
	text-decoration: none;
}
#foot_wrap div a:hover {
	text-decoration: underline;
}

