html { min-height: 100%; }
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10pt;
	margin: 0px;
	cursor: default;
	text-align: center;
    max-width: 100%; 
    overflow: auto;
    background-color: #eee;
    background: linear-gradient(0deg, #eee, #f5f5f5);
    min-height: 100%;
}

#title { display: none; }

.small {
	font-size: x-small;
}

.statsitem {
	text-align: left;
	margin: 2px;
	border: solid 1px #000000;
	width: 256px;
	height: 2em;
	padding: 2px;
	padding-top: .75em;
}

.statscount {
	text-align: right;
	margin-top: -1em;
}

#header {
	color: #ffffff;
	width: 800px;
    max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5px;
	background-color: #0000b4;
	text-align: center;
	border: solid 1px #000;
	border-bottom: 0px;
    box-sizing: border-box;
}
#header .header_image
{
    /*
    width: 1024px !important;
    height: 200px !important;
    display: block;
    */
}
#header img
{
    max-width: 100%;
}

#navigation_bar {
	color: #ffffff;
	background-color: #0000b4;
	width: 800px;
    max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: -2em; 
	text-align: center;
/*	border-bottom: solid 1px #000000;
	border: solid 1px #000000;
	border-top: 0px;*/
    padding-bottom: 10px;
    padding-left: 300px;
    box-sizing: border-box;
}

#navigation_bar span {
	margin-left: 0;
	padding-left: 2px;
	border: none;
	display: inline;
}
#navigation_bar span:before
{
    content: '\2022\A0';
}
#navigation_bar span:first-child:before
{
    content: "";
}

#navigation_bar a {
	color: #ffffff;
	text-decoration: none;
	font-weight: bold;
}

#navigation_bar a:hover {
	text-decoration: underline;
}

#login form span { display: block; }

#login {
	text-align: center;
    width: 800px;
    margin-left: auto; margin-right: auto;
    max-width: 100%;
    background-color: #0000b4;
    color: #fff;
    padding: 5px;
    box-sizing: border-box;
    column-count: 3;
    column-gap: 0px;
}

#login label { font-size: 90%; font-weight: bold; margin-right: 2px; display: inline-block; }

#login .submit {
	color: #ffffff;
	border: solid 2px #ffffff;
	background-color: #0000b4;
	font-weight: bold;
}

#login input {
	font-size: 10pt;
    background-color: #6f6fb5;
    border: solid 1px #0000a3;
    color: #fff;
}

#error_message {
	text-align: center;
	font-weight: bold;
	color: #ff0000;
	font-size: 1.25em;
}

#content {
	width: 800px;
    max-width: 98%;
	border: solid 1px #0000b4;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	padding: 3px;
	min-height: 50%;
    background-color: #fff;
    box-sizing: border-box;
}

#content .welcome_message {
	
}

#content .header {
	background-color: #0000b4;
	color: #ffffff;
	font-weight: bold;
	font-size: 1.1em;
}

.starpower { text-decoration: none; color: yellow; font-size: 14pt; line-height: 10pt; text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; }
.checkity { color: #009933; font-size: 14pt; line-height: 10pt; text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; }

#help hr
{
    height: 1px;
    border: 0;
    background-color: #ccccd4;
}

#help p
{
    text-align: justify;
}

#content .rowA {
	background-color: #f5f5f5;
}

#content .rowB {
	background-color: #e0e0e0;
}
#content h2 {
	padding-top: 0px;
	margin-top: 0px;
}

#content p {
	padding-left: 1em;
	padding-right: 1em;
}

#content h1 {
	text-align: center;
}

#content .error {
	width: 800px;
    max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

#ads {
	text-align: center;
	width: 800px;
    max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1em;
	background-color: #ffffff;
	font-size: x-small;
}

#footer {
	/*display: none;*/
    margin-top: 1em;
	height: 50px;
	text-align: center;
	width: 100%;
    max-width: 100%;
}

#counter {
	width: 200px;
	height: 200px;
	text-align: center;
	background-color: #0000b4;
	color: #ffffff;
}

.tbox {
	border: solid 1px #000000;
}

.httpwarn
{
    padding-bottom: 1em;
    color: red;
    text-align: justify;
}

.token
{
    display: block;
    margin: 2px;
    background-color: #eee;
    padding: 5px;
    text-align: center;
    font-family: monospace;
    font-size: 80%;
    overflow: auto;
}

.button
{
    border: solid 1px #ccc;
    background-color: #eee;
    padding: 1px;
    text-align: center;
    cursor: pointer;
    border-radius: 3px;
}
.button img { vertical-align: middle; }

#menu
{
    position: absolute;
    display: none;
    background-color: #fff;
    padding: 2px;
    border: solid 1px #999;
    min-width: 80px;
    text-align: left;
}
#menu div.menuitem { padding: 4px; }
#menu div.menuitem:hover { background-color: #eee; }

form { display: inline; }

.continent
{
    font-weight: bold;
    background-color: #0000b4;
    color: #fff;
}
.timezone
{
    padding-left: 15px;
}

.message
{
    color: #090;
    text-align: center;
    font-size: 110%;
    font-weight: bold;
}

.remove a img { height: 1.15em !important; }

.ad { border: solid 1px #0000b4; position: relative; margin-top: 15px; margin-bottom: 5px;}
.ad:before { content: 'Paying the bills'; font-size: 10px; position: absolute; top: -15px; left: 2px; color: #ccc; }

@media only screen and (max-width: 801px)
{
    #header, #navigation_bar, #content { border: 0; }
}
.notice { display: none; }
.host
{
    border: solid 1px #0000b4;
    margin-bottom: 5px;
    overflow: hidden;
}
.host label { margin-right: 5px; font-weight: bold; }
.host .primary
{
    background-color: #f5f5f5;
    padding: 2px;
    column-count: 3;
    column-gap: 2px;
    position: relative;
}
.host .primary span { display: block; }
.host .primary span div { display: inline; }
.host .secondary
{
    padding: 2px;
    display: block;
    padding-bottom: 4px;
    position: relative;
    column-count: 2;
    column-gap: 2px;
}
.host .secondary label { display: inline-block; min-width: 120px; }
.host .secondary span { display: block; }
.host .secondary .updated { display: none; }
.host .secondary .dnsdefault { padding: 4px 0px; }
.host .actions { display: block; text-align: right; padding: 4px; }
.host .actions label { cursor: pointer !important; display: inline; min-width: 0px; margin-left: 4px; font-weight: normal; }
.host .actions a, .host .actions span { cursor: pointer; text-decoration: none; color: #000; border: solid 1px #999 !important; background-color: #f0f0f0; border-radius: 3px; padding: 2px; white-space: nowrap;}
.host .actions a:hover, .host .actions span:hover { background-color: #f5f5f5; }
.host .actions a img, .host .actions span img { vertical-align: middle; margin-top: -3px; height: 1em !important; }
.host .actions span { display: inline; }

.starpower { font-size: 14pt; }
.highlighted { background-color: rgba(255,255,255,.25); padding: 0px 4px; }
.filterbar { padding: 5px; border: solid 1px #0000b4; margin-bottom: 5px; }
.filterbar .sorter { float: right; }

.sortable
{
    width: 100%;
    border-collapse: collapse;
    border: solid 1px #000;
    padding: 3px;
}
.sortable th, .sortable td
{
    text-align: center;
}
.sortable th
{
    background-color: #eee;
    border-bottom: solid 1px #666;
}
.sortable td
{
    padding: 2px;
    border-bottom: dotted 1px #333;
}

.smaller { font-size: smaller; }
.flag
{
    height: 12px;
    margin-right: 4px;
    vertical-align: text-top;
}

@media only screen and (max-width: 500px)
{
    .notice { display: block; padding: 2px; text-align: justify; }
    .host .primary
    {
        column-count: 2;
    }
    .host .primary .updated { display: none; }
    .host .secondary .updated { display: block; }

    .host .secondary { display: none; column-count: 1; }
    .host .secondary .dnsname { text-align: center; }
    .host .secondary .dnsname label { display: block; text-align: left; }
    .host .actions label { display: none; }

    .highlighted { padding: 0; background-color: inherit; }
    #navigation_bar span { display: block !important; padding: .5em; }
    #navigation_bar
    {
        column-count: 3;
        column-gap: 2px;
        column-gap:
    }
    #navigation_bar span:before { content: ''; }
}

@media (max-width: 799px)
{
    body { margin: 0; margin-bottom: 3em; }
    #header {width: 100%; margin: 0; }
    #header img { max-width: 100%; }
    #ads { max-width: 100%; }

    #content { border:0; }
    #content .sortable { font-size: 10pt; }
    #content .lastupdate { white-space: normal; }
    #footer { position: fixed; bottom: 0; left: 0; width: 100%; max-height: 3em; background-color: #fff; }
    #login { column-count: 1; }
    #login label { display: inline-block; width: 150px !important; }
    #navigation_bar { margin-top: 0px; padding-left: 2px; }
    .filterbar input[type="text"] { width: 65%; }
    .filterbar .sorter { display: block; float: none; margin-top: 2px;  }
}

