html, body {padding: 0; margin: 0; font: 11px arial, tahoma, "trebuchet ms", sans-serif; line-height: 13px; color: #000000;}
body {background-color: #c7b795;}
form {margin: 0px; padding: 0px;}
img {border: 0px;}
input, select {font: 11px arial, tahoma, "trebuchet ms", sans-serif; line-height: 13px; margin: 0px; padding: 0px; cursor: pointer; vertical-align: middle;}
select {font-size: 10px; line-height: 12px; border: 1px solid #685640; background-color: #e0d3b8;}
object {display: block; outline: none;}
#copy {display: none;}
.oi {background: #b9a47f url(img/tw/sprites3.png) 0px -120px; padding-left: 2px; margin: 1px 1px 0px 1px; height: 15px; width: 23px; color: #000000; cursor: text;}
.oi:hover, .oi:focus {background-position: 0px -105px;}
.oi:hover, .oi:focus, select:hover, select:focus {border: 1px solid #777777;}
.rad {margin-top: 0px !important; height: 13px;}
a, .aelement {color: #804000; text-decoration: none;}
a:hover, a:hover div {color: #0082BE; text-decoration: underline;}
#linewrapper {z-index: 3;}
#linewrapperoverlay {z-index: 2;}
.fc .oi, .i55 .oi {width: 80px;}
.fc {width: 250px;}
.fc, .ws, #help .qc, .fixWidth, #adds .qc, .notedesc, .setw, .setw div {white-space: normal !important;}
.ec #colourspan, .colimg, .preview td {border: 1px solid #000000;}
.lefta, #mindiv, #lddiv .qc {text-align: left !important;}
.righta, .fr, .table .ra {text-align: right !important;}
.center {text-align: center;}
.tl {color: #000000 !important; text-decoration: underline !important;}
.red, #errsne a {color: #c80000;}
.green {color: #00b400;}

/*Flags*/
.twflag {background: url(img/flags2.png) no-repeat; padding-left: 20px; height: 14px;}
.tribalwarsnet {background-position: 0px -83px;}
.tribalwarsuk {background-position: 0px -851px;}
.tribalwarsde {background-position: 0px -467px;}
.tribalwarsno {background-position: 0px -531px;}
.tribalwarssi {background-position: 0px -883px;}
.tribalwarsse {background-position: 0px -403px;}
.tribalwarsbr {background-position: 0px -371px;}
.tribalwarsnl {background-position: 0px -51px;}
.tribalwarsro {background-position: 0px -339px;}
.tribalwarsdk {background-position: 0px -595px;}
.tribalwarspt {background-position: 0px -211px;}
.tribalwarsgr {background-position: 0px -115px;}
.tribalwarssk {background-position: 0px -179px;}
.tribalwarshu {background-position: 0px -499px;}
.tribalwarsba {background-position: 0px -627px;}
.tribalwarses {background-position: 0px -755px;}
.tribalwarscz {background-position: 0px -147px;}
.tribalwarslt {background-position: 0px -915px;}
.tribalwarshr {background-position: 0px -1011px;}
.tribalwarsid {background-position: 0px -979px;}
.tribalwarspl {background-position: 0px -563px;}
.tribalwarsfr {background-position: 0px -723px;}
.tribalwarsit {background-position: 0px -659px;}
.tribalwarstr {background-position: 0px -691px;}

/*Buttons*/
.sbut, .gbut, .dbut, .stbut, .debut, .sebut {margin: 1px 1px 0px 1px; border: 0px; background: #5c4e37 url(img/tw/sprites3.png) 378px -56px; height: 17px; vertical-align: middle;}
.sbut:hover, .gbut:hover, .dbut:hover, .stbut:hover, .debut:hover, .sebut:hover, .sbut:active, .gbut:active, .dbut:active, .stbut:active, .debut:active, .sebut:active {background-color: #777777;}
.sbut::-moz-focus-inner, .gbut::-moz-focus-inner, .dbut::-moz-focus-inner, .stbut::-moz-focus-inner, .debut::-moz-focus-inner, .sebut::-moz-focus-inner {border: 0px;}
.debut {width: 47px; background-position: -114px -56px;}
.debut:hover, .debut:focus {background-position: -114px -72px;}
.debut:active {background-position: -114px -88px;}
.sbut {width: 35px; background-position: 218px -56px;}
.sbut:hover, .sbut:focus {background-position: 218px -72px;}
.sbut:active {background-position: 218px -88px;}
.gbut {width: 23px;}
.gbut:hover, .gbut:focus {background-position: 378px -72px;}
.gbut:active {background-position: 378px -88px;}
.sebut {width: 47px; background-position: 356px -56px;}
.sebut:hover, .sebut:focus {background-position: 356px -72px;}
.sebut:active {background-position: 356px -88px;}
.stbut {width: 41px; background-position: 184px -56px;}
.stbut:hover, .stbut:focus {background-position: 184px -72px;}
.stbut:active {background-position: 184px -88px;}
.dbut {width: 69px; background-position: 144px -56px;}
.dbut:hover, .dbut:focus {background-position: 144px -72px;}
.dbut:active {background-position: 144px -88px;}

/*IE bugfix*/
.qtr div, .qtl div, .Left div, .Right div, .Top div, .Bottom div, #ximg, .qspt, #mimg, .BottomLeftMenu div, .LeftMenu div, .TopLeftMenu div, .nt, .noteicon, .linew1, .linew2, .linew3, .preview div, #lddiv div {font: 1px arial !important; line-height: 0px;}

.pos, #errsne {position: absolute;}
#colours {width: 198px;}
#colours table, .oi {border: 1px solid #5c4e37;}
.nb, #last {border: none;}
.ie, .ie div, .ie a, .ie td, #qTip div, .pos, .pos div, .coord {white-space: nowrap;}

#table, #search, #farm, #adds, #markers, #draw, #time, #qTip, #minimap, #men, #error, #help, #church, #notes {border: 1px solid #685640; background-color: #e0d3b8; text-align: center;}
#help .qc, .fixWidth {width: 350px;}

/*Menu and tooltip*/
#qTip, #men {display: none; position: absolute; text-align: center;}
#qTip {z-index: 99;}
#men {z-index: 98; overflow: hidden;}
.colimg {height: 9px; width: 9px; vertical-align: top; position: relative; top: 1px;}
.smb {width: 7px; height: 7px; top: 3px;}

/*Settings*/
.sets {width: 100%;}
.sets select, #church select {background-color: #eee4ce;}
.setqc .qc, .h1 {height: 1px;}
.setqc .qc {padding: 0px;}
.setqc .qc div {width: 53px;}
.setqc .qc a {width: 53px; height: 17px; line-height: 17px;}
.setqc .qc:hover, .setqc a:hover {background-color: #e4dac0;}
.setqc .sel, .setqc .sel a {background-color: #d8ccb2 !important;}
.sets a b {color: #000000;}
.d16 div {height: 17px; line-height: 17px; text-align: right;}
.sets input {vertical-align: top;}
.sets .colimg {margin: 0px 2px 0px 1px;}
.preview div {float: left; width: 3px; height: 10px;}
.preview .btd {border-right: 0px;}
.preview .nob {border: 0px;}
.preview .ttd {border-top: 0px;}
.preview .tdb {border-bottom: 0px;}
.preview .tdl {border-left: 0px;}
.setw div {width: 380px;}

/*TW Stats*/
.twstats .setqc .qc {width: 111px; height: 1px; padding: 0px;}
.twstats .setqc .qc a {width: 111px; height: 17px; line-height: 17px;}
.twstats .qcnm {width: 340px; height: 130px;}
.twstats img {padding-right: 1px;}

/*Error box*/
#error {z-index: 81;}
#errsne {left: 25px; top: 59px; z-index: 10;}

/*Tooltip and menu border/grid*/
.qtl, .qtr, .qbl, .qbr, .qsl, .qsr, .qspt, .qspbm, .qsm {background: #e0d3b8 url(img/tw/sprites3.png) -0px -18px;}
.qtl, .qtr, .qbl, .qbr, .qtl div, .qtr div, .qsl, .qsr {width: 3px; height: 3px;}
.qt, .qb {height: 3px;}
.ql, .qr {width: 3px;}
.qsl, .qsr, .qspt, .qspbm, .qs {height: 4px;}
.qspt, .qspt div, .qspbm, .qsv {width: 4px;}
.qc, .notes  {background-color: #e0d3b8;}
.qc {padding: 1px 3px 2px 3px;}
.qcnm {padding: 0px;}
/*Corner*/
.qtr {background-position: -45px -18px;}
.qbl {background-position: -0px -33px;}
.qbr {background-position: -45px -33px;}
/*Spacer divider*/
.qspt {background-position: -11px -25px;}
.qspbm {background-position: -33px -25px;}
/*Top, Left, Bottom and Right border*/
.ql, .qr, .qsv, .Left, .Right {background: #e0d3b8 url(img/tw/sprites3.png) top right;}
.ql {background-position: 75px 0px;}
.qsv {background-position: 40px 0px;}
.qt, .qb, .qs, .Top, .Bottom, .TopMenu {background: #e0d3b8 url(img/tw/qtnb3.png) top center repeat-x;}
.qb {background-position: 0px -87px;}
/*Spacer*/
.qsr {background-position: -45px -25px;}
.qs {background-position: 0px -35px;}
.qsl {background-position: -0px -25px;}

/*Minimap*/
#minimap {position: absolute; z-index: 6; background: none;}
#minimap .qtl, #minimap .qtr, #minimap .qbl, #minimap .qbr, #minimap .qtl div, #minimap .qtr div {width: 2px; height: 2px;}
#minimap .qt, #minimap .qb {height: 2px;}
#minimap .ql, #minimap .qr {width: 2px;}
#minimap .qtr {background-position: -46px -19px;}
#minimap .qbl {background-position: -0px -34px;}
#minimap .qbr {background-position: -46px -34px;}
#minimap .qc {padding: 0px; background-color: #436213;}
#minimap .qb {background-position: 0px -86px;}
#xspan, #mspan {display: block; background: url(img/trans.gif); position: absolute; z-index: 8; cursor: default;}
#xspan {margin-top: 3px; margin-left: 3px;}
#ximg, #mimg {width: 30px; height: 30px; background: url(img/x5.png) top center no-repeat; position: absolute; z-index: 7; display: none;}
#minimap .ximg3, #map .ximg3 {background-position: top left;}
#minimap .ximg5, #map .ximg5 {background-position: top right;}
#mindiv table {width: 100%; height: 100%;}

/*Map grid*/
.bt {border-bottom: 1px solid #000000;}
.bl {border-right: 1px solid #000000;}
.st {border-bottom: 1px solid #2a5e1f;}
.sl {border-right: 1px solid #2a5e1f;}

/*Minimap map overlay*/
#map {position: absolute; z-index: 9; background: #f7f3eb; top: 76px; left: 24px; padding: 2px;}
.wd {width: 100px;}

/*Advertisements and messages*/
#adds .user, .largetext {line-height: 19px; font-size: 15px;}
#adds .qc {width: 462px;}
#adds .q460 {width: 468px; height: 60px;}
#ld {height: 7px; width: 1px; background: #b9a47f url(img/tw/qtnb3.png) 0px -92px;}
#ldd {padding: 1px 3px 0px 3px;}
#adds form {margin: 0px; padding: 0px; display: inline;}
#loadaddt {padding: 2px 0px 2px 0px;}

/*Border*/
#himg {width: 16px; height: 16px; background: url(img/tw/sprites3.png) -22px -1px;}
#mtb .loading {background: url(img/tw/loading.gif) center center no-repeat;}
#mtb .failed {background: url(img/tw/sprites3.png) -36px -1px;}
.Top, .Left, .Bottom, .Right, #himg, .point {cursor: pointer;}
.TopLeft, .Tlmo, .BottomLeft, .Btlmo, .TopRight, .Trmo, .BottomRight, .Btrmo {width: 25px; height: 25px; background: url(img/tw/sprites3.png) -52px -0px; cursor: pointer;}
.Tlmo {background-position: -102px 0px;}
.TopRight {background-position: -77px -0px;}
.Trmo {background-position: -127px -0px;}
.BottomLeft {background-position: -52px -25px;}
.Btlmo {background-position: -102px -25px;}
.BottomRight {background-position: -77px -25px;}
.Btrmo {background-position: -127px -25px;}
.Left {background-position: 69px 0px;}
.Right {background-position: 31px 0px;}
.Top, .Bottom {background-position: 0px -6px; height: 25px;}
.Bottom {background-position: 0px -44px;}

/*Border vertical and horizontal arrows*/
.Left div, .Right div, .Bottom div, .Top div {width: 9px; height: 9px; background: url(img/tw/sprites3.png) -0px -38px; cursor: pointer;}
.Left div {margin: 0px 5px 0px 11px;}
.Left .mo {background-position: -18px -38px;}
.Right div {margin: 0px 11px 0px 5px; background-position: -9px -38px;}
.Right .mo {background-position: -27px -38px;}
.Top div {margin: 11px 0px 5px 0px; background-position: -0px -47px;}
.Top .mo {background-position: -18px -47px;}
.Bottom div {margin: 5px 0px 11px 0px; background-position: -9px -47px;}
.Bottom .mo {background-position: -27px -47px;}

/*Top Menu Bar*/
.Menu {background-color: #ded3b9;}
.TopMenu {background-position: 0px -69px;}
.TopLeftMenu, .TopRightMenu, .LeftMenu, .RightMenu, .BottomLeftMenu, .BottomRightMenu {background: url(img/tw/sprites3.png) -177px -13px no-repeat;}
.TopLeftMenu {background-position: -152px -0px;}
.TopRightMenu {background-position: -177px -0px;}
.TopLeftMenu div {height: 13px;}
.LeftMenu {background-position: -152px -13px;}
.LeftMenu div {height: 35px;}
.BottomLeftMenu {background-position: -152px -53px;}
.BottomRightMenu {background-position: -177px -53px;}
.BottomLeftMenu div {height: 3px;}

/*Main table*/
#maindiv {height: 1px; width: 1px;}
#mtb {text-align: center;}
#mtb table {border-right: 3px solid #f7f3eb;}
#mtb td {cursor: default;}
#mtb td a {display: block; text-decoration: none; cursor: pointer; position: relative; z-index: 4; background: url(img/trans.gif);}
#mtb td a:hover, #mtb td a:active, #mtb td a:focus, .m a {background: url(img/x5.png) center center no-repeat !important;}
#mtb .t, #mtb .l, #mtb .bb, #mtb .tl {background: #f7f3eb !important; cursor: auto;}
.tl img {width: 16px; height: 16px;}

/*Menu bar*/
#coord {z-index: 92; font-size: 12px; line-height: 14px; position: fixed; top: 12px; left: 12px; background-color: #ded3b9; padding: 2px 1px 1px 1px;}
#coord form {margin: 0px; padding: 0px; display: inline;}
#coord img {cursor: pointer; vertical-align: middle; margin-bottom: 1px;}

/*Village/Member list*/
.maxh {max-height: 450px; overflow: auto; padding: 1px 3px 2px 3px;}
.maxh div {display: table; width: 100%;}

.bb {height: 18px;}
#load {position: relative; z-index: 5; text-align: center; overflow: hidden; height: 18px; line-height: 18px;}
.bb #load a {display: inline; color: #804000; font-weight: bold; text-decoration: none;}
.bb #load a:hover {color: #0082BE; text-decoration: underline;}

/*General info table*/
.ttt {text-align: left !important; margin-top: 1px;}
.ttt .ca {text-align: center !important;}
.table, .tb1, .vlit, .ttt, .spl, .table .la {width: 100%;}
.t100 {height: 100%;}
.table {margin: 1px 0px;}
.table, .ttt {border: 1px solid #ebdcbe;}
.table td, .ttt td {background-color: #eaddc2;}
.table .ic, .table .ic img {height: 18px; width: 18px;}
.la, #error {text-align: left;}
.table .la, .table .ra {padding: 0px 4px;}

.notes {width: 400px; height: 250px;}
.twc {border: none; line-height: 11px; font-size: 9px; width: 103px;}
.twc div {text-align: right; width: 103px;}

.spl, .ec span {display: block;}
#table, #farm, #search, #markers, #notes, #draw, #church, #help, #time, #minimap, #map, #mini, #min, .nd, #error, #errsne, #maindiv, #coord {display: none;}

/*Windows*/
.z80 {z-index: 80; height: 0px;}
#error, #table, #farm, #search, #adds, #markers, #draw, #church, #help, #time, #notes {margin: 0px -1px -1px 0px; float: left; position: relative;}

#gro .lefta {margin: 0px 2px 1px 2px;}
#gro .stsr {padding: 1px 2px;}
#gro {padding: 1px 2px 1px 2px;}
.dell {margin-left: 3px;}
.tc {width: 13px;}
#tri table, #pla table, #vil table, #gro table, #linelist table, #churchlist table, #noteslist table, .circles table {height: 13px; width: 100%;}
.fl {text-align: left; padding: 0px 4px 0px 3px; width: 100%;}
#markerlist .fl {padding: 0px 4px 0px 0px;}
#vil, #tri, #pla, #linelist, #churchlist, .circles {padding: 1px 3px 1px 1px;}
#linelist .colimg, #churchlist .colimg, #vil .colimg, #pla .colimg, #tri .colimg {top: 0px; margin-left: 1px;}
#search .ws {width: 225px;}

.linew1, .linew2, .linew3 {background-color: #000000; height: 1px; width: 52px; margin-right: 3px;}
.linew2 {height: 2px;}
.linew3 {height: 3px;}

/*Notes, descriptions and textareas*/
.nt, .noteicon {display: block; height: 11px; width: 11px; background: url(img/tw/sprites3.png) top left;}
.noteicon {float: left; margin-top: 1px; margin-right: 1px;}
.nt {margin: 0px 1px;}
.notedesc, .ttt textarea {font: bold 11px monospace;}
.ttt textarea {padding: 1px 2px; margin: 0px; border: 1px solid #E0D3B8; background-color: #F7F3EB; text-align: left; width: 400px; height: 200px; overflow: auto;}
.ttt textarea:focus, .ttt textarea:active, .ttt textarea:hover {border: 1px solid #777777;}
.notedesc {padding: 0px 3px; max-width: 400px; overflow: hidden; height: 100%;}
.nds td:hover {background-color: #f1e7ce;}
#noteslist {padding: 1px 3px 3px 3px;}
#notes .notedesc {overflow: auto !important;}
#ajaxdesc {height: 100px;}

/*Colour picker*/
#colours {margin: 1px 0px;}
#colours td {width: 12px; height: 12px; cursor: pointer;}

.qcs .qc {padding: 2px 3px 2px 3px;}
#colours #mini {position: absolute; top: 10px; left: 10px; z-index: 101;}
#colours #min {position: absolute; top: 29px; left: 8px; z-index: 100; width: 194px; height: 181px; background: #000000;}
#colours #mSpec {padding: 0px; background: none; border: 0px; margin: 32px 0 0 10px;}
#colours .mIG {position: relative; top: -8px; left: -1px; z-index: 102; cursor: pointer; height: 168px; width: 168px; background: #000000 url(img/tw/circle.jpg) top left no-repeat;}
#colours #mCur {background: url(img/tw/sprites3.png) -13px -5px; position: absolute; height: 9px; width: 9px; z-index: 103; top: 102px; left: 88px; cursor: pointer;}

.ec a, .ec #colourspan, .ec .oi, .ec .sbut {float: left; position: relative; margin: 0px 1px 0px 0px;}
.ec .sbut {margin-right: 0px;}
.ec #colourspan {height: 15px; width: 46px; z-index: 105;}
.ec a {display: block; width: 33px; padding: 0px 1px 0px 17px; height: 15px; line-height: 15px; font-size: 9px; z-index: 106; cursor: pointer; border: 1px solid #000000; background: transparent url(img/tw/circle.jpg) -169px -152px no-repeat;}
.ec a:hover {background-color: #e4dac0;}
.ec input {z-index: 104;}
.ec .oi {width: 55px;}
.ec {padding: 3px 3px 0px 3px !important;}
.ec div {height: 20px;}

/*Village center images*/
#xst, #xde, #mainv, .mainv, .mark, #time .red, #time .green {position: relative; background: url(img/tw/sprites3.png) -202px -30px; margin-bottom: -6px; height: 10px; width: 10px;}
#xst, #time .green {background-position: -202px 0px;}
#xde, #time .red {background-position: -202px -10px;}
.mark {background-position: -202px -20px;}
#time .tb1 {text-align: left;}
#time .red, #time .green {margin: 2px 3px 1px 0px;}
#xst, #xde, #mainv {display: none;}
#mtb #xst, #mtb #xde, #mtb #mainv {display: inline;}

/*Village center icons*/
.n a {background: url(img/c2.gif) center center no-repeat !important;}
.p a {background: url(img/p2.gif) center center no-repeat !important;}

/*Medium iconsize*/
#mtb .t, #mtb .l, #mtb .bb {font-size: 12px;}

#mtb td {background: #444444 url(img/mapicons/icm.png) bottom right;}
#mtb td a {width: 53px; height: 25px; padding-top: 13px;}
#mtb .bl a, #mtb .sl a {width: 52px;}
#mtb .bt a, #mtb .st a {height: 24px;}
#mtb .l div {height: 38px; line-height: 38px;}
#mtb .t div {width: 53px;}
#mtb .l {width: 40px;}
#mtb .t {height: 28px;}
#mtb .tl {width: 40px; height: 28px;}
#himg {margin: 0px 12px;}
.pos {top: 104px; left: 65px;}

#mtb .a {background-position: -0px -228px;}
#mtb .b {background-position: -53px -228px;}
#mtb .c {background-position: -106px -228px;}
#mtb .d {background-position: -159px -228px;}
#mtb .e {background-position: -212px -228px;}
#mtb .f {background-position: -265px -228px;}

#mtb .as {background-position: -0px -266px;}
#mtb .bs {background-position: -53px -266px;}
#mtb .cs {background-position: -106px -266px;}
#mtb .ds {background-position: -159px -266px;}
#mtb .es {background-position: -212px -266px;}
#mtb .fs {background-position: -265px -266px;}

#mtb .aqss {background-position: -0px -152px;}
#mtb .bqss {background-position: -53px -152px;}
#mtb .cqss {background-position: -106px -152px;}
#mtb .dqss {background-position: -159px -152px;}
#mtb .eqss {background-position: -212px -152px;}
#mtb .fqss {background-position: -265px -152px;}

#mtb .aq {background-position: -0px -76px;}
#mtb .bq {background-position: -53px -76px;}
#mtb .cq {background-position: -106px -76px;}
#mtb .dq {background-position: -159px -76px;}
#mtb .eq {background-position: -212px -76px;}
#mtb .fq {background-position: -265px -76px;}

#mtb .t8 {background-position: -371px -114px;}
#mtb .t9 {background-position: -371px -76px;}
#mtb .t10 {background-position: -318px -76px;}
#mtb .t11 {background-position: -318px -114px;}

#mtb .t12 {background-position: -316px -266px;}

#mtb .t25 {background-position: -0px 0px;}
#mtb .t29 {background-position: -53px 0px;}
#mtb .t28 {background-position: -106px 0px;}
#mtb .t21 {background-position: -159px 0px;}
#mtb .t24 {background-position: -212px 0px;}
#mtb .t20 {background-position: -265px 0px;}
#mtb .t17 {background-position: -318px 0px;}
#mtb .t26 {background-position: -371px 0px;}
#mtb .t27 {background-position: -0px -38px;}
#mtb .t19 {background-position: -53px -38px;}
#mtb .t22 {background-position: -106px -38px;}
#mtb .t30 {background-position: -159px -38px;}
#mtb .t23 {background-position: -212px -38px;}
#mtb .t18 {background-position: -265px -38px;}
#mtb .t31 {background-position: -318px -38px;}
#mtb .t16 {background-position: -371px -38px;}

/*Small iconsize*/
.small #mtb .t, .small #mtb .l, .small #mtb .bb {font-size: 11px;}

.small #mtb td {background-image: url(img/mapicons/ics.png);}
.small #mtb td a {width: 32px; height: 18px; padding-top: 6px;}
.small #mtb .bl a, .small #mtb .sl a {width: 31px;}
.small #mtb .bt a, .small #mtb .st a {height: 17px;}
.small #mtb .l div {height: 24px; line-height: 24px;}
.small #mtb .t div {width: 32px;}
.small #mtb .l {width: 32px;}
.small #mtb .t {height: 24px;}
.small #mtb .tl {width: 32px; height: 24px;}
.small #himg {margin: 0px 8px;}
.small .pos {top: 100px; left: 57px;}

.small #mtb .a {background-position: -0px -144px;}
.small #mtb .b {background-position: -32px -144px;}
.small #mtb .c {background-position: -64px -144px;}
.small #mtb .d {background-position: -96px -144px;}
.small #mtb .e {background-position: -128px -144px;}
.small #mtb .f {background-position: -160px -144px;}

.small #mtb .as {background-position: -0px -168px;}
.small #mtb .bs {background-position: -32px -168px;}
.small #mtb .cs {background-position: -64px -168px;}
.small #mtb .ds {background-position: -94px -168px;}
.small #mtb .es {background-position: -128px -168px;}
.small #mtb .fs {background-position: -160px -168px;}

.small #mtb .aqss {background-position: -0px -96px;}
.small #mtb .bqss {background-position: -32px -96px;}
.small #mtb .cqss {background-position: -64px -96px;}
.small #mtb .dqss {background-position: -96px -96px;}
.small #mtb .eqss {background-position: -128px -96px;}
.small #mtb .fqss {background-position: -160px -96px;}

.small #mtb .aq {background-position: -0px -48px;}
.small #mtb .bq {background-position: -32px -48px;}
.small #mtb .cq {background-position: -64px -48px;}
.small #mtb .dq {background-position: -96px -48px;}
.small #mtb .eq {background-position: -128px -48px;}
.small #mtb .fq {background-position: -160px -48px;}

.small #mtb .t8 {background-position: -224px -72px;}
.small #mtb .t9 {background-position: -224px -48px;}
.small #mtb .t10 {background-position: -192px -48px;}
.small #mtb .t11 {background-position: -192px -72px;}

.small #mtb .t12 {background-position: -192px -168px;}

.small #mtb .t25 {background-position: -0px 0px;}
.small #mtb .t29 {background-position: -32px 0px;}
.small #mtb .t28 {background-position: -64px 0px;}
.small #mtb .t21 {background-position: -96px 0px;}
.small #mtb .t24 {background-position: -128px 0px;}
.small #mtb .t20 {background-position: -160px 0px;}
.small #mtb .t17 {background-position: -192px 0px;}
.small #mtb .t26 {background-position: -224px 0px;}
.small #mtb .t27 {background-position: -0px -24px;}
.small #mtb .t19 {background-position: -32px -24px;}
.small #mtb .t22 {background-position: -64px -24px;}
.small #mtb .t30 {background-position: -96px -24px;}
.small #mtb .t23 {background-position: -128px -24px;}
.small #mtb .t18 {background-position: -160px -24px;}
.small #mtb .t31 {background-position: -192px -24px;}
.small #mtb .t16 {background-position: -224px -24px;}

/*Extra small icon size*/
.xsmall #mtb .t, .xsmall #mtb .l, .xsmall #mtb .bb {font-size: 9px;}

.xsmall #mtb td {background-image: url(img/mapicons/icx.png);}
.xsmall #mtb td a {width: 24px; height: 15px; padding-top: 3px;}
.xsmall #mtb .bl a, .xsmall #mtb .sl a {width: 23px;}
.xsmall #mtb .bt a, .xsmall #mtb .st a {height: 14px;}
.xsmall #mtb .l div {height: 18px; line-height: 18px;}
.xsmall #mtb .t div {width: 24px;}
.xsmall #mtb .l {width: 24px;}
.xsmall #mtb .t {height: 18px;}
.xsmall #mtb .tl {width: 24px; height: 18px;}
.xsmall #himg {margin: 0px 4px;}
.xsmall .pos {top: 94px; left: 49px;}

.xsmall #mtb .a {background-position: -0px -108px;}
.xsmall #mtb .b {background-position: -24px -108px;}
.xsmall #mtb .c {background-position: -48px -108px;}
.xsmall #mtb .d {background-position: -72px -108px;}
.xsmall #mtb .e {background-position: -96px -108px;}
.xsmall #mtb .f {background-position: -120px -108px;}

.xsmall #mtb .as {background-position: -0px -126px;}
.xsmall #mtb .bs {background-position: -24px -126px;}
.xsmall #mtb .cs {background-position: -48px -126px;}
.xsmall #mtb .ds {background-position: -72px -126px;}
.xsmall #mtb .es {background-position: -96px -126px;}
.xsmall #mtb .fs {background-position: -120px -126px;}

.xsmall #mtb .aqss {background-position: -0px -72px;}
.xsmall #mtb .bqss {background-position: -24px -72px;}
.xsmall #mtb .cqss {background-position: -48px -72px;}
.xsmall #mtb .dqss {background-position: -72px -72px;}
.xsmall #mtb .eqss {background-position: -96px -72px;}
.xsmall #mtb .fqss {background-position: -120px -72px;}

.xsmall #mtb .aq {background-position: -0px -36px;}
.xsmall #mtb .bq {background-position: -24px -36px;}
.xsmall #mtb .cq {background-position: -48px -36px;}
.xsmall #mtb .dq {background-position: -72px -36px;}
.xsmall #mtb .eq {background-position: -96px -36px;}
.xsmall #mtb .fq {background-position: -120px -36px;}

.xsmall #mtb .t8 {background-position: -168px -54px;}
.xsmall #mtb .t9 {background-position: -168px -36px;}
.xsmall #mtb .t10 {background-position: -144px -36px;}
.xsmall #mtb .t11 {background-position: -144px -54px;}

.xsmall #mtb .t12 {background-position: -144px -126px;}

.xsmall #mtb .t25 {background-position: -0px 0px;}
.xsmall #mtb .t29 {background-position: -24px 0px;}
.xsmall #mtb .t28 {background-position: -48px 0px;}
.xsmall #mtb .t21 {background-position: -72px 0px;}
.xsmall #mtb .t24 {background-position: -96px 0px;}
.xsmall #mtb .t20 {background-position: -120px 0px;}
.xsmall #mtb .t17 {background-position: -144px 0px;}
.xsmall #mtb .t26 {background-position: -168px 0px;}
.xsmall #mtb .t27 {background-position: -0px -18px;}
.xsmall #mtb .t19 {background-position: -24px -18px;}
.xsmall #mtb .t22 {background-position: -48px -18px;}
.xsmall #mtb .t30 {background-position: -72px -18px;}
.xsmall #mtb .t23 {background-position: -96px -18px;}
.xsmall #mtb .t18 {background-position: -120px -18px;}
.xsmall #mtb .t31 {background-position: -144px -18px;}
.xsmall #mtb .t16 {background-position: -168px -18px;}

/*Minimal icon size*/
.minimal .bb {font-size: 9px !important;}

.minimal #mtb td {background-image: url(img/mapicons/ice.png); font-size: 7px; line-height: 9px;}
.minimal #mtb td a {width: 16px; height: 10px; padding-top: 2px;}
.minimal #mtb .bl a, .minimal #mtb .sl a {width: 15px;}
.minimal #mtb .bt a, .minimal #mtb .st a {height: 9px;}
.minimal #mtb .l div {height: 12px; line-height: 12px;}
.minimal #mtb .t div {width: 16px; line-height: 16px;}
.minimal #mtb .l {width: 16px;}
.minimal #mtb .t {height: 16px;}
.minimal #mtb .tl {width: 16px; height: 16px;}
.minimal .pos {top: 92px; left: 41px;}
.minimal #himg {margin: 0px;}

.minimal #mtb .a {background-position: -0px -72px;}
.minimal #mtb .b {background-position: -16px -72px;}
.minimal #mtb .c {background-position: -32px -72px;}
.minimal #mtb .d {background-position: -48px -72px;}
.minimal #mtb .e {background-position: -64px -72px;}
.minimal #mtb .f {background-position: -80px -72px;}

.minimal #mtb .as {background-position: -0px -84px;}
.minimal #mtb .bs {background-position: -16px -84px;}
.minimal #mtb .cs {background-position: -32px -84px;}
.minimal #mtb .ds {background-position: -48px -84px;}
.minimal #mtb .es {background-position: -64px -84px;}
.minimal #mtb .fs {background-position: -80px -84px;}

.minimal #mtb .aqss {background-position: -0px -48px;}
.minimal #mtb .bqss {background-position: -16px -48px;}
.minimal #mtb .cqss {background-position: -32px -48px;}
.minimal #mtb .dqss {background-position: -48px -48px;}
.minimal #mtb .eqss {background-position: -64px -48px;}
.minimal #mtb .fqss {background-position: -80px -48px;}

.minimal #mtb .aq {background-position: -0px -24px;}
.minimal #mtb .bq {background-position: -16px -24px;}
.minimal #mtb .cq {background-position: -32px -24px;}
.minimal #mtb .dq {background-position: -48px -24px;}
.minimal #mtb .eq {background-position: -64px -24px;}
.minimal #mtb .fq {background-position: -80px -24px;}

.minimal #mtb .t8 {background-position: -112px -36px;}
.minimal #mtb .t9 {background-position: -112px -24px;}
.minimal #mtb .t10 {background-position: -96px -24px;}
.minimal #mtb .t11 {background-position: -96px -36px;}

.minimal #mtb .t12 {background-position: -96px -84px;}

.minimal #mtb .t25 {background-position: -0px 0px;}
.minimal #mtb .t29 {background-position: -16px 0px;}
.minimal #mtb .t28 {background-position: -32px 0px;}
.minimal #mtb .t21 {background-position: -48px 0px;}
.minimal #mtb .t24 {background-position: -64px 0px;}
.minimal #mtb .t20 {background-position: -80px 0px;}
.minimal #mtb .t17 {background-position: -96px 0px;}
.minimal #mtb .t26 {background-position: -112px 0px;}
.minimal #mtb .t27 {background-position: -0px -12px;}
.minimal #mtb .t19 {background-position: -16px -12px;}
.minimal #mtb .t22 {background-position: -32px -12px;}
.minimal #mtb .t30 {background-position: -48px -12px;}
.minimal #mtb .t23 {background-position: -64px -12px;}
.minimal #mtb .t18 {background-position: -80px -12px;}
.minimal #mtb .t31 {background-position: -96px -12px;}
.minimal #mtb .t16 {background-position: -112px -12px;}