/*start bootstrap override*/
.btn-link {
	color: #000000;
}

.btn:active {
	outline: none !important;
	box-shadow: none !important;
}
/*end bootstrap override*/

body {
	background-color: #000000;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
    supported by Chrome, Edge, Opera and Firefox */
    cursor: default;
    font-family: Arial, Helvetica, sans-serif;
}

button[type="button"] {
	background-color: transparent;
	border : none;
}

.hidden {
	display: none;
	opacity: 0;
}

.visible {
	display: block;
	opacity: 1;
	animation: animate-visible 1s linear;
	animation-fill-mode: backwards;
}

@keyframes animate-visible {
	10% {
		opacity: .1;
	}
	20% {
		opacity: .2;
	}
	30% {
		opacity: .3;
	}
	40% {
		opacity: .4;
	}
	50% {
		opacity: .5;
	}
	60% {
		opacity: .6;
	}
	70% {
		opacity: .7;
	}
	80% {
		opacity: .8;
	}
	90% {
		opacity: .9;
	}
	100% {
		opacity: 1;
	}
}

/*start language selector*/
#language-selector {
	color: #ffffff;
	margin-bottom: 10px;
}
/*end language selector*/

#nav-header:before {
	position: absolute;
	top: -10px;
	content: "";
	height: 69px;
	width: 100%;
	background: url("../images/navigation/header-shape.png") no-repeat;
	z-index: 2000;
	clip-path: polygon(50% 0%, 80% 0, 100% 0, 100% 124%, 65% 116%, 53% 86%, 20% 113%, 0% 102%, 0 0, 20% 0);
}

#site-logo {
	position: absolute;
	top: 4px;
	right: 0;
	content: "";
	height: 66px;
	width: 195px;
	background: url("../images/navigation/header-text.png") no-repeat;
	z-index: 2000;
	opacity: .7;
	cursor: pointer;
}

#site-logo:hover {
	opacity: 1;
}

#tribe-logo {
	position: absolute;
	top: 9px;
	left: 14px;
	width: 64px;
	height: 64px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	z-index: 2100;
	opacity: .7;
}

#tribe-logo:hover {
	cursor: pointer;
	opacity: 1;
}

/*start stars*/
.star {
	position: absolute;
	border-radius: 50%;
	animation: star-glitter 4s ease-in-out infinite;
}

.star.normal:before {
	position: absolute;
	top: -11px;
	left: -11px;
	height: 22px;
	width: 22px;
	content: "";
	background: url("../images/navigation/star.png") no-repeat -10px -10px;
	background-size: 200%;
	animation: star-rotate 1.5s linear infinite;
}

.star.small:before {
	position: absolute;
	top: -9px;
	left: -8px;
	height: 16px;
	width: 16px;
	content: "";
	background: url("../images/navigation/star.png") no-repeat -8px -7px;
	background-size: 200%;
	animation: star-rotate 1.5s linear infinite;
}

.star.tiny:before {
	position: absolute;
	top: -5px;
	left: -5px;
	height: 9px;
	width: 9px;
	content: "";
	background: url("../images/navigation/star.png") no-repeat -4px -5px;
	background-size: 200%;
}

@keyframes star-glitter {
	0% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
	}
	50% {
		transform: scale(1.5);
		box-shadow: 0 0 10px 5px rgba(255, 255, 255, 1);
	}
	100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(255, 255, 255, .2);
	}
}

@keyframes star-rotate {
	100% {
		transform: rotate(360deg);
	}
}
/*end stars*/

#content,
#content:before,
#content:after {
	position: absolute;
	min-width: 740px;
    min-height: 420px;
    left: 50%;
    margin-left: -370px;
    overflow: hidden;
}

#content:not(.init)::before {
    content: "";
    background: url("../images/navigation/background-no-stars.png") no-repeat -11px -6px;
    background-size: 102%;
    z-index: -200;
}

#content:not(.init):after {
	content: "";
	background: url("../images/navigation/earth-shadow.png") no-repeat -151px 211px;
	z-index: -200;
	opacity: .5;
}

#clouds {
	position: absolute;
	content: "";
	top: 240px;
	left: -140px;
	min-width: 995px;
	min-height: 987px;
	opacity: .1;
	background: url("../images/navigation/clouds.png") no-repeat;
	background-size: contain;
	animation: clouds-animation 70s infinite linear;
}

@keyframes clouds-animation {
	100% {
		transform: rotate(360deg);
	}
}

#nav-menus {
	position: absolute;
	top: -7px;
	left: 0;
	right: 0;
	height: 400px;
	margin: 0 auto;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0px solid red;
	transition: transform .8s ease-in-out;
}

#nav-menus.zoomed {
	transition: transform .8s ease-in-out;
}

.container-circle {
	position: relative;
	width: 134px;
	height: 134px;
	float: left;
	cursor: pointer;
	border-radius: 50%;
	border: 5px solid transparent;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
	margin-right: 10px;
}

.container-circle.disabled {
	z-index: -1;
}

.main-circle {
	position: absolute;
	border: 4px solid transparent;
	cursor: pointer;
	width: 94px;
	height: 58px;
	border-radius: 50%;
	margin: 0 auto;
	transition: all 1.5s ease-in-out;
	overflow: hidden;
	background-color: transparent;
	z-index: 101;
}

.container-circle.disabled,
.main-circle.disabled {
	opacity: .2;
}

.text-circle.active,
.text-circle.disabled {
	opacity: 0;
}

.text-circle {
	text-transform: uppercase;
	text-align: center;
	position: relative;
	height: auto;
	color: #ffffff;
	background-color: rgba(0, 0, 0, 0.4);
	top: 36px;
	padding: 2px 12px 2px 12px;
	border-radius: 12%;
	z-index: 200;
	font-size: 14px;
	opacity: 1;
}

/*start tribe normal logos*/
.container-circle[tribe]:before {
	position: absolute;
	top: 29px;
	left: -1px;
	width: 136px;
	height: 78px;
	content: "";
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	background-size: contain;
	z-index: 100;
}

.container-circle[tribe="blackfoot"]:before {
	background-image: url("../images/navigation/blackfoot-normal.png");
}

.container-circle[tribe="cree"]:before {
	background-image: url("../images/navigation/cree-normal.png");
}

.container-circle[tribe="ojibwe"]:before {
	background-image: url("../images/navigation/ojibwe-normal.png");
}

.container-circle[tribe="mohawk"]:before {
	background-image: url("../images/navigation/mohawk-normal.png");
}

.container-circle[tribe="mikmaq"]:before {
	background-image: url("../images/navigation/mikmaq-normal.png");
}

.container-circle[tribe].active:before {
	background: none;
}
/*end tribe normal logos*/

/*start tribe hover logos*/
.container-circle[tribe].active:after,
.container-circle[tribe]:not(.disabled):hover:after {
	position: absolute;
	content: "";
	background-repeat: no-repeat;
	background-size: cover;
	z-index: 100;
}

.container-circle[tribe="blackfoot"].active:after,
.container-circle[tribe="blackfoot"]:not(.disabled):hover:after {
	top: -4px;
	left: -1px;
	width: 136px;
	height: 145px;
	background-image: url("../images/navigation/blackfoot-hover.png");
	transform: rotate(-10deg);
}

.container-circle[tribe="blackfoot"].active:after {
	transform: rotate(-10deg) translate(2px, 4px) !important;
}

.container-circle[tribe="cree"].active:after,
.container-circle[tribe="cree"]:not(.disabled):hover:after {
	top: -13px;
	left: -1px;
	width: 135px;
	height: 149px;
	background-image: url("../images/navigation/cree-hover.png");
	transform: rotate(-6deg);
}

.container-circle[tribe="cree"].active:after {
	transform: rotate(-6deg) translate(2px, 4px) !important;
}

.container-circle[tribe="ojibwe"].active:after,
.container-circle[tribe="ojibwe"]:not(.disabled):hover:after {
	top: -9px;
	left: -8px;
	width: 151px;
	height: 148px;
	background-image: url("../images/navigation/ojibwe-hover.png");
}

.container-circle[tribe="ojibwe"].active:after {
	transform: translate(3px, 2px) !important;
}

.container-circle[tribe="mohawk"].active:after,
.container-circle[tribe="mohawk"]:not(.disabled):hover:after {
	top: -10px;
	left: -5px;
	width: 136px;
	height: 145px;
	background-image: url("../images/navigation/mohawk-hover.png");
	transform: rotate(11deg);
}

.container-circle[tribe="mohawk"].active:after {
	transform: rotate(11deg) translate(8px, 6px) !important;
}

.container-circle[tribe="mikmaq"].active:after,
.container-circle[tribe="mikmaq"]:not(.disabled):hover:after {
	top: -13px;
	left: 2px;
	width: 131px;
	height: 149px;
	background-image: url("../images/navigation/mikmaq-hover.png");
	transform: rotate(10deg);
}

.container-circle[tribe="mikmaq"].active:after {
	transform: rotate(10deg) translate(4px, 1px) !important;
}
/*end tribe hover logos*/

/*start sections*/
#nav-sections {
	position: absolute;
	bottom: 0;
	width: 740px;
	height: 18px;
	background-color: #606060;
	z-index: 3000;
}

#nav-sections button {
	border-radius: 0;
}

#nav-sections .container {
	position: absolute;
	left: 0;
	right: 0;
	display: none;
	z-index: -1;
	background: url("../images/navigation/nav-background.png") no-repeat center center;
	transition: opacity 1.5s ease-in .9s;
}

#nav-sections .container.active {
	margin: 0 auto;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}

#nav-sections div[tribe].container.active.videoplaying {
	right: unset !important;
    left: 226px !important;
	margin: 0 0 !important;
}

#nav-sections .container[tribe="blackfoot"] {
	width: 350px;
	background-size: 320px 15px;
}

#nav-sections .container[tribe="cree"] {
	width: 500px;
	background-size: 470px 15px;
}

#nav-sections .container[tribe="ojibwe"] {
	width: 300px;
	background-size: 270px 15px;
}

#nav-sections .container[tribe="mohawk"] {
	width: 400px;
	background-size: 370px 15px;
}

#nav-sections .container[tribe="mikmaq"] {
	width: 500px;
	background-size: 470px 15px;
}

#nav-sections .container .item {
	margin: 0 auto;
	float: left;
	width: 52px;
	height: 16px;
	border: 1px solid #ffffff;
	background-color: rgba(220, 220, 220, .4);
}

#nav-sections .container.active .item.active {
	background-color: #ffae42;
}

#nav-sections .container.active .item.hover,
#nav-sections .container.active .item:hover {
	cursor: pointer;
	background-color: #ffdd42;
}

#nav-sections .container.active .item.hover:before,
#nav-sections .container.active .item:hover:before {
	position: absolute;
    top: -22px;
    display: inherit;
    margin-left: -9px;
    padding: 4px;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 0.5em;
    font-weight: bolder;
    background-color: #999999;
    content: attr(label);
}

#nav-sections .container.active .item[tabindex='-1'].hover,
#nav-sections .container.active .item[tabindex='-1']:hover {
	cursor: default;
	background-color: #ffae42;
}

#nav-sections .container.active .item[tabindex='-1']:before,
#nav-sections .container.active .item[tabindex='-1']:hover:before  {
	content: "";
	background-color: transparent;
}

#nav-sections .container.active button:first-child {
	animation: none !important;
	background: url(../images/navigation/background-no-stars.png) no-repeat -2px -10px;
	background-size: 113%;

}
/*end sections*/

/*start teaching and teaching*/
#tribe-elder {
    position: absolute;
    top: 6px;
    left: 89px;
    font-size: 14px;
    z-index: 2100;
}
#tribe-elder #elder {
	margin-top: 4px;
}

#tribe-elder #elder:hover {
	cursor: pointer;
	color: #ffdd42;
	color: #ffff66;
}
/*end teaching and teaching*/

/*start transcript & resources*/
#resources {
	position: absolute;
	bottom: -65px;
	right: 0;
	font-size: 12px;
	color: #ffffff;
}

#resources div {
	float: left;
	text-transform: uppercase;
	border-right: 1px solid #ffffff;
	margin-right: 4px;
	padding-right: 4px;
}

#resources div:last-child {
	border-right: none;
	margin-right: 0px;
	padding-right: 0px;
}

#resources a {
	color: #ffffff;
    text-decoration: none;
}

#resources a:hover {
    color: #ffdd42 !important;
}

#resources a:visited {
    color: #ffffff;
}
/*end transcript & resources*/

/*start video player*/
#video-player {
	position: absolute;
	top: -4px;
	width: 743px;
	height: 404px;
	height: 412px;
	z-index: 1000;
	overflow: hidden;
}

video {
	width: 100%;
	height: auto;
	object-fit: cover;
}

#video-controls {
	position: absolute;
	bottom: 0px;
	left: 5px;
	height: 16px;
	z-index: 4000;
}

#subtitle, 
#subtitle:before {
    position: absolute;
    bottom: 3px;
    width: 24px;
    height: 12px;
    border: 1px solid #ffdd42;
    border-radius: 2px;
}

#subtitle.off {
	border: 1px solid #323232;
}

#subtitle:hover{
	cursor: pointer;
	border: 1px solid #ffffff;
}

#subtitle.off:before {
    color: #323232;
}

#subtitle:before {
	top: 0px;
    left: -1px;
    content: "SUB";
    color: #ffdd42;
    font-size: .5em;
    font-weight: bolder;
    border: 0px;
}

#subtitle:hover:before{
	cursor: pointer;
	color: #ffffff;
}

#play-button {
	position: absolute;
    top: 2px;
    left: 27px;
    width: 10px;
    height: 10px;
    cursor: pointer;
}

#play-button:after {
	position: absolute;
    top: 0;
    left: 2px;
    content: "";
    border: 0;
    border-color: transparent transparent transparent #ffdd42;
    border-style: solid;
    border-width: 5px 0 5px 9px;
}

#play-button.play:after {
	position: absolute;
    top: 0px;
    left: 1px;
    width: 0;
    height: 12px;
    height: 10px;
    border-style: double;
    border-width: 0 0 0 10px;
}

#play-button:hover:after {
	border-color: transparent transparent transparent #ffffff;
}

#seek-bar:hover:before {
	position: absolute;
	top: -26px;
	display: inline-block;
	padding: 4px;
	white-space: nowrap;
	text-transform: uppercase;
	font-size: 0.7em;
	font-weight: bolder;
	color: #ffdd42;
	background-color: #999999;
	content: attr(time);
}

#seek-bar {
	position: absolute;
    top: 4px;
    left: 46px;
    width: 164px;
    height: 6px;
    border: 1px solid #000000;
    background-color: #808080;
}

#seek-bar:hover {
	cursor: pointer;
}

#seek-bar .progress {
	position: absolute;
	width: 0%;
	height: 4px;
	background-color: #ffdd42;
}

#video-elapsed {
	position: absolute;
	top: 1px;
	left: 190px;
	white-space: nowrap;
	font-size: 12px;
	color: #ffdd42;
}

#skip-intro {
	position: absolute;
    bottom: -1px;
    right: 2px;
	font-size: 12px;
	line-height: 12px;
    color: #ffffff;
    text-transform: uppercase;
    z-index: 4000;
}

#skip-intro:hover {
	cursor: pointer;
	color: #ffdd42;
}

#subtitles {
	position: absolute;
    bottom: -100px;
    width: 100%;
	color: #ffffff;
	text-align: center;
	animation: none !important;
}
/*end video player*/