/*  
Theme Name: www.kod-dubna.ru
Theme URI: http://www.kod-dubna.ru/
Description: Theme for WP on www.kod-dubna.ru
Version: 1.0
Author: Sergey M. Kolier
Author URI: http://www.kolier.ru/
*/

/* =Reset default browser CSS
-------------------------------------------------------------- */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: top;
}
fieldset,img { 
	border:0;
}
address,caption,cite,code,dfn,em,strong,th,var {
	font-style:normal;
	font-weight:normal;
}
ol,ul {
	list-style:none;
}
caption,th {
	text-align:left;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	color: #333;
	font-weight: normal;
	clear: both;
}
q:before,q:after {
	content:'';
}
abbr,acronym {
	border:0;
}
blockquote {
	quotes: none;
	border-left:3px solid #cfcfcf;
	font-style:italic;
	margin:0px;
	padding:0px 0px 0px 10px;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
} 

/* =Global Elements
-------------------------------------------------------------- */ 
body {
	font-family: Arial, Tahoma, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 1.5;
	color: #333;
}
hr {
	background-color: #e7e7e7;
	color: #e7e7e7;
	border: 0;
	clear: both;
	height: 1px;
	margin: 8px 0px 6px 0px;
	noshade: noshade;
}

/* Text elements
-------------------------------------------------------------- */
p {
	margin-bottom: 5px;
}
h1 {
	font-size:22px;
}
h2 {
	font-size:18px;
}
h3 {
	font-size:14px;
	font-style:italic;
	font-weight: bold;
}
h4 {
	font-size:14px;
}
ul {
	list-style: disc;
	list-style-image: url(images/li.gif);
	margin: 0px 0px 8px 20px;
}
ol {
	list-style: decimal;
	margin: 0 0 18px 1.5em;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
}
dl {
	margin: 0 0 24px 0;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 18px;
}
strong {
	font-weight: bold;
}
cite, em, i {
	font-style: italic;
}
big {
	font-size: 131.25%;
}
ins {
	background: #ffc;
	text-decoration: none;
}
blockquote {
	font-style: italic;
	padding: 0 3em;
}
blockquote cite, blockquote em, blockquote i {
	font-style: normal;
}
pre {
	background: #f7f7f7;
	color: #222;
	line-height: 18px;
	margin-bottom: 18px;
	padding: 1.5em;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
sup, sub {
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
input, textarea {
	background: #f9f9f9;
	border: 1px solid #ccc;
	box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	padding: 2px;
	vertical-align: middle;
}
a:link {
	color: #0066cc;
}
a:visited {
	color: #0066cc;
}
a:active, a:hover {
	color: #ff4b33;
}

/* =Menu
-------------------------------------------------------------- */
/* Primary menu */
/* The main theme structure */
#access-primary .menu-header-primary,
div.primary-menu {	
 	margin: 0 auto;
	width: 980px;
}
#access-primary .primary-menu,
#access-primary div.primary-menu ul {
	font-size: 12px;	
} 
#access-primary {
	background: #275299;
	display: block;
	float: right;
	margin: 0 auto;
	width: 980px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}
#access-primary .menu-header-primary,
div.primary-menu {
	margin-left: 0px;
	margin-right: 5px;
	width: 975px;
}
#access-primary .menu-header-primary ul,
div.primary-menu ul {
	background: #275299;
	list-style: none;
	margin: 0;
	float: right;
}
#access-primary .menu-header-primary li,
div.primary-menu li {
	float: left;
	position: relative;
	z-index: 3;
}
#access-primary a {
	color: #fff;
	display: block;
	line-height: 38px;
	padding: 0 10px;
	text-decoration: none;
}
#access-primary ul ul {
	box-shadow: 0px 3px 3px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.5);
	display: none;
	position: absolute;
	top: 38px;
	left: 0;
	float: left;
	width: 180px;
	z-index: 3;
}
#access-primary ul ul li {
	min-width: 180px;
}
#access-primary ul ul ul {
	left: 100%;
	top: 0;
}
#access-primary ul ul a {
	background: #3173c8;
	line-height: 1em;
	padding: 10px;
	width: 170px;
	height: auto;
}
#access-primary li:hover > a,
#access-primary ul ul :hover > a {
	background: #2365ba;
	color: #fff;
}
#access-primary ul li:hover > ul {
	display: block;
}
#access-primary ul li.current_page_item > a,
#access-primary ul li.current-menu-ancestor > a,
#access-primary ul li.current-menu-item > a,
#access-primary ul li.current-menu-parent > a {
	color: #fff;
	background: #2365ba;
}
* html #access-primary ul li.current_page_item a,
* html #access-primary ul li.current-menu-ancestor a,
* html #access-primary ul li.current-menu-item a,
* html #access-primary ul li.current-menu-parent a,
* html #access-primary ul li a:hover {
	color: #fff;
	background: #2365ba;
}

/* =WP Captions
-------------------------------------------------------------- */
.alignleft,
img.alignleft {
	display: inline;
	float: left;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
}
img.alignleft,
img.alignright,
img.aligncenter {
	padding: 0px 10px 0px 0px;
	margin: 0px 10px 0px 0px;
}
.wp-caption {
	border: none;
	background: #f1f1f1;
	color: #888;
	font-size: 12px;
	text-align: center;
	margin: 0px;
	padding: 0px;
	-moz-border-radius: 0;
	-khtml-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
}
.wp-caption img {
	margin: 0px;
}
.wp-caption p.wp-caption-text {
	margin: 0px;
} 

/* =Navigation
-------------------------------------------------------------- */
.navigation {
	color: #888;
	font-size: 12px;
	line-height: 18px;
	overflow: hidden;
}
.navigation a:link,
.navigation a:visited {
	color: #888;
	text-decoration: none;
}
.navigation a:active,
.navigation a:hover {
	color: #ff4b33;
}
.nav-previous {
	float: left;
	width: 50%;
}
.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#nav-below {
	margin: 0px 20px 0px 0px;
}

/* =Main table
-----------------------------------------------------------------------------*/
.header-table {
	background: #FFF url(images/header-bg.png) top left no-repeat;
	border-collapse: collapse;
	table-layout: fixed;
}
.top-man {
	vertical-align: top;
	text-align: right;
}
.header-sidebar {
	font-size: 12px;
	background: transparent;
	color: #BBB;
}
.header-sidebar a {
	text-decoration: none;
}
.first-col, .second-col {
	font-size: 12px;
}
.main-table {
	background: #FFF;
}
.body-widget-table {
	background: #FFF;
}

/* =Footer styles
-----------------------------------------------------------------------------*/
.footer-table {
	background: #FFF url(images/header-bg.png) top left no-repeat;
	border-collapse: collapse;
	table-layout: fixed;
}
.footer-widget-area {
	line-height: 1;
}
.footer-widget-area a, .footer-widget-area a:link, .footer-widget-area a:visited {
	color: #fff;
	text-decoration: none;
}
.footer-widget-area a:hover, .footer-widget-area a:active {
	color: #ffcc00;
	text-decoration: none;
}
.footer-widget-area h4 {
	color: #ffcc00;
}
#first-footer {
	
}
#second-footer {
	
}
#third-footer {
	
}
#fourth-footer {
	
}
.footer-text {
	color: #FFF;
	font-size: 11px;
	margin-left: 0px;
	margin-right: 0px;
}
.footer-text a, .footer-text a:link, .footer-text a:visited {
	color: #000;
}
.footer-text a, .footer-text a:hover, .footer-text a:active {
	color: #fff;
}

/* =Different elements
-----------------------------------------------------------------------------*/
.gray-table  td {
	border: 1px solid #EFEFEF; /* Ãðàíèöà âîêðóã ÿ÷ååê */
}

.gray-table h3{
	background-color: #EFEFEF;
	margin: 0px 3px 0px 3px;
	text-align: center;
}
.search-form span {
	display:block;
	margin:10px 0px;
	padding:0;
	background:#FFF;
	border: 1px solid #DDD;
	height:26px;
}
.search-form span#ts {
	float:right;
	width:275px;
}
.search-form span#bs {
	float:left;
	width:235px;
}
.search-form input {
	float:left;
	padding:5px 10px;
	margin:0;
	border:0;
	background:none;
	color:#707070;
}
.search-form input#its {
	width:225px;
}
.search-form input#ibs {
	width:185px;
}
.search-form .btn {
	float:right;
	padding:1px 2px 1px 0;
	margin:0;
	border:0;
	width:auto;
}
.img-w-desc-l {
	float:left; 
	width: 100%;
}
.img-w-desc-l img {
	float: left;
	margin:0px;
	padding:0px 10px 0px 0px;
}
.img-w-desc-r {
	float:right; 
	width: 100%;
}
.img-w-desc-r img {
	float: right;
	margin:0px;
	padding:0px 0px 0px 10px;
}
.post {
	margin:0px;
	padding:0px 20px 0px 0px;
}

/* =Plugin styles
-----------------------------------------------------------------------------*/
.rss-date {
	font-size: 10px;
	background: #3f85e7;
	color: #FFF;
	line-height: 1.5;
	margin: 0px 5px 0px 0px;
	padding: 1px;
}
.rsswidget{

}
.wpcf7-captcha-captcha {
	vertical-align: middle;
}
.wpcf7-submit {
	width:100px;
	height:24px;
}

/* =Consultant styles
-----------------------------------------------------------------------------*/
.error {
	color:red;
	font-weight:bold;
}
div.error {
	padding:8px;
}
.th_norm {
	font-weight:normal;
}
tr.r0 {
	vertical-align:top;
	background-color:#fff;
}
tr.r1 {
	vertical-align:top;
	background-color:#eee;
}
td.num {
	text-align:center;
}
td.g_name {
	padding:4px;
	font-weight:bold;
	background-color:#ccc;
	border-top:4px solid #fff;
}
a.catalog {
	font-weight:bold;
}
.nb_buch {
	color:#396;
	font-weight:bold;
}
.nb_jur {
	color:#f00;
	font-weight:bold;
}