/** Ticker Ad **/

#tickerAd {
    display: block;
}

.tickerMarker {
   display: none;
}

#tickerAdInner {
    position: relative;
}

* html #tickerAd { /*\*/position: absolute; top: expression((((document.documentElement ? document.documentElement.clientHeight : document.body.clientHeight)-30) + (ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop)) + 'px'); left: expression((0 + (ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft)) + 'px');/**/ }

div > #tickerAd, body > #tickerAd {
    position: fixed;
    bottom: 0;
    left: 0;
}

/** T-banner ad **/

#TBarLeft {
    width: 90px;
    height: 1000px;
    cursor: pointer;
}

span.adRef {
    position: absolute;
    bottom: 0;
    left: 10px;
    display: block;
    width: 70px;
    height: 10px;
    z-index: 0;
    background: transparent url(http://www.aftenposten.no/template/ver7/gfx/ad_top.png) no-repeat scroll center;
}

div.innstikk, div.innstikkOpen {
    position: relative;
    z-index: 0;
    width: 1030px;
    left: -6px;
}

div.innstikkOpen {
    z-index: 2000;
}

.closeTBarContent {
    position: absolute;
    top: 0;
    cursor: pointer;
    right: 1px;
    background: #000;
    display: inline;
    padding: 0 5px 3px 5px;
    color: #fff;
    z-index: 2002;
    font: bold 26px verdana, sans-serif;
}

#LoadingTBarMain {
    width: 970px;
    height: 300px;
    position: absolute;
    background: url(http://www.aftenposten.no/template/ver7/gfx/ad_gfx/loading_bar_t_innstikk.gif) no-repeat center;
    z-index: 1999;
}

 #TBarMainContainer {
    position: relative;
    z-index: 2000;
}

#TBarContent {
    position: absolute;
}

.padTop8 {
    padding-top: 8px !important;
}

/** Interstitial (layer below top menu) **/

#interstitial {
    position: absolute;
    left: 0;
    width: 100%;
}

#interstitialInner {
    text-align: center;
}

.closeInterstitial {
    position: absolute;
    right: 8px;
    top: 8px;
    font: bold 13px verdana, sans-serif;
    color: #666;
    cursor: pointer;
    text-decoration: underline;
}

/** Pagecurl **/

.pagecurl_container {
    position: relative;
    z-index: 900;
}

.pagecurl_container div {
    position: absolute;
    top: -9999px;
    z-index: 900;
}

.pagecurl_container div.pagecurl_visible {
    top: 0 !important;
    z-index: 950 !important;
}

#pagecurl_big_container {
    left: 0;
}

#pagecurl_small_container {
    right: 0;
}

/** Horseshoe wrapper **/

#viewportAds .adTopLeft.w1030 {
    margin: 0 0 6px -11px;
    width: 1030px;
}

#viewportAds .adTopLeft.w1006 {
    width: 1006px;
}

#viewportAds .adOuterLeft.w1006 {
    left: -174px;
    z-index: 10;
}

#viewportAds .adOuterRight.w1006 {
    left: 1011px;
    z-index: 10;
}

#Toppknapp_container img {
    float: left;
}

/** Reverse L, expandable **/

div#Toppbanner_container, div#Toppknapp_container  {
    position: absolute;
    top: 0;
}

div#Toppknapp_container iframe {
    margin: -3px 0 0 0;
}

#rightTopL {
    width: 180px;
    height: 1000px;
}

#leftTopL {
    width: 768px;
    height: 150px;
    position: relative;
    z-index: 9995;
    margin: -3px 0 0 0;
}

#LBarX {
    font: bold 24px times, serif;
    color: #fff;
    background: #000;
    padding: 0 5px 2px 5px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 9999;
    cursor: pointer;
}

#bigLBanner {
    width: 948px;
    height: 1000px;
    z-index: 9997;
    left: 0;
    display: block;
}

.LAd #pageStart, .LAd .apHeaderStandard, .LAd #pageBody, .LAd #colophone, .LAd #pageEnd  {
   margin: 0;
}

/** Sticky skyscraper **/

#stickySkyscraper {
    position: absolute;
}

#stickySkyscraperInner {
    position: relative;
    padding: 5px 0 0 0;
}

#stickySkyscraperInner .tickerMarker {
    position: static;
    top: auto;
}

/** Standard expandable **/

.expandableBanner {
    position: relative;
}
.expandableBanner.open {
    z-index: 12000;
}
.expandableBanner.open div {
    z-index: 12001;
}
.expandableBanner div#exp_large_flash_container {
    z-index: 12002;
}
.expandableBanner #exp_small_flash_img {
    cursor: pointer;
}
.expandableBanner.open .expandableCloseX {
    font: bold 24px times, serif;
    color: #fff;
    background: #000;
    padding: 0 5px 2px 5px;
    position: absolute;
    z-index: 12003;
    cursor: pointer;
    display: block;
}
.expandableBanner.open .expandableCloseX.down-left {
    bottom: 0;
    left: 0;
}
.expandableBanner.open .expandableCloseX.up-right {
    top: 0;
    right: 0;
}
.expandableBanner.open .expandableCloseX.up-left {
    top: 0;
    left: 0;
}
.expandableBanner.open .expandableCloseX.down-right {
    right: 0;
    bottom: 0;
}
