/* Template - CSS */
/* The State of Queensland (Department of Education) */

html {
    background: white;
}

body {
    width: 760px;
    height: 520px;
    margin: 0 auto;
    touch-action: manipulation;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
}

body::after {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -1;
    content: url(../assets/images/background.png) url(../assets/images/background2.png) url(../assets/images/curtain1.gif) url(../assets/images/curtain1.png) url(../assets/images/curtain2.gif) url(../assets/images/curtain2.png) url(../assets/images/curtain3.gif) url(../assets/images/curtain3.png) url(../assets/images/curtain4.gif) url(../assets/images/curtain4.png) url(../assets/images/curtains.gif) url(../assets/images/playBtn1.png) url(../assets/images/playBtn2.png) url(../assets/images/playBtn3.png) url(../assets/images/postLeft.png) url(../assets/images/postRight.png) url(../assets/images/stopBtn1.png) url(../assets/images/stopBtn2.png) url(../assets/images/stopBtn3.png) url(../assets/images/playBtnOverlay.png) url(../assets/images/print1.png) url(../assets/images/print2.png) url(../assets/images/stop1.png) url(../assets/images/stop2.png) url(../assets/images/play1.png) url(../assets/images/play2.png) url(../assets/images/pause1.png) url(../assets/images/pause2.png) url(../assets/images/boy1.png) url(../assets/images/boy2.png) url(../assets/images/girl1.png) url(../assets/images/girl2.png) url(../assets/images/curtainsHider.png);
}

main {
	/*IE*/
    width: 760px;
    height: 450px;
	display:block;
    position: relative;
}
/* Popup and cover page for first load */
.coverAll {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1100;
    background: rgba(109, 89, 70, 0.28);
}

#startButton {
    background: url('../assets/images/playBtnOverlay.png') no-repeat center;
    margin: 0 auto;
    position: relative;
    top: 200px;
    width: 83px;
    height: 82px;
    cursor: pointer;
}

/* Background elements */
#floorBG {
    background: url('../assets/images/background.png') no-repeat center;
    width: 760px;
    height: 450px;
    position: absolute;
    z-index: 1;
}

#topBG {
    background: url('../assets/images/background2.png') no-repeat center;
    width: 760px;
    height: 122px;
    position: absolute;
    z-index: 1000;
}

/* #lightsBG {
    background: url('../assets/images/background3.png') no-repeat;
    width: 136;
    height: 324px;
    position: absolute;
    z-index: 1000;
} */

#leftPostBG {
    background: url('../assets/images/postLeft.png') no-repeat;
    width: 50px;
    height: 324px;
    position: absolute;
    z-index: 900;
    top: 108px;
}

#rightPostBG {
    background: url('../assets/images/postright.png') no-repeat;
    width: 46px;
    height: 324px;
    position: absolute;
    z-index: 900;
    top: 108px;
    right: 0px;
}
/* 
#Layer_1 {
    width: 150px;
    height: 315px;
    right: 0px;
    position: absolute;
    z-index: 1000;
    top: 100px;
} */

/* Curtain elements */
#curtainsContainer {
    width: 760px;
    height: 366px;
    position: absolute;
    z-index: 100;
    top: 40px;
}

#curtain1 {
    width: 213px;
    height: 366px;
    background: url('../assets/images/curtain1.png') no-repeat;
    position: absolute;
    z-index: 50;
}

#curtain1.hover {
    width: 213px;
    height: 366px;
    background: url('../assets/images/curtain1.png') no-repeat;
    cursor: pointer;
    position: absolute;
    z-index: 50;
}

#curtain1.hover:hover {
    width: 213px;
    height: 366px;
    background: url('../assets/images/curtain1.gif') no-repeat right;
    cursor: pointer;
    position: absolute;
    z-index: 50;
}

#curtain2 {
    width: 222px;
    height: 366px;
    background: url('../assets/images/curtain2.png') no-repeat;
    position: absolute;
    z-index: 40;
    left: 168px;
}

#curtain2.hover {
    width: 222px;
    height: 366px;
    background: url('../assets/images/curtain2.png') no-repeat;
    cursor: pointer;
    position: absolute;
    z-index: 40;
    left: 168px;
}

#curtain2.hover:hover {
    width: 222px;
    height: 366px;
    background: url('../assets/images/curtain2.gif') no-repeat left;
    cursor: pointer;
    position: absolute;
    z-index: 40;
    left: 168px;
}

#curtain3 {
    width: 200px;
    height: 366px;
    background: url('../assets/images/curtain3.png') no-repeat;
    position: absolute;
    z-index: 30;
    left: 358px;
}

#curtain3.hover {
    width: 200px;
    height: 366px;
    background: url('../assets/images/curtain3.png') no-repeat;
    cursor: pointer;
    position: absolute;
    z-index: 30;
    left: 358px;
}

#curtain3.hover:hover {
    width: 255px;
    height: 366px;
    background: url('../assets/images/curtain3.gif') no-repeat left;
    cursor: pointer;
    position: absolute;
    z-index: 30;
    left: 358px;
}

#curtain4 {
    width: 206px;
    height: 366px;
    background: url('../assets/images/curtain4.png') no-repeat;
    position: absolute;
    z-index: 20;
    left: 532px;
}

#curtain4.hover {
    width: 206px;
    height: 366px;
    background: url('../assets/images/curtain4.png') no-repeat;
    cursor: pointer;
    position: absolute;
    z-index: 20;
    left: 532px;
}

#curtain4.hover:hover {
    width: 206px;
    height: 366px;
    background: url('../assets/images/curtain4.gif') no-repeat left;
    cursor: pointer;
    position: absolute;
    z-index: 20;
    left: 532px;
}

#curtainsHider {
    z-index: 140;
    width: 760px;
    height: 366px;
    position: absolute;
    top: 40px;
    background: url('../assets/images/curtainsHider.png') no-repeat;
}

#curtainAnimation {
    width: 760px;
    height: 366px;
    position: absolute;
    top: 45px;
    z-index: 150;
}

/* Controls and video */
#controlsContainer {
    width: 760px;
    height: 40px;
    top: 410px;
    position: absolute;
    z-index: 1000;
    background: #006699;
}

#topTextContainer {
    margin: 70px auto 0px;
    width: 400px;
    height: 50px;
    position: relative;
}

#instrText {
    cursor: pointer;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 20px;
    color: white;
    font-weight: bold;
    text-align: center;
    line-height: 45px;
    vertical-align: middle;
    text-shadow: 1px 1px #000000, 2px 2px #000000;
}

#instrText.hover {
    cursor: pointer;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 20px;
    color: white;
    font-weight: bold;
    text-align: center;
    line-height: 45px;
    vertical-align: middle;
    text-shadow: 1px 1px #000000, 2px 2px #000000;
}

#instrText.hover:hover {
    cursor: pointer;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 20px;
    color: white;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
    vertical-align: middle;
    text-shadow: 1px 1px #000000, 2px 2px #000000;
}

#playBut {
    left: 15px;
    top: 12px;
}

.button {
    cursor: pointer;
    position: absolute;
}

.play {
    width: 22px;
    height: 24px;
    background: url('../assets/images/playBtn1.png');
}

.play.hover {
    width: 22px;
    height: 24px;
    background: url('../assets/images/playBtn1.png');
}

.play.hover:hover {
    width: 22px;
    height: 24px;
    background: url('../assets/images/playBtn2.png');
}

.play.hover:active {
    width: 22px;
    height: 24px;
    background: url('../assets/images/playBtn3.png');
}

.stop {
    width: 22px;
    height: 24px;
    background: url('../assets/images/stopBtn1.png');
}

.stop.hover {
    width: 22px;
    height: 24px;
    background: url('../assets/images/stopBtn1.png');
}

.stop.hover:hover {
    width: 22px;
    height: 24px;
    background: url('../assets/images/stopBtn2.png');
}

.stop.hover:active {
    width: 22px;
    height: 24px;
    background: url('../assets/images/stopBtn3.png');
}

#playVideo {
    width: 31px;
    height: 31px;
    background: url('../assets/images/play1.png');
    top: 5px;
    left: 40px;
}

#playVideo.hover {
    width: 31px;
    height: 31px;
    background: url('../assets/images/play1.png');
    top: 5px;
    left: 40px;
}

#playVideo.hover:hover {
    width: 31px;
    height: 31px;
    background: url('../assets/images/play2.png');
    top: 5px;
    left: 40px;
}

#pauseVideo {
    width: 31px;
    height: 31px;
    background: url('../assets/images/pause1.png');
    top: 5px;
    left: 80px;
}

#pauseVideo.hover {
    width: 31px;
    height: 31px;
    background: url('../assets/images/pause1.png');
    top: 5px;
    left: 80px;
}

#pauseVideo.hover:hover {
    width: 31px;
    height: 31px;
    background: url('../assets/images/pause2.png');
    top: 5px;
    left: 80px;
}

#stopVideo {
    width: 31px;
    height: 31px;
    background: url('../assets/images/stop1.png');
    top: 5px;
    left: 120px;
}

#stopVideo.hover {
    width: 31px;
    height: 31px;
    background: url('../assets/images/stop1.png');
    top: 5px;
    left: 120px;
}

#stopVideo.hover:hover {
    width: 31px;
    height: 31px;
    background: url('../assets/images/stop2.png');
    top: 5px;
    left: 120px;
}

.controlButton {
    display: none;
}

#printBut {
    width: 57px;
    height: 30px;
    background: url('../assets/images/print1.png');
    top: 5px;
    right: 30px;
}

#printBut.hover {
    width: 57px;
    height: 30px;
    background: url('../assets/images/print1.png');
    top: 5px;
    right: 30px;
}

#printBut.hover:hover {
    width: 57px;
    height: 30px;
    background: url('../assets/images/print2.png');
    top: 5px;
    right: 30px;
}

video {
    position: absolute;
    top: 45px;
    z-index: 20;
}

/* Placeholder images */
#placeholderImgs {
    position: absolute;
    z-index: 30;
    width: 760px;
    height: 366px;
    top: 45px;
}

#phBoy1 {
    width: 760px;
    height: 366px;
    position: absolute;
    background: url('../assets/images/boy1.png');
}

#phGirl1 {
    width: 760px;
    height: 366px;
    position: absolute;
    background: url('../assets/images/girl1.png');
}

#phGirl2 {
    width: 760px;
    height: 366px;
    position: absolute;
    background: url('../assets/images/girl2.png');
}

#phBoy2 {
    width: 760px;
    height: 366px;
    position: absolute;
    background: url('../assets/images/boy2.png');
}

footer {
	font-family: Arial, Helvetica, sans-serif;
    margin: 0 auto;
    width: 760px;
    text-align: center;
}

.noSelect {
    cursor: default;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}