@import url('https://fonts.googleapis.com/css?family=Cormorant+Garamond');
@import url('https://fonts.googleapis.com/css?family=Roboto:100, 400');

/*OVERWRITES*/
.public-affairs #container, .public-affairs #masthead-wrapper{
    max-width: 100%;
}

.article-top{
    border:none !important;
}

.beta-wrapper {
    width: 740px;
    text-align: right;
    padding-top: 20px;
    position: absolute;
    right: 65px;
    top: 0px;
}

/*Content styles*/

.coppied_embed_notif {
    display: none;
    position: absolute;
    top: -30px;
    left: -3px;
    padding: 4px 20px;
    background: #fff;
    box-shadow: 4px 4px 18px 7px rgba(0,0,0,0.1);
    font-size: 16px;
}

.article-body-text {
    margin: 35px 0;
    padding-right: 0;
    font-family: "Domine", serif;
    line-height: 1.9em;
}

/* Loading spinner */
.loading_pa {
    background: #fff url(/asset/img/ajax-black-sm.gif) center center no-repeat;
    width: 60px;
    height: 60px;
    text-align: center;
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    margin-left: -30px;
    top: 142px;
    box-shadow: 4px 4px 18px 7px rgba(0,0,0,0.1);
    z-index: 100;
}

.loading_pa_2 {
    background: #fff url(/asset/img/ajax-black-sm.gif) center center no-repeat;
    width: 60px;
    height: 60px;
    margin: 30px auto;
    text-align: center;
}

.public-affairs{
}

.public-affairs #container{
    padding-top: 0 !important;

}
.public-affairs h1{
    font-family: 'Cormorant Garamond', serif;
}

h1{
    font-size: 3.0em;
    margin-bottom: 15px;
}
.public-affairs .article-top{
    background-color:#f5f5f5;
    float: left;
    width: 100%;
}
.public-affairs .article-title-wrapper{
    border-bottom: 5px solid #485228;
    padding-bottom: 10px;

}
.public-affairs h2, .sub-heading{
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    font-size: 2.8em ;
}

.public-affairs .article-auth {
    color: #878787;
    padding: 16px 0;
    padding-bottom: 8px;
}

.public-affairs .article-auth a {
    font-weight: bold;
}


.hamburger {
    display: inline-block;
    cursor: pointer;
    position: absolute;
    right:20px;
    top:15px;
}

.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
}

/* Rotate first bar */
.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px) ;
    transform: rotate(-45deg) translate(-9px, 6px) ;
}

/* Fade out the second bar */
.change .bar2 {
    opacity: 0;
}

/* Rotate last bar */
.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px) ;
    transform: rotate(45deg) translate(-8px, -8px) ;
}

.beta-wrapper{
    display: none;
    margin-left: -785px;
}

/*Sub navigation*/
.sub-navigation{
    position: relative;
    width: 100%;
    border-bottom: 1px solid #dedede;
    height: 35px;
    color: #737373;
}
.sub-navigation .back-arrow{
    position: absolute;
    left: 15px;
    top:5px;

}

.sub-navigation .issue{
    padding-top: 8px;
    text-align: center;
    font-style: italic;

}

.sub-navigation .close{
    position: absolute;
    right: 15px;
    top:5px;
}
.sub-navigation .back-arrow img{
    float: left;
}
.sub-navigation .back-arrow .return{
    position: relative;
    top: 3px;
    left: 5px;
}
.sub-navigation .back-arrow img, .sub-navigation .close img{
    width: 25px;

}

/*End of sub navigation*/

/*Section headings*/
.section {
    clear: both;
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
    display: inline-block;
    /*position: relative;*/
}
.section.first{
    border-top:0;
}

.section .sub-heading{
    display:inline-block;
    /*padding:15px;*/
}

/*Social sharing*/

.section .share {
    /*position: relative;
    top: 25px;
    float: right;*/
}
.section .share .icon{
    width: 36px;
    height: 36px;
    display: inline-block;
}
.section  .embed {
    color: #757575;
    border: solid 2px #d2d2d2;
    display: inline-block;
    padding: 2px 5px;
    vertical-align: top;
    margin-top: 5px;
    border-radius: 2px;
    cursor: pointer;
}
.facebook{
    background: url("https://www.realcleardefense.com/asset/img/public-affairs/Facebook.png") no-repeat center center;
}
.twitter{
    background: url("https://www.realcleardefense.com/asset/img/public-affairs/Twitter.png") no-repeat center center;
}
.linkedin{
    background: url("https://www.realcleardefense.com/asset/img/public-affairs/Linkedin.png") no-repeat center center;
}
.share-icon{
    background: url("https://www.realcleardefense.com/asset/img/public-affairs/Share.png") no-repeat center center;
}
.mail-icon{
    background: url('https://www.realcleardefense.com/asset/img/public-affairs/Email.png') no-repeat center center;
}

/*End of section Headings*/

/*article body styles*/
.article-body-text {
    margin: 0 20px;
}
/*End of body article styles*/


/*Charticle/ section with image */
section charticle,
body.mce-content-body{
    display: block;
    margin:0 20px;
    background-color: #ececec;
    margin-top: 20px;
    border-top: 1px solid #9c9c9c;
    border-bottom: 1px solid #9c9c9c;
    border-left: 1px solid #9c9c9c;
    border-right: 1px solid #9c9c9c;
}

section charticle p,
body.mce-content-body p{
    padding-left: 20px;
}

section .charticle-chart,
body.mce-content-body .charticle-chart{
    border-top: 1px solid #c3c3c3;
    border-left: 1px solid #c3c3c3;
    border-right: 1px solid #c3c3c3;
}

section charticle .body-photo,
body.mce-content-body .body-photo{
    background-color:#e0e0e0;
}

section charticle .credits,
body.mce-content-body .credits{
    width:100%;
}

section charticle img.charticle,
body.mce-content-body img.charticle{
    width: 100%;
    margin: 0;
    display: block;
}

section charticle img,
body.mce-content-body img{
    height: 100%;
    max-width: 100%;
}

section charticle .credits, 
section .credit-wrapper .credits,
body.mce-content-body .credits,
body.mce-content-body .credit-wrapper .credits{
    padding: 10px 0;
    text-align: center;
    background-color: #f1f1f1;
    border-bottom: 1px solid #fff;
}

section .credit-wrapper .credits p,
body.mce-content-body .credits p{
    margin:5px 0;
}

section charticle .credits img, 
section charticle .credits p,
body.mce-content-body .credits img,
body.mce-content-body .credits p{
    display: inline-block;
    vertical-align: bottom;
    margin: 0;
}

section charticle .credit-wrapper .credits .credit-image,
body.mce-content-body .credit-wrapper .credits .credit-image {
    width: 25px;
    background: url('https://www.realclearpolicy.com/asset/img/public-affairs/camera_icon.png') no-repeat center;
    display: inline-block;
    height: 20px;
}

section charticle .findings,
body.mce-content-body .findings{
    font-style: italic;
    font-weight: normal;
    text-align: center;
    font-size: 1.9em;
    padding-bottom: 5px;
    margin-top: 20px;
    margin-bottom: 13px;
}

section charticle .findings-items,
body.mce-content-body .findings-items{
    font-weight: bold;
    font-style: italic;
    padding-bottom: 1px;
}

section charticle li,
body.mce-content-body li{
    font-size: .9em;
    margin-right: 10px;
    padding: 7px 0;
}

section charticle ul,
body.mce-content-body ul{
    padding-bottom: 20px;
}


ul.items {
    text-align: left;
}

ul.items li {
    padding-bottom: 15px;
    list-style: circle;
}


/*Sponsored Section*/
section.sponsored-by {
    text-align: center;
    color: #9c9c9c;
    
}
section.sponsored-by .sponsored-wrapper {
    display: block;
    margin: 10px 0;
}

/*Embed functionality*/
.embed-wrapper {
    position: absolute;
    top: -35px;
    left: 20px;
    box-shadow: 3px 3px 3px #cecece;
    border-radius: 5px;
}
.embed-wrapper textarea {
    resize: none;
    overflow: hidden;
    overflow-y: scroll;
    color: #868686;
    border-color: #485228;
    border-top: 2px solid #485228;
    border-left: 2px solid #485228;
    border-bottom: 2px solid #485228;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    font-size: 15px;

}
.copy-clipboard {
    /* display: inline-block; */
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: #e0e0e0;
    border: 2px solid #485228;
    background-color: #485228;
    border-radius: 5px;
    padding-left: 9px;
}

/*TOOLTIP CSS*/
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 140px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.copy-clipboard:hover .tooltip .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.public-affairs ul {
    list-style: disc;
}

.beta-wrapper .site-nav ul{
    list-style: none;
}




@media only screen and (min-width: 1180px){

    .article-top-wrapper {
        max-width: 1180px;
        width: 100%;
        margin: 0 auto;
        overflow: hidden;
        /*padding-bottom: 15px;*/
    }
    .public-affairs .section {
        width:100%;
    }

    .section-header-container{
        max-width: 1179px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
    }
    section {
        max-width: 1179px;
        margin: 0 auto;
        margin-bottom: 40px;
    }
    .charticle-chart {
        margin: 20px 0 0 0;
    }

}


@media screen and (max-width: 1179px ) {
    .public-affairs .article-title-wrapper {
        border-bottom: 5px solid #485228;
        padding-bottom: 10px;
        margin: 0 20px;
        margin-top: 13px;
    }
    .public-affairs .section {
        width:100%;
    }


    .public-affairs .section .share{
        margin-right:15px;
    }

    .article-top-wrapper {
        max-width: 1180px;
        width: 100%;
        margin: 0 auto;
        overflow: hidden;
    }
    .public-affairs .article-auth {
        margin: 0 20px;
    }

    .site-nav{
        margin-right: 30px;
    }
    .charticle-chart {
        margin: 20px 0 0 0;
    }


}


@media screen and (max-width: 768px) {
    .public-affairs .article-title-wrapper {
        border-bottom: 5px solid #485228;
        padding-bottom: 10px;
        margin: 0 20px;
        margin-top: 13px;
    }
    .section {

        /*margin-bottom: -15px;*/
    }

    .section .share {
        position: relative;
        top: 15px;
        float: right;
        margin-right: 15px;
    }
    .public-affairs h1 {
        font-size: 2.5em;
        margin-bottom: 10px;
        margin-top: 0px;
    }
    .public-affairs h2, .sub-heading {

        font-size: 1.8em;
        padding-left: 20px !important;
    }
    
    .beta-wrapper{
        /*display: block;
        right: 0;*/
    }
    
    .hamburger{
        /*top: 9px;
        display: none;*/
    }

    .article-body-text {
        margin: 0 20px;
    }
    .article-body-text p {
        margin: 25px 0;
        padding-right: 0;
        font-family: "Domine", serif;
        line-height: 1.9em;
    }
    .article-body-text p:first-of-type{
        margin:20px 0;
    }
    charticle {

        margin: 0 20px;

    }

    /*Overwrittes from master*/
    .site-nav-more img.jQ-section-menu {

        margin-right: -25px;
    }
}


/*Moblie CSS*/
@media screen and (max-width: 588px){

    .section .share {
        float: left;
        margin-left: 20px;
        position: relative;
        top: -7px;
    }
}


@media screen and (max-width: 414px){

    .public-affairs h1 {

        font-size: 1.8em;
        margin-bottom: 7px;
        margin-top: -3px;

    }
    .public-affairs .article-title-wrapper {
        border-bottom: 5px solid #485228;
        padding-bottom: 10px;
        margin: 0 20px;
        margin-top: 13px;
    }
    .section-header-container {
        display: inline-block;
    }
    .section .share {
        top: 0;
        float: left;
        margin-left: 20px;
        margin-top: -13px;
    }
    .public-affairs .article-top{

    }
    .public-affairs .article-auth {

        font-size: .8em;
        margin:0 20px;
    }
    .article-body-text {
        margin: 0 20px;
    }

    charticle {
        /*margin: 0 0;*/
        padding-bottom: 20px;
    }
    charticle .body-photo-inline {
        height: initial;
    }
    charticle img {
        object-fit: contain !important;

    }
    .credits p {

        font-size: .9em;
    }
    charticle .findings-items {
        font-size: .9em;
        margin-right: 10px;
    }

    charticle li{
        font-size: .9em;
        margin-right: 10px;
        padding: 4px 0;
    }

    .section .share .icon {
        width: 33px;
    }
}

/**
 * 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,
    .hamburger,
    .back-arrow,
    .close,
    .share{
        display: none;
    }

    .public-affairs h1{
        margin: 0px;
    }

    .footer-wrapper{
        display: none !important;
    }

}