@import url('https://fonts.googleapis.com/css?family=Cormorant+Garamond:300i,400,600');
@import url('https://fonts.googleapis.com/css?family=Roboto:100, 400');

/*Master overwrites*/
#masthead-wrapper {
    left: 0;
    max-width: 100%;
}

.public-affairs-landing h1, .summary-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}
section{

}

ul.items li {
    padding-bottom: 15px;
    list-style: none;
}

.section-heading{
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 300;;
}

.public-affairs-landing h1 {
    margin: 0;
    padding: 0;
    font-size: 3.0em;
}

.public-affairs-landing #container{
    width: 100%;
}
.issue-container{
    background: url("https://www.realclearpolitics.com/asset/img/public-affairs/background_image.png") no-repeat center ;
    height: 247px;
    width: 100%;
    object-fit: contain;
    position: relative;
    background-color: #000;
}
.issue {
    top: 42%;
    position: absolute;
    color: #fff;
    transform: translate(-50%);
    left: 50%;
    width: 100%;
    text-align: center;
}

.two-col-wrapper{
    display: flex;
}

.col {
    flex: calc(50% - 20px);
    margin-right: 10px;
}

.summary-wrapper{
    width:100%;
}

.summary-wrapper .summary-heading {
     text-align: center;
     font-size: 2.0em;
     margin-top: 15px;
 }

.summary {
    font-family: "Domine", serif;
}

.summary ul li {
    margin-bottom: 10px;
}

/*Load more buttons styles*/
.load-more {
    width: 100%;
    text-align: center;
    color: #828282;
    margin: 15px 0;
    display: inline-block;

}
.load-more:before {
      content: '';
      width: 150px;
      border-bottom: 2px solid #c7c7c7;
      display: inline-block;
      margin-top: 25px;
      position: relative;
      left: 0;
      top: -4px;
    margin-right:10px;
  }
.load-more:after {
    content: '';
    width: 150px;
    border-bottom: 2px solid #c7c7c7;
    display: inline-block;
    margin-top: 25px;
    position: relative;
    left: 0;
    top: -4px;
    margin-left:10px;
}

.load-more:hover{
    color:#485228;
}

/*Content styles*/
.content p {
    margin: 15px 0;
    padding-right: 0;
    font-family: "Domine", serif;
    line-height: 1.6em;
}


/*Section headnigs styles*/
.section-heading{
    margin-right: 20px;
    font-size: 2.4em;
    color: #7d7d7d;
    margin-top: 20px;
    padding-bottom: 10px;
    text-align: center;

}
.section-heading:after {
    content: '';
    width: 100%;
    border-bottom: 2px solid #d8d8d8;
    display: block;
    margin-top: -6px;
}

/*Videos and charticles section*/
.videos-charticales-items {
    margin-left: 60px;
    margin-top: 10px;
}

.videos-charticales-items .card {
    float: left;
    width: 333px;
    position: relative;
    margin-right: 20px;
    box-shadow: 3px 3px 3px #dedede;
    border: solid 1px #d2d2d2;;
    margin-bottom: 20px;
    height: 395px;
}

.videos-charticales-items .asset{
    overflow: hidden;
    height: 200px;
    position: relative;
}
.videos-charticales-items .asset img {
    position: relative;
    top: 0;
    width: 100%;
}
.videos-charticales-items .asset .video-icon {
    background: url("//www.realclearpolitics.com/asset/img/public-affairs/play_icon.png") no-repeat center;
    position: absolute;
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    cursor: pointer;
}
.videos-charticales-items .asset-title{
    margin-left: 20px;
    margin-right: 20px;
    font-size: 1.2em;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    color:#696969;
    height: 145px;
    overflow: hidden;
    display: block;
    position: relative;
}
.videos-charticales-items .asset-title a{
    color:#696969;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.videos-charticales-items .publication {
    font-size: 0.9em;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #848484;
    font-weight: 600;
    position: absolute;
    left: 0;
    bottom: 0px;
}

/*links*/
.item-title, .title {
    font-weight: bold;
}

/*In the News Section*/
.item-author, .item-publication, .item-title {
    display: inline-block;
}

.item-author.block, .item-publication.block, .item-title.block {
    display: block;
}

.item-author, .item-publication {
    color: #000;
    font-size: .8em;
    font-family: 'ROBOTO', SansSerif;
}

/*Esssential Reading*/
.items{
    margin: 0;
    padding: 0;
}
.items .item{
    padding:2.75px 0;
}
.excerpt {
    color: #000;
    font-size: 0.8em;
}
.essential-reading .link{
    display:inline-block;
    font-style: italic;
    font-size: 0.9em;
    text-decoration: underline;
    margin-right: 5px;
}

.essential-reading .item-author{
    color: #666;
}

/*Archives Section*/

section.archives{
    position: relative;
}
section.archives .section-heading{
    margin-right: 0;
}
.archives .search-wrapper {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 30px;
}
.archives .search-wrapper .search-input{
    display: inline-block;
    height: 23px;
    margin-bottom: 20px;
}
.archives .search-wrapper .search-input input[type="text"] {
    padding: 8px 11px;
    box-shadow: none;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    border-top-left-radius: 5px;
    -webkit-border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    height: 17px;
    width: 200px;
    font-size: 16px;
    float: left;
    
}
.archives .search-wrapper .search-input input[type="text"]::placeholder{
    color: #a9a9a9;
    font-style: italic;
}
.archives .search-wrapper .magnifier{
    background: url("https://www.realclearpolitics.com/asset/img/public-affairs/iconmonstr-magnifier.png") no-repeat center;
    width: 50px;
    height: 33px;
    border-top:1px solid #dedede;
    border-right: 1px solid #dedede;
    border-bottom:  1px solid #dedede;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    float: left;
    -webkit-background-size: 21px;
    background-size: 21px;
    cursor: pointer;
}
.archives .search-wrapper .filter {
    display: inline-block;
    margin-left: 20px;
    vertical-align: top;
    margin-top: 8px;
}
.archives .search-wrapper .filter label {
    display: inline-block;
}
.archives .search-wrapper .filter label:first-of-type{
    padding-right: 10px;
}
.archives .archives-listings-wrapper {
    position: relative;
    margin-top: 81px;
    display: block;
    width: 100%;
    clear: both;
}
.archives .pagination {
    font-size: 1em;
    text-decoration: none;
    color: #a0a0a0;
    position: absolute;
    right: 20px;
    font-weight: bold;
    top: 115px;
}

.archives .title .type {
    font-weight:400;
}
.archives .archives-listings-wrapper .archive-item {
    margin-bottom: 10px;
    word-wrap: break-word;
    border-bottom: 1px solid #dedede;
    margin-bottom: 8.75px;
    padding-bottom: 3.75px;
}

.archives .archives-listings-wrapper .archive-item .link a{
    color: #4e0000;
}

.archives .archives-listings-wrapper .archive-item .excerpt {

}

.archives .archives-listings-wrapper .archive-item .excerpt p {
    margin:0;
    line-height: 1.5em;
}



/*Sponsored Section*/
section.sponsored-by {
    text-align: center;
    color: #9c9c9c;

    margin-bottom: 20px;
    display: block !important;
}
section.sponsored-by .sponsored-wrapper {
    display: block;
    margin: 10px 0;
}
section.sponsored-by .sponsored-wrapper img {
    width: 300px !important;
}


/*Responsive Classes*/





/*Small devices*/

@media only screen and (max-width: 600px) {
    .load-more:before, .load-more:after{
        width:100px;
    }
}

@media only screen and (max-width: 419px) {
    .load-more:before, .load-more:after{
        width:50px;
    }
}

@media only screen and (min-width: 320px) and (max-width: 600px) {
    /*overweites*/
    body {
        font-size: 13px !important;
    }
    .issue-container{
        height: 135px;
    }

    .issue-container .issue{
        top: 27%;
    }

    .content{
        margin: 0 20px;
    }

    .content p {

        font-size: 0.95em;
        /*line-height: 1.6em;*/
    }
    .content a{
        font-size: 1.1em;
    }
    .summary-wrapper{

    }
    .two-col-wrapper{
        display: block;
    }
    .archives-listings-wrapper{
        margin-left:20px;
        margin-right:20px;
        display:block;
        overflow: hidden;
    }

    .excerpt {
        color: #000;
        font-size: .9em;
    }

    /*.items .item, ul li {
        list-style-type: none;
    }*/

    .in-the-news .section-heading{
        margin-right: 0;
    }
    .videos-and-charticles .section-heading{
        margin-right: 0;
    }
    .videos-and-charticles .videos-charticales-items{
        margin-left: 0;
        margin-right: 0;
    }

    .items .item .item-author, .items .item .item-publication{
        font-size: .9em;
    }
    .archives .section-heading{
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .archives .search-wrapper .filter {

        margin-top: 21px;
    }
    .archives .pagination {
        position: absolute;
        right: 5px;
        top: 155px;
        font-size: 1em;
    }
    .archives .archives-listings-wrapper {
        position: relative;
        margin: 0;
        margin-top: 37px;
        display: block;
    }
    .archives .archives-listings-wrapper .archive-item .link{
        overflow: hidden;
    }
    .videos-charticales-items .card{
        width:100%;
    }

}


@media only screen and (min-width: 601px){
    .content {
        margin: 0 20px;
    }
    .two-col-wrapper{
        display: block;
    }
    .issue-container{
        height: 165px;
    }
    .issue-container .issue{
        top:32%;
    }
    .videos-charticales-items .card{
        width:333px;
    }
    .videos-charticales-items {
        margin-left: 0;
    }
    .videos-charticales-items .card{
        width: calc(50% - 22px);

    }
    .card:last-of-type {
         display: none;
     }

}

@media only screen and (min-width: 768px){
    .videos-charticales-items {
        margin-left: 0;
    }
    .two-col-wrapper{
        display: flex;
    }
    .issue-container{
        height: 185px;
    }

    .load-more:after, .load-more:before{
        width:100px;

    }
    .videos-charticales-items .card{
        width: calc(50% - 22px);

    }
    .card:last-of-type {
        display: none;
    }
}

@media only screen and (min-width: 992px){
    .archives .archives-listings-wrapper .archive-item {
        margin-bottom: 10px;
        word-wrap: break-word;
        width: 75%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .card:last-of-type {
        display: none;
    }

}

@media only screen and (min-width: 1179px){

    .content {
        max-width: 1180px;
        width: 100%;
        margin: 0 auto;
        overflow: hidden;
        padding-bottom: 15px;
    }
    .issue-container{
        height: 225px;
    }

    .two-col-wrapper{
        display: flex;
    }

    .videos-charticales-items {
        margin-left: 60px;
    }

    .videos-charticales-items .card{
        width: 333px;

    }
    .card:last-of-type {
        display: initial;
    }
}

/** Bottom Search UI Components On Mobile */
@media screen and (max-width: 767px){
    .archives .inside{
        display: flex;
        flex-flow: column;
        text-align: left;
        margin-top: 10px;
    }

    .archives .inside select{
        height: 30px;
        border-radius: 5px;
    }

    .archives .search-wrapper .search-input{
        width: 100%;
    }

    .archives .search-wrapper .search-input input[type="text"]{
        width: calc(92% - 50px);
    }

    .archives .search-wrapper .filter{
        margin-left: 0px;
        display: flex;
        flex-wrap: wrap;
        margin-top: 10px;
    }

    .archives .search-wrapper .filter label{
        margin-right: 10px;
    }

    .archives .search-wrapper .filter label input[type="checkbox"] {
        vertical-align: sub;
        margin-right: 0px;
        margin-left: 0px;
    }
}

@media screen and (max-width: 424px){

    .archives .search-wrapper .search-input input[type="text"]{
        width: calc(91% - 50px);
    }
}

@media screen and (max-width: 374px){
    
    .archives .search-wrapper .search-input input[type="text"]{
        width: calc(89% - 50px);
    }
}


.site-rehaul-notice {
    position: relative;
    height: 100%;
    width: 100%;
    visibility: hidden;
}

.site-rehaul-notice .site-rehaul-notice-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 500;
    width: 100%;
    height: 100%;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0 auto;
    visibility: hidden;
}

.site-rehaul-notice .site-rehaul-notice-container {
    width: 100%;
    max-width: 800px;
    background-color: white;
    border: 1px #ccc solid;
    -webkit-box-shadow: 0px 0px 30px 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 30px 10px rgba(0, 0, 0, 0.1);
    visibility: hidden;
    opacity: 0;
    transition: visibility .5s ease,
                opacity .5s ease;
}

.site-rehaul-notice .site-rehaul-notice-container.active {
    visibility: visible;
    opacity: 1;
}

.site-rehaul-notice .site-rehaul-notice-header {
    padding: 10px;
    background-color: #f1f1f1;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
}

.site-rehaul-notice .site-rehaul-notice-body {
    padding: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-pack: unset;
    -ms-flex-pack: unset;
    justify-content: unset;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    max-height: 92vh;
    background-color: white;
    line-height: 1.6em;
}

.site-rehaul-notice .site-rehaul-notice-heading {
    margin: 5px;
    font-weight: 500;
}

.site-rehaul-notice .site-rehaul-notice-close {
    margin: 5px;
    font-size: 1.4em;
}

.site-rehaul-notice .site-rehaul-notice-close:hover {
    color: tomato;
    cursor: pointer;
}

body.proxy_advisors .footer-links ul li a.policy {
    border-bottom: 5px solid #000;
}

@media only screen and (max-width: 767px){

    body.proxy_advisors .site-logo img.ss {
        height: 50px;
    }

    body.proxy_advisors .verticals-menu img {
        margin-left: 50px;
        margin-top: -2px;
    }

    .items .item{
        padding: 2.75px 0 10px 0px;
    }
}

@media only screen and (max-width: 374px){

    body.proxy_advisors .site-logo img.ss {
        height: 43px;
    }

    body.proxy_advisors .verticals-menu img {
        margin-left: 10px;
        margin-top: -4px;
    }
}

/**
 * Printing styles 
 */
@media print {

    body {
        margin: 0px 0 0 0;
    }

    #masthead-wrapper {
        position: inherit;
        box-shadow: none !important;
        top: 0px !important;
    }

    .site-logo{
        display: flex;
        justify-content: center;
        margin: 0px;
    }

    .verticals-menu{
        display: none;
    }

    .hamburger{
        display: none;
    }
    
    .issue-container{
        background: none;
        height: 60px;
    }

    .issue-container .issue{
        color: #111;
    }

    .load-more{
        display: none;
    }

    .videos-charticales-items{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .videos-charticales-items .card{
        float: none;
        width: initial;
        flex-grow: 1;
        max-width: 300px;
    }

    .videos-charticales-items .asset .video-icon{
        background: none;
    }

    .videos-charticales-items .publication{
        margin-right: 10px;
    }

    .archives{
        display: none !important;
    }

    .sponsored-wrapper a{
        display: none;
    }

    .footer-wrapper{
        display: none !important;
    }
}


/**
 * Filter CSS
 */
.two-col-wrapper.filter-input{
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-top: 50px;
}

.two-col-wrapper.filter-input .filter-input-wrapper{
    flex-grow: 1;
    margin: 0px 15%;
}

.two-col-wrapper.filter-input .typeahead-dropdown .tags-input-typeahead-item-default {
    color: #333;
    background-color: #eee;
}

.two-col-wrapper.filter-input .typeahead-dropdown .tags-input-typeahead-item-highlighted-default{
    color: #fff;
    background-color: #777;
}

.two-col-wrapper.filter-input .tags-input-wrapper-default{
    border-color: #bbb;
}

.two-col-wrapper.filter-input .tags-input-wrapper-default > span{
    display: inline-block;
    padding: .5em .5em;
    font-size: 85%;
}

.two-col-wrapper.filter-input .tags-input-wrapper-default .tags-input-remove:after, 
.two-col-wrapper.filter-input .tags-input-wrapper-default .tags-input-remove:before{
    background: #ff6347;
}

.two-col-wrapper.filter-input .filter-input-wrapper.checkbox-input {
    border: 1px #ccc solid;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.two-col-wrapper.filter-input .select-tag-label{
    cursor: pointer;
    text-transform: capitalize;
}

.two-col-wrapper.filter-input .select-tag-label input[type="checkbox"] {
    vertical-align: middle;
}

.two-col-wrapper.filter-input .filter-input-label-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.two-col-wrapper.filter-input .filter-input-label {
    color: #828282;
    font-size: 1.2em;
}

@media only screen and (max-width: 1200px){

    .two-col-wrapper.filter-input .filter-input-wrapper{
        margin: 0px 6%;
    }

}

@media only screen and (max-width: 1023px){

    .two-col-wrapper.filter-input .filter-input-wrapper{
        margin: 0px 0%;
    }

}