/* job#1020 spis-online.dk: mobil + nye tekstsider. Desktop (>640px) uden ændringer, undtagen .spis-new. */
img,table,video,iframe{max-width:100%}
body:has(.spis-new) #ctl00_contentTitle,
body:has(.spis-new) #ctl00_pagecontent .boxStyle6{display:none}
.spis-new{margin:0;padding:10px 14px 16px;font:16px/1.65 Arial,Helvetica,sans-serif;color:#222;overflow-wrap:anywhere}
.spis-new h1{font-size:28px;line-height:1.25;color:#af2a2b;margin:6px 0 14px}
.spis-new h2{font-size:21px;line-height:1.3;margin:24px 0 8px;color:#222}
.spis-new h3{font-size:17px;line-height:1.35;margin:16px 0 6px;color:#333}
.spis-new p{margin:0 0 12px}
.spis-new ul,.spis-new ol{margin:0 0 12px 22px;padding-left:6px}
.spis-new ul{list-style:disc outside}
.spis-new ol{list-style:decimal outside}
.spis-new li{margin-bottom:5px}
.spis-new a{color:#af2a2b;text-decoration:underline}
@media (max-width:640px){
 html,body{max-width:100%;overflow-x:hidden}
 #main,#mainFooter{width:auto;max-width:100%;margin:0 auto;box-sizing:border-box}
 #mainTop,#mainBottom{background-size:cover}
 #mainBody{padding:0 8px 10px;background-image:none;box-sizing:border-box}
 #mainHeader{background-image:none!important}
 #mainBody #header{min-height:0}
 #spis_logo{float:none;text-align:center;margin:4px 0}
 #spis_logo img{max-width:55%;height:auto}
 .headertext{float:none;width:auto;margin:4px 0;font-size:17px;line-height:1.25}
 .headertext .firstline{font-size:26px;line-height:30px}
 .headertext .thirdline{font-size:15px}
 .headertext .secondline .red{padding-left:4px}
 .topfiller{display:none}
 #mainBody #mainBody_content #leftmenu{float:none;width:auto}
 #mainBody #mainBody_content #leftmenu #leftmenu_items{width:auto}
 .contentbox{float:none;width:auto;max-width:100%;box-sizing:border-box;overflow-x:auto}
 .QuickSearchOrderSubTitle{width:auto!important;max-width:100%;height:auto!important;aspect-ratio:752/111;background-size:100% auto}
 .spiscontentTitle,.spiscontentTitle2{background-size:cover}
 table{table-layout:auto}
 .copyright{padding:16px 8px}
 .spis-new{padding:8px 10px 14px;font-size:16px}
 .spis-new h1{font-size:24px}
 .spis-new h2{font-size:19px}
}
/* #1163: menu og tabel Udvalgte spisesteder */
@media (max-width:640px){
 #mainBody #mainBody_content #leftmenu #leftmenu_items li.selected{background-size:100% 100%}
 #latestshopsContent,#latestshopsContent .boxStyle6,#latestshopsContent .addmargin,#latestshopsContent .spiscontentTitle2,#ctl00_LatestShops1_latestshops,#latestshopsContent .floatWrapper{float:none;width:auto!important;max-width:100%;box-sizing:border-box}
 #latestshopsContent .floatWrapper>.left{float:none;width:auto!important}
 .gridwidth{display:flex;flex-wrap:wrap;float:none;width:auto!important;height:auto!important;box-sizing:border-box;overflow:visible}
 .gridwidth>div{float:none;width:auto!important;height:auto!important;flex:1 1 40%;min-width:0;padding-right:6px;box-sizing:border-box;overflow-wrap:anywhere}
 .gridwidth>div:first-child{flex:0 0 100px}
 .headerspis.gridwidth>div:first-child{display:none}
 .itemstyle.gridwidth{margin-bottom:6px}
}
