/*   
Theme Name: NAK Template WP by oleg1m
Version: 1.0
Tags: clean, development, html5, bootstrap, seo
Description: Clean wordpress theme with bootstrap
Author: oleg1m
Thanks: Dmitry RichBee
Theme URI: http://richbee.ru/skachat-besplatno/clean-template-bootstrap-wordpress.html
*/

@font-face {
    font-family: 'PT Sans';
    src: local('PT Sans'), local('PTSans-Regular'), url('fonts/ptsans.woff2') format('woff2'), url('fonts/ptsans.woff') format('woff'), url('fonts/ptsans.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'PT Sans';
    src: local('PT Sans Italic'), local('PTSans-Italic'), url('fonts/ptsansitalic.woff2') format('woff2'), url('fonts/ptsansitalic.woff') format('woff'), url('fonts/ptsansitalic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'PT Sans';
    src: local('PT Sans Bold'), local('PTSans-Bold'), url('fonts/ptsansbold.woff2') format('woff2'), url('fonts/ptsansbold.woff') format('woff'), url('fonts/ptsansbold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'PT Sans';
    src: local('PT Sans Bold Italic'), local('PTSans-BoldItalic'), url('fonts/ptsansbolditalic.woff2') format('woff2'), url('fonts/ptsansbolditalic.woff') format('woff'), url('fonts/ptsansbolditalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
} 


@media (min-width: 979px) { 
	ul.nav li.dropdown.show-on-hover:hover > ul.dropdown-menu { /* для раскрывания субменю по наведению */
		display: block;
	}
	.comment-list .children { /* для комментов */
		padding: 0;
		margin-left: 74px;
		padding-bottom: 15px;
	}
	.comment-list .media {
		margin-top: 0;
	}
}

/* =Дополнительные стили. Можно удалить, чтобы вернуть стандартный вид бута */

/*div#wpadminbar {
    opacity: 0.2;
    display: none;
}*/
 
body {
    font-size: 16px;
    line-height: 1.4;
    background-image: url(images/grnd_10.png);
    background-color: #03197f;
    /*margin-top: -32px;*/    /*  !!!!   отладка  */
    font-family: 'PT Sans';
}

p.logo {
    color: #000;
    margin: 0 0 18px;
    line-height: 1;
    transition: .5s;
    font-weight: 600;
    letter-spacing: -.5px;
}	
p.description {
	font-weight: 300;
}

a {
    transition: .5s;
    /*color: #000;*/
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}
a:hover, a:focus {
    text-decoration: none;
    color: #23282d;
}	
.navbar-default .navbar-nav>li>a {
    color: inherit;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    background-color: whitesmoke;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    color: inherit;
}
.h1, .h2, .h3, h1, h2, h3 {
    margin-bottom: 30px;
}

h1, h2, h3 {
	color: #022690;
	font-family: 'PT Sans';
}

h4{
	font-weight: 700;
}
	
/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/**************************** oleg1m *******************************************/

#content {
    background-color: #fff;
    margin-top: 20px;
    padding-bottom: 20px;
}

header {
    background: rgb(9,25,115);
    background: linear-gradient(90deg, rgba(9,25,115,1) 0%, rgba(0,122,250,1) 70%, rgba(9,25,115,1) 100%);
}

section {
    margin-top: 20px;
}

.inline_block{
	display: inline-block;
}

.padding_10{
	padding:10px;
}

.my_blue{
	color: #022690;
}

.top_head {
    background-image: url(images/grnd_top_41.png); 
    background-position: right;
    background-repeat: no-repeat;
    color: #fff;
    /*padding-top: 10px;*/
}

.top_head a{
    color: #fff;
}

.top_head h2 {
    color: #fff;
    font-family: 'PT Sans';
    font-weight: bold;
    font-style: italic;
    font-size: 40px;
    margin: 10px 0;
}

.top_head h4 {
    color: #fff7a6;
    font-family: 'PT Sans';
    font-weight: bold;
    font-style: italic;
    font-size: 20px;
    margin: 10px 0;
}

.top_head .fa {
    margin-right: 10px;
}

.container-fluid.top_menu {
    background-color: #fff;
}

.top_menu .navbar{
	margin-bottom: 0px; 
    border: none;
}

.navbar-toggle{
	border-color: #03197f;
}

.icon-bar{
    background-color: #03197f;
}

.top-menu.nav>li>a{
	border-bottom: 4px solid #fff;
}

.top-menu.nav>li>a:focus, .top-menu.nav>li>a:hover{
	border-bottom: 4px solid #03197f;
	background-color: #b8b8b9;
}

.top-menu.nav>li.active>a{
	border-bottom: 4px solid #0079f9;
}

footer .nav>li>a{
	text-decoration: underline;
	text-transform: uppercase;
	color:#fff;
	font-size: smaller;
}

footer .nav>li>a:focus, .nav>li>a:hover{
	text-decoration: none;
	background-color: inherit;
}

.nowrap {
    white-space: nowrap;
}
 
.yelow_color, a.yelow_color {
    color: #f9e30f;
}

#home_slider .carousel-control .glyphicon {
	font-size: 70px;
}

.blocks_home .title {
    text-transform: uppercase;
    font-size: smaller;
    font-weight: 700;
}

.blocks_home .text {
	line-height: 1.5;
	font-size: small;
}

.btt_big_blue {
	color: #fff;
    background-color: #022690;
    padding: 10px 20px;
    margin: auto;
    display: inline-block;
}

footer {
    /*padding: 60px 0px;
    background-color: #1e90ff;*/
    padding: 10px 0px;
    color: #fff;
}

.advantage_block {
    padding: 20px;
}

.advantage .title{
	font-weight: 700;
}

.pagination a{
	padding: 0px 5px;
    font-size: 20px;
}

#breadcrumbs {
    background-color: #fff;
}

#breadcrumbs ul li {
	display: inline-block;
}

#breadcrumbs ul {
	padding: 0px;
	margin: 10px 0px;
}

#breadcrumbs ul li:after {
	content: ' > ';
	padding: 0px 5px;
}

#breadcrumbs ul li:last-child:after {
	content: '';
	padding: 0px 5px;
}

hr.soften {
    height: 1px;
    background-image: -webkit-linear-gradient(left, transparent, rgba(3, 25, 127, 0.8), transparent);
    background-image: -moz-linear-gradient(left, transparent, rgba(3, 25, 127, 0.8), transparent);
    background-image: -ms-linear-gradient(left, transparent, rgba(3, 25, 127, 0.8), transparent);
    background-image: -o-linear-gradient(left, transparent, rgba(3, 25, 127, 0.8), transparent);
    border: 0;
    margin: 5px auto;
}

.td_advice {
    width: 100px;
    height: 70px;
    background-image: url(images/advice.png);    
    background-repeat: no-repeat;
}

#post-47 img {
    margin: auto;
}

.complexity{
    width: 86px;
    height: 37px;
    position: absolute;
    top: 30px;
    right: 10px;
}

.complexity_1 {
    background-image: url(/wp-content/themes/nak/images/complexity_1.png);
}

.complexity_2 {
    background-image: url(/wp-content/themes/nak/images/complexity_2.png);
}

.complexity_3 {
    background-image: url(/wp-content/themes/nak/images/complexity_3.png);
}

.complexity_4 {
    background-image: url(/wp-content/themes/nak/images/complexity_4.png);
}

#post-35  .icon_hit {
    position: absolute;
    height: 81px;
    width: 81px;
    background-image: url(/wp-content/themes/nak/images/hit.png);
    z-index: 2;    
    right: -5px;
    top: -5px;
    opacity: 0.7;
}

.icon_top{
    position: absolute;
    height: 70px;
    width: 70px;
    background-image: url(/wp-content/themes/nak/images/icon_top.png);
    z-index: 2;   
    right: -0px;
    top: -0px;
    opacity: 0.7;
}

.icon_horeca{ 
    position: absolute;
    height: 70px;
    width: 70px;
    background-image: url(/wp-content/themes/nak/images/icon_horeca.png);
    z-index: 2;   
    right: -0px;
    top: -0px;
    opacity: 0.7;
} 

.blue_01{
	color:#022690;
}

#post-279 td {
    padding: 1px 10px;
}

.table thead{ 
	background-color: #f1f1f1;
}

#post-43 td {
    vertical-align: middle;
    text-align: center;
    position: relative;
}

#post-43 img {
    min-width: 150px;
}

#wpcf7-f345-p59-o1 input[type="email"],
#wpcf7-f345-p59-o1 input[type="text"],
#wpcf7-f345-p59-o1 textarea ,
#wpcf7-f345-o1 input[type="email"],
#wpcf7-f345-o1 input[type="text"],
#wpcf7-f345-o1 textarea {
    background-color: #f5f5f5;    
    padding: 3px;
    border-style: ridge;
}

#wpcf7-f345-p59-o1 input.wpcf7-form-control.wpcf7-submit ,
#wpcf7-f345-o1 input.wpcf7-form-control.wpcf7-submit {
    background-color: #022690;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    padding: 2px 30px;
    border: 0px;    
    margin: 10px 0;
}

#wpcf7-f345-p59-o1 label,
#wpcf7-f345-o1 label {
    text-align: left;
}
#wpcf7-f345-p59-o1 p,
#wpcf7-f345-o1 p {
    text-align: center;
}

#wpcf7-f345-p59-o1 span.wpcf7-list-item {
    margin: 0 0 0 2em;
}

#wpcf7-f345-p59-o1 span.wpcf7-list-item.first,
#wpcf7-f345-o1 span.wpcf7-list-item.first {
   margin-left: -1em;
}

#wpcf7-f345-p59-o1 .wpcf7-list-item-label,
#wpcf7-f345-o1 .wpcf7-list-item-label{
	/*display: none;*/
	font-size:0px;
}

#wpcf7-f345-p59-o1 .wpcf7-list-item-label:before,
#wpcf7-f345-o1 .wpcf7-list-item-label:before{
	font-family: FontAwesome;
	color:#022690;
	font-size:20px;
	content: '\f006';
}

#wpcf7-f345-p59-o1 input:checked + .wpcf7-list-item-label:before,
#wpcf7-f345-o1 input:checked + .wpcf7-list-item-label:before{
	content: '\f005'; 
}

#wpcf7-f345-p59-o1 .wpcf7-list-item input,
#wpcf7-f345-o1 .wpcf7-list-item input {
	width: 0px;
	display: none;
	/*height: 0px;*/
}

.youtube{
	position:relative;padding-bottom:56.25%;
}

iframe{
	position:absolute;top:0;left:0;width:100%;height:100%;
}


