/* Compress http://www.cssdrive.com/index.php/main/csscompressor/
http://refresh-sf.com/yui/#output
 */
html,body { width:100%; height:100%; padding:0; margin:0; }
html { max-height:100%; max-width:100%; border:0; }
body { font-family: Verdana, Arial, Sans-serif; font-size:14px; font-weight:400; background:#000; color:#666; }
img { border:none; }
a, a:active, a:focus { border:none; outline:none; color:#666; }
h1 { margin:10px 0 0 0; }
h2,h3, p {margin:0;}

#hdr_monkey_comments, #scene_comments, #seconds, #object_windguru, #object_extra, #tide_max_area, #hdr_tides, 
#object_options, #object_weather, #settings_opener, #timeline, #throbber, #current_data, #windguru_logo, .dt, 
#settings, #page_loading { display:none; }

.clear {clear:both;}	
/* clear fix  - apply to enclosing element of floated elements */
.cf:before,.cf:after {content:"";display:table;}
.cf:after {clear:both;}

/*no script stuff*/
#timeline p, #timeline h3 { padding:5px 10px}
.njs { color:#ce0400;font-weight:400; font-size:140% }



/* ==================================  smartphone portrait ============================================ */
#hdr_comments, #hdr_sun, #hdr_moon, #nav_back, #nav_fwd, .pswitch { display:none }
#logo, .spot .badge, .site_popup .s_rating div, #tide_arrow, #timeline a.tl_box.active .info:after,
.future #scene_comments:before, .history #scene_comments:before { background-image:url("/images/page_sprite_mobile.png"); background-repeat:no-repeat; }

/* =========================== HEADER =========================== */
#logo, #wm_name, #nav_time, #hdr_suntimes, #scene_comments, #map, #map_area, #arrow  { position:absolute; }
#logo { z-index:999; height:37px; width:40px; background-position:0 0; }
#header { position:relative; height:37px; font-size:18px; }
#wm_name { left:45px; top:0; margin:0; font-family:"Helvetica"; line-height:20px; font-size:80%; font-weight:bold }
	#header a { text-decoration:none; }
#nav_time { top:6px; right:3px; font-size:26px }
#hdr_suntimes { top:40px; right:6px; font-size:13px; z-index:1 }
/*comments click - go back to live */
#scene_comments { display:block; right:87px; top:20px; font-size:65%; }
	.future #scene_comments, .history #scene_comments {padding-left:30px;}
	.future #scene_comments:before, .history #scene_comments:before {
		content: '';
		position:absolute; width:18px;height:18px; right:-5px; top:50%; margin-top:-21px;
		background-position:-55px -41px; 
		opacity:0.3;
	}


/* =========================== WIDGETS =========================== */
/* make some borders keep within elements dimensions rather than adding to them. */
.widget, #tide_today_area { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }
.widget { font-size:20px; }
.widget h1 { font-size:90%; font-weight:600; margin:0 0 0 5px; }
.w_inner { position:relative; }
.widget p { font-size:50%;font-weight:400; padding:0 4%; }

/*wind*/	
#object_wind { height:auto; position:relative; }
	#viewport { position:relative; z-index:0; height:190px; overflow:hidden; }
	#map, #map_area { width:350px; height:222px; z-index:3; margin-left:-180px; margin-top:-90px; }	
	#map { z-index:1; background:url(/images/map/daymap_350.png) no-repeat; }
		.night #map { background-image:url(/images/map/nightmap_350.png);}
		.dusk #map { background-image:url(/images/map/duskmap_350.png);}
		
	#arrow { 
		z-index:2; width:155px; height:155px; margin-left:-75px; margin-top:-75px;
		background:url(/images/arrow/arrow_big_night.png) no-repeat;
		background-size:155px 155px;
		}
	#site_display { height:100%; }

	/* ======================  Wind OBSERVATION  ======================== */
	#wind_obs { position:absolute; left:95px; top:39px; width:190px; height:93px; font-size:33px; }
			#wind_obs .verbose { display:none }

			#wind_obs #speed { position:absolute; left:0; top:0; font-size:100%; font-weight:800; }
			#wind_obs #temp { position:absolute; left:28%; top:9%; font-size:30%; font-weight:400; }
			#wind_obs #knots { position:absolute; left:28%; top:21%; font-size:40%;font-weight:800; }
			#wind_obs #direction { position:absolute; left:0; top:32%; font-size:100%; font-weight:800; }		
			#obs_time { position:absolute; left:1%; top:73%; font-size:30%; font-weight:400; width:100%; }
			#obs_loading {font-size:60%;font-weight:800;margin-top:15%;}		


	/* =========================  SPOTS minimal ========================= */
	.spot, .spot .badge, .spot .rating, .spot .name, #throbber {position:absolute;}
	.spot { z-index:10; font-size:70%; cursor:pointer; width:30px;height:30px; margin:-15px 0 0 -15px } /*DEVV was width:100px;height:40px;*/
	.spot.off, .spot .rating, .spot .name  {display:none}
		.spot .badge { z-index:3; width:26px; height:30px; }
		.spot.ks .badge { background-position:0 -37px;}
		.spot.pg .badge {background-position:-26px -37px;}	

		
	/*	SITES PUILSING ANIMATION  */					
	@-webkit-keyframes pulse { from { -webkit-transform: scale(0.85); } to { -webkit-transform: scale(1); } }
	@-moz-keyframes pulse { from { -moz-transform: scale(0.85);	} to { -moz-transform: scale(1); } }
	@-o-keyframes pulse { from { -o-transform: scale(0.85);	} to { -o-transform: scale(1); } }
	@keyframes pulse { from { transform: scale(0.85); } to { transform: scale(1); } }
		
	.spot:not(.off) .badge, .spot.alert {
	    -webkit-animation-name:             pulse; 
	    -webkit-animation-duration:         1.5s; 
	    -webkit-animation-iteration-count:  infinite;
	
	    -moz-animation-name:             pulse; 
	    -moz-animation-duration:         1.5s; 
	    -moz-animation-iteration-count:  infinite;

	    -o-animation-name:             pulse; 
	    -o-animation-duration:         1.5s; 
	    -o-animation-iteration-count:  infinite;

	    animation-name:             pulse; 
	    animation-duration:         1.5s; 
	    animation-iteration-count:  infinite;
	}

	/* =========================  SITE POP-UPS  ========================= */
	/*.site_popup, .site_popup img { width:122px;}*/
	.site_popup {
		position:absolute; z-index:12;
		border:solid 3px; border-radius:13px; /*display:none;*/
		font-size:22px; /*DEVV was 17 */
		-webkit-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);
		-moz-box-shadow:    0px 0px 7px rgba(0, 0, 0, 0.75);
		box-shadow:         0px 0px 7px rgba(0, 0, 0, 0.75);			
		}
		.site_popup .sp_inner { border-radius:9px; padding:2px 0; }
		.pop_hdr {font-size:65%; font-weight:800; padding:3px;}
		.site_popup img { display:none} /* DEVV was margin-bottom:-4px  */
		.site_popup .hdr { font-size:50%; padding:2px; }
		.site_popup p {padding:2px; font-weight:400; font-size:60%;}
		.site_popup .s_rating { height:10px; width:50px; margin:2px 0 0 4px; }
		.site_popup .s_rating div { height:100%; }

	.site_popup.pg {border-color:#1f592a; color:#1f592a}
		.site_popup.pg .sp_inner { background:#7cce74 }
		.site_popup.pg .hdr {background:#5c9957; color:#BFEDB9}
			.site_popup.pg .s_rating div { background-position:0 -79px;}

	.site_popup.ks {border-color:#1a4e72; color:#1a4e72}
		.site_popup.ks .sp_inner { background:#4ebce5 }
		.site_popup.ks .hdr {background:#308dac; color:#d9f2fd}
			.site_popup.ks .s_rating div { background-position:0 -69px;}



/*================ TIDES and SWELL ====================	*/
.widget.f { font-size:22px; position:relative; z-index:11; }
.widget.f .w_inner { height:80px; }
	
/* =========================== SWELL  =========================== */
#object_swell .w_inner { font-size:23px; font-weight:700; }
#s_height, #s_period { text-align:right;line-height:100%; padding-right:5%; }	
#s_height { font-size:150%; height:43%; }
	#s_height span { font-weight:800; font-size:40%;}
#s_period { font-size:105%; height:35%; opacity:0.7; }
	#s_period span { font-weight:800; font-size:50%; }

#s_temp { font-size:50%; font-weight:400; text-align:center; position:absolute; width:100%; bottom:0; padding:1px 0;}
#object_swell img { position:absolute; top:-10%; left:-3%; width:50%; } /* swell arrow */
#arrow_swell { 
	position:absolute; height:85px;width:85px; top:0;left:0;
	background:url(/images/arrow/arrow_big_night.png) no-repeat;
	background-size: 85px 85px;
	}
			
/* =========================== TIDES  =========================== */
#tides_kb { position:absolute; width:100%;height:50%; bottom:0; } /*knock back - bottom background*/
	#tide_max_area {
		position:relative; z-index:2; height:80%; width:36%; float:right; padding:0;margin:4%;
		border:solid 1px; display:block;
	}
	#tide_current_height { position:absolute; left:0; width:100%; bottom:0;}
	#tide_today_area { position:absolute; left:0; width:100%; border-top:solid 1px; border-bottom:solid 1px}
	#tide_arrow { position:absolute; left:50%; margin-left:-8px; width:17px;height:15px; }
		#tide_arrow.rising {background-position:-41px 0}
		#tide_arrow.falling {background-position:-41px -14px}
	#object_tides .tide_text { position:relative; z-index:2; font-size:55%; font-weight:400; padding:4% 0 4% 5%; width:70%; height:28%; }
		#object_tides p { float:left; width:20%; font-size:100%; margin:0;  margin-right:10%; padding:0 0 2px 0; }
		#object_tides span { display:block; white-space:nowrap;}


	
/* =========================== TIMELINE =========================== */
#timeline { display:block; width:100%; /*height:auto;*/ height:57px; padding-top:2px; overflow:auto; overflow-y:hidden; -webkit-overflow-scrolling:touch; background:#a8aeaf; }
	#timeline .scroller { width:3000px }
	.dusk #timeline { background:#b3968d; }
	.night #timeline { background:#15586d; border-color:#47a5bf; }

	a.tl_box, a:visited.tl_box { 
		display:block; width:45px; float:left; margin:10px 3px; border:#2c67b3 solid 1px;
		background-color:#CBF3F3; color:#2c67b3;
		border-radius:7px;
		text-decoration:none;
	}
		a.tl_box .info { 
			font-size:65%; border-bottom:#2c67b3 solid 1px; text-align:center; color:#16346b;
			border-top-left-radius:6px;border-top-right-radius:6px;
		}

		a.tl_box .reading { height:25px; border-bottom-left-radius:6px; border-bottom-right-radius:6px; }
			/* JSON version-rotatable arrow */
			a.tl_box .tlarrow { 
				float:left; height:30px; width:30px; margin:-3px; 
				background:transparent url(/images/arrow/arrow_small_night.png) no-repeat;
				background-size:30px;
				}
			a.tl_box .wind { float:left; height:25px; line-height:25px; font-weight:400; text-align:center;	}
		/* Variations according to time or active */
		a.tl_box.day { background-color:#FFE47A; color:#303a67 }
		a.tl_box.night { background-color:#0e1f35; color:#fff }
		a.tl_box.dusk { background-color:#D38E43; color:#7b3641 }

		a.tl_box:hover, a.tl_box.current, a.tl_box.active, a.tl_box:hover.active, a.tl_box:active {
			margin:7px 0 0 0; border-width:4px; 
			}
			
		a.tl_box.current { width:55px; margin:4px; font-size:19px; border-color:#6d963f; box-shadow:0 0 2px #000; }
			a.tl_box:hover.current { margin:4px; }
			a.tl_box.current .info { 
				background:#c5ff7e; border-color:#6d963f; color:#426513;
				border-top-left-radius:3px; border-top-right-radius:3px; 
				}	
			
		a.tl_box.history .info { background:#ece3ec }
		a.tl_box.future .info { background:#95e5ff }

		a.tl_box:hover { border-color:#000; }
		a.tl_box.active, a.tl_box:hover.active, a.tl_box:active { border-color:#ff1267; box-shadow: 0 0 6px #000; }
			a.tl_box:active {border-color:#FF3912;}

		
	#timeline a.tl_box.active { position:relative; height:45px; top:-5px;  }		
	#timeline a.tl_box.active .info	{ font-size:100%; position:relative; }
		#timeline a.tl_box.active .info:after { 
			content:""; position:absolute; width:18px;height:18px; display:block; top:-7px;left:-10px;
			background-position:-55px -41px; 
		 }
		#timeline a.tl_box.active:hover { border-color:#a40041}
		/* wipe for NOW active */
		#timeline a.tl_box.active.current { top:-2px }
		#timeline a.tl_box.active.current .info	{ font-size:80%; }
		#timeline a.tl_box.active.current .info:after { display:none }	
							
	.newday {
		float:left; width:30px; margin:10px 0px 15px 10px; padding:4px 0;
		font-size:10px;	font-weight:normal; text-align:center;
		background:#eee; border:#3b5479 solid 2px; color:#3b5479;
		border-top-left-radius:15px;
	}



/* =========================== QUICK FORECASTS  =========================== */
#quick_forecast .w_inner { background:#eaeaea;color:#555 } 

/* =========================== JSY MET  =========================== */
#object_jsymet .w_inner { overflow:auto; -webkit-overflow-scrolling:touch; overflow-y:hidden; font-size:60%; font-weight:400; }
#object_jsymet .scroller { width:200%; }
#object_jsymet table {  width:50%;float:left; margin-bottom:5px; border-collapse:collapse; }
	#object_jsymet caption { font-size:130%; font-weight:900; text-align:left;  }
	#object_jsymet th { padding:4px 5px; font-weight:400; text-align:right; vertical-align:top; font-style:italic; }
	#object_jsymet td { padding:4px 5px; vertical-align:top; background:#fff; color:#000; }

/* =========================== WINDGURU  =========================== */
/*== windguru == */	
#object_windguru.widget {display:block;}
	#wg_load_area { overflow-x:auto; -webkit-overflow-scrolling:touch; text-align:center; min-height:100px}
	#wg_load_area .man_loader { line-height:100px; margin:80px 0; font-size:170%; font-weight:900; }	
	#windguru_truncate { height:150px; width:1240px; } /* we will make the height specific on an inside div to stop the touch overflow from allowing the y-scroll*/


/* =========================== TIME OF DAY COLOURS  =========================== */
/* == NONE == */
/*text colour*/
#refresh_area, #header {color:#4d4d4d; }
	.widget {background:#4d4d4d; border-color:#4d4d4d} /*hdr bg */

/* sea color */
#hdr_sea, #viewport/*, #quick_forecast*/  { background:#ccc; }
/*sky colour */
#header {background:#f0f0f0; }

/*widgets*/
.w_inner  {background:#f0f0f0; }
.widget h1 { color:#f0f0f0; }
.w_kb { background:rgba(0,0,0,0.1); }

/*tides*/
#tide_current_height { background-color:#8f8f8f }
#tide_today_area { background-color:#d4d4d4; } /* day D4D3A4 */

/*map*/
#wind_obs { color:#222; }

/* LINKS ALL an */
.link_list { padding:0 10px; font-size:20px; list-style:none; text-align:center; }
.link_list .section { 
	float:right; width:100%; margin:0 0 20px 0; padding:0 0 5px 0;
	border:solid 2px #76bbcc;
	border-radius:15px;
	}
	/* webcams don't work at night!! */
	.night .link_list .section.webcams {opacity:0.2}
	.night .link_list .section.webcams:hover {opacity:1}

	.link_list .section h2 {
		padding:2px; font-size:13px;
		border-top-left-radius:12px; border-top-right-radius:12px;
	}
	.link_list .section:hover ul { display:block }

.link_list ul.links { padding:4px 0 0 0; margin:0 4px; list-style:none; /*display:none*/ }
	.link_list ul.links li { padding:2px 0 1px 0; }
	.link_list a { display:block; text-decoration:none; padding:1px 5px; border-radius:3px; }
	.link_list a.lesser { opacity:0.5 }


/* DAY */
.day .link_list .section { border-color:#76bbcc; background:rgba(209, 233, 240, 0.5); }
.day .link_list .section h2 { color:white; background:#76bbcc; }
	.day #extra_mobile .link_list .section { background:#76bbcc; }
	
	.day .link_list a { background:rgba(255, 250, 238, 0.6); color:#027799; }
	.day .link_list a.visited { background:rgba(236, 234, 182, 0.6); }
	.day .link_list a.recent { background:rgba(231, 224, 127, 0.8); color:#000 }
	.day .link_list a:hover { color:#000; background:#fde44f }

/* NIGHT */
	.night .link_list .section { border-color:#114350; background:rgba(0, 0, 0, 0.6); }
	.night .link_list .section h2 { background:#114350; color:#2abcd9; }

	.night .link_list a { color:#48b7c8; background:rgba(70, 71, 98,0.5) }
		.night .link_list a.recent { background:#5a5b7e; color:#fff; }
		.night .link_list a.visited { background:#403f5e; color:#bbb }
		.night .link_list a:hover { background:#28b7d1; color:#000; } 
		
/* DUSK */
	.dusk .link_list .section { border-color:#cba35a; background:rgba(174, 100, 55,0.6) }
	.dusk .link_list .section h2 { background:#cba35a; color:#fff6d3; }

	.dusk .link_list a { color:#fff6d3; background:rgba(190, 133, 83,0.5) }
		.dusk .link_list a.visited { background:rgba(219, 216, 105,0.4); color:#d8d7b8; }	
		.dusk .link_list a.recent { background:rgba(219, 216, 105,0.6); color:#fff }
			.dusk .link_list a:hover { background:#dddb62; color:#000; }



/* ==============  DAY ============= */
/*text colour*/
.day #refresh_area, .day #header, .day a {color:#32697c; }
	
/* sea color */
.day #hdr_sea, .day #viewport /*,.day #quick_forecast*/ { background:#81BDCC; }
/*sky colour */
.day #header {background:#d1e9f0; }

/*widgets*/
.day .widget {background:#32697c; border-color:#32697c} /*hdr bg */
.day .w_inner  {background:#b3e9e7; }
.day .widget h1 { color:#B3E9E8; }

/*tides*/
.day #tide_current_height { background-color:#4564A7; }
.day #tide_today_area { background-color:#D4D3A4; border-color:#000;}

/*map*/	
.day #wind_obs { color:#1C2A4B; }	
/*quick_forecast*/	
.day #quick_forecast .widget { background:#69564b; border-color:#69564b; }
.day #quick_forecast .widget h1 { color:#e6ecd8; }


/* ==============  DUSK ============= */
/*text colour*/
.dusk #refresh_area {color:#6a2d1a; }
.dusk #header, .dusk a  {color:#ebc379}
	
/* sea color */
.dusk #hdr_sea, .dusk #viewport /*,.dusk #quick_forecast*/ { background:#9e4c42; }
/*sky colour */
.dusk #header {background:#ad6136; }

/*widgets*/
.dusk .widget {background:#6a2d1a; border-color:#6a2d1a} /*hdr bg */
.dusk .w_inner  {background:#d59c56; }
.dusk .widget h1 { color:#e4d6aa; }

/*tides*/
.dusk #tide_current_height { background-color:#6D3A3A; }
.dusk #tide_today_area { background-color:#D4D3A4; /*border-color:#000;*/}

/*map*/	
.dusk #wind_obs { color:#e3d87e; }
/*quick_forecast*/
	.dusk #quick_forecast .widget {background:#b87e27;border-color:#b87e27;}		

/* ==============  NIGHT ============= */
/*text colour*/
.night #refresh_area {color:#2875b1; }
.night #header, .night a  {color:#25a6be}
	
/* sea color */
.night #hdr_sea, .night #viewport /*, .night #quick_forecast*/ { background:#082329; }
/*sky colour */
.night #header {background:#000; }

/*widgets*/
.night .widget {background:#2875b1; border-color:#2875b1} /*hdr bg */
.night .w_inner  {background:#1f2b56; color:#25a6be }
.night .widget h1 { color:#D9F3F0; }
.night .w_kb {background:rgba(250,250,250,0.07)}

/*tides*/
.night #tide_current_height { background-color:#25A6C0; }
.night #tide_today_area { background-color:#000; /*border-color:#2875b1;*/}
.night #tide_max_area { border-color:#2875b1;}

/*map*/	
.night #wind_obs { color:#D9F3F0; }
/*quick_forecast*/
.night #quick_forecast .widget {background:#886e8a;border-color:#886e8a;}
	.night #quick_forecast .widget h1 { color:#fff; }


/*  =============  FUTURE HISTORY COLOURS  =============  */
/*SEA*/
.history.day #hdr_sea, .history.day #viewport, .history.day #quick_forecast { background:#a0b8c1; }
.history.dusk #hdr_sea, .history.dusk #viewport, .history.dusk #quick_forecast { background:#9e5d56; }
.history.night #hdr_sea, .history.night #viewport, .history.night #quick_forecast { background:#1e171a; }

.future.day #hdr_sea, .future.day #viewport, .future.day #quick_forecast { background:#70bdc6; }
.future.dusk #hdr_sea, .future.dusk #viewport, .future.dusk #quick_forecast { background:#9e3837; }
.future.night #hdr_sea, .future.night #viewport, .future.night #quick_forecast { background:#071929; }
	


/* ==================================  tiny mode ============================================ */
@media screen and (min-width: 0) and (max-width: 300px) {
	#header {background:none; height:0}
	#logo { background-size:40px; height:20px; width:23px; }
	#nav_time {z-index:1;top:2px;right:2px;font-size:12px;}
	#panel_obs, #refresh_area, #object_wind, #viewport {height:100%;}
	#map {background-size:200px;}	
	#map, #map_area {width:175px;height:111px;margin-left:-90px;margin-top:-45px;}
	#wind_obs {left:56px;top:20px;width:120px;height:63px;font-size:20px;}
	#arrow {width:90px;height:90px;margin-left:-40px;margin-top:-40px; background-size:90px 90px;}	
	##hdr_suntimes, #object_wind.widget h1, #obs_time, #temp, #site_display, #object_swell, #object_tides, #timeline, #quick_forecast, #extra_mobile {display:none}
}


/* ==================================  widget spacing when in phone modes ============================================ */
@media screen and (min-width: 300px) and (max-width: 395px) {
	.window_panel {margin-bottom:10px;}
	.widget {border-bottom:solid 1px #000;}
		.widget.f {width:50%;float:left;}
	#object_swell {border-right:solid 1px #000;}
}


@media screen and (min-width: 395px) and (max-width:670px) { /* was max-width:550 */
	.window_panel {margin-bottom:15px;}
	#object_wind {margin: 8px 0;} 
	.widget.f  {width:49%;float:left;} /* f=floater -swell and tides */
	#object_swell {margin-right:1%;} 
	#object_tides {margin-left:1%;}	
	#timeline {margin-top:8px;}
}

/* ==================================  smartphone landscape ============================================ */
@media screen and (min-width: 395px) {
	#hdr_suntimes { top:52px; right:9px; }
	/*common widget */
	.widget { 
		-webkit-border-radius:10px; -moz-border-radius:10px; border-radius:10px;       
		border-width: 5px;
		border-style: solid;
		}
		.w_inner { 
			-webkit-border-bottom-left-radius:5px; -webkit-border-bottom-right-radius:5px;
			-moz-border-bottom-left-radius:5px; -moz-border-bottom-right-radius:5px;
			border-bottom-left-radius:5px; border-bottom-right-radius:5px;
		 } 	
	
	/*wind*/	
	#viewport { height:190px;  }
	#map, #map_area { width:350px; height:222px; margin-left:-180px; margin-top:-90px; }
		
	/*tides and swell */
	.widget.f .w_inner { height:100px; font-size:30px;}
	
	/*Tides*/
	#tide_max_area { width:36%; }
	#object_tides .tide_text  { font-size:45%; padding:4% 0 4% 5%; width:90%; height:28%; }
		#object_tides p { float:left; font-size:120%; width:18%; margin-right:10%;}	
	
	#object_windguru { margin-top:10px; }	
	
}
/* ==================================    PHONE ONLY  ============================================ */
@media screen and (max-width: 670px) { /*was 550*/
	.day #hdr_suntimes { color:#70bdc6; }
	.dusk #hdr_suntimes { color:#b48229; }
	.night #hdr_suntimes { color:#80b9cf; }
}

/* ==================================    DESKTOPS & TABLETS  ============================================ */
/* ==================================  small desktop ============================================ */
/* -------- not moved to extra_desktop.css as otherwise we get a delay in styling the desktop ---------  */
@media screen and (min-width: 670px) { /*was 550*/
	body {overflow:hidden; background:#333}
	.dt {display:block;}
		
	/*====== HEADER =====*/	
	#hdr_sun, #hdr_moon, #nav_back, #nav_fwd, .pswitch { display:block }
	#logo, #hdr_sun, #hdr_moon, #nav_back, #nav_fwd, .pswitch, #settings_opener, #settings.widget h1 span, 
		.spot .rating div, .site_popup .s_rating div, #windguru_logo, .help_note:before  { background-image:url(/images/page_sprite.png); background-repeat:no-repeat; }
		
	#logo { position:fixed; z-index:999; width:65px; height:58px; background-position:0 0; cursor:pointer; }
	#header, #header h1, #wm_name, #hdr_comments, #hdr_sun, #hdr_moon, #nav_time, #link_list_dt {
		position:absolute;
		}
		#header h1, #wm_name, #hdr_comments, #hdr_suntimes, #link_list_dt { z-index:5 }
		#nav_time { z-index:4 }
		#hdr_sun, #hdr_moon { z-index:1 }

	#header { 
		z-index:99; top:0; height:58px; /*width:100%;*/ right:0;left:0; overflow:hidden;
		font-size:28px; font-family:"Helvetica"; 
		overflow:hidden;
	}
	#wm_name { top:5px; left:70px; line-height:20px; }
	#hdr_comments, #scene_comments { background:#fff; border:solid 1px; border-radius:6px; opacity:0.5; }
	#hdr_comments { left:72px; top:31px; height:auto; max-width:50%; padding:2px 10px; font-size:45%; display:block; }
		#hdr_comments p { padding:3px 0; }

	#hdr_sun, #hdr_moon { 
		height:150px; width:150px; margin:-75px -75px;
		background-position:-240px 10px; 
		}
	#hdr_moon { background-position: -240px -130px } 

	#hdr_suntimes { right:6px; top:73px; z-index:2; font-size:56%; opacity:0.5; display:none; }
	#hdr_suntimes:hover { opacity:1; }

	.pswitch {
		position:fixed; height:57px; width:60px;
		border:solid 2px #aaa; border-radius:5px;
		background-position:-543px 100px; /*blank by default*/	
		background-color:#fee47a; border-color:#616997;
		opacity:0.7;
		}
		.pswitch:hover, #nav_back:hover, #nav_fwd:hover { opacity:1 } 

#ps_top, .page_link #ps_top {top:-3px; right:-4px;}
	.page_hub #ps_top, .page_help #ps_top { background-position:-154px -69px; }

 #ps_back {top:60px; right:-70px; }
.pswitch.to_hub { background-position: -154px -5px; }
.pswitch.to_split { background-position: -154px -141px; }

		/*  DAY/NIGHT  */
		.night .pswitch {background-color:#48b7c8; border-color:#ddd }
		

	#nav_time { top:0; right:65px; width:auto; height:50px; padding:4px 0 }
		#nav_time a { float:left; display:block; }
		#nav_back, #nav_fwd { height:48px; width:34px; margin:0 2px; opacity:0.5; }
		#nav_back { background-position:-65px -2px; }
		#nav_fwd { background-position:-117px -2px; }
		#nav_now {
			height:38px; line-height:38px; margin-top:2px; padding:0 4px;
			border:solid 3px transparent; border-radius:8px;
			font-size:34px; font-weight:900;
		}

		.night #nav_back { background-position:-65px -52px; } /* blue colour*/
		.night #nav_fwd { background-position:-117px -52px; }

		.dusk #header { background-color:#ad6136; }
			.dusk #hdr_comments, .dusk #scene_comments { background:rgba(235,195,121, 0.3); border-color:#bc9753; opacity:0.8; }
			.dusk #hdr_sun { opacity:0.8 }	
			.dusk #hdr_suntimes { opacity:0.9 }

			.night #hdr_comments, .night #scene_comments { background:#222; border-color:#163f46; opacity:0.7; }




	/* =========================== GENERAL =========================== */	
	.window_panel { position:absolute; top:0; left:0; right:0; }
		.w_inner { border-bottom-left-radius:7px; border-bottom-right-radius:7px; }

	/* ===========================  WIND  ============================ */	
	#object_wind { position:absolute; top:0; bottom:0; width:100%; background:transparent; border:none; }
		#object_wind .widget { margin-top:0; }
		#viewport { height:333px; height:100%;}
		#object_wind .w_inner { border-radius:0; margin:0; }
		#object_wind.widget h1 {display:none;}
		
		#map, #map_area { width:526px; height:333px; margin-left:-240px; margin-top:-150px; }
		#refresh_area { position:absolute; width:100%; height:100%; overflow:hidden; }
							
			#map { background-image:url(/images/map/daymap_1052.png); background-size:100%; }
				.night #map { background-image:url(/images/map/nightmap_1052.png);}
				.dusk #map { background-image:url(/images/map/duskmap_1052.png);}
					
			#wind_obs { left:155px; top:68px; width:220px; height:110px; font-size:39px;}
				#wind_obs .verbose { display:none;} /* needs update to source */
				#wind_obs #temp, #obs_time {font-size:32%;}
				
		
	/* ===========================  SITES POPUP  ============================ */
	.site_popup, .site_popup img { width:150px; display:block;}
	.site_popup { font-size:19px; border-width:4px;}
	.site_popup .hdr { padding:3px; }	
	.site_popup p { padding:3px; font-size:60%; font-weight:800; }
	.site_popup .s_rating {height:20px; width:100px;}
	.site_popup.pg .s_rating div { background-position:0 -204px;}
	.site_popup.ks .s_rating div { background-position:0 -184px;}
	/*site logo in popup*/
	.pop_hdr { font-size:55%; padding:1px 0 4px 27px }
		.site_popup:before { 
			content:""; width:27px;height:32px;
			background-image:url(/images/page_sprite_mobile.png); background-repeat:no-repeat;
			background-position:-26px -36px; 
			position:absolute; display:block; top:2px; left:-1px;
		}
		.site_popup.ks:before {background-position: 1px -36px; }
	
			
	/* =========================== SWELL AND TIDES  =========================== */	
	.widget.f { position:absolute; font-size:14px; border-width:3px;}
	#object_swell, #object_tides, #object_weather, #windguru_logo { margin:5px }
	
		#object_tides { top:0;right:0; }
			#object_tides .w_inner { font-size:20px; height:108px; width:78px;}
			#object_tides .tide_text { font-size: 50%; padding: 10% 0 0 9%; height:42%; }
			#object_tides p { font-size:90%; }
			#tide_max_area { height:92%;}
		
	#object_swell { bottom:0; left:0;}	
		#object_swell .w_inner { font-size:20px; height:65px; width:109px;}		
		#arrow_swell { background-size:55px 55px; height:55px;width:55px;}

		
	#object_weather { display:block; left:0; top:0; }	
		#object_weather .w_inner { height:auto }
		#object_weather img { width:50px; padding:0 10px; }

		
	/* =============== Timeline desktop =============== */
	#timeline { position:absolute; z-index:16; bottom:-58px; left:0; height:57px; margin-top:0; padding-top:0; border-top:solid 1px #666; overflow:hidden; } /* overflow:visible; */

					
	/* =========================== QUICK FORECASTS =========================== */
	#object_jsymet .container { font-size:60%; font-weight:400;}
	#object_jsymet .scroller { width:100%;}	
	#object_windguru.widget { max-width:686px; min-height:100px; margin: 10px auto 0 auto; }
	
	/*sea colour for quick froecasts*/
	#quick_forecast  { background:#ccc; }
	.day #quick_forecast { background:#81BDCC; }
	.dusk #quick_forecast { background:#9e4c42; }
	.night #quick_forecast { background:#082329; }	
	/* == FUTURE == 
	.future #settings_opener, .history #settings_opener { display:none } */

		/*.future #wm_name { font-style:italic; opacity:0.8;}	
		.future #wm_name:after {
				content: "the wise monkey";
				position: absolute; left:2px; top:4px; color:rgba(255,255,255,0.3);
				}*/


		/* =======================================  SPLIT WITH SCENE  ============================================*/	
		#scene, #scene div { position:absolute; }
		#hdr_corbiere, #hdr_la_pulente, #hdr_la_rocco, #hdr_sport_sup, #hdr_sport_pg, #hdr_sport_ks, #hdr_sport_ws  { 
			background:transparent url(/images/la_pulente_day.png) no-repeat;
			background-size:822px 187px;
		}
		#header { height:250px; font-size:22px;}
		#hdr_sun, #hdr_moon { left:500px; }
			#hdr_sun { top:10%; }
			#hdr_moon { top:-100% }
		#hdr_sea { z-index:3; width:100%; height:250px; top:37%; margin-top:38px; }
		#hdr_corbiere { z-index:4; width:200px; height:60px; top:40%; background-position:-381px -56px; left:1%; margin-left:310px; } 
		#hdr_la_pulente { z-index:5; width:380px; height:150px; top:33%; margin-top:12px; left:2%; margin-left:-30px; background-position:0px -52px; } 
		#hdr_la_rocco { z-index:6; width:260px; height:40px; top:60%; left:60%; margin-left:100px; background-position:-526px -84px; }

		#hdr_sport_sup { z-index:7; width:40px; height:30px; top:91%; margin-top:-17px; left:26%; margin-left:150px; background-position:-410px -150px; }
		#hdr_sport_pg { z-index:7; width:36px; height:34px; top:15%; margin-top:10px; left:5%; margin-left:206px; background-position:-255px -7px; } 
		#hdr_sport_ks { z-index:7; width:60px; height:60px; top:90%; margin-top:-40px; left:62%; margin-left:-100px; background-position:-458px -125px; }
		#hdr_sport_ws { z-index:7; width:60px; height:50px; top:75%; margin-top:-28px; left:75%; margin-left:-100px; background-position:-520px -130px; } 
		#nav_time {z-index:8;}

		/*comments */
		#scene_comments {
			position:absolute; z-index:2; right:250px; /*top:110%;*/ top:10px; max-width:100%; padding:7px 16px; display:block;
			border-radius:6px; font-size:18px;
			}
			.future #scene_comments:hover, .history #scene_comments:hover { opacity:1; cursor:pointer; }
			.future #scene_comments:hover:before, .history #scene_comments:hover:before { opacity:1; }

			.future #scene_comments:before, .history #scene_comments:before {
				left:6px; right:auto; margin-top:-8px; opacity:0.15;
			}

		/*dusk*/
		.dusk #hdr_corbiere, .dusk #hdr_la_pulente, .dusk #hdr_la_rocco, .dusk #hdr_sport_pg, .dusk #hdr_sport_ks, .dusk #hdr_sport_ws  { 
			background-image:url(/images/la_pulente_dusk.png);
			}
		.dusk #hdr_sun {left:600px; opacity:0.8;}
		.dusk #hdr_sport_sup {left:14%;}
		.dusk #hdr_sport_pg {left:7%}	
		.dusk #hdr_sport_ks {left:58%}
		.dusk #hdr_sport_ws {left:77%}
		/*dawn*/
		.dusk #hdr_sun, .dawn #hdr_sun { top:34%; margin-top:-40px; }
		.dawn #hdr_sun { left:350px; }


		/*night*/
		.night #hdr_corbiere, .night #hdr_la_pulente, .night #hdr_la_rocco, .night #hdr_sport_pg, .night #hdr_sport_ks { 
			background-image:url(/images/la_pulente_night.png);
			}
		.night #hdr_sun { top:200% }
		.night #hdr_moon { top:20% }
		.night #hdr_sport_sup {left:8%; opacity:0}
		.night #hdr_sport_pg {left:8%; opacity:0}	
		.night #hdr_sport_ks {left:55%; opacity:0}
		.night #hdr_sport_ws {left:85%; opacity:0}



		/* ======================= PAGE MODES  ================================== */
		 /*default when no page styles */
		#scene { width:100%;height:100% }
		#header { height:250px;}
		#panel_obs {bottom:0; top:220px; }


		/*PAGE SPLIT */
		.page_split #header { height:150px; }
			 #scene_comments.hidden, .page_hub #scene_comments { top:200px;}
		.page_split #panel_obs { top:160px; bottom:58px; }
		.page_split #timeline { bottom:-58px }
		/*locked - hide to prevent leakage*/
		.page_split.locked #quick_forecast, .page_link.locked #quick_forecast {height:0;min-height:0;overflow:hidden; }


		/*PAGE MAP */
		.page_map #panel_obs { top:58px; bottom:58px;} 
		.page_map #header{ height:58px; border-bottom:solid 1px; font-size:22px;}
			.page_map #hdr_la_pulente { opacity:0.25 }
			.page_map #hdr_corbiere  { opacity:0.8 }
			.page_map #hdr_la_rocco  { opacity:0.1 }
			.page_map #hdr_sport_sup { opacity:0.3 }
			.page_map #hdr_sport_pg  { opacity:0.7 }
			.page_map #hdr_sport_ks  { opacity:0.7 }
			.page_map #hdr_sport_ws  { opacity:0.4 }	
		.page_map.locked #scene_comments { z-index:7 }
		

		/*PAGE HUB */	
		body.page_hub {overflow:visible} /* this causes animation to fail in forefox */
		.page_hub #header { height:210px;}
		.page_hub #nav_time, .page_link #nav_time {opacity:0; top:-50px;}
		.page_hub #hdr_suntimes { top:120px; }
		.page_hub #quick_forecast { top:0; margin-top:210px; }
		.page_hub #extra_desktop { top:0%; }
		
		.page_hub.locked #timeline {overflow:hidden}
		.page_hub.locked #link_load_iframe {display:none}


		/*PAGE LINK = iframe */
		.page_link #header { height:0px }
		.page_link #timeline {bottom:-60px;}
		.page_link #refresh_area, .page_link #ps_size { display:none}
		/* viewing a page but seeing the links overlaid when hovering over pageswitch. added to combine with page_link */
		.page_link.page_link_peek #extra_desktop { top:1px } /* using px stop animation as it is set as % normally */
		.page_link_peek #link_list_dt {	margin-right:0;	padding:0 60px 10px 10px; }
			.page_link_peek.day .link_list .section { background:rgba(209, 233, 240, 1); }
			.page_link_peek.night .link_list .section { background:rgba(0, 0, 0, 1); }
			.page_link_peek.dusk .link_list .section { background:rgba(174, 100, 55,1) }
		.page_link_peek #about_switch { display:none}	
		#ps_back { background-position:-154px -68px; cursor:pointer}
		.page_link_peek #ps_back { right:-4px;}


		/*PAGE HELP */
		body.page_help { overflow:visible }
		.page_help #header, .page_help #panel_obs { width:auto; right:65px; left:65px; }
			.page_help #wm_name, .page_help #hdr_comments {left:17px}
		.page_help #header { height:150px;top:90px; border-radius:20px; }
			.page_help #nav_time {right:10px}
			.page_help #scene_comments {right:195px}
		.page_help #panel_obs { top:300px; bottom:auto;height:370px; /*bottom:115px;*/ }
				.page_help #viewport { border-radius:15px; }
		.page_help #timeline { bottom:-140px; border-radius:10px; }	

		.page_help #quick_forecast {display:none}
		/*.page_help #help_opener { right:-65px; bottom:15px; }*/


		/*proper z-indexing */
		#panel_obs, #timeline {z-index:1;}
		#link_load_iframe {z-index:2;}
		#header {z-index:4;}
		#quick_forecast, #extra_desktop {z-index:5;}
		#logo, .pswitch {z-index:6;}



		/*hub*/
		#link_list_dt { top:0; margin-top:0; }
		.link_list .section { margin:3px 9px 0 0;}
		.link_list .section h2 { padding:0;}


		/* ANIMATION */
		.anim #logo, .anim #header, .anim #scene div, .anim #nav_time, .anim #hdr_suntimes,
		.anim #wind_obs, .anim .tlarrow,
		.anim #quick_forecast, .anim #quick_forecast .inner, .anim #extra_desktop,
		.anim #panel_obs, .anim #refresh_area, .anim #timeline, 
		.anim #viewport, .anim #map, .anim #map_area,
		.anim .pswitch, .anim #about_switch,
		.anim #link_load_iframe {
		   -webkit-transition: all 600ms cubic-bezier(0.785, 0.135, 0.150, 0.860); 
		   -moz-transition: all 600ms cubic-bezier(0.785, 0.135, 0.150, 0.860);
		   -o-transition: all 600ms cubic-bezier(0.785, 0.135, 0.150, 0.860);
		   -ms-transition: all 600ms cubic-bezier(0.785, 0.135, 0.150, 0.860);
		   transition: all 600ms cubic-bezier(0.785, 0.135, 0.150, 0.860);
		 }



		/* HOVER EFFECTS - useless for moblies */
		#logo:hover { -webkit-transform:rotate(10deg); -ms-transform:rotate(10deg); transform:rotate(10deg) }

		/*Nav Time*/
		.live #nav_now {cursor:default;} /*time hover back to live indicator*/	
		.future.day #nav_now, .history.day #nav_now { border-color:rgba(256,256,256,0.4); }
		.future.day #nav_now:hover, .history.day #nav_now:hover { color:#19343c; border-color:rgba(256,256,256,0.8);}

		.future.dusk #nav_now, .history.dusk #nav_now { border-color:#bc815e; }
		.future.dusk #nav_now:hover, .history.dusk #nav_now:hover { color:#ffe9c4; border-color:#cc9f86;}

		.future.night #nav_now, .history.night #nav_now { border-color: #163740; }
		.future.night #nav_now:hover, .history.night #nav_now:hover { color:#47ddd3; border-color: #245a64;}	

		#seconds {display:block; position:absolute; top:32px; right:33px; font-size:40%; opacity:0.8 }
			.future #seconds, .history #seconds {  display:none;}

		/*Spots*/
		.spot:hover:not(.alert) {
			background:rgba(255,255,255,0.1);
			padding: 0px 0 5px 3px; margin:-17px 0 0 -20px;
			border-radius:23px; border:solid 2px; border-color:rgba(0,0,0,0.1);
			}
			.spot:hover .rating {left:41px;}
			.spot:hover .name {left:23px;}
			
		.spot.alert { width:25px;height:25px;padding:5px;margin:0; background:rgba(255,0,0,0.2); border-radius:23px; border:solid 2px; border-color:rgba(144, 7, 19,0.4); display:block !important; }
			.spot.alert:hover { background:rgba(255,0,0,0.5); }

		/*HUB*/	
		#about_switch {
			position:absolute; top:56%; left:0; margin-left:11%; padding: 15px 15px 5px 15px;
			border:solid 6px; border-radius:80px;
			font-family: 'Cabin Sketch','Helvetica', sans-serif;
			font-size:210%; line-height:70%; font-weight:400; text-decoration: none; text-align: center;
			-webkit-transform:rotate(-8deg); -ms-transform:rotate(-8deg); transform:rotate(-8deg);
			opacity: 0.2;
		}
			#about_switch:hover { opacity:0.8; -webkit-transform:rotate(-12deg) scale(1.2); -ms-transform:rotate(-12deg) scale(1.2); transform:rotate(-12deg) scale(1.2);}
			#about_switch div {font-size:30%}

			.day #about_switch {background:#fff7d0;color:#3b6c82;}
			.dusk #about_switch {background:#9e4c42;color:#ffe733;}
			.night #about_switch {background:#111;color:#26fff3;}


		#extra_desktop { position:absolute; display:block; /*z-index:200;*/ height:240px; width:100%; top:-100%; overflow:hidden }
		#extra_mobile { display:none }

		/*======= quick forecast BACKGROUND GRAPHICS =====*/
		#quick_forecast { min-height:100%; left:0; top:100%; }
		#object_jsymet { width:686px; }

		#quick_forecast .widget {
			-webkit-box-shadow: 0px 4px 7px rgba(50, 50, 50, 0.75);
			-moz-box-shadow:    0px 4px 7px rgba(50, 50, 50, 0.75);
			box-shadow:         0px 4px 7px rgba(50, 50, 50, 0.75);
		}		
		#quick_forecast .inner {  position:relative; z-index:2; padding:0 10px } 
		#quick_forecast h2 { color:#566455; font-size:14px; }
		#quick_forecast_area { position:relative; width:686px; margin:0 auto; } /* wrapper here to stick image of both in. is animated via js */
		#page_loading { display:none; position:absolute; right:30%; text-align:center; padding-top:80px; }
		#page_loading h1 { background:#fff; margin:10px; padding:20px; border-radius:15px; opacity:0.7 }

		/*======= LOAD AREA =====*/
		#link_load_iframe {position:absolute; background:white;} 


		/* WINDGURU LOGO */
		#windguru_logo { 
			display:block; position:absolute; z-index:10; right:43px; bottom:-4px; width:105px; height:42px;
			background-position:0px -224px;
			}

		/*SAMLL ICONS */	
		#ps_size, #settings_opener, #help_opener, #logged_in { position:absolute; z-index:2; bottom:1px; right:0; margin:0 4px 4px 0; width:30px; height:26px; opacity:0.2; }					
		#ps_size { background-position:-117px -186px; opacity:0.5; }
			.page_map #ps_size { background-position: -117px -221px }

		/*OPTIONS OPENER */
		#settings_opener { bottom:37px; background-position:0px -61px; display:block;	}			
			#help_opener {bottom:73px; background-position:-117px -151px;}
			#logged_in { bottom:108px; background-position:-13px -14px; opacity:0; }	

		#ps_size:hover, #settings_opener:hover, #help_opener:hover, #logged_in:hover  { opacity:1; }

		/*LINKS DESKTOP */
		.link_list { top:14px; right:0; margin-right:60px; font-size:11px; }
		.link_list .section { width:auto; min-width:140px; margin:10px 20px 0 0; }	
}


/* ==================================  inbetween ============================================ */
@media screen and (min-width:670px) and (max-width:780px) { /* was min-width:550px */
	.link_list .section.webcams, #help_opener { display:none }
	#scene_comments { font-size:55%; padding:4px 6px; top:16px;}
	.future #scene_comments, .history #scene_comments {padding-left:24px;}	
}

@media screen and (max-width:670px) { /* was max-width:550px */
	#extra_desktop { display:none }
}


/* ==================================  average desktop ============================================ */
@media screen and (min-width: 780px) {
	.spot .badge { background-image:url(/images/page_sprite.png); background-repeat:no-repeat; }
	#hdr_suntimes, #windguru_logo { display:block }

	
	/* OBSERVATIONS */
	#map, #map_area { width:800px; height:506px; margin-left:-380px; margin-top:-230px; }	
		#arrow  {
			width: 250px; height: 250px;
			margin-left:-125px; margin-top:-135px;  /*just seemed to look too low */
			background:url(/images/arrow/arrow_big_night.png) no-repeat;
			background-size:250px 250px;
			}

		/* ===========================  OBS  ============================ */
		#wind_obs { left:270px; top:125px; width:250px; height:130px; font-size:49px;}			
		#wind_obs .verbose { display:inline; } /* needs update to source */
		#wind_obs #temp, #obs_time {font-size:22%;}


		/* ===========================  SITES  ============================ */
		.spot { z-index:10; font-size:70%; cursor:pointer; width:100px;height:40px; margin:-15px 0 0 -15px }
			.spot .badge { z-index:3; width:40px; height:45px; }
			.spot .rating { display:block; z-index:1; top:11px; left:38px; width:50px; height:10px; }
			.spot .rating div { height:100%; }
			.spot .name { 
				display:block; z-index:2; top:23px; left:20px; padding:0px 6px 1px 16px;
				border:solid 1px; border-radius:6px; opacity:0.6;
				white-space:nowrap; font-size:10px;
				}

			.spot.ks {color:#1a4e72}
			.spot.pg {color:#1f592a}
			.spot.ks .badge { background-position:0 -118px;}
			.spot.pg .badge {background-position:-45px -118px;}
			.spot.ks .rating div { background-position:0 -163px;}
			.spot.pg .rating div {background-position:0 -173px;}
			.spot.ks .name { background:#9adaed}
			.spot.pg .name { background:#c1e5a0}

			.spot.off {display:block; opacity:0.1}
			.spot.off:hover {opacity:1}	
			.spot.off .name, .spot.off .rating, .night .spot {display:none;}
			.spot.off:hover .name {display:block;}
						
	/* ===========================  SITES-popup  ============================ */
	.site_popup { font-size:20px; }
	.site_popup, .site_popup img { width:175px;}	
}




/* ==================================  big desktop ============================================ */
@media screen and (min-width: 1250px)  {
	#scene_comments { font-size:25px; margin-top:-4px}
	
	/* OBSERVATION */	
	#map, #map_area { width:1052px; height:666px;	margin-left:-480px; margin-top:-300px; }
	#wind_obs { left:340px; top:175px; width:320px; height:158px; font-size:58px; }
	/* widgets */
	#panel_obs .widget h1 { font-size:130%; }
	/* swell and tides */
	.widget.f { border-width:4px; }
		#object_swell .w_inner { font-size:24px; height:80px; width:140px; }
		#object_tides .w_inner { font-size:26px; height:135px; width:95px; }
		
	#arrow_swell { background-size:65px 65px; height:65px;width:65px;}		
		
	#object_weather img { width:60px; padding:5px 20px 5px 20px; }			
}


/*SMALL WINDOW HEIGHT - contract spilt */
@media screen and (min-width:670px) and (max-height:400px) { /* was min-width: 550px */
	.page_split #header {height:58px}
	.page_split #panel_obs {top:59px;}
	.page_split #hdr_la_pulente, .page_split #hdr_la_rocco { opacity:0.25 }
}

/* expand when tall and narrow - hopefully this will sort out iPad portrait too */
@media screen and (min-width:670px) and (max-width: 850px) and (min-height:800px) { /* was min-width: 550px */
	.page_split #header {height:250px}
	.page_split #panel_obs {top:260px;}
}




/* RETINA MOBILE may need updating! see... http://css-tricks.com/snippets/css/retina-display-media-query/ */
@media all and (-webkit-min-device-pixel-ratio: 2) {
	#tide_arrow, .site_popup:before, #timeline a.tl_box.active .info:after, .future #scene_comments:before, .history #scene_comments:before { 
		background-image:url(/images/page_sprite_mobile@2x.png); background-size:70px 100px; 
	}
}
/* restrict to mobile only */
@media all and (-webkit-min-device-pixel-ratio: 2) and (max-width: 669px) { /* was max-width: 549px */
	#logo, .spot .badge, .site_popup .s_rating div { background-image:url(/images/page_sprite_mobile@2x.png); background-size:70px 100px; }	
}



/* RETINA DESKTOP */
/*@media all and (-webkit-min-device-pixel-ratio: 2) and (min-width: 550px) {*/
@media
only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 670px), /* was 550 */
only screen and (min--moz-device-pixel-ratio: 2) and (min-width: 670px),
only screen and (-o-min-device-pixel-ratio: 2/1) and (min-width: 670px),
only screen and (min-device-pixel-ratio: 2) and (min-width: 670px),
only screen and (min-resolution: 192dpi) and (min-width: 670px),
only screen and (min-resolution: 2dppx) and (min-width: 670px) {
	#logo, #hdr_sun, #hdr_moon, #nav_back, #nav_fwd, .pswitch, #settings_opener,#settings.widget h1 span, #windguru_logo, .help_note:before  { 
		background-image:url(/images/page_sprite@2x.png); background-size:400px 284px; 
	}
	#arrow  {background-image:url(/images/arrow/arrow_big_night@2x.png); }
}

@media all and (-webkit-min-device-pixel-ratio: 2) and (min-width: 780px) {
	.spot .badge, .spot .rating div, .site_popup .s_rating div  { background-image:url(/images/page_sprite@2x.png); background-size:400px 284px; }
}
