 document.addEventListener("DOMContentLoaded", function() { function annexxAddStyle(numberMod, codestyle) { let styleBlock = document.querySelector('head > #annexxStyle' + numberMod); if (!styleBlock) { document.querySelector('head').insertAdjacentHTML('beforeend',''); styleBlock = document.querySelector('head > #annexxStyle' + numberMod); } let t = (function() { return !Array.from(styleBlock.childNodes).some(function(e) { if (e.textContent === codestyle) { return true; } }); }()); if (t) styleBlock.insertAdjacentHTML('beforeend',codestyle); } if ('') { ''.split(/,\s|,/g).forEach(e => { annexxAddStyle('803', ` @media screen and (max-width: 480px) { ${e} div:not(.t-store__mobile-two-columns):not(.mobile-two-columns) > .t-col, ${e} .js-feed-container > .t-col { padding-left: 0 !important; padding-right: 0 !important; max-width: 300${/\%/.test('300') ? '' : 'px'} !important; margin-left: auto !important; margin-right: auto !important; } ${e} .t-container, ${e} .t776__container_mobile-grid { max-width: 300${/\%/.test('300') ? '' : 'px'} !important; } ${e} .t395__col, ${e} .t397__col { padding-left: 0 !important; padding-right: 0 !important; } ${e} .t395__select { border-width: 0px; } } `); }); } else { ('' ? document.querySelectorAll('.r:not()') : document.querySelectorAll('.r')).forEach(e => { let id = '#' + e.getAttribute('id'), type = +e.dataset.recordType; if (type !== 131 && type !== 396 && !e.querySelector('.t915__container_mobile-flex')) { annexxAddStyle('803', ` @media screen and (max-width: 480px) { ${id} div:not(.t-store__mobile-two-columns):not(.mobile-two-columns) > .t-col, ${e} .js-feed-container > .t-col { padding-left: 0 !important; padding-right: 0 !important; max-width: 300${/\%/.test('300') ? '' : 'px'} !important; margin-left: auto !important; margin-right: auto !important; } ${id} .t-container, ${id} .t776__container_mobile-grid { max-width: 300${/\%/.test('300') ? '' : 'px'} !important; } ${id} .t395__col, ${id} .t397__col { padding-left: 0 !important; padding-right: 0 !important; } ${id} .t395__select { border-width: 0px; } } `); } }); } });