body {
    background: #FCFCFC url('/static/images/body.jpg') no-repeat center top fixed; 
    font: normal 13px Verdana,sans-serif; 
    color: #345;
}

/* headings */
h1#site-title {
    margin:0;
}
h1 {font: normal 2em Georgia,Tahoma,sans-serif;}
h2 {font: normal 1.8em Georgia,sans-serif;}
h3 {font: normal 1.4em Tahoma,sans-serif;}

/*a {color: #06A;}*/
a {color: #336699;}
a:hover {color: #036;}
/*a:visited {color: #06A;}*/

.mini {font-size:.8em;margin-bottom:0;}

.quieter { color: #888888 }

/* logo */
#site-title a {
	background: transparent url('/static/images/logo.png') no-repeat left top;
	margin-left: -50px;
	padding-left: 50px;
	padding-bottom: 20px;
	text-shadow: 0pt 1px 1px rgb(255, 255, 255);
	text-decoration: none;
}

#logo {
	padding-left: 50px;
}

/* navigation */
.path, .tab {
    /*margin-bottom: 1em;*/ 
    background: #F6F8FA; 
    /*border-top: 1px solid #E0E5F0;*/ 
    padding: 8px 10px;
	color: #678;
	-moz-border-radius: 5px 5px 5px 5px;
}

.path {
	padding: 0;
}

#nav {font-size: 1.1em; margin: 1em 0;}
#nav a, #nav2 a {color: #364E6D; text-decoration: none;}
#nav a:hover, #nav2 a:hover {text-decoration: underline;}
#nav ul {display: inline; margin: 0; padding-left: 0;}
#nav ul li, ul#breadcrumbs li, ol.facet li, #port-photos ul li, .gallery_scrollable ul li, #map-ports-list ol li, #port-videos ul li, div.actions ul li, ul.errorlist li, div.searchfilter li {display: inline; list-style: none; margin: 0 8px;}
#wiki-content li { list-style: none; }
div.searchfilter li { display: block; margin: 0; }
div.searchfilter ul { padding: 0; }
#nav li.menu-item:hover a {
	border-top: 4px solid #FF6908;
	padding: 10px 0;
}

#nav li.menu-item a {
	border-top: 4px transparent;
	padding: 10px 0;
}

.forcesmall {
	font-size:.7em;
}

/* search */
.main-search {
    background-color:white;
    border-color:#666666 #999999 #CCCCCC;
    border-style:solid;
    border-width:1px;
    font-family:Helvetica,Arial,sans-serif;
    font-size:16px;
    padding:6px 5px 4px;
    float: left;
}

#search-field {
	-moz-border-radius:2px 2px 2px 2px;
	-webkit-border-radius: 2px 2px;
}

.super-quiet {
	color: #999999;
}

#btn-search, #btn-sms, button.btn-sms, #calculate, #synchronize, .login, #btn-gen-save, .home-filter, #btn-overlay-save, .send-inquiry, .round-generic-btn {
	-moz-border-radius:2px 2px 2px 2px;
	-webkit-border-radius: 2px 2px;
	border:1px solid rgba(0, 0, 0, 0.25);
	color: #333;
	text-shadow:0 1px 1px #FFFFFF;
	-moz-box-shadow:0 1px 3px rgba(0, 0, 0, 0.25);
	-webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.25);
	font-weight:normal;
	background-image:url('/static/images/btn-overlay.png');
	background-color:#FFFFFF;
	font-family:"Lucida Grande",Tahoma,Arial,Verdana,sans-serif;
	font-size:100%;
	font-weight:bold;
	line-height:130%;
	margin:0.7em 0.5em;
	padding:5px 10px 5px 7px;
	text-decoration:none;
}

#synchronize, .home-filter, .send-inquiry, .round-generic-btn {
	-moz-border-radius:10px 10px 10px 10px;
	-webkit-border-radius: 10px 10px;
	background-color:#2DAEBF;
	color:#FFFFFF !important;
	text-shadow:0 -1px 1px rgba(0, 0, 0, 0.25);
}

.btn-red {
	background-color: #E33100;
}

.btn-red:hover {
	background-color: #872300;
}

.btn-magenta {
	background-color:#A9014B;
}
.btn-magenta:hover {
	background-color:#630030;
}

.btn-orange {
	background-color:#FF5C00;
}

.btn-orange:hover {
	background-color:#D45500;
}

.btn-orangellow {
	background-color:#FFB515;
}

.btn-orangellow:hover {
	background-color:#FC9200;
}

.send-inquiry, .see-contacts {
	font-size: 80%;
}

#synchronize:hover, .home-filter:hover, .home-filter.active {
	background-color: #007D9A;
}

#btn-sms, button.btn-sms {
	float: left;
	margin: 0.3em 0.5em;
}

div.share-sms-address button.btn-sms {
	margin-top: -1em;
}

#btn-search:hover, #btn-sms:hover, button.btn-sms:hover, #calculate:hover, .login:hover, #btn-gen-save:hover, #btn-overlay-save:hover {
	background-color: #eee;
}

#sms-port-content {
	border-left: 5px solid #482C51;
	display: block;
}

.share-sms-address {
	margin-bottom: 0;
}

/* search tooltips */
#searchtips {
	display:none;
	background:transparent url('/static/images/jqtools/black_arrow.gif');
	font-size:12px;
	height:70px;
	width:160px;
	padding:25px;
	color:#fff;	
}

/* 2nd navigation */
#nav2 ul {
    border-bottom: 1px solid #E0E5F0;
    padding: 7px;
    margin:0;
}

#nav2 ul li, li.record {
    list-style: none;
    display: inline;
    margin: 0 8px;
}

.tab {
    border: 1px solid #E0E5F0;
    background: #fff;
    border-bottom: 0;
}

.country-list {
    background: url('/static/images/icons/pin.png') no-repeat 50px top;
    padding-bottom: 4px;
}

.active {
    background: #F6F8FA;
}

#wiki-links {
	float: right;
}

.tbheader {
    background: #ccc;
}

.tbodd {
    background: #fff;
}

.tbeven {
    background: #eee;
}

.list {
    background: url('/static/images/icons/list.png') no-repeat left top;
/*    padding-left: 25px;*/
    padding: 0 0 10px 25px;
}

.map-tab, .info-tab, .photos-tab, .contact-tab, .distance-tab, .wiki-tab, .wiki-new, .wiki-edit, .wiki-history, .wiki-remove, .wiki-view, .alpha-tab, .folders-tab, .profile-tab, .factory-tab, .booking-tab {
    padding: 0 0 10px 25px;
}

.wiki-view {
    background: url('/static/images/icons/wiki-topic.png') no-repeat top left;
}

.wiki-remove {
    background: url('/static/images/icons/wiki-remove.png') no-repeat top left;
}

.wiki-history {
    background: url('/static/images/icons/wiki-history.png') no-repeat top left;
}

.wiki-new {
    background: url('/static/images/icons/wiki-new.png') no-repeat top left;
}

.wiki-edit {
    background: url('/static/images/icons/wiki-edit.png') no-repeat top left;
}

.map-tab {
    background: url('/static/images/icons/earth.png') no-repeat top left;
}

.info-tab {
    background: url('/static/images/icons/general-info.png') no-repeat top left;
}

.photos-tab {
    background: url('/static/images/icons/photo-icon.png') no-repeat top left;
}

.contact-tab {
    background: url('/static/images/icons/contact-icon.png') no-repeat top left;
}

.wiki-tab {
    background: url('/static/images/icons/wiki.png') no-repeat top left;
}

.folders-tab {
    background: url('/static/images/icons/folders-small.png') no-repeat top left;
}

.alpha-tab {
    background: url('/static/images/icons/icon-alpha-small.png') no-repeat top left;
}

.profile-tab {
    background: url('/static/images/icons/company-info.png') no-repeat top left;
}

.factory-tab {
    background: url('/static/images/icons/icon-factory.png') no-repeat top left;
}

.booking-tab {
    background: url('/static/images/icons/icon-booking.png') no-repeat top left;
}

.distance-tab {
    /*background: url('/static/images/icons/arrow-down3.gif') no-repeat 100% 0%;*/
    background: url('/static/images/icons/icon-distance.png') no-repeat top left;
}

.more-places, .less-places {
	padding: 2px 18px 2px 0;
    background: url('/static/images/icons/arrow-down-s.gif') no-repeat 100% -15%;
}

.more-places:hover, p.places:hover .more-places, .less-places:hover {
    background: url('/static/images/icons/arrow-down-s.gif') no-repeat 100% 110%;
}

.less-places {
    background: url('/static/images/icons/arrow-up-s.gif') no-repeat 100% -15%;
}

.less-places:hover, p.places:hover .less-places {
    background: url('/static/images/icons/arrow-up-s.gif') no-repeat 100% 110%;
}

.line-32 {
	line-height: 32px;
}

.icon-folders, .icon-alpha {
	display: block;
	float: left;
	width: 48px;
	height: 48px;
	background: url('/static/images/icons/folders.png') no-repeat -6px top;
}

.icon-alpha {
	background: url('/static/images/icons/icon-alpha.png') no-repeat -6px top;
}

/* other tabbed menu */
.second-tab-menu {
	float:left;
	width:100%;
	background:#BBD9EE;
	padding:0;
	font-size:0.8em;
	line-height:normal;
	border-top: 2px solid #54A4DE;
}
.second-tab-menu ul {
	margin:0;
	padding:10px 0 0 10px;
	list-style:none;
}
.second-tab-menu li {
	display:inline;
	margin:0;
	padding:0;
}
/*
*	For the next two rules:	
*	1. A single image is used for the two doors, rather than one.
*	2. Ascetically, the 'font-weight:bold' was removed to closely mimic the www.digital-web.com tabs.
*	3. The padding was modified for personal preference.
*/
.second-tab-menu a {
	float:left;
	background:#E7F1F8 url('/static/images/sliding-doors-mountaintops-1.png') no-repeat left top;
	padding:0 0 0 9px;
	text-decoration:none;
	color:#000;
}
.second-tab-menu a span {
	float:left;
	display:block;
	background:#E7F1F8 url('/static/images/sliding-doors-mountaintops-1.png') no-repeat right top;
	padding:4px 15px 3px 6px;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
.second-tab-menu a span {float:none;}
/* End IE5-Mac hack */
 
.second-tab-menu .current a span {
	padding-bottom:4px;
}
.second-tab-menu a:hover, .second-tab-menu a:hover span {
	background-color:#E4F1BC;
	color:#000;
}
.second-tab-menu .current a span, .second-tab-menu .current a {
	background-color:#fff;
}

/* header tooltip */
.htooltip {
	border-bottom: 1px dotted #000000; color: #000000; outline: none;
	cursor: help; text-decoration: none;
	position: relative;
}

.htooltip span {
	margin-left: -999em;
	position: absolute;
	font-size: 0.7em;
}
.htooltip:hover span {
	border-radius: 5px 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; 
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1); -webkit-box-shadow: 5px 5px rgba(0, 0, 0, 0.1); -moz-box-shadow: 5px 5px rgba(0, 0, 0, 0.1);
	font-family: Calibri, Tahoma, Geneva, sans-serif;
	position: absolute; left: 1em; top: 2em; z-index: 99;
	margin-left: 0; width: 250px;
}
.htooltip:hover img {
	border: 0; margin: -10px 0 0 -55px;
	float: left; position: absolute;
}
.htooltip:hover em {
	font-family: Candara, Tahoma, Geneva, sans-serif; 
	font-weight: bold;
	display: block; padding: 0.2em 0 0.6em 0;
}
.hclassic { padding: 0.8em 1em; }
.hcustom { padding: 0.5em 0.8em 0.8em 2em; }
* html a:hover { background: transparent; }
.hclassic {background: #FFFFAA; border: 1px solid #FFAD33; }
.hcritical { background: #FFCCAA; border: 1px solid #FF3334;	}
.hhelp { background: #9FDAEE; border: 1px solid #2BB0D7;	}
.hinfo { background: #FFFFAA; border: 1px solid #FFAD33;	}
.hwarning { background: #FFFFAA; border: 1px solid #FFAD33; }

/* individual records */
.splash {
    background:transparent url('/static/images/splash.jpg') repeat-x scroll left bottom !important;
    height:0.01%;
    padding:.2em;
}

.pstat-popular, .pstat-na {
    background:transparent url('/static/images/icons/going_up.png') no-repeat scroll top left;
	padding: 0 0 0 22px;
}

.splash-note {
    float: right;
}

.splash-content {
	-moz-border-radius:25px 25px 25px 25px;
	-moz-box-shadow:0 2px 1px rgba(0, 0, 0, 0.15);
	background:none repeat scroll 0 0 #EDE8E3;
	margin:0 auto;
	padding:20px;
}

.splash-blue {
	background:none repeat scroll 0 0 #E5ECF9;
}

.blue {
	color:#4866A9;
}
.pink {
	color:#BD4746;
}
.red, ul.errorlist li {
	color:#B22E11;
}
.green {
	color:#649005;
}
.orange {
	color:#DA6E00;
}
.purple {
	color:#59438A;
}
.cyan {
	color:#148488;
}

li.container div.recordbox div {
    border-right: 1px dotted #666;
    height:100px;
    overflow: none;
}

div.recordbox:hover {
	background-color: #fff;
}

li.container div.companyrecord div {
	overflow: hidden;
	height: 40px;
} 

.map {
    overflow: hidden;
}

#map-location {
    width: 510px;
    height: 500px;
    overflow: hidden;
}

#port-map-directions {
    height: 500px;
    overflow: hidden;
}

#port-map, #company-map {
    height: 370px;
    overflow: hidden;
}

#company-map {
	height: 280px;
}

#port-map.photos-map {
    height: 500px;
    overflow: hidden;
}

#left-sidebox {
    height: 470px;
    overflow: auto;
}

#map-ports-list .paging p {
    margin: 0;
}

li.container div.recordbox div.last, li.container div.recordbox div div {
    border: 0;
}

.websearch a em, .websearch p em, .search-current {
	font-weight: bold;
}

.websearch .url {
	color: rgb(59, 134, 134);
}

.websearch h4 {
	margin-bottom: 0;
}

/* content facets/filters */
#content {
    background: #F6F8FA;
}

p.places:hover {
	background:#fff;
	cursor: pointer;
}

#map-canvas {
	height: 250px;
}

#dir-list dt {
    clear: both;
    float: left;
	padding: 3px 0;
	margin-top: 1px;
}

#dir-list dt span {
	padding-left: 5px;
}

#dir-list dt.b1 {
	border-left: 5px solid #D42F44;
}
#dir-list dt.b2 {
	border-left: 5px solid #FCE569;
}

#dir-list dt.b3 {
	border-left: 5px solid #CBE86B;
}

#dir-list dt.b4 {
	border-left: 5px solid #79C48E;
}

#dir-list dt.b5 {
	border-left: 5px solid #27825C;
}

#dir-list dt.b6 {
	border-left: 5px solid #81B3B1;
}

#dir-list dt.b7 {
	border-left: 5px solid #357283;
}

#dir-list dt.b8 {
	border-left: 5px solid #91204D;
}

#dir-list dt.b9 {
	border-left: 5px solid #482C51;
}

#dir-list dd {
    float: right;
	padding: 3px 0;
	text-align: right;
}

#dir-facets .sidebox h3, #dir-facets .sidebox h5, #dir-facets .sidebox h4, #dir-facets .sidebox a {
    color:#4C4C4C;
    text-align:left;
    font-weight: normal;
}

.sidebox ul {
    padding: .2em;
}

#dir-facets .fixed-height {
    height: 250px;
    overflow: auto;
}

#dir-facets .facet-height {
    height: 210px;
/*    border: 1px solid #D6E2D4;*/
}

.light {
    -moz-background-clip:border;
    -moz-background-inline-policy:continuous;
    -moz-background-origin:padding;
	-moz-border-radius: 5px 5px 5px 5px;
    background:#EDE8E3 none repeat scroll 0 0;
    border-color:#E6F2E4 #E6F2E4 #D6E2D4;
    border-style:solid;
    border-width:1px;
}

.sidebox {
    -moz-border-radius-bottomleft:5px;
    -moz-border-radius-bottomright:5px;
    -moz-border-radius-topleft:5px;
    -moz-border-radius-topright:5px;
    clear:both;
    margin:0 0 10px;
    padding:10px 12px;    
}

ol.facet, #map-ports-list ol {
    margin: 0;
    padding: 0;
}

ol.facet li, #map-ports-list ol li {
    display: block;
    margin: .2em 0;
}

ol.facet label {
    font-weight: normal;
}

/* footer */
.center {
    text-align: center;
}

.container {
	border-bottom:1px dotted #999999;
}

/* breadcrumbs */
ul#breadcrumbs li {
    margin: 0;
}
ul#breadcrumbs {
    display: block;
    margin: 1em 0;
}
#breadcrumbs li.current span {
	color: #333333;
	font-weight: bold;
}

/* content */
ul#related-ports li {
     list-style: none;
}

ul#related-ports li a {
    display: block;
    padding: .1em;
}

ul#related-ports li:hover a {
    background: #eee;
}

.listing-head {
    background:transparent url('/static/images/border-fade.png') no-repeat scroll 100% 100%;
}

h3.checked {
    background:transparent url('/static/images/icons/checked.png') no-repeat scroll top left;
	padding: 0 0 0 22px;
}

.h-inline {
	line-height: 1.6;
}

#port-photos ul li, #port-videos ul li, .gallery_scrollable ul li {
    display: inline-block;
    margin: 0;
}

.gallery_scrollable ul {
	padding-left: 0;
}

#port-photos.fixed {
    height: 500px;
    overflow: auto;
}

#port-photos ul li a, #port-videos ul li a, .gallery_scrollable ul li a, div.home-video a {
    display: block;
    overflow: hidden;
    width: 60px;
    height: 60px;
    border: 3px double #999;
}

#port-videos ul li a, div.home-video a {
    width: 120px;
    height: 70px;
}

.play-symbol {
	display: block;
    position: relative;
	margin:0;
    width: 20px;
    height: 20px;
	top: 60px;
	left: 5px;
    background:transparent url('/static/images/icons/play.png') no-repeat scroll top left;
}

.home h4 {
	margin: 0;
}

.home-photos {
	width: 2000px; 
}

.home-photos-sm {
	overflow: hidden;
}

.play-symbol.small {
    margin-top: 0px;
}

div.actions, p.actions {
    float: right;
}

.ccode {
    -moz-background-inline-policy:continuous;
    -moz-border-radius:9px 9px 9px 9px;
}
.codea {
    background:none repeat scroll 0 0 #ff99ff;
}
.codeb {
    background:none repeat scroll 0 0 #9f9ff6;
}
.codec {
    background:none repeat scroll 0 0 #78ea95;
}
.coded {
    background:none repeat scroll 0 0 #ffff00;
}
.codee {
    background:none repeat scroll 0 0 #ff6633;
}

p.more {
    float: right;
}

p.more a {
    background:transparent url('/static/images/icons/more.png') no-repeat scroll top left;
    padding: 0.3em 0 0.3em 20px;
}

/* sea route */
.route-marker {
    vertical-align: middle;
}

p.water-route-preview {
	background: #fff;
	border: 1px solid #ccc;
	padding: .5em;
	height: 40px;
	overflow: hidden;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	-moz-box-shadow: 0 0 50px #ccc;
	-webkit-box-shadow: 0 0 50px #ccc;
}

div.nipple {
	border-color:#4EBAFF transparent -moz-use-text-color;
	border-style:solid solid none;
	border-width:6px 6px 0;
	height:0;
	left:16px;
	position:absolute;
	top:24px;
	width:0;
	z-index:2;
}

p.water-route {
	background: url('/static/images/icons/arrow-sprite.png') no-repeat right top;
	height: 20px;
	overflow: hidden;
}

p.water-route-loading {
	background: url('/static/images/loading.gif') no-repeat right top;
}

p.water-route:hover {
	background-color: #fff;
	cursor:pointer;
}

a.right {
	float: right;
}

/*#route-small-text {
	-moz-border-radius:4px 4px 4px 4px;
	background-color: #163356;
	margin:0 0 2px;
	padding:2px 6px;
	color: yellow;
}*/

.activity-route {
	margin-top: -2em;
}

.activity-textroute {
	height: 100px;
	overflow: hidden;
}

#route-toolbox {
	-moz-border-radius:4px 4px 4px 4px;
	background:url('/static/images/h150.png') repeat-x scroll 0 0 #FFFFFF;
	border:1px outset #CCCCCC;
	margin:0 0 20px 0;
	padding:10px;
	text-align:center;
	width:645px;
}

#route-toolbox h4 {
	text-transform: uppercase;
}

#route-toolbox dl {
	float: left;
	line-height: 33px;
}

#route-toolbox dl dt, #route-toolbox dl dd {
	font-size: 1em;
}

#route-toolbox dl dt {
	color: #4F6B72;
	cursor: help;
	float: left;
	text-transform: uppercase;
}

#route-toolbox dl dd {
	color: #777;
	float: left;
	font-weight: bold;
	text-align: left;
	margin-right: 1em;
	margin-left: 1em;
}

#route-toolbox div.distance-wrapper {
	background:transparent url('/static/images/info.png') 0% 0% no-repeat;
}

#route-toolbox .route-highlight, #route-toolbox #route-speed {
	font-size:20px;
}

#route-toolbox #route-speed {
	-moz-border-radius:5px 5px 5px 5px;
	border:1px inset #DDDDDD;
	float:left;
	margin:0 10px;
	padding:3px 0;
	text-align:center;
	width:50px;
}

#permalink {
	-moz-border-radius:4px 4px 4px 4px;
	display:inline-block;
	width:400px;
}

/* filters */
div#filter-count {
    width: 40px;
}
div#filter-count p.large {
    font-size: 1.7em;
    font-weight: bold;
    margin: 0;
    line-height: 2em;
    text-align: right;
}
div#filters div#filter-text, div#filters div#filter-remove {
    margin:.5em 0;
}
div#filters div#filter-remove p {
    margin:0;
}
div#filters div#filter-remove {
    vertical-align: middle;
}
div#filters div#filter-remove a {
    color: #888888;
}

/* photo gallery and wiki overlay */
.gallery_overlay {
	display:none;
	border:2px solid #333;
	opacity:0.8;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	-moz-box-shadow: 0 0 50px #ccc;
	-webkit-box-shadow: 0 0 50px #ccc;
	width:830px;
	padding:35px;
	background-color:#fff;
	font-size:11px;
}

.gallery_overlay div.close {
	background-image:url('/static/images/jqtools/close.png');
	position:absolute; right:5px; top:5px;
	cursor:pointer;
	height:35px;
	width:35px;
}

a.close2 {
	background-image:url('/static/images/jqtools/close.png');
	height:35px;
	width:35px;
	float: right;
	position: relative;
	top: -35px;
	left: 35px;
}

div.share-sms-address a.close {
	float: right;
	position: relative;
	top: -20px;
	left: 15px;
}

#wikioverlay {
	color:#efefef;
	height:600px;
}
 
.contentWrap {
	width: 820px;
	height:590px;
	overflow-y:auto;
}

.wiki_overlay {
	display:none;
	background-image:url('/static/images/jqtools/white.png');
	width:960px;		
	padding:35px;
}

.wiki_overlay div.close {
	background-image:url('/static/images/jqtools/close.png');
	position:absolute; right:5px; top:5px;
	cursor:pointer;
	height:35px;
	width:35px;
}

.gallery_scrollable {
	position:relative;
	overflow:hidden;
	width: 834px;
	height:80px;
	padding-top: 10px;

	/* custom decorations */
	border:1px solid #ccc;
	background:url('/static/images/jqtools/h300.png') repeat-x;
}

.gallery_scrollable ul.items img {
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
}

.gallery_scrollable ul.items {
	width:20000em;
	position:absolute;
	clear:both;
}

.gallery_scrollable li.active a {
	border: 3px solid #000;
	z-index: 9999;
	position: relative;
}

#gallery-show-wrap {
	width:800px;
	height: 500px;
	margin:15px 0 15px 17px;
	padding:15px 0;
	text-align:center;
 
	/* some "skinning" */
	background-color:#efefef;
	border:2px solid #fff;
	outline:1px solid #ddd;
	-moz-ouline-radius:4px;
}

#gallery-obj img {
	vertical-align: middle;
}

/* "next image" and "prev image" links */
.next, .prev {
	position:absolute;
	top:40%;	
	border:1px solid #666;	
	cursor:pointer;
	display:block;
	padding:10px 20px;
	color:#fff;
	font-size:11px;
	text-decoration: none;
	
	/* upcoming CSS3 features */
	-moz-border-radius:5px;
	-webkit-border-radius:5px;	
}

.prev {
	left:0;
	border-left:0;
	-moz-border-radius-topleft:0;
	-moz-border-radius-bottomleft:0;
	-webkit-border-bottom-left-radius:0;
	-webkit-border-top-left-radius:0;
}

.next {
	right:0;
	border-right:0;
	-moz-border-radius-topright:0;
	-moz-border-radius-bottomright:0;
	-webkit-border-bottom-right-radius:0;
	-webkit-border-top-right-radius:0;	
}

.next:hover, .prev:hover {
	text-decoration:underline;
	background-color:#000;
	color: #fff;
}

.next, .prev {
	background:#333 !important;
	background:rgba(0, 0, 0, 0.6) url('/static/images/jqtools/h80.png') repeat-x;		
}

.progress {
	display:none;
	left:45%;
	position:absolute;
	top:45%;
}

.navi {
	margin-left:380px;
	width:200px;
	height:20px;
}

.navi a {
	width:8px;
	height:8px;
	float:left;
	margin:3px;
	background:url('/static/images/jqtools/navigator.png') 0 0 no-repeat;
	display:block;
	font-size:1px;
}

.navi a:hover {
	background-position:0 -8px;      
}

.navi a.active {
	background-position:0 -16px;     
}

/* the "information box" */
.info {
	padding:0px 15px;
	color:#333;
	font-size:11px;
}

.info a.logo {
	position: absolute;
	left: 60px;
	top: 580px;
}

.info p.user {
	position: absolute;
	left: 700px;
	top: 580px;
}

.info strong {
	display:block;	
}

/* simple css-based tooltip */
.gtooltip {
	background-color:#000;
	border:1px solid #fff;
	padding:10px 15px;
	width:200px;
	display:none;
	color:#fff;
	text-align:left;
	font-size:12px;

	/* outline radius for mozilla/firefox only */
	-moz-box-shadow:0 0 10px #000;
	-webkit-box-shadow:0 0 10px #000;
}

/* forms */
#contact-form ul.errorlist, #register-form ul.errorlist, #wiki-content ul.errorlist {
	padding-left: 0;
}

#contact-form ul.errorlist li, #register-form ul.errorlist li, #wiki-content ul.errorlist li {
	display: block;
}

#contact-form p label, #register-form label, #wiki-edit label {
	display: block;
}

#wiki-edit textarea {
	width: 590px;
	height: 350px;
}

#personal-data label {
	display: block;
}

#phone-confirm {
	width: 100px;
}

/* water listing */
#water-list li, #categories-list li, a.company-related {
	list-style-type: none;
	padding: 0.5em;
	margin: 0.5em;
	line-height: 2em;
	background-color: #fff;
	-moz-border-radius:4px 4px 4px 4px;
}

#categories-list li {
	width: 250px;
	float: left;
}

#categories-list .count {
	float: right;
}

#water-list li a, #categories-list li a {
	border-bottom:1px dotted #0788C3;
	color: #0788C3;
	font-weight:bold;
	padding-bottom:2px;
	text-decoration: none;
}

#water-list2 li a {
	background:transparent url('/static/images/icons/grey_play.png') no-repeat scroll center left;
	padding-left: 20px;
	-moz-border-radius:4px 4px 4px 4px;
	text-shadow:0 1px 1px rgba(0, 0, 0, 0.5);
	background-color:#227BAD;
	border:1px solid #2177A5;
	color:#FFFFFF;
}

/* paging (number and alpha) */
.alpha-pagination {
	font-size:11px;
	font-weight:bold;
	margin:0 0 10px;
	text-transform:uppercase;
	outline:0 none;
	vertical-align:baseline;
	color:#333333;
}

.alpha-pagination a {
	padding:0 0.4em;
	background:-moz-linear-gradient(center top , #EEEEEE, #DDDDDD) repeat scroll 0 0 transparent;
	background:-webkit-gradient(linear, center top, center bottom, from(#EEEEEE), to(#DDDDDD)) repeat scroll 0 0 transparent;
	padding:6px 15px;
	text-align:center;
	border-left:1px solid rgba(0, 0, 0, 0.05);
}

.alpha-pagination a.current {
	background:-moz-linear-gradient(center top , #555555, #777777) repeat scroll 0 0 transparent;
	background:-webkit-gradient(linear, center top, center bottom, from(#555555), to(#777777)) repeat scroll 0 0 transparent;
	color:#FFFFFF;
	text-shadow:1px 1px 1px rgba(0, 0, 0, 0.3);
}

.alpha-pagination span.left {
	-moz-border-radius-bottomleft:4px;
	-moz-border-radius-topleft:4px;
	-webkit-border-radius-bottomleft:4px;
	-webkit-border-radius-topleft:4px;
	border-left:medium none;
	padding:6px 15px;
	background:-moz-linear-gradient(center top , #EEEEEE, #DDDDDD) repeat scroll 0 0 transparent;	
	background:-webkit-gradient(linear, center top, center bottom, from(#EEEEEE), to(#DDDDDD)) repeat scroll 0 0 transparent;	
}

/* profile menu */
ul.hmenu {
	padding: 0em;
	list-style: none;
	text-align: center;
	margin: 1.45em 0;
	overflow: hidden;
}

ul.hmenu li {
	display: block;
	float: left;
	line-height: 2.5em;
}

ul.hmenu li a {
	text-decoration: none;
	padding: 0 0.5em;
}

ul.hmenu li.active2 {
	background: #EFEFEF;
}

ul.userprofile {
	float: left;
}

ul.userprofile li {
	text-align: left;
	float: none;
	list-style:none outside none;
}

ul.userprofile li a {
	background-image:-moz-linear-gradient(center top , #FFFFFF, #EFEFEF);
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #ffffff),color-stop(1, #EFEFEF));
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#EFEFEF'); /* IE6,IE7 */
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#EFEFEF')"; /* IE8 */
	border:1px solid #c0c9d5;
	border-top: none;
	color:#404040;
	display:block;
	font-size:12px;
	font-weight:bold;
	height:30px;
	line-height:30px;
	padding:1px 0 1px 10px;
	text-shadow:0 1px 1px #FFFFFF;
	width: 152px;
}

ul.userprofile li.active a, ul.userprofile li.active a:hover {
	background-image:url('/static/images/sidenav-active.gif');
	background-position:left top;
	background-repeat:no-repeat;
	border: none;
	filter:none;
	-ms-filter: none;
	height:33px;
	line-height:32px;
	padding:0 0 0 13px;
	margin:-1px 0 0 0;
	width:170px;
}

ul.userprofile li a:hover {
	background-image:-moz-linear-gradient(center top , #FFFFFF, #F7F7F7);
	text-decoration:none;
}

ul.userprofile > li.first a {
	-moz-border-radius-topleft:5px;
	border-top:1px solid #C0C9D5;
	-khtml-border-top-left-radius: 5px;
     -webkit-border-top-left-radius: 5px;
     border-top-left-radius: 5px;
}

ul.userprofile a {
	color:#3987CC;
	outline:medium none;
	text-decoration:none;
}

.red {
	color: #8a1f11;
}

#new-company-form label {
	text-transform: uppercase;
	display: block;
}

#new-company-form ul {
	padding-left: 0;
}

#activities-options a.activity-close {
	position: relative;
	float: right;
	top: -1.8em;
	left: 1.2em;
}

#activities-closed a {
	float: right;
	display: block;
}

#note a.action-close {
	float: right;
}

/* companies page */
#note {
	border-top:4px solid #EBF2EE;
}

p.company-addr {
	display: block;
	min-height: 60px;
}

p.company-addr img {
	margin-top: 0;
	margin-bottom: 0;
	padding: 0.5em 0;
}

ul#address {
	list-style:none outside none;
	padding-left: 0;
	margin-right: 0;
}

ul#address li.a {
	clear: both;
	border-top:1px solid #DBE6DF;
	padding: 1px 0;
}

ul#address li.a:hover {
	background-color: #EFFBE1;
}

ul#address ul.context-menu {
	float: right;
	list-style-type: none;
	background-color: #EBF2EE;
	padding-left: 0;
}

ul#address ul.context-menu li.b {
	border-top: 1px solid #fff;
}

ul#address ul.context-menu li a {
	padding-left: 22px;
	background: url('/static/images/icons/arrow-sprite.png') no-repeat left 90%;
}

ul#address ul.context-menu li a:hover {
	background: url('/static/images/icons/arrow-sprite.png') no-repeat left -2px;
}

input.grey {
	background:url('/static/images/bg-form-input.gif') no-repeat scroll left top transparent;
}

.jsvalidatorerror {
	height:15px;
	background-color:#FFFE36;
	font-size:11px;
	border:1px solid #E1E16D;
	padding:4px 10px;
	color:#000;
	margin-left:-2px;
	
	-moz-border-radius:4px;
	-webkit-border-radius:4px; 
	-moz-border-radius-bottomleft:0;
	-moz-border-radius-topleft:0;	
	-webkit-border-bottom-left-radius:0; 
	-webkit-border-top-left-radius:0;
	
	-moz-box-shadow:0 0 6px #ddd;
	-webkit-box-shadow:0 0 6px #ddd;	
}

.jsvalidatorerror em {
	border:10px solid;
	border-color:#FFFE36 transparent transparent;
	bottom:-17px;
	display:block;
	height:0;
	left:60px;
	position:absolute;
	width:0;			
}

/* new/edit company form */
#new-edit-company, #contact-company, #personal-data {
	border:1px outset #ccc;
	background:#fff url('/static/images/h1500.png') repeat-x;
	padding:20px;
	margin:20px 0;
	-moz-border-radius:4px;
}

#new-edit-company ul, #contact-company ul {
	list-style-type: none;
}

#new-edit-company ul.hmenu li, #contact-company ul.hmenu li {
	margin: 1.5em 0;
}

#new-edit-company legend {
	display:block;
	height: 35px;
	background:url('/static/images/icons/company-new.png') no-repeat scroll left top transparent;
	padding: 0 0 0 35px;
	line-height: 35px;
}

#new-edit-company label, #contact-company label {
	display:block;
	font-size:11px;
	color: #444;
}

#new-edit-company p, #new-edit-company li, #contact-company p, #contact-company li {
	font-size:11px;
	color: #666;
}

#new-edit-company fieldset, #contact-company fieldset, #personal-data fieldset {
	padding: 1.4em 0 1.4em 1.4em;
	border: 0;
}

#new-edit-company #address-map {
	margin-right: 220px;
}

#new-edit-company .title-select, #id_country {
	font-size: 1.5em;
	border:1px solid #CCCCCC;
}

#new-edit-company textarea, #contact-company textarea {
	height: 100px;
	min-height: 100px;
}

#new-edit-company #address-map {
	float: right;
}

#new-edit-company2 {
	background:#333 repeat-x;	
	padding:15px 20px; 
	color:#eee;
	margin:0 auto;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;	
} 

.modal {
	background-color:#fff;
	width:640px;
	padding:15px;
	text-align:left;
	border:2px solid #333;

	opacity:0.9;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	-moz-box-shadow: 0 0 50px #ccc;
	-webkit-box-shadow: 0 0 50px #ccc;
}

#address-overlay .close {
	background-image:url('/static/images/jqtools/close.png');
	position:absolute; right:5px; top:5px;
	cursor:pointer;
	height:35px;
	width:35px;
}

#address-overlay-map {
	height: 300px;
}
