/*
Theme Name:     Newsmag Child theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newsmag                             
Version:        1.1
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/

body{
    overflow-x:hidden;
}

@media(max-width:768px){
    .hide-mobile{
        display:none !important;
    }
}

@media(min-width:768px){
    .show-mobile{
        display:none !important;
    }
}

.td-header-menu-wrap{
    position:relative;
}

.starbacker{
    position:absolute;
    top:-281px;
    left:0;
    height:1000px;
    width:135%;
    background-image:url('img/jpc-bg-element.png');
    background-position: right;
    background-repeat:no-repeat;
    z-index: 0;
    pointer-events: none;
}

.td-header-sp-logo{
    text-align: left;
}


.td-header-sp-logo img{
    margin-left:0;
}


.tagline{
    text-transform: uppercase;
    position:absolute;
    top:-70px;
    right:0;
    color:#666;
    font-family: "Open Sans",arial,sans-serif;
    font-weight:700;
    font-size: 14px;
}


/* -----NEWS MAG FIXES--------*/

.img-responsive{
    max-width:100%;
}




.td-module-comments,
.entry-crumbs,
.td-post-views,
.td-post-comments{
    display:none;
}

.td-post-content table{
    width:auto;
    border:none;
    padding:0;   
}
.td_module_8 .entry-title{
    margin-bottom:2px;
}
.td_module_8 .td-post-date,
.td_module_8 .td-module-date{
    margin:0 !important;
    vertical-align:top;
}

.td_module_8  .meta-info{
    line-height:1.4em;
}

.infocus-page .td_block_14 .bullet,
.infocus-page .td_block_14 .td-post-date{
    display:none !important;
}

.infocus-page .td_module_8 .bullet,
.infocus-page .td_module_8 .td-post-date{
    display:none !important;
}





.td-post-content table td{
    border:none !important;
    padding:0;
}

.td-post-sub-title{
    font-size:1.8em;
   
    font-style: normal !important;
    color:#333;
}

.td-category{
    width:auto;
    display:inline-block;
}

.td-post-source-via{
    display:inline-block;
   
}
.td-post-small-box span{
    display:none;
}
.td-post-source-via {
    padding:2px;
     
}
.td-post-source-via a{
    padding:1px 5px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.jpc-addendum,
.jpc-preface{
    background:#efefef;
    padding:20px 30px;
    margin-bottom:20px;
    clear:both;
}
.jpc-addendum p,
.jpc-preface p{
    margin:0;
}


.td-sp-email {
  background-position: -20px -20px;
  display: block;
  background-image: url(img/email.png);
  background-size:20px auto !important;
  background-position:center center;
  width: 32px;
  height: 32px;
}

.td-social-email {
  background-color: #000000;
}
.td-social-email .td-social-but-text {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}


.td-sp-print {
  background-position: -20px -20px;
  display: block;
  background-image: url(img/print.png);
  background-size:20px auto !important;
  background-position:center center;
  width: 32px;
  height: 32px;
}

.td-social-print {
  background-color: #aaa;
}
.td-social-print .td-social-but-text {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}


.td-slide-views,
.td-slide-comments{
    display:none !important;
}

/*-------AUTHOR PAGE--------*/


.author-page-row{
    padding:0 20px;
}

.author-page-row h2{
    margin:0;
}
.author-page-row:after{
    content:'';
    clear:both;
}

.author-page-span3{
    float:left;
    width:25%;
}

.author-page-span9{
    float:left;
    width:75%;
}

.archive-cell{
    width:50%;
    float:left;
    height:80px;
    font-size:1em;
}



.archive-cell .pad{
    padding:20px;
}

.td_module_5 .meta-info,
.td_module_6 .meta-info{
    line-height:1.4em;
}
/*---------maps------------*/

.acf-map {
	width: 100%;
	height: 400px;
	border: #ccc solid 1px;
	margin: 20px 0;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}




.td-grid-style-1 .td-module-thumb a:last-child:before {

  opacity: .3;
  
}


/*-----------------In focus Grid------------------*/

.infocus-grid{
    padding:0 25px;
    margin:0 -15px;
    
}


.infocus-item{
    float:left;
     text-align: center;
     height:380px;
     max-height:380px;
     width:100%;
}

@media(min-width:400px){
    .infocus-item{
        width:50%;
    }
}


@media(min-width:768px){
    .infocus-item{
        width:20%;
    }
}



.infocus-item a{
    color:#000;
}

.infocus-title{
    margin:5px 0;
    font-weight:bold;
}

.infocus-image img{
    max-width:100%;
    height:auto;
    margin:0 auto;
}

.infocus-inner{
    padding:5px;
}

.td-social-print{
    display:none !important
}


@media(min-width:768px){
    .td-social-print{
        display:inline-block !important
    }
}


.td-icon-facebook,
.td-icon-twitter,
.td-icon-youtube{
    margin-left:5px;
    -webkit-border-radius:100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    width:24px;
    height:24px;
    text-align: center;
    line-height:26px;
}



 
 .td-icon-youtube{
    background:#cf4c2c;
    color:#fff !important;
 }
 
.td-icon-twitter{
    background:#2cbde2;
    color:#fff !important;
}
 
.td-icon-facebook{
    background:#3f65a6;
    color:#fff !important;
}

.td_module_mx5 .td-module-meta-info{
    color:#fff;
}


@media(min-width:768px){
  .wpb_column .block-title{ 
    margin:17px !important;
  }
}

.block-title a{
    display:block;
}

.td_module_3 {
  padding-bottom: 0px;
}
.td-tags a{
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.td-related-title a{
-webkit-border-top-right-radius: 3px !important;
-webkit-border-bottom-right-radius: 3px !important;
-moz-border-radius-topright: 3px !important;
-moz-border-radius-bottomright: 3px !important;
border-top-right-radius: 3px !important;
border-bottom-right-radius: 3px !important;
}


.td-pulldown-filter-list{
    
    max-height:200px;
    overflow-y: scroll;
}

.category-frontline-defense .meta-info,
.category-alliance-tracker .meta-info{
    display:none;
}

.vc_tta-tab .vc_tta-title-text{
    text-transform:none;
}


.dsq-widget{
    padding:0;
}
.dsq-widget-meta{
   
    margin-left:35px !important;
}

.dsq-widget ul,
.dsq-widget li{
    padding:0 !important;
    margin:0 !important;
}

.recent-dsq-widget{
    padding:0 15px;
}

.recent-dsq-widget p.dsq-widget-meta,
.recent-dsq-widget .dsq-widget-comment,
.recent-dsq-widget .dsq-widget-comment p,
.recent-dsq-widget .dsq-widget-user{
line-height:1.1em !important;
text-indent:none !important;
display:block;
margin:0 0 10px 0 !important;
}

.recent-dsq-widget .dsq-widget-user::after{
    content:'';
    clear:both;
  
}


.recent-dsq-widget .dsq-widget-avatar{
    margin:0 10px 0 0;
}


.wwr h4{
    font-family: 'Open Sans', arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    color: #ffffff;
    background-color: #222222;
    border-radius: 3px;
    padding: 2px 15px 2px 15px;
    position: relative;
    line-height: 16px;
    top: -2px;
    display: inline-block;
}

.wwr h5{
    margin: 0px 0px 6px 0px;
    font-size: 13px;
    font-weight: 600;
    line-height: 19px
}

.wwr h5 a{
     color: #000;
}

.wwr h5 a:hover{
    color:#4db2ec;
}

.wwr p{
    font-family: 'Open Sans', arial, sans-serif;
    font-size: 11px;
    color: #444444;
    line-height: 16px;
    font-style: italic;
}

.td_block_wrap .td_block_trending_now{
    padding:0;
    border:1px solid #f00 !important;
}

.td-trending-now-title{
   
}

.td-trending-now-wrapper{
    padding:0;
}
.td-trending-now-wrapper .td-next-prev-wrap{
    display:none;
}

.td-trending-now-display-area{
    vertical-align: middle;
     margin: 17px !important;
}
