audio {display: none;}

.game-container,.container {
	width:880px;
	height:695px;
	position: absolute;
	top: 0;
	left: 0;	
}

.home,.solution {
	background-size: cover;
	box-shadow: 0 0 10px #666;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.home {
	width: 230px;
	height: 230px;
	border-radius: 50%;
	position: absolute;
	transition: opacity .3s;
	cursor: pointer;
}

.home:active,.home:hover,.home:focus {
	opacity: .8;
}

.home.dragover {
	opacity: .5;
}

.solution {
	width: 140px;
	height: 140px;
	border: 2px solid #fff;
	border-radius: 20px;
	position: absolute;
	cursor: pointer;
	transition: border-color .3s, opacity .3s;
}

.solution:active,.solution:hover,.solution:focus {border: 2px solid #666;}
.solution.ui-draggable-dragging { opacity: .6; }


.home.normal {background-image: url('images/normal.jpg');}
.home.fire {background-image: url('images/fire.jpg');}
.home.flood {background-image: url('images/flood.jpg');}
.home.pollution {background-image: url('images/pollution.jpg');}
.home.wave {background-image: url('images/wave.jpg');}
.home.weather {background-image: url('images/weather.jpg');}

.solution.barrels {background-image: url('images/barrels.jpg');}
.solution.kit {background-image: url('images/kit.jpg');}
.solution.lowflow {background-image: url('images/lowflow.jpg');}
.solution.plants {background-image: url('images/plants.jpg');}
.solution.renewable {background-image: url('images/renewable.jpg');}


.home .tooltip, .solution .tooltip {
    display: inline-block;
    margin-top: 94px;
    color: #fff;
    text-transform: uppercase;
    font-size: 22px;
    text-shadow: 0 0 3px #000;
   	width: 100%;
	text-align: center;
	transition: opacity .3s;
	opacity: 0;
}

.home.fire .tooltip { margin-top: 100px; }
.solution .tooltip { margin-top: 45px; font-size: 16px; background: #666; padding: 6px 0;}
.home:active .tooltip,.home:hover .tooltip,.home:focus .tooltip,
.solution:active .tooltip,.solution:hover .tooltip,.solution:focus .tooltip {opacity: 1;}
.solution.ui-draggable-dragging .tooltip {opacity: 0;}

.mikmaq .solution .tooltip { font-size: 14px; }
.mikmaq .home.wave .tooltip { margin-top: 60px; }
.mikmaq .home.flood .tooltip,
.mikmaq .home.weather .tooltip { margin-top: 100px; }



/* AUDIO CONTROL */

#audio-control {
	cursor: pointer;
	background: transparent no-repeat center center url("images/speaker.svg");
	background-size: 100%;
	display: inline-block;
	width: 30px;
	height: 30px;
	opacity: 0.3;
	transition: opacity 0.3s;
	z-index: 99999;
	position: absolute;
	top: 8px;
    left: 8px;
}
	
#audio-control:hover, #audio-control:active, #audio-control.active {
	opacity: 1;
}

#audio-control.off {
	background-image: url("images/speaker-mute.svg");
}

#audio-control.white { 
	background: transparent no-repeat center center url("images/speaker-white.svg");
	opacity: 1;
}

#audio-control.white:hover, #audio-control.white:active, #audio-control.white.active {
	opacity: 0.3;
}

#audio-control.white.off {
	background-image: url("images/speaker-mute-white.svg");
}




/* POSITIONING */

#fire {top:30px; left:50px;}
#flood {top:30px; left:320px;}
#pollution {top:30px; left:590px;}
#wave {top:250px; left:180px;}
#weather {top:250px; left:450px;}

#barrels {top:520px; left:30px;}
#kit {top:520px; left:200px;}
#lowflow {top:520px; left:370px;}
#plants {top:520px; left:540px;}
#renewable {top:520px; left:710px;}


/* RESULTS */

.solution.hide {display:none;}
.home.correct {opacity: .3;}




/* MESSAGING */

body {font-family: 'Montserrat', sans-serif;}

#welcome, #winner {
	background-color:#D4D4D4;
}

.overlay {
	background: rgba(0, 0, 0, 0.8);
	z-index: 5000;
}

.home.larger {
	width: 400px;
	height: 400px;
	top:120px;
	left:30px;
	cursor: default;
}

.home.larger:active,.home.larger:hover,.home.larger:focus {
	opacity: 1;
}

.solution.larger {
	width: 350px;
	height: 350px;
	top:150px;
	left:30px;
	cursor: default;
	border-radius: 40px;
	border: 4px solid #fff;
}

.solution.larger:active,.solution.larger:hover,.solution.larger:focus {
	opacity: 1;
	border: 4px solid #fff;
}


.message {
	background-color:#fff;
	border-radius: 30px;
	position: absolute;
	top: 30px;
	left: 420px;
	margin: 0 30px 30px 0;
	padding: 30px;
}

h1 {
	margin: 0;
    font-size: 25px;
   	color: #b13634;
	text-transform: uppercase;
	border-bottom: 2px solid #b13634;
    padding-bottom: 3px;
}

p,ul {
	font-size: 20px;
	line-height: 26px;
	color: #666;
	margin: 20px 0;
}

li {
	margin: 20px 0;
}

a {
	color: #b13634;
	transition: opacity .3s;
}

a:active,a:hover,a:focus {
	opacity: .5;
}

a.next {
	cursor: pointer;
	float: right;
	text-transform: uppercase;
	font-size: 30px;
	font-weight: bold;
	margin-right: 26px;
}

a.next:after {
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    border-left-color: #b13634;
    border-width: 20px;
    margin-top: -2px;
    margin-left: 10px;
 }

.mikmaq a.next {
	margin-right: 40px;
}

.mikmaq a.next:after {
    border-width: 36px;
    margin-top: -24px;
}


/* INTRODUCTION */

#introduction-2 h1, #introduction-3 h1 {color: #98c255; border-bottom: 2px solid #98c255;}
#introduction-2 a, #introduction-3 a { color: #98c255; }
#introduction-2 a.next:after, #introduction-3 a.next:after { border-left-color: #98c255; }
#introduction-2.message {top:113px;}
#introduction-3.message {top:85px;}


/* HOME INFOS */

#flood-info h1 {color: #65a5d2; border-bottom: 2px solid #65a5d2;}
#flood-info a { color: #65a5d2; }
#flood-info a.next:after { border-left-color: #65a5d2; }
#flood-info .message {top:70px;}

#wave-info h1 {color: #01146c; border-bottom: 2px solid #01146c;}
#wave-info a { color: #01146c; }
#wave-info a.next:after { border-left-color: #01146c; }
#wave-info .message {top:83px;}

#fire-info h1 {color: #ea3223; border-bottom: 2px solid #ea3223;}
#fire-info a { color: #ea3223; }
#fire-info a.next:after { border-left-color: #ea3223; }
#fire-info .message {top:77px;}

#pollution-info h1 {color: #e9b252; border-bottom: 2px solid #e9b252;}
#pollution-info a { color: #e9b252; }
#pollution-info a.next:after { border-left-color: #e9b252; }
#pollution-info .message {top:122px;}

#weather-info .message {top:111px;}


/* SOLUTIONS INFOS */

#barrels-info h1 {color: #65a5d2; border-bottom: 2px solid #65a5d2;}
#barrels-info a { color: #65a5d2; }
#barrels-info a.next:after { border-left-color: #65a5d2; }
#barrels-info .message {top:109px;}

#kit-info .message {top:70px;}

#lowflow-info h1 {color: #65af9f; border-bottom: 2px solid #65af9f;}
#lowflow-info a { color: #65af9f; }
#lowflow-info a.next:after { border-left-color: #65af9f; }
#lowflow-info .message {top:70px;}

#plants-info h1 {color: #98c255; border-bottom: 2px solid #98c255;}
#plants-info a { color: #98c255; }
#plants-info a.next:after { border-left-color: #98c255; }
#plants-info .message {top:155px;}

#renewable-info h1 {color: #e9b252; border-bottom: 2px solid #e9b252;}
#renewable-info a { color: #e9b252; }
#renewable-info a.next:after { border-left-color: #e9b252; }
#renewable-info .message {top:70px;}

.mikmaq #renewable-info .message {top:40px;}


/* WINNER */

#winner h1 {color: #98c255; border-bottom: 2px solid #98c255;}
#winner a { color: #98c255; }
#winner a.next:after { border-left-color: #98c255; }
#winner .message {top:140px;}

#winner .credits  { position: relative;
    top: 666px;
    text-align: right;
    margin-right: 20px;
    font-size: 12px;
	color: #999;
}


