/*
Theme Name: 	всё о материнском капитале в россии
Theme URI: 		/
Description: 	Здравствуйте! Если нужно что-то подправить, добавить или отверстать новую тему - обращайтсь icq 633308800 или aparserok@gmail.com
Version: 		1.2.6
Author: 		aparserok
Author URI: 	http://saitobaza.ru/
Tags: 			HTML5, CSS3

License:	MIT
License URI:	http://opensource.org/licenses/mit-license.php
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
:focus {
	outline: 0;
}
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
html {
	height: 100%;
}
.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
body {
	font-family: Verdana, Geneva, sans-serif;
	background-color: #f3f4f5;
	color: #656464;
	font-size:	14px;
	width: 100%;
	height: 100%;
}
a {
	color: #396ac1;
	outline: none;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
p {
	margin: 0 0 18px
}
img {
	border: none;
	vertical-align: middle;
}
input {
	vertical-align: middle;
}
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
textarea {
    resize: vertical;
}

#wrapper {
	width: 960px;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}
.clear {
	clear:both;
}

/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 235px;
	background-image: url(/wp-content/themes/wp-kapitalm/img/bg/hedaerin.png);
	background-repeat: no-repeat;
	background-position: 693px 3px;
}
.home #header {
	height: 395px;
	background-image: url(/wp-content/themes/wp-kapitalm/img/bg/hedaer.png);
	background-repeat: no-repeat;
	background-position: 583px 21px;
}
.backhead {
	width:100%;
	z-index:-50;
	background-image: url(/wp-content/themes/wp-kapitalm/img/bg/backheadin.jpg);
	background-position: center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	background-size: cover;
	-webkit-box-shadow: #666 0px 2px 5px;
	-moz-box-shadow: #666 0px 2px 5px;
	box-shadow: #666 0px 2px 5px;
}
.bkblock0n {
	height: 159px;
	position: absolute;
	top:0;
}
.home .backhead {
	background-image: url(/wp-content/themes/wp-kapitalm/img/bg/backhead.jpg);
}
.home .bkblock0n {
	height: 325px;
}
#header header {
	position: relative;
	height: 100%;
}
.sdescription {
	text-transform: uppercase;
	font-style: italic;
	font-size: 17px;
	color: #0331ae;
	font-family: 'Trebuchet MS', Helvetica, sans-serif;
	position: absolute;
	top: 130px;
	left: 20px;
}
/* ==============
		Menu
   ============== */
.headernav {
	margin: 0;
	padding: 0;
	height: 48px;
	width: 100%;
	position: absolute;
	left: 0;
	bottom: 0;
	background: #7697f6;
	overflow: hidden;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#7697f6), to(#658ED9));
	background: -webkit-linear-gradient(#7697f6, #658ED9);
	background: -moz-linear-gradient(#7697f6, #658ED9);
	background: -ms-linear-gradient(#7697f6, #658ED9);
	background: -o-linear-gradient(#7697f6, #658ED9);
	background: linear-gradient(#7697f6, #658ED9);
	-pie-background: linear-gradient(#7697f6, #658ED9);
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}
.headnav{
	float: left;
	width: 100%;
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: center;
}
.headnav li{
	position: relative;
	display: inline-block;
	background-image: url(/wp-content/themes/wp-kapitalm/img/bg/navli.png);
	background-repeat: no-repeat;
	background-position: right center;
}
.headnav li:last-child{
	background-image: none;
}
.headnav li a{
	display: block;
	padding: 13px 16px;
	margin: 0;
	font-family: 'Trebuchet MS', Helvetica, sans-serif;
	color: #fff;
	font-size: 16px;
	text-transform: uppercase;
	text-decoration: none;
	
	text-shadow: 1px 1px 1px rgba(0,0,0,0.75); /* Тень текста, чтобы приподнять его на немного */
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}
.headnav li:first-child a {
	margin-left: 0;
}
.headnav li:last-child a {
    margin-right: 0;
}
.headnav li a:hover{
	background: #9fb6f8;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#9fb6f8), to(#88aad0));
	background: -webkit-linear-gradient(#9fb6f8, #88aad0);
	background: -moz-linear-gradient(#9fb6f8, #88aad0);
	background: -ms-linear-gradient(#9fb6f8, #88aad0);
	background: -o-linear-gradient(#9fb6f8, #88aad0);
	background: linear-gradient(#9fb6f8, #88aad0);
	-pie-background: linear-gradient(#9fb6f8, #88aad0);
}
/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */
nav ul li {
	 display: inline;
}
.oldie nav a {
	margin: 0 0.7%;
}
/* ==============
		End Menu
   ============== */   
/* Middle
-----------------------------------------------------------------------------*/
#content {
	padding: 25px 0 80px;
}
#content a:hover img {
	-webkit-box-shadow: #666 0px 2px 20px;
	-moz-box-shadow: #666 0px 2px 20px;
	box-shadow: #666 0px 2px 20px;
}
article h1.title {
	font-size: 32px;
	width: 590px;
 	padding: 0 0 7px; 
 	border-bottom: 1px solid #396ac1; 
	margin: 0 0 18px;	
	color: #396ac1;
	font-family: Arial, Helvetica, sans-serif;
}
article h2 {
	color: #396ac1;
	font-size: 22px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	margin: 0 0 7px;
}
article h3 {
	color: #396ac1;
	font-size: 20px;
	font-family: Arial, Helvetica, sans-serif;
	margin: 0 0 7px;
}
article h4 {
	color: #396ac1;
	font-size: 16px;
	font-style: italic;
	font-family: Arial, Helvetica, sans-serif;
	margin: 0 0 7px;
}
article p img {
	border: 2px solid #6d92e6;
	margin: 0 10px 10px !important;
}
article ul {
	margin: 10px 5px 10px 5px;
}
article ul li {
	background-image: url(/wp-content/themes/wp-kapitalm/img/bg/articleli.png);
	background-repeat: no-repeat;
	background-position: 0 5px;
}
article  li {
	margin: 10px 0;
	padding: 0 0 0 25px;
}
article p a{
	color: #656464;
}
article p a:hover{
	color: #608bcd;
}
article p a:active{
	color: #656464;
	font-weight: bold;
}
article iframe {
	border: 1px solid #6d92e6;
}
article table
.comment-reply-title, .commnub {
	font-size: 18px;
	font-style: italic;
	font-weight: bold;
	color: #396ac1;
	margin: 0 0 18px;
}
.comment-form-comment label, .comment-form-author label, .comment-form-email label, .comment-form-url label {
/* 	display: none; */
	display: block;
	color: #676767;
	font-size: 16px;
	margin: 0 0 10px;
}
.comment-form-comment textarea {
	border: 1px solid #7598f7;
	background-color: #ffffff;
	width: 580px;
	height: 180px;
	padding: 10px;
}
.comment-form-author input, .comment-form-email input, .comment-form-url input {
	width: 280px;
	padding: 10px;
	border: 1px solid #7598f7;
	background-color: #ffffff;
}
.form-submit input[name=submit] {
	border: 1px solid transparent;
	background: #9fb6f8;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#9fb6f8), to(#88aad0));
	background: -webkit-linear-gradient(#9fb6f8, #88aad0);
	background: -moz-linear-gradient(#9fb6f8, #88aad0);
	background: -ms-linear-gradient(#9fb6f8, #88aad0);
	background: -o-linear-gradient(#9fb6f8, #88aad0);
	background: linear-gradient(#9fb6f8, #88aad0);
	-pie-background: linear-gradient(#9fb6f8, #88aad0);
	font-size: 14px;
	color: #fff;
	padding: 7px 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}
.form-submit input[name=submit]:hover {
	-webkit-box-shadow: #666 0px 2px 3px;
	-moz-box-shadow: #666 0px 2px 3px;
	box-shadow: #666 0px 2px 3px;
}
.comments li {
	background-image: none;
}
.comments .comment-author {
	font-weight: bold;
	margin: 0 0 5px;
}
.comments .commentmetadata{
	font-weight: bold;
	margin: 0 0 5px;
}
section {
	width: 620px;
	padding: 10px 10px 30px 0;
	float: left;
}
aside {
	width: 315px;
	padding: 0 10px 0 5px;
	float: right;
}
.widget {
	margin: 0 0 015px;
	border: 2px solid #6d92e6;
	padding: 15px;
}
.widget span.title{
	color: #396ac1;
	font-size: 26px;
	font-family: Arial, Helvetica, sans-serif;
	display: block;
	margin: 0 0 15px;
}
.widget_search {
	border: 2px solid transparent;
	padding: 0;
}
.widget_search input[type=search]{
	width: 200px;
	padding: 5px 10px 5px 20px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #999999;
	background-image: url(/wp-content/themes/wp-kapitalm/img/bg/search.png);
	background-repeat: no-repeat;
	background-position: 5px center;
}
.widget_search button{
	padding: 5px 15px;
	font-size: 14px;
	color: #ffffff;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#7697f6), to(#658ED9));
	background: -webkit-linear-gradient(#7697f6, #658ED9);
	background: -moz-linear-gradient(#7697f6, #658ED9);
	background: -ms-linear-gradient(#7697f6, #658ED9);
	background: -o-linear-gradient(#7697f6, #658ED9);
	background: linear-gradient(#7697f6, #658ED9);
	-pie-background: linear-gradient(#7697f6, #658ED9);
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	border: 0;
	position: relative;
	top: 2px;
}
.widget li, .widget_recent_entries li{
	margin: 10px 0;
}
.widget_recent_entries {
	background-color: #f6f4f4;
}
.widget_recent_entries a{
	color: #656464;
	font-size: 12px;
	text-decoration: none;
}
.widget_recent_entries a:hover{
	text-decoration: underline;
}
.widget_categories {
	background-color: #f6f4f4;
}
.widget_categories a{
	font-size: 14px;
	color: #656464;
	text-decoration: none;
}
.widget_categories a:hover{
	font-weight: bold;
	color: #396ac1;
	text-decoration: underline;
}
.recent-comment-author {
	background: none !important;
	padding: 0 5px !important;
	color: #025fc9;
	font-size: 11px !important;
}
.recent-comment-text {
	display: block !important;
	color: #656464 !important;
	background-color: #fff !important;
	font-style: italic !important;
	font-size: 12px !important;
	padding: 5px !important;
	border: 1px solid #d2dddf !important;
	-webkit-border-radius: 5px !important;
	-moz-border-radius: 5px !important;
	border-radius: 5px !important;
}
.recent-comment-witors {
	color: #3d3d3d;
	font-size: 11px;
}
.timers {
	font-size: 11px;
	color: #8f8f8f;
}
.breadcrumbs {
	margin: 0 0 15px;
	font-size: 16px;
	color: #0331ae;
	font-weight: bold;
}
.breadcrumbs a{
	color: #0331ae;
	text-decoration: none;
	font-weight: normal;
}
.breadcrumbs a:hover{
	font-weight: bold;
}

.category  article, .search article{
	border-bottom: 1px solid #396ac1;
}
.category section article:last-child, .search section article:last-child{
	border-bottom: 1px solid transparent;
}
.category  h2.title, .search  h2.title{
	font-size: 32px;
	width: 590px;
/* 	padding: 0 0 7px; */
/* 	border-bottom: 1px solid #396ac1; */
	margin: 0 0 18px;
}
.category  h2.title a, .search  h2.title a{
	text-decoration: none;
	color: #396ac1;
	font-family: Arial, Helvetica, sans-serif;
}
.category  p, .search  p{
	margin: 0 0 10px;
}
.featureimg {
	width: 238px;
	height: 138px;
	float: left;
	border: 2px solid #6d92e6;
	margin: 0 10px 0 0;
}
.featureimg img{
	width: 238px;
	height: 138px;
}
.view-article {
	display: none;
}
.viewarticle {
	display: block;
	margin: 0 0 10px;
}

/* Footer
-----------------------------------------------------------------------------*/
#mainfooter {
	width:100%;
	margin: -80px auto 0;
	height: 80px;
	position: relative;
}
#footer {
	width: 960px;
	height:100%;
	margin:0 auto;
	background: #7697f6;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#7697f6), to(#658ED9));
	background: -webkit-linear-gradient(#7697f6, #658ED9);
	background: -moz-linear-gradient(#7697f6, #658ED9);
	background: -ms-linear-gradient(#7697f6, #658ED9);
	background: -o-linear-gradient(#7697f6, #658ED9);
	background: linear-gradient(#7697f6, #658ED9);
	-pie-background: linear-gradient(#7697f6, #658ED9);	
	-webkit-border-radius: 10px 10px 0 0;
	-moz-border-radius: 10px 10px 0 0;
	border-radius: 10px 10px 0 0;
}
#footer .wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	background-image: url(/wp-content/themes/wp-kapitalm/img/bg/footer.png);
	background-repeat: no-repeat;
	background-position: 20px center;
}
.foonavi {
	height: 20px;
	width: 620px;
	position: absolute;
	top: 30px;
	left: 290px;
}
.foonavi ul{
	text-align: center;
}
.foonavi li{
	display: inline-block;
}
.foonavi li a{
	display: inline-block;
	font-family: 'Trebuchet MS', Helvetica, sans-serif;
	font-size: 16px;
	text-transform: uppercase;
	color: #ffffff;
	margin: 0 10px;
}
.foonavi li:first-child a{
	margin-left: 0;
}
.foonavi li:last-child a{
	margin-right: 0;
}
#footer .social {
	position: absolute;
	top: 30px;
	right: 20px;
}
#footer .social a{
	font-size: 24px;
	color: #fff;
	text-decoration: none;
}
/* pretty )) */ 
.opaci {
	opacity:0.3; 
	-moz-opacity:0.3; 
	filter:alpha(opacity=40);
	cursor: pointer;
}
.opaci:hover{
	opacity:1.0; 
	-moz-opacity:1.0; 
	filter:alpha(opacity=100);
}

/* image align
-----------------------------------------------------------------------------*/
.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}
 
.alignleft {
   float: left;
}
 
.alignright {
   float: right;
}
 
.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   -moz-border-radius: 3px;
   -khtml-border-radius: 3px;
   -webkit-border-radius: 3px;
   border-radius: 3px;
}
 
.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}
 
.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}
/*
Для красоты к строкам:
*/
.alignleft {
   float: left;
}
 
.alignright {
   float: right;
}
/*
Можно добавить еще параметр margin для того, чтобы сделать автоматический отступ между картинкой и текстом, в результате этот кусок кода будет выглядеть вот так:
*/

.alignleft {
   float: left;
   margin-right: 5px;
}
 
.alignright {
   float: right;
   margin-left: 5px;
}

/* end of image align */

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
/*
     */
/*
*/