
/* 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; }



			

@media screen and (min-width: 550px) {	

	/*.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% } /*use top:200% to have moon rise from bottom; use top:-100% for dropping down*/
	#hdr_sea { z-index:3; width:100%; height:250px; top:37%; margin-top:38px; } /* top:130px; */
	#hdr_corbiere { z-index:4; width:200px; height:60px; top:40%; background-position:-381px -56px; left:1%; margin-left:310px; } /*top:99px;*/
	#hdr_la_pulente { z-index:5; width:380px; height:150px; top:33%; margin-top:12px; left:2%; margin-left:-30px; background-position:0px -52px; } /*top:92px;*/
	#hdr_la_rocco { z-index:6; width:260px; height:40px; top:60%; left:60%; margin-left:100px; background-position:-526px -84px; }/*top:150px; */

	#hdr_sport_sup { z-index:7; width:40px; height:30px; top:91%; margin-top:-17px; left:26%; margin-left:150px; background-position:-410px -150px; }/*top:80%; margin-top:-10px; left:16%; */
	#hdr_sport_pg { z-index:7; width:36px; height:34px; top:15%; margin-top:10px; left:5%; margin-left:206px; background-position:-255px -7px; } /* top:44px; */
	#hdr_sport_ks { z-index:7; width:60px; height:60px; top:90%; margin-top:-40px; left:62%; margin-left:-100px; background-position:-458px -125px; }/*top:178px;*/
	#hdr_sport_ws { z-index:7; width:60px; height:50px; top:75%; margin-top:-28px; left:75%; margin-left:-100px; background-position:-520px -130px; } /*top:165px;*/
	#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;
		}

/*smaller version for small width -adding below hopefully
#scene_comments { font-size:55%; padding:4px 6px;}
.future #scene_comments, .history #scene_comments {padding-left:24px;}
*/


	/*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; }
	/*#ps_size { bottom:-30px;}*/

	/*PAGE SPLIT */
	.page_split #header { height:150px; }
	/*.page_split #scene_comments { top:6%; }*/
		 #scene_comments.hidden, .page_hub #scene_comments { top:200px;} /* top:105%; */

	.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_split.locked #quick_forecast_area { display:none; }
.page_split.locked #quick_forecast {min-height:0;}*/

	/*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 #quick_forecast { top:0; margin-top:210px; }
	.page_hub #extra_desktop { top:0%; }
	.page_hub.locked #timeline {overflow:hidden}
	/*.page_hub #ps_size { bottom:-160px}*/


	/*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 #scene_comments { top:18%; }*/


	/*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:60px; border-radius:20px; }
	.page_help #panel_obs { top:270px; bottom:115px; }
			.page_help #viewport { border-radius:15px; }
	.page_help #timeline { bottom:-118px; border-radius:10px; }	
	
	.page_help #quick_forecast {display:none}


	/*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 #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 {
		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;}
	
		
	/*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%; /*z-index: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; }		
}


@media screen and (min-width:550px) and (max-width:780px) {
	.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:550px) {
	#extra_desktop { display:none }
}

/* big desktop  */
@media screen and (min-width: 1250px)  {
	#scene_comments { font-size:25px; margin-top:-4px}
}

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

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

