body,select,form,td,h1,h2,h3 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-style: normal; font-variant: normal;
	font-weight: normal; font-stretch: normal;
	font-size: 10pt;
	margin: 0px;
	padding: 0px;
}

body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: black; 
	padding: 0;
}

#bottomshadow {
	width: 980px; max-width: 980px;
	margin-left: auto;
	margin-right: auto;

	padding-top: 0px;
	padding-bottom: 0px;

	/* background: url('shadow_foot.png') #ffffff bottom no-repeat; */
}


#allinone {
	width: 980px; max-width: 980px;
	margin-left: auto;
	margin-right: auto;
 
	/* background: url('shadow.png') repeat-y; */
}

#login_index {
	margin-left: 440px;
	padding-top: 150px;
}

#splash {
	width: 980px; max-width: 980px;
	background: url('splash.png') #ffffff bottom no-repeat;
}

a {
	text-decoration: none;
	color: #3C4B5D;
	/*background: url('link.png') no-repeat;
	padding-left:1em;*/
}

a:hover {
	text-decoration: underline;
}

a.novisited:visited {
	color: #3C4B5D;
}

a:visited {
	text-decoration: none;
	color: #920044;
}

a:visited:hover {
	text-decoration: underline;
	color: #920044;
}

a.selected {
    background-color: #3C4B5D;
	color:white;
}

tr.hoverhi:hover {
	color: #3C4B5D;
}


pre { font-family: monospace; }

pre.code { 
	padding:0.2em; 
	font-family: monospace; 
	/*border-left: 1px solid #999999; 
	border-bottom: 1px solid #ccc; 
	background-color: #f8f8f8; */
	overflow: auto; 

	/* XXX: tieto dve suvisia! */
	font-size: 0.9em; 
	width: 50em; 

	font-weight: normal; 
}


h1 { font-size: 200%; font-weight: bold; }
h2 { font-size: 150%; font-weight: bold; border-bottom: 1px solid #eeeeee; padding-top:0.5em; }
h3 { font-size: 120%; font-weight: bold; border-bottom: 1px solid #eeeeee; padding-top:0.5em; }

#top {
	width: 980px; max-width: 980px;
	margin: 0;
	padding: 0;

	height: 82px; max-height: 82px;
	/* background: url('ipsec-isp-panel-top.png') no-repeat; */
}
#menu {
	width: 980px; max-width: 980px;
	padding: 0;
	margin: 0;
	border: 0;
}
#top-menu1 {
	padding-left: 10px; padding-right: 10px;
	padding-top: 2px;
	padding-bottom: 0px;
	color: black;
}
#top-menu2 {
	padding-left: 10px; padding-right: 10px;
	padding-top: 2px;
	padding-bottom: 2px;
	color: #3C4B5D;
}
#bottom {
	width: 980px; max-width: 980px;
	margin: 0;
	border: 0;
	height: 105px; max-height: 105px;
	padding: 0px 0px 0px 20px;
	text-align: center;
}
#bottom-copy a {
	text-decoration: none;
	color: #666666;
}

#contents {
	width: 960px; max-width: 960px;
	border: 0;
	margin: 0;
	padding: 0px 0px 0px 10px;
}



#contents-spaced {
	padding: 0;
	margin-left: 0px;
	margin-right:0px;	
	/* overflow: scroll; */
	border-top: solid 1px #cccccc;
	border-bottom: solid 1px #cccccc;
}

.colorbox {
	float: left;
	width: 60px;
	height: 60px;
	margin-top: 14px;
	margin-left: 14px;
	margin-right: 10px;
	background: #3C4B5D;
}
.logobox {
	float: left;
	width: 320px;
	height: 80px;
	background: url('logo.png') #ffffff no-repeat;
}
.bluebox {
	float: right;
	width: 60px;
	height: 60px;
	margin-top: 14px;
	margin-left: 10px;
	margin-right: 35px;
	/* background: #3c4b5d; */
}
.ipseclogobox {
	width: 28px;
	height: 50px;
	margin: 0 auto;
	border-top: solid 14px #ffffff;
	background: url('iplogo.png') #ffffff no-repeat;
}
html>body .ipseclogobox {
	height: 35px;
}

#bottom-copy {
	margin: 0 auto;
	width: 400px;
	text-align: center;
	vertical-align: bottom;
	color: #666666;
}

#top-menu1 a {
	text-decoration: none;
	color: black;
}
#top-menu1 a:hover {
	text-decoration: none;
	color: #666666;
}

#top-menu2 a {
	text-decoration: none;
	color: #3C4B5D;
}
#top-menu2 a:hover {
	text-decoration: none;
	color: #666666;
}

.head {
	background: #3C4B5D;
	color: white;
}
.left {
	background: #3c4b5d;
	color: white;
}
.left a, .head a {
	text-decoration: none;
	color: white;
}
.left a:visited, .head a:visited {
	color: gray;
}
.odd {
	background: #eeeeee;
	border-top: solid 1px white;
}
.odd td, .even td {
	padding: 1px 2px 1px 2px;
}
.even {
	background: #dddddd;
	border-top: solid 1px white;
}


.oddsel {
	background: #888888;
}
.evensel {
	background: #888888;
}

table {
	border-collapse: collapse;
}

td a {
	text-decoration: none;
	color: #3C4B5D;
}


th,.header td {
	color: white;
	background-color: #3C4B5D;
	text-align: left;
	font-size: 0.8em;
	border-top: 0.6em solid white;
}
th a,.header a {
	text-decoration: none;
	color: white;
}

th a:hover,.header a:hover {
	text-decoration: none;
	color: #3C4B5D;
	background-color: white;
}

th a:visited, .header a:visited {
	color: #ddd;
}
th a:hover:visited, .header a:hover:visited {
	color: #3C4B5D;
}

.imglink,
.imgbutton {
	margin-left: 10px;
}

.ipsecDataGridLine {
	opacity: 0.3;
}

.ipsecDataGridLine:hover {
	opacity: 1;
}

.ipsecDataGridCount {
	float: left;
	padding-top: 3px;
}

.ipsecDataGridExport {
	text-align: right;
	padding-top: 3px;
}

.ipsecDataGridExport .imglink {
	margin-left: 0px;
}

.form td {
	padding-top: 0.5em;
}
.table2 td {
	padding-top: 0.2em;
}

.form tr {
	background-color: #f2f2f2;
}

/* first col */
td.st {
	vertical-align:top;
	text-align:right;
	padding-right:1em;
	width: 28%;
	color: #555;
	text-decoration: underline;
	cursor: default;
}
td.st span {
	color: #333333;
	text-decoration: underline;
}
/* second col */
td.nd {
	vertical-align:top;
	width:68%;
}

.error {
	padding: 2px;
	background-color: #e20074;
	font-weight: bold;
	border: 1px solid #961;
	color: #fff;
}

.proxy {
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

.proxy TD {
	background-color: #eeeeee;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

/*
input {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    background-color: #eeeeee;
    border: 1px solid  #cccccc;
    color:000000;
    margin-right: 5px;
}

textarea {
	font-family:monospace;
    background-color: #eeeeee;
    border: 1px solid  #cccccc;
    color:000000;
}
	

select {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    background-color: #eeeeee;
    border: 1px solid  #cccccc;
    color:000000;
}

	*/

td.space {
	margin-top:1em;
}

td.button {
	width:1%;
	text-align:center;
	padding:1px 3px 1px 3px;
}

input[type="text"],textarea {
	/*background-color: yellow;*/
}

textarea {
	width: 30em;
}

.fixedheight {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    background-color: #eeeeee;
    border: 1px solid  #cccccc;
    color:000000;
	/* height: 100px;
	max-height: 100px;
	overflow-y: auto; */
}

.txtfree {
    font-family: monospace;
    background-color: #eeeeee;
    border: 1px solid  #cccccc;
    color:333333;
    padding: 10px;
}

.err a {
	color: black;
}

.err {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    border: 1px solid  #cccccc;
    color: #ffffff;
    background-color: #3C4B5D;
    font-weight: bold;
}

.msg {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    background-color: #eee;
    border: 1px solid  #aaa;
    color:000000;
    font-weight: bold;
}

.scrollable {
	/* width: 100px; max-width: 100px; */
	overflow: hidden;
}

.hint {
	font-weight: normal;
	font-size: 0.8em;
	color: #333;
	padding-bottom:0.9em;
}

.warn {
	background-color: #3C4B5D;
	color:white;
	padding: 2px;
	margin:4px;
	font-weight: bold;
}

.question {
     font-family: Verdana, Arial, Helvetica, sans-serif;
     font-size: 14px;
     background-color: #eeeeee;
     border: 1px solid  #cccccc;
     color:000000;
     font-weight: bold;
}


.box-hidden {
	display: hidden;
}

.box-visible {
	display: inline;
	position: fixed;
	width: 60%;
	min-width: 600px;
	left: 50%;
	margin-left:-30%;

/*TODO:fixme*/
	top: 50%;
	margin-top:-10%;

	border: 1px solid black;
	background-color: white;
	padding: 1em;

	z-index: 30;
	overflow: auto;
}

div.floatbox {
	float: left;
	padding: 0.5em;
	margin: 0.5em;
	border: 1px solid gray;
	text-align: center;
}

span.hilight {
	background-color:yellow;
}


.drop-hidden {
	display: hidden;
}

.drop-visible {
	display: block;

	position:relative;

	border: 1px solid black;
	background: white;
	max-height:10em;

	z-index: 30;
	overflow: auto;
}

img {
	border: none;
}

#lang {
	float: right;
	padding: 0.5em;
}

#lang ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#lang li {
	display: inline;
	padding-left: 0.3em;
}
#lang li.selected {
	font-weight: bold;
}

.uplink-name {
	float:left;
	min-width:100px;
}

.ip-address {
	width:500px;
}
.ip-addresses {
	height:100px;
	width:500px;
}
.ip-addresses-note {
	height:100px;
	width:640px;
}
.ip-address-range {
	width:300px;
}
.cidr {
	width:120px;
}
.ipsec-number {
	width:100px;
}
