/*
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.
*/

.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;   
}


.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;
}


.infocus-page .td_module_8 .bullet,
.infocus-page .td_module_8 .td-post-date{
    display:none !important;
    border:1px solid #f00;
}



.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 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_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
    }
}