/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}
ul#labels li a {
	outline:none;
}

*:focus, *:hover, *:selected, li{
	outline:none;
}
html,body {
    font-size: 1em;
    line-height: 1.4;
    width: 940px;
	background-color: #ffffff;
	font-family: 'c4_textregular';

}


::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.force-hide {
	display : none !important;
}

.mainMap {
	position:absolute;
	top:0;
	left:0;
}
.mainMap.back {
	z-index: 0;
}
.mainMap.front {
	z-indeX:  20;
}
figcaption {
	display:none;
}

#shade {
	position:absolute;
	width: 100%;
	min-width: 100%;
	width: 940px;
	z-index: 100;
	padding:0;
	top:0;
	left:0;
	right:0;
	bottom:0;
	height: 650px;
	background-color: #000;
	opacity: 0.7;
	display:none;
}

#noscript {
	position:absolute;
	width: 940px;
	z-index: 100;
	padding:10px;
	height: 650px;
	background-color: #000;
	color: #ffffff;
}
	#noscript .red {
		color: red;
		font-weight: bold;
	}
	#noscript a {
		color: #ffffff;
		text-decoration: none;
	}
	#noscript a:hover {
		text-decoration: underline;
	}

html.js #noscript {
	display:none;
}

#map {
	width: 940px;
	max-width: 940px;
	min-width: 940px;
	height: 650px;
	overflow: hidden;
	position:relative;
}

#map h1.maptitle {
	position: absolute;
	color: #ffffff;
	font-size: 48px;
	margin-left: 0px;
	top: 12px;
	left: 19px;
	z-index: 30;
}


@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
  #map h1.maptitle {
	font-size: 44px;
	margin-left: 0px;
	left: 14px;
	top: 18px;
  }

}
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) {
  #map h1.maptitle {
	font-size: 44px;
	margin-left: 0px;
	left: 14px;
	top: 18px;
  }

}


#tree {
	height: 480px;
}


.video_container {
	position:absolute;
	z-index: 200;
	top: 15%;
	width: 100%;
}

ul#labels {
	position:absolute;
	margin:0;
	padding:0;
	top:0;
	left:0;
	right:0;
	bottom: 0;
	z-index: 30;
}

ul#labels li {
	position:absolute;
	min-width: 160px;
	height: 50px;
	background-image: url(../img/link-box-video.png);
	background-size: cover;
	background-repeat: no-repeat;
}
	ul#labels li.selected,
	html.no-touch ul#labels li:hover {
		background-image: url(../img/link-box-video-hover.png);
	}
	ul#labels li aside div {
		display:none;
	}
	ul#labels li.noplay {
		background-image: url(../img/link-box.png);
	}
	ul#labels li.noplay.selected,
	html.no-touch ul#labels li.noplay:hover {
		background-image: url(../img/link-box-hover.png);
	}
	ul#labels li div.avatar	{
		background: url(../img/icon_tree.png);
		height: 76px;
		width: 69px;
		background-repeat: no-repeat;
		border-style: none;
	}
	html.no-touch ul#labels li:hover div.avatar,
	ul#labels li.selected div.avatar {
		background: url(../img/icon_tree_hover.png);
	}
	/*
	html.no-touch ul#labels li:hover div.avatar,
	ul#labels li.selected div.avatar	{
		background: url(../img/avatar-hover.png);
	}
	*/

	ul#labels li.noplay.clinic {
	    -ms-transform: rotate(10deg); /* IE 9 */
	    -webkit-transform: rotate(1deg); /* Chrome, Safari, Opera */
	    transform: rotate(10deg);
	}

		ul#labels li.noplay.noavatar {
			width: 120px;
			height: 40px;
			background-size: 120px 40px;
		}
			ul#labels li.noplay.noavatar a {

				height: 40px;
				padding-left:0;
				line-height: 40px;
				text-align: center;
			}
			ul#labels li.noplay a {
				padding-left: 21px;
			}


ul#labels li a {
	width: 160px;
	height: 50px;
	color: #000;
	padding-left: 38px;
	font-size: 1.2em;
	text-decoration: none;
	float: left;
	line-height: 50px;
}
ul#labels li.selected a {}
	ul#labels li a.double {
		padding-left: 0;
		line-height: 0.8em;
		font-size: 1.1em;
		padding: 0.6em 0.2em 0.5em 1.5em;
  	}
	ul#labels li a.double .avatar {
		position: relative;
		float: right;
		top: -37px;
		left:-10px;
	}


	ul#labels li a .avatar {
		position: relative;
		float: right;
		top: -10px;
	}
		li.label1 {
		  width: 230px;
		  top: 168px;
		  left: 21%;
		}

		ul#labels li.label1 div.avatar	{
			background: url(../img/icon_ilko.png);
		}
		html.no-touch ul#labels li.label1:hover div.avatar,
		ul#labels li.label1.selected div.avatar {
			background: url(../img/icon_ilko_hover.png);
		}
			ul#labels li.label1 a {
				width: 100%;
			}


		li.label2 {
			width: 196px;
			top: 67px;
			left: 71%;
		}
		ul#labels li.label2 div.avatar	{
			background: url(../img/icon_hacho.png);
		}
		html.no-touch ul#labels li.label2:hover div.avatar,
		ul#labels li.label2.selected div.avatar {
			background: url(../img/icon_hacho_hover.png);
		}
			ul#labels li.label2 a {
				width: 100%;
			}

		ul#labels li.label3 {
			width: 166px;
			top: 238px;
			left: 55%;
		}
		ul#labels li.label3 div.avatar	{
			background: url(../img/icon_gofa.png);
		}
		html.no-touch ul#labels li.label3:hover div.avatar,
		ul#labels li.label3.selected div.avatar {
			background: url(../img/icon_gofa_hover.png);
		}

			ul#labels li.label3 a {
				width: 100%;
			}
		li.label4 {
			width: 165px;
			top: 468px;
			left: 49%;
		}
		ul#labels li.label4 div.avatar	{
			background: url(../img/icon_oito.png);
		}
		html.no-touch ul#labels li.label4:hover div.avatar,
		ul#labels li.label4.selected div.avatar {
			background: url(../img/icon_oito_hover.png);
		}
			ul#labels li.label4 a {
				width: 100%;
			}

		li.label9 {
			width: 183px;
			top: 436px;
			left: 12%;
		}
		ul#labels li.label9 div.avatar	{
			background: url(../img/icon_berkee.png);
		}
		html.no-touch ul#labels li.label9:hover div.avatar,
		ul#labels li.label9.selected div.avatar {
			background: url(../img/icon_berkee_hover.png);
		}

			ul#labels li.label9 a {
				width: 100%;
			}


		ul#labels li.label5 {  /* family tree */
			top: 431px;
			left: 77%;
			width: 173px;
		}
			ul#labels li.label5 a {
				width: 100%;
			}
		li.label6 { /* to the clinic */
			top: 253px;
			left: 2%;
		}
			ul#labels li.label6 a {
				width: 100%;
			}

		ul#labels li.label7.noplay.noavatar { /* labour */
			top: 586px;
			left: 74%;
			width: 140px;
			height: 40px;
			background-size: 100% 40px;
		}
			ul#labels li.label7 a {
				width: 100%;
			}

		ul#labels li.label10.noplay.noavatar { /* school */
		  top: 585px;
		  left: 23%;
		  width: 61px;
		  height: 40px;
		  background-size: 72% 40px;
		}
			ul#labels li.label10 a {
				width: 72%;
			}

		ul#labels li.label11.noplay.noavatar { /* health */
			top: 243px;
			left: 1%;
			width: 140px;
			height: 40px;
			background-size: 100% 40px;
		}
			ul#labels li.label11 a {
				width: 100%;
			}





		.bubble {
			overflow: visible;
			position: relative;
			background-size: contain;
			background-repeat: no-repeat;
			z-index: 200;
			display:none;
			height: 200px;
		}
			.bubble1 {
				width: 400px;
				top: -180px;
				left: 225px;
			}
			.bubble1.p1 {
				background-image: url(../img/quote-ayke.png);
			}

			.bubble2 {
				width: 400px;
				top: 37px;
				left: -175px;
			}
			.bubble2.p1 {
				background-image: url(../img/quote-magi.png);
			}

			.bubble3 {
			  width: 400px;
			  top: 46px;
			  left: -262px;
			}
			.bubble3.p1 {
				background-image: url(../img/quote-muko.png);
			}

			.bubble4 {
				width: 400px;
				left: -147px;
				top: -414px;
			}
			.bubble4.p1 {
				background-image: url(../img/quote-rebo.png);
			}

			.bubble5 {
				width: 400px;
				top: -181px;
				left: 177px;
			}
			.bubble5.p1 {
				background-image: url(../img/quote-arrada.png);
			}





html.no-touch ul#labels li.text:hover,
ul#labels li.text {
position: absolute;
  left: 0;
  bottom: 0;
  font-size: 1em;
  height: auto;
  background-image: none;
  width: auto;
  background-color: rgba(51, 51, 51, 0.73);
  padding: 5px 9px 0px 2px;
  border-radius: 0 10px 0 0;
  -webkit-border-radius: 0 10px 0 0;
  -moz-border-radius: 0 10px 0 0;
}
	ul#labels li a.disable-bubbles {
		color: #ffffff;
		width: auto;
		height: auto;
		margin: 0 0 3px 5px;
		padding: 0;
		line-height: 1em;
		font-size: 1em;
	}
	ul#labels li.text.selected a.disable-bubbles,
	html.no-touch ul#labels li.text a.disable-bubbles:hover {
		border-bottom: 1px solid #ffffff !important;
	}

	html.no-touch ul#labels li.text a.disable-bubbles {
		border-bottom: 1px solid rgba(51, 51, 51, 0.73);
	}


#fire {
	position: absolute;
	width: 90px;
	height: 230px;
	top: 183px;
	left: 377px;
	background-image: url(../img/fire.png);
	background-position: 0 0;
	z-indeX: 30;
}

.plane {
	position: absolute;
	width: 541px;
	height: 661px;
	background-image: url(../img/plane.png);
	background-position: 0 0;
	z-index: 150;
}
.plane.plane1 {
	top: 110px;
	left: -520px; /* start off left */
	-ms-transform: rotate(45deg); /* IE 9 */
	-webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
	transform: rotate(45deg);
}
.plane.plane2 {
	top: 10px;
	left: 970px; /* start off left */
	-ms-transform: rotate(225deg); /* IE 9 */
	-webkit-transform: rotate(225deg); /* Chrome, Safari, Opera */
	transform: rotate(225deg);
}

.dust {
	width: 512px;
	height: 256px;
	background-image: url(../img/dustSprites.png);
	background-position: top left;
	background-size:100% 200%;
	z-index: 18;
}

.dust.frame2 {
	background-position : bottom left;
}

.dust.dust1, .dust.dust2 {
	position: absolute;
	top: 50%;
	left: -512px;
}




/* overlay tyles,
* note, class .overlay is used as a show / hide method only - do not style it
*/

.overlay .pclose {
	width: 99%;
	display: block;
	text-align:right;
	margin: 0 0 4px 0;
	color: #ffffff;
}
	.overlay .pclose a {
		color: #ffffff;
		line-height: 2.5em;
		background-image: url(../img/btn-close.png);
		background-repeat: no-repeat;
		height: 40px;
		width: 40px;
		background-position: top center;
		display:inline-block;
		text-decoration:none;
	}
	.overlay .pclose a span.close {
		position:relative;
		left: -49px;
	}
	html.no-touch .overlay .pclose a:hover {
		background-position: 0 -42px;
	}


#toverlay .inner {
	padding: 0 20px;
}
#toverlay .inner img { }
#toverlay .inner p {
	margin: 0 1em;
	padding: 0;
	color: #000;
}

.video_container.overlay div.video {
	width: 706px;
	margin: 0 auto;

}
div.video #toverlay .inner {
	padding: 0;
	background-color: #ffffff;
}
	#toverlay.video .top {
	  background-image: url(../img/overlay-top.png);
	  background-repeat: no-repeat;
	  height: 32px;
	  width: 710px;
	  background-position: -2px 3px;
	  background-size: cover;
  	}
	#toverlay.video .mid {
		background-image: url(../img/overlay-middle.png);
		background-repeat: repeat-y;
	}
	#toverlay.video .bottom {
	  background-image: url(../img/overlay-bottom.png);
	  background-repeat: no-repeat;
	  height: 28px;
	  width: 711px;
	  background-position: -3px -31px;
	  background-size: cover;
	}
	#toverlay .inner .vidcontent {
		width: 640px; /* to match the width of the video */
		margin: 0 auto;
		background-color: #ffffff;
	}
	#toverlay .inner .vidcontent .video-container {
		#width: 640px; /* to match the width of the video */
		height: 0;
		position:relative;
		padding-bottom: 56.25%;
	}
    .BrightcoveExperience {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

	#toverlay .inner .caption {
		padding: 0.5em 2em 0;
	}

.video_container.overlay div.family {
	width: 712px;
	margin: 0 auto;
}
	#toverlay.family .top {
	  background-image: url(../img/family-tree-top-bg.png);
	  background-repeat: no-repeat;
	  height: 27px;

	  background-size: contain;
	  background-position: bottom center;
  	}
	#toverlay.family .mid {
		background-image: url(../img/family-tree-middle-bg.png);
		background-repeat: repeat-y;
	}
	#toverlay.family .bottom {
		background-image: url(../img/family-tree-bottom-bg.png);
		  background-repeat: no-repeat;
		  height: 27px;
		  background-size: contain;
		  background-position: top center;
	}
	#familytree {
		overflow: hidden;
	}


.video_container.overlay div.panel {
	width: 707px;
	margin: 0 auto;
}
	#toverlay.panel .top {
		background-image: url(../img/panel-top.png);
		background-repeat: no-repeat;
		height: 42px;
		width: 703px;
		background-position: 3px 0;
		background-size: cover;
	}
	#toverlay.panel .mid {
		background-image: url(../img/panel-middle.png);
		background-repeat: repeat-y;
	}
	#toverlay.panel .bottom {
	  background-image: url(../img/panel-bottom.png);
	  background-repeat: no-repeat;
	  height: 32px;
	  width: 706px;
	  background-position: bottom center;
	  background-size: cover;
	}


@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)  {



}

























/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}