body {
    //margin:0;
    padding:0;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}
#if{
    /*width:880px; 
    height:660px;*/
    margin:0;
    overflow:hidden;
}

#fakeGameUPWrapper{
    background-color:#6FF;
    width:887px;
    display:inline-block;
}


#flashContent {
    text-align: center;
}

#flash{
    position:absolute;
    top:0px;
    left:0px;
    display: block;
    opacity: 0.8;
    z-index: 9988;
    background-color: #FFF;
}



/* CAMERA RELATED THINGS */


#copyCanvas {
    display:block;
}


#cameraDiv{
    display: none;
    /*border-right: 3px solid #6FF;
    border-left: 3px solid #6FF;*/
    background-color: #663300;
    position: relative;
    height: 40px;
}

#viewSnapshots{
    position: absolute;
    display: none;
    right: 6px;
    top: 6px;
    background-image: url('https://cdn.brainpop.com/games/assets/img/editSubmitButton.png');
    background-position: 0px 0px;
    height: 28px;
    width: 150px;
    cursor: pointer;
}
#viewSnapshots:hover{
    background-position:-150px 0px;
}


#cameraButton{
    cursor: pointer;
    //display: none;
    margin: 6px;
    background-image: url('/games/assets/images/takeSnapshot.png');
    background-position: 0px 0px;
    height: 28px;
    width: 150px;
    right: 353px;
    position: absolute;

}
/*
#cameraButton:hover{
    background-position:-150px 0px;
}
*/

#snapsOverlay .submit{
    display:none;
    text-align:center;
    position:relative;
    background-color: #663300;
    height:40px;
}
#submitButton{
    cursor:pointer;
    background-image:url('https://cdn.brainpop.com/games/assets/img/submitToTeacher.png');
    background-position:0px 0px;
    height:28px;
    width:160px;
    //display:block;
    position:absolute;
    right:6px;
    top:6px;    
}
#submitButton:hover{
    background-position:-160px 0px;
}

#trademarkNotice{
    position: absolute;
    bottom: 11px;
    left: 16px;
    /* text-shadow: 1px 1px 1px rgba(0, 51, 51, 1); */
    color: #FFF;
    font-size: 15px;
}
#submitTrademark {
    color: #BBBAAA;
    /* display: inline-block; */
    text-align: left;
    margin-top: 18px;
}



#classSelectbox{
    position:absolute;
    right:162px;
    top:5px;
    height:27px;
    font-size:17px
}
#previewCards{
    position:absolute;
    display:none; 
    left:5px;
    top:4px;
}
#previewCards span{
    margin:3px;
    border-style:solid;
    border-width:2px;
    border-color: #ffcc00;
    background-color: #ff9900;
    display:inline-block;
    height:21px;
    width:28px;
    text-align:center;
    overflow:hidden;
    float:left;
}
#previewCards .filledPreview{
    cursor:pointer;
}
#cameraButton:hover{
    /*background-position:-119px 0px;*/
}


#snapsOverlay textarea{
    margin-top:20px;
    height:76px;
    width:550px;
    resize:none;
    border:none;
    line-height:19px;
    overflow:hidden;
    font-size:17px;
    background-image:url('/games/assets/images/underlineBG.png');
    background-position:0px 0px;
}


#snapsOverlay .placeholder{
    color:#999;
}



#snapsOverlay .simple_overlay img{
    border:2px solid #666;
    margin:2px;
}

#snapsOverlay  {
    color: black;
    font-weight: bold;
    margin: 0px auto;
    display: none;
    z-index: 10000;
    background-color: white;
    color: black;
    border: 3px solid #FF9900;
    text-align: center;
    width: 600px;
    margin: 0px auto;
    top: 20px;
}

#snapsOverlay .close {
    background-image:url('https://cdn.brainpop.com/games/assets/img/apple-close.png');
    position:absolute;
    right:-15px;
    top:-15px;
    cursor:pointer;
    height:28px;
    width:28px;
    z-index: 40000;
}

#snapsOverlay .save{
}
#saveButton{
    background-image:url('/games/assets/images/save.png');
    height:28px;
    width:74px;
    margin:5px;
    display:inline-block;
    cursor:pointer;
}


#cameraDiv .loadingMessage{
    display:none;
    padding:5px;
    background-color:white;
    width:200px;
    margin:0px auto;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font-weight:bold;
}

#snapsOverlay .loadingMessage{
    display:none;
    padding:5px;
}
.loadingMessage img{
    vertical-align:middle;
}



#snapsOverlay .screenshotLarge{
    background-color:black;
    /*height:415px;*/
    border-bottom: 3px solid #FF9900;
}

#snapsOverlay .screenshotLarge img{

}




#snapsOverlay .divider{
    background-color:#6FF;
    height:3px;
}

#screenshotsNav{
    padding-top:10px;
    background-color: #663300;
    width:600px;
    height:100px;
    overflow:hidden;
    position:relative;
}
#screenshotsRow{
    background-color:#399;
    /*whole thing is 600*/
    width:550px;
    height:130px;
    /*
    overflow:hidden;
    overflow-x:scroll;
    */
    /*overflow: auto*/
    white-space: nowrap;
    position:absolute;
    left:25px;
    text-align:left;

    background-image:url('/games/assets/images/rowBG.png');
    background-repeat:repeat-x;
    background-position:0 0;
}
#snapsOverlay .captureHolder {
    width:100px;
    height:90px;

    background-color:white;
    display:inline-block;
    position:relative;


    margin:5px;

    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;

    box-shadow: 2px 2px 7px -2px #000000;
    -webkit-box-shadow: 2px 2px 7px -2px #000000;
    -moz-box-shadow: 2px 2px 7px -2px #000000;
    -o-box-shadow: 2px 2px 7px -2px #000000;
}
#snapsOverlay .captureHolder .spinner{
    /*16x16*/
    display:none;
    background-image:url('https://cdn.brainpop.com/games/assets/img/spinner.gif');
    background-repeat:no-repeat;
    position:absolute;
    height:16px;
    width:16px;
    left:42px;
    top:24px;
}

#snapsOverlay .captureHolderIndicators{

    height:20px;
    margin-left:3px;
    margin-right:3px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

#snapsOverlay  .activeCapture{
    background-color: #FFCC00;
    margin-top: 67px;
}

#snapsOverlay .captureHolder .remove{


    background-image:url('https://cdn.brainpop.com/games/assets/img/removeCapture.png');
    background-repeat:no-repeat;
    position:absolute;
    height:20px;
    width:20px;
    left:3px;
    bottom:4px;
    cursor:pointer;
}
#snapsOverlay .captureHolder .hasText{

    display:none;
    background-image:url('/games/assets/images/hasText.png');
    background-repeat:no-repeat;
    position:absolute;
    height:20px;
    width:54px;
    left:25px;
    bottom:4px;
    cursor:pointer;
}
.captureHolder  .littleArrowLeft,.captureHolder  .littleArrowRight{

    background-repeat:no-repeat;
    background-position:0 0;
    position:absolute;
    height:10px;
    width:5px;
    top:30px;
}
.captureHolder  .littleArrowLeft{
    background-image:url('/games/assets/images/littleArrowLeft.png');
    left:1px;
}
.captureHolder  .littleArrowRight{
    background-image:url('/games/assets/images/littleArrowRight.png');
    right:1px;
}

#snapsOverlay .captureHolder .captureNumber{

    font-weight:normal;
    color:#999;
    font-size:13px;
    text-align:right;
    position:absolute;
    height:20px;
    width:25px;
    right:7px;
    bottom:1px;
    cursor:pointer;
}

#carouselPrevious,#carouselNext{
    background-color: #FFCC66;
    width:25px;
    height:100px;
    position:absolute;
    /*cursor:pointer;*/
}
/*
#carouselPrevious:hover,#carouselNext:hover{
        background-color:#6FF;
}
*/
#carouselPrevious{
    left:0;
}
#carouselNext{
    right:0;
}

#snapsOverlay ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
    display:inline-block;
}
#snapsOverlay li{
    margin: 0;
    padding: 0;
    list-style-type: none;
    float:left;
    height:90px;
    width:100px;

    margin:5px;
    margin-top:5px;
    margin-bottom:5px;

}



#snapsOverlay .imageHolder {
    width:80px;
    height:60px;
    text-align:center;
    cursor:pointer;

    position:absolute;
    top:0px;
    left:5px;;
    overflow:hidden;
    margin:5px;
    margin-bottom:2px;
    background-color:black;

}
#snapsOverlay .imageHolder img{

}


#submitOverlay,#confirmOverlay  {
    background-color: white;
    color: black;
    /*display: inline-block;*/
    display: none;
    font-size: 13px;
    font-weight: bold;
    margin: 15px auto 0;
    min-width: 300px;
    padding: 18px 18px 27px;
    text-align: left;
    width: auto;
    z-index: 11000;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;

}
#confirmOverlay{
    text-align:center;
    margin:0;
    padding:18px;
    width:330px;
}
#confirmOverlay .confirmMessage{
    margin: 5px 10px 10px;
}
#confirmOverlay .confirm,#confirmOverlay .cancel{
    display: inline-block;
    margin: 1%;
    padding: 2%;
    text-align: center;
    width: 40%;
    border-radius: 0.4em 0.4em 0.4em 0.4em;
    cursor:pointer;
}
#confirmOverlay .confirm{
    background: #ff9900;
    background: -moz-linear-gradient(top,  #ffb441 0%, #ffb441 50%, #ff9900 50%, #ff9900 100%); /* FF3.6+ */
    background: webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffb441), color-stop(50%,#ffb441), color-stop(50%,#ff9900), color-stop(100%,#ff9900));
    background: -webkit-linear-gradient(top,  #ffb441 0%,#ffb441 50%,#ff9900 50%,#ff9900 100%);
    background: -o-linear-gradient(top,  #ffb441 0%,#ffb441 50%,#ff9900 50%,#ff9900 100%);
    background: -ms-linear-gradient(top,  #ffb441 0%,#ffb441 50%,#ff9900 50%,#ff9900 100%);
    background: linear-gradient(to bottom,  #ffb441 0%,#ffb441 50%,#ff9900 50%,#ff9900 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffb441', endColorstr='#ff9900',GradientType=0 );
    border: 0.1em solid #CC6600;
    color: #FFFFFF;
}
#confirmOverlay .cancel{
    background: #f3f3f3;
    background: -moz-linear-gradient(top, #ffffff 0%, #ffffff 50%, #f3f3f3 50%, #f3f3f3 100%);
    background: webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(50%,#ffffff), color-stop(50%,#f3f3f3), color-stop(100%,#f3f3f3));
    background: -webkit-linear-gradient(top, #ffffff 0%,#ffffff 50%,#f3f3f3 50%,#f3f3f3 100%);
    background: -o-linear-gradient(top, #ffffff 0%,#ffffff 50%,#f3f3f3 50%,#f3f3f3 100%);
    background: -ms-linear-gradient(top, #ffffff 0%,#ffffff 50%,#f3f3f3 50%,#f3f3f3 100%);
    background: linear-gradient(to bottom, #ffffff 0%,#ffffff 50%,#f3f3f3 50%,#f3f3f3 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f3f3f3',GradientType=0 );
    border: 0.1em solid #999999;
    color: #666666;
}
#confirmOverlay .confirm:hover{
    background: none repeat scroll 0 0 #FF9900;
}
#confirmOverlay .cancel:hover{
    background: none repeat scroll 0 0 #f3f3f3;
}

#submitOverlay .close{
    display:none;
}
#submitOverlay  .submitMessage{
    border-bottom: 1px solid #ccc;
    margin-bottom: 18px;
    margin-left: -18px;
    margin-right: -18px;
    padding-bottom: 18px;
    padding-left: 12px;
}
.submitMessage {
    font-size: 15px;
}
.submitTitle {
    font-size: 13px;
    margin-bottom:13px;
}
#classButtons{
    max-height: 378px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 5px;
    margin-right: -18px;
}
#submitButtonsContainer{
    text-align:right;
}
#cancelSubmit,#approveSubmit{
    font-family: "InterstateCondensed", Arial, sans-serif;
    font-size: 14px;
    line-height: 36px;
    border-radius: 0.4em 0.4em 0.4em 0.4em;
    display: inline-block;
    height: 34px;
    letter-spacing: 0.1em;
    cursor: pointer;
    width: 48%;
    text-align: center;
}
#cancelSubmit{
    float: left;
    background: #f3f3f3;
    background: -moz-linear-gradient(top, #ffffff 0%, #ffffff 50%, #f3f3f3 50%, #f3f3f3 100%);
    background: webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(50%,#ffffff), color-stop(50%,#f3f3f3), color-stop(100%,#f3f3f3));
    background: -webkit-linear-gradient(top, #ffffff 0%,#ffffff 50%,#f3f3f3 50%,#f3f3f3 100%);
    background: -o-linear-gradient(top, #ffffff 0%,#ffffff 50%,#f3f3f3 50%,#f3f3f3 100%);
    background: -ms-linear-gradient(top, #ffffff 0%,#ffffff 50%,#f3f3f3 50%,#f3f3f3 100%);
    background: linear-gradient(to bottom, #ffffff 0%,#ffffff 50%,#f3f3f3 50%,#f3f3f3 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f3f3f3',GradientType=0 );
    border: 0.1em solid #999999;
    color: #666666;
    /*margin-left: 11px;*/
}
#cancelSubmit:hover{
    background: none repeat scroll 0 0 #f3f3f3;
}
#approveSubmit{
    background: #ff9900;
    background: -moz-linear-gradient(top,  #ffb441 0%, #ffb441 50%, #ff9900 50%, #ff9900 100%); /* FF3.6+ */
    background: webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffb441), color-stop(50%,#ffb441), color-stop(50%,#ff9900), color-stop(100%,#ff9900));
    background: -webkit-linear-gradient(top,  #ffb441 0%,#ffb441 50%,#ff9900 50%,#ff9900 100%);
    background: -o-linear-gradient(top,  #ffb441 0%,#ffb441 50%,#ff9900 50%,#ff9900 100%);
    background: -ms-linear-gradient(top,  #ffb441 0%,#ffb441 50%,#ff9900 50%,#ff9900 100%);
    background: linear-gradient(to bottom,  #ffb441 0%,#ffb441 50%,#ff9900 50%,#ff9900 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffb441', endColorstr='#ff9900',GradientType=0 );
    border: 0.1em solid #CC6600;
    color: #FFFFFF;

}
#approveSubmit:hover{
    background: none repeat scroll 0 0 #FF9900;
}
#submitOverlay  .button_white {
    /*background: linear-gradient(to bottom, #FFFFFF 0%, #FFFFFF 50%, #F3F3F3 50%, #F3F3F3 100%) repeat scroll 0 0 transparent;*/
    background: #f3f3f3; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 0%, #ffffff 50%, #f3f3f3 50%, #f3f3f3 100%); /* FF3.6+ */
    background: webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(50%,#ffffff), color-stop(50%,#f3f3f3), color-stop(100%,#f3f3f3)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#f3f3f3 50%,#f3f3f3 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#f3f3f3 50%,#f3f3f3 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#f3f3f3 50%,#f3f3f3 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #ffffff 0%,#ffffff 50%,#f3f3f3 50%,#f3f3f3 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f3f3f3',GradientType=0 ); /* IE6-9 */border: 0.1em solid #ccc;
    border-radius: 0.4em;
    color: #666666;
    cursor: pointer;
    font-family: "InterstateCondensed",Arial,sans-serif;
    font-size: 14px;
    height: 34px;
    line-height: 34px;
    margin-bottom: 18px;
    padding: 0 1em;
    margin-right: 18px;
}
#submitOverlay  .button_white:hover {
    background: none repeat scroll 0 0 #F3F3F3;
}
#submitOverlay  .button_white_selected {
    /*background: linear-gradient(to bottom, #FF9900 0px, #FF9900 50%, #FF9900 50%, #FF9900 100%) repeat scroll 0 0 transparent;*/
    filter: none;
    background: none repeat scroll 0 0 #FF9900;
    border: 0.1em solid #999999;
    border-radius: 0.4em 0.4em 0.4em 0.4em;
    color: #FFFFFF;
    height: 34px;
    line-height: 34px;
    padding: 0 1em;
}
#submitOverlay  .button_white_selected:hover {
    background: none repeat scroll 0 0 #FF9900;
}

#submitSuccessOverlay{
    display: none;
    position: fixed;
    top: 5px;
    right: 5px;
    padding: 20px;
    padding-left: 80px;
    padding-right: 24px;
    background-color: #000;
    color: #FFF;
    font-weight: bold;
    width: 244px;
    text-align: left;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    background-image: url(https://cdn.brainpop.com/games/assets/img/check.png);
    background-repeat: no-repeat;
    background-position: 15px 30px;
}
.teacherInfoMessage{
    display:none;
    font-size: 13px;
    text-align:left;
}
.teacherInfoMessage .message{
    display: inline-block;
    margin: 10px 11px 11px;
    vertical-align: top;
    width: 515px;
}
.teacherInfoMessage .arrowUp{
    background-image: url("https://cdn.brainpop.com/games/assets/img/arrowUp.png");
    display: inline-block;
    height: 40px;
    margin-top: 6px;
    width: 40px;
}

.appriseOverlay
{
    position:fixed;
    top:0;
    left:0;
    background:rgba(0,0,0,0.3);
    display:none;
    z-index:100000
}
.appriseOuter
{
    background:#fff;
    border:1px solid #fff;
    -webkit-box-shadow: 4px 4px 0px rgba(50, 50, 50, 0.5);
    -moz-box-shadow:4px 4px 0px rgba(50, 50, 50, 0.5);
    box-shadow:4px 4px 0px rgba(50, 50, 50, 0.5);
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    border-radius:4px;
    -khtml-border-radius:4px;
    z-index:99999999;
    min-width:200px;
    min-height:50px;
    max-width:75%;
    position:fixed;
    display:none
}
.appriseInner
{
    color:#333;
    text-shadow:0 1px 0 #fff;
    /*
    padding:28px;
    padding-bottom: 20px;
    */
    padding:24px;
}
.appriseInner button
{
    
    font-family: "InterstateCondensed";
    text-transform:uppercase;
    border:1px solid #bbb;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px;
    -khtml-border-radius:3px;
    background:0;
    background-color:#215684;
    color:white;
    font-size:16px;
    font-weight:700;
    /*text-shadow:0 1px 0 #fff;*/
    cursor:pointer;
    box-shadow:0 1px 2px #ccc;
    -moz-box-shadow:0 1px 2px #ccc;
    -webkit-box-shadow:0 1px 2px #ccc;
    margin:0 3px;
    padding:4px 10px
}
.appriseInner button:hover
{
    color:#000
}
.aButtons,.aInput
{
    text-align:center;
    /*margin:20px 10px 0*/
    margin:15px 10px 0;
}
.aTextbox
{
    border:1px solid #aaa;
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    border-radius:4px;
    -khtml-border-radius:4px;
    box-shadow:0 1px 0 #fff;
    -moz-box-shadow:0 1px 0 #fff;
    -webkit-box-shadow:0 1px 0 #fff;
    width:180px;
    font-size:12px;
    font-weight:700;
    padding:5px 10px
}

