
/*@media only screen*/
/*and (device-width : 768px)*/
/*and (device-height : 1024px)*/
/*and (orientation : landscape)*/
/*and (-webkit-min-device-pixel-ratio: 1)  {*/

/*    body {*/
/*        height: 720px;*/
/*        !*background-color: brown;*!*/
/*    }*/
/*}*/
/*@media only screen*/
/*and (min-device-width : 1024px) {*/

/*    body {*/
/*        height: 100vh;*/
/*        margin: 0;*/
/*        !*background-color: indianred;*!*/
/*    }*/
/*}*/

:root {
    --bg-color: #f5f5f5;
    --ct-magenta: #C0087f;
    --ct-yellow: #Fdc652;
    --ct-blue: #0086cd;
    --ct-purple: #5e4f9c;
    --ct-red: #e73352;
    --ct-teal: #00b1ad;
}

@media print {

    @page {
        size: A4 landscape;
    }

    #wordmapgrid {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 30px;
    }

}

html {
    height: 100%;
    width: 100vw;
    overflow: hidden;
    margin: 0px;
    min-height: -webkit-fill-available;
}

body{
    margin: 0px;
    height: 100%;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    /* mobile viewport bug fix */
    min-height: -webkit-fill-available;
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* Old IE/Edge */
}

body,
textarea,
button {
    font-family: 'Albert Sans', Arial, Helvetica, sans-serif;
    font-size: 3vh;
    font-size: calc(var(--vh, 1vh) * 3);
    color: black;
}

input[type=image]{
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-drag: none;
    -ms-user-drag: none;
    -moz-user-drag: none;
    user-drag: none;
}

button{
    outline: none;
}

.bg-color{
    background-color: var(--bg-color);
}

.container{
    width: 100vw;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}

.left-column {
    left: 0;
    width: 10vw;
    height: 98%;
    display: inline;
    position: absolute;
}

.left-column .logo {
    max-width: 9.5vw;
    min-width: 9.5vw;
    margin-top: 1vh;
    margin-top: calc(var(--vh, 1vh) * 1);
    margin-left:0.5vh;
}

.left-column .goback {
    /*display: none;*/
    max-width: 4vw;
    position: absolute;
    bottom: 0;
    margin-left: 3vw;
    cursor: pointer;
}

.centre-column {
    margin-left: 10vw;
    width: 80vw;
    height: 95%;
    display: inline-block;
}

.page_title {
    font-size: 3.25vh;
    font-size: calc(var(--vh, 1vh) * 3.25);
    height: 10%;
    width: 100%;
    color: var(--bg-color);
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    font-weight: bold;
}

.shared_body {
    border-radius: 30px;
    /* background-color: rgb(0 177 173); */
    height: 90%;
    overflow: hidden;
    padding-bottom:2.5vh;
    padding-bottom:calc(var(--vh, 1vh) * 2.5);
}

.right-column {
    right: 0;
    width: 10vw;
    height: 98%;
    display: inline;
    position: absolute;
}

.right-column .navigation {
    width: 4vw;
    float: right;
    margin-right: 1vw;
}

.right-column .navigation div {
    margin-top: 2vh;
    margin-top: calc(var(--vh, 1vh)* 2);
    /*max-width: 4vw;*/
    /*position: absolute;*/
    /*margin-left: 5vw;*/
    cursor: pointer;
    margin-bottom: 0;
}

.right-column .navigation img {
    cursor: pointer;
    margin: 0;
}

.right-column .navigation p {
    margin: 0;
    cursor: pointer;
    font-size: 0.7em;
    text-align: center;
    color: var(--bg-color);
    line-height: 0.7em;
    vertical-align: top;
}

.bordered {
    border-style: solid;
    border-width: medium;
}

.description {
    font-size: 1.5em;
    text-align:  center;
    white-space-collapse: preserve;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    cursor: pointer;
}

a:active {
    text-decoration: none;
}

.error-container {
    text-align: center;
    margin-bottom: 1vh;
    margin-bottom: calc(var(--vh, 1vh) * 1)
}

.error {
    /*background-color: #FB9B96;*/
    color: red;
}

#loginError{
    font-size:   0.75em;
    text-align: center;
}

#loginLayout{
    position: relative;
    width: 100%;
    height: 75vh;
}

#loginContainer {
    width: 22.3%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 60%;
}

/* Main Selection Navigation */
.navgrid {
    margin-top: 1%;
    margin-bottom: 1%;
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    justify-content: space-evenly;
    align-items: center;
}

.mod_order {
    flex-wrap: wrap-reverse !important;
    flex-direction: row-reverse;
}

.navgrid div{
    border-radius: 30px;
    /*border: 2px solid black;*/
    display: inline-block;
}

/*.navgrid #optionContainer{*/
/*    display: flex;*/
/*    width: 100%;*/
/*    border: none;*/
/*    justify-content: space-evenly;*/
/*    flex-wrap: wrap;*/
/*}*/

.navgrid .option {
    width: 22vw;
    /*text-align: center;*/
    display : flex;
    justify-content: center;
    margin: 0.5vw;
    background-color: var(--bg-color);
}

.navgrid label p {
    margin-block-start: 0em;
    font-size: 3vh;
    font-size: calc(var(--vh, 1vh) * 3);
    margin-top: 1vh;
    margin-top: calc(var(--vh, 1vh) * 1);
    text-align: center;
}

.navgrid label {
    margin-top: 1vh;
    margin-top: calc(var(--vh, 1vh) * 1);
    width: 90%;
    display: block;
    cursor: pointer;
    text-align: center;
}

.navgrid input {
    display: block;
    margin: 0 auto;
    width: 100%;
}

.navgrid input[type=image]:disabled+p {
    cursor: default;
    opacity: 0.3;
}

#categoriesTabBar {
    padding-left: 2vw;
    padding-top: 0.2vh;
    padding-top: calc(var(--vh, 1vh) * 0.2);
    background-color: transparent;
}

#categoriesTabBar .active{
    color: var(--ct-red);
}

#categoriesTabBar button {
    color: var(--bg-color);
}

/*#categoriesTabBar span {*/
/*    background-color: var(--bg-color);*/
/*    padding-left: 1vw;*/
/*    padding-right: 1vw;*/
/*    border-top-left-radius: 15px;*/
/*    border-top-right-radius: 15px;*/
/*    margin-right: 0.3vw;*/
/*    border-style: solid;*/
/*    border-width: 1px;*/
/*}*/


#subcategories {
    margin-top: 1%;
    margin-bottom: 1%;
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    justify-content: space-evenly;
    align-items: center;
    overflow-y: auto;
}

#operationassess:disabled{
    opacity: 0.3;
}

#operationassess:disabled+div{
    cursor: default;
    opacity: 0.3;
}


#subcategories div{
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    padding-bottom: 0.5vh;
    box-sizing: border-box;
    justify-content: center;
    display: flex;
}

#subcategories label {

    border-radius: 30px;
    /* border: 2px solid black; */
    display: block;
    position: relative;
    cursor: pointer;
    text-align: center;
    background-color: var(--bg-color);
    max-width: 100%;
    max-height: 100%;
}

#subcategories label p {
    margin-block-start: 0em;
    font-size: 3vh;
    font-size: calc(var(--vh, 1vh) * 3);
    margin-top: 1vh;
    margin-top: calc(var(--vh, 1vh) * 1);
}

#subcategories input[type=image] {
    /*max-height: 16.5vh;*/
    /*max-height: calc(var(--vh, 1vh) * 16.5);*/
    padding-top: 1vh;
    padding-top: calc(var(--vh, 1vh) * 1);
    max-width: 92%; /* Ensure image does not exceed the width of its container */
    height: auto;
}

#subcategories input[type=image]:disabled{
    opacity: 0.1;
}

#subcategories input[type=image]:disabled+p{
    cursor: default;
    opacity: 0.3;
}

.activity {
    margin-top: 0.75vh;
    margin-top: calc(var(--vh, 1vh) * 0.75);
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    height: 50%;
}

.activity1 {
    /*margin-left: 6vw;*/
    /*padding-top: 1vh;*/
    /*padding-top: calc(var(--vh, 1vh) * 1);*/
}

.activity label p {
    margin-block-start: 0em;
    font-size: 3vh;
    font-size: calc(var(--vh, 1vh) * 3);
    /*margin-top: 1vh;*/
    /*margin-top: calc(var(--vh, 1vh) * 1);*/
    margin-bottom: 0.5vh;
    margin-bottom: calc(var(--vh, 1vh) * 0.5);
}

.activity1 div{
    flex: 80%;
    text-align: center;
    justify-content: center;
    margin-top: 2vh;
    margin-top: calc(var(--vh, 1vh) * 1);
    display: flex;
}

.activity input[type=image] {
    /*min-height: 25vh;*/
    /*min-height: calc(var(--vh, 1vh) * 25);*/
    max-height: 36vh;
    max-height: calc(var(--vh, 1vh) * 36);
    padding-top: 1.5vh;
    padding-top: calc(var(--vh, 1vh) * 1.5);
    /*padding-bottom: 1vh;*/
    /*padding-bottom: calc(var(--vh, 1vh) * 1);*/
    width: auto;
    max-width: 97%
}

.activity2 {
    /*margin-left: 4vw;*/
    /*padding-top:1vh;*/
    /*padding-top:calc(var(--vh, 1vh) * 1);*/
    justify-content: center;
}

.activity2 div{
    flex: 0 0 30%;
    text-align: center;
    justify-content: center;
    margin-top: 2vh;
    margin-top: calc(var(--vh, 1vh) * 1);
    display: flex;
}

.activity1 label {
    width: 82%;
    cursor: pointer;
    border-radius: 30px;
    /*border: 2px solid black;*/
    display: block;
    text-align: center;
    vertical-align: middle;
    /*height: 35vh;*/
    /*height: calc(var(--vh, 1vh) * 35);*/
    background-color: var(--bg-color);

}


.activity2 label {
    width: 95%;
    cursor: pointer;
    border-radius: 30px;
    /*border: 2px solid black;*/
    display: block;
    text-align: center;
    vertical-align: middle;
    /*height: 35vh;*/
    /*height: calc(var(--vh, 1vh) * 35);*/
    background-color: var(--bg-color);

}
.activity2 #right, .activity2 #left {
    max-width: 4vw;
    max-height: 4vw;  /* Intentionally vw ( rather than vh ) to enforce squareness */
}

.activity .gutter {
    flex: 0 0 5%;
    display: flex;
    align-items: center;
}

.activity .gutter input[type=image] {
    width: 100%;
}


.full-height{
    height: 100%;
}

#displaypanel{
    display: flex;
    /*flex-direction: row;*/
    /*flex-wrap: nowrap;*/
    /*align-items: center;*/
}

.gutter {
    height: 100%;
}

#displaypanel .gutter #left,
#displaypanel .gutter #right
{
    cursor: pointer;
    outline: none;
    max-width:6vw;
    top: 35vh;
    top: calc(var(--vh, 1vh) * 35);
    position: relative;
}

#displaypanel .gutterleft,
#displaypanel .gutterright{
    text-align: center;
    position: relative;
    width: 10%;
    cursor: pointer;
    outline: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

#displaypanel #spin{
    border: none;
    padding-top: 0;
    /*margin-top: 1vh;*/
    /*max-width: 8vw;*/
    /*min-width: 8vw;*/

}

#displaypanel #otherImg{
    padding:0.5em;
    position: relative;
    top: -100px;
}

.selectDisable {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.image-gallery_1{
    /*flex: 60%;*/
    text-align: center;
    margin-top: 1vh;
    margin-top: calc(var(--vh, 1vh) * 1);
    height: 100%;
    flex-grow: 1;
}

.image-gallery_1 #imagePanel{
    border-radius: 30px;
    /*border: 2px solid black;*/
    /*padding-bottom: 2vh;*/
    /*padding-bottom: calc(var(--vh, 1vh) * 2);*/
    height: 94%;
}


.image-gallery_1 img {
    /*min-width: 38vw;*/
    /*max-width: 38vw;*/
    padding-top: 1vh;
    padding-top: calc(var(--vh, 1vh) * 1);
    height: 89%;
    width: auto;
    padding-bottom: 0;
}

.image-gallery_1 #desc {
    /*top: 72vh;*/
    /*top: calc(var(--vh, 1vh) * 72);*/
    width: 100%;
    text-align: center;
}

.image-gallery_1 #question {
    /*flex: 60%;*/
    height: 2em;
    overflow: hidden;
    display: inline-block;
    text-align: center;
    font-size: 1em;
    width: 100%;
}

.image-gallery_1 #questioncontainer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-gallery_1 #questioncontainer .padding {
    flex: 20%;
    display: flex;
    height: 2em;
}

.image-gallery_4{
    position: relative;
    height: 100%;
}

.image-gallery_4 img {
    min-width: 20vw;
    max-width: 20vw;
    float: left;
}

.image-gallery_4 #target {
    top: 80vh;
    top: calc(var(--vh, 1vh) * 80);
    width: 100%;
    text-align: center;
}

.successmsg{
    text-align: center;
}

.ui-widget-header,.ui-state-default, ui-button {
    background: powderblue;
    /*border: 1px solid #b9cd6d;*/
    color: #FFFFFF;
    font-weight: bold;
}

.ui-dialog .ui-dialog-titlebar{
    background: powderblue;
}

.no-close .ui-dialog-titlebar-close {
    display: none;
}

.infoBox {
    text-align: end;
    /*padding-right: 2vw;*/
    margin-top: 0;
    margin-bottom: 0;
    position: absolute;
    /*right: 0;*/
    padding-top: 1vh;
    padding-top: calc(var(--vh, 1vh) * 1);
    top: 0;
    width: 98%;
}

.infoBox img {
    width: 90%;
}

#infoDesc {
    font-weight: bold;
    text-align: center;
}

#infoDetail {
    font-size: 0.7em;
}

#pairs_div {
    height: 100%;
    width: 100%;
}

#pairs_div .gc {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
}

#pairs_div #eight_grid {
    display: flex;
    justify-content: center; /* horizontally center */
    align-items: center; /* vertically center */
    flex-direction: column;
    height: 100%;
    width: 100%;
}

#pairs_div #eight_grid .grid_row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding-top: 2vh;
    padding-top: calc(var(--vh, 1vh) * 2);
    padding-bottom: 2vh;
    padding-bottom: calc(var(--vh, 1vh) * 2);
    width: 100%;
}

#pairs_div #twelve_grid  {
    display: flex;
    justify-content: center; /* horizontally center */
    align-items: center; /* vertically center */
    flex-direction: column;
    height: 100%;
    width: 100%;
}


#pairs_div #twelve_grid .grid_row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding-top: 2vh;
    padding-top: calc(var(--vh, 1vh) * 2);
    padding-bottom: 2vh;
    padding-bottom: calc(var(--vh, 1vh) * 2);
    width: 100%;
}


.pairsIcon {
    /*border-radius:30px;*/
    width: 90%;
    height: 90%;
}

#pairs_div .smileyicon {
    height: auto;
}

#eight_grid .cardback {
    /*border: 2px solid lightgray;*/
    border-radius:12px;
    /*padding: 2px;*/
    /*height: 100%;*/
    width:14vw;
    margin-left: 1vw;
    margin-right: 1vw;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

#twelve_grid .cardback {
    /*border: 2px solid lightgray;*/
    border-radius:12px;
    /*padding: 2px;*/
    /*height: 100%;*/
    width:11vw;
    margin-left: 1vw;
    margin-right: 1vw;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

#pairs_div .cardrevealed {
    width: 98%;
    background-color: var(--bg-color);
    border-radius: 18px;
    height: auto;
}

#pairs_div .answeredcorrectly {
    pointer-events: none;
    cursor: auto;
    /*height: auto;*/
}

/* Match The Word - Sorting game */

#matchtheword {
    position: relative;
    border-radius: 30px;
}

#matchtheword #nine_grid div {
    text-align: center;
}

#matchtheword #nine_grid img {
    min-height: 20vh;
    min-height: calc(var(--vh, 1vh) * 20);
    max-height: 20vh;
    max-height: calc(var(--vh, 1vh) * 20);
    /*margin-left: 3vw;*/
    /*margin-right: 3vw;*/
}

#matchtheword #sixteen_grid div {
    text-align: center;
}

#matchtheword #sixteen_grid img {
    min-height: 15vh;
    min-height: calc(var(--vh, 1vh) * 15);
    max-height: 15vh;
    max-height: calc(var(--vh, 1vh) * 15);
    /*margin-left: 1vw;*/
    /*margin-right: 1vw;*/
}

#matchtheword #nine_grid .match_item {
    display: inline-block;
    width: 31%
}

#matchtheword #sixteen_grid .match_item {
    display: inline-block;
    width: 23%
}

#matchbuckets{
    margin-left: 20vw;
    margin-right: 20vw;
    margin-top: 3vh;
    margin-top: calc(var(--vh, 1vh) * 3);
}

#matchbuckets #leftdiv{
    width:50%;
    float: left;
    text-align: center;
}

#matchbuckets #rightdiv{
    width:50%;
    overflow: hidden;
    text-align: center;
}

#matchbuckets img {
    min-height: 14vh;
    min-height: calc(var(--vh, 1vh) * 14);
    max-height: 14vh;
    max-height: calc(var(--vh, 1vh) * 14);
}

#matchbuckets p {
    margin-top: 0vh;
    margin-bottom: 0vh;
    font-weight: bold;
}

/*#marker {*/
/*    position: absolute;*/
/*    top: 20vh;*/
/*    left: 40vw;*/
/*}*/

/*#matchbuckets #leftdiv .marker {*/
/*    position: absolute;*/
/*    top: 60vh;*/
/*    left: 36.7vw;*/
/*}*/

#leftdivmarker {
    position: absolute;
    top:45vh;
    top:calc(var(--vh, 1vh) * 45);
    left: 24vw;
}

#leftdivmarker img {
    min-width: 13vw;
    max-width: 13vw;
}

#rightdivmarker {
    position: absolute;
    top: 45vh;
    top: calc(var(--vh, 1vh) * 45);
    left: 43.5vw;
}

#rightdivmarker img {
    min-width: 13vw;
    max-width: 13vw;
}


/*#matchbuckets #rightdiv .marker {*/
/*    position: absolute;*/
/*    top: 60vh;*/
/*    left: 56.7vw;*/
/*}*/


/*#matchbuckets .marker img {*/
/*    mid-width: 20vw;*/
/*    max-width: 20vw;*/
/*}*/

.internal_border_correct {
    /*background-image: linear-gradient(to bottom, var(--bg-color) 0%, var(--bg-color) 100%), linear-gradient(to bottom, #34ce57 0%, #34ce57 100%);*/
    /*background-clip: content-box, padding-box;*/
    border: 10px solid #34ce57;;
}

.internal_border_correct_quiz {
    background-image: linear-gradient(to bottom, var(--bg-color) 0%, var(--bg-color) 100%), linear-gradient(to bottom, #34ce57 0%, #34ce57 100%);
    background-clip: content-box, padding-box;
}

.internal_border_incorrect {
    background-image: linear-gradient(to bottom, var(--bg-color) 0%, var(--bg-color) 100%), linear-gradient(to bottom, red 0%, red 100%);
    background-clip: content-box, padding-box;*/
}

.shake {
    /* Start the shake animation and make the animation last for 0.5 seconds */
    animation: shake 0.5s;

    /* When the animation is finished, start again */
    animation-iteration-count: infinite;

}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

#oddoneout_grid {
    padding-top: 20vh;
    padding-top: calc(var(--vh, 1vh) * 20);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    /*margin-left: 0.5vw;*/
    width: 100%;
}

#kims_grid {
    padding-top: 20vh;
    padding-top: calc(var(--vh, 1vh) * 20);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    /*margin-left: 0.5vw;*/
    width: 100%;
}

#normal_quiz_main_container #quiz_grid {
    padding-top: 6vh;
    padding-top: calc(var(--vh, 1vh) * 6);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
}

.oddoneout_grid__answers {
    padding-top: 8vh;
    padding-top: calc(var(--vh, 1vh) * 6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5vw;
}

.kims_grid_answers {
    padding-top: 8vh;
    padding-top: calc(var(--vh, 1vh) * 6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5vw;
}

.quiz_grid__answers {
    padding-top: 8vh;
    padding-top: calc(var(--vh, 1vh) * 6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5vw;
}



.kims_grid_layout {
    padding-top: 10vh !important;
    padding-top: calc(var(--vh, 1vh) * 10) !important;
}

.grid_quiz_class {
    padding-top: 8vh !important;
    padding-top: calc(var(--vh, 1vh) * 8) !important;
}


.oddoneout_square_image {
    min-width: 17vw !important;
    max-width: 17vw !important;
    padding-top: 1.2vh !important;
    padding-top: calc(var(--vh, 1vh) * 1.2) !important;
    /*width: 100%;*/
    /*height: auto;*/
    /*max-height: 39vh;*/
    /*max-height: calc(var(--vh, 1vh) * 39) !important;*/
}

.kimsgrid_square_image {
    min-width: 15vw !important;
    max-width: 15vw !important;
    padding-top: 1.2vh !important;
    padding-top: calc(var(--vh, 1vh) * 1.2) !important;
}

#normal_quiz_main_container .quiz_square_image {
    min-width: 17.5vw !important;
    max-width: 17.5vw !important;
    padding-top: 1.2vh !important;
    padding-top: calc(var(--vh, 1vh) * 1.2) !important;
}

#a1, #a2, #a3 {
    display: inline-block;
    width: 100%;
}

#d1, #d2, #d3, #ddecoy {
    /*overflow: hidden;*/
    display: inline-block;
    min-width: 17vw;
    max-width: 17vw;
    height: 36vh;
    height: calc(var(--vh, 1vh) * 36);
}

#kims_d1, #kims_d2, #kims_d3, #kims_ddecoy {
    /*overflow: hidden;*/
    display: inline-block;
    min-width: 17vw;
    max-width: 17vw;
    height: 36vh;
    height: calc(var(--vh, 1vh) * 36);
}

#c_a1, #c_a2, #c_a3 {
    height: 28vh;
    height: calc(var(--vh, 1vh) * 28);
    margin-left: 2vw;
    border-style: solid;
    border-radius: 30px;
    min-width: 17vw;
    max-width: 17vw;
    text-align: center;
}

#kims_c_a1, #kims_c_a2, #kims_c_a3 {
    height: 31vh;
    height: calc(var(--vh, 1vh) * 31);
    margin-left: 2vw;
    /*border-style: solid;*/
    border-radius: 30px;
    min-width: 17vw;
    max-width: 17vw;
    text-align: center;
}

.correct {
    border-color: #34ce57;
}

#kimsMarkingImage{
    height: auto;
    width: 80% !important;
    /*padding-top: 1vh;*/
    /*padding-top: calc(var(--vh, 1vh) * 1);*/
    min-width: auto;
}

#c_d1, #c_d2, #c_d3, #c_decoy {
    height: 36vh;
    height: calc(var(--vh, 1vh) * 36);
    border-style: solid;
    border-radius: 30px;
    min-width: 18vw;
    max-width: 18vw;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 1vh;
    padding: calc(var(--vh, 1vh) * 1);
    background-color: var(--bg-color);
}

#kims_c_d1, #kims_c_d2, #kims_c_d3, #kims_c_decoy {
    box-sizing: border-box;
    height: 36vh;
    height: calc(var(--vh, 1vh) * 36);
    /*border-style: solid;*/
    border-radius: 30px;
    min-width: 19.3vw;
    max-width: 19.3vw;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 1vh;
    padding: calc(var(--vh, 1vh) * 1);
    background-color: var(--bg-color);
}


#normal_quiz_main_container #quiz_c_d1,
#normal_quiz_main_container #quiz_c_d2,
#normal_quiz_main_container #quiz_c_d3,
#normal_quiz_main_container #quiz_c_decoy {
    height: 41vh;
    height: calc(var(--vh, 1vh) * 41);
    /*border-style: solid;*/
    border-radius: 30px;
    min-width: 18vw;
    max-width: 18vw;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 1vh;
    padding: calc(var(--vh, 1vh) * 1);
    background-color: var(--bg-color);
}

#c_d1 p, #c_d2 p, #c_d3 p, #c_decoy p{
    margin-top: 0;
    bottom: 0;
}
.answerImageContainer {
    height: 28vh;
    height: calc(var(--vh, 1vh) * 28);
    text-align: center;
}

.spinImageContainer {
    height: 36vh;
    height: calc(var(--vh, 1vh) * 36);
    text-align: center;
}

.kims_spinImageContainer {
    height: 36vh;
    height: calc(var(--vh, 1vh) * 36);
    text-align: center;
}

#oddoneout_grid img {
    min-width: 15vw;
    max-width: 15vw;
    padding-top: 2vh;
    padding-top: calc(var(--vh, 1vh) * 2);
}

#kims_grid img {
    min-width: 15vw;
    max-width: 15vw;
    padding-top: 2vh;
    padding-top: calc(var(--vh, 1vh) * 2);
}

#normal_quiz_main_container #quiz_grid img {
    min-width: 15vw;
    max-width: 15vw;
    padding-top: 2vh;
    padding-top: calc(var(--vh, 1vh) * 2);
}

#quiz_grid p {
    margin-top: 0.5vh;
    margin-top: calc(var(--vh, 1vh) * 0.5);
}

.oddoneout_grid__answers img {
    min-width: 15vw;
    max-width: 15vw;
    padding-top: 2vh;
    padding-top: calc(var(--vh, 1vh) * 2);
}

.kims_grid_answers img {
    min-width: 14.5vw;
    max-width: 14.5vw;
    padding-top: 1.05vh;
    padding-top: calc(var(--vh, 1vh) * 1.05);
}

.quiz_grid__answers img {
    min-width: 15vw;
    max-width: 15vw;
    padding-top: 2vh;
    padding-top: calc(var(--vh, 1vh) * 2);
}

#questionText{
    color: var(--bg-color);
}

#spin_container {
    display: flex;
    justify-content: center;
    padding-top: 8vh;
    padding-top: calc(var(--vh, 1vh) * 8);
}

#spin_container > img.disabled {
    display: none
}

#question-mark {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}


/*
 * WORDMAP
 */
#wordmapoptions{
    height: 100%;
}

#wordmapoptions #individual_items {
    /*margin-top: 10vh;*/
    /*margin-top: calc(var(--vh, 1vh) * 10);*/
    /*margin-left: 2vw;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: 100%;
    align-items: center;
}

#wordmapoptions #individual_items div {
    /*display: flex;*/
    width: 14vw;
    text-align: center;
    /*border: 2px solid;*/
    border-radius:30px;
    margin: 0.5vw;
    cursor: pointer;
}


#wordmapoptions #individual_items img {
    min-width: 12vw;
    max-width: 12vw;
    padding-top: 2vh;
    padding-top: calc(var(--vh, 1vh) * 2);
    z-index: -1;
}

#wordmapoptions #individual_items p {
    font-size: 3vh;
    font-size: calc(var(--vh, 1vh) * 3);
    white-space-collapse: preserve;
}

#wordmapgrid {
    display : flex;
    height: 100%;
}

#wordmapgrid #column1{
    flex : 33%;
    height: 100%;
}

#wordmapgrid #column2{
    flex : 33%;
    height: 100%;
}

#wordmapgrid #column3{
    flex : 33%;
    height: 100%;
}

#wordmapgrid #column1 label{
    display: block;
}

#wordmapgrid #column2 label{
    display: block;
}

#wordmapgrid #column3 label{
    display: block;
}
#wordmapgrid #column1 #top_left{
    margin-top: 20%;
    background-image: url('/images/bubbles/topleftbubble.svg');
}

#wordmapgrid #column1 #bottom_left{
    margin-top: 20%;
    background-image: url('/images/bubbles/bottomleftbubble.svg');
}

#wordmapgrid #column2 #top_middle{
    background-image: url('/images/bubbles/topcentrebubble.svg');
}

#wordmapgrid #column2 #bottom_middle{
    background-image: url('/images/bubbles/bottomcentrebubble.svg');
}

#wordmapgrid #column3 #top_right{
    margin-top: 20%;
    background-image: url('/images/bubbles/toprightbubble.svg');
}

#wordmapgrid #column3 #bottom_right{
    margin-top: 20%;
    background-image: url('/images/bubbles/bottomrightbubble.svg');
}

.cloud_bg {
    height: 36%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}


.cloud_padder {
    height: 35%;
}

#wordmapgrid label {
    font-weight: bold;
    color: var(--bg-color);
    font-size: 2.5vh;
    font-size: calc(var(--vh, 1vh) * 2.5);
    margin-top: 0;
}

#wordmapgrid #l0 {
    width: 78%;
    margin-left: 7% !important;
    text-align: center;
}

#wordmapgrid #l5 {
    width: 78%;
    margin-left: 7% !important;
    text-align: center;
}

#wordmapgrid #l1 {
    width: 78%;
    margin-left: 3% !important;
    text-align: center;
}


#wordmapgrid #l3 {
    width: 78%;
    margin-left: 3% !important;
    text-align: center;
}

#wordmapgrid #l2 {
    width: 78%;
    margin-left: 15% !important;
    text-align: center;
}

#wordmapgrid #l4 {
    width: 78%;
    margin-left: 15% !important;
    text-align: center;
}

#wordmapgrid #p0 {
    width: 78%;
    margin-left: 7% !important;
    text-align: center;
}

#wordmapgrid #p5 {
    width: 78%;
    margin-left: 7% !important;
    text-align: center;
}

#wordmapgrid #p1 {
    width: 78%;
    margin-left: 3% !important;
    text-align: center;
}


#wordmapgrid #p3 {
    width: 78%;
    margin-left: 3% !important;
    text-align: center;
}

#wordmapgrid #p2 {
    width: 78%;
    margin-left: 15% !important;
    text-align: center;
}

#wordmapgrid #p4 {
    width: 78%;
    margin-left: 15% !important;
    text-align: center;
}


#wordmapgrid p {
    font-weight: bold;
    color: var(--ct-yellow);
    font-size: 3vh;
    font-size: calc(var(--vh, 1vh) * 3);
    white-space-collapse: preserve;
    margin-top: 0;
    display: -webkit-box; /* Enables the box model */
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical; /* Set the orientation of the box */
    overflow: hidden; /* Hide overflowing text */
    text-overflow: ellipsis; /* Add ellipsis for overflowing text */
}

.wordmaprow img{
    height: 30vh;
    height: calc(var(--vh, 1vh) * 30);
}

#image_border{
    /*border-style: solid;*/
    /*border-width: 2px;*/
    border-radius: 30px;
    height: 44%;
    text-align: center;
    /*margin-left: 15%;*/
    /*margin-right: 15%;*/
}

#image_border img{
    max-width: 78%;
    min-width: 78%;
    /*padding-top: 9%;*/
}

#image_border p{
    color: #232121;
}

#textAnswer {
    rows: 1;
    width: 80%;
    resize: none;
    margin-top: 15px;
}

#print_title {
    text-align: center;
    font-weight: bold;
}

.main_panel{
    height: 100%;
}

.main_menu {
    margin-top: 20vh;
    margin-top: calc(var(--vh, 1vh) * 20);
}

.main_menu div{
    width:50%;
    float: left;
    text-align: center;
}

.main_menu img{
    width: 20vw;
}

.main_menu p{
    font-weight: bold;
}

#rla {
    width: 100%;
}

#rla_displaypanel .gutterleft, #rla_displaypanel .gutterright {
    text-align: center;
    position:relative;
    width:10% !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
    background-color: transparent !important;
}

#rla_displaypanel .gutter input {
    width:100%;
    top: calc(var(--vh, 1vh)* 11);
}

#rla_displaypanel .gutterleft, #rla_displaypanel .gutterright {
    text-align: center;
    position:relative;
    width:10% !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
    background-color: transparent !important;
    display: flex;
}

#rla_displaypanel .gutter input {
    width:100%;
    object-fit: contain;
}

#rla_displaypanel {
    padding-top: 20vh;
    padding-top: calc(var(--vh, 1vh) * 20);
    display: flex;
    /*margin-left: 0.5vw;*/
    /*justify-content: space-evenly;*/
    /*align-content: center;*/
}

#rla_displaypanel div {
    /*height: 28vh;*/
    /*height: calc(var(--vh, 1vh) * 28);*/
    margin-left: 0.25vw;
    margin-right: 0.25vw;
    /*border-style: solid;*/
    border-radius: 30px;
    /*min-width: 17vw;*/
    /*max-width: 17vw;*/
    text-align: center;
    flex: 1;
    width: 25%;
    display: inline-block;
}

#rla_displaypanel img {
    /*min-width: 15vw;*/
    /*max-width: 15vw;*/
    padding-top: 2vh;
    padding-top: calc(var(--vh, 1vh) * 2);

}

#rla #target {
    padding-top: 14vh;
    padding-top: calc(var(--vh, 1vh) * 14);
}

#rla #target #targetword {
    color: var(--bg-color);
}

#endRlaAssessment table {
    margin-top: 3vh;
    margin-top: calc(var(--vh, 1vh) * 3);
}

#endRlaAssessment table tbody td{
    text-align: center;
    width: 50%;
}


#expressive #marking {
    align-content: center;
    margin-left: 0.5vw;
    margin-right: 0.5vw;
    /*padding-top: 1vh;*/
    /*padding-top: calc(var(--vh, 1vh) * 1);*/
    /*padding-bottom: 1vh;*/
    /*padding-bottom: calc(var(--vh, 1vh) * 1);*/
    border-radius: 30px;
    outline: none;
    background-color: var(--bg-color);
    position: relative;
    align-self: flex-end;
}

#expressive #screenerProgress {
    align-content: center;
    margin-left: 0.5vw;
    margin-right: 0.5vw;
    padding-top: 1vh;
    padding-top: calc(var(--vh, 1vh) * 1);
    padding-bottom: 1vh;
    padding-bottom: calc(var(--vh, 1vh) * 1);
    border-radius: 8px;
    outline: none;
    background-color: var(--bg-color);
    top: 1vh;
    position: relative;
    width: 45%;
    font-size: 0.6em;
}

input[type=radio]{
    accent-color: #00b1ad;
}

#expressive #marking input[type=radio]{
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

#expressive #marking input[type=radio] + img {
    max-width: 6vw;
    min-width: 6vw;
    cursor: pointer;
}

#expressive #marking #correct:checked + img {
    outline: 2px solid #6eb535;
}

#expressive #marking #incorrect:checked + img {
    outline: 2px solid #ff0000;
}

#expressive #marking #correct{
   margin-right: 1vw;
}

#expressive #marking #error{
    margin-left: 1vw;
    margin-right: 1vw;
    /*padding-right: 2vw;*/
    padding-bottom: 1vh;
    padding-bottom: calc(var(--vh, 1vh) * 1);
    font-size:   18px;
    padding-top : 2vh;
    padding-top : calc(var(--vh, 1vh) * 2);
    margin-bottom: 1vh;
    margin-bottom: calc(var(--vh, 1vh) * 1);
    text-align: center;
}

#expressive #marking #scorebox {
    padding-top: 0.5vh;
    padding-top: calc(var(--vh, 1vh) * 0.5);
}

#expressive .description{
    color: var(--bg-color);
}

/*#expressive #right{*/
/*    padding-top: 19vh;*/
/*    padding-top: calc(var(--vh, 1vh) * 19);*/
/*}*/

#endAssessment table {
    margin-top: 3vh;
    margin-top: calc(var(--vh, 1vh) * 3);
}

#endAssessment table tbody td{
    text-align: center;
    width: 50%;
}

/*
 * Settings
 */

.setting {
    height: 90%;
    position: relative;
    padding-right: 5vw;}

.setting .ind_setting {
    /*border: 1px solid #ccc;*/
    margin-bottom: 2vh;
    margin-bottom: calc(var(--vh, 1vh) * 2);
    padding-bottom: 1vh;
    padding-bottom: calc(var(--vh, 1vh) * 1);
}

.setting .setting_line {
    display: flex;
}
.setting p {
    font-weight: bold;
    padding-left: 1vw;
    text-decoration: underline;
}

.setting .title{
    padding-top: 2px;
    padding-left: 4vw;
    flex : 30%;

}

.setting .values{
    padding-top: 2px;
    flex : 70%;
    display: flex;
}

.setting .ind_value{
    flex: 20%;
}

.setting #settingsErrors {
    margin-top: 1vh;
}

.tabstrip{
    overflow: hidden;
    /*border: 1px solid #ccc;*/
    background-color: #f1f1f1;
}

.tabstrip button {
    background-color: inherit;
    float: left;
    /*border: solid;*/
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    /*border-width: 1px 1px 1px 0px*/
}

.tabstrip button:hover {
    background-color: #ddd;
}

.tabstrip button.active {
    background-color: #ccc;
}

/*.button_strip {*/
/*    bottom: 0vh;*/
/*    position: absolute;*/
/*}*/

/* Settings on activity screens */
.settings_div {
    text-align: right;
    position: absolute;
    width: 100%;
}

.settings_div #settings_cog{
    width: 4vw;
    margin-right: 1.8vw;
    margin-top: 1vh;
}

.custom-radio-checkbox {
    display: flex;
    flex-direction: row;
}

.custom-radio-checkbox label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 5px 0;
}

.custom-radio-checkbox .custom-radio {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #007bff;
    background-color: white; /* Default white background for unchecked state */
    margin-left: 8px; /* Adds space between label text and the button */
    position: relative;
    transition: background-color 0.2s ease;
}

.custom-radio-checkbox input[type="checkbox"]:checked + .custom-radio::after {
    opacity: 1;
}

/*
 * Pairs dialog box
 */

.no-close .ui-dialog-titlebar-close {
    display: none;
}

.ui-dialog {
    border-radius: 30px;
}

.dialogButton {
    font-family: 'Albert Sans', Arial, "Helvetica Neue", Helvetica, sans-serif !important;
    color:var(--bg-color);
    background-color:#009fe3;
    border-radius: 12px !important;
    min-width: 42%;
    max-width: 42%;
    bottom: 0.4em;
    /*border-style: solid;*/
    /*border-color: black;*/
}

.leftButton {
    right: 0em;
}

.rightButton {
    left: 0.9em;
}

.centreButton {
    text-align: center !important;
}

.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    float: none !important;
}

.ui-dialog .ui-dialog-title, .ui-dialog .ui-dialog-buttonpane {
    text-align:center !important;
}

.ui-dialog .ui-dialog-buttonpane button {
    margin: .5em .4em .5em 0;
    cursor: pointer;
    background-color: #4d4d4d;
}

.noTitleStuff .ui-dialog-titlebar {
    display:none
}

#gameOver {
    background-color:#e0dee8;
    overflow: hidden;
    text-align: center;
}

#gameOver img{
    height: 9vh;
    height: calc(var(--vh, 1vh) * 9);
    vertical-align: middle;
}

.ui-widget-content {
    background: var(--bg-color) !important;
    color: black !important;
}

.ui-corner-all,
.ui-corner-bottom,
.ui-corner-right,
.ui-corner-br {
    border-radius: 15px !important;
}




/*Login Page*/

#loginLogo {
    text-align:center;
    /*margin-left:35px;*/
    margin-top: 5vh;
    /*margin-top: calc(var(--vh, 1vh) * 5);*/
    /*margin-bottom: 0vh;*/
    /*margin-bottom: calc(var(--vh, 1vh) * 0);*/
}

.nobackground {
    width: 100vw;
    height: 100%;
    position: relative;
    background-color: #00b1ad;
}

#loginPic {
    /*padding-top:1em;*/
    min-width: 40%;
    max-width: 40%;
}

.loginText {
    color: #009fe3;
    font-family: 'Albert Sans', Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-weight: normal;
    text-align: center;
}

#loginFormTable {
    text-align: center;
}

#loginFormTable div {
    font-family: 'Albert Sans', Arial, "Helvetica Neue", Helvetica, sans-serif;
    /*padding-left: 10%;*/
}

#loginFormTable input {
    font-family: 'Albert Sans', Arial, "Helvetica Neue", Helvetica, sans-serif;
    border-radius: 10px;
    margin-bottom: 1.5vh;
    margin-bottom: calc(var(--vh,1vh) * 1.5);
    width: calc(100% - 1vw);
    padding: 15px 5px;
    border: 1px solid gray;
    box-sizing: border-box;
}

.announcements {
    white-space: nowrap;
    overflow: hidden;
    width: 80%;
    border-radius: 7px;
    background-color: var(--ct-red);
    color: var(--bg-color);
}

.announcementscroll {
    white-space: nowrap;
    clear: both;
    float: left;
    width: 100%;
}

#hiddenmarquee {
    display: inline;
    visibility: hidden;
    white-space: nowrap;
}

#login {
    width: calc(100% - 1vw);
    border-radius: 30px;
    color: var(--bg-color);
    background-color: var(--ct-red);
    font-size: 1em;
    padding: 15px 5px;
    margin-top: 0;
    margin-bottom: 0;
    border-style: none;
}

.textinput {
    padding: 12px 20px;
    color:black;
    /*border-width: 2px;*/
    outline: none;
    font-size: 2vh;
    font-size: calc(var(--vh, 1vh) * 2);
}

.textinput:focus {
    border-color:#009fe3;
}

.loginSubmit {
    background-color: #4d4d4d;
    color:var(--bg-color);
    font-family: 'Albert Sans', Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-weight: normal;
    font-size: 1.1em;
    /*border-color:black;*/
    border-radius:10px;
    padding:15px 20px;
    margin-top:10px;
    margin-right: 15px;
    border-style: none;
}

.smaller-button {
    font-size: 0.8em;
    padding:15px 8px;
}

.loginSubmit:disabled{
    background-color: gray;
}

.loginSubmit:focus {
    outline:none;
}

.loginForm input{
    width: 100%;
}

.loginForgot {
    font-family: 'Albert Sans', Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-weight: normal;
    font-size: 0.75em;
    /*font-size: calc(var(--vh, 1vh) * 2);*/
    /*border-bottom: 1px solid #555f61;*/
    padding-bottom: 3px;
    color:black;
 }

/*.loginButtons {*/
/*    max-width:70%;*/
/*    min-width:70%;*/
/*    text-align:left;*/
/*}*/

.centered{
    text-align: center;
}

/*
 *  Profile Popup
 */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-color);
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    left: 85vw;
    top: 9vh;
    top: calc(var(--vh, 1vh) * 9);
    width: 15vw;
}

.profileitem{
    font-family: 'Albert Sans', Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 20px;
    cursor: pointer;
    margin-left: 0.6vw;
}

.profileitem:hover {
    color: #00b1ad;
}

.show {display: block;}

.inputscreen{
    padding-left: 5vw;
    padding-top: 5vh;
    padding-top: calc(var(--vh, 1vh) * 5);
    color: black;
}


.resetpassword #email{
    margin-top: 4vh;
    margin-top: calc(var(--vh, 1vh) * 4);
    margin-bottom: 4vh;
    margin-bottom: calc(var(--vh, 1vh) * 4);
    background-color: #e0deeb;
    width : 50%;
}

.resetpassword #cancel{
    margin-left: 1vw;
}

.changepassword input{
    margin-top: 4vh;
    margin-top: calc(var(--vh, 1vh) * 4);
    background-color: #e0deeb;
    width : 25%;
}

.changepassword button{
    margin-top: 4vh;
    margin-top: calc(var(--vh, 1vh) * 4);
}

.button_strip {
    padding-top: 1vh;
    padding-top: calc(var(--vh, 1vh) * 1);

}

.ui-button {
    padding: 10px !important;
    color: var(--bg-color);
    text-wrap: nowrap;
}

.ui-dialog-buttonset {
    text-align: left;
    margin-left: 0.5vw;
}

button:active {
    background-color:#2C4B79;
}

.clickedButton {
    background-color:#2C4B79;
}

#accesslog table {
    border-collapse: collapse;
    width: 95%;
    margin: auto;
    font-size: 2vh;
    font-size: calc(var(--vh, 1vh) * 2);
}

#accesslog thead {
    display: table; /* to take the same width as tr */
    width: calc(100% - 17px); /* - 17px because of the scrollbar width */
}

#accesslog tbody {
    display: block; /* to enable vertical scrolling */
    max-height: 600px; /* e.g. */
    overflow-y: scroll; /* keeps the scrollbar even if it doesn't need it; display purpose */
    height: 45vh;
}

#accesslog td, #accesslog th {
    border: 1px solid #ddd;
    padding: 8px;
    width: 33.33%; /* to enable "word-break: break-all" */
    word-break: break-all; /* 4. */
}

#accesslog tr:nth-child(even){background-color: #f2f2f2;}

#accesslog tr:hover {background-color: #ddd;}

#accesslog tr {
    display: table; /* display purpose; th's border */
    width: 100%;
    box-sizing: border-box; /* because of the border (Chrome needs this line, but not FF) */
}

#accesslog th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #009fe3;
    color: var(--bg-color);
}

/*============ Assessment Report ========*/


#assessmentreport {
    font-size: 0.8em;
    font-family: 'Albert Sans', Arial, "Helvetica Neue", Helvetica, sans-serif;
    max-height : 75vh;
}

#assessmentreport #instructions{
    margin-top: 3vh;
    margin-top: calc(var(--vh, 1vh) * 3);
}

#assessmentreportdiv {
    max-height: 53vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

.small {
    float: right;
    font-size: 0.7em;
    vertical-align: bottom;
}

#assessmentreportablediv {
    max-height: 80%;
    overflow-y: auto;
}

#assessmentreporttable {
    border: thin solid black;
    border-collapse: collapse;
    width: 100%;
    font-size: 0.8em;
    padding: 0.5rem 2rem;
    background-color: var(--bg-color);
}

#assessmentreporttable .categorycolumn {
    text-align: left;
    padding: 0.8rem 0.2rem 0.5rem;
    vertical-align: top;
    width: 20%;
}

#assessmentreporttable .levelcolumn {
    width:8%;
}

#assessmentreporttable th{
    font-weight: bold;
    vertical-align: middle;
    text-align: center;
    border: thin solid black;
    width: 40%;
}

#assessmentreporttable td {
    white-space: nowrap;
    vertical-align: middle;
    text-align: center;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    border: thin solid black;
}

#assessmentreporttable tr td.categoryitem {
    text-align: left;
}

#assessmentreporttable tr td.detailcell {
    text-align: center;
}

#assessmentreporttable tr td.detailcell span {
    color: #00b1ad;
    padding-left: 1.5vw;
}

#displayclients #clients{
    font-size: 0.8em;
}

#displayclients {
    font-size: 0.8em;
}

#locateclient {
    font-size: 0.8em;
    padding-left: 3vw;
}

#locateclientContainer {
    height: 100%;
    border-radius: 30px;
    background-color: var(--bg-color);
}

#locateclient #clientcontainer{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: baseline;
    font-size: 0.8em;
}

#locateclient .clientcolumnleft{
    flex-basis: 30%;
    padding-right: 1vw;
}

#locateclient .clientcolumnright{
    flex-basis: 70%;
    padding-right: 1vw;
    padding-left: 5vw;
}

#locateclient #locateclienterrorpara {
    text-align: center;
    visibility: hidden;
    font-size: 0.8em;
    font-style: italic;
}

#locateclient #assessments .assessmentdescription {
    width: 46%
}

#locateclient #assessments .detail {
    width: 12%
}

#locateclient #assessments .detailoperation {
    width: 12%;
    text-align: center;
}

#locateclient #assessments{
    width: 100%;
}

#locateclient #assessments thead{
    display:block;
    width: 100%;
    text-align: left;
}

#locateclient #assessments thead tr {
    width: 100%;
    display: table;
}

#locateclient #assessments tbody {
    display:block;
    overflow:auto;
    height:46vh;
    height:calc(var(--vh, 1vh) * 46);
    width:100%;
    vertical-align: top;
}

#locateclient #assessments tbody tr {
    width: 100%;
    display: table;
}

#locateclient #assessments tbody tr .selected {
    background-color: #acbcbd;
}

#locateclient .selected {
    background-color: #acbcbd;
}

.locateclientSubmit {
    background-color: #009fe3;
    color:var(--bg-color);
    font-family: 'Albert Sans', Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-weight: normal;
    font-size: 1.1em;
    border:none;
    border-radius:10px;
    width: 100%;
}

.locateclientSubmit:disabled{
    background-color: gray;
}

#locateclient #createNewAssessment{
    float: right;
    padding-right: 1vw;
}

.tblhdr {
    font-size: 1.5em;
    font-weight: bold;
}


.clientMaintenanceForm {
    font-size: 0.8em;
}

.clientMaintenanceForm label {
    display: inline-block;
}

.clientMaintenanceForm label span {
    font-size: 0.7em;
    font-style: italic;
}

.clientMaintenanceForm input {
    display: inline-block;
}

.clientMaintenanceForm #noteslabel {
    vertical-align: top;
}

.clientMaintenanceForm #notes {
    wrap: soft;
    outline: none;
    resize: none;
}

.clientMaintenanceForm #saveclienterrorpara , .clientMaintenanceForm #saveassessmenterrorpara{
    visibility: hidden;
    font-size: 0.8em;
    font-style: italic;
}

.clientMaintenanceForm div {
    margin-bottom: 2vh;
    margin-bottom: calc(var(--vh, 1vh) * 2);
}

.clientMaintenanceForm textarea {
    overflow-y: scroll;
}

.clicks-disabled {
    pointer-events: none;
    opacity: 30%;
}

/* USER ADMIN */
#existinguserconfig label {
    vertical-align: top;
    font-size: 1.5vh;
    font-size: calc(var(--vh, 1vh) * 1.5);
}

#existinguserconfig #existingmodules {
    display: inline-block;
    width: 15vw;
}

/* MODULE LAUNCHER */

#modules input[type=image]:disabled{
    opacity: 0.5;
}

#modules input[type=image]:disabled+p{
    cursor: default;
    opacity: 0.3;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh; /* to make it responsive */
    height: calc(var(--vh, 1vh) * 100);
    width: 100vw; /* to make it responsive */
    overflow: hidden; /*to remove scrollbars */
    z-index: 99999; /*to make it appear on topmost part of the page */
    display: none; /*to make it visible only on fadeIn() function */
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* Old IE/Edge */
}

#loader img {
    margin-left: 47vw;
    margin-top: 40vh;
    margin-top: calc(var(--vh, 1vh) * 40);
    width: 6vw;
    height: 20vh;
    height: calc(var(--vh, 1vh) * 20);
}

.inputDate {
    width: 12ch !important;
}

#current_user_details {
    visibility: hidden;
}

#current_user_details p {
    text-align: center;
    font-size: 0.6em;
}

#current_user_details #currentusername {
    text-decoration: underline;
}

#current_user_details #currentuserreport {
    padding: 4px 20px;
}

#clients_wrapper th {
    text-align: left;
}

.progressButton{
    background-color: #fdc652;
    color:black;
    font-family: 'Albert Sans', Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-weight: bolder;
    font-size: 0.6em;
    /*border-color:black;*/
    border-radius: 10px;
    padding-left: 10px;
    padding-right: 10px;
    border-style: none;
}

.PopMenu-Menu {
    font-family: 'Albert Sans', Arial, Helvetica, sans-serif !important;
    font-size: 2vh !important;
    font-size: calc(var(--vh, 1vh) * 2); !important;
    color: #00b1ad !important;
}

 /*Magic Cups*/

#content {
    width: 100%;
    height: 100%;
}

#board {
    overflow: hidden;
    width: 100%;
    height: 100%;
    text-align: center;
    position: relative;
    padding-top: 1vh;
    padding-top: calc(var(--vh, 1vh) * 1);
}

#board img {
    width: 10vw;
    height: auto;
}

#cup1,#cup2,#cup3, #mct1, #mct2, #mct3 {
    position: absolute;
    overflow: hidden;
    z-index: 100;
}

#mct1, #mct2, #mct3 {
    z-index: 1;
}

#target {
    height: auto;
    z-index: 10;
}

#wrong_answer {
    position: absolute;
}

#msg_bd {
    position: absolute;
    text-align: center;
    color: black;
    width: 100%;
}

#msg_bd p {
    margin-top: 0;
}

#start_game {
    margin-top: 0;
    margin-right: 0;
}

/* Crossword */

#crossword_game {
    display: flex;
    padding-top: 1vh;
    padding-top: calc(var(--vh, 1vh) * 1);
    position: relative;
    height: 100%;
    background-color: var(--bg-color);
}

.crossword {
    width: 60%;
    justify-content: center;
    align-items: center;
    display: flex;
    font-size: 0.7em;
    /*padding-top: 0.5vh;*/
    /*padding-top: calc(var(--vh, 1vh) * 0.5);*/
    height: 99%;
}

.crossword table {
    border-collapse: collapse;
    height: 100%;
    width: auto;
}

.clues {
    width: 20%;
    justify-content: center;
    margin-left: 2vw;
    height: 75%;
    margin-top: 3vh;
    overflow: auto;
}

.clues span {
    font-weight: bold;
    text-decoration: underline;
}

.crossword td {
    border: 1px solid;
    text-align: center;
    position: relative;
    padding: 0 0 0 0;
}

.crossword .blackout {
    border: none;
}

.crossword .question_number{
    position: absolute;
    font-size: 0.675em;
    top: 0px;
}

.clues ul {
    list-style: none;
    padding-left: 0;
    font-size: 0.7em;
}

#crossword_game .potentialAnswers {
    position: absolute;
    font-size: 0.5em;
    height: 20%;
    bottom: 0;
    width: 40%;
    right: 0;
    margin: 1vh 1vw;
    margin: calc(var(--vh, 1vh) * 1) 1vw;
    display: none;
}

#crossword_game .potentialAnswers span {
    border-style: solid;
    padding: 0.3vh 0.5vw;
    padding: calc(var(--vh, 1vh) * 0.3) 0.5vw;
    border-radius: 1vh;
    border-radius: calc(var(--vh, 1vh) * 1);
    border-width: thin;
    display:inline-block;
    margin-bottom: 0.7vh;
    margin-bottom: calc(var(--vh, 1vh) * 0.7);
    margin-right: 0.7vw;
}
.clues li {
    margin-bottom: 0.7em;
}

#crossword_game .infoBox img {
    width: 4vw;
    padding-top: 1vh;
    padding-top: calc(var(--vh, 1vh) * 1);
}

/* Word Search */

#wordsearch {
    display: flex;
    padding-top: 1vh;
    padding-top: calc(var(--vh, 1vh) * 1);
    height: 100%;
    padding-bottom: 1vh;
    padding-botton: calc(var(--vh, 1vh) * 1);
    padding-left: 1vw;
}

.wordsearch {
    width: 50%;
    justify-content: right;
    align-items: center;
    display: flex;
}

#wordsearch_marker{
    width: 15%;
    align-items: center;
    display: flex;
}

#wordsearch_marker img{
    width: 100%;
}

.wordsearch table {
    border: solid 2px;
    border-collapse: collapse;
}

.wordsearch td {
    border: none;
    /*border: 1px solid;*/
    text-align: center;
    width: 2vw;
    height: 2vh;
    position: relative;
}

.wordsearch td img {
    width: 5px;
    height: 5px;
}

.wordsearch td.highlighted {
    background-color:#999;
}

.wordsearch td.correct {
    border: 1px solid #1e7e34;
    background-color: #fff5d1;
}

.wordsearch td.hinted {
    border: 1px solid red;
}

#wordsearch #hintdiv {
    display: flex;
    align-items: flex-end;
}

#wordsearch #hint_button_strip {
    padding-bottom: 5vh;
    padding-bottom: calc(var(--vh, 1vh) * 5);
}

.words {
    width: 25%;
    display: flex;
    align-items: center;
}

.words ul {
    list-style: none;
    padding-left: 0;
}

.words li {
    margin-bottom: 1vh;
    margin-bottom: calc(var(--vh, 1vh) * 1);
}

.quiz_score_board {
    width: 100%;
    margin-right: 2vw;
    text-align: right;
    padding-top: 2em;
}
.quiz_score_board img {
    height: 2em;
}
.quiz_score_board span {
    margin-right: 2vw;
    height: 100%;
    display: inline-block;
    vertical-align: middle;
    min-width: 1.2em;
    color: var(--bg-color);
    font-weight: bold;
}

#quizResultsPopup {
    font-size : 0.6em;
    text-align: center;
}

#quizResultsPopup p{
    font-size : 1.8em;
    text-align: center;
}

.quizDialogButton {
    min-width: 6% !important;
    max-width: 6% !important;
}

.dataTables_scrollBody {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: auto !important; /* Disable momentum scrolling on iOS devices */
    -ms-overflow-style: scrollbar; /* Always show scrollbar in IE/Edge */
}


.useradmingrid {
    display: flex;
    justify-content: center;
    height: 100%;
    margin-top: 1em;
}

.useradmingrid div{
    justify-content: center;
    display: flex;
}

.useradmingrid .gutter{
    flex:10%
}

.useradmingrid .option{
    flex:40%
}

.useradmingrid label {
    margin-top: 2vh;
    width: 60%;
    border:2px solid;
    border-radius: 30px;
    border-color: #bfced5;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    display: block;
    position: relative;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
}

.useradmingrid input {
    min-height: 27vh;
    max-height: 27vh;
}

#newUser {
    display: none;
    padding-left: 3vw;
    padding-right: 3vw;

}

#existingUser {
    display: none;
}

.useradminpage {
    font-size: 0.8em;
    padding-left: 3vw;
}

.layouttable {
    width: 100%;
}

.layouttable select {
    width: 80%
}

/*.leftrow {*/
/*    text-align: right;*/
/*}*/

.useradminlist {
    list-style-type: none;
    margin-left: -1em;
}

.useradminlist label {
    margin-left: 1vh;
}

.infield {
    font-size: 0.9em;
    padding: 5px 7px;
}

.threebutton {
    width: min-content;
    min-width: 60%;
}

/*Tags*/

/*#tag {*/
/*    position: absolute;*/
/*    font-size: 0.5em;*/
/*    height: 20%;*/
/*    bottom: 0;*/
/*    width: 40%;*/
/*    right: 0;*/
/*    margin: 1vh 1vw;*/
/*    margin: calc(var(--vh, 1vh) * 1) 1vw;*/
/*    display: none;*/
/*}*/

#tagContainer {
    height: 12vh;
    height: calc(var(--vh, 1vh) * 12);
    overflow: auto;
}

#tags span {
    border-style: solid;
    padding: 0.3vh 0.5vw;
    padding: calc(var(--vh, 1vh) * 0.3) 0.5vw;
    border-radius: 1vh;
    border-radius: calc(var(--vh, 1vh) * 1);
    border-width: thin;
    display:inline-block;
    margin-bottom: 0.7vh;
    margin-bottom: calc(var(--vh, 1vh) * 0.7);
    margin-right: 0.7vw;
    font-size: 0.8em;
}

#tags > span.active{
    background-color:red;
}

#cohortExplanation{
    margin-top: 0;
    margin-bottom: 5vh;
    font-size: 0.8em;
}

#newTag input {
    width: 8em;
}

#newTag button {
    padding: 5px;
    margin-top: 1px;
    margin-bottom: 1px;
    font-size: 1em;
    margin-right: 0;
}

.reports {
    font-size: 0.7em;
    margin-left: 1vw;
    margin-left: calc(var(--vh, 1vh) * 1);
    margin-top: 1vh;
    margin-top: calc(var(--vh, 1vh) * 1);
    border-radius: 30px;
    padding-top: 2vh;
    padding-top: calc(var(--vh, 1vh) * 2);
    padding-left: 1vw;
}

.reportParameters #cohortTagLabelText{
    display: inline;
    padding-right: 4vw;
    padding-right: calc(var(--vw, 1vw) * 4);
}

.reportParameters select{
    width: 10vw;
    width: calc(var(--vw, 1vw) * 10);
}

.availablereports span {
    border-style: solid;
    padding: 0.3vh 0.5vw;
    padding: calc(var(--vh, 1vh) * 0.3) 0.5vw;
    border-radius: 1vh;
    border-radius: calc(var(--vh, 1vh) * 1);
    border-width: thin;
    display:inline-block;
    margin-bottom: 0.7vh;
    margin-bottom: calc(var(--vh, 1vh) * 0.7);
    margin-right: 0.7vw;
    margin-right: calc(var(--vh, 1vh) * 0.7);
}

.reportcandidates {
    height: 37vh;
    height: calc(var(--vh, 1vh) * 37);
    overflow: auto;
    margin-left: 1vw;
    margin-left: calc(var(--vh, 1vh) * 1);
    margin-right: 1vw;
    margin-right: calc(var(--vh, 1vh) * 1);
}

.reportcandidates table {
    width : 100%;
    font-size: 0.8em;
    background-color: var(--bg-color)var(--bg-color);
    border-collapse: collapse;
}

.reportcandidates th,td {
    padding: 0.3vh;
    text-align: left;
}
.reports #print {
    float: right;
    margin-top: 2.5vh;
}

.reportcandidates table tr {
    vertical-align : top;
    border-bottom: 1px solid black;
}

.reportcandidates table thead {
    text-align : left;
}

.reportcandidates table thead .name {
    width : 30%;
}
.reportcandidates table thead .desc {
    width : 40%;
}
.reportcandidates table thead .chkbox {
    width : 5%;
}

/*.availablereports input[type="radio"]{*/
/*    display: none;*/
/*}*/

/*.availablereports label{*/
/*    display: inline-block;*/
/*    cursor: pointer;*/
/*}*/

/*.availablereports input[type="radio"]:checked {*/
/*    background-color:red;*/
/*}*/

/*.availablereports .highlighted {*/
/*    background-color:red;*/
/*}*/

/* User Admin */

#accountMaintenance {
    /*display: grid;*/
    /*grid-template-columns: repeat(2, 1fr);*/
    /*gap: 10px;*/
}

#accountMaintenance .row {
    display: flex;
    align-items: baseline;
}

#accountMaintenance .row label {
    flex-basis: 20%;
}

#accountMaintenance .row button {
    padding: 2px 2px 2px 2px;
    margin-left: 1vw;
}
#accountMaintenance .row select,
#accountMaintenance .row input,
#accountMaintenance .row span {
    flex: 2;
    margin-left: 10px;
}

/*
 * Video Help
 */
.vh_background {
    background-color: #00b1ad !important;
    color: white !important;
}

#vh_nav {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.vh_nav_selected {
    color: #fdc652;
}


#helpvideos {
    display: block !important;
    overflow: auto;
    /*max-height: 41vh;*/
    flex: 0 0 30%;
}

.iframe-container{
    flex: 0 0 70%;
}


#vh_nav > div {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 800px; /* Adjust as needed */
    margin-top: 20px; /* Adjust as needed */
}

.videolistheading ul {
    margin-top: 0.5vh;
    margin-top: calc(var(--vh, 1vh) * 0.5);
    margin-left: 1vw;
    margin-bottom:  1vh;
    margin-bottom: calc(var(--vh, 1vh) * 1);
    list-style: none;
    margin-right: 1vw;
    font-weight: normal;
}

#vh_nav > div > .iframe-container {
    flex: 1;
}

#vh_nav > .button_strip {
    margin-top: 20px; /* Adjust as needed */
}

.videolistheading{
    display: block;
    font-weight: bold;
}

#ytplayer{
    width: 100%;
    border: 1px solid black;
}

/* Announcement Maintenance */
#announcementstablecontainer {
    height: 50%;
    overflow-y: auto;
}

#announcementstablecontainer .msg{
    width: 70%;
}

#announcementstablecontainer .dte{
    width: 30%;
}
#announcementinput {
    padding-top: 2vh;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5vh; /* Adjust as needed */
    /*align-items: center;*/
    width: 100%; /* Adjust as needed */
    margin: 0 auto; /* Center the form if needed */
}

#announcementinput .form-row {
    display: contents;
}

#announcementinput .form-row span {
    font-size: 0.6em;
}

#announcementinput label {
    justify-self: self-start;
    padding-right: 3vw; /* Adjust as needed */
}

#announcementinput input {
    width: 100%;
    box-sizing: border-box;
    /*padding: 2vw; !* Adjust as needed *!*/
}

/* Bubbles Game */
#bubbles_div {
    width: 100%; /* Adjust as needed */
    height: 100%; /* Adjust as needed */
}

#bubbles_div .scorecard {
    display: flex;
    width: 100%; /* Adjust as needed */
    height: 5%; /* Adjust as needed */

}

#bubbles_div .scorecard #correct{
    flex: 1;
    text-align: center;
    margin-right: 1vw;
}

#bubbles_div .scorecard #incorrect{
    flex: 1;
    margin-left: 1vw;
    width: 20%;
}

#bubbles_div .scorecard img{
    height: 90%;
}

#bubbles_div .scorecard #correct table {
    width: 100%;
    height: 100%;
    border-collapse: separate;
    border-spacing: 1px;
}

#bubbles_div .scorecard #correct td {
    background-size: cover;
    background-position: center;
    border: 1px solid #000;
    border-radius: 10px;
    background-image: url('/images/blankimage.png');
}

.bubble-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -10vw;
    width: 10vw; /* Bubble size */
    height: 10vw;
    border-radius: 50%; /* Makes the bubble rounded */
    text-align: center; /* Centers the image */
    transition: transform 0.3s ease, opacity 0.3s ease;
    background-image: url('../images/bubble.webp');
    background-size: cover;
    display: flex; /* Make the container a flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    outline: none; /* Removes default focus outline */
    box-shadow: none;
    user-select: none;
    -webkit-user-select: none; /* Prevent text selection for Safari */
    -webkit-touch-callout: none; /* Disable long press callout */
    touch-action: manipulation; /* Prevents some default behaviors on touch */
    -webkit-tap-highlight-color: transparent;
}

.bubble:focus,
.bubble:active {
    outline: none; /* Ensures no outline on focus */
    box-shadow: none; /* Ensures no shadow on focus */
}

.bubble img {
    width: 7.75vw;
    height: 8.5vw;
    border-radius: 50%;
    object-fit: cover; /* Ensures the image fits well within the circular shape */
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: lighten;
    outline: none; /* Ensures no outline on focus */
    box-shadow: none; /* Ensures no shadow on focus */
    -webkit-tap-highlight-color: transparent;
}

.bubble img:focus,
.bubble img:active {
    outline: none; /* Ensures no outline on focus */
    box-shadow: none; /* Ensures no shadow on focus */
}

@keyframes rock {
    0% {
        transform: rotate(0deg); /* Start position */
    }
    /*5% {*/
    /*    transform: rotate(-2deg); !* Rotate left *!*/
    /*}*/
    /*10% {*/
    /*    transform: rotate(-4deg); !* Rotate left *!*/
    /*}*/
    /*15% {*/
    /*    transform: rotate(-6deg); !* Rotate left *!*/
    /*}*/
    /*20% {*/
    /*    transform: rotate(-8deg); !* Rotate left *!*/
    /*}*/
    25% {
        transform: rotate(-10deg); /* Rotate left */
    }
    /*30% {*/
    /*    transform: rotate(-8deg); !* Rotate left *!*/
    /*}*/
    /*35% {*/
    /*    transform: rotate(-6deg); !* Rotate left *!*/
    /*}*/
    /*40% {*/
    /*    transform: rotate(-4deg); !* Rotate left *!*/
    /*}*/
    /*45% {*/
    /*    transform: rotate(-2deg); !* Rotate left *!*/
    /*}*/
    50% {
        transform: rotate(0deg); /* Return to start */
    }
    /*55% {*/
    /*    transform: rotate(2deg); !* Rotate left *!*/
    /*}*/
    /*60% {*/
    /*    transform: rotate(4deg); !* Rotate left *!*/
    /*}*/
    /*65% {*/
    /*    transform: rotate(6deg); !* Rotate left *!*/
    /*}*/
    /*70% {*/
    /*    transform: rotate(8deg); !* Rotate left *!*/
    /*}*/
    75% {
        transform: rotate(10deg); /* Rotate left */
    }
    /*80% {*/
    /*    transform: rotate(8deg); !* Rotate left *!*/
    /*}*/
    /*85% {*/
    /*    transform: rotate(6deg); !* Rotate left *!*/
    /*}*/
    /*90% {*/
    /*    transform: rotate(4deg); !* Rotate left *!*/
    /*}*/
    /*95% {*/
    /*    transform: rotate(2deg); !* Rotate left *!*/
    /*}*/
    100% {
        transform: rotate(0deg); /* Return to start */
    }
}


@keyframes wobble {
    0% {
        transform: translateX(var(--translate-x, 0vw)) rotate(var(--rotate0, 0deg));;
    }
    25% {
        transform: translateX(var(--translate-x, 0vw))  rotate(var(--rotate1, 20deg));
    }
    50% {
        transform: translateX(var(--translate-x, 0vw)) rotate(var(--rotate0, 0deg));
    }
    75% {
        transform: translateX(var(--translate-x, 0vw)) rotate(var(--rotate2, -20deg));
    }
    100% {
        transform: translateX(var(--translate-x, 0vw))  rotate(var(--rotate0, 0deg));
    }
}

/*@keyframes wobble {*/
/*    0% {*/
/*        transform: translateX(var(--translate-x, 0vw)) scale(var(--scale-x0, 1), var(--scale-y0, 1)) skew(var(--skew-x0, 0deg), var(--skew-y0, 0deg)) rotate(var(--rotate0, 0deg));;*/
/*    }*/
/*    25% {*/
/*        transform: translateX(var(--translate-x, 0vw)) scale(var(--scale-x1, 1), var(--scale-y1, 1)) skew(var(--skew-x1, 0deg), var(--skew-y1, 0deg)) rotate(var(--rotate1, 20deg));*/
/*    }*/
/*    50% {*/
/*        transform: translateX(var(--translate-x, 0vw)) scale(var(--scale-x2, 1), var(--scale-y2, 1)) skew(var(--skew-x2, 0deg), var(--skew-y2, 0deg)) rotate(var(--rotate0, 0deg));*/
/*    }*/
/*    75% {*/
/*        transform: translateX(var(--translate-x, 0vw)) scale(var(--scale-x3, 1), var(--scale-y3, 1)) skew(var(--skew-x3, 0deg), var(--skew-y3, 0deg)) rotate(var(--rotate2, -20deg));*/
/*    }*/
/*    100% {*/
/*        transform: translateX(var(--translate-x, 0vw)) scale(var(--scale-x0, 1), var(--scale-y0, 1)) skew(var(--skew-x0, 0deg), var(--skew-y0, 0deg)) rotate(var(--rotate0, 0deg));*/
/*    }*/
/*}*/



.popped {
    animation: pop 0.4s forwards;
}

@keyframes pop {
    0% {
        opacity: 1; /* Full visibility */
    }
    50% {
        transform: scale(1.5); /* Bubble grows slightly */
        opacity: 0.8; /* Slightly transparent */
    }
    80% {
        transform: scale(0.8); /* Bubble shrinks */
        opacity: 0.6; /* More transparent */
    }
    100% {
        transform: scale(1.5); /* Bubble bursts */
        opacity: 0; /* Completely fades out */
    }
}

/*
 * Chatty Academy
 */
#academy_options{
    height: 100%;
    display: flex;
    flex-direction: column;
}

#academy_options #introduction_items {
    height: 20%;
}

#academy_options #individual_items {
    height: 80%;
}

.academy_single_item {
    display: flex;
    justify-content: flex-start !important; /* Align the single item to the left */
}

.academy_multi_items {
    display: grid !important;
    grid-template-columns: repeat(4, 25%); /* 4 items per row */
    justify-content: left !important;
}

#academy_options .academy_item {
    /*margin-top: 4vh;*/
    /*margin-top: calc(var(--vh, 1vh) * 4);*/
    display: flex;
    /*flex-wrap: wrap;*/
    /*justify-content: center;*/
    /*height: 80%;*/
    align-items: center;
    background-color: var(--bg-color);
    padding-top: 2vh;
    padding-left: 6vw;
    /*padding-bottom: 2vh;*/
    /*text-align: center;*/
}

/*#academy_options .academy_item div {*/
/*    display: flex;*/
/*    width: 15vw;*/
/*    !*text-align: center;*!*/
/*    !*border: 2px solid;*!*/
/*    border-radius:30px;*/
/*    margin: 0.8vw;*/
/*    cursor: pointer;*/
/*}*/


#academy_options .academy_item img {
    /*padding-top: 2vh;*/
    /*padding-top: calc(var(--vh, 1vh) * 2);*/
    /*z-index: -1;*/
    width: 13vw;
    height: auto;
}

#academy_options #instructions {
    color: var(--bg-color);
    margin-top: 0.5vh;
    margin-bottom: 0;
}

.academyBtn {
    background-color: var(--bg-color);
    color:#4d4d4d;
}

/*
 * Self Regulation
 */
#self_regulation_options{
    height: 100%;
}

#self_regulation_options #individual_items {
    margin-top: 4vh;
    margin-top: calc(var(--vh, 1vh) * 4);
    display: flex;
    flex-wrap: wrap;
    height: 80%;
    align-items: center;
    padding-top: 2vh;
    padding-bottom: 2vh;
    justify-content: space-evenly;
    align-items: center;
}

#self_regulation_options #individual_items div {
    display: flex;
    width: 14vw;
    border-radius:30px;
    margin: 0.8vw;
    cursor: pointer;
    background-color: var(--bg-color);
    text-align: center;
}

#self_regulation_options #individual_items input[type='image'] {
    width: 100%;
    padding-top: 1vh;
    height: auto;
}

#self_regulation_options #instructions {
    color: var(--bg-color);
    margin-top: 1vh;
    margin-bottom: 0;
}

/*Training Diary*/
#trainingDiary {
    width: 100%;
    height: 100%;
}

#trainingDiary .pdf-container{
    width: 100%;
    height: 85%;
}

#trainingDiary .pdf-container iframe{
    width: 100%;
    height: 100%;
}

#trainingDiary #button{
    text-align: center;
    padding-top: 1vh;
}

/*
 * Scenes
 */

#imagePanel #overlay {
    position: absolute;
    bottom: 10%;
    width: 50%;
    height: 6%;
    pointer-events: none;
    color: var(--bg-color);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--ct-red);
    align-content: center;
}

/*
 * Speech Sound Assessment
 */
.speechText{
    border-radius: 5px ;
    display: inline-block;
    width: 1.2em;
    text-align: center;
}

.speechTarget{
    background-color: var(--ct-red);
}

/*
 * Speech Sounds Screening Menu
 */
#speechSoundsScreeningContainer {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    margin: 0 auto; /* Centers the container horizontally */
    height: 100%; /* Makes the container fill the viewport height */
    gap: 2%; /* Space between child divs */
}

#speechSoundsScreeningContainer > div {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1; /* Ensures each child div is square */
}

#speechSoundsScreeningContainer label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    aspect-ratio: 1;
    background-color: var(--bg-color);
    border-radius: 30px;
}

#speechSoundsScreeningContainer input[type="image"] {
    width: 90%;
    aspect-ratio: 1;
    border-radius: 30px;
    object-fit: contain;
}


#errorReportEmailInput{
    width: 70%;
}

.tooltip {
    position: relative;
    cursor: pointer;
}

.tooltip-text {
    visibility: hidden;
    width: 300px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position above the label */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltip-text,
.tooltip:focus .tooltip-text {
    visibility: visible;
    opacity: 1;
}

#earlyquiz_main_container {
    display: flex;
    height: 100%;
    width: 100%;
}

#earlyquiz_main_container .left-panel {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*background-color: #f4f4f4; !* Light grey background for contrast *!*/
}

#earlyquiz_main_container .right-panel {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1%;
    /*background-color: #ffffff;*/
    /*flex-wrap: wrap;*/
}


#earlyquiz_main_container #spin_container {
    width: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#earlyquiz_main_container #questionText{
    color: var(--bg-color);

}
#earlyquiz_main_container #quiz_grid {
    padding-top: 0;
}

#earlyquiz_main_container .quiz-grid {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

#earlyquiz_main_container .quiz-cell {
    width: 40%;
    aspect-ratio: 1; /* Maintain square shape */
    /*background-color: #cce7ff; !* Light blue for quiz cells *!*/
    display: flex;
    justify-content: center;
    align-items: center;
    /*border-radius: 5px;*/
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
}

#earlyquiz_main_container #quiz_c_d1,
#earlyquiz_main_container #quiz_c_d2,
#earlyquiz_main_container #quiz_c_d3,
#earlyquiz_main_container #quiz_c_decoy{
    height: 33vh;

    /* height: calc(var(--vh, 1vh) * 41); */
    /* border-style: solid; */
     border-radius: 30px;
    /* min-width: 18vw; */
    /* max-width: 18vw; */
    text-align: center;
    /* position: relative; */
    overflow: hidden;
    /*padding: 1vh;*/
    /* padding: calc(var(--vh, 1vh) * 1); */
    background-color: var(--bg-color);
}

#earlyquiz_main_container #quiz_grid img {
    width : 70%;
    height: auto;
    /*min-width: 13vw;*/
    /*max-width: 13vw;*/
    /*padding-top: 2vh;*/
    /*padding-top: calc(var(--vh, 1vh) * 2);*/
}

#earlyquiz_main_container .quiz_square_image {
    width: 70%;
    min-width: none !important;
    max-width: none !important;
    padding-top: none !important;
    padding-top: none !important;
}


/*Speech Sound Cues*/

#speechsoundcues {
    display: flex;
    /*flex-direction: column;*/
    height: 100%;
    width: 100%;
    background-color: var(--bg-color);
    border-radius: 30px;
}

#speechsoundcues .left-pane, #speechsoundcues .right-pane {
    padding: 1vw;
    box-sizing: border-box;
}

#speechsoundcues .left-pane {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 14vh;
}

#speechsoundcues .video-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#speechsoundcues .right-pane {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    padding-top: 14vh;
}

#speechsoundcues .text-content {
    margin-bottom: 2vh;
    border-radius: 30px;
    background-color: #d0c8ed;
    padding-right: 1vw;
    padding-left: 1vw;
    overflow-y: auto;
}

/* letter formation */
#letterformation {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    border-radius: 30px;
}

#letterformation .lottie-square {
    height: 85%;
    aspect-ratio: 1 / 1;
}

/*speech sound animation*/
#speechsoundanimation {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    border-radius: 30px;
    overflow: hidden;
}

#speechsoundanimation img {
    height: 90%;
    aspect-ratio: 1 / 1;
}

#speechsoundanimation .corner-image {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 10vw;
    height: auto;
}

#speechsoundanimation .animation-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

#speechsoundanimation .caption {
    margin-top: 2vh;
}
/* colouring in */
#colouring_main_container {
    display: flex;
    gap: 1vh;
    padding: 16px;
    margin: 0 auto;
    align-items: flex-start;
    height: 100%;
    width: 100%;
    background-color: var(--bg-color);
}
#colouring_main_container section:nth-child(1),
#colouring_main_container section:nth-child(3) {
    flex: 0 0 15%;
    height: 100%;
}
#colouring_main_container section:nth-child(2) {
    flex: 1;
    height: 100%;
}
#colouring_main_container .palette {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1vw;
}
#colouring_main_container .swatch {
    width: 44px;
    height: 44px;
    border: 2px solid rgba(0,0,0,0.15);
    cursor: pointer;
}
#colouring_main_container .swatch.selected {
    outline: 3px solid #000;
}
#colouring_main_container svg {
    width: auto;
    height: 80%;
    user-select: none;
}

#colouring_main_container #svgContainer {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-color);
}

#colouring_main_container #svgContainer svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* IOS Like On / Off slider */
/* The switch container */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide the default checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider background */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

/* The knob */
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

/* Checked state */
input:checked + .slider {
    background-color: var(--ct-teal);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Rounded option */
.slider.round {
    border-radius: 34px;
}

/*
 * Chatty Critters
 */
#critters {
    background: var(--bg-color);
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    user-select: none;
}

#critters .row {
    display: flex;
    align-items: center;  /* vertical middles line up */
    justify-content: center;
    gap: 3vw;            /* spacing between images */
    /*width: 90%;*/
}

#critters .cell {
    display: flex;
    flex-direction: column;
    align-items: center;   /* centers horizontally */
}

#critters .large {
    width: 30vw;   /* left/right size */
    /*display: block;*/
}

#critters .small {
    width: 10vw;   /* smaller middle image */

}

#critters .tiny {
    width: 8vw;    /* 20% of right image's width */
    margin-top: 3vh;
    display: block;
}

#critters .phoneme {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
}

#critters .critterphonemeText,
#critters .critterphonemeLiteral {
    padding : 1vw;
}

#critters .critter-slot {
    width: 30vw;
    overflow: hidden;
    position: relative;
}

#critters .critter-slot img {
    width: 100%;        /* images scale to fit slot width */
    display: block;
}

#critters .targetLetter {
    font-size: 25rem;
    width: 30vw;
    text-align: center;
}

#critters .smallTargetLetter {
    font-size: 15rem;
    width: 20vw;
    text-align: center;
}

#critters .smallPlusSign {
    width: 5vw;
    text-align: center;
}
