﻿*{
	/* Universal CSS reset */
	margin:0;
	padding:0;
}

body{
	/* Setting default text color, background and a font stack */
	background: url('img/map2.png') no-repeat center top;
	background-size: 50% 66%;
	font-family: Arial, Helvetica, sans-serif;
	overflow:hidden;
}

.slideOutTip{
	/* The main wrapping div of the slideout tips */
	position:absolute;
	padding:2px;
	top:0;
	left:0;
	background-color:#111;
	font-size:15px;
	color:white;
	overflow:hidden;
	height:25px;
}

.slideOutTip:hover{
	/* Applying a CSS3 outer glow on hover */
	-moz-box-shadow:0 0 20px #999;
	-webkit-box-shadow:0 0 20px #999;
	box-shadow:0 0 20px #999;
}

/* The holder for the title and the icon: */
.tipVisible{ cursor:pointer; height:22px; }

.tipTitle{
	float:left;
	font-family:'Myriad Pro',Arial, Helvetica, sans-serif;
	font-size:16px;
	font-weight:bold;
	white-space:nowrap;
	line-height:25px;
	padding-right:5px;
}

.tipIcon{
	width:25px;
	height:25px;
	float:left;
	margin-right:5px;
	
	/* CSS3 Rounded corners */
	-moz-border-radius:1px;
	-webkit-border-radius:1px;
	border-radius:1px;
}

/* Three color themes */
.green .tipIcon{ background-color:#61b035;  }
.blue .tipIcon{ background-color:#1078C7;  }
.red .tipIcon{ background-color:#CD3A12; }
.purple .tipIcon{ background-color:#8B00FF; }

.plusIcon{
	/* The plus icon */
	width:15px;
	height:15px;
	background:url('img/plus.gif') no-repeat center center;
	margin:5px;
	
	/* Defining a CSS3 animation. Currently only works in Chrome and Safari */
	-webkit-transition: -webkit-transform 0.2s linear;
	-moz-transition: -moz-transform 0.2s linear;
	transition: transform 0.2s linear;
}

.slideOutTip.isOpened{ z-index:10000; }

.slideOutTip.isOpened .plusIcon{
	/* Applying a CSS3 rotation  to the opened slideouts*/
	-moz-transform:rotate(45deg);
	-webkit-transform:rotate(45deg);
	transform:rotate(45deg);
}

/* Special rules for the left and top - opening versions */

.openLeft .tipIcon{
	/* Floating the title and the icon to the right */
	margin:0 0 0 5px;
	float:right;
}
.openLeft .tipTitle{ float:right; padding:0 0 0 5px; }
.openLeft .slideOutContent{ margin-top:22px; }
.openLeft.openTop .slideOutContent{	margin-top:0; }


.slideOutContent{
	/* Hiding the div with the slide out content: */
	display:block;
	padding:10px;
	font-size:16px;
	width:400px;
}

/* Hiding the original paragraphs if they have not been replaced (JS disabled): */

.main > p{ display:none; }

/* The styles below are only necessary for the styling of the demo page: */

.main{
	height:700px;
	margin:20px auto;
	position:relative;
	width:960px;
}

.spaceBottom{
	margin:0 0 10px;
	vertical-align:middle;
}

.spaceTop{
	margin:10px 0 0;
	vertical-align:middle;
}