body { line-height: normal; }
h1 { font-size: 2em; text-shadow:none; }
h2 { font-size: 1.6em; }
#summarybar { display:block; color:white; font-weight:bold; padding-left:10px; margin:0; z-index:1; position:relative; display:flex; align-items:center; height:60px; width:100%;}
#bannerbg { height:100%; width:100%; position:absolute; z-index:0; overflow:hidden;}
#bannerbgpic { background-color:#696; background:linear-gradient(0deg, #2a5d2a, #66c10a); height:100%; width:100%; background-size:cover; background-position:center center; filter:blur(6px); transform:scale(1.12);}
.menubuttonholder { background:rgba(0,0,0,0.3); border:1px solid #999; border-radius:3px; padding:7px 10px; margin-right:12px; position:relative; top:1px; display:inline-flex; align-items:center;}
#summarybar:active .menubuttonholder { background:rgba(0,0,0,0.6); }
.summarybartext { text-shadow:0 0 1px #444; display:inline-block; }
#mobile-indicators { font-weight:normal; font-size:8pt; }
.mobilemenuicon { border-bottom:9px double #EEE; border-top:3px solid #EEE; height:3px; width:24px; margin-right:12px; display:inline-block;}
#maxad, #removead { display:none; }
#panel { overflow:hidden; display:none;}
#panel.fullscreen,#panel.stickyfullscreen { display:block; top:0; min-height:auto; height:200%; overflow-y:scroll; -webkit-overflow-scrolling:touch;}
#panel.fullscreen { position:absolute;}
#panel.stickyfullscreen { position:fixed;}
#panelcontent { padding-top:60px; min-height:150%;}
#main { margin:60px 0 0 0; }
#content { margin:0; padding-left:10px; }
#banner, #page_welcome #banner, #loggedin #banner, #page_welcome #loggedout #banner { margin:0; padding: 0; height:60px; background-image:none; background-color:#DADAD2; overflow:hidden; box-shadow:0 1px 2px #AAA; position:fixed;}
#mobileadbox { text-align:center; min-height:50px; margin-top:6px; }
#mobileadbox p { text-align:right; color:#666666; margin-top:0; margin-right:4px;}
#mobileadbox a { color: #666666; }
#mfad { margin:2em 10px; }
#banner img.logo, #page_welcome #banner img.logo { float:none; margin:0; padding:0; }
.hide { display:none; }
#loggedin #panel, #loggedin #content { margin-top:0; }
#panel { color:white; width:100%; background-color:#2A2A22; }
#panel ul.menu { width:auto; display:block; margin-top:7px;}
#panel ul.submenu { display:flex; flex-wrap:wrap; justify-content:space-between; margin:0; font-size:12px;}
#panel ul.menu a, #panel a:visited, #panel a:link {color:#fff; font-size:110%; text-shadow:none;}
#panel ul.menu a:hover { color:#FFF; text-decoration:none;}
#panel ul.menu a {padding:8px; }
#panel ul.menu li.STANDOUT:nth-child(1n+2) { border-top:1px solid #444; }
#panel li.STANDOUT { font-weight:bold; background-position:right 14px; }
#panel ul.menu li { padding:0; margin-left:4px; margin-right:8px; }
#panel .menu li, #panel .submenu li { line-height:175%;}
#panel .menu li:hover, #panel .submenu li:hover, #panel .menu a:hover, #panel .submenu a:hover, #panel .threads li:hover, #panel .threads a:hover { background-color:transparent;}
#panel .menu a:hover {background-color:#333;}
#panelnomob { margin:6em 0 0 1em; font-size:80%; }
#panelnomob a, #panelnomob select { border: 1px solid #999; padding: 6px; color:white; background:none;}
#panel li{ background:url(/images/mobilearrow.png) right center no-repeat; margin-left:5%; margin-right:15%;border:0; }
#panel ul.submenu li { background:none; margin:0; padding:0; display:inline-block;}
#panel ul.submenu a { border:0; padding:12px 4px; margin:0; }
.threads li { background:url(/images/nsarrow1.gif) no-repeat 0px 0px; list-style:none; padding-left:10px; margin-bottom:6px; font-size:normal; }
.threads a { display:block; font-family:Arial,sans; }
#panel .loginbox { margin-left:10%; margin-right:10%; }
#panel .loginbox input[type="text"],#panel .loginbox input[type="password"] { width:100%; font-size:120%; }
#panel .loginbox .button[type="submit"] { font-size:110%; padding:8px 16px; margin-right:0; }
#panelclose { float:right; margin-left:4px; position:relative; z-index:3; }
#panelclose a { display:inline-block; padding:2px 8px 8px 8px; font-size:32px !important; }
#gamebymax { padding-top:6px; font-size:80%; text-align:center; color:#BBB; }
#gamebymax a:link, #gamebymax a:visited { color:#AAA; text-decoration:underline;}
img,table { max-width:100%; }
.bigflagname { display:flex; align-items:center; justify-content:space-around; }
.bigflagname .bigflagname-flag { flex-shrink:2; }
.bigflagname .bigflagname-name { text-align:center; }
.bigflagname .bigflagname-flag:nth-child(1) { margin-left:0; margin-right:6px; }
.bigflagname .bigflagname-flag:nth-child(2) { margin-left:6px; margin-right:0; }
#namebox { margin-left: 0; width:100%; }
#namebox p.nationname { font-family:Arial; font-weight:bold; font-size:12pt; }
#namebox img.bigflag { max-width:180px; }
#namebox span { font-size:16pt; }
#namebox table { margin-top: 0; }
#rhbox ul { margin-right:0; }
.newmainlinebubble { margin:6px 0; }
.newmyregionbubble { margin-left:0; width:48%;}
.newmainlinebubbletop, .newmainlinebubblebottom, .officerbar, .officerbar i { font-size:10px; }
.newrinfbubble .newmainlinebubbletop, .newrinfbubble .newmainlinebubblebottom, .newmyregionbubble .newmainlinebubbletop, .newmyregionbubble .newmainlinebubblebottom { display:inline-block; }
.newrinfbubble .newmainlinebubblebottom, .newmyregionbubble .newmainlinebubblebottom { border-radius:0 0 4px 4px; line-height:1.2em;}
.newrinfbubble { margin-right:0; width:48%;}
.officerbar { display:inline-flex; min-height:initial;}
.nationsummary p { font-size:initial; }
.nationsummarybox { float:none; max-width:none;}
.nationsummaryboxname, .nationsummaryboxflag { display:none;}
.nationsummarybox .nlink { font-size:90%;}
.nationsummarybox img.smallflag { max-height:62px; }
.nationsummarybox td { font-size:75%; vertical-align:top;}
table.settings { background-image:none; box-shadow: none; border:none; max-width:none;}
table.settings h2 { padding: 0; }
table.settings h2#officialname { min-height:2.1em; font-size:18pt; margin:0.5em 0 0 0; }
table.settings #officialname img.bigflag { maax-width:48%; }
table.settings select { max-width:280px;}
table.settings td { width:100%; position:relative;}
table.settings td.left { text-align:left; padding-bottom:0; }
table.settings div.clippedflagbox { float:none; margin: 0; padding:0; min-height:82px; }
table.settings div.clippedflagbox img.bigflag { transform:none; }
table.settings td#namecheckresult { padding:0; }
table.settings img.paperclip { display:none; }
table.settings input[type=text] { width:95%; }
table.settings input[type=text].notfull { width:70%; }
.pdescriptor { margin:inherit; }
#page_settings table.settings { width:inherit;} /* override dark */
#page_settings .bannersample { box-shadow:none; }
#page_settings .bannersample img { box-shadow:0 4px 2px #999;}
#page_settings .flagswapoutbox img.bigflag { max-width:100%; max-height:inherit;}
#historycontainer { height:4em; }
.info,.error { margin-right: 0; }
.widebox,.widebox2 { width:100%; margin-left:0;}
#page_display_other_nation table strong { font-size:6pt; }
.newsbox { border:none; }
#lthreads { border: none; }
#rinf { float:none; }
table.quiz { padding-left:0; }
table.quiz td { font-size:100%; padding-left:0; padding-right:0; }
table.quiz td.question { font-size:100%; }
table.quiz h2 { font-size: 150%; }
p.replyline { text-align: left; }
.button + .button { margin-left: 0px; }
.button { margin: 6px 12px 6px 0; padding:6px 10px; }
.medtext { font-size:13px; }
.button-group .button { margin: 0 0 0 -1px; }
select#tg_move_select { margin: 6px 12px 6px 0; padding: 4px 8px;}
div.inreplyto { float:none; display:block;}
div.tgrecruitmovebutton input { float:none; margin:8px 0 8px 6px;}
div.composebutton { margin: 2px 0; }
#page_telegrams #composebutton { font-weight: normal; font-size: 12px; }
#page_telegrams a#composebutton.button { margin: 0; } 
.paginate1 { float: none; margin: 13px 0; }
a.tgrefreshbutton { margin: 0; }
.tg_headers { float:none; }
.tgsample { text-align:left; padding:0.5em 0; }
.tgreply { padding:auto 1px; }
div.tgreply textarea { height:10em; }
.searchbox { margin:4px 0 0 2px; text-align:right; }
.searchbox p { margin:0; }
.searchbox input[name="entity_name"] { font-size:16px; }
#page_list_entities .searchbox { float:none; text-align:center; margin-top:18px;}
#page_world .searchbox input[name="entity_name"], #page_dossier .searchbox input[name="entity_name"] { display:none; }
.searchbox button.entity_search_button { margin-right:0; }
#entity_selector .ui-menu { font-size:16px; }
#currentlyonline { float:none }
.zsuperweapondeploy .zsuperweapon_ready { border:none}
#pollanalysisbox { float: none; width: 100%; }
#pollquerybox { margin-right: 0; }
.polllistregionheader { min-width:10px; }
.polllistauthorheader { min-width: 10px; }
table.polllist { border-spacing: 8px; }
table.polllist td { display: block; border-radius:0; }
table.polllist th { display: none; }
table.polllist tr, table.polllist td { height: auto; }
table.polllist td:nth-of-type(1):before { content: "Region: "; font-weight:bold;}
table.polllist td:nth-of-type(2):before,table.polllist td:nth-of-type(2):after { content: '"'; }
table.polllist td:nth-of-type(3):before { content: "Votes: "; }
table.polllist img.smallflag { float:none; margin-left: 0}
table.polllist td:nth-of-type(5):before { content: 'Closes '; }
.rmbbuttons a { margin: 0 -1px 0 14px; font-size:10px;}
.rmbbuttons a:first-child { margin-left:2px; }
a.rmbbutton i { font-size:13px; top:1px;}
.rmbedited, .rmbdate, .rmbembassy { font-size:9px;}
.rmbembassy i { font-size:13px;}
.embassypending, .embassycancel { margin-right:0; }
 fieldset.rmbquoted { margin-right:0; }
 #nationcover {box-shadow:none;}
.lineundercover { display:flex; margin-top:1em; }
#page_display_nation .newflagcellbox, #page_display_other_nation .newflagcellbox { display:block; padding:0 8px 0 0; max-width:40%;}
.newflagbox { display:inline; }
#page_display_nation .newflagbox, #page_display_other_nation .newflagbox { display:block; margin-top:-18px; }
#page_display_nation .newflagbox, #page_display_other_nation .newflagbox, #page_display_nation .newflagbox .flagwithripple, #page_display_other_nation .newflagbox .flagwithripple { min-width:30vw; }
.newflagbox img { max-width:44px; }
#page_display_nation .newflagbox img, #page_display_other_nation .newflagbox img { max-width:100%; }
#page_display_nation .newnonflagstuff, #page_display_other_nation .newnonflagstuff { display:block; text-align:center; width:auto; flex-grow:100;}
#badge_rack { position:absolute; top:0; right:0; margin-top:3px; margin-right:2px; display:flex; flex-direction:column; }
#badge_rack .badge, #wabadges .badge { margin-bottom:2px; box-shadow:none; white-space:nowrap; transform:none; vertical-align:middle; float:none; -webkit-transform:none; vertical-align:initial; display:inline-block;}
.mod_status, .semimod_status, .mentor_status, .wa_status, .class_status { display:block; font-family:Impact,Georgia,Garamond,'Times New Roman',Times,serif; box-shadow:none; font-size:8pt; text-align:center; padding-right:3px;}
.mod_status, .wa_status, .class_status { padding-left:2px; }
.semimod_status, .mentor_status { padding-left: 24px;}

#wabadges {position: absolute; display:flex; top:4px; z-index:11;}
#page_display_region #wabadges { position:relative; }
#page_display_nation #wabadges, #page_display_other_nation #wabadges, #page_display_region #wabadges { margin-top:15px;}
#wabadges .wabadge img { max-width:35px;}
#page_display_nation #wabadges .wabadge img, #page_display_other_nation #wabadges .wabadge img, #page_display_region #wabadges .wabadge img { margin-bottom:15px;}
.newtitlepretitle { margin-right:6px; margin-top:3px; font-size:20px; text-shadow:none;}
.newtitlename { display:inline-block; text-shadow: 1px 1px 1px #999;}
.newtitlename a { font-size:30px; }
.newtitlename a.mediumname { font-size:26px; }
.newtitlename a.mediumlongname { font-size:22px; }
.newtitlename a.longname { font-size:20px; }
.newtitlecategory { letter-spacing:0; font-size:14px; }
.nationnavbar span.navtext { opacity:1; display:none;}
.nationnavbar i { margin:0 -3px; font-size:30px; }
.trophyline { margin-left:-5px; margin-right:-5px; padding-left:5em; }
#trophyselectors .nationnavbar { margin:0; }
#page_display_other_nation #modnatpanel { margin:4em 0 0 0; float:left;}
.rmbbuttons { opacity:1; }
.rmbbutton:hover, .rmbbutton:focus { background-color:inherit; background-image:none; }

table.mcollapse, table.mcollapse thead, table.mcollapse tbody, table.mcollapse th, table.mcollapse td, table.mcollapse tr { display:block; border-radius:0; } 
table.mcollapse thead tr, table.mcollapse th { font-weight:bold; border:0;}
table.mcollapse thead td, table.mcollapse th { border:0;}
table.mcollapse tr { border:1px solid #ccc;}
table.mcollapse td, table.mcollapse th { border:none; text-align:center !important; width:auto !important;}
table.mcollapseplain tr { border:0; }

table.ranks tr { position:relative; }
table.ranks a.nlink, table.ranks a.rlink { display:block; }
table.ranks img.smallflag { float:none; }
table.ranks td:nth-child(2) a img.smallflag { position:absolute; top:0; left:0; right:0; margin: 3px auto 0 auto; }
table.ranks td:first-child { text-align:left !important; color:#444; }
table.ranks.regionranks td:first-child { margin-top: 12px; }
table.ranks td:nth-child(1n+3) { font-size:x-small; padding:0.25em 0; }
table.ranks td:nth-child(5) { background-color:#FFF; }
table.ranks td:nth-child(5) a:link { font-size:12px; position:absolute; top:0; right:0; color:green; }
table.ranks i.icon-wa { float:none; }
table.ranks th { display:table-cell; }
table.ranks th.toggle-rank-chart { position:absolute; right:10px; top:1.25em; }

#bannerchoices li { margin:12px 0; max-width:100%; }
#page_activity .panelselector { margin:12px 0; line-height:18px; }
p.reports_dossier_line { float:left; }
p.reports_dossier_line i { vertical-align:sub; }
#aplayercontrols { margin:1em 0.25em; }
#aplayercontrols a { margin-left:1em; }
.reports_header a.rselector { margin:6px; display:inline-block; }
#reports ul { padding:0; }
#reports li { margin-bottom:0.4em; }

#page_create_dispatch span#dsubcatarr.vis { display:block;}
table#create_dispatch td { padding:0.4em 0; text-align:left !important;}
table#create_dispatch input[type="text"], table#create_dispatch textarea { width:100%; font-size:16px;}
table#create_dispatch input[type="text"] { padding:6px 0; }
.writedispatchbox { margin-top:6px; }
div.dispatch { padding-left:8px; padding-right:8px;}
div.dispatch h2 { font-size:18pt;}
.dispatchsamplemain { transform:scale(0.4); width:220%; margin-left:-60%; }
div.dispatchsample div.dispatch { max-height:140px;}
div.nscodesidebar { float:none; max-width:initial;}

fieldset.rmbpreview { margin-right:0; min-width:100px;}
table.tgsettings th { padding:0.5em 0; font-size:10px;}
table.tgsettings .tgcaticon { margin:2px; max-width:30%;}

table.subscriptions td { padding-left:0; padding-right:0; }

#panel li i { display:inline; color:inherit; text-shadow:none; font-size:18px; padding:0; vertical-align:inherit;}
#panel li:hover i { color:inherit; }

#panel .notificationnumber { left:1.3em; top:2px; right:auto;}
#panel a i { position:relative; z-index:4; }
#panel li:active { background-color:yellow; }

table.rmbtable, table.rmbtable td, table.rmbtable tr { border-radius:0; }
table.rmbtable { margin-bottom:12px; border-spacing:4px; }

.flagscontainer { width:40px; }
.flagcontainer { width:40px; padding-top:20px; left:0; text-align:left;}
.chart-container-compare { margin-left:60px; }

div.dpaperflag img, #page_dilemmas div.dpaperflag img { max-height:18px; max-width:24px; }
div.dpaperprice, #page_dilemmas div.dpaperprice { padding-top:0; margin-top:0; font-size:6px; line-height:1em; max-height:26px; overflow:hidden;}
div.dpaperdate { word-spacing:0; letter-spacing:0; }

ol.counter { padding-left:32px; }
ol.counter li::before { top:-6px; left:-32px; font-size:32px; }
 
.UN { background-size:contain; }

#mobileadbox a { color: #666666; }
#mobileadbox p { font-size:7pt; text-align:right; color:#666666; margin-top:4px; margin-right:12px; }

.fancylike, .fancylike a:link, .fancylike a:visited { text-shadow:none; }

.officerbox { width:auto; }
#page_display_nation #trophycabinet, #page_display_other_nation #trophycabinet { position:absolute; top:4px; left:4px; z-index:4; float:none; clear:none; margin:0; }
#trophycabinet a { position:relative; padding-bottom:3px; }
#trophycabinet a img { max-width:35px; }
#page_display_region #trophycabinet { position:absolute; right:0; padding:12px 0 0 0; }
fieldset.wfe { margin-right:6px; }
#trophymore { background-color:#FAFAF2; border: 2px solid #CCC; border-radius:0.5em; padding: 0.5em 0; margin:0; }
.newsloganbox { padding:0 4px; }
.slogan, .newsloganbox cite { font-size:12px; }
.slogan:before { font-size: 27px; left: -21px; top: -8px; }
.slogan:after { font-size: 27px; right: -18px; top: -5px; }
#page_compare h2, #page_display_other_nation_trend h2 { font-size:28px; margin:12px 0; }
.censusscoreboxbottom { font-size:95%;}
#dilemma ol.diloptions { padding-left:18px; }
#dilemma ol.diloptions li p { margin-left:0; margin-right:0;}
#page_enact_dilemma div.dilemmapaper { width:100%; margin:0 0 80px 0; }
#page_enact_dilemma div.dilemmapaper:last-child { margin-bottom:0; }
#page_enact_dilemma div.dpaper2 p, div.dpaper2 p, #page_dilemmas div.dpaper2 p { font-size:3.6vw; }
#page_enact_dilemma div.dpaper3d, div.dpaper3d, #page_dilemmas div.dpaper3d { font-size:2vw; }
#page_enact_dilemma div.dpaper4 p, div.dpaper4 p, #page_dilemmas div.dpaper4 p, #page_submit_issue input[name=iname] { font-size:4.5vw; }
#page_enact_dilemma div.dpaper4 p.dilchaintitle, div.dpaper4 p.dilchaintitle, #page_dilemmas div.dpaper4 p.dilchaintitle { font-size:2.6vw; }
#page_dilemmas .minorinfo { margin-top:inherit; }
#page_dilemmas div.dpaper2 p .dilspecialedition img { max-width:42px;}
.dilemmadismissbox { text-align:center; }
.bannerpostcard { margin:0 0 1.4em 0; max-width:100%; }
.bannerpostcardtext { position:static; background-color:gray; }
.bannerpostcard:after { top:0; }
#dlegislationbox { height:auto; }
#dlegislationtext { margin:8px 0 8px 16px; }

.rightbox,.floatrightbox {margin-right:0}
.fill-content .rightbox { margin-right:10px; }

#page_show_dilemma .rightbox button { margin-right:0; }
.wceffects a { margin-left:2px; margin-right:2px; }

#page_display_other_nation_trend .newmainlinebubble { margin:6px 3px; }

.wcnavbox { float:none; margin:0; text-align:right;}
#page_display_other_nation_trend .newmainlinefreedoms a .newmainlinebubblebottom { font-size:16px; padding:0 4px;}
table#trophyranks td, table#trophyranks th { font-size:12px; }
table#trophyranks td:nth-child(1n+2) { font-size:12px; }

.fillcontent { margin-left:-10px; padding-right:20px; }

.election_ticker { padding-top:5px; padding-bottom:5px; font-size:90%; }
.election_candidate_name { font-size:125%; }
.election_enter_race_button { top:84px; right:0; }
.election_navline { text-align:center; font-size:85%; }
.election_slogan { font-size:90%; display:block; clear:left;}
img.eflag { margin-bottom:3px; }
#election_candidates td { padding-left:0; padding-right:0; }


#style-selector.flatradio input[type=radio] + label { width:auto; }
#page_create_nation table.settings div.clippedflagbox { display:none; }
#page_create_nation .flatradio-grid input[type=radio] + label { font-size: 100%; }

#page_create_nation #freedom-graph-box { min-width:120px; padding:0; }

#historybox.flatradio-grid input[type=radio] + label { font-size:95%; padding:1em 0.1em; width:32%;}

#page_create_nation1 table.settings { margin-top:2px; }
#page_create_nation1 table.settings td { display:inline-block; padding:0; }
#page_create_nation1 table.settings td.left { display:block; margin:1.5em 0 0.5em 0;}
#page_create_nation1 table.settings td.indented { margin-left:0.5em;}
#page_create_nation1 table.settings td.create_nation_namebox { margin-top:0; }
#page_create_nation1 table.settings input[type=text], #page_create_nation1 table.settings td { width:auto; }
#page_create_nation1 button[name=create_nation] { font-size:175%; }
#page_create_nation1 table.settings td.longinputbox { width:95%; }
#page_create_nation1 table.settings td.longinputbox input { width:95%; }
#page_create_nation1 img.random-dice { position:absolute; top:-2.6em; right:0; }
#page_create_nation1 #pagenumtitle { top:0; left:auto; right:0; font-size:95%; color:#999;}
#page_create_nation1 #create_nation_header { display:block; }
#page_create_nation1 #random-slogan { margin-left:0; }

#zoverview td { font-size:1.5em; }
#zoverview #zrate td { font-size:1.8em; }
#page_zombie_control #zcontent { background-image: url(/images/af2013blood5.png); }
#zsuperweapon h2 { font-size:2em; }
.zsuperweapon_name { font-size:110%;}
.zday_ticker_title { display:none; }
.zday_ticker_category { border:0; padding:0; margin-left:-4px; }
.zday #wabadges, .zday #badge_rack, #page_display_nation .zday #trophycabinet, #page_display_other_nation .zday #trophycabinet { top:33px; } /* hack */

.WA_thing { margin-left:0; margin-right:0; padding-left:3%; padding-right:2%; }
.WA_thing p, .WA_thing textarea { font-size:110%; }
.WA_thing_header { background-image:none; margin-top:80px; }
.WA_thing_repealstamp { font-size:200%; }
.WApresbottom .floatrightbox { float:none; }
.WA_livevote { font-size:180%; }
#wa-chart-container { float:none; width:100%; height:200px; }
fieldset.WA_livevote_rvote { margin-right:0; margin-left:0; }
.WA_thing h2, .WA_thing h2 a:link, .WA_thing h2 a:visited, .WA_thing h2 textarea { font-size:18pt; }

.rmbtopline { display:flex; justify-content:space-between; align-items:flex-start; margin:0; padding-top:0.5em; }
.rmbtopline a.nlink .nnameblock .nname { font-weight:bold; font-size:100%;}
.rmbmetadata { display:flex; flex-direction:column; text-align:right; flex-shrink:2;}
.rmbdate a { color:#444; }

fieldset.rmbquoted legend .ntype { display:none; }

#notices li.clickablenotice div.noticestext { padding-right:20px; background:url(/images/mobilearrow.png) right center no-repeat; }
#notices, #notices li { display:block;}

.fill-content { margin-left:-10px; width:100vw; }
div.tg { margin-left:-10px; width:100vw; border-left-width:0; border-right-width:0; }

.tooltip { margin-right:initial; }
fieldset { margin-right:initial; }

#page_display_nation .nday_ticker, #page_display_other_nation .nday_ticker { display:none; }
.nday_ticker { padding-left:0; padding-top:0.75em; padding-bottom:0.75em; font-size:11px; }
a.nukehomehotlink { display:none; }
#page_nukes #nationcover, #page_factions #nationcover, #page_faction #nationcover { min-height:50px; }
.nuketoken { font-size:100%; }
.nuketoken i { font-size:inherit; }
ul.nukelog { padding-left:0; }
ul.nukelog li { padding:0.5em 0; border-bottom:1px dotted #CCC; display:block;}
ul.nukelog .nukelogfirstline { display:flex; justify-content:space-between; }
ul.nukelog .nukelogrest { display:flex; justify-content:space-between; }
ul.nukelog .nukelogrest div:nth-child(2) { color:#666; }
ul.nukelog .nukelogrest div:nth-child(3) { text-align:right; }
ul.nukelog .nukelogrest a, ul.nukelog .nukelogrest span.nukeextraprep { display:block; margin:0.5em 0;}
ul.nukelog .nukelogrest a.factionname { display:inline-block; }
.nukenfaction { float:none; }
h1.nukeh1 .fancylike { font-size:14px; }
.nukeiconbar { text-align:center; display: block;}
.nukselfview { border-radius:0;}
.nukescoreboard td:first-child { float:left; }
table.nukescoreboard td:nth-child(3):before { content:'Score: '; font-size:85%; color:#999; }

#pageload-indicator { top:6px; right:6px; }

.editortoolbar { font-size:16px;}
.editortoolbar .editor-button:hover { background-color:inherit; color:inherit; transition:none;}
button.resetbutton.enabled { display:inline-block; margin-right:0;}

.policybox { padding:0; width:100%; border:0; text-align:center;}
.policybox2 { position:relative; height:80px; width:100%; }
.policybox2 i { width:auto; background:none; transform:none; top:-40%; right:0;}
.policybox h2 { margin:0; font-size:130%;}
.policybox p { margin-top:0.2em;}
.policylist h2.policycat { margin-top:1em; margin-bottom:1em;}

table.nscodetable > tbody > tr:first-child > td { font-size:100%;}

td .deckcard-token { display:none;}
#content .minicard { margin-left:0; margin-right:0;}
.cardnameblock .nnameblock { display:block; font-size:90%;}
.deckcard-season-card-list .cardnameblock .nnameblock { display:inline-block; }
.deckcard-season-card-list .seasons-title { display:block; margin:1em;}
.deckcard #wabadges { display:block; position:static;}
.deckcard #wabadges .badge { vertical-align:middle;}
.auctiontradestable td:nth-child(3) { font-size:80%;}
#content #cardauctionoffertable th { min-width:30vw;}
#content #cardauctiontable td p { margin-left:0; margin-right:0;}
#page_deck td .nnameblock { word-break:break-word;}
#page_deck .cardprice { margin:0.4em;}
#page_deck table.nscodetable td p { margin:0;}

.herobg { height:16em; padding-bottom:1em;}
.herobg h1 { font-size: 400%; }
.herobgflag { left: 50%; right: 0em; top: 5em; transform: translate(-50%, -50%); max-height: 8em;}

@media only screen and (max-width: 350px)
{
    .newmainlinebubble { min-width:60px; }
    .nationnavbar i { font-size:25px; }
}
@media only screen and (max-height:500px)
{
    /* in landscape mode, we need as much screen real estate as possible, so make topbar non-sticky */
    #banner, #page_welcome #banner, #loggedin #banner, #page_welcome #loggedout #banner { position:absolute;}
}
