/* Template - CSS */
/* The State of Queensland (Department of Education and Training) */

html {
	background: #fff;
}

body {
	background: #fff;
	font-family: 'Segoe', 'Segoe UI', 'DejaVu Sans', 'Trebuchet MS', 'Verdana', 'sans-serif';
}

#content_wrapper{
	min-height: 590px;
	max-height: 590px;
}

main {
	/*IE*/
	display:block;
	position: relative;
	width: 950px;
	height: 525px;
	border: solid thin #aaa;
	margin: auto;
}

#main-bg,
#intro-bg,
.svg-image{
	width: 0px;
	height: 0px;
	position: absolute;
	display: none;
}

#mobileStartScreen .instructions{
	position: relative;
    top: 70px;
	left: 15px;
    font-size: 18px;
	width: 600px;
}

.main-instructions{
	position: absolute;
	top: 65px;
}

.instructions-text{
	margin-left: 10px;
	margin-top: 5px;
}

#loader_screen{
	position:absolute;
	width: 950px;
	height:525px;
	background: #fff;
	z-index: 5;
}

#loader_screen img{
	position: relative;
	width:98px;
	height: 18px;
	margin-left:45%;
	margin-top: 25%;
}

#loader-icon{
    position: relative;
	height: 25px;
    width: 120px;
    background: rgba(255, 255, 255, 0.8);
    padding-top: 7px;
    padding-left: 10px;
    border-radius: 5px;
    border: 1px solid #000;
    left: 540px;
    top: 423px;
}

#mobileStartScreen{
	position: absolute;
	width: 950px;
	height: 525px;
	background-image: url("../assets/images/start_bg.jpg");
	background-repeat: no-repeat;
}

#mobileStartBtn{
	position: relative;
	display: block;
	background: #4a3f24;
	padding: 5px;
	padding-top: 1px;
	height: 30px;
	width: 100px;
	top: 458px;
	left: 418px;
	text-align: center;
	font-size: 20px;
	color: #fff;
	cursor: pointer;
	border-radius: 8px;
	border: 1px solid #fff
}

#mobileStartBtn.mobile{
	padding-top: 5px;
	height: 27px;
}

.popup-container{
	position: absolute;
	background: transparent;
	top: 240px;
	left: 350px;
}

.popup-content{
	width: 280px;
	float: left;
	padding-bottom: 10px;
	background-color: #fef0bc;
	border: 3px solid #000;
	border-radius: 20px;
}

.play-sound.popup{
	margin-top: 10px;
	margin-right: 5px;
}

.popup-message{
	width: 170px;
	margin-top: 10px;
	margin-right: 5px;
	margin-left: 5px;
}

.popup-close-btn,
.popup-close-btn.hover:active{
	background-color: #000;
	border-radius: 5px;
	width: 20px;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	padding-left: 10px;
	padding-right: 4px;
	padding-bottom: 5px;
	margin-top: 10px;
}

.popup-close-btn.hover:hover{
	background-color: #aae376;
	color: #000;
	cursor: pointer;
	border: 1px solid #000;
}

.popup-close-btn.mobile{
	padding-top: 3px;
	padding-left: 11px;
    height: 23px;
	width: 19px;
}

.questions-container{
	position: absolute;
	top: 200px;
	left: 480px;
}

.question{
	height: 60px;
	margin-bottom: 15px;
	cursor: pointer;
}

.question .play-sound{
	margin-top: 14px;
	position: relative;
}

.question-text{
	position: relative;
}

.question:before{
	content: "";
	position: absolute;
	display: block;
	width: 400px;
	height: 60px;
	background-color: #fef0bc;
	border-radius: 30px;
	border: 2px solid #000;
	cursor: pointer;
	/*top: 0px;*/
}

.question.wrong:before{
	animation: wrong 0.75s;
	content: "";
	position: absolute;
	display: block;
	width: 400px;
	height: 60px;
	border-radius: 30px;
	border: 2px solid darkred;
	/*top: 0px;*/
}

@keyframes wrong{
	0% {background-color: #fef0bc;border-radius: 30px;}
	30% {background-color: red;border-radius: 30px;;margin-top: 0px}
	35% {background-color: red;border-radius: 30px;margin-top: -5px;}
	45% {background-color: red;border-radius: 30px;margin-top: 5px;}
	55% {background-color: red;border-radius: 30px;margin-top: -5px;}
	65% {background-color: red;border-radius: 30px;margin-top: 5px;}
	70% {background-color: red;border-radius: 30px;margin-top: 0px;}
	100% {background-color: #fef0bc;border-radius: 30px;}
}

.question.a-wrong:before{
	animation: wrong 1.5s;
	content: "";
	position: absolute;
	display: block;
	width: 400px;
	height: 60px;
	border-radius: 30px;
	border: 2px solid darkred;
}

.question.playing:before{
	border: 6px solid #ababd5;
	margin-top: -4px;
	width: 392px;
	/*top: 0px;*/
}

#button_controls_wrapper{
	position: absolute;
	width: 950px;
}

#button_control{
	position: absolute;
	top: 482px;
	width: 950px;
}

#sound_buttons_control{
	position: absolute;
	top:430px;
}

.play-sound{
	display: block;
	margin-left: 15px;
	width: 35px;
	height: 35px;
	border-radius: 50%;
	background-color: #00abfd;
	cursor: pointer;
}

.play-sound.play:before{
	content: "";
	position:relative;
	top: 6px;
	left: 11px;
    display:inline-block;
    width:0;
	height:0;
	border-top: 11px solid transparent;
	border-bottom: 11px solid transparent;
	border-left: 16px solid #fff;
}

.play-sound.hover:hover{
	background-color: #ffcc00;
}

.play-sound.mobile:hover,
.play-sound.mobile:active{
	background-color: #00abfd;
}

.play-sound.stop:before{
	content: "";
	position:relative;
	top: 8px;
	left: 8px;
    display:inline-block;
    width:0;
	height:0;
	border-top: 9px solid #fff;
	border-bottom: 9px solid #fff;
	border-right: 9px solid #fff;
	border-left: 9px solid #fff;
}

.btn{
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    font-weight:bold;
    font-size:20px;
    cursor: pointer;
    background-color: #4a3f24;
    display:block;
    border-radius: 8px;
    padding-top:0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	color: #fff;
	border: solid 1px #fff;
	text-align: center;
}

.btn.hover:hover,
.btn.hover:active,
#main_play_sound_btn.hover:hover,
#main_play_sound_btn.hover:active,
#popup_play_sound_btn.hover:hover,
#popup_play_sound_btn.hover:active,
.close-btn.hover:hover,
.close-btn.hover:active,
#mobileStartBtn.hover:hover,
#mobileStartBtn.hover:active{
    background-color: #aae376;
	color: #000;
	border: solid 1px #000;
}

#main_play_sound_btn.hover:hover,
#main_play_sound_btn.hover:active{
	background-color: #ffcc00;
	color: #fff;
	border: none;
}

.btn_small{
    width: 42px;
    height: 37px;
}

.btn_very_small{
    width: 35px;
    height: 30px;
}

.btn_wide{
    width: 100px;
    height: 37px;
}

.transcript_btn{
	width: 150px
}

.btn.disabled{
	opacity: 0.75;
	cursor: default;
	color: #331a01;
}

#mobileStartBtn.disabled,
.play-sound.disabled{
	cursor: default;
}

.back_btn{
	margin-left: 10px;
	height: 36px;
}

.back_btn:before{
    content: "";
    display:inline-block;
    width:0;
	height:0;
	border-top: 11px solid transparent;
	border-bottom: 11px solid transparent;
	border-right: 16px solid #fff;
    margin-top: 2px;
	position: relative;
	top: 5px;
	margin-right: 5px;
}

.back_btn.hover:hover:before{
	border-right: 16px solid #000;
}

.back_btn.disabled:before,
.back_btn.mobile:hover:before{
	border-right: 16px solid #fff;
}

.next_reset_btn{
	padding-top: 0;
	width: 100px;
	margin-left: 175px;
	height: 36px;
}

.next_reset_btn:after{
    content: "";
    display:inline-block;
    width:0;
	height:0;
	border-top: 11px solid transparent;
	border-bottom: 11px solid transparent;
	border-left: 16px solid #fff;
    margin-top: 2px;
	top: 5px;
    position:relative;
    left: 5px;
}

.next_reset_btn.hover:hover:after{
	border-left: 16px solid #000;
}

.next_reset_btn.disabled:after,
.next_reset_btn.mobile:hover:after{
	border-left: 16px solid #fff;
}

.next_reset_btn.replay{
	padding-top: 4px;
	height: 33px;
}

.next_reset_btn.mobile.replay{
	padding-top: 7px;
	height: 30px;
}
.next_reset_btn.mobile.win8.replay{
	padding-top: 4px;
	height: 34px;
}

.next_reset_btn.replay:after{
	border-top: none;
	border-bottom: none;
	border-left: none;
}

.play_btn,
.clear_btn{
	padding-top: 4px;
    height: 35px;
    width: 75px;
	margin-left: 7px;
}

.reset_btn,
.transcript_btn{
	padding-top: 4px;
    height: 35px;
}

.transcript_btn{
	margin-left: 7px;
}

.reset_btn{
	margin-left: 200px;
}

.btn.mobile:hover,
.btn.mobile:active,
#main_play_sound_btn.mobile:hover,
#main_play_sound_btn.mobile:active,
#popup_play_sound_btn.mobile:hover,
#popup_play_sound_btn.mobile:active,
.close-btn.mobile:hover,
.close-btn.mobile:active,
#mobileStartBtn.mobile:hover,
#mobileStartBtn.mobile:active{
    background-color: #4a3f24;
}

.btn.mobile:hover,
.btn.mobile:active{
	color: white;
	border: solid 1px #fff;
}


#play_btn.win8{
	padding-top: 3px;
	height: 34px;
}

#transcript_btn,
#play_btn,
#reset_btn{
	padding-top: 1px;
}

#transcript_btn.mobile,
#play_btn.mobile,
#reset_btn.mobile{
	padding-top: 5px;
	height: 31px;
}

#transcript_btn.Mac,
#play_btn.Mac,
#reset_btn.Mac{
	padding-top: 5px;
	height: 32px;
}

#mobileStartBtn.Mac{
	padding-top: 5px;
	height: 28px;
}

.btn.blink,
.btn.blink:active{
	background-color: #f8f378 !important;
}

.question-text{
	width: 300px;
	height: 50px;
	background-repeat: no-repeat;
	background-size: 280px;
	left: 65px;
	cursor: pointer;
}

.dam{
	background-image: url(../assets/images/dam.svg);
}

.doghouse{
	background-image: url(../assets/images/doghouse.svg);
	background-size: 300px;
	top: 2px;
}

.fence{
	background-image: url(../assets/images/fence.svg);
	background-size: 320px;
	top: 3px;
}

.fruittree{
	background-image: url(../assets/images/fruittree.svg);
	background-size: 300px;
	top: 2px;
}

.house{
	background-image: url(../assets/images/house.svg);
}

.tank{
	background-image: url(../assets/images/tank.svg);
	background-size: 320px;
	top: 4px;
}

.shed{
	background-image: url(../assets/images/shed.svg);
	background-size: 300px;
	top: 2px;
}

.float-left{
	float:left;
}

.clear-both{
	clear: both;
}

footer {
	font-family: Arial, Helvetica, sans-serif;
}

*:not(input),
.noselect:not(input){
   -webkit-touch-callout: none;
   -webkit-user-select: none;
   -khtml-user-select: none;
   -moz-user-select: none;
   -ms-user-select: none;
    user-select: none;
	cursor: default;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

footer {
	font-family: Arial, Helvetica, sans-serif;
	width: 950px;
	margin: 0px auto;	
	text-align: center;
}

.hide{
	display:none;
}

.noshow{
	visibility: hidden;
}