/* General CSS Setup */

/* CSS talk bubble */
.talk-bubble {
	margin: 0px;
	display: inline-block;
	position: absolute;
	width: auto;
	/*min-width: 200px;	*/
	max-width: 300px;
	height: auto;
	background-color: #fff;
  z-index: 20000;
  box-shadow: 0px 11px 14px 4px rgba(34, 34, 34, 0.3);
	box-sizing: border-box;
}
.border{
	border: 8px solid #666;
}
.round{
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;

}

/* Right triangle, left side slightly down */
.tri-right.border.left-in:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: -40px;
	right: auto;
	top: 30px;
	bottom: auto;
	border: 20px solid;
	border-color: #666 #666 transparent transparent;
}
.tri-right.left-in:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: -20px;
	right: auto;
  top: 38px;
	bottom: auto;
	border: 12px solid;
	border-color: white white transparent transparent;
}


/*Right triangle, placed bottom left side slightly in*/
.tri-right.border.btm-left-in:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: 30px;
  right: auto;
  top: auto;
	bottom: -40px;
	border: 20px solid;
	border-color: #666 transparent transparent #666;
}
.tri-right.btm-left-in:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: 38px;
  right: auto;
  top: auto;
	bottom: -20px;
	border: 12px solid;
	border-color: white transparent transparent white;
}

/*Right triangle, placed bottom right side slightly in*/
.tri-right.border.btm-right-in:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: auto;
	right: 30px;
	bottom: -40px;
	border: 20px solid;
	border-color: #666 #666 transparent transparent;
}
.tri-right.btm-right-in:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: auto;
	right: 38px;
	bottom: -20px;
	border: 12px solid;
	border-color: white white transparent transparent;
}
/*
	left: -8px;
  right: auto;
  top: auto;
	bottom: -40px;
	border: 32px solid;
	border-color: transparent transparent transparent #666;
	left: 0px;
  right: auto;
  top: auto;
	bottom: -20px;
	border: 22px solid;
	border-color: transparent transparent transparent white;

/*Right triangle, placed bottom right side slightly in*/
.tri-right.border.btm-right:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: auto;
	right: -8px;
	top: auto;
	bottom: -40px;
	border: 32px solid;
	border-color: #666 #666 transparent transparent;
}
.tri-right.btm-right:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: auto;
    right: 0px;
    top: auto;
    bottom: -10px;
    border: 10px solid;
    border-color: white white transparent transparent;
}

.tri-right.border.top-right:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: auto;
	right: -8px;
	bottom: auto;
	top: -40px;
	border: 32px solid;
	border-color: #666 #666 transparent transparent;
}
.tri-right.top-right:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: auto;
	right: 0px;
	top: -20px;
	bottom: auto;
	border: 22px solid;
	border-color: white white transparent transparent;
}

/*Right triangle, placed bottom left side slightly in*/
.tri-right.border.btm-left:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: -8px;
	right: auto;
	top: auto;
	bottom: -40px;
	border: 32px solid;
	border-color: transparent transparent transparent #666;
}
.tri-right.btm-left:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: 0px;
    right: auto;
    top: auto;
    bottom: -10px;
    border: 10px solid;
    border-color: transparent transparent transparent white;
}

.tri-right.border.top-left:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: -8px;
	right: auto;
	top: -40px;
	bottom: auto;
	border: 32px solid;
	border-color: transparent transparent transparent #666;
}
.tri-right.top-left:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: 0px;
	right: auto;
	top: -20px;
	bottom: auto;
	border: 22px solid;
	border-color: transparent transparent transparent white;
}

/* Right triangle, right side slightly down*/
.tri-right.border.right-in:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: auto;
	right: -40px;
  top: 30px;
	bottom: auto;
	border: 20px solid;
	border-color: #666 transparent transparent #666;
}
.tri-right.right-in:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: auto;
	right: -20px;
  top: 38px;
	bottom: auto;
	border: 12px solid;
	border-color: white transparent transparent white;
}

/* Right triangle placed top right flush. */
.tri-right.border.right-top:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: auto;
	right: -40px;
	top: -8px;
	bottom: auto;
	border: 32px solid;
	border-color: #666 transparent transparent transparent;
}
.tri-right.right-top:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: auto;
    right: -10px;
    top: 0px;
    bottom: auto;
    border: 10px solid;
    border-color: white transparent transparent transparent;
}

.tri-right.border.right-btm:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: auto;
	right: -40px;
	bottom: -8px;
	top: auto;
	border: 32px solid;
	border-color: #666 transparent transparent transparent;
}
.tri-right.right-btm:after{
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	left: auto;
	right: -20px;
	bottom: 0px;
	top: auto;
	border: 22px solid;
	border-color: white transparent transparent transparent;
}

/* Right triangle placed top left flush. */
.tri-right.border.left-top:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
  left: -40px;
	right: auto;
  top: -8px;
	bottom: auto;
	border: 32px solid;
	border-color: #666 transparent transparent transparent;
}
.tri-right.left-top:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: -10px;
    right: auto;
    top: 0px;
    bottom: auto;
    border: 10px solid;
    border-color: white transparent transparent transparent;
}

/* talk bubble contents */
.talktext {
    padding: 0.8em;
    overflow: hidden;
    text-align: left;
    line-height: 1.5em;
    font-size: 13px;
    max-width: 280px;
    max-height: 300px;
    overflow-y: auto;
}
.talktext p{
  /* remove webkit p margins */
  width: auto;
  position: relative;
  font-family: 'Open Sans', sans-serif;
  -webkit-margin-before: 0em;
  -webkit-margin-after: 0em;
	margin:0;
}
.talktext p img{
	width: 200px;
	height: 200px;
}
.mousePointer{
	cursor:pointer;
}
._closeMaptip {
	display: block;
	height: 19px;
	width: 19px;
	line-height: 19px;
	-moz-border-radius: 30px;
	border-radius: 3px;
	/* border: 1px solid #d9d9d9; */
	background-color: #eee;
	color: darkgrey;
	text-align: center;
	font-size: 0.7em;
	margin-right: 4px;
	margin-top: 4px;
	float: right;
	margin-left: 4px;
}
/*._closeMaptip{
	font-size: 0.8em;
	padding-right: 20px;
	padding-top: 10px;
	float: right;
}*/
._closeMaptip:hover{
	cursor:pointer;
}
