/*
 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;
}

/*Comment Meta*/
.entry-meta-info {
    bottom: 0px;
    right:-6px;
}

/*Increasing font size of comments*/
.comment-content p{
    font-size: 16px;
    line-height: 22px;
}

/*Reducing margin for the Leave a Reply heading in the comments box*/
.comment-reply-title {
    margin-bottom: 0px;
}

.section-category-name {
    padding: 6px 12px;
    bottom: 0px;
    left: 0px;
}

.news-ticker-title{
    padding: 2px 14px 4px 10px;
}

/*Reducing bottom margin on Posts*/
.entry {
    margin: 0 0 50px;
}

/*Reducing the padding of the sections after the post. Related articles, next articles and author box*/
.entry-section {
    padding: 50px 0;
}

.entry-section-related .entry-excerpt{
    display: none;
}

/*Author Section - Reducing Size of Thumbnail*/
.entry-author-thumbnail{
    width: 60px;
}

/**************************************************************/
/**************************************************************/
/*************************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;
}

.nav.is-stuck {
    min-height: 1px;
}

/*Blockquote Styles*/
.entry-content blockquote {
    font-size: 22px;
    line-height: 1.75;
    padding: 30px 30px 10px 30px;
    font-family: Lato;
    color: #494949!important;
    background: #f2f2f2;
}

/* DoubleClick Ads */

.dfw-unit.display-block:before {
    content: none !important;
    display: none !important;
}
.dfw-unit iframe {
    margin: 0;
}
.widget_doubleclick_widget .dfw-unit.display-none {
    display: block !important;
    height: 0px;
    margin-bottom: -45px;
}
@media screen and (min-width: 992px) {
    #doubleclick_widget-11 {
        display: none;
    }
}

/* Header Leaderboard Mobile Fix */

@media screen and (max-width: 991px) {
    .head-main-ad,
    .dfw-unit[data-adunit="GC_v2_Leaderboard"] {
        text-align: center;
    }
}
@media screen and (max-width: 767px) {
    .head-main-ad,
    .dfw-unit[data-adunit="GC_v2_Leaderboard"] {
        text-align: left;
    }
}
@media screen and (max-width: 350px) {
    .dfw-unit[data-adunit="GC_v2_Leaderboard"],
    .dfw-unit[data-adunit="GC_filmstrip"] {
        width: auto;
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 0;
        padding-right: 0;

        text-align: center;
    }
}

/* Sidebar Ad Fix */

@media screen and (max-width: 1399px) and (min-width: 992px) {
    .sidebar-column {
        width: 342.5px;
        max-width: 342.5px;
        margin-left: 0;

        -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
    .content-column {
        -webkit-flex: 1 0 0px;
        -ms-flex: 1 0 0px;
        flex: 1 0 0px;
    }
}
