body { line-height: normal; }
h1 { font-size: 2em; text-shadow:none; }
h2 { font-size: 1.6em; }
#summarybar { margin:6px; box-shadow: 1px 1px 1px; background-color:#696; background: -moz-linear-gradient(center top, rgb(102, 193, 102), rgb(42, 93, 42)); background: -webkit-linear-gradient(top, #66c10a, #2a5d2a); display: block; color:white; font-weight: bold; margin: 0; padding: 10px; margin: 0 0 0 0 ; 6px 6px 2px 6px;}
#mobile-indicators { font-weight:normal; font-size:8pt; }
.mobilemenuicon { border-bottom: 15px double white; border-top: 5px solid white; height: 5px; width:30px; color:white; display:inline-block; margin-left: 16px; margin-right: 9px; vertical-align: middle;}
.summarybartext { display:inline-block; vertical-align:middle;}
#maxad, #removead { display:none; }
#panel { width:auto; position:inherit; overflow:auto; display:none;}
#panel.fullscreen { display:block;}
#main { margin: 0 0 0 4px; }
#content { margin:0; padding-left:10px; }
#banner, #page_welcome #banner, #loggedin #banner { margin:0; padding: 0; height:auto; background-image:none; background-color:#DADAD2; }
#loggedin #banner { position:static; }
#mobileadbox { text-align:center; min-height:50px; margin-top:6px; }
#mobileadboxinner { display:inline-block; }
#mobileadbox p { text-align:right; color:#666666; margin-top:0; margin-right:4px;}
#mobileadbox a { color: #666666; }
#banner img.logo, #page_welcome #banner img.logo { float:none; margin:0; padding:0; }
#page_welcome #welcomelinks { line-height: 3em; margin-bottom: 3em;}
#page_welcome #welcomelinks a { white-space: nowrap; }
.hide { display:none; }
.fullscreen { display:block; }
.fill-content { margin-left:-10px; margin-right:-10px; }
#loggedin #panel, #loggedin #content { margin-top:0; }
#panel { color:white; top:0;left:0;width:100%;position:absolute; background-color:black;z-index:1001; -moz-opacity:0.9;opacity:.9;filter:alpha(opacity=90); z-index:1002;overflow:auto; }
#panel ul.menu { width:auto; display:block; margin-top:7px;}
#panel ul.submenu { display:flex; flex-wrap:wrap; justify-content:space-between; }
#panel ul.menu a, #panel a:visited, #panel a:link {color:#fff; font-size: 130%; text-shadow:none;}
#panel ul.menu a:hover { color:#FFF; text-decoration:none;}
#panel ul.menu a {padding:8px;border-top:1px solid #444; }
#panel li.STANDOUT { font-weight:bold; background-position: right 14px; }
#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 { text-align:right; margin:52px 2px 2em 0; 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; }
#panel ul.submenu a { border:0; padding:8px 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 { background:none; margin-right:20%; margin-left:12px; }
#panel .loginbox input[type="text"],#panel .loginbox input[type="password"] { width:100%; font-size:150%; }
#panel .loginbox input[type="submit"] { font-size: 120%; padding: 8px 16px; }
#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%; }
#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%;}
.newrinfbubble { margin-right:0; width:48%;}
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 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 .bannersample { box-shadow:none; }
#page_settings .bannersample img { box-shadow:0 4px 2px #999;}
#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: 4px 8px; }
.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; }
div.tgrecruitmovebutton input { float: none; margin: 8px 0;}
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 { max-width: 100%; }
.searchbox { float:none; text-align:center;}
#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; padding:1px 6px; }
.rmbbuttons a:first-child { margin-left:2px; }
.rmbembassy { display:inline; white-space:nowrap;}
.rmbembassy i { font-size:13px;}
.embassypending, .embassycancel { margin-right:0; }
 fieldset.rmbquoted { margin-right:0; }
 #nationcover {box-shadow:none;}
.lineundercover { display:flex; }
#page_display_nation .newflagcellbox, #page_display_other_nation .newflagcellbox { display:block; padding:0 8px 0 0; max-width:32%;}
#page_display_region h1 img.rflag { max-width:32%; margin-top:0; }
#page_display_region #wabadges { display:block; }
.newflagbox { display:inline; }
#page_display_nation .newflagbox, #page_display_other_nation .newflagbox { display:block; margin-top:-18px; }
.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-left:2px; padding-right:2px;}
#page_display_nation #wabadges, #page_display_other_nation #wabadges { position:relative;}
#wabadges .wabadge { position:absolute; top:0; right:-12px; transform:translateY(-88%); z-index:5; } /* TODO: Fix to work for multiple badges */
#page_display_region #wabadges .wabadge { transform:none; top:2px; right:-2px; }
#wabadges .wabadge img { max-width:55px; }
#page_display_region #wabadges .wabadge img { max-width:44px; }
.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; text-align:center;}
.nationnavbar { margin-left:-10px; margin-right:-10px; }
.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; }
#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;}
.writedispatchbox { margin-top:6px; }

table.tgsettings th { padding:0; font-size:11px;}

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

#panel .notificationnumber { left:auto; top:4px; }
#panel li:active { background-color:yellow; }

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

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

div.dpaper2 p { font-size:18px; }
div.dpaper3d { font-size:9px; }
div.dpaperflag img { max-height:32px; max-width:32px; }
div.dpaperprice { padding-top:0; margin-top:0; font-size:8px; line-height:1em; max-height:26px; overflow:hidden;}
div.dpaperdate { word-spacing:0; letter-spacing:0; }
div.dpaper4 p, #page_submit_issue input[name=iname] { font-size:16px; }
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; }

div.producttext { margin-left:initial; }
div.producttext h2 { clear:left; }

.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; z-index:1; 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; }
.slogan:before { font-size: 40px; left: -26px; top: -12px; }
.slogan:after { font-size: 40px; right: -22px; top: -9px; }
#page_compare h2, #page_display_other_nation_trend h2 { font-size:22px; margin:12px 0; }

#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 { font-size:4vw; }
#page_enact_dilemma div.dpaper4 p { font-size:1.2em; }
.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:0; }

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

#page_display_other_nation_trend .newmainlinebox { font-size: 85%; }
.wcnavbox { float:none; margin:0; }

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; }

.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; }

@media only screen and (max-width: 350px)
{
    .newmainlinebubble { min-width:60px; }
    .nationnavbar i { font-size:25px; }
    .regionnavbar i { padding:0 4px; }
    #panel ul.submenu a { font-size:120%; }
}
