.interactive-canvas {
    width: 100%;
}

.interactive {
    background: #ccf;
    position: relative;
}
.interactive:not(.guided)>*:not(.curtain){
    filter: blur(3px);
    transition: filter .1s;
}
.interactive-slider .interactive:not(.guided)>*:not(.curtain){
    filter: blur(0);
}
.interactive.notblured>*:not(.curtain){
    filter: blur(0px);
    transition: filter .1s;
}
.interactive:not(.guided):hover>*:not(.curtain){
    filter: blur(0px);
}
.interactive.guided{
    overflow: hidden;

}
.interactive.guided .show-guides{
    font-size: 24px;
    color: white;
    background: linear-gradient(darkblue, blue);
    border: 2px solid white;
    border-radius: 100%;
    display: inline-block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
}
.interactive .selected-guide{
    position: relative;
    box-shadow: 0 0 1500px 1500px rgba(0,0,0,0.8) !important;
    z-index: 9898;
    /* transform: all 1s; */
}
.interactive .selected-guide.inset{
    box-shadow: 0 0 1500px 1500px rgba(0,0,0,0.8), inset 0 0 8px 5px  rgba(0,0,0,0.8)  !important;
}
.interactive .interactive-guide, .interactive .interactive-guide h4{
    color: white;
    padding: 0;
    background: none;
}
.interactive .interactive-guide .btn{
    margin-right: 15px;
}
.interactive .interactive-guide [data-step]{
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left : 0;
    z-index: 9999;
    padding-right: 50px
}

.interactive .curtain {
    position: absolute;
    height: 100%;
    width: 100%;
    text-align: center;
    padding: 100px 50px;
    color: #f00;
    /*font-size: 4vw;*/
    font-size: 48px;
    font-weight: bold;
    top: 0;
    -webkit-text-stroke: 1px #ccccff;
    line-height: 48px;
}

@media (-webkit-min-device-pixel-ratio: 1.5),
(min-resolution: 144dpi) {
    .interactive-canvas {
        transform: translateZ(0) scale(1);
        transform-origin: center center;
    }
}

.interactive table {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

.interactive table td, .interactive table th {
    border: 1px solid #ddd;
    padding: 8px;
}

.interactive table:not(.not-dashed) tr:nth-child(even) {
    background-color: #f2f2ff;
}

.interactive table tr:hover {
    background-color: #e2e2ff;
}

.interactive table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #4C50AF;
    color: white;
}

.interactive label {
    display: block;
}

#sum-of-interior-angles-triangle table {
    /*width: 30%;*/
    /*position: absolute;*/
    /*top: 0;*/
    /*right: 15px;*/
}

#sum-of-interior-angles-triangle2 table {
    width: 30%;
    position: absolute;
    top: 0;
    right: 15px;
}

#sum-of-interior-angles-triangle2 #attract-checkbox {
    position: absolute;
    right: 15px;
    bottom: 0;
}

#sum-of-interior-angles-triangle2 table td:nth-child(2n+1) {
    font-weight: bold;
}
.interactive-angles-table td:nth-child(2n+1){
    font-weight: bold;
}
.degree:after{
    font-size: 1.4rem;
    content: '°';
}
.interactive td.dark{
    background: #1a1544;
}
.padding15{
    padding: 0 15px;
}
.grabbing{
    cursor: grabbing !important;
}
#parallel-lines-cut-transversal table td{
    text-shadow: 0 0 2px #fff,0 0 2px #fff,0 0 2px #fff,0 0 2px #fff,0 0 2px #fff,0 0 2px #fff,0 0 2px #fff,0 0 2px #fff;
    color: darkblue;
}
#parallel-lines-cut-transversal table td,#parallel-lines-cut-transversal table th{
    transition: all .2s;
}
input:checked~*{
    font-weight: bold;
}

.copy-btn{
    transition: all .2s;
    width: 100%;
    /*margin-top: 15px;*/
    /*margin-bottom: 15px;*/
}
.copy-btn:hover{
    opacity: 1;
}

#interactive-vertical-angles table td{
    background: #ccf;
}
#interactive-vertical-angles table tr{
    transition: all .1s;
}
.interactive .divider {
    border-top: 1px solid #fff;
    height: 0px;
    margin: 10px 0;
    width: 100%;
}
.with-arc{
    display: inline-block;
    position: relative;
}
.with-arc:before{
    content: '';
    display: inline-block;
    width: 100%;
    height: 10px;
    position: absolute;
    border-top: 2px solid #306;
    border-top-left-radius: 15px 8px;
    border-top-right-radius: 15px 8px;
}
.magnitude{
    border-top: 2px solid;
}


/* Interactive slider */
.interactive-slider.index-slider{
    /*width: 728px;*/
    max-width: 100%;
    /*width : calc(100% - 300px);*/
}
.interactive-container{
    width: calc(100% - 378px);
}
.interactive-adv {
    width: 348px;
}
.interactive-container + .interactive-adv {
    margin-left: 30px;
}
/* @media only screen and (max-width: 1310px) {
    .interactive-container{
        width: calc(100% - 195px);
    }
    .interactive-adv{
        width: 175px;
    }
    .interactive-container + .interactive-adv {
        margin-left: 20px;
    }
} */
@media only screen and (max-width: 1309px) {
    .interactive-container{
        width: 100%;
    }
    .interactive-adv{
        display: none;
    }
}


.interactive-slider{
    /*height: 500px;*/
    background: #ccf;
    position: relative;
    padding: 10px 30px 00px;
    overflow: hidden;
    border: 1px solid #b9bdf7;

}
.interactive-slider .loading-area{
    position: absolute;
    height: 480px;
    width: 100%;
    text-align: center;
    left: 0;
    top: 0;
}
.interactive-slider .loading-area>.far{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 52px;
}
.interactive-slider .loading-area>img{
    filter: blur(4px);
    width: 90%;
    /*height: 100%;*/
}
.interactive-slider .slider-btn{
    background: #ccf;
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    outline: none;
    cursor: pointer;
    transition: all .2s;
    height: 54px;
    overflow: hidden;
    border: 1px solid #8DAEE7;
    color: #428bca;
    padding: 0px 10px;
    z-index: 9999;
}
.interactive-slider .slider-btn.slider-left{
    left: 0;
    border-radius: 0 4px 4px 0;
    border-left: 0;
}
.interactive-slider .slider-btn.slider-right{
    border-radius: 4px 0 0 4px;
    right: 0;
    border-right: 0;
}
.interactive-slider .slider-btn:disabled:active{
    cursor: not-allowed;
    opacity: 0.1;
}

.interactive-slider .slider-btn:hover:enabled{
    height: 84px;
    border: 1px solid #428bca;
    box-shadow: 0 0 4px #428bca;
    background: #bbe;
}
.interactive-slider .slider-btn:active{
    background: #aad;
}
.interactive-slider .slider-btn span{
    float: left;
    padding: 0;
    margin: 0;
}
.interactive-slider .slider-btn .btn-arrow{
    width: 15px;
    line-height: 54px;
    transition: all .2s;
    font-size: 24px;
}
.interactive-slider .slider-btn:hover:enabled .btn-arrow{
    line-height: 84px;
}
.interactive-slider .slider-btn .btn-text {
    width: 0;
    overflow: hidden;
    transition: all .2s;
    line-height: 18px;
}
.interactive-slider .slider-btn:hover:enabled .btn-text {
    width: 150px;
    height: 100%;
    padding: 10px;
}
.interactive-slider .btn-img{
    width: 0;
    height: 0;
    transition: all .2s;
}
.interactive-slider .slider-btn:hover:enabled .btn-img{
    width: 120px;
    height: 64px;
    margin: 10px;
}

.interactive-slider .slider-imgs {
    height: 100%;
    width: 100%;
    min-height: 500px;
}
.interactive-slider  img{
    max-height: 100%;
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
}

.interactive-slider .slider-thumbs{
    background: #bbe;
    overflow: hidden;
    margin: 10px -30px 0;
    padding: 0 20px;
}
.interactive-slider .slider-window{
    width: 100000px;
    overflow: hidden;
    padding: 8px 0 8px;
}
.interactive-slider .slider-thumb{
    float: left;
    position: relative;
    height: 80px;
    width: 160px;
    border: 2px solid #00000000;
    margin-right: 10px;
    text-align: center;
    background: #ccf;
    cursor: pointer;
    transition: all .2s;

}
.interactive-slider .slider-thumb span {
    display: none;
}
.interactive-slider .slider-thumb.active span{
    display: block;
    position: absolute;
    padding: 10px;
    left: 0;
    color: #fff;
    height: 100%;
    width: 100%;
    background: #333333ee;
    transition: all .2s;
}

.interactive-slider .slider-thumb.active{
    border: 2px solid #aad;
    transform: scale(1.15);
    z-index: 10;
}
.interactive-slider .curtain{
    display: none !important;
}
#iframe-footer{
    background: #bbe;
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 0;
}
.iframe .row.padding15, .iframe .row.interactive{
    margin-left: 0;
    margin-right: 0;

}
.interactive .drag-note,
#rotations-in-math .drag-note{
    position: absolute;
    font-size: 32px;
    background: #ccccff;
    width: 70%;
    text-align: center;
    bottom: 200px;
    left: 50%;
    transform: translateX(-50%);
    border: #3b5d6b 4px solid;
    color : #3b5d6b;
    border-radius: 8px;
    padding: 15px;
    line-height: 42px;

}
.interactive .drag-note-container{
    position: absolute; height: 100%; width: 100%; top:0; left:0
}
#rotations-in-math .steps  h5{
    padding: 5px;
}
.geo-mean-rel{
    position: absolute;
    top : 15px;
    right : 15px;
    width :40%;
    font-size: 22px;


}
.interactive .side1 { color : orange;}
.interactive .side2 { color : yellow;}
.interactive .altitude { color : red;}
.interactive .leg1 { color : blue;}
.interactive .leg2 {
    color : green;
}

#reflections-in-math-x,#reflections-in-math-y,#reflections-in-math-yx,#reflections-in-math-y-x{
    width: 500px;
}

@media only screen and (max-width: 760px) {
    .interactive .drag-note, #rotations-in-math .drag-note{
        bottom: 50px;
        font-size: 24px;
        padding: 5px;
    }
}
#steps-tabs{
    top:-57px;position: absolute;
    width: 250px;

}
@media only screen and (max-width: 570px) {
    #steps-tabs {
        top: 0px;
        position: static;
    }
    #reflections-in-math-x,#reflections-in-math-y,#reflections-in-math-yx,#reflections-in-math-y-x{
        width: 350px;
    }

    .geo-mean-rel {
        font-size: 18px;
    }
}

#visual-fractions .divider{
    border-top: 3px solid darkblue;
}
#visual-fractions input{
    font-size: 24px;
    text-align: center;
}
#output-fraction{
    font-size: 34px;
    position: relative;
    color: darkblue;
    display: flex;
    align-items: center;
    height: 100px;
    line-height: 40px;
}
#output-fraction .frcn{
    display: inline-block;
    text-align: center;
    position: relative;
}
#output-fraction .frcn::before{
    content: '';
    width: 100%;
    position: absolute;
    display: block;
    border: 1px solid darkblue;
    top: 50%;
}