#coachspeak{
	position:fixed;
	bottom: 0px;
	z-index: 10000;
}
#coachspeak img{
	width: 150px;
	margin: 0px 20px;
}
#coachspeak img.floatright{
	float: right;
}
.speechbubble{
	display: none;
	max-width: 250px;
	background: white;
	color: #000;
	box-shadow: 0px 0px 15px #888888;
}
#coachspeakclose{
  color:#000 !important;
  font-size:30px;
  margin-left: 10px;
}
/*.speechbubble-right, .speechbubble-left{
	border-radius: 10px;
	border:2px solid #f00;
	padding:10px;
	margin-bottom: 10px;
	font-size: 85%;
}
.speechbubble-right{
	margin-right: 20px;
}
.speechbubble-left{
	margin-left: 5px;
}*/

/*LEFT TRIANGLE*/
.triangle-border-left{
width: 270px;
  position:relative;
  padding:10px;
  margin-bottom:30px;
  border:5px solid #fc732f;
  color:#333;
  background:#fff;
  left:20px;
  /* css3 */
  -webkit-border-radius:10px;
  -moz-border-radius:10px;
  border-radius:10px;
}
.triangle-border-left.left {
  margin-left:30px;
}
.triangle-border-left:before {
  content:"";
  position:absolute;
  bottom:-20px; /* value = - border-top-width - border-bottom-width */
  left:20px; /* controls horizontal position */
  border-width:20px 20px 0;
  border-style:solid;
  border-color:#fc732f transparent;
  /* reduce the damage in FF3.0 */
  display:block;
  width:0;
}
.triangle-border-left:after {
  content:"";
  position:absolute;
  bottom:-13px; /* value = - border-top-width - border-bottom-width */
  left:27px; /* value = (:before left) + (:before border-left) - (:after border-left) */
  border-width:13px 13px 0;
  border-style:solid;
  border-color:#fff transparent;
  /* reduce the damage in FF3.0 */
  display:block;
  width:0;
}

			/*TRIANGLE RIGHT*/
			.triangle-border-right {
			width: 270px;
			  position:relative;
			  padding:15px;
			  margin-bottom:30px;
			  border:5px solid #fc732f;
			  color:#333;
			  background:#fff;
			  right:20px;
			  /* css3 */
			  -webkit-border-radius:10px;
			  -moz-border-radius:10px;
			  border-radius:10px;
			}
			.triangle-border-right.right {
			  margin-right:30px;
			}
			.triangle-border-right:before {
			  content:"";
			  position:absolute;
			  bottom:-20px; /* value = - border-top-width - border-bottom-width */
			  left:170px; /* controls horizontal position */
			  border-width:20px 20px 0;
			  border-style:solid;
			  border-color:#fc732f transparent;
			  /* reduce the damage in FF3.0 */
			  display:block;
			  width:0;
			}
			.triangle-border-right:after {
			  content:"";
			  position:absolute;
			  bottom:-13px; /* value = - border-top-width - border-bottom-width */
			  left:177px; /* value = (:before left) + (:before border-left) - (:after border-left) */
			  border-width:13px 13px 0;
			  border-style:solid;
			  border-color:#fff transparent;
			  /* reduce the damage in FF3.0 */
			  display:block;
			  width:0;
			}
		</style>
		<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
	  	<!-- <script type="text/javascript" src="js/jquery-ui-1.10.3.custom.min.js"></script> -->
	  	<script type="text/javascript" src="js/coachspeak.js"></script>
	  	<script type="text/javascript" src="js/animate.js"></script>
  	<div class="clearfix"></div>
	<?php //require_once("pagefooter.php");?>
	<!-- Bootstrap JavaScript -->
	<script type="text/javascript" src="js/jquery.plugin.js"></script>
	<script type="text/javascript" src="js/jquery.realperson.js"></script>
	<script type="text/javascript" src="js/bootstrap-datepicker.js"></script>
	<script type="text/javascript" src="js/slick.min.js"></script>
	<!-- recaptcha js -->
	<script type="text/javascript">
		$(document).ready(function () {
		// 	var redirectUrlBasedOnGoal = $(".redirectUrlBasedOnGoal").val();
		// /*
		// 	1 = procced to planning
		// 	0 = proceed to recommendation 
	
			var redirectLinks = $(".redirectLinks").val();
			var cartCountTotal = $(".cartCountTotal").text()
			if(redirectLinks == 1){
				$(".planYourGoals").show();
				$(".recommendation").hide();
				if(cartCountTotal > 0){
					$(".investment").show();	
				}
			}else if(redirectLinks == 2){
				$(".recommendation").show();
				if(cartCountTotal > 0){
					$(".investment").show();	
				}
			}

			$("#captcha").realperson();
			realignFooter();
		});
	</script>
</body>
</html>