/* non standart tag, but we need it when displaying long urls
   (zero-width space)
   we need this hack for browsers that don't support <wbr>
*/
wbr {
	display: inline-block;
}

body {
	margin: 5px;
	background: #ddd;
	font-size: 0.85em;
}

.fixedwidth {
	margin: 0 auto;
	max-width: 70em;
	padding: 5px 10px;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	border-color: #aaa;
}

.nowrap {
	white-space: nowrap;
}
.dowrap {
	white-space: normal;
}
.alignleft {
	text-align: left;
}
.aligncenter {
	text-align: center;
}
.alignright {
	text-align: right;
}
.italic {
	font-style: italic;
}
.strong {
	font-weight: bold;
}
.display_none {
	display: none;
}
.sidemargin2em {
	padding: 0 2em;
}
.displayinline {
	display: inline;
}
.textjustify {
	text-align: justify;
}
/* main menu section */
div#mainmenubox {
	background-image: url(/img/menu/bg.gif);
	background-repeat: repeat-x;
	position: relative;
	margin-bottom: 10px;
	padding: 0;
	background-color: #ddd;
	height: 100px;
}
div#mainmenubox img {
	border: 0;
	margin: 0;
}
div#mainmenu {
	font-family: Verdana,Arial;
	font-size: 0.9em;
	font-weight: bold;
	color: black;
	background-color: white;
	bottom: 5px;
	right: 10px;
	position: absolute;
}
div#mainmenu img {
	vertical-align: top;
}
div#mainmenu a {
	color: black;
	text-decoration: none;
}
div#mainmenu a:hover {
	text-decoration: underline;
}
span.mainmenu {
	background-image: url(/img/menu/ib.png);
	background-repeat: repeat-y;
}
span.menuselected {
	background-color: #bbb;
}

div#footer {
	font-family: Arial,Tahoma,Verdana;
	text-align: center;
	font-weight: bold;
	font-size: 1.2em;
	line-height: 3em;
	color: #ddd;
	background: #c11;
	border-top: 5px solid #711;
	margin-top: 10px;
	clear: both;
}
div#footer a {
	color: #ddd;
	text-decoration: none;
}
div#footer a:hover {
	text-decoration: underline;
}

/* test form decoration */
div#testform_container {
	margin-top: 5px;
	margin-bottom: 10px;
	margin-right: 270px;
}
ul#formheader {
	list-style-type: none;
	margin: 1px 0 0 0;
	padding: 0 0 0 1.5em;
	position: relative;
	font-family: Verdana;
	font-size: 1.05em;
}
ul#formheader li {
        padding: 1px 4px 0 4px;
	display: inline;
	cursor: pointer;
}
li.formheadernotselected {
        background: #ccc;
	color: #666;
        border: 1px solid;
        border-color: #fff #aaa #fff #fff;
	border-bottom: 0;
}
li.formheaderselected {
        background: #ddd;
        border: 1px solid;
	border-color: #fff #aaa #ddd #fff;
}
table#form_perf {
	background: #ddd;
	font-family: Verdana,Arial;
	width: 100%;
	border-left: 1px solid #fff;
	border-right: 1px solid #aaa;
	margin-bottom: 5px;
}
form#testform {
	display: inline;
}
div#testform_container td {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #aaa;
}
.formlegend {
	text-align: right;
	line-height: 1.5em;
	width: 7em;
	padding-left: 5px;
}
.forminput {
	padding: 8px;
}
div.formitemself1 {
	border-left: 1px solid #fff;
}
div.formitemself2 {
	padding-left: 6px;
	border-left: 1px solid #aaa;
}
.httpfeature span {
	display: inline-block;
	width: 13em;
	margin-right: 2em;
}
.httpfeature input, .httpfeature select {
	float: right;
}
div#formurl {
	height: 21px;
	border: 1px solid #333;
	background: #c11;
	padding-left: 18px;
}
input.formsubmit {
	background: #c11;
	border: 1px solid #333;
	position: absolute;
	right: -61px;
	top: -1px;
}
img.inputicon {
	position: absolute;
	left: 1px;
	bottom: 2px;
}
div.forminputcontainer {
	background: #c11;
	border: 1px solid #333;
	padding: 0 2px 0 18px;
	height: 21px;
	position: relative;
	margin-right: 60px;
}
input.forminputvalue {
	border: 0;
	background: #c11;
	width: 100%;
	height: 18px;
	padding: 2px 2px 0 0;
	margin: 0 0;
	color: #eee;
	font-size: 14px;
	position: relative;
}
div#formpoint {
	height: 24px;
	padding-right: 17px;
	background: #c11;
	position: relative;
	cursor: pointer;
	color: #eee;
	font-size: 14px;
	line-height: 1.2em;
}
img#formdropdown {
	float: right;
	margin-right: -17px;
}
div#formpointhint {
	height: 18px;
	padding: 3px 4px 1px 5px;
	border: 1px solid #333;
	border-right: 0;
}
div.formpointselection {
	height: 18px;
	display: none;
	border: 1px solid #333;
	border-right: 0;
	padding: 3px 4px 1px 3px;
}

ul#formpointlist {
	margin: 0;
	padding: 0;
	visibility: hidden;
	position: absolute;
	list-style-type: none;
	width: 100%;
	background: #ddd;
	color: #000;
	z-index: 1;
}
ul#formpointlist li {
	border: 1px solid;
	border-color: #fff #aaa #aaa #fff;
	padding: 2px 3px 1px 3px;
	background: #ddd;
}
ul#formpointlist li:hover {
	background: #ccc;
}
div#formpoint a {
	color: #ccc;
	float: right;
}
ul#formpointlist a {
	color: blue;
	float: right;
}
img.pointicon {
	float: left;
	margin-right: 4px;
}
td.forminput select {
	font-size: 1em;
}
div#options_switcher {
	float: right;
	color: #111;
	border: 1px solid #333;
	padding: 0 5px 1px 5px;
	background: #c11;
	cursor: pointer;
}
ul#dns_override_list {
	list-style-type: none;
	margin: -2px 0;
	padding: 0;
}
ul#dns_override_list li {
	margin: 2px 0;
}
span#dns_override_expand {
	font-size: 120%;
	color: red;
	margin: 0;
	width: auto;
	padding: 0 3px;
	cursor: pointer;
}

div.content_container {
	margin-right: 270px;
}

/* Testing progress page */
div.testprogress {
	display: inline;
}
div.progressbar {
	border: 1px solid #aaa;
	padding: 2px;
	margin: 2px;
	width: 250px;
}
div.progressbar img {
	height: 13px;
	width: 1px;
}

/* results diagram */
div.scale {
	text-align: right;
	position: relative;
	width: 411px;
	margin-right: -50px;
}
div.scale div {
	position: relative;
	float: left;
	text-align: center;
}
div.scale4 div {
	width: 90px;
	right: 45px;
}
div.scale5 div {
	width: 72px;
	right: 36px;
}
div.scale6 div {
	width: 60px;
	right: 30px;
}
tr#results_finish > td.scale_first {
	border-left: 1px solid #a11;
}
td.scale_first {
	width: 1px;
	border: 1px solid;
	border-color: #f44 #a11 #a11 #f44;
	border-right: 0;
}
td.scale_middle {
	width: 361px;
	border-style: solid;
	border-color: #f44 #a11 #a11 #f44;
	border-width: 1px 0;
}
td.scale_last {
	border: 1px solid;
	border-color: #f44 #a11 #a11 #f44;
	border-left: 0;
}
td.scale_last div {
	width: 50px;
}
table#results thead td {
	background: #c11;
	color: #ddd;
}

.odd { 
	background-color: #ddd;
}
td.even4 {
	background-image: url('/img/scale/4e.png');
}
td.even5 {
	background-image: url('/img/scale/5e.png');
}
td.even6 {
	background-image: url('/img/scale/6e.png');
}
td.odd4 {
	background-image: url('/img/scale/4o.png');
}
td.odd5 {
	background-image: url('/img/scale/5o.png');
}
td.odd6 {
	background-image: url('/img/scale/6o.png');
}
td.bars {
	text-align: left;
	height: 17px;
}
span.bar {
	display: inline-block;
	font-size: 0px;
	height: 13px;
	width: 70px;
	background-image: url(/img/bar/sprite.png);
	background-repeat: repeat-x;
}
span.b_gray {
	background-color: #bbb;
	background-position: 0px 0px;
}
span.b_darkgray {
	background-color: #888;
	background-position: 0px -13px;
}
span.b_black {
	background-color: #000;
	background-position: 0px -26px;
}
span.b_red {
	background-color: #f00;
	background-position: 0px -39px;
}
span.b_yellow {
	background-color: #ff0;
	background-position: 0px -52px;
}
span.b_green {
	background-color: #4f4;
	background-position: 0px -65px;
}
span.b_blue {
	background-color: #48f;
	background-position: 0px -78px;
}
span.b_pink {
	background-color: #f4f;
	background-position: 0px -91px;
}

div.mime {
	position: relative;
}
/* center image */
td.mime img {
	display:block; 
	margin: 0 auto;
	padding-top: 1px;
}
table.hint {
	border-spacing: 0;
	background-color: #ffb;
	position: absolute;
	visibility: hidden;
	left: 40px;
	bottom: 0px;
	border: 1px solid #000;
}
table.hint td {
	padding: 0 3px;
}
td.hint {
	text-align: right;
}
table#results {
	margin: 10px 0;
	width: 100%;
	border: 0;
	background: #fff;
	clear: both;
	line-height: 1.3em;
}
table#results thead th {
	background-color: #c11;
	color: #ddd;
	border: 1px solid;
	border-color: #f44 #a11 #a11 #f44;
	padding: 0 4px;
	font-size: 1em;
	line-height: 1.2em;
}
table#results th a {
	color: #ddd;
}
td.r_id {
	padding-right: 5px;
	border-left: 1px solid #fff;
	text-align: right;
}
td.results_code {
	text-align: right;
	padding-right: 5px;
	border-right: 1px solid #aaa;
}
tr#results_finish {
	background-color: #c11;
	color: #ddd;
}
tr#results_finish td {
	border-top: 1px solid #a11;
	border-bottom: 1px solid #a11;
}
td#results_finish_left {
	border-left: 1px solid #a11;
}
.rborder {
	border-right: 1px solid #aaa;
}
table#results tfoot .rborder {
	border-right: 1px solid #a11;
}
table#summary {
	background: #fff;
	margin-bottom: 10px;
	margin-right: 15px;
	border: 1px solid #aaa;
	float: left;
	font-size: 0.95em;
	line-height: 1.3em;
}
table#summary td {
	padding: 0 5px;
	white-space: nowrap;
}

table.legend {
	background: #fff;
	border: 1px solid #aaa;
	margin-bottom: 10px;
	font-size: 0.95em;
	line-height: 1.3em;
}
table.legend td {
	padding: 0 5px;
}
.legend_time {
	width: 7.5em;
	white-space: nowrap;
}
#servers_legends {
	position: relative;
}
.legend_hint {
	visibility: hidden;
	position: absolute;
	top: 0;
	right: 0;
	_right: -1px;
}

table#servers {
	border-spacing: 0;
	border: 0;
	border-bottom: 1px solid #aaa;
	margin-right: 10px;
	background: #fff;
	font-size: 0.95em;
	line-height: 1.3em;
}
table#servers th {
	border: 1px solid;
	border-color: #f44 #a11 #a11 #f44;
	color: #ddd;
	background-color: #c11;
	padding: 0 5px;
}
table#servers td {
	padding: 0 5px;
}
td.servers_ip {
	border-left: 1px solid #fff;
	text-align: center;
}

/* text content */
div.white_block {
	border: 1px solid #aaa;
	background: #fff;
	margin: 5px 270px 5px 0;
	font-family: Tahoma,Verdana,Arial;
	padding: 0;
	line-height: 1.5em;
}
div.white_block a {
	color: #c11;
}
div.white_block a:visited {
	color: #811;
}
.white_block h1 {
	border-bottom: 1px solid #aaa;
	margin: 0 0 1em 0;
	padding: 0.2em 0.5em;
	background: #c11;
	color: #ddd;
	font-family: Arial,Verdana;
	font-size: 1em;
	font-weight: bolder;
	line-height: 1.2em;
}
.white_block dd {
	margin-bottom: 0.5em;
	position: relative;
}
.white_block dt {
	margin-top: 0.5em;
	position: relative;
}
div#mainpage {
	margin-left: 16em;
}
dt.feature_title {
	padding-left: 1em;
}
dd.feature_descr {
	margin: 0;
	padding: 0 2em 0.5em 2em;
	vertical-align: top;
	text-align: justify;
}

/* mainpage images hints */
div.imghint {
	border-spacing: 0;
	background-color: #ffb;
	position: absolute;
	visibility: hidden;
	left: 128px;
	top: -1px;
	width: 240px;
	padding: 5px;
	margin: 0px;
	border: 1px solid #000;
	text-align: justify;
}
div.imgbox {
	position: relative;
	background-image: url(/img/thumb/sprite.png);
	float: right;
	width: 128px;
	height: 96px;
	border: 1px solid #000;
	padding: 0;
	margin-left: 1em;
}

/* news */
div#siteperf_news {
	width: 15.3em;
	border: 1px solid #aaa;
	background: #fff;
	font-family: Tahoma,Verdana,Arial;
	padding: 0;
	float: left;
}
div#siteperf_news h1 {
	border-bottom: 1px solid #aaa;
	margin: 0;
	padding: 0.2em 0.5em;
	background: #c11;
	color: #ddd;
	font-family: Arial,Verdana;
	font-size: 1em;
	font-weight: bolder;
}
div#siteperf_news dl {
	padding: 0 20px 0 10px;
	text-align: justify;
}
div#siteperf_news dd {
	margin: 0 0 10px 20px;
	line-height: 1.3em;
}


/* adsense */
div#rightbar {
	width: 262px;
	float: right;
}
div.adsensemainpage {
	background-color: #fff;
	margin: 0px;
	padding: 5px;
	width: 250px;
	height: 250px;
	border: 1px solid #aaa;
	position: relative;
}
div.adsense {
	background-color: #fff;
	margin: 0px;
	padding: 5px;
	width: 250px;
	height: 250px;
	border: 1px solid #aaa;
	float: right;
	position: relative;
}
div.adscharttop1 {
	clear: both;
	text-align: center;
	margin-top: 10px;
}
div.adscharttop2 {
	text-align: left;
	border: 1px solid #aaa;
	width: 728px;
	height: 15px;
	padding: 5px;
	background: #fff;
	margin: 0 auto;
}
div.adschartbottom {
	clear: both;
	text-align: center;
	margin: 10px;
}

/* last tests */
div#lasttests {
	margin: 15px 0;
	border: 1px solid #aaa;
	background: #fff;
}
div#lasttests h1 {
	border-bottom: 1px solid #aaa;
	margin: 0;
	padding: 0.2em 0.5em;
	background: #c11;
	color: #ddd;
	font-family: Arial,Verdana;
	font-size: 1em;
	font-weight: bolder;
	line-height: 1.2em;
	cursor: pointer;
}
ul#testslist {
	list-style-type: none;
	padding: 0;
	margin: 1em 0.5em;
}
ul#testslist li {
	margin: 0.5em;
	display: block;
	overflow: hidden;
}
ul#testslist a {
	color: #c11;
}
ul#testslist a:visited {
	color: #811;
}
/* social bookmarks */
iframe#bookmark_frame {
	margin: 0 0 0 12px;
	width: 200px;
	height: 250px;
	padding: 0;
}

div#bookmark {
	overflow: visible;
}
div#bookmark ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
div#bookmark li {
	margin: 10px 0;
}
div#bookmark a {
	text-decoration: none;
}
span.bookmarkicon {
	background-image: url(/img/icons/sprite.png);
	width: 16px;
	height: 16px;
	display: inline-block;
}

/* results description */
#perf-descr {
	margin-right: 10px;
	line-height: 1.3em;
}
/*
#perf-descr h1 {
	cursor: pointer;
}
#perf-descr h1 span {
	float: right;
	border-left: 2px solid #aaa;
	padding-left: 0.5em;
	color: #aaa;
}
#perf-descr dl {
	margin: 10px -2em;
}
*/
#perf-descr dd {
	margin: 1em 1em 0 70px;
	text-align: justify;
}
#perf-descr dt {
	margin: 1em 1em 0 70px
}
#perf-descr .bar {
	margin: 0 10px 0 -80px;
	float: left;
}
#perf-descr p {
	background: #ffb;
	border: 1px solid #000;
	padding: 0.5em;
	margin: 1em 0;
}

/* traceroute */
div.td_trace_zoom {
	position: relative;
	z-index: 1;
}
div.trace_zoom {
	visibility: hidden;
	position: absolute;
	width: 411px;
	border: 1px solid #000;
	padding: 10px 10px 0 10px;
	_padding: 10px 20px 0 0;
	_width: 431px;
	left: 50px;
	top: 20px;
	background-color: #ffb;
}

div.histogramm {
	font-size: 0px;
	width: 361px;
	position: relative;
	border-bottom: 1px solid #000;
	border-top: 1px solid #000;
	margin: 0;
	z-index: 1;
}
div.histogramm div {
	position: absolute;
	width: 0;
	height: 0;
	bottom: 0;
	border-width: 0px 6px;
	border-style: solid;
	border-color: transparent #a00;
	_border-top-color: white;
/*	_filter: chroma(color=white); */
}
td.columns2 {
	width: 50%;
	padding: 0 1em;
	vertical-align: top;
}

div.flag {
	width: 16px;
	height: 11px;
	background-image: url(/img/flags/sprite.png);
	_margin-top: 3px;
}

.results_code div.flag {
	margin-left: 5px;
}
