.doubleclick-ad {
    text-align: center;
    margin: 0;
    padding: 0;
}
.doubleclick-ad img,
.doubleclick-ad object,
.doubleclick-ad embed,
.doubleclick-ad iframe,
.doubleclick-ad > [style*="width:"] {
    /*display: block!important;*/
    margin: 0 auto;
    max-width: 100%;
    /*height: auto;*/
}
.doubleclick-ad > div {
    display: table;
    margin: 0 auto;
}
/*.adtech img { max-width: none; }*/

.doubleclick-ad > div { z-index: 5; } /* makes adtech's lightbox actually appear above content */

.doubleclick-ad.doubleclick-ad-outofpage {
    /*position: absolute;*/
}

.doubleclick-ad.doubleclick-ad-overlay {
    position: absolute;
    /*z-index: 9;*/
    /*width: 100%;*/
    /*height: 100%;*/
}

/* sidebar, half bar & row 1.5 is always mpu */
.widget-doubleclick {
    background: none;
}

.widget-doubleclick .doubleclick-ad:empty {
    margin: 0;
}
.lt-ie9 .widget-doubleclick .doubleclick-ad {
    margin: 0 0 20px;
}

.widget-doubleclick[class*="column-"] {
    margin-left: 0;
    margin-right: 0;
}

.widget-doubleclick[class*="column-"] .doubleclick-ad {
    margin: 0 10px 0;
}

.widget-doubleclick .widget-title + .doubleclick-ad {
    padding: 5px 0;
}

.sidebar .widget-doubleclick,
.row-1-5 .widget-doubleclick {
    background: #fff;
}

.banner .doubleclick-ad {
    margin: 0;
}

.banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    /*background: #222;*/
    -webkit-transition: -webkit-transform .2s ease-in;
    -moz-transition: transform .2s ease-in;
    -ms-transition: transform .2s ease-in;
    transition: transform .2s ease-in;
    -webkit-transform: translate3d( 0, 0, 0 );
    transform: translate3d( 0, 0, 0 );
}
.banner .widget-title {
    border: 0;
}
.banner .widget {
    margin: 0;
    background: none;
}

.show-menu .banner {
    -webkit-transform: translate3d( -260px, 0, 0 );
    transform: translate3d( -260px, 0, 0 );
}

/* Columns size */
div[class*="columns-"] .doubleclick-ad {
    margin: 10px;
}

@media only screen and (min-width: 640px) {
    .banner {
        position: relative;
    }
    .show-menu .banner {
        -webkit-transform: translate3d( 0, 0, 0 );
        transform: translate3d( 0, 0, 0 );
    }
}

.takeover {
    position: relative;
}

.doubleclick-wallpaper {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    top: 0;
    text-align: center;
}

.doubleclick-wallpaper .doubleclick-ad {
    margin: 0 auto;
    padding: 0;
}

.doubleclick-wallpaper ~ * {
    position: relative;
    z-index: 2;
}

.entry-inline-ad {
    width: 300px;
}

.entry-inline-ad .doubleclick-ad {
    margin-bottom: 20px;
    margin-top: 20px;
}

figure + .addthis_responsive_sharing + .entry-inline-ad,
.gallery + .addthis_responsive_sharing + .entry-inline-ad,
.media + .addthis_responsive_sharing + .entry-inline-ad {
    margin-top: 0;
}

.entry-footer-ad {
    margin: 0 10px;
}
.entry-footer-ad .doubleclick-ad {
    padding: 20px 20px 20px;
    background: #fff;
}

@media only screen and (min-width: 640px) {
    .entry-footer-ad .doubleclick-ad {
        padding: 40px 20px 20px;
    }
}

.doubleclick-ad [id^="taginfo_"] {
    display: inline;
    max-width: none !important;
    width: auto !important;
    overflow: auto;
}
