﻿
html {
    background: linear-gradient(90deg, rgba(23,86,118,1) 0%, rgba(48,124,156,1) 70%, rgba(75,163,195,1) 100%);
    /*background: #b2b2b2;*/
}

/*.mid-blue {
    background-color:#4ba3c480
}

.mid-blue:hover {
    background-color: #4ba3c4;
    opacity:1;
}*/

.x {
    
    /*width:256px;
    min-width:256px;
    max-width: 256px;
    padding: 1em 3em 1em 1em;*/
    margin: 0;
}

.choice-content p {
    margin: 2em 0 0 0
}

.question-ref {
    cursor: pointer;
    margin: 0.2em;
    padding: 1em;
    background-color: #00000010;
}

.question-ref:hover {
    background-color: #00000020;
}


img {
    
}

button.shop {
    padding: 0.5em;
    border-radius: 0.3em;
    margin: 0.25em;
    border-width: 0.05em;
    color: white;
    font-weight: bold;
    font-size: 1em;
}

button {
    border:0;
    padding: 0.5em 1em;
    border-radius: 0.25em;
    margin: 0.25em;
    border-width: 0.05em;
    color: white;
    font-weight: bold;
    background-color:seagreen;
    font-size: 0.75rem
}

    button[disabled] {

        opacity:0.5;
        cursor:not-allowed;

    }
@media (min-width: 768px) {
    button {
        font-size:1rem;
    }
    h4 {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    button {
        font-size: 1.1rem;
    }
    h4 {
        font-size: 1.1rem;
    }
}


@media (min-width: 1280px) {
    button {
        font-size: 1.2rem;
    }
    h4 {
        font-size: 1.2rem;
    }
}

h4 {
    color: #111111c0;
    margin: 0
}

button.resources {

    font-size:0.75em;
    padding:0.25em 0.5em;

}

a.resources {
    font-size: 0.75em;
    padding: 0.25em 0.5em;
    cursor:pointer;
}



.page-selector {
    display:flex;
    flex-direction:column;
    background: #ffffff80;
    border-radius: 0 1em 1em 0;
    margin: 0;
    padding: 1em 0;
    width: 80%
}



.free {
    background-color: seagreen;
}

.partial {
    background-color: darkorange;
}

.expired {
    background-color: indianred;
}

.tags {
    display:flex;
    flex-direction:row;
}

.tag-label {
    
    color: white;
    font-size: 0.5em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    padding: 0.25em 0.5em 0.25em 0;
    border-radius: 0.25em;
    width:auto;
    margin-left:0.5em
}

.tag-label i{
   margin:0 0.3em;
}

.balloon-row span {
    position: relative;
    display: inline-block;
    margin: 30px 10px;
}


.balloon {
    display: inline-block;
    width: 215px;
    height:32px;
    padding: 10px 0 10px 15px;
    font-family: "Open Sans", sans;
    font-weight: 400;
    color: #377D6A;
    background: #efefef;
    border: 0;
    border-radius: 3px;
    outline: 0;
    text-indent: 60px;
    transition: all .3s ease-in-out;
}

    .balloon::-webkit-input-placeholder {
        color: #efefef;
        text-indent: 0;
        font-weight: 300;
    }

    .balloon + label {
        display: inline-block;
        position: absolute;
        border:1px solid cyan;
        top: 8px;
        left: 0;
        bottom: 8px;
        padding: 5px 15px;
        color: orange;
        font-size: 11px;
        height:32px;
        font-weight: 700;
        text-transform: uppercase;
        text-shadow: 0 1px 0 rgba(19, 74, 70, 0);
        transition: all .3s ease-in-out;
        border-radius: 3px;
        background: rgba(122, 184, 147, 0);
    }

        .balloon + label:after {
            position: absolute;
            content: "";
            width: 0;
            height: 0;
            top: 100%;
            left: 50%;
            margin-left: -3px;
            border-left: 3px solid transparent;
            border-right: 3px solid transparent;
            border-top: 3px solid rgba(122, 184, 147, 0);
            transition: all .3s ease-in-out;
        }

    .balloon:focus,
    .balloon:active {
        color: #377D6A;
        text-indent: 0;
        background: #fff;
    }

        .balloon:focus::-webkit-input-placeholder,
        .balloon:active::-webkit-input-placeholder {
            color: #aaa;
        }

        .balloon:focus + label,
        .balloon:active + label {
            color: #fff;
            text-shadow: 0 1px 0 rgba(19, 74, 70, 0.4);
            background: #7ab893;
            transform: translateY(-40px);
        }

            .balloon:focus + label:after,
            .balloon:active + label:after {
                border-top: 4px solid #7ab893;
            }


h3.portal:hover {
    opacity: 0.9;
    background-color: #4ba3c420;
}

h3.portal:hover {
    opacity: 1;
    background-color:#4ba3c480;
}

.searchResultsItem.feature {
    background-color: #4ba3c440;
    border: 1px solid #175676;
}

 .searchResultsItem.feature:hover {
        background-color: #4ba3c440;
    }


.searchResultsItem {
    background-color: #00000020;
 
}

.searchResultsItem:hover {
    background-color :#00000040;
    
}


select {
    font-weight: normal;
    height: 2em;
    margin-right: 0.5em;
}

#pool::-webkit-scrollbar {
    width: 3em;
}

#pool::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 8px rgba(0,0,0,0.5);
    /*-webkit-box-shadow: inset 0 0 3px rgba(255,255,255,0.2);*/
    border-radius: 1.5em;
    /* border:1px solid #ffffff80;*/
    margin-left: 1em;
    /*background-image: url('https://classmathematics.com.au/media/beqh0jih/certificate-bg.png');*/
    background: linear-gradient(180deg, rgba(64,64,64,0.25) 33%, rgba(64,64,64,0.5) 50%, rgba(64,64,64,0.75) 66%, rgba(64,64,64,1) 100%);
}

    #pool::-webkit-scrollbar-track:before {
        content: 'SCROLL';
    }

#pool::-webkit-scrollbar-thumb {
    background-color: #ffffff80;
    /*outline: 0.1em solid #ffffff;*/
    border-radius: 1.5em;
    height: 3em;
    cursor: pointer !important;
    border: 2px outset #00000080;
}

    #pool::-webkit-scrollbar-thumb:hover {
        background-color: #ff8c0080;
        /*outline: 0.1em solid #ffffff;*/
        cursor: pointer !important;
    }


.quiz-preview-pane {
    position: absolute;
    /*top: 136px;*/
    right: 0px;
    width: 55vw;
    background-color: transparent;
    z-index: 99;
    padding: 0 32px;
}


.throbbing {
    width:256px;
    height:256px;
    border:1px solid pink;
    margin:auto;
    display:flex;
}


.throbbing-cw img {

    display:inline-flex;

    color: #00000080;
    -webkit-animation: spin-cw 4s linear infinite;
    -moz-animation: spin-cw 4s linear infinite;
    animation: spin 4s-cw linear infinite;
}

    .throbbing-ccw img {
        display: inline-flex;
        color: #00000080;
        -webkit-animation: spin-ccw 4s linear infinite;
        -moz-animation: spin-ccw 4s linear infinite;
        animation: spin 4s-ccw linear infinite;
    }

@-moz-keyframes spin-cw {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin-cw {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin-cw {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spin-ccw {
    100% {
        -moz-transform: rotate(-360deg);
    }
}

@-webkit-keyframes spin-ccw {
    100% {
        -webkit-transform: rotate(-360deg);
    }
}

@keyframes spin-ccw {
    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}



    .header {
        /* background-color: #175676; */

        position: inherit;
        width: 100%;
        z-index: 4;
    }

    .MathJax {
        font-size: 0.9em;
    }

#pool {
    border-bottom-right-radius: 1em;
    border-top-right-radius: 1em;
    border: 16px solid #808080;
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 90vh;
    background: #808080;
    padding-left: 1.23em
}

.unlicensed-overlay {

    
    min-height:4em;
    display: flex;
    position: absolute;
    opacity: 1;
    z-index: 3;

    color: red;
    border-radius: 0.25em;
    cursor: not-allowed;

    padding: 0;
}

.cart-overlay {
    display: flex;
    position: absolute;
    opacity: 1;
    z-index: 3;
    background: rgb(255,255,255);
    background: -moz-linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%);
    background: -webkit-linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%);
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='rgba(255, 255, 255, 1)', endColorstr='rgba(255, 255, 255, 0)', GradientType=1);
    border-radius: 0.25em;
    padding: 0;
    margin: auto 0;
}


#overlay {
    display: flex;
    position: absolute;
    background: white;
    opacity: 0.7;
    z-index: 1;
    width: 45vw;
    height: 100%;
    color: white;
    border-bottom-right-radius: 1em;
    border-top-right-radius: 1em;
    cursor: not-allowed;
}

#overlay2 {
    display: flex;
    position: absolute;
    background: white;
    opacity: 0.7;
    z-index: 1;
    width: 100%;
    height: 100%;
    color: white;
    border-bottom-left-radius: 1em;
    border-top-left-radius: 1em;
    cursor: not-allowed;
}

#overlay3 {
    display: flex;
    position: absolute;
    background: white;
    opacity: 1;
    z-index: 1;
    width: 100%;
    height: 100%;
    color: white;
    border-bottom-left-radius: 1em;
    border-top-left-radius: 1em;
    cursor: not-allowed;
}


    .debugging {
        background: white;
        padding: 0 0.5em;
        border-radius: 0.1em;
        border: 1px solid pink;
    }


    div.bar {
        height: 100%;
        width: 100%;
        background: #00000010;
        border: 2px dashed #00000020;
    }


    .optionContainer {
        height: 100%;
    }


    .questionOption {
        display: flex;
        margin: 0 0.25em;
        border: 1px solid #00000040;
    }


.optionsMarker {
    font-size: 0.7em;
    font-weight: bold;
    color: #00000040;
    margin: auto 0.5em auto 0.5em;
}


    .optionContainer p {
        font-size: 0.8em;
        margin: 0;
        padding: 0.5em;
        text-align: center;
    }

    .optionContainer p.MathJax {
        font-size: 0.8em;
    }

.grabbable {
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

    /* (Optional) Apply a "closed-hand" cursor during drag operation. */
.qpoolq:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}


.qpoolq {
    cursor: grab;
    /*border: 2px solid white;*/
    border-radius: 1em;
    box-shadow: 0 0 0.25em rgba(0,0,0,0.25);
    /*background: white;*/
    margin: 0.5em;
    max-width: 788px;
    border: solid 10px #ffffff80;
    clip-path: polygon( calc(0% + 5px) calc(0% + 5px), /* top left */
    calc(100% - 5px) calc(0% + 5px), /* top right */
    calc(100% - 5px) calc(100% - 5px), /* bottom right */
    calc(0% + 5px) calc(100% - 5px) /* bottom left */
    );
    transition: clip-path 0.5s ease-in-out;
}

    .qpoolq:hover {
        
        
        /*border: 2px solid limegreen;*/
        box-shadow: 0 0 1.5em rgba(255,255,255,0.5);
        background: white;
        
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .qpoolh {
        font-size: 0.9em;
        font-weight: bold;
        color: white;
        background: #00000080;
        border-top-left-radius: 0.3em;
        border-top-right-radius: 0.3em;
    }

    .qpoolh:before {
        border: 1px solid pink;
    }


    .qpoolh span.topic {
        text-transform: uppercase;
        font-size: 0.7em;
        font-weight: normal;
        margin: auto;
    }


    .qpoolf {
        font-size: 0.9em;
        font-weight: normal;
        background-color: #ffffff;
    }

    .qpoolf div.topic {
        text-transform: uppercase;
        font-weight: normal;
        margin: auto;
    }

    p {
        margin-bottom: 0;
    }



.gu-mirror {

    position: fixed !important;
    margin: 0 !important;
    z-index: 9999 !important;
    opacity: .8
}

    .gu-hide {
        display: none !important
    }

.gu-unselectable {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important
}

.gu-transit {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
    opacity: .2
}

    .wrapper, html, body, main, section {
        height: 100%;
        margin: 0;
    }

    button.byo {
        border: 1px solid #000000FF;
        border-radius: 0.25em;
        margin: 0.25em;
        background: #00000080;
        color: white;
        font-size: 0.8em;
        padding: 0.5em 1em
    }

    div#pp {
        background: white;
        display: block;
        /*box-shadow: 0 0 0.5cm rgba(0,0,0,0.5);*/
        height: 1250px;
        width: 884px;
        max-height: 1250px;
        max-width: 884px;
        padding: 2em;
        margin: 0 auto;
    }

    #ppInner {
        display: flex;
        width: 100%;
        height: 100%;
        margin: 0;
    }

#preview-pane {
    border-top-width: 0px;
    border: 16px solid transparent;
    border-bottom-right-radius: 1em;
    border-bottom-left-radius: 1em;
    border-top-left-radius: 1em;
    overflow: hidden;
    max-height: 100%;
    background-color: #ffffff80;
    max-width: 100%;
    margin: 0 auto;
    overflow-y: auto;
    overflow-x: hidden;
}

.bouncingball {
    width: 70px;
    height: 70px;
    border-radius: 100%;
    background: darkorange;
    color:white;
    animation: bounce 1s;
    transform: translateY(0px);
    animation-iteration-count: infinite;
    position: absolute;
    margin:0 1em 0 1em;
}

@keyframes bounce {
    0% {
        top: 0;
        -webkit-animation-timing-function: ease-in;
    }

    40% {
    }

    50% {
        top: 70px;
        height: 70px;
        -webkit-animation-timing-function: ease-out;
    }

    55% {
        top: 90px;
        height: 50px;
        -webkit-animation-timing-function: ease-out;
    }

    65% {
        top: 60px;
        height: 70px;
        -webkit-animation-timing-function: ease-out;
    }

    95% {
        top: 0;
        -webkit-animation-timing-function: ease-in;
    }

    100% {
        top: 0;
        -webkit-animation-timing-function: ease-in;
    }
}

/*
    byo button
*/

@keyframes TransitioningBackground {
    0% {
        background-position: 1% 0%;
    }

    50% {
        background-position: 99% 100%;
    }

    100% {
        background-position: 1% 0%;
    }
}

.byo-button {
    padding:0.9em 2.2em;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-align: center;
     border-radius: 5px;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(270deg, #8e9ac2, #42579a);
    background-size: 400% 400%;
    animation: TransitioningBackground 10s ease infinite;
    transition: 0.46s;
}

    .byo-button::before {
        content: "";
        display: block;
        position: absolute;
        background: rgba(255, 255, 255, 0.5);
        width: 60px;
        height: 100%;
        top: 0;
        filter: blur(30px);
        transform: translateX(-100px) skewX(-15deg);
    }

    .byo-button::after {
        content: "";
        display: block;
        position: absolute;
        background: rgba(255, 255, 255, 0.2);
        width: 30px;
        height: 100%;
        top: 0;
        filter: blur(5px);
        transform: translateX(-100px) skewX(-15deg);
    }

    .byo-button:hover {
        background-image: linear-gradient(to left, #2d8fe5, #d155b8);
        transform: scale(1.1);
        cursor: pointer;
    }

        .byo-button:hover::before, .byo-button:hover::after {
            transform: translateX(300px) skewX(-15deg);
            transition: 0.7s;
        }




.info-button {
    color: white;
    font-weight: bold;
    background-color: darkorange;
    border-radius: 0.25em;
    font-size: 0.65em;
    padding: 0.325em;
    margin: 0;
    display: flex;
    flex-direction: row
}

.info-button-login {
    color: white;
    font-weight: bold;
    background-color: seagreen;
    border-radius: 0.25em;
    font-size: 0.65em;
    padding: 0.325em;
    margin: 0;
    display: flex;
    flex-direction: row
}

.info-button-processing {
    color: white;
    font-weight: bold;
    background-color: indianred;
    border-radius: 0.25em;
    font-size: 0.65em;
    padding: 0.325em;
    margin: 0;
    display: flex;
    flex-direction: row
}

.info-header {
    color:white;
    font-weight:bold;
    background-color:darkorange;
    border-radius: 0.5em;
    font-size:1.3em;
    padding:0.65em;
    margin:0;
    display:flex;
    flex-direction:row
}


.purchasing-panel {

    border:1px solid silver;
    border-radius:0.25em;
    margin:0;
    padding:0.5em;
    
}
    .purchasing-panel H1.shopify-buy__product__title {

        margin:0.25em 0;
        font-size:1em;

    }

.studentResultPanel {
    border-top: 2px solid #00000020;
    background-color: white;
    padding: 1em;
    margin-top:1em;
    border-radius: 0
}

    .studentResultPanel > h2 {
        font-size: 1.4em;
        margin: 0.5em 0 1em;
        color: #00000080;
        text-align: center;
    }


.studentResultRadio {
    border: 1px solid #ffffff;
    border-radius: 0.5em;
    padding: 0.5em;
    background-color:#ffffff80;
}

.studentResultRadio label {
    width:100%;
    font-size:110%;
    letter-spacing:-1px;
    color:white;
    border:1px solid white;
    border-radius:0.5em;
    padding:1em 0.5em;
    display:flex;
}



.h label {
    font-size: 125%;
    letter-spacing: -1px;
    color: white;
    border: 1px solid white;
    border-radius: 0.5em;
    padding: 0.5em;
    display: flex;
    min-width: 2.3em;
    max-width: 2.3em;
    float:left;
}


.studentResultRadio input{
    opacity: 0;
    width: 0;
    height: 0;
}

  



.studentResultRadio input:checked span.radio__control::before {
    content: "";
    width: 0.5em;
    height: 0.5em;
    
    border-radius: 50%;
    transition: 180ms transform ease-in-out;
    transform: scale(0);
}



    .studentResultRadio span:first-of-type {

       margin-right:0.5em;

    }

.h span:first-of-type {
    margin: 0;
}


.radio__control {
    display: block;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    border: 0.1em solid white;

 }

.studentResultRadio input:checked + .radio__control {
    background: white;
    transform:scale(1);
}

