/*
Theme Name: JNews - Child Theme
Version: 1.0.0
Theme URI: http://themeforest.net/?ref=jegtheme
Description: A basic starter child theme for customization purpose of JNews theme.
Author: Jegtheme
Author URI: http://themeforest.net/user/jegtheme?ref=jegtheme
Template: jnews
Text Domain: jnews-child
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ------------------------------------------------------------------------- *
 *  Theme customization starts here
/* ------------------------------------------------------------------------- */
/* Home banner slider padding fix */
.home .jeg_content {
	padding: 0 0 40px !important;
}

/* Shadows for some home sections */
#home-about,
#home-media-project,
#home-main .jeg-vc-wrapper > div:nth-child(2),
#home-posts-list,
.post-box {
    box-shadow: 0 5px 5px rgba(96, 96, 96, 0.35);
}

/* Home mobile and desktop sliders */
#slider-mobile {
	display: none;
}

@media screen and (max-width: 991px) {
	#slider-desktop {
		display: none;
	}
	
	#slider-mobile {
		display: block;
	}
}


/* Home about and media image margin fix */
#home-about .wpb_content_element,
#home-media-project .wpb_content_element {
    margin-bottom: 0 !important;
}

/* Sidebar image hovers */
#sidebar-video-blog,
#sidebar-tv-programs {
	text-align: center;
	margin: 0;
	padding: 0;
}

#sidebar-video-blog img,
#sidebar-tv-programs img {
	margin: 0 !important;
}

#sidebar-video-blog .youtube-hover-img {
	display: none;
}

#sidebar-video-blog:hover .youtube-hover-img {
	display: inline;
}

#sidebar-video-blog:hover .youtube-img {
	display: none;
}

#sidebar-tv-programs .tv-hover-img {
	display: none;
}

#sidebar-tv-programs:hover .tv-hover-img {
	display: inline;
}

#sidebar-tv-programs:hover .tv-img {
	display: none;
}

/* Home posts lists title border */
#home-posts-list h2 {
	padding-bottom: 10px;
	border-bottom: 2px solid #606060;
}

/* Post box styles */
.post-box,
.post-box-single {
	margin: 5px;
	margin-bottom: 20px;
}

/* Post title margin left fix */
/*
.jeg_post_title,
.jeg_breadcrumbs.jeg_breadcrumb_container {
	margin-left: 20px !important;
}
*/

/* Partners page image size */
#partners-section img {
	max-width: 125px;
	width: 125px;
	height: auto;
}

/* Header padding */
.jeg_bottombar.jeg_navbar {
	padding-top: 5px;
	padding-bottom: 5px;
}

.jeg_navbar .item_wrap,
.jeg_navbar .jeg_nav_row {
	align-items: flex-end;
}

/* Logo absolute changes */
.jeg_topbar {
	z-index: 9;
}

.jeg_navbar .jeg_desktop_logo .site-title {
	width: 160px;
    height: auto;
}

.jeg_navbar .jeg_desktop_logo img {
	width: 160px !important;
    height: auto;
    position: absolute;
    bottom: 0;
    left: 40px;
    z-index: 9;
}

/* Remove post category/archive/tag pages meta information */
.jeg_post_meta {
	display: none;
}

/* Footer socials color */
.jeg_footer .socials_widget.nobg .fa {
    color: #fff;
}

/* Footer copyright fixes */
.jeg_footer_4 .jeg_footer_secondary {
	padding: 20px 0;
}

.jeg_footer_4 .jeg_footer_secondary p.copyright {
	margin-bottom: 0;
}

/* Minimizing footer padding */
#footer .jeg_footer_primary {
	padding: 0 !important;
	padding-top: 15px !important;
}

#footer .jeg_footer_secondary {
	padding: 10px 0 !important;
}

/* Footer Vecto logo */
.vecto {
	text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 100%;
    width: 50%;
	margin-left: auto;
	opacity: 1;
	-webkit-transition: all .3s ease-in;
	   -moz-transition: all .3s ease-in;
		-ms-transition: all .3s ease-in;
		 -o-transition: all .3s ease-in;
			transition: all .3s ease-in;
}
.vecto:hover {
	opacity: .9;
}
.vecto span {
    text-transform: uppercase;
    font-family: 'Mardoto', arial, sans-serif;
    letter-spacing: 5px;
    font-size: 12px;
    font-weight: 900;
    /*color: #e1d7ce;*/
	color: #fff;
}
.vecto a {
	margin: 0;
	padding: 0;
	max-height: 50px
}
.vecto img {
	width: 100px;
	margin: 0 !important;
}

@media screen and (max-width: 767px) {
	.vecto {
		align-items: center;
		width: 100%;
		text-align: center;
		margin: 0 auto;
	}
}

/* Header language switcher hide flags */
.jeg_mobile_lang_switcher ul,
.jeg_nav_item.jeg_lang_switcher .jeg_top_lang_switcher {
	display: flex;
}

.jeg_mobile_lang_switcher .jeg_top_lang_switcher img,
.jeg_nav_item.jeg_lang_switcher .jeg_top_lang_switcher img {
    display: none;
}

.jeg_mobile_lang_switcher .jeg_top_lang_switcher li,
.jeg_nav_item.jeg_lang_switcher .jeg_top_lang_switcher li {
	margin: 0;
	padding: 0;
}

.jeg_mobile_lang_switcher .jeg_top_lang_switcher li:nth-child(1),
.jeg_nav_item.jeg_lang_switcher .jeg_top_lang_switcher li:nth-child(1) {
	order: 1;
}

.jeg_mobile_lang_switcher .jeg_top_lang_switcher li:nth-child(2),
.jeg_nav_item.jeg_lang_switcher .jeg_top_lang_switcher li:nth-child(2) {
	order: 2;
}

.jeg_mobile_lang_switcher .jeg_top_lang_switcher li:nth-child(3),
.jeg_nav_item.jeg_lang_switcher .jeg_top_lang_switcher li:nth-child(3) {
	order: 0;
}

.jeg_mobile_lang_switcher .jeg_top_lang_switcher li.avalang:after,
.jeg_nav_item.jeg_lang_switcher .jeg_top_lang_switcher li.avalang:after {
    content: '/';
    margin: 0 5px 0 2px;
}

.jeg_mobile_lang_switcher .jeg_top_lang_switcher li.avalang:nth-child(2):after,
.jeg_nav_item.jeg_lang_switcher .jeg_top_lang_switcher li.avalang:nth-child(2):after {
	content: '';
}

.jeg_top_lang_switcher li > a {
	color: #9c2070 !important;
}

/* Archive page title color */
.jeg_archive_title {
	font-size: 25px !important;
	color: #606060;
	border-left: 5px solid #781856;
    padding-left: 10px;
}

/* Sidebar shift */
@media screen and (min-width: 767px) {
	.jeg_main_content .entry-header {
		width: 80%;
		margin: 0;
	}

	.jeg_main_content .entry-header .jeg_post_title {
		margin: 0;
	}

	body.page:not(#home-main) .wpb_column.jeg_column.vc_col-sm-4.jeg_main_content:last-child {
		margin-top: -100px;
		padding: 20px !important;
	}
	
	#home-main.homepage-sidebar .wpb_column.jeg_column.vc_col-sm-4.jeg_main_content:last-child,
	.right #home-main.who-is-who-page {
		margin-top: 0 !important;
		padding: 20px !important;
	}
}

/* Who is who single page featured image size fix and layout custom changes */
.jeg_featured {
	width: 35%;
	margin-right: 40px;
}

body.people-template-default.single.single-people .jeg_featured.featured_image {
	width: 150px;
    height: auto;
	margin-right: 40px;
}

body.publications-template-default.single.single-publications .jeg_featured.featured_image {
	width: 400px;
    height: auto;
    margin-right: 30px;
}

/*
.jeg_featured.featured_image {
	margin-top: 50px;
}
*/

/* Who is who single page layout */
.flex-who-is-who-single-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
	margin-top: 50px;
}

/* Archive page title color */
.jeg_post_title {
	font-size: 19px !important;
	border-left: 2px solid #606060;
    padding-left: 10px;
}

.jeg_post_title a {
	color: #9c2070 !important;
}

body.page .jeg_post_title {
	width: 80%;
	font-size: 25px !important;
	color: #606060 !important;
	border-left: 5px solid #781856;
    padding-left: 10px;
	margin-bottom: 20px !important;
}

#home-main h2 {
	font-size: 20px !important;
}

#home-main h2 a:first-child {
	border-left: 2px solid #606060;
	padding-left: 10px;
}

/* Self-regulation form fixes */
#self-regulation-form input,
#self-regulation-form textarea {
	width: 50%;
}

#self-regulation-form input[type=submit] {
	width: 150px;
}

@media screen and (max-width: 677px) {
	#self-regulation-form input,
	#self-regulation-form textarea {
		width: 90%;
	}
}

/* Statements text changes */
.single.single-statements .entry-content .content-inner p,
.single.single-statements .entry-content .content-inner h3 {
	font-size: 17px;
}

.single.single-statements .entry-content .content-inner p:first-child {
	font-size: 25px;
}

/* Page content title font change */
body.page #home-main h2,
body.page #home-main h2 a {
	font-family: "HeliosCondBold", Helvetica, Arial, sans-serif;
}


body.page #home-main p,
body.page #home-main p a {
	font-family: "MardotoReg", Helvetica, Arial, sans-serif;
	font-size: 14px;
}

/* Archive pages no featured image, also on hover */
.jnews_search_content_wrapper .jeg_post,
.jnews_404_content_wrapper .jeg_post,
.jnews_category_content_wrapper .jeg_post,
.jnews_archive_content_wrapper .jeg_post {
	border: none;
	margin: 5px 0;
}

.jnews_search_content_wrapper .jeg_post .jeg_thumb,
.jnews_404_content_wrapper .jeg_post .jeg_thumb,
.jnews_category_content_wrapper .jeg_post .jeg_thumb,
.jnews_archive_content_wrapper .jeg_post .jeg_thumb {
	background-image: none !important;
}

.jnews_search_content_wrapper .jeg_post:hover .jeg_thumb,
.jnews_404_content_wrapper .jeg_post:hover .jeg_thumb,
.jnews_category_content_wrapper .jeg_post:hover .jeg_thumb,
.jnews_archive_content_wrapper .jeg_post:hover .jeg_thumb {
	opacity: 0;
}

.jnews_search_content_wrapper .jeg_post .box_wrap,
.jnews_404_content_wrapper .jeg_post .box_wrap,
.jnews_category_content_wrapper .jeg_post .box_wrap,
.jnews_archive_content_wrapper .jeg_post .box_wrap {
	padding-left: 0;
}

.jnews_archive_content_wrapper .jeg_post .box_wrap .jeg_post_category {
	height: 20px;
}

.jnews_search_content_wrapper .jeg_post:hover .jeg_post_category a,
.jnews_404_content_wrapper .jeg_post:hover .jeg_post_category a,
.jnews_category_content_wrapper .jeg_post:hover .jeg_post_category a,
.jnews_archive_content_wrapper .jeg_post:hover .jeg_post_category a {
	color: #9c2070;
}

.jnews_search_content_wrapper .jeg_post:hover .box_wrap .jeg_post_excerpt,
.jnews_404_content_wrapper .jeg_post:hover .box_wrap .jeg_post_excerpt,
.jnews_category_content_wrapper .jeg_post:hover .box_wrap .jeg_post_excerpt,
.jnews_archive_content_wrapper .jeg_post:hover .box_wrap .jeg_post_excerpt {
	color: #171717;
}

.jnews_search_content_wrapper .jeg_post:hover .box_wrap .jeg_readmore_arrow,
.jnews_404_content_wrapper .jeg_post:hover .box_wrap .jeg_readmore_arrow,
.jnews_category_content_wrapper .jeg_post:hover .box_wrap .jeg_readmore_arrow,
.jnews_archive_content_wrapper .jeg_post:hover .box_wrap .jeg_readmore_arrow {
	display: none;
}

.jeg_postblock_38 .box_wrap {
	padding-left: 0;
}

.jeg_postblock_38 .jeg_postblock_content {
	padding-left: 2px !important;
}

.jeg_postblock_38:hover .jeg_thumb {
	opacity: 0 !important;
}

.jeg_postblock_38 .jeg_post .jeg_post_title {
	font-size: 20px !important;
}

.jeg_postblock_38:hover .jeg_post .jeg_post_excerpt {
	color: #000 !important;
}

.jeg_postblock_38:hover .jeg_post .jeg_readmore_arrow {
	display: none;
}

.jeg_postblock_38 .jeg_post .jeg_post_category {
	display: none !important;
}

/* Single page titles */
body.single .jeg_post_title {
	font-size: 22px !important;
    color: #606060 !important;
    border-left: 5px solid #781856;
    padding-left: 10px;
    margin-bottom: 20px !important;
}

/* Partners page image fixes */
#home-main.partners-col .jeg-vc-wrapper .jeg_column.vc_col-sm-8.jeg_main_content img {
	width: 100px;
	height: auto;
	margin-right: 30px;
}

/* Weekly Newsletter archives */

.inner .main_content {
  box-shadow: 0 5px 10px rgba(150, 150, 150, 0.45);
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 20px;
  display: flex;
  min-height: 500px;
}
.inner .main_content .left {
  display: inline-block;
  flex-basis: 75%;
  padding: 0 0 10px 0;
}
.inner .main_content .left h2.cat {
    border-left: 5px solid #781856;
    color: #606060;
    display: block;
    font-size: 21px;
    line-height: 24px;
    margin: 5px 0 10px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-top: 5px;
    text-transform: capitalize;
}
.inner .main_content .left .about {
  background-image: url("images/ypc1_new.jpg");
  background-position: right bottom;
  background-repeat: no-repeat;
  box-shadow: 0 5px 5px rgba(96, 96, 96, 0.35);
  display: inline-block;
  height: 199px;
  padding: 5px 15px 0;
  width: 605px;
}
.inner .main_content .left .about h3 {
  color: #9C2070;
  font-family: tahoma;
  font-size: 22px;
  margin: 5px 0 15px;
}
.inner .main_content .left .about .text {
  font-family: arial;
  font-size: 12px;
  width: 395px;
  color: #606060;
  line-height: 20px;
}
.inner .main_content .left .about .text a.readmore {
  font-size: 11px;
  color: #9c2070;
  float: right;
  text-decoration: none;
  margin-top: 10px;
}
.inner .main_content .left .contBlock {
  display: inline-block;
  margin-top: 40px;
  width: 300px;
}
.inner .main_content .left .contBlock h3 {
  border-bottom: 2px solid #606060;
  color: #606060;
  font-family: tahoma;
  font-size: 18px;
  font-weight: bold;
  padding: 0 0 5px;
}
.inner .main_content .left .contBlock h3:before {
  color: #9C2070;
  content: "■";
  font-size: 40px;
  margin-right: 5px;
}
.inner .main_content .left .contBlock .text {
  color: #161616;
  font-family: arial;
  font-size: 13px;
  line-height: 18px;
  padding: 5px;
  text-align: left;
}
.inner .main_content .left .contBlock a.readmore {
  font-size: 11px;
  color: #9c2070;
  float: right;
  text-decoration: none;
  margin-top: 10px;
}
.inner .main_content .left .lastArticles {
  display: inline-block;
  margin-left: 30px;
  margin-top: 40px;
  vertical-align: top;
  width: 300px;
}
.inner .main_content .left .lastArticles h3, 
h2.widgettitle{
  font-size: 18px;
  font-family: tahoma;
  font-weight: bold;
  color: #9c2070;
  margin-bottom: 20px;
}
.right .lastArticles .widget-block {
    margin: 10px 0 0;
}
.inner .main_content .left .lastArticles h3.fpw-page-title {
  border-bottom: 2px solid #606060;
  color: #606060;
  font-family: tahoma;
  font-size: 18px;
  font-weight: bold;
  padding: 0 0 5px;
  margin-bottom: 10px;
  line-height: 24px;
}
.inner .main_content .left .lastArticles h3.fpw-page-title:before {
  color: #9C2070;
  content: "■";
  font-size: 40px;
  margin-right: 5px;
}
.inner .main_content .left .lastArticles .newsBlock {
  margin: 10px 0 0;
  width: 300px;
  word-wrap: break-word;
}
.inner .main_content .left .lastArticles .newsBlock img {
  display: inline-block;
}
.inner .main_content .left .lastArticles .newsBlock h4.title {
  border-left: 2px solid #898989;
  display: inline-block;
  margin-left: 5px;
  padding-left: 10px;
  vertical-align: top;
  width: 150px;
}
.inner .main_content .left .lastArticles .newsBlock h4.title a {
  color: #9C2070;
  font-family: tahoma;
  font-size: 16px;
  font-weight: bold;
  line-height: 20px;
  text-decoration: none;
}
.inner .main_content .left .lastArticles .newsBlock .text {
  color: #373737;
  font-family: arial;
  font-size: 12px;
  margin: 8px 0 0;
}
.inner .main_content .left .lastArticles .newsBlock hr {
  background: none repeat scroll 0 0 #898989;
  border: medium none;
  display: inline-block;
  height: 1px;
  vertical-align: -3px;
  width: 245px;
}
.inner .main_content .left .lastArticles .newsBlock a.readmore {
  font-family: arial;
  color: #9c2070;
  font-size: 11px;
  text-decoration: none;
  text-transform: lowercase;
}
.inner .main_content .left .lastArticles .widget-block a.readmore {
  color: #9C2070;
  margin-left: 245px;
  font-size: 11px;
  margin-top: 10px;
  text-decoration: none;
}
.inner .main_content .left .lastArticles .widget-block .text {
  color: #373737;
  font-family: arial;
  font-size: 12px;
  margin: 8px 0 0;
}
.inner .main_content .left section#content article h2.entry-title {
  border-left: 5px solid #781856;
  color: #606060;
  display: block;
  font-size: 21px;
  line-height: 24px;
  margin: 5px 0 10px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-top: 5px;
}
.inner .main_content .left section#content article section.entry-content {
  font-family: arial;
  font-size: 13px;
  line-height: 18px;
}
.inner .main_content .left section#content article section.entry-content strong,
.inner .main_content .left section#content article section.entry-content strong a
{
  
  font-weight: bold;
  margin: 5px 0;
}
.inner .main_content .left section#content .posts {
  box-shadow: 0 5px 5px rgba(93, 96, 95, 0.35);
  margin: 10px 0;
  min-height: 45px;
  width: 90%;
  padding: 5px 10px;
}
.inner .main_content .left section#content .posts h3 a {
  color: #9C2070;
  font-family: tahoma;
  font-size: 15px;
  line-height: 18px;
  margin: 0 0 5px;
}
.inner .main_content .left section#content .posts span.date {
  color: #29344D;
  font-family: tahoma;
  font-size: 14px;
}
.inner .main_content .left section#content .category-ypc-weekly-newsletter {
  border-bottom: 1px solid #898989;
  padding: 0 10px 5px;
}
.inner .main_content .left section#content .category-ypc-weekly-newsletter h2.entry-title a {
  color: #29344D;
}
.inner .main_content .left section#content .category-ypc-weekly-newsletter h2.entry-title a:hover {
  color: #85878d;
}
.inner .main_content .right {
  display: inline-block;
  margin-left: 10px;
  vertical-align: top;
  flex-basis: 20%;
}
.inner .main_content .right #sidebar .partnerblock {
  box-shadow: 0 5px 5px rgba(96, 96, 96, 0.35);
  padding: 20px;
  text-align: center;
}
.inner .main_content .right #sidebar .partnerblock a.partnerlink {
  border-bottom: 2px solid #898989;
  display: block;
  margin: 0 0 10px;
}
.inner .main_content .right #sidebar .partnerblock a.smi {
  background-image: url("images/smi.jpg");
  background-repeat: no-repeat;
  color: #606060;
  display: block;
  font-family: arial;
  font-size: 12px;
  height: 36px;
  margin: 10px 40px;
  padding: 0 0 0 36px;
  text-decoration: none;
}
.inner .main_content .right #sidebar .lastArticles.home {
  margin-top: 40px;
}
.inner .main_content .right #sidebar .lastArticles h3 {
  color: #9C2070;
  font-family: tahoma;
  font-size: 22px;
  margin: 5px 0 15px;
  font-weight: bold;
}
.inner .main_content .right #sidebar .lastArticles .newsBlock {
  border-bottom: 1px solid #898989;
  margin: 0 0 10px;
  padding: 0 0 5px;
}
.inner .main_content .right #sidebar .lastArticles .newsBlock h4 a {
  background-image: url("images/arrow.jpg");
  background-repeat: no-repeat;
  color: #29344D;
  font-family: arial;
  font-size: 12px;
  line-height: 17px;
  padding: 0 0 0 20px;
}
.inner .main_content .right #sidebar .lastArticles .newsBlock h4 a:hover {
  background-position: 0 -18px;
  color: #85878d;
}
.inner .main_content .right #sidebar .archive {
  margin: 0 0 15px 0px;
}
.inner .main_content .right #sidebar .archive h3.widget-title {
  color: #9C2070;
  font-family: tahoma;
  font-size: 22px;
  font-weight: bold;
  margin: 0 0 10px;
}
.inner .main_content .right #sidebar .archive select {
  border: 1px solid #9C2070;
  padding: 3px;
  width: 100%;
}
.inner .main_content .right #sidebar select.select-child {
  border: 1px solid #9C2070;
  padding: 3px;
  width: 100%;
}

.broken_link, a.broken_link {
	text-decoration: none !important;
}

.statement-exp-title h3.jeg_post_title {
	font-size: 20px !important;
	font-weight: 700;
}