/*
@font-face{
	font-family: 'Costa TT';
	src: url('style/COST____.TTF');
}
*/

@font-face {
	font-family: 'Costa TT Light';
	src: url('../fonts/costa_bold.eot');
}

@font-face {
	font-family: 'Costa TT Light';
	src: url('../fonts/costa_bold.ttf');
}

@font-face {
	font-family: 'Costa TT';
	src: url('../fonts/costa_normal.eot');
}

@font-face {
	font-family: 'Costa TT';
	src: url('../fonts/costa_normal.ttf');
}

html {
	/* prevents scrolling with jquery mobile */
	overflow: hidden;
}

body {
	/*text-align: center;*/
	font-family: "Costa TT Light", "Costa TT", Vectora, Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: normal;
	padding: 0;
	margin: 0;
	background-color:#FFF;
	height: 500px;
	width: 705px;
	overflow: hidden;
}

a img {
	border: none;
	border: 0;
}

a {
	outline: none;
}

h1, h2, h3, h4, h5, h6{
	color: #FFF;
	font-family: "Costa TT Light", "Costa TT", Vectora, Helvetica, Arial, sans-serif;
	margin: 0px;
	padding: 0px;
}

h1 {
	font-size: 24px;
	line-height: 34px;
}

h2, h3 {
	font-size: 12px;
}

h4 {
	font-size: 11px;
}

h5, h6 {
	font-size: 10px;
}

ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

/*classi comuni*/
.italic {
	font-style: italic;
}

.clear{
	clear: both;
}

.none{
	display: none;
	visibility:hidden;
}

.mainContainer {
	height: 500px;
	width: 705px;
	text-align: left;
	overflow: hidden;
	position: relative;	/* Fix IE7 */
}

/*struttura*/
#header {
	background-image: url(../img/bg_header.png);
	background-repeat: repeat-x;
	height: 61px;
	display:block;
	text-align:center;
	z-index: 150;
}

#header.smallHeader{
	width: 411px;
}

#header.bigHeader{
	width: 100%;
}

#logo.lgHome {
	display: block;
	text-align:center;
}

#logo.lgPage {
	display: block;
	float: left;
}

#map {
	z-index: 0;
	overflow: hidden;
	/* Se si cambiano le dimensioni, modificare anche le costanti in Default.aspx.cs */
	height: 500px;
	width: 550px;
	position: relative;	/* Fix bug IE7 */
}

#googleMap {
	z-index: 0;
	overflow: hidden;
	/* Se si cambiano le dimensioni, modificare anche le costanti in Default.aspx.cs */
	height: 500px;
	width: 550px;
}

#Marker {
	position: relative;
	width: 550px;
	height: 500px;
	left: 0px;
}

#Marker img.bkgwm {
	width: 100%; 
}

#Marker div.tooltip img {
	width: auto;
}

#mapShip, #zoomedMapShip {
	z-index: 0;
	top: -11px;
	position: relative;
	height: 450px;
	width: 700px;
	overflow: hidden;
}

#googleMapShip {
	z-index: 0;
	top: -11px;
	position: relative;
	height: 450px;
	width: 411px;
	overflow: hidden;
}

img.politicalMap {
	border: 0 none;
	position: absolute;
	z-index: -1;
	top: 0;
}

img.politicalShipImage {
	border: 0 none;
	width: 88px;
	height: 18px;
	position: absolute;
	z-index: 6;
}

img.politicalPortImage {
	border: 0 none;
	width: 3px;
	height: 3px;
	position: absolute;
	z-index: 7;
}

table.politicalWarning {
	height: 450px;
	width: 411px;
	vertical-align: middle;
	text-align: center;
	padding: 0;
}

table.politicalWarning span {
	margin: 0;
	font-family: "Costa TT Light", "Costa TT", Vectora, Helvetica, Arial, sans-serif;
	font-size: 35px;
	font-weight: bold;
	text-align: center;
	color: #003271;
}


span.politicalPortLabel {
	position: absolute;
	z-index: 20;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: bold;
	color: #00529c;
}

span.mapLastUpdate {
	position: absolute;
	z-index: 20;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: bold;
	font-style:italic;
	color: #00529c;
}

h5.txtUpdate {
	line-height: 25px;
	margin-bottom: 7px;
	font-style: italic;
	font-family:Calibri,Arial,Helvetica,sans-serif;
	font-size:13px;
}

#nav {
	font-family: "Costa TT", "Costa TT Light", Vectora, Helvetica, Arial, sans-serif;
	z-index: 1000;
	position: absolute;
	/*background-image: url(../img/bg_menu.png);
	background-repeat: no-repeat;
	background-position: right top;*/
	height: 500px;
	width: 161px;
	left: 544px;
	top: 0px;
	float: right;
}

#nav ul {
	margin-right: 6px;
	text-align: right;
	margin-left: 6px;
}

#nav ul li {
	background-image: url(../img/bg_item_menu.gif);
	background-repeat: no-repeat;
	background-position: bottom;
	height: 29px;
	line-height: 29px;
}

#nav ul li a {
	color:#FFF;
	font-size: 14px;
	height: 29px;
	line-height: 29px;
	text-decoration:none;
	display:block;
	background-image: url(../img/freccia_menu.png);
	background-repeat: no-repeat;
	background-position: left center;
}

#nav ul li.selected a, #nav ul li.over a, #nav ul li a:hover {
	background-image: url(../img/freccia_menu_over.png);
	background-repeat: no-repeat;
	background-position: left center;
	color:#f5d421;
}

#nav ul li a:hover {
	color:#00b5fb;
	background-image: url(../img/freccia_menu_blu.png);
}

.smallPanelMenu {
	background-image: url(../img/bg_menu_small.png);
	background-repeat: no-repeat;
	background-position: left;
	float: right;
	width: 22px;
	height: 500px;
	z-index: 800;
	position:absolute;
	left: 685px;
	top: 0px;

}

#nav .leftPanelMenu {
	background-image: url(../img/bg_menu_small.png);
	background-repeat: no-repeat;
	background-position: left;
	float: right;
	width: 22px;
	height: 500px;

}

#nav .rightPanelMenu {
	width: 161px;
	height: 500px;
	float: right;
	background-image: url(../img/bg_menu_big.png);
	background-repeat: no-repeat;
	background-position: right top;
	overflow: hidden;
}

#buttonClose, #buttonOpen {
	height: 50px;
	margin-top: 200px;
	display: block;
	padding-left: 5px;
	padding-top: 40px
}

/*pannello collassabile con tab*/
#contentTab {
	background-image: url(../img/bg_contentab.png);
	background-repeat: no-repeat;
	background-position: right;
	width: 310px;
	float: right;
	position: absolute;
	height: 500px;
	top: 0px;
	left: 396px;
	z-index: 1000;
}

#contentTab .leftContentTab {
	background-image: url(../img/bg_tab_sx.png);
	background-repeat: no-repeat;
	background-position: left;
	float: left;
	width: 22px;
	height: 500px;
}

#contentTab .rightContentTab {
	float: right;
	width: 287px;
}
.smallContentTab {
	background-image: url(../img/bg_tab_sx.png);
	background-repeat: no-repeat;
	background-position: left;
	z-index: 800;
	position:absolute;
	left: 685px;
	top: 0px;
	/*float: right;*/
	width: 22px;
	height: 500px;
}

#footer {
	background-image: url(../img/bg_footer2.png);
	background-repeat: no-repeat;
	background-position: 14px top;
	height: 35px;
	z-index: 500;
	position: absolute;
	top: 465px;
	width: 705px;
}

#footer.large {
	background-image: url(../img/bg_footer3.png);
}

#footer ul {
	margin-left: 20px;
}

#footer ul li {
	float: left;
	margin-left: 15px;
}

h1.titleS {
	display: block;
	margin: 0px;
	padding: 0px;
	float: left;
}

/*-----menu a tab*/
ul.tabMenu {
	display: block;
	height: 43px;
	padding-right: 5px;
}

#Tab {
	margin-top: 10px;
	background-image: url(../img/bg_tab.png);
	background-repeat: no-repeat;
	background-position: center -10px;
	height: 70px;
}

#Tab ul li {
	float: right;
	width: 58px;
	margin-right: 6px;
	text-align: center;
}

#Tab ul li a {
	display: block;
	width: 58px;
	height: 43px;
	text-decoration: none;
}

#Tab ul li a span{
	display: none;
}

#Tab ul li#tab1 a {
	background-image: url(../img/bg_tab1_off.png);
	background-position: center top;
	background-repeat: no-repeat;
}

#Tab ul li#tab1 a:hover{
	background-image: url(../img/bg_tab1_over.png);
	background-position: center top;
	background-repeat: no-repeat;
}

#Tab ul li#tab1.currentTab a, #Tab ul li#tab1.currentTab a:hover{
	background-image: url(../img/bg_tab1_on.png);
	background-position: center top;
	background-repeat: no-repeat;
}

#Tab ul li#tab2 a{
	background-image: url(../img/bg_tab2_off.png);
	background-position: center top;
	background-repeat: no-repeat;
}

#Tab ul li#tab2 a:hover{
	background-image: url(../img/bg_tab2_over.png);
	background-position: center top;
	background-repeat: no-repeat;
}

#Tab ul li#tab2.currentTab a, #Tab ul li#tab2.currentTab a:hover{
	background-image: url(../img/bg_tab2_on.png);
	background-position: center top;
	background-repeat: no-repeat;
}

#Tab ul li#tab3 a{
	background-image: url(../img/bg_tab3_off.png);
	background-position: center top;
	background-repeat: no-repeat;
}

#Tab ul li#tab3 a:hover{
	background-image: url(../img/bg_tab3_over.png);
	background-position: center top;
	background-repeat: no-repeat;
}

#Tab ul li#tab3.currentTab a,#Tab ul li#tab3.currentTab a:hover {
	background-image: url(../img/bg_tab3_on.png);
	background-position: center top;
	background-repeat: no-repeat;
}

#Tab ul li.iconBack {
	margin-right: 16px;
	width: 58px;
}

div.ctnTitle {
	padding-top: 0px;
	background-image: url(../img/bg_tabmenu.png);
	background-repeat: no-repeat;
	background-position: center bottom;
}

div.ctnTitle h3{
	color: #FFF;
	text-decoration: none;
	font-weight: bold;
	font-size: 12px;
	line-height: 17px;
}

/*posizioni titoli*/
div.ctnTitle h3.tab1{
	text-align: right;
	padding-right: 138px;
	display:none;
}

div.ctnTitle h3.tab2{
	text-align: right;
	padding-right: 72px;
	display:none;
}

div.ctnTitle h3.tab3{
	text-align: right;
	padding-right: 10px;
	display:none;
}

div.ctnTitle h3.active{
	display: block;
}

p {
	text-align: left;
}

.panel,.panel p {
	color: #FFF;
	text-align: center;
}

.panel-wrapper {
	padding-right: 9px;
	padding-left: 9px;
}

/*pannello webcam*/
.webcamBox {
	height: 196px;
}

.webcamBox .borderImg {
	z-index: 1001;
	height: 196px;
	width: 256px;
	position: absolute;
	left: 37px;
	top: 80px;
}

.webcamBox .imgDown {
	position: relative;
	margin: 3px 2px;
	left: -1px;
	width: 250px;
	height: 190px;
}

table.webcamWarning {
	z-index: 1002;
	height: 190px;
	width: 250px;
	position: absolute;
	left: 40px;
	top: 83px;
	vertical-align: middle;
	text-align: center;
	padding: 0;
}

table.webcamWarning span {
	margin: 0;
	font-family: "Costa TT Light", "Costa TT", Vectora, Helvetica, Arial, sans-serif;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	color: #003271;
}

.figureBox {
	margin-top: 25px;
	padding-top: 40px;
}

/*--bottoni*/
.buttonBar h5 {
	display: block;
	position: absolute;
	height: 80px;
	/*width: 113px;*/
}

.buttonBar h5.poppa {
	left: 32px;
	top: 325px;
	background-image: url(../img/pallino.png);
	background-repeat: no-repeat;
	background-position: left bottom;
	text-align: left;
	width: auto;
}

.buttonBar h5.prua {
	left: 206px;
	top: 325px;
	background-image: url(../img/pallino.png);
	background-repeat: no-repeat;
	background-position: right bottom;
	text-align: right;
}

.buttonBar h5 a.bt {
	height: 31px;
	display: block;
	background-image: url(../img/bt_normal_sx.png);
	background-repeat: no-repeat;
	background-position: left center;
	line-height: 31px;
	padding-left: 10px;
	color: #003b8b;
	text-decoration: none;
	font-size: 12px;
}

.buttonBar h5 a.bt span {
	background-image: url(../img/bt_normal_dx.png);
	background-repeat: no-repeat;
	background-position: right center;
	padding-right: 10px;
	display: block;
	line-height: 31px;
}

.buttonBar h5 a.bt:hover {
	background-image: url(../img/bt_over_sx.png);
	background-repeat: no-repeat;
	background-position: left center;
}

.buttonBar h5 a.bt:hover span {
	background-image: url(../img/bt_over_dx.png);
	background-repeat: no-repeat;
	background-position: right center;
}

.buttonBar h5 a.btSelected {
	height: 31px;
	display: block;
	background-image: url(../img/bt_select_sx.png);
	background-repeat: no-repeat;
	background-position: left center;
	line-height: 31px;
	padding-left: 10px;
	color: #003b8b;
	text-decoration: none;
	font-size: 12px;
}

.buttonBar h5 a.btSelected span {
	background-image: url(../img/bt_select_dx.png);
	background-repeat: no-repeat;
	background-position: right center;
	padding-right: 10px;
	display: block;
	line-height: 31px;
}

/*contenitori tabelle*/
div.tableContainer {
	background-image: url(../img/bg_tablecont.gif);
	background-repeat: repeat-x;
	background-position: bottom;
	padding-bottom: 5px;
	padding-top: 5px;
	margin-bottom: 5px;
}

div.scroolContainer {
	height: 220px;
	overflow:hidden;
	width: 94%;
	float:left;
	text-align:left;
}

/*table*/
table.genericTable {
	font-size: 14px;
	color: #FFF;
	font-family: Calibri, Arial, Helvetica, sans-serif;
}

table.genericTable tr th {
	font-weight: bold;
	text-align: right;
	width: 55%;
	line-height: 21px;
	padding-right: 10px;
}

table.genericTable tr td {
	padding-left: 10px;
	text-align: left;
	font-weight: normal;
}

table.lookTable tr td  {
	background-image: url(../img/bg_tablecont.gif);
	background-repeat: repeat-x;
	background-position: bottom;
	font-family: Calibri, Arial, Helvetica, sans-serif;
	vertical-align: top;
	padding-top: 3px;
	padding-bottom: 3px;
	text-align: left;
	padding-right: 5px;
}

table.lookTable tr td.alignRight {
	text-align: right;
}
/*scroolbar*/

#mcs_container .dragger_container {
	border-left: 1px solid #1d68a1;
	border-right: 1px solid #599acb;
	cursor: pointer;
	float: right;
	height: 234px;
	position: relative;
	width: 0;
	margin: 0px 5px 0 0px;
}
#mcs_container .dragger_container .dragger {
    -moz-border-radius: 6px 6px 6px 6px;
    background: none repeat scroll 0 0 #ffcb00;
    cursor: pointer;
    height: 60px;
    margin-left: -3px;
    overflow: hidden;
    position: absolute;
    width: 6px;
}


/*pannello 3*/
.ctnImgMap {
	background-attachment: scroll;
	background-color: transparent;
	background-image: url(../img/bg_imgmap.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	height: 171px;
	width: 233px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}

img.imageMap {
    border: 0 none;
    margin-top: 17px;
}

/*----animazione mondo*/
.wordBig {
	background-attachment: scroll;
	background-image: url(../images/img_map_w1.gif);
	background-repeat: no-repeat;
	background-position: -500px 0px;
}

.lefttooltip{
	background-image: url(../img/bg_tooltip_sx.png) !important;
	background-repeat: no-repeat !important;
	background-attachment: scroll !important;
	background-position: 0 0 !important;
}

div.tooltip {
	background-image: url(../img/bg_tooltip.png);
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: 0 0;
	text-decoration:none;
	/*text-align: center;*/
	position: absolute;
	z-index: 300;
	height: 73px;
	width: 162px;
	padding: 15px;
	left: 324px;
	top: 97px;
	display: none;
}

div.googleInfoWindowContainer {
	display: none;
}

.googleInfoWindow {
	background-color: #185787;
	text-decoration:none;
	height: 73px;
	width: 162px;
	padding: 15px;
}

h2.shipName a {
	display: block;
	color: #ffda2d;
	text-decoration: none;
	font-size: 14px;
	border: 0 none;
	font-family: "Costa TT", "Costa TT Light", Vectora, Helvetica, Arial, sans-serif;
	background-image: url(../img/freccia_tooltip.png);
	background-repeat: no-repeat;
	background-position: right center;
	padding-top: 4px;
}

h2.shipName a:hover {
	display: block;
	background-image: url(../img/freccia_tooltip_over.png);
	background-repeat: no-repeat;
	background-position: right center;
}

/*-------------marcatori nave sulla mappa*/
#Marker a.markerShipBig {
	display: block;
	background-image: url(../img/marker_ship.png);
	background-repeat: no-repeat;
	background-position: center center;
	height: 31px;
	width: 31px;
	position: absolute;
	z-index: 120;
}

#Marker a.markerShip {
	display: block;
	background-image: url(../img/marker_ship_small.png);
	background-repeat: no-repeat;
	background-position: center center;
	height: 12px;
	width: 13px;
	position: absolute;
	/*margin: -6px 0px 0px -6px ;*/
	z-index: 120;
}

a.markerShip span {
	display: none;
}

#Marker a.markerShip.over, #Marker a.markerShip:hover, #Marker a.markerShip.selected {
	background-image: url(../img/marker_ship_animated.gif);
	background-repeat: no-repeat;
	background-position: center center;
	z-index: 121;
}

#Marker.zoomedIn a.markerShip {
	background-image: url(../img/marker_ship.png);
	background-repeat: no-repeat;
	background-position: center center;
	height: 31px;
	width: 31px;
	margin: -9px 0px 0px -9px;
	z-index: 120;
}

#Marker.zoomedIn a.markerShip.over, #Marker.zoomedIn a.markerShip:hover, #Marker.zoomedIn a.markerShip.selected {
	background-image: url(../img/marker_ship_active.png);
	background-repeat: no-repeat;
	background-position: center center;
	z-index: 121;
}
		
#mcs_container {padding:5px; margin:0; width:265px; height:234px; }
#mcs_container .customScrollBox{position:relative; height:100%; overflow:hidden;}
#mcs_container .customScrollBox .container{position:relative; width:250px; top:0; float:left;}
#mcs_container .customScrollBox .content{clear:both;}
#mcs_container .customScrollBox .content p{padding:10px 5px; margin:10px 0; color:#fff; font-family:Verdana, Geneva, sans-serif; font-size:13px; line-height:20px;}
#mcs_container .customScrollBox .content p.alt{padding:10px 5px; margin:10px 0; color:#fff; font-family:Georgia, "Times New Roman", Times, serif; font-size:17px; line-height:19px; color:#999;}
#mcs_container .dragger_pressed{position:absolute; width:3px; height:30px; background:#444; text-align:center; margin-left:1px; line-height:60px; color:#777; overflow:hidden; border-left:1px solid #878787; border-right:1px solid #000; cursor:pointer;}

#liDebug {display:none}

#footer li div {
	background-repeat: no-repeat;
	background-position: center center;
	height: 35px;
	width: 41px;
	cursor: pointer;
}

#footer li div[disabled].zoom {
	background-image: url(../img/ico_zoom_dis.png) !important;
	cursor: default !important;
}

#footer li div[disabled].switchmap {
	background-image: url(../img/ico_switchmap_g_dis.png) !important;
	cursor: default !important;
}

#footer li div.zoom:hover{background-image: url(../img/ico_zoomin_over.png);}
#footer li div.zoom.zoomedin{background-image: url(../img/ico_zoom-.png);}
#footer li div.zoom.zoomedin:hover{background-image: url(../img/ico_zoom-_over.png);}
#footer li div.zoom{background-image: url(../img/ico_zoomin.png);}
#footer li div.zoom:hover{background-image: url(../img/ico_zoomin_over.png);}
#footer li div.zoom.zoomedin{background-image: url(../img/ico_zoom-.png);}
#footer li div.zoom.zoomedin:hover{background-image: url(../img/ico_zoom-_over.png);}
#footer li div.back{background-image: url(../img/ico_back.png);}
#footer li div.back:hover{background-image: url(../img/ico_back_over.png);}
#footer li div.switchmap{background-image: url(../img/ico_switchmap_g.png);}
#footer li div.switchmap:hover{background-image: url(../img/ico_switchmap_g_over.png);}
#footer li div.switchmap.google{background-image: url(../img/ico_switchmap_c.png);}
#footer li div.switchmap.google:hover{background-image: url(../img/ico_switchmap_c_over.png);}
#footer li div.print{background-image: url(../img/ico_print.png);}
#footer li div.print:hover{background-image: url(../img/ico_print_over.png);}
div.bkgworld { float: left; width:50%; height: 50%; display: none;}
div.bkgworld.row2.col1 {clear:left;}
div.bkgentireworld { position: absolute; left: 0px; top: 0px; width: 100%; height: 100%;}

/*
#Marker a.markerShip img.pinAnim {display:none;}
#Marker.zoomedIn a.markerShip img.pinAnim {display:none;}
#Marker a.markerShip:hover img.pinAnim {display:block;}
#Marker.zoomedIn a.markerShip:hover img.pinAnim {display:none;}
#Marker a.markerShip.over img.pinAnim {display:block;}
#Marker.zoomedIn a.markerShip.over img.pinAnim {display:none;}
*/