


/* Container Styles */

.pageContainer {
    width: 99vw;
    height: 100vh;
    display: flex;
    min-height: 800px;
    max-height: 100vh;
    /* display: flex;
    flex-wrap: wrap; */
    overflow: auto; 
    margin:10px 5px 5px 10px;
    position: fixed; 
    top: 52vh;
    left: 50%;
    transform: translate(-50%, -50%);
    @media ( width < 800px ) {
            max-width: 99vw;
        }
        @media ( height < 800px ) {
            max-height: 100vh;
        }
}



/* Textarea Styles */
textarea {
    height: 80px;
    background-color: #f8f8f8;
    border: 2px solid #ccc;
    font-size:1.4em
}


.urlInput {
    /* width: 80%;  */
    height: 1.8em;
    font-size:1.1em;
    border: 2px solid  rgb(179, 177, 177);
    background-color: #cccaca;
    margin:3px 10px 3px 8px;/* top right bottom left  */
    overflow: auto;
    padding:auto;
    border-radius: 5px;
}



/* Standard Button Styles */
.stdButton{
    margin:2px;
    padding:5px 10px 5px 10px;
   
    margin-left:20px !important;
   /* align-items: right !important; */
    /* width:140px; */
    /* height: 40px; */
    font-size:1.2em;
    background-color:#3bacf2;
    border:1px solid rgb(248, 250, 251);
    border-radius: 10px;
    color:white;
    box-shadow: 4px 2px 2px rgb(150, 149, 149);
    /* align-items: right!important; */

}

.stdButton:hover {
    background-color:rgb(35, 94, 130);

}



/* ---------------------------------  */
.gamesContainer {
    border:1px solid rgb(253, 251, 251);
    justify-content: center;
    align-items: center;
    margin:12px 5px 3px 10px;
    min-width:800px;
    /* height: 99%; */
    background-color:#dbd9cb;

    border-radius: 0.5cm;
    align-self: center;
    @media ( width < 800px ) {
        max-width: 99vw;
       }


    @media ( width >= 1200px ) {
        max-width: 1200px;
       }
    @media screen and( width < 1200px ){
    width: 99vw;
    align-self: left;
    }
    
}

.gamesContainer button {

    padding: 4px 4px  4px 4px ;
    /* font-family:"Comic Sans MS"; */
    text-align: center;
    /* display: flex; */
    margin: auto;
    padding-left: 5px;
    padding-right: 10px;
  
    cursor: pointer;
    outline: none;
    box-shadow:'';
    background-color:'';
    color: #000000;
  
    border-radius: 5px;
}


/* ------------ top Band ------------------ */

/* ---------------------------------  */
.topBandContainer {
    margin: 5px;
    margin-top: 20px;
    padding: 3px;
    width:90%;
    display:flex;
    background-color:transparent;
        /* height: 50px!important; */
    /* flex-wrap: nowrap; */
    /* z-index: 1000!important; */
    /* background-color: #03f603; */
    min-height: 35px;

  @media screen and (max-width: 760px ) {
        /* background-color: #e3e0e0; */
        padding-left: 90px;
        display:flex;
        flex-wrap: wrap;
        overflow-x:auto;
        overflow-y:auto;
        position: relative;
        margin-top: 20px;
    }


}

.topBandContainer div {
    margin:5px;
    padding:2px;
    text-align: center;
    line-height: 20px;
    font-size: 15px;
    min-width:20%;
    color:#9f9d9d;
    /* z-index: 1000; */
    /* min-height: 100px !important;  */
 
}


.topBandContainer button {
    margin:2px 6px 2px 2px;
    text-align: center;
    /* line-height: 25px;
    padding: 2px 10px 30px 10px; */
    font-size: 1.5em;
    border:1px solid rgb(253, 251, 251);
    border-radius: 15px;
    color:#868585;
    border-radius: 5px;
    background-color:  rgba(225, 234, 252, 0.714);
    box-shadow: 0px 5px 5px 0px rgba(160, 167, 180, 0.714) !important;
    position:inherit;
    /* width:140px; */
    height:25px;
    @media screen and (max-width: 760px) {
        background-color: #e3e0e0;
        z-index: 400;
    }
}

.topBandContainer button:hover {
    background-color: rgb(162, 158, 158);
    color:white;
    /* padding-bottom: 25px; */
}




/* ----------- BottomBand  ------------------------ */
.gameBottomBandContainer {

    border: 1px  solid white;
    margin:auto;
    padding: auto;
    line-height: 14px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    width:100%;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: hwb(0 85% 15% / 0.321);
 
}

.gameBottomBandContainer div {
    margin:auto;
    width: 25%;
    display: flex;
    justify-content: left;
    color:#9f9d9d;
    overflow: auto; 
}


.gameBottomBandContainer button {
    margin:auto;
    padding:2px !important;
    margin-right:10px !important;
    /* align-items: right !important; */
    width:140px;
    height: 36px;
    font-size:1.1em;
    background-color:rgb(59, 172, 242);
    border:1px solid rgb(248, 250, 251);
    border-radius: 5px;
    color:white;
    }

.gameBottomBandContainer button:hover {
    background-color:rgb(35, 94, 130);
    /* width: 00px !important; */
}




.score-container {
    height:50px;
    text-align: center;
    width: 20px !important;
    /* border-bottom: solid 2px #3a3a3a; */
}

/* -------- gameMessage --------------- */
.gameMessage {
    border-radius:  10px;
    padding: 3px ;
    margin: 1px 5px 8px 5px !important;
    width: 40% !important;
}

.gameMessageTrue {
    background-color: #03f603;
}
.gameMessageFalse {
    background-color: #f60303;
}

.gameMessage button {
    margin-bottom: 30px;
}

/* --------title------------------------  */
.titleBlock input {
    width: 80%; 
    height: 1.8em;
    font-size:1.1em;
    margin:3px 3px 3px 3px;/* top right bottom left  */
    overflow: auto;
}


.titleBlock label {
    max-width: 80px;
    vertical-align: middle;
    margin-left: 20px;
}

.titleColDiv {
    max-width:100%;
    margin:10px;
}

.txtLabel {
    margin:5px;
    width:100px !important;
    vertical-align: middle !important;
    background-color: #5B9BD5;
}

.titleBlock select {
    width:90px;
    vertical-align: middle;
    margin-left: 5px;
    border-radius: 6px;
    font-size: 1.1em;
    padding: 5px;
}

.titleBoxContainer {
    width: 90%;
    margin: 0 auto;
    padding: auto;

}


 /* -------- teach ------------- */
 .teachRowDiv {
    width: 100%;
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 2fr 5fr 7fr 1fr 1fr  ;
    padding: 1px 1px 1px 1px;
    position: relative;
    text-align: center;
    margin:1px 1px 1px 1px;
    }

    .teachTitleInput {
        height: 1.8em;
        font-size:1.1em;
        border: 2px solid  rgb(217, 214, 214);
        background-color: #ffffff;
        margin:15px 2px 2px 2px;/* top right bottom left  */
        overflow: auto;
        padding:auto;
        border-radius: 5px;
    
    }


    .activities-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjust column size */
        gap: 5px;
        padding:auto; 
    }
    
    .activities-container a {
        display: flex;
        flex-direction: column;
        height: 100%; /* Ensures they take the same height */
        font-weight: bold;
        font-size: 1.4em;
        color: dimgray;

        min-width: 180px;
        min-height: 130px;
    }




  /* ---------- activityTitle --------- */
 
  




  .activityTitle {
    font-size: 2em; 
    font-weight: bold;
    text-align: center;
    margin:auto;/* 15px 5px 15px 5px;/* top right bottom left  */
    margin-top: 10px;
    margin-bottom: 20px;
    white-space: pre-wrap;
    /* word-break: break-all; */
    /* max-height: 500px; */
    max-width: 80%;
}


.activityGamesImage {
    width:40%;
    height:40%;
    max-height: 30%;
    max-width: 30%;
    margin:5px 5px 10px 5px;/* top right bottom left  */
    border-radius: 5px;
    display:block;
    margin:auto;
    border: solid 4px white
}


.activityNo {
    width: 60px!important;
    background-color: #e4f5e9;
    font-size:1.4em;
}


.activityDesc {
    margin:5px 5px 5px 5px;/* top right bottom left  */
    white-space: pre-wrap;
    font-size: 1.3em;
    text-align:left;
    line-height: 1.2em;
    word-break: break-all;
    max-width: 80%;
}


.activityLearningOutcomes{
    margin:40px 5px 20px 5px;/* top right bottom left  */
    padding: 8px;
    /* white-space: pre-wrap; */
    min-height:30%;
    max-width: 80%;
    background-color: rgb(223, 245, 231);
    border-radius: 6px;
    border:2px solid rgb(251, 252, 253);
    font-size: 1.1em;
    text-align: left;
    line-height: 1em;
    word-break: break-all;
}

.activityLearningOutcomes-p {
    margin:5px 5px 5px 5px;
    line-height: 0.9em!important;
    text-align: left!important;
}

.fileUploader {
    width: 80%;
    margin:5px 5px 5px 100px;
    padding:5px 5px 5px 5px;
    background-color: #d4d3d3;
    border-radius: 12px;
    border:4px solid rgb(251, 252, 253);
    display: flex;
    flex-direction: row;
 
}






/* ------------------------------------------ */
.title_container {
    /* background-color: aqua; */
    width:95% !important;
    font-size: 1.4em!important ;
    color: #7b7a7a !important;
    font-weight: bold;
    margin: 1px 1px 15px 1px !important;
    padding:5px 5px 5px 10px !important ;
    text-align: left !important;
    border-bottom: solid 2px #3a3a3a;
    overflow: auto;
    flex: auto;
    flex-wrap: wrap;
}





.messageContainer {
    /* height: 45px; */
    /* flex: auto;
    flex-wrap: wrap; */
    font-size: 1.1em;
    margin: 10px 10px 10px 10px;/* top right bottom left  */
    padding:2px 10px 2px 40px;
    color:#7b7a7a;
    text-align: left;
     /* background-color: burlywood;  */
}



/* ---- summary Page ---------- */

.summaryTextDiv {
padding: 30px 10px 20px 10px ;
    height: 60px;
}


.summaryResultImg {
    margin-top: 30px;
    height:160px;
    padding: 10px 0 10px;
}

.summaryReviewBtn {
    height:60px;
    width:160px;
    margin:10px;
    font-size: 1.4em;
}

.summaryResultDiv {
    padding: 10px 10px 10px  10px;
}









 /* ---------   gameAreaContainer ------------------- */
.gameAreaContainer {
    position: relative;
    border:3px solid rgb(253, 251, 251);  
    margin: 5px 10px 5px 10px;
    padding:2px;
    min-width:95%;
    max-width: 95%;
    height:95%;
    min-height: 550px;
    max-height: 90%;
    border-radius: 2%;
    /* background-color: brown; */
    
}

.instructions {
    flex: auto;
    width: 90%;
    flex-wrap: wrap;
    font-size: 1.3em;
    font-weight: 'bold';
    align-self: left;
    /* align: left; */
    padding:5px 5px 15px 5px  ;/* top right bottom left  */
    margin: 15px;

  }


.incorrect {
    border:3px solid #f60303 !important;
    box-shadow: 0 0 10px #f60303 !important;
    background-color: rgb(247, 211, 211);

}

.correct {
    border:3px solid #03f603 !important;
    box-shadow: 0 0 4px  #03f603 !important;
    background-color: rgb(211, 247, 225);
}

.missing {
    background-color: #cbf390 !important;
    /* border:2px solid #fafcfa !important; */
    border-radius: .5cm;
}

.audioTSBtn {
    border:0px solid transparent !important;
    background-color:transparent !important;
    margin:auto;
}

.audioTSBtn img:hover{
    background-color:transparent !important;
    background-image:url('/../images/gameImages/playPressed.png') !important;
    transform: scaleY(1.1)scaleX(1.1);
    transition: all .02s ease-in;
}

.audioTSBtn img:focus{
    background-color:transparent !important;
    box-shadow: 0px 5px 5px 0px rgba(255, 0, 0, 0.691) !important;
    background-image:url('/../images/gameImages/playPressed.png') !important;
    }
.audioTSBtn img:active{
    background-color:transparent !important;
    background-image:url('/../images/gameImages/playPressed.png') !important;
    box-shadow: 0px 5px 5px 0px rgba(47, 1, 1, 0.364) !important;
    }

    .ttsPlayBtn img:active{
        box-shadow: 0px 5px 5px 0px rgba(47, 1, 1, 0.364) !important;
    }

    .ttsPlayBtn img:hover{
        transform: scaleY(1.1)scaleX(1.1);
    }
/*  ------modal ---------------------  */

/* The Modal (background) */
.modalContainer {
    display: none; /* Hidden by default */
    /* Stay in place */
    position: fixed;
    z-index: 500; /* Sit on top */
    padding: 2px 2px 2px 2px;
    margin: 10px;
    width: 80%; 
    height: 60% !important; 
    overflow: auto; /* Enable scroll if needed */
    border-radius: .5cm;
    overflow: auto;
    box-shadow: 4px 4px 4px 1px rgba(0, 0, 0, 0.364) !important;
  }
  
  /* Modal Content */
  .modalContentContainer {
    z-index: 2; /* Sit on top */
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    /* border: 1px solid #888; */
    width: 100%;
    height:100%;
    border-radius: .4cm;
    flex: auto;
    flex-wrap: wrap;
    overflow: auto;
  }
  
  /* The Close Button */
  .close {
    z-index: 20;
    opacity: 100%;
    color: #fcf9f9;
    float: right;
    font-size: 28px;
    font-weight: bold;
    border: 1px solid #fff;
    border-radius: 15px;
    background-color: #f70202;
    padding: 1px 8px 2px 5px;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.364) !important;
  }
  
  .close:hover,
  .close:focus {
    color: #f70202;
    background-color: #fff;
    border: 2px solid  #f70202;
    text-decoration: none;
    cursor: pointer;
  }


  .modalQBtn {
    margin:2px 2px 2px 2px;
    padding: 2px 10px 35px 10px;
    text-align: center;
    line-height: 40px;
    font-size: 1.5em ;
    border:2px solid rgb(253, 251, 251);
    border-radius: 5px;
    /* color:#9f9d9d; */
    background-color: transparent;
    font-weight: bold;
    color: #fff;
  }



/* gameModal Message  ------ */
  .gModalContainer {
    /* opacity: 50%; */
    display: none; /* Hidden by default */
    /* Stay in place */
    position: fixed;
    z-index: 400; /* Sit on top */
    padding: 10px 10px 10px 5px;
    margin: 5px;
    overflow: auto; /* Enable scroll if needed */
    border-radius: .5cm;
    overflow: auto;
    box-shadow: 4px 4px 4px 1px rgba(0, 0, 0, 0.364) !important;
    background-color: #efefef ;
    /* border: 5px solid #18e81c; */
    color:  #18e81c;
    font-size: 1em;
    width:100px !important;  
    height: 60px!important; 

  }
  
  .gModalTitle {
    font-size: 1.2em;
    background-color:#18e81c;
    color: #ffffff;
    border-radius: .5cm;
    padding:5px 10px 5px 10px;
    margin: 5px 5px 5px 5px;
    }


  /* Modal Content */
  .gModalContent {
    /* background-color:#ffffff; */
    color: #060606;
    margin: 2px 2px 2px 10px;
    padding: 5px;
    flex: auto;
    flex-wrap: wrap;
    overflow: auto;
    font-size: 1em;
  }


  .gModalScore {
    color: #060606;
    margin: 2px 2px 2px 10px;
    padding: 5px;
    font-size: 1em;
  }




.ansBtnDiv{
    position: relative; /* Set the position property to relative */
}
  .gModalAnsBtn {
    background-color:#429af8;
    background-repeat: no-repeat;
    margin:5px;
    height:28px;
    width:30px; 
    border-radius: 5px;
    padding:4px;
    padding-top: 6px;
    padding-left: 6px;
    border-radius: .8cm;
    position: absolute; /* Set the position property to absolute */
    z-index: 30;
    box-shadow: 0 0 10px #504f4f ;
    background-image:url('/../images/gameImages//showIcon.svg') !important;
   }


  .showAnswerDiv {
    background-color: aliceblue;
    border-radius: .3cm;
    color: #000;
    border: 4px solid #e0c21a;
    padding:5px;
    min-height: 1.1em;
    min-width:100px;
    font-size: 1em;
    position: absolute; /* Set the position property to absolute */
    top: -45px;
    left: 10px;
    
    z-index: 1; /* Set a higher z-index for the child div */
  }
/* game related css ---------------------- */

  /* overlays-------------- */
  .grey-overlay {
    background-color: #32c766;
    border: none !important;
}
.yellow-overlay {
    background-color: #e4ca03;
    border: none !important;
}
.green-overlay {
    background-image: linear-gradient(to bottom right,  #e9fce8, rgb(184, 202, 116));
    border: 1px solid  rgb(184, 202, 116) !important;
}
.red-overlay {
    background-image: linear-gradient(to bottom right,  #fce8e8,#f77474);
    border: 1px solid #f77474 !important;
}





   /* ----------  audio  ----------------------------  */
   .audio-container {
    padding: 5px 5px 5px 5px;
    /* background-color: #c6eef9 !important;   */
    display: flex;
    align-items: left;
    min-height: 62px;
   

   }

   .audio-container  audio {
        padding: 1px;

        /* background-color: #506553 !important;  */
   }

   /* ----------  tiles  ----------------------------  */
.tileDiv {
    /* background-color: #b38787 !important; */

    display: flex;
    flex-wrap: wrap; /* then wrap  */
    flex-direction: column;
    overflow-y:auto;
    /* margin: auto; */
    margin-bottom:30px;
    margin-top: 2px;
    margin-left: 1px;
    margin-right: 1px;

    position: relative;
    text-align: center;
    width:99%;
    height:100%;
    min-height: 100%;
    position: relative;
    align-content: center;
}

.tileDiv .tile {
    display: flex;  /* go next to each over on row */
    flex-wrap: wrap; /* then wrap  */
    flex-direction: column;
    overflow-y:auto;
    width: 400px;
    font-size: 3em;
    height: 130px;
    min
    border: solid 1px #9d9ab0;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    color: #504242;
    margin: 5px;
    margin-top: 20px;
    padding:10px;
    background-color: #fafbfb;
    border-radius: 10px;
    
}






/* --------- key-container  ------------  */
.keyContainer {

    width: 100%;
    display: flex;
    flex-wrap: wrap; /* then wrap  */
    /* border: 2px solid blue; */
    margin: auto;
    margin-left: 2px;
    margin-right: 2px;
    position: relative;
    text-align: center;
    
}
.keyContainer button {
    width: 100px;
    height:100px;
    border-radius: 10px;
    border:none;
    background-color: #b0d2e3;
    /* color: #ffffff; */
    margin: auto; /* evenly spreads items */
    padding:5px;
    margin-bottom: 5px;
    
}
.keyContainer img {
    width: 60%;
    padding: 5px;
    padding-bottom: 10px;
    margin-bottom:12px;
}

.keyContainer .icon {
    width: 50%;
    font-size: 1.6em;
    margin: 4px 5px 10px 10px;
    padding: auto;
    justify-content: space-between; 
    align-items: center;
}






.gameBtnsDisplay {

    text-align: center;
    width: 60%;
    /* border-bottom: solid 2px #3a3a3a; */
}

.gameBtnsDisplay button {
    
    width: 100px;
    height:50px;
    background-color: #249726;
    border-radius: 10px;
    margin: 4px;
    border:none;
    border-bottom: solid 4px #3a3a3a;
    border-right:solid 5px #3a3a3a;
    font-weight: 600;
}


.gameDisplay {
    /* border: 2px solid rgb(192, 15, 71); */
    text-align: center;
    width: 90%;
    /* border-bottom: solid 2px #3a3a3a; */ 
    margin: auto;
    margin-left: 5%;
    margin-right: 5%;
}

.gameDisplay button {

    width: 140px;
    height:40px;
    background-color: #e0c21a;
    border-radius: 10px;
    margin: auto ;
    margin-right: 10px;
    padding:5px;
    margin-top: 5px;
    margin-bottom: 15px;

    border-bottom: solid 4px #3a3a3a;
    border-right:solid 5px #3a3a3a;
    font-weight: 600;
}







.fade-in-out {
    opacity: 0;
    pointer-events: none;
  }

  .fade-in {
    opacity: 100%;
    pointer-events: auto;
  }

 /* ----- sequence game --------- */

.draggablesContainer {
    /* padding: 1rem; */
    margin-top: 1rem;
    width:100%;
    display: flex;
    flex-direction: column;
  
}
  .draggable {
    padding: 2px;
    padding-top: 8px;
    margin-top:2px;
    /* margin: 0px !important; */
    cursor: move;

    width:100%;
    font-size: 1.3em;
    color: #000;
    height: 42px !important;
    border-radius: .2cm; 
    border: 1px solid #b6b6b8;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    align-items: right; 
    background-color: rgba(236, 241, 250, 0.789);
    /* background-color: #725aae !important; */
    }


    .draggable.dragging {
        opacity: 0.5;
        background-color: #c8dee1;
    }


.abDraggable {
    cursor: move;
    /* position: absolute; */

    }

.targetContainer {
    /* background-color: #fff; */
    margin-top: 1rem;
    width:100%;
    padding: 2px;
    width:100%
    }



.targetItem {
    padding: 2px;
    padding-top: 8px;
    padding-left: 8px;
    margin-top: 2px;
    width:100%;
    font-size: 1.3em;
    color: #000;
    height: 42px !important;
    display:flex;
    justify-content: left !important;
    align-items: left !important;
    }



.answerItem {
    display:flex;
    justify-content: left !important;
    }


/* https://stackoverflow.com/questions/54498784/how-to-assign-grid-area-property-from-javascript */
    .seqContainer {
        width: 100%;
        display: grid;
        grid-template-rows: auto;
        grid-template-columns: 1fr 9fr;
        grid-template-areas: "left right";
    }
    .seqContainer .targetContainer {
        grid-area: left;
    }
    .seqContainer .draggablesContainer  {
        grid-area: right;
    }



    
    /* //----- matching ------  */

    /* set up separate columns for Match Game */
    .matchContainer {
        padding: 5px;
        width: 820px;
        display: grid;
        grid-template-rows: auto;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "left right";   
    }
  
    .matchContainer .targetContainer {
        padding: 0px 0px 2px 0px !important;/* top right bottom left  */
        grid-area: left;
        align-self: right;
        /* min-width: 410px; */
    }
    .matchContainer.draggablesContainer  {
        grid-area: right;
        /* min-width: 410px; */
    }

    .matchDraggable {
        padding: 2px 8px 2px 8px !important;/* top right bottom left  */
        cursor: move;
        font-size: 1.2em;
        color: #000;
        height: 42px !important;
        display:flex;
        justify-content: center;
        align-items: center !important;
        position: relative; /* Needed for absolute positioning of the background image */
        flex: 1;
        /* background-image: url("/images/gameImages/dragBox.svg");
        background-repeat:  no-repeat; */
        z-index: 10;

        }

        .answeredItem {
            position: relative;
            right:30px;

            filter: invert(.1);
        }

        .matchDraggable.dragging {
            opacity: 0.5;
            background-color: #81bec6;
            -webkit-text-fill-color: #18e81c;
        }
    
        .matchDraggable.draggingOver {
            opacity: 0.5; 
            background-color: #8e47a5;
            -webkit-text-fill-color: #8e47a5;
        }


    .matchTargetItem {
        padding: 2px 8px 2px 8px !important;/* top right bottom left  */
        font-size: 1.2em;
        color: #000;
        height: 42px !important;
        display:flex;
        justify-content: left !important;
        align-items: center; /* Vertically center text */
        position: relative; /* Needed for absolute positioning of the background image */
        flex: 1;
        z-index: 10;
        /* background-image: url("/../images/gameImages/targetBox.svg");
        background-repeat:  no-repeat; */
        /* background-color: rgba(255, 0, 0, 0.2); */
    }


    .matchTargetBg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensures the image covers the entire container */
        z-index: 10; /* Places the image behind the text */
        pointer-events: none; /* Prevents the image from interfering with interactions */
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }



    .matchTargetText {
        position: relative;
        z-index: 11; /* Ensures text appears above the image */
        background-color: transparent !important;
    }






    /* //----- flash Card Games ------  */


    .flashInstruction {
        font-size: 1.3em;
        font-weight: 'bold';
        text-align: left;
        padding:auto;
        margin: auto;
        margin-bottom: 20px;
        width:90%;
        text-wrap: pretty;

      }












.flashContainer {
    width:100%;
    height: 100%;
    /* background-color: #b38787 !important; */
    display: flex;
    flex-wrap: wrap; /* then wrap  */
    flex-direction: column;

    margin: auto;
    margin-top:30px;
    align-content: center;
    margin-left: 10%;
    margin-right: 10%;
    position: relative;
    text-align: center;

}

.flashCard {
    /* min-width: 120px!important;
    max-width: 300px!important;
    min-height: 130px!important; 
    max-height: 400px!important;  */
    min-height: 100px!important;
    width:20%!important; 
    height:20%!important; 
    padding:5px!important; 
    margin: 5px 5px 5px 5px !important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    font-size: 1em;
    color: #fff;
}

.flashBtnDiv {
display: grid;
        /*  gap: 10px;
    justify-content: center; */
    padding:0px!important;
    background-color: transparent !important;
    width:155px!important; 
    padding:0px!important; 
    margin: 5px 5px 5px 5px !important;
    min-height: 140px!important;

}

.flashBtnDiv.two-rows {
    grid-template-columns: repeat(5, 1fr); /* 5 buttons per row */
    grid-template-rows: repeat(2, auto);  /* 2 rows */
}

.flashBtnDiv.three-rows {
    grid-template-columns: repeat(5, 1fr); /* 5 buttons per row */
    grid-template-rows: repeat(3, auto);  /* 3 rows */
}

.flexContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Optional: Adds spacing between buttons */
}

.flashBtnsContainer{
    width:100%;
    display: grid;
    gap:3px;
    grid-template-columns: repeat(5, 1fr);
    text-align: center;
}



.break {
    flex-basis: 100%; /* Forces the next button onto a new row */
}


.flashChoice {
    min-height: 100% !important;
    width: 98%!important; 
    padding:20px 0px 40px 0px !important; 
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    font-size: 1.1em;
}



.flashScore {
    margin: 40px 10px 20px 100px;
}

.startBtnFlashChoice {
    width:60%;
    height:60%;
    font-size:4em;
    margin-top:10%;
    padding:10% 10% 10% 10%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }

 /* ------------ questionAnswer Container ------------------- */

 .qAnswerContainer {
    width:93%;
    height: 98%;

    display: grid;
    grid-template-columns: 20px 550px 400px;
    font-size: 1.6em;
    margin: 20px 5px 5px 15px !important;
    background-color: none !important;
    background: none !important;
}


.qElement {
    height: 40px;
    text-align: left;
    border:0px 0px 0px 0px transparent;
    background-color: 'transparent'!important;
    padding: 5px 5px 5px 25px !important;
    margin: 5px 5px 5px 5px !important;
}




.qAnswerBtn {
    width: 40%!important;
    margin: 5px !important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 15px;
    background-color: #efcb28;
    /* background-color: #b2f0ad ; */
}

.qAnswerBtn .answer {
    width: 40%!important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}








  /* ----------  multiChoice ------------ */
.questionsContainer {
    text-align: left;
    margin-top:10px;
    margin-bottom:10px;
    width:95%;
    padding:0px;
    text-wrap: pretty;
    /* background-color: rgb(176, 126, 126); */
}

.questionItem{
    /* background-color: rgb(180, 173, 210); */
    display: flex;
    font-size: 1.4em !important;
    padding:10px 0px 0px 30px ;
    flex-wrap: wrap; /* then wrap  */
}


.answersContainer {
    width:100%;
    padding-bottom: 25px;;
    /* background-color: rgb(176, 126, 126); */
}

.answerList {
    padding-top: 10px;
    /* background-color: rgb(182, 174, 174); */
    display: flex;
    font-size: 1.2em;
    width:100%;
    grid-template-rows: 1fr,1fr;
    /* grid-template-columns: 10fr fr1; */
    grid-template-areas: "left right";
}

.answerList label{
    width:80%;
    /* grid-area: left; */
    margin-top: 0px;
    margin-right: 10px;
    padding-right: 5px;
    /* background-color: white; */
    font-size: 1.3em;
    display:block;
    text-align:right;
}

.answerList input[type="radio"] {
    width:25px;
    grid-area: right;
    margin-right: 5px;
    font-size: 2em;
}

.answerList  input[type="checkbox"]{
    width:25px;
    grid-area: right;
    margin-right: 5px;
    font-size: 2em;
}


.trueFalseLabel {
    font-size:2em !important;
}

/* ----- drag Drop Words -----------------  */

.draggingOver{
    
}





.wordDragContainer {
    padding: auto;
    padding-top: 20px;
    margin-top: 0;
    width:100%;
    display: flex;
    flex-direction: row;
    /* flex-direction: column; */
}

.sentenceDDContainer {
    width: 96%;
    padding: auto;
    /* background-color: #9fb29f; */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    
    
}



.wordPlaceHolder {
    border-radius: 0cap;
    display: inline-block;
    vertical-align: baseline;
    text-align: center;
    padding: 0 20px;
    cursor: default;
    margin: 3px;
    min-width: 120px;
    min-height: 1.2em;
    border: 1px solid #d4d6e0;
    color: #000000; 
    border-radius: 5px;
    line-height: 1.8;
    font-size: 1.2em;
    /* border-color: #000; */
    background: #dddedd;

}

.wordPlaceHolder.draggingOver {
    opacity: 0.5; 
    background-color: #8e47a5;
    -webkit-text-fill-color: #8e47a5;
}

.wordPlaceHolder.dragging {
    opacity: 0.5;
    background-color: #81bec6;
    -webkit-text-fill-color: #2a472a;
}


.ddWord {
    line-height: 1.8;
    font-size: 1.2em;
    padding: 0px 4px 10px 2px;
 
}

.dragDWords {
    padding-top: 60px;
    align-items: left; 
    margin-bottom: 30px;
}


.ddwDraggable {
    padding: 5px!important;
    margin: auto;
    cursor: move;
    font-size: 1em;
    color: #000;
    height: 36px !important;
    border-radius: .2cm; 
    border: 1px solid #b6b6b8;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    align-items: left; 
    vertical-align: middle;;
    min-width: 50px;
    height: 40px;
    /* min-height: 50px; */
    z-index: 100;
    background-color: rgba(236, 241, 250, 0.789);
}

.ddwDraggable.dragging {
    opacity: 0.5;
    background-color: #b6e0e6ca;
    -webkit-text-fill-color: #2a472a;
}

.ddwDraggable.draggingOver {
    opacity: 0.5; 
    background-color: #a54765;
    -webkit-text-fill-color: #a54765;
}




/* // -------  Drop List -----------   */
.dropSelectBtn {
    margin: 2px!important;
    background-color: #d3dad3;
    color: rgb(58, 56, 56);
    padding: 5px;
    font-size: 1.2em;
    border: 1px solid #484849;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}


.dropSelectBtn option {
    font-size:1.2em;
}

.dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown-content {
    font-size: 1.2em;
    position: absolute;
    right: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
   
  }

/* Style the dropdown links */
.dropdown-content option {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {
    background-color: #f1f1f1;
  }
  
 

  


  /* // -------  blank fill ---------  --------------------------------  */
.blankFillContainer{
    margin: 2px;
    display: flex;
    flex-wrap: wrap;
}


  .blankFillInput {
    margin: 2px;
    background-color: #d4daf7;
    color: rgb(58, 56, 56);
    padding:2px;
    font-size: 1.1em;
    border: 1px solid #484849;
    cursor: pointer;
    border-radius: 5px;
  }


  .lineBreak {
    flex-basis: 100%;
    height: 2px;
  }


 /* ---------- Drop onto Words / Images -----  */
  .ddTargetContainer {
    display:flex;
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr !important;
    padding: 2px;
    position: relative;
    text-align: center;
    z-index: 2;
    margin:20px;
    }



.ddDragContainer {
        display:flex;
        padding: 10px;
        padding-top: 40px;
        flex-wrap: wrap;
    }



    .ddDragContainer   .ddwDraggable{

        opacity: 100%;
        padding:15px;
    }



.ddDragContainer.dragging {
    opacity: 0.5;
    background-color: #81bec6;
    -webkit-text-fill-color: #18e81c;
    }

.ddTargetContainer.draggingOver {
    opacity: 0.5; 
    background-color: #588460;
    -webkit-text-fill-color: #5a8161;
    }


.dd-grid-Row  {
    background-color: rgba(179, 179, 221, 0.8);
    text-align: center;
    /* padding-top: 40px; */
    margin: 10px;
    /* height:150px; */
    font-size: 16px;
    border: 2px solid #d5d5f5;
    border-radius: 10px;
    margin-bottom: 40px;
    
    }

    


.ddTargetDiv  .ddwDraggable{
    z-index: 450;
    position: relative;
    top: 10%;
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
    background-color: rgba(216, 216, 223, 0.95);
    opacity: 100%;
    padding: 5px;
    } 


      
.ddTargetImg {
    padding: 0px;
    max-width:98%;
    max-height:98%;
    z-index: -1;
    /* position: relative; */ 
    /* display: inline-block; */
    /* overflow: hidden; */
   transform: translate(0%, -1%);
    opacity: 100%;

    } 




    /* ------- hotSpot --------------------   */

.hotSpotContainer{
    display:flex;
    width:100%;
    /* max-height: 700px; */
    height: 410px;
    margin:2px;

    margin-bottom:10px;
    padding: auto;
    position: relative;
    text-align: center;
    overflow: auto; 
}

.hotSpotContainer img{
    position: absolute;
    padding:auto;
    width: auto;
    height: 400px;
    aspect-ratio: auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* opacity: 90%; */
}   

.hotSpotButton {
    margin:5px 5px 5px 5px;
    text-align: center;
    height: 30px;
    
    /* line-height: 30px; */
    font-size: 14px;
    border:3px solid rgb(253, 251, 251);
    border-radius: 10px!important;
    color:#fbfafa !important;
    background-color: rgb(159, 4, 79);
    transform: translate(10px, 0px);
    /* position: absolute */
}


.hotSpotContainer .hotSpotTarget {
    border-radius: 100px;
    /* max-height: 80%;
    max-width:80%; */
    text-align: center;
    padding-top: 0px;
    padding: 0px;
    margin:0px 0px 0px 0px;
    opacity: 90%;
    border: solid 1px rgb(170, 167, 167);
    /* position: relative; */

    shape-outside: circle();
    /* clip-path: circle(); */
    /* background: lightblue; */
    /* position: absolute; */
    z-index: 100;
    align-items: center;
    cursor: grab;
    min-width: 50px;
    min-height: 50px;
    max-width: 500px;
    max-height: 500px;

}


.targetInput {
    margin-top: 20px;
    padding: 5px;
    padding-left: 2px;
    align-items: center;
    width:100%;
    text-align:center;
    position: relative;
    /* background: #f4e0f1; */
    z-index: 400;
}


.addText {
    background: #f9b4ec!important;
    }


    
.hsDraggable {

    width: 50px;
    height: 50px;
    margin: 20px;
    shape-outside: circle();
   /* clip-path: circle(); */
    background: lightblue;
    position: absolute;
    z-index: 100;
    align-items: center;
    cursor: grab;
}









.hotDot {
    background: #ff0101;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* display: flex;
    align-items: center;
    text-align: center; */
    position: absolute;
    transform: translate(10px, 8px);
    cursor: grab;
    z-index: 200;
    border: 3px solid rgb(251, 248, 248);
}


.hsDragging {
    background: rgb(239, 184, 194)!important;
    /* background-color:  rgb(221, 173, 230); */
    clip-path: circle();
    /* position: absolute; */
    cursor: grab;
    z-index: 300;
    opacity: 90%;
    
}

.targetInputDiv{
    width: 200%;
    margin-left: -200%;
    background-color:#977;
    padding: 20px 0;
    margin:25px
}



.resizer {
    position: absolute;
    width:20px;
    height:20px;
    border-radius: 6px;
    background-color: red;
    z-index: 500;
cursor: ew-resize;
    /* bottom: -1px;
    right:-1px;
    cursor: se-resize;    */
}


/* .resizer.nw {
    top: -1px;
    left:-1px;
    cursor:nw-resize;
}
.resizer.ne {
    top: -1px;
    right:-1px;
    cursor: ne-resize ; 
}
.resizer.sw {
    bottom: -1px;
    left:-1px;
    cursor: sw-resize ;   
} */
.resizer.se {
    bottom: -1px;
    right:-1px;
    cursor: se-resize;    
}





/* //  Grid Container ---- --------------------------- */


.gridContainer {

        text-align: center;
        width: 98%;
        /* border-bottom: solid 2px #3a3a3a; */ 
        margin: auto;
        margin-left: 5px;
        margin-right: 5px;




}

.gridContainer table {
    table-layout: fixed;
    width: 98%;
    border-collapse: collapse;
    border-radius: 20px;
    overflow:  auto;
  }


  .gridContainer th, td {
    padding: "10px 5px 10px 5px";/* top right bottom left  */
    margin: "10px 5px 10px 5px";
    border-width: 3px;

    border-radius: 20px;
  }


.gridBox {
    background-color: rgb(235, 236, 245); 
    border: 4px solid rgb(251, 248, 248);
}


  .gridQuestion {
    font-size: 1.3em;
    font-weight: 'bold';
    text-align: left;
  }

.gridDivContainer {
    display: flex;
    flex-wrap: wrap; /* then wrap  */
    /* flex-direction: column; */
    grid-template-columns: repeat(var(--colNum), auto);
    margin: 5px 5px 5px 5px;
    align-content: center;
    position: relative;
    text-align: center;
    /* max-height: 50%; */
    height:100%;
}




  .gridDiv {
    font-size: 1.3em;
    border: solid 5px #f1f2f2 !important;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    padding:5px;
    background-color: #dbe1e8;
    margin: auto; /* evenly spreads items */
    min-height: 1.2em;
    border-radius: 10px;
    border-color: #f1f2f2;
    /* margin-bottom: 5px; */
  }

.wordAnswerDiv {
    background-color:rgb(158, 162, 172)!important;
    border: solid 3px #fff !important;  
    color:#efeeee;
    border-radius: 5px;
    margin: 3px 3px 3px 3px;
    padding: 3px 3px 3px 3px;
}






.selectedBox {
        /* border: solid 1px!important; */
        background-color:#3b8832!important;
        /* border: solid 2px #fff !important;   */
        color:#fff;
        /* width:100%; */
    }

.answerGrid {
    display: flex;
    flex-wrap: wrap; /* then wrap  */
    padding: 10px 3px 3px 3px;
    background-color: #e5e5e8;
    margin:5px 5px 5px 5px;
    border-radius: 10px;
    font-size: 1.1em;
    z-index: 100;
}



   /* ---------  Spell   ---------------- */


.spellDiv {
    text-align: left;
    width: 100%;
}

.sKeyboard{

    margin-top: 10px;
    text-align: left!important;
    width:98%;
    align-items: center;
    background-color: transparent !important;
}



   .spellBtn {
    margin:1px 1px 1px 1px  !important;/* top right bottom left  */
    font-size: 1.3em !important;
    background-color: #b8cab9 !important;
    width:0.9em !important;
    height:1.2em !important;
}

.spellGameBtn {
    margin:0px 1px 4px 1px !important;/* top right bottom left  */
    padding: 0px 1px 15px 1px!important;
    font-size: 1.2em !important;
    background-color:#e4f1f1!important;
    width:0.9em !important;
    height:1.2em !important;
    border: solid 0px!important;
    color:#303030;
    text-align: center;
    vertical-align: middle;
    border-radius: 4px!important;
}

.spellGameInput {
    margin:2px 3px 0px 0px !important;/* top right bottom left  */
    font-size: 1.2em;
    padding: 0px 1px 1px 1px!important;
    background-color: #ffffff!important;
    width:0.9em !important;
    height:1.2em !important;
    border: solid rgb(203, 201, 201) 1px!important;
    font-weight: bold;
    text-align: center;
    border-radius: 4px;
}

.sKeyBoardLetter {
    margin:1px 1px 1px 1px !important;;/* top right bottom left  */
    font-size: 1.5em;
    color: rgb(88, 67, 40)!important;
    background-color: rgb(241, 218, 187)!important;
    border: solid rgb(203, 201, 201) 1px!important;
    width:1.8em !important;
    height:1.8em !important;
    border-radius: 4px!important;
}

.sKeyBoardLetter:hover {

    background-color:#d3ebeb!important;
}

.selectedInput {
    border: solid 1px!important;
    background-color:#efe3bf!important;
    
}




  /* --------- readSay -----------? */


  .rsSelected {
    text-decoration: underline;
    font-weight:900;
    color:#676666b1!important;
    background-color:#b7b5b5b1!important;
    padding:0px 0px 5px 0px!important;
  }


 /* ------- button colors ------- */

 /* button colors */
 .btn_blue {
    background-color:#CBEAFF!important;
}
.btn_turquoise {
    background-color: #C3EAE2!important;
}
.btn_red {
    background-color: #ECD1CD!important;
}
.btn_orange {
    background-color: #E7D2B2!important;
}
.btn_purple {
    background-color: #E1CFE8!important;    
}
.btn_dBlue {
    background-color: #D1D8F3!important;
}
.btn_rust {
    background-color: #E5CCBA!important;
}
.btn_emerald {
    background-color: #AAD4BC!important;
}
.btn_paleGreen {
    background-color: #D6E5D2!important;
}
.btn_almond {
    background-color: #EBEBE1!important;
}
.btn_darkRed {
    background-color: #E3AAA4!important;
}
.btn_goldenYellow {
    background-color: #EFE0A3 !important;
}

 
 

.btn_turned {
    background-color: #67629f!important;
    color:#fefdfd !important;
}


.showHideBtn {
    /* min-height: 1em; */
    width: 110px;
    background-color: #D28401;
    color:#fefdfd;
    font-size: 1em;
    border: 2px solid #d4d3d3;
    border-radius:10px;
    padding: 2px;
    float: right;
    margin-right: 10px;
    /* fill:#B63222; */
    /* background-image: url("/../images/gameImages/showIcon.svg");
    background-repeat: no-repeat; */
}

.imgAddBtn {
    background-color: transparent;
    border: 0px;
    border-radius:10px;
    padding: 2px;
    float: right ;
    margin-right: 10px;
    margin-left: 5px;
}

.imgAddBtn:hover {
    /* background-image:url('/../images/gameImages/addPressed.png') !important;
    background-color: #080808; */
}

.hotspotImage{
    background-repeat: no-repeat;
}

  /* ----- documents ------- */

  /* Flexbox container for the files */
.files-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping */
    gap: 3px; /* Space between items */
    padding: 3px 0; /* Space above and below the files */
    /* background-color: #f9f9f9;  */
    /* Optional: a light background for contrast */
  }
  
  /* Links styling */
  .file-link {
    display: inline-block;
    padding: 3px 3px;
    margin: 3px;
    font-size: 1.1em;
    color: #333; /* Dark text color for readability */
    text-decoration: none;
    border: 2px solid white;
    background: var(--grey-l);
    border-radius: 12px; /* Rounded corners */
    transition: background-color 0.3s, color 0.3s; /* Smooth hover effect */
  }
  
  /* Hover effect */
  .file-link:hover {
    background-color: #d7dae0;
    color: #000;
    transform: scaleY(1.1)scaleX(1.1);
    transition: all .02s ease-in;
  }
  
.gActiv:hover {
    /* background-color: #d7dae0; */
    color: #000;
    transform: scaleY(1.1)scaleX(1.1);
    transition: all .02s ease-in;
  }





  #timer-bar {
    height: 100%;
    width: 100%;
    background: green;
    transition: width 0.1s linear;
}