/*
Theme Name: Nova-media
Version: 1.0
Author: Glod Artem
Author URI: http://vegys.in.ua/
*/

/* @import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900&subset=cyrillic'); */
* {
	outline: none !important;
}
body {
	font-size: 17px;
	/* font-family: 'Roboto', sans-serif; */
	font-family: sans-serif;
	background-color: #fff;
	color: #4f4f5a;
	text-align: left;
	margin: 0;
	padding: 0;
	line-height: 1.5;
	
	-webkit-font-smoothing: subpixel-antialiased;	
	}
small {
	font-size: 0.9em;
	line-height: 1.5em;
}
h1,
h2,
h3,
h4,
h5,
h6{
	font-weight: bold;
	margin: 0;
}
h1 {
	font-size: 24px;
	text-align: center;
}
h2 {
	font-size: 22px;
}
h3 {
	font-size: 20px;
}
h4 {
	font-size: 18px;
}
h5{
	font-size: 17px;
}
h6 {
	font-size: 16px;
}
a {
	text-decoration: none;
}
a,
a:hover,
a:visited {
	color: #004f93;
}
p {
	margin: 0 0 15px 0
}
p:last-child {
	margin-bottom: 0 !important;
}
p img {
	padding: 0;
	max-width: 100%;
}
img {
	max-width: 100%;
	height: auto;
}
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	float: right;
}
img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	float: left
}
.center {
	text-align: center;
}
a img {
	border: none;
}
.clear {
	clear: both;
}
.container {
	position: relative;
	width: 1120px;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 0;
	max-width: 100%;
}
input[type="submit"] {
    /*-webkit-border-radius: 0;*/
    -webkit-appearance: none;
}
.inline_block {
    display: inline-block;
    position: relative;
    vertical-align: top;
}
.center {
    text-align: center;
}

form input[type="text"],
form input[type="tel"],
form input[type="email"],
form textarea {
    width: 100%;
    background: white;
    border: 1px solid #cecece;
    margin: 0;
    padding: 15px;
    box-sizing: border-box;
    font-size: 14px;
    font-family: inherit;
}
form textarea {
    resize: none;
    height: 240px;
}
form input[type="submit"] {
	color: #ffffff;
	background: #26c7d5;
	width: 200px;
    cursor: pointer;
    margin-top: 30px;
	border: 1px solid #cecece;
}
form input[type="submit"]:hover {
	color: #26c7d5;
	background: #ffffff;
}

form input#searchsubmit {
    width: 25px;
    height: 25px;
    /* background-size: cover; */
    border: none;
    padding: 0;
    margin: 0;
    position: absolute;
    right: 5px;
    top: 4px;
    background: url(img/search.png) no-repeat center center;
    background-size: cover;
}
form#searchform {
    position: relative;
}
form#searchform input[type="text"] {
    height: 34px;
	padding-right: 40px;
	max-width: 210px;
}
header nav {
    box-sizing: border-box;
    padding-right: 260px;
}
.search_rss {
    width: 250px;
	text-align: right;
    position: absolute;
    right: 0;
    top: 4px;	
}
.search_rss > div {
    display: inline-block;
    vertical-align: top;
    position: relative;
    box-sizing: border-box;
}

.single_desc strong, 
.single_desc b, 
.single_desc i, 
.single_desc em {
    color: black;
}

.header_top.flex {
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.header_bottom {
    background: #004f93;
}
.header_bottom ul.menu {
    margin: 0;
    padding: 0;
    list-style: none;
}
.header_bottom ul.menu > li {
	display: inline-block;
	margin-right: -5px;
	position: relative;
}
.header_bottom ul.menu > li > a:hover {
	text-decoration: underline;
}
.header_bottom ul.menu > li > a {
	color: white;
	font-size: 15px;
	font-weight: 400;
	box-sizing: border-box;
	display: block;
	padding: 10px 15px;
	border-right: 1px solid #e4e4e4;
}
.header_bottom ul.menu > li:first-child > a {
	padding-left: 0px;
}
.header_bottom ul.menu > li:last-child > a {
	border-right: none;
	padding-right: 0px;
}
.header_bottom ul.menu > li.current-menu-item > a {
	font-weight: 700;
}
header {
    margin-bottom: 20px;
}


.home_layer_L,
.home_layer_R {
    width: 50%;
    box-sizing: border-box;
    vertical-align: top;
}
.home_layer_L {
    margin-right: -5px;
    padding-right: 20px;
}
.home_layer_R {
    padding-left: 20px;
}
.home_news_item {
    box-sizing: border-box;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e4e4e4;
    position: relative;
}
.home_news_item_img img {
    -o-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.home_news_item_img img:hover {
    -o-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);	
}
.home_news_item_img {
    width: 32%;
    margin-right: -5px;
}
.home_news_item_text {
    width: 68%;
	box-sizing: border-box;
	padding-left: 15px;
}

.block_title,
.poll_question_title {
    padding-bottom: 5px;
    margin-bottom: 15px;
    border-bottom: 2px solid #004f93;
    text-transform: uppercase;
    font-weight: 400;
    color: black;
}
.home_layer_R_bottom_item_title,
.home_layer_R_bottom_big_info_title a,
.home_news_item_title a {
    font-weight: 700;
    line-height: 1.2;
    display: block;
    margin-bottom: 10px;
    color: black;
    font-size: 17px;
}
.home_news_item_date {
    font-size: 14px;
    color: #8b1a1e;
    line-height: 1;
    margin-top: 10px;
}
.home_layer_R_bottom_big_info_desc,
.home_news_item_desc {
    font-size: 14px;
}

.footer_item_right {
    text-align: right;
}
.footer_item_right .footer_item_title {
    padding-left: 15px;
    padding-right: 0;
}

.home_analitics_item,
.home_layer_R_center_item  {
    width: 48%;
    box-sizing: border-box;
    margin-right: -4px;
    margin-bottom: 20px;	
}
.home_analitics_item:nth-child(even),
.home_layer_R_center_item:nth-child(even) {
    margin-left: 4%;
}
.home_analitics_item_img {
    position: relative;
    margin-bottom: 10px;
}
.home_analitics_item_img .home_analitics_item_title {
    position: absolute;
    left: 0;
    bottom: 0;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
    color: white;
    background: rgba(0, 79, 147, 0.4);
    font-weight: 600;
	
    -o-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.home_analitics_item_img:hover  .home_analitics_item_title {
    background: rgba(0, 79, 147, 1);
}
.analiticDate {
    font-style: italic;
    font-size: 12px;
    color: #8b1a1e;
    text-align: right;
}
.home_analitics_desc {
    line-height: 1.3;
}

.home_layer_R_center_item_news > a {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e4e4e4;
    color: black;
    margin-top: 10px;
}
.home_layer_R_center_item_news > a:last-child {
	margin-bottom: 0px;
	padding-bottom: 0px;
	border-bottom: none;
}
.home_layer_R_bottom_item_title:hover,
.home_news_item_title a:hover,
.home_layer_R_bottom_big_info_title > a:hover,
.home_layer_R_center_item_news > a:hover {
	color: #004f93;
}
.home_layer_R_bottom_item_img img:hover,
.home_layer_R_bottom_big_info_img img:hover,
.home_layer_R_center_item_catinfo:hover img {
    opacity: 0.9;
}
.home_layer_R_center,
.home_analitics_items {
    border-bottom: 2px solid #e4e4e4;
    margin-bottom: 20px;	
}


.home_video_content .ytc-pslb.ytcplayer-wrapper {
    float: left;
}
.home_video_content .ytc-pslb.ytc-thumbnails.ytc-thumb-align-left {
    float: right;
    width: 39%;
    margin-left: 2% !important;
}
.home_video_content .ytctitle > a {
    color: white;
    font-size: 14px;
    line-height: 1.2;
}
.home_video_content #ytc-wrapper time {
    color: #004f93;	
}
.home_video_layer {
    background: black;
    padding: 15px 0px;
    margin-top: 20px;	
}
.block_title.home_video_title {
    color: white;
}


.home_layer_R_bottom_big_info_img {
    width: 69%;
}
.home_layer_R_bottom_big_info_text {
    width: 30%;
    box-sizing: border-box;
    padding-right: 20px;
    margin-right: -4px;
}
.home_layer_R_bottom_big_info {
    margin-bottom: 15px;
}
.home_layer_R_bottom_big_info_title > a {
    margin-bottom: 5px;
    display: block;
}
.home_layer_R_bottom_big_info {
    margin-bottom: 15px;
}
.home_layer_R_bottom_item:last-child {
    margin-right: 0 !important;
}
.home_layer_R_bottom_item {
    width: 31%;
    margin-right: -4px;
    box-sizing: border-box;
    margin-right: 12px;
}
.home_layer_R_bottom_item_title {
    font-size: 15px;
    margin-top: 5px;
}

/************************footer - start******************************/
footer {
    margin-top: 30px;
}
body.home footer {
    margin-top: 0;
}
.footer_items > aside {
    width: 33%;
    display: inline-block;
    vertical-align: top;
    position: relative;
    box-sizing: border-box;
	font-size: 14px;
    color: white;
}
.footer_items > aside iframe {
    max-width: 100%;
}
.footer_item_center {
    text-align: center;
}
.footer_item_center,
.footer_item_right {
	padding: 0 0px 0 15px;
}
.footer_item_center .footer_item_title {
    padding-left: 15px;
}

.footer_top {
    /* margin-top: 30px; */
	padding: 20px 0;
	background: #222222;
}
.footer_bottom {
    background-color: #333;
    padding: 20px 0 20px 0;
}

.footer_item_title {
    color: white;
    text-transform: uppercase;
    font-size: 18px;
    font-size: 22px;
    line-height: 1.5;
    border-bottom: 1px solid white;
    border-bottom: 2px solid white;
    display: inline-block;
    padding-right: 15px;
    margin-bottom: 20px;
}
.footer_logo {
    float: left;
}
.footer_copyright {
    float: right;
    color: white;
}
/*************************footer - end*****************************/


/*************************right_sidebar - begin*****************************/
.right_sidebar .home_analitics_item, 
.right_sidebar .home_layer_R_center_item {
    margin-left: 0 !important;
    width: 100%;
    margin-right: 0;
}

.right_sidebar .home_layer_R_center {
    border-bottom: none;
}
/*************************right_sidebar - end*****************************/


/*************************index_template - begin*****************************/
.width75 {
    width: 75%;
    float: left;
    box-sizing: border-box;
    padding-right: 30px;
	position: relative;
}
.width25 {
    width: 25%;
    float: right;
    box-sizing: border-box;
	position: relative;
}
.navigation {
    padding: 15px 0px;
}
.wp-pagenavi a, 
.wp-pagenavi span {
    border: 1px solid #004f93 !important;
    padding: 5px 10px !important;
    margin: 0 5px 0 0px !important;
    color: #004f93;
    display: inline-block;
}
.wp-pagenavi a:hover {
    background: #004f93;
    color: white;
}
/*************************index_template - end*****************************/


/*************************single_template - begin*****************************/
.single_desc iframe {
    max-width: 100%;
}
.single_desc {
    margin-bottom: 15px;
}
.date_views_single {
    float: left;
        display: flex;
    /* margin: 0; */
}
.PostViews {
    font-size: 14px;
    margin-top: 10px;
    line-height: 1;
    padding-left: 22px;
    margin-left: 15px;
    background: url(img/eye.png) no-repeat left center;
    background-size: 17px;
}
.addthis_inline_share_toolbox {
    float: right;
    clear: none !important;
    margin: 0px 0 5px 0px;
}

.related_posts ul {
    margin-top: 5px;
    padding-left: 30px;
    font-size: 14px;
    line-height: 18px;
}
.related_posts ul li {
    margin-bottom: 5px;
}
.related_posts ul li a:hover {
    text-decoration: underline;
}
/*************************single_template - end*****************************/

/*************************front_page_template - begin*****************************/
.poll_question_title {
    font-size: 22px;
    text-transform: none;
}
.wp-polls .poll_vote_btn input {
    border: 1px solid #004f93;
    display: inline-block;
    line-height: 1;
    padding: 5px 10px;
    font-size: 14px;
    color: white;
    background: #004f93;
    cursor: pointer;
}
.wp-polls .poll_vote_btn input:hover {
    color: #004f93;
    background: white;
}
.wp-polls-ans ul.wp-polls-ul {
    margin: 0px 0 5px 0;
}
.wp-polls-ans ul.wp-polls-ul > li {
    color: #004f93;
    line-height: 1;
    padding: 0 0 10px 0;
}
.wp-polls-ans ul.wp-polls-ul > li > label {
    padding-left: 3px;
}
.poll_totalvoters {
    color: black;
}
.blog_name {
    text-align: right;
}
.blog_name > a {
    font-style: italic;
    color: black;
    padding-right: 5px;
}
.blog_name > a:hover {
    text-decoration: underline;
}
/*************************front_page_template - end*****************************/

/*************************menu - begin*****************************/
#nav-toggle {position: relative; display: inline-block;}
#nav-toggle span { position: absolute; right: 0; top: 18px; }

#nav-toggle span, 
#nav-toggle span:before,
#nav-toggle span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 5px;
  width: 35px;
  background: white;
  position: absolute;
  display: block;
  content: '';
}
#nav-toggle span:before {
  top: -10px;
}
#nav-toggle span:after {
  bottom: -10px; 
}

/* Добавим анимацию всех свойств для блоков нашей иконки */
#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
  transition: all 500ms ease-in-out;
}

/* Центральный блок делаем прозрачным */
#nav-toggle.active span {
  background-color: transparent;
}

/* Смещаем псевдо-элементы в центр иконки (на место основного блока) */
#nav-toggle.active span:before, #nav-toggle.active span:after {
  top: 0;
}

/* Наклоняем псевдо-элементы под углом 45 градусов, но в разные стороны */
#nav-toggle.active span:before {
  transform: rotate(45deg);
}
#nav-toggle.active span:after {
  transform: rotate(-45deg);
}


#nav-toggle {
	display: none;
}
/*************************menu - end*****************************/

@media screen and (max-width: 1150px) {
	.container {
		width: 100%;
		box-sizing: border-box;
		padding: 0 15px;
	}

	.search_rss {
		right: 15px;
	}	
}

@media screen and (max-width: 1100px) {
	.home_layer_R_bottom_big_info_text {
		width: 100%;
		padding-right: 0;
		margin-right: 0;
		padding-bottom: 10px;
	}
	.home_layer_R_bottom_big_info_img {
		width: 100%;
		text-align: center;
	}
	.home_layer_R_bottom_item {
		width: 33%;
		margin-right: -4px;
		box-sizing: border-box;
		padding: 0 8px;
	}
}

@media screen and (max-width: 1000px) {
	.header_bottom ul.menu {
		display: none;
		width: 200px;
		position: absolute;
		right: 0;
		top: 41px;
		background: #004f93;
		z-index: 4;
	}
	#nav-toggle {
		display: inline-block;
		height: 42px;
	}
	.header_bottom nav {
		text-align: right;
	}
	.header_bottom ul.menu > li {
		display: block;
		margin-right: 0;
	}
	.header_bottom ul.menu > li > a {
		padding: 10px 15px !important;
		border-top: 1px solid #e4e4e4;
		border-right: none;
	}
	.header_bottom ul.menu > li:last-child > a {
		border-bottom: 1px solid #e4e4e4;
	}	
	
	header nav {
		padding-right: 0;
	}	
	.search_rss {
		right: 0;
		left: 15px;
		text-align: left;
	}	
}

@media screen and (max-width: 900px) {
	.home_layer_R {
		width: 35%;
	}
	.home_layer_L {
		width: 65%;
	}
	.home_analitics_item, 
	.home_layer_R_center_item {
		width: 100%;
		box-sizing: border-box;
		margin-right: 0;
		margin-bottom: 20px;
	}	
	.home_analitics_item:nth-child(even), 
	.home_layer_R_center_item:nth-child(even) {
		margin-left: 0;
	}
	.home_layer_R_bottom_item {
		width: 49%;
		margin-right: 0;
		box-sizing: border-box;
		padding: 0 0 5px 0;
	}
	.footer_items > aside.footer_item_left {
		width: 100%;
		margin-bottom: 10px;
	}
	.footer_items > aside.footer_item_center {
		padding-left: 0;
		text-align: left;
	}
	.footer_items > aside.footer_item_center .footer_item_title {
		padding-left: 0px;
	}
	.footer_items > aside {
		width: 49%;
	}

	.home_video_content .ytc-pslb.ytc-thumbnails.ytc-thumb-align-left {
		float: none;
		width: 100%;
		margin-left: 0% !important;
	}
	.home_video_content .ytc-pslb.ytcplayer-wrapper {
		width: 100% !important;
	}
	
	.width75 {
		width: 65%;
	}	
	.width25 {
		width: 35%;
	}	
	.home_analitics_item img, 
	.home_layer_R_center_item img {
		width: 100%;
	}		
}

@media screen and (max-width: 760px) {
	.home_layer_R {
		width: 40%;
	}
	.home_layer_L {
		width: 60%;
	}	
	.home_news_item_img {
		width: 48%;
		float: left;
		display: block;
	    padding-right: 20px;
	}	
	.home_news_item_text {
		width: 100%;
		display: block;
	    padding-left: 0;
	}	
	

	.gallery-item {
		width: 33% !important;
	}
	.gallery br {
		clear: none !important;
	}	
	
}

@media screen and (max-width: 660px) {
	.home_layer_R_bottom_item {
		width: 100%;
	}	
	.home_layer_R,
	.home_layer_L {
		width: 50%;
	}
	
	.width75 {
		width: 60%;
	}	
	.width25 {
		width: 40%;
	}	
}

@media screen and (max-width: 555px) {
	.home_layer_R, 
	.home_layer_L {
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}
	.home_news_item_img {
		width: 34%;
	}
	.home_analitics_item, 
	.home_layer_R_center_item {
		width: 49%;
		box-sizing: border-box;
		margin-right: 0;
		margin-bottom: 20px;
	}
	.home_analitics_item:nth-child(even), 
	.home_layer_R_center_item:nth-child(even) {
		padding-left: 5px;
	}
	.home_analitics_item:nth-child(odd), 
	.home_layer_R_center_item:nth-child(odd) {
		padding-right: 5px;
	}
	.home_layer_R_bottom_item {
		width: 32%;
	    min-width: 135px;	
	}
}

@media screen and (max-width: 500px) {
	.footer_items > .footer_item_center {
		padding-left: 0;
		padding-right: 0;
		text-align: left;
		padding-bottom: 10px;
	}	
	.footer_item_right {
		text-align: left;
	    padding-left: 0;	
	}	
	.footer_item_right .footer_item_title {
		padding-left: 0;
		padding-right: 15px;
	}
	.footer_items > aside,
	.footer_items > aside iframe {
		width: 100%;
	}

	.width75,
	.width25 {
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}
}

@media screen and (max-width: 450px) {
	.home_analitics_item:nth-child(odd), 
	.home_layer_R_center_item:nth-child(odd) {
		padding-right: 0px;
	}
	.home_analitics_item:nth-child(even), 
	.home_layer_R_center_item:nth-child(even) {
		padding-left: 0px;
	}
	.home_analitics_item, 
	.home_layer_R_center_item {
		width: 100%;
	}	
	.home_news_item_img {
		width: 42%;
	}
	.header_top.flex {
		height: 60px;
	    padding: 10px 0px;	
	}	
}

@media screen and (max-width: 400px) {
	.footer_logo, 
	.footer_copyright {
		float: none !important;
		text-align: center !important;
	}	
	.footer_bottom {
		padding: 10px 0 8px 0;
	}	
}
















