/*
 Theme Name:   Public Opinion Going Concern
 description: >-
   A child theme of the Public Opinion Theme for Going Concern
 Author:       Going Concern
 Template:     public-opinion
 Version:      1.0.0
 */

 /*Font Family Change*/
 h1, h2, h3, h4, h5, h6{
    font-family: "proxima-nova-condensed",sans-serif;
    line-height: 110%;
}

.navigation-main a{
    font-family: "proxima-nova-condensed",sans-serif;
}

/*Reducing the top padding on posts and pages*/
.main {
    padding: 30px 0;
}

/*Lining up the byline. It was staggered in the original*/
.entry-author-by {
    top: 0px;
}

/*Removing the skew*/
.entry-meta-category {
    bottom: -0px;
    left: -8px;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

/*Removing the skew*/
.entry-meta-category::after,
.entry-meta-category::before, 
.entry-meta-top-wrap::after,
.entry-meta-top-wrap::before,
.entry-meta-info::after,
.entry-meta-info::before,
.section-category-name::after,
.section-category-name::before,
.section-category-title::after,
.section-category-title::before,
.news-ticker-title::after,
.news-ticker-title::before,
.btn-skewed::after,
.btn-skewed::before {
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

.entry-meta-top-wrap {
    padding: 0 4px 0 8px;
}

.entry-meta-info {
    bottom: 0px;
    display: none;
}

.section-category-name {
    padding: 6px 12px;
    bottom: 0px;
    left: 0px;
}

.news-ticker-title{
    padding: 2px 14px 4px 10px;
}

.entry-section-related .entry-excerpt{
    display: none;
}

/**************************************************************/
/**************************************************************/
/*************************OPEN ITEMS***************************/
/**************************************************************/
/**************************************************************/

/****************DWQA (Our Open Items Plugin)******************/

/*Hiding the Filters. They are more for a 'Support' style forum*/ 
.dwqa-question-filter{
    display: none;
}

.dwqa-alert-success{
    background: #d4edda;
    color: #155724;
}

/*Popular Questions Widget*/

.dwqa-popular-questions a{
    display: block;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.0;
    font-family: "proxima-nova-condensed",sans-serif;
}

.dwqa-popular-questions li{
    list-style-type: none;
    margin-bottom: 15px;
    display: inline-block;
    margin-right: 15px;
    padding-right: 30px;
}

.dwqa-popular-questions ul{
    padding-left: 0px;
}

.dwqa-breadcrumbs {
    font-size: 18px;
    margin-bottom: 10px;
}

/*This wraps around a category shortcode and needed to be styled to match the other pages*/
pre {
    padding: 0px;
    border: 0px solid rgba(0, 0, 0, 0.1);
    font-family: 'Lato', sans-serif;
}

/****************************Sponsored Template*************************************/
.sponsored-by{
    display: inline-block;
    background: #333;
    border-radius: 3px;
    font-size: 14px;
    margin: 0px 0 35px;
    padding: 0px 8px;
    color: #fff;
}

/***********NEWSLETTER WIDGET*************/
/*This is the CSS for the Custom HTML widget that contains the Newsletter HTML*/
.newsletter-sidebar{
    border: 1px solid #ccc;
    padding: 20px 20px 10px;
}

.newsletter-sidebar h2{
    margin: 0 0 5px;
}

.newsletter-sidebar p{
    line-height: 1;
}

.newsletter-sidebar .nf-form-fields-required{
    display: none;
}

.newsletter-sidebar .label-above .nf-field-label{
    margin-bottom: 0px;
}

.newsletter-sidebar .nf-field-container{
    margin-bottom: 10px;
}

/*Adjust gradient on Featured image sections to make titles more legible*/

.entry-item-hero::after {
    height: 85%;
    background-image: -webkit-linear-gradient(bottom,rgba(0,0,0,0.7) 50%,transparent 100%);
    background-image: linear-gradient(to top,rgba(0,0,0,0.7) 50%,transparent 100%);
}

/*Attempting to fix Masthead column widths so the Leaderboard ad does not get cutoff*/

@media (min-width: 992px){
    .head-mast .col-lg-5{
        flex: 0 0 33.33333%;
        max-width: 33.33333%;
    }

    .head-mast .col-lg-7.head-main-ad{
        flex: 0 0 66.66667%;
        max-width: 66.66667%;
    }
}
/*Widening the front page sidebar and removing the margin so the 300px ads are not cutoff*/

.sidebar .dfp-ad-widget-class{
    width: 115%;
}

/*Disable 'comments' on the initial question in Open Items.*/
.dwqa-question-item .dwqa-comments{
    display: none;
}