/* Embeddable (1053) agpRefresh2016_correction.js */ $(function(){ var THIS_prefix = (function () { var styles = window.getComputedStyle(document.documentElement, ''), pre = (Array.prototype.slice.call(styles).join('').match(/-(moz|webkit|ms)-/) || (styles.OLink === '' && ['', 'o']))[1]; return '-' + pre + '-'; })(); $('body').append( "

Test

" ); COLOR1_NEW = $('.TESTPARTODELETERANDOMNAME').css('color'); COLOR2_NEW = $('.TESTPARTODELETERANDOMNAME').css('background-color'); $('.TESTPARTODELETERANDOMNAME').remove(); if (!COLOR2_NEW) { COLOR2_NEW = COLOR1_NEW; } searchLineCss =''; if ($('.agp-box.search').width() >200 ){ searchLineCss = '.search-line {display: ' + THIS_prefix + 'flex; ' + THIS_prefix + 'justify-content: space-between; display: flex; justify-content: space-between; }' } var css = '*{ font-family:Arial, Helvetica, sans-serif !important; font-size: 14px !important; }'+ searchLineCss + ' #address-box h1{ font-size: 24px !important; }'+ 'ul#main-navigation li a { color: #FFF !important; font-weight: normal !important; }'+ 'ul#main-navigation li a:hover { background: rgba(255,255,255,0.2); }'+ 'ul#main-navigation{ background: '+ COLOR2_NEW + '!important; padding: 2px 0 !important; }'+ '.agp-box.emergency-addresses .gradient {background: #eeeeee !important;}'+ '.agp-box.emergency-addresses .gradient h2{color: '+ COLOR1_NEW + '!important; font-weight: normal !important}'+ '.agp-box h1.agp-box-header { font-size: 17px !important; font-weight: normal !important; }'+ '.content-column h1.agp-box-header { background: #fff !important; padding-top: 10px; }'+ 'h2.agp-box-header { font-weight: bold !important; } h2.au-red{ font-size: 18px !important; } .agp-box { background: #fff !important; }'+ '.agp-box .agp-box-content div:last-child{ background: #fff !important; } .agp-box .agp-box-content .arrowback{ margin-left: 5px !important; }'+ '.agp-box .agp-box-content .linkto{ padding-left: 0 !important; }'+ '.footer{ background: #fff !important; } .agp-box.subscribed-journals .journal{ height: auto !important; }' + '.footer a { font-weight: normal; font-size: 12px !important;} ' + '.submit-btn input {font-size: 13px !important;}',//+ //'a.agp-article-image-link.fl img{ width: 197px !important; height: 106px !important; }', head = document.head || document.getElementsByTagName('head')[0], style = document.createElement('style'); style.type = 'text/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); } if(COLOR1_NEW){ head.appendChild(style); } });