/*
Theme Name: NLPS
*/
#footer .email-link.phone-link{
	margin: 0 0 20px;
}
.content-area b{
	padding: 0 0 15px;
	font-weight: 800;
}
.wpcf7-form-control-wrap.message .wpcf7-not-valid-tip{
	margin-top: -60px;
}
.widget-box .wpcf7-not-valid-tip{
	margin-top: 30px;
	margin-bottom: -60px;
}
.widget-box .wpcf7-recaptcha{
	transform:scale(1.5);
	-webkit-transform:scale(1.5);
	transform-origin:0 0;
	-webkit-transform-origin:0 0;	
}
.news-section .link-more {
	margin-top: 30px;
}
.contact-form p{
	margin: 0;
	padding: 0;
}
/* Contact Form 7 */
.wpcf7 input[type="date"], 
.wpcf7 input[type="email"], 
.wpcf7 input[type="number"], 
.wpcf7 input[type="password"], 
.wpcf7 input[type="search"], 
.wpcf7 input[type="tel"], 
.wpcf7 input[type="text"], 
.wpcf7 input[type="url"], 
.wpcf7 select, 
.wpcf7 textarea{
	width: 100%;
}
.wpcf7-form-control-wrap{
	display: block;
}
div.wpcf7-response-output{
	line-height: 1.2;
	margin: 0 0 1em 0;
	padding: 0.344em 1em;
	padding-left: 50px;
	border: none;
	color: #ffffff;
	background-color: #255379;
	position: relative;
	z-index: 1;
}
div.wpcf7-response-output:before{
	content: "\f05a";
	position: absolute;
	top: 50%;
	left: 17px;
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 18px;
	margin-top: -9px;
}
div.wpcf7-validation-errors{
	background-color: #c24747;
}
div.wpcf7-validation-errors:before{
	content: "\f057";
}
div.wpcf7-mail-sent-ok{
	background-color: #0fa55d;
}
div.wpcf7-mail-sent-ok:before{
	content: "\f058";
}
span.wpcf7-not-valid-tip{
	font-size: 0.7em;
	margin-top: -40px;
}
.contact-form textarea.form-control{
	height: 134px;
}
div.wpcf7 .ajax-loader{
	position: absolute;
	top: 20px;
	left: 200px;
	margin: 14px 0 0 4px;
}
/* Loading */
#wrapper{
	opacity: 1;
	transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	-webkit-transition: opacity .25s ease-in-out;
}
#wrapper.loading{
	opacity: 0;	
}
.animsition-loading,.animsition-loading:after {
	width: 32px;
	height: 32px;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -16px;
	margin-left: -16px;
	border-radius: 50%;
	z-index: 2
}
.animsition-loading {
	background-color: transparent;
	border-top: 5px solid rgba(0,0,0,.2);
	border-right: 5px solid rgba(0,0,0,.2);
	border-bottom: 5px solid rgba(0,0,0,.2);
	border-left: 5px solid #eee;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
	animation-timing-function: linear;
	-webkit-animation-duration: .8s;
	animation-duration: .8s;
	-webkit-animation-name: animsition-loading;
	animation-name: animsition-loading
}
@-webkit-keyframes animsition-loading {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg)
	}
	to {
		-webkit-transform: rotate(1turn);
		transform: rotate(1turn)
	}
}
@keyframes animsition-loading {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg)
	}
	to {
		-webkit-transform: rotate(1turn);
		transform: rotate(1turn)
	}
}
@-webkit-keyframes fade-in {
	0% {
		opacity: 0
	}
	to {
		opacity: 1
	}
}
@keyframes fade-in {
	0% {
		opacity: 0
	}
	to {
		opacity: 1
	}
}

/* news-section */
.news-list .txt strong{
	font-size: 24px;
	line-height: 30px;
}
.news-section {padding: 50px 0;}
.news-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.news-list li {overflow: hidden;}
.news-list li + li {margin-top: 24px;}
.news-list .img {
	float: left;	
	width: 212px;
	height: 148px;
	border: 1px solid #888;
	border-radius: 1px;
	margin: 6px 26px 0 0;
	-webkit-background-size: cover;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.news-list .img img {display: none;}
.news-list .txt {overflow: hidden;}
.news-list h4 {
	font: 16px/24px 'MyriadPro-Bold', sans-serif;
	color: #626262;
	margin: 0;
}
.news-list p {margin: 0;}

.height-404 #searchform input.form-control{
	width: 35%;
	display: block;
	margin: 0 auto;
	margin-bottom: 10px;
}
.news-list .txt{
	font-size: 16px;
	line-height: 24px;
}
.single .news-list .txt{
	overflow: inherit;
}
.read-more{
	margin-top: 5px;
    display: block;
    color: #0098c8;
    font-weight: 400;
    text-decoration: underline;
}
.read-more:hover{
    text-decoration: none;
    opacity: 0.7;
}
.clear{
	clear:both;
}
.featured-image{
	float: left;
	min-width: 120px;
	margin-right: 2em;
	margin-bottom: 1em;
}
.featured-image img{
	display: block;
	margin: 0 auto;
}
.article-height{
	overflow: hidden;
}
.article-height-single{
	min-height: 160px;
	overflow: hidden;
}
.article {
	margin-bottom: 2em;
	border-bottom: 1px solid #666;
}
.article-header {
	padding-bottom: 1em;
}
.article-title {
	font: bold 1em/1.25em 'Open Sans', sans-serif; 
}
.article-title-single{
	font: bold 2em/1.25em 'Open Sans', sans-serif;
	margin-top: 0; 
}
.article-title a {
	text-decoration: none;
	color: #666;
}
.article-content p{
	margin-top: -5px;
	margin-bottom: 2em;
}
.article-info {
	font-size: .825em;
}
.article-tag{	
	margin: 0;
}
.conteiner-top{
	margin-top: 2em;
	margin-bottom: 2em;
}
.conteiner-top:after{
	content: '';
	clear: both;
	display: block;
}
.article-tag li{
	position: relative;	
	display: inline-block;
	text-decoration: none;
	border: medium none;
	border-radius: 4px;
	font-size: 13px;    
	margin-bottom: 1em;
	margin-left:0.5em; 
}
.article-tag li:after{
	position: absolute;
	content: '|';
	left: -0.42em;
}
.article-tag li a{
	padding: 0 .4em;
}
.article-tag li:first-child:after{
	content: '';
}


/* Loop end*/
.post-time{
	font-size: 14px;
	float: right;
	margin-right: 10px;
}
.fp-viewing-secondPage .lang .opener,.fp-viewing-secondPage .lang-list li a{
	color: #000000;
}
.fp-viewing-secondPage .opener:before {
	background: url(images/ico-down-2.png) 50% 50% no-repeat;
	background-size: 16px 16px;
	-webkit-transition: all .3s;
	-o-transition: all .3s;
	transition: all .3s;
}

/* WordPress Generated Classes */
.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
	max-width: 100%;
	height: auto;
}
.alignnone {
	margin: 5px 20px 20px 0;
}

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

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

.alignleft {
	float: left;
	margin: 40px 20px 20px 0;
}
img{
	height: auto;
}
a img.alignright {
	float: right;
	margin: 40px 0 20px 20px;
}

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

a img.alignleft {
	float: left;
	margin: 40px 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. ( z-index: 100000; - Above WP toolbar. )
.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;  
}
*/
.gallery-caption {
	display: block;
	line-height: 1.5;
	padding: 0.5em 0;
}
.bypostauthor > .comment-body .fn:before {
	content: "\f408";
	vertical-align: text-top;
}
/* WordPress Generated Classes END */

/*wp-pagenavi*/
.wp-pagenavi{
	position: relative;
	font-size: 16px;
	font-family: 'Rubik';
	text-align: center;
	height: 60px;
	margin-top: 20px;
}
.wp-pagenavi .pages{
	border-radius: 999px;
	border: 0;
	padding: 0;
	font-size: 12px;
	line-height: 14px;
	color: #666;
	font-weight: 300;
	display: inline-block;
	vertical-align: middle;
	position: absolute;
	bottom: 0;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	transform: translateX(-50%);
}
.wp-pagenavi a:hover{
	text-decoration: none;
	opacity: 0.7;
}
.wp-pagenavi a{
	border-radius: 7px;
	border: 2px solid #666;
	padding: 0;
	vertical-align: middle;
	display: inline-block;
	line-height: 26px;
	margin: 0 2px;
}
.wp-pagenavi .page{
	width: 30px;
	height: 30px;
	
}
.wp-pagenavi .current,
.wp-pagenavi .extend{
	width: 30px;
	height: 30px;
	border: 0;
	display: inline-block;
	vertical-align: middle;
	line-height: 30px;
	padding: 0;
	color: #666;
}
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink,
.wp-pagenavi .first,
.wp-pagenavi .last{
	width: 30px;
	height: 30px;
	font-size: 0;
	line-height: 0;
	position: relative;
	margin: 0 2px;
}
.wp-pagenavi .previouspostslink:before,
.wp-pagenavi .nextpostslink:before,
.wp-pagenavi .first:before,
.wp-pagenavi .last:before,
.wp-pagenavi .first:after,
.wp-pagenavi .last:after{
	content: '';
	width: 10px;
	height: 10px;
	position: absolute;
	top: 50%;
	left: 50%;
	border: solid  #666;
	border-width: 0 0 1px 1px;
	-webkit-transform-origin: 50% 50%;
	-moz-transform-origin: 50% 50%;
	-ms-transform-origin: 50% 50%;
	-o-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
}
.wp-pagenavi .previouspostslink:before{
	margin: -5px 0 0 -3px;
}
.wp-pagenavi .nextpostslink:before{
	margin: -5px 0 0 -6px;
}
.wp-pagenavi .previouspostslink:before,
.wp-pagenavi .first:before,
.wp-pagenavi .first:after{
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}
.wp-pagenavi .first:before{
	margin: -5px 0 0 -6px;
}
.wp-pagenavi .first:after{
	margin: -5px 0 0 -0px;
}
.wp-pagenavi .nextpostslink:before,
.wp-pagenavi .last:before,
.wp-pagenavi .last:after{
	-webkit-transform: rotate(-135deg);
	-ms-transform: rotate(-135deg);
	-o-transform: rotate(-135deg);
	transform: rotate(-135deg);
}
.wp-pagenavi .last:before{
	margin: -5px 0 0 -3px;
}
.wp-pagenavi .last:after{
	margin: -5px 0 0 -9px;
}
.news-section h2{
	    font-size: 32px;
    line-height: 52px;
}
@media screen and (max-width: 991px),
screen and (orientation: landscape) and (max-width: 991px),
screen and (orientation: portrait ) and (max-width: 991px) {

	/* news-section */
	.news-section {
		padding: 30px 0;
		text-align: center;
	}
	.news-section h2 {
		font-size: 24px;
		line-height: 30px;
		margin: 0 0 20px;
	}
	.news-list li + li {margin-top: 30px;}
	.news-list .img {
		float: none;
		margin: 0 auto 20px;
	}	
	
	#sidebar{display: none;}
	.news-list .img {		
		width: 414px;
		height: 296px;		
	}
	.post-time{
		float: none;
		display: block;
	}
	.info blockquote{
		margin: 40px 0 0 0;
	}
	.scrolled .lang .opener{color: #333;}
	.scrolled .lang  .opener:before {
		background: url(images/ico-down-2.png) 50% 50% no-repeat;
		background-size: 16px 16px;
		-webkit-transition: all .3s;
		-o-transition: all .3s;
		transition: all .3s;
	}
	.news-section .txt .btn.btn-primary{
		margin-top: 20px;
	}

	.contact-form .widget-box .wpcf7-recaptcha{
	    display: block;
	    width: 100%;
	    max-width: 100%;
		transform:scale(1);
		-webkit-transform:scale(1);
		transform-origin:0 0;
		-webkit-transform-origin:0 0;	
	}
	.contact-form .widget-box {
	    margin: 0 0 40px;
	}
	.wpcf7-form-control-wrap.message .wpcf7-not-valid-tip {
	    margin-top: -50px;
	}
	span.wpcf7-not-valid-tip {
	    margin-top: -35px;
	}
	.widget-box .wpcf7-not-valid-tip {
	    margin-top: 0px;
	    margin-bottom: -40px;
	}
}
@media screen and (max-width: 767px),
screen and (orientation: landscape) and (max-width: 767px),
screen and (orientation: portrait ) and (max-width: 767px) {
	.wp-pagenavi .pages,
	.wp-pagenavi .extend,
	.wp-pagenavi .previouspostslink,
	.wp-pagenavi .nextpostslink {display: none!important;}
	div.wpcf7-response-output{
		    font-size: 18px;
	}
	span.wpcf7-not-valid-tip{
		margin-top: -25px;
	}
	.wpcf7-form-control-wrap.message .wpcf7-not-valid-tip {
	    margin-top: -50px;
	}
	div.wpcf7 .ajax-loader{
		top: 5px;
    	left: 60%;
	}
	.wpcf7-form-control-wrap.message .wpcf7-not-valid-tip {
	    margin-top: -35px;
	}
	.content-area b{padding: 0 0 10px;}
	.contact-form .widget-box{
		width: 215px;
    	margin: 0 auto;
	}
	.contact-form .widget-box .wpcf7-recaptcha{
		transform:scale(0.7);
		-webkit-transform:scale(0.7);
		transform-origin:0 0;
		-webkit-transform-origin:0 0;	
	}
	.widget-box .wpcf7-not-valid-tip{
		margin-top: 30px;
		margin-bottom: -60px;
	}
	.widget-box .wpcf7-not-valid-tip {
	    margin-top: -20px;
	    margin-bottom: 0px;
	    line-height: 1.5;
	}

}
@media screen and (max-width: 479px),
screen and (orientation: landscape) and (max-width: 479px),
screen and (orientation: portrait ) and (max-width: 479px) {
	.news-list .img {
		width: 212px;
		height: 148px;
	}
	div.wpcf7 .ajax-loader{
    	left: 70%;
	}
}