#main, .home, .local, .motors, .bargain, .tools, .rss, #toys{width:97%;max-width:1140px;margin:0 auto;}
.row{width:100%;max-width:1140px;min-width:755px;margin:0 auto;overflow:hidden;}
.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol{margin-right:3.8%;float:left;min-height:1px;}
.row .onecol{width:4.85%;}
.row .twocol{width:13.45%;}
.row .threecol{width:22.05%;}
.row .fourcol{width:30.75%;}
.row .fivecol{width:39.45%;}
.row .sixcol{width:48%;}
.row .sevencol{width:56.75%;}
.row .eightcol{width:65.4%;}
.row .ninecol{width:74.05%;}
.row .tencol{width:82.7%;}
.row .elevencol{width:91.35%;}
.row .twelvecol{width:100%;float:left;}
.last{margin-right:0px;}
@media handheld, only screen and (max-width:1150px){#logo{width:100% !important;float:none;}
.tabWrapper{float:none;width:100%;clear:both;}
.social{margin-left:-118px;margin-top:-40px;position:relative;}
}
@media handheld, only screen and (max-width:1150px){.item{width:100%;}
.item .itemtitle{width:79% !important;padding:0;padding-left:2px;overflow:hidden;}
.tabs{width:99%;margin-left:0;}
.iconbids{width:auto;}
.icontime{width:auto !important;}
.iconpost{width:auto !important;}
.iconloc{width:auto;}
.item .price{font-size:1em;padding-left:5px;text-align:left;}
.stdti{height:auto;}
.lgti{height:auto;}
body{min-width:0;}
.thumb img{max-width:100%;height:auto;}
.thumb{width:19%;padding-left:0px !important;min-height:0px;}
.header h1{font-size:1em;}
.header p{font-size:1em;}
.pagination a, .pagination span{display:inline-block;}
#srch{clear:both;}
.item .price{float:left;width:auto;}
.item .thumb{min-height:85px;}
.bids{position:relative;}
.item p{display:inline;}
.welcome{padding-left:0px;margin-left:0px;padding-bottom:10px;}
}
@media handheld, only screen and (max-width:1100px){.tabs a{margin:0 5px 0 0;border-radius:0 0 8px 8px;}
}
@media handheld, only screen and (max-width:1000px){.tabs a{margin:0 2px 0 0;border-radius:0 0 5px 5px;padding:15px 10px;}
.featImage{width:auto;}
.featModels{width:auto;}
.fb span{display:block;}
.fb .content img{width:64px; height:64px}
}
@media handheld, only screen and (max-width:875px){#images img{float:left;padding:10px;width:auto;}
#images{float:none;width:auto;}
#term{width:auto !important;}

}
@media handheld, only screen and (max-width:820px){.tools #MainContent {padding-top:50px;}
#header{height:160px;}
.welcome{display:none !important;}
.logo{float:none;}
.whole{clear:both;}
.stdti{height:auto;}
.lgti{height:auto;}
#toys{font-size:12px;}
#toys .threecol{float:none;width:100%;}
#toys .row{min-width:100%;}
#toys .ninecol{width:100%;}
#EmailForm input, #EmailForm textarea, #EmailForm select{width:95% !important;margin-left:0 !important;padding:0;}
#EmailForm span{width:100% !important;margin-left:0 !important;}
#EmailForm img{margin-left:0 !important;}
}
@media handheld, only screen and (max-width:605px){#opts{display:none;}
#flags{display:none;}
#tb_postcode{width:auto !important;}
.dealtitle{min-width:0 !important;}
#flagSpacer{display:none}
}
@media handheld, only screen and (max-width:410px){
#ekit table, #ekit thead, #ekit tbody, #ekit th, #ekit td, #ekit tr{display:block;}
#ekit table{width:100% !important;height:auto;}
#ekit tr{width:100% !important;}
#ekit td{width:auto !important;}
.dealtitle h2{font-size:1em;}
.deal_thumbnail{float:none;}
.dealitem img{width:100px;height:100px;}
.heading{font-size:18px;padding-bottom:30px;}
#about iframe{width:100%;padding:0 !important;}
.add iframe{width:100%;}
.add textarea{width:95% !important;}
.local #main{overflow:hidden;}
.dialog .content{font-size:12px;}
.dialog p{margin:0 !important;}
.dialog p a{margin:0 !important;}
.tools .thumb img, .tools .thumb{width:40px !important;height:40px !important;}
.tools .content, .tools .content img{text-align:center !important;float:none !important;}
.tools p{line-height:normal;padding:0;}
.tools h2{font-size:16px !important;padding-bottom:10px;}
.fb .itemtitle{font-size:12px;width:auto !important;}
.fb .item{font-size:12px !important;}
.fb .itemtitle{float:none;}
.fb h2{font-size:12px !important;text-align:left !important;}
.fb .content img{width:50px;height:50px;}
}

/* ---- Phones: one column, readable text, and links and buttons big enough to tap ---- */
@media only screen and (max-width:600px){
html{-webkit-text-size-adjust:100%;}
body{background:#fff;color:#222;}
.home, .local, .motors, .bargain, .tools, .rss, .daily{width:100%;}
#main{width:auto;padding:0 12px;}
.row{min-width:0;}

/* Header: smaller logo, then the three sections as a row of buttons */
#header{height:auto !important;padding-top:6px;}
#logo{height:auto;}
#logo img{width:170px;height:auto;}
.social{display:none;}
.tabWrapper{float:none;width:100%;margin:6px 0 0;}
.tabs{display:flex;gap:6px;float:none;width:auto;height:auto;margin:0;padding:0;font-size:15px;}
.tabs a, .tabs a:hover{display:block;flex:1 1 0;float:none;width:auto;margin:0;padding:10px 4px !important;border-radius:8px;background:#3032a3 !important;color:#fff !important;text-decoration:none;text-align:center;font-family:Verdana,Sans-Serif;}
.local .tabLocal, .home .tabHome, .rss .tabRss, .motors .tabMotors, .bargain .tabLastMinute, .tools .tabTools, .daily .tabLast{background:#323232 !important;color:#fff !important;}
.disclosure{float:none;clear:both;padding:8px 0 6px;font-size:12px;color:#555;}

/* Search box: country and search term each on their own line, a full-width button,
   and 16px text so iPhones don't zoom in when the box is tapped */
#srch{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center;padding:12px;border-radius:8px;font-size:15px;text-align:left;}
#srch > *{grid-column:1 / -1;}
#srch label{grid-column:1;}
#srch select{grid-column:2;width:100%;}
#srch select, #srch input[type=text]{font-size:16px;padding:8px;border-radius:6px;box-sizing:border-box;}
#term{width:100% !important;padding-left:30px !important;}
#srch input[type=submit]{width:100%;padding:10px;font-size:18px;}

/* Result count and messages */
.header{padding:10px 12px;border-radius:0 0 8px 8px;}
.header h1{font-size:16px;}
.header p{font-size:14px;}
.emsg{font-size:15px;}

/* Results: picture on the left, title and details beside it, price underneath */
.item{display:flex;flex-wrap:wrap;align-items:flex-start;gap:4px 12px;float:none;width:100%;padding:12px 0;}
.item .thumb{flex:0 0 80px;width:80px !important;min-height:0 !important;padding:0 !important;}
.item .thumb img{max-width:80px;max-height:80px;width:auto;height:auto;border-radius:4px;}
.item .itemtitle{flex:1 1 0;min-width:0;width:auto !important;float:none;padding:0;height:auto;overflow:visible;}
.item h2{font-size:15px;font-weight:normal;line-height:1.35;}
.itemtitle p{font-size:13px;line-height:1.5;color:#555;}
.item p{display:block;margin:2px 0 0;padding:0;}
.bids span{display:inline;background:none;padding:0;width:auto !important;}
.iconbids:after, .icontime:after, .iconpost:after{content:" \00b7  ";} /* the escape swallows one space, so two are needed after it */
.bids .iconloc:after{content:"";}
.item .price{flex:0 0 calc(100% - 92px);float:none;width:auto;margin-left:92px;padding:0;font-size:17px;line-height:1.4;text-align:left;}
.item .price p{display:inline;margin-right:8px;}
.item .price .binimg{vertical-align:middle;}

/* Paging: buttons big enough to tap */
.pagination{padding:8px;}
.pagination a, .pagination span{display:inline-block;padding:8px 12px;margin:4px 2px;font-size:15px;}

/* Boxes such as My Favourite Searches, Help and About */
.whole{margin-top:16px;border-radius:8px;overflow:hidden;}
.whole h1, .whole h2{font-size:16px;padding:8px 10px;}
.whole a{line-height:2;}

/* Footer: links spaced out for fingers */
#main #footer{margin-left:-12px !important;margin-right:-12px !important;}
#footer p{padding:12px 8px;font-size:14px;line-height:2.2;}
.copyright{display:block;padding:0 12px;font-size:12px;line-height:1.5;}
}
