html, body {
    height: 100%;
    font-family: 'Barlow', sans-serif;
    /*background: rgb(239, 235, 233);*/
    /*background: linear-gradient(to left top, #c0dce9, #fff); */
}

#main-wrapper {
    min-height: 100%;
    padding-top: 7em;
    /*max-width: 90em;*/
    /*padding-top: 0;*/
    /*margin-bottom: 4em;*/
}


body.body-renderer > footer {
    display: none;
}

.slideout-fixed-bar {
    padding: 0 !important;
}

.slideout-menu-button {
    position: absolute !important;
    top: 12px;
    left: 0;
}

#login-register-wrapper {
    position: absolute !important;
    top: 0;
    right: 0;
    margin-top: 0.5%;
}
#courseName {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 25px;
    margin: 0;
    width: auto;
    display: inline-block;
    /*padding: 0.15em 0.35em;*/
    /*background: linear-gradient(to top left,#79c2ba,#7cbbbd);*/
    /*    background: linear-gradient(to top left,#bc7063,#8f352f);*/
    /*  background: linear-gradient(to top left,#aabd6b,#aeda97);*/
    /*box-shadow: 0 1px 2px rgba(85, 85, 85, 0.3);*/
    color: white;
    border-radius: 1px;
    cursor: pointer;
    /*    text-transform: uppercase;*/
    /*letter-spacing: -1px;*/
}

#courseName > span {
    font-weight: 700;
}


#coursePic {
    height: 48px;
    margin: -1.15em 0 0 0.25em;
    display: none;
}

#renderer-container {
    display: flex;
    align-items: flex-start;
    margin-top: 1em;
    z-index: 1;
    position: relative;
}

#left-side {
    padding: 0;
    width: 77%;
}


#renderer {
    position: relative;
    background: white;
    max-width: 100%;
    width: 100%;
    margin-top: 1em;
    border-radius: 18px;
    border: 4px solid #fdd619;
    padding: 0px !important;
    overflow: hidden;
    transition: transform 0.8s;
}

.hide-up {
    transform: translate3d(0px, -90vh, 0px);
}

#fruit-basket {
    background: transparent;
    border: none;
    max-width: 120px;
    z-index: 1;
    position: absolute;
    top: -30px;
    right: -125px;
    margin: 0 auto;
    transition: opacity 0.2s;
    animation: shake 5s ease-in-out both infinite;
}

#seeNavbarBtn {
    font-size: 1.5em;
    cursor: pointer;
    color: #555;
}

#seeNavbarBtn:hover {
    color: #4d91b3;
}

#seeNavbarBtn:active {
    color: #c9c5c3;
}

#nav-dropdown {
    display: none;
    position: absolute;
    transform: translateY(22%) translateX(-87%);
    top: 24px;
    right: 5.5em;
    border-radius: 4px;
    box-shadow: 0 2px 2px rgba(0,0,0,0.15);

}
.filter-svg {
    background: none;
    pointer-events: none;
}
.hide-row{
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
}
.nav-dropdown-open {
    display: inline-flex !important;
}
.congrats-container{
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    top:0;
    height:calc(100% + 64px);
    Width:calc(100% + 64px);
    z-index: 9999;
    margin: -32px;
}
.congrats-container-display{
    display: flex !important;
}
.congrats-overlay{
    display: none;
    background: #01e5ae;
    position:absolute;
    top:0;
    opacity: 0.7;
    height:100%;
    Width:100%;
    z-index: 1;
}

.congrats-text{
    display: none;
    margin: 32px;
    padding: 16px;
    padding-right: 24px;
    padding-left: 24px;
    font-weight: 500;
    text-align: center;
    color: #444;
    position: relative;
    background: #fdd619;
    border-radius: 5px;
    z-index: 10;
    font-size: 35px !important;
}

.congrats-text:after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-left-color: #fdd619;
    border-right: 0;
    border-bottom: 0;
    margin-top: -10px;
    margin-right: -20px;
}

.congrats-ari{
    max-height: 350px;
    height: 70%;
    transform: translate(0,10%);
    z-index: 10;
}

.congrats-owl{
    position: absolute;
    width: 141px;
    top: 70%;
    left: -250px;
    transition: all 0.5s ease-out;
}

.congrats-owl-active{
    transform: translate(200px, 0px);
}

.congrats-owl-inactive{
    transform: translate(0, 0);
}

#nav-dropdown div {
    background-color: white;
    margin: 0.5em 0.25em;
    float: left;
}

#nav-dropdown div .btn {
    color: #2b2b2b;
    font-size: 1.3em;
    text-transform: uppercase;
    padding: 0.2em 0.5em 0.4em;
    border-radius: 1px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
    background: url('/resources/web/local/images/arrow_down.svg') no-repeat right center content-box;
    width: 160px;
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    font-size: 1.1em;
    left: auto;
    /*min-width: inherit;*/
    width: inherit;
    text-align: center;
    margin: 0;
    border: 0 solid;
    border-radius: 0;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
}

/*.arrow-down, .arrow-down-last  {*/
/*    margin: 8px 0 0 -23px;*/
/*    position: absolute;*/
/*    color: #333;*/
/*    pointer-events: none;*/
/*}*/

/*.arrow-down-last {*/

/*    right: 9px;*/
/*}*/

/*.arrow {*/
/*    margin: 0 ;*/
/*    width: 10px;*/
/*    color: #b9b9b9;*/
/*}*/

/*.rotation .arrow {*/
/*    !*animation: rotate-90 0.5s forwards;*!*/
/*}*/

/*@keyframes rotate-90 {*/
/*    from {transform: rotate(90deg);}*/
/*    to {transform: rotate(0deg);}*/
/*}*/

/*.rotation:hover .arrow {*/
/*    !*animation: rotate90 0.5s forwards;*!*/
/*}*/

/*@keyframes rotate90 {*/
/*    from {transform: rotate(0deg);}*/
/*    to {transform: rotate(90deg);}*/
/*}*/

@keyframes coaching-comrade-shake {
    75%  { transform: rotate(0deg);  }
    80%  { transform: rotate(5deg);  }
    85%  { transform: rotate(-5deg); }
    90%  { transform: rotate(5deg);  }
    95%  { transform: rotate(-5deg); }
    100% { transform: rotate(0deg);  }
}

/* ----------------------------------------------
 * Generated by Animista on 2020-6-30 13:51:51
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation jello-horizontal
 * ----------------------------------------
 */
@-webkit-keyframes jello-horizontal {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
    30% {
        -webkit-transform: scale3d(1.25, 0.75, 1);
        transform: scale3d(1.25, 0.75, 1);
    }
    40% {
        -webkit-transform: scale3d(0.75, 1.25, 1);
        transform: scale3d(0.75, 1.25, 1);
    }
    50% {
        -webkit-transform: scale3d(1.15, 0.85, 1);
        transform: scale3d(1.15, 0.85, 1);
    }
    65% {
        -webkit-transform: scale3d(0.95, 1.05, 1);
        transform: scale3d(0.95, 1.05, 1);
    }
    75% {
        -webkit-transform: scale3d(1.05, 0.95, 1);
        transform: scale3d(1.05, 0.95, 1);
    }
    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}
@keyframes jello-horizontal {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
    30% {
        -webkit-transform: scale3d(1.25, 0.75, 1);
        transform: scale3d(1.25, 0.75, 1);
    }
    40% {
        -webkit-transform: scale3d(0.75, 1.25, 1);
        transform: scale3d(0.75, 1.25, 1);
    }
    50% {
        -webkit-transform: scale3d(1.15, 0.85, 1);
        transform: scale3d(1.15, 0.85, 1);
    }
    65% {
        -webkit-transform: scale3d(0.95, 1.05, 1);
        transform: scale3d(0.95, 1.05, 1);
    }
    75% {
        -webkit-transform: scale3d(1.05, 0.95, 1);
        transform: scale3d(1.05, 0.95, 1);
    }
    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

/* ----------------------------------------------
 * Generated by Animista on 2020-8-12 16:14:16
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation wobble-hor-bottom
 * ----------------------------------------
 */
@-webkit-keyframes wobble-hor-bottom {
    0%,
    20% {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
    }
    3% {
        -webkit-transform: translateX(-8px) rotate(-6deg);
        transform: translateX(-8px) rotate(-6deg);
    }
    6% {
        -webkit-transform: translateX(5px) rotate(6deg);
        transform: translateX(5px) rotate(6deg);
    }
    9% {
        -webkit-transform: translateX(-5px) rotate(-3.6deg);
        transform: translateX(-5px) rotate(-3.6deg);
    }
    12% {
        -webkit-transform: translateX(3px) rotate(2.4deg);
        transform: translateX(3px) rotate(2.4deg);
    }
    15% {
        -webkit-transform: translateX(-2px) rotate(-1.2deg);
        transform: translateX(-2px) rotate(-1.2deg);
    }
}
@keyframes wobble-hor-bottom {
    0%,
    20% {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
    }
    3% {
        -webkit-transform: translateX(-8px) rotate(-6deg);
        transform: translateX(-8px) rotate(-6deg);
    }
    6% {
        -webkit-transform: translateX(5px) rotate(6deg);
        transform: translateX(5px) rotate(6deg);
    }
    9% {
        -webkit-transform: translateX(-5px) rotate(-3.6deg);
        transform: translateX(-5px) rotate(-3.6deg);
    }
    12% {
        -webkit-transform: translateX(3px) rotate(2.4deg);
        transform: translateX(3px) rotate(2.4deg);
    }
    15% {
        -webkit-transform: translateX(-2px) rotate(-1.2deg);
        transform: translateX(-2px) rotate(-1.2deg);
    }
}
/* ----------------------------------------------
 * Generated by Animista on 2021-1-25 12:45:11
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation wobble-ver-left
 * ----------------------------------------
 */
@-webkit-keyframes wobble-ver-left {
    0%,
    100% {
        -webkit-transform: translateY(0) rotate(0);
        transform: translateY(0) rotate(0);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
    }
    15% {
        -webkit-transform: translateY(-30px) rotate(-6deg);
        transform: translateY(-30px) rotate(-6deg);
    }
    30% {
        -webkit-transform: translateY(15px) rotate(6deg);
        transform: translateY(15px) rotate(6deg);
    }
    45% {
        -webkit-transform: translateY(-15px) rotate(-3.6deg);
        transform: translateY(-15px) rotate(-3.6deg);
    }
    60% {
        -webkit-transform: translateY(9px) rotate(2.4deg);
        transform: translateY(9px) rotate(2.4deg);
    }
    75% {
        -webkit-transform: translateY(-6px) rotate(-1.2deg);
        transform: translateY(-6px) rotate(-1.2deg);
    }
}
@keyframes wobble-ver-left {
    0%,
    100% {
        -webkit-transform: translateY(0) rotate(0);
        transform: translateY(0) rotate(0);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
    }
    15% {
        -webkit-transform: translateY(-30px) rotate(-6deg);
        transform: translateY(-30px) rotate(-6deg);
    }
    30% {
        -webkit-transform: translateY(15px) rotate(6deg);
        transform: translateY(15px) rotate(6deg);
    }
    45% {
        -webkit-transform: translateY(-15px) rotate(-3.6deg);
        transform: translateY(-15px) rotate(-3.6deg);
    }
    60% {
        -webkit-transform: translateY(9px) rotate(2.4deg);
        transform: translateY(9px) rotate(2.4deg);
    }
    75% {
        -webkit-transform: translateY(-6px) rotate(-1.2deg);
        transform: translateY(-6px) rotate(-1.2deg);
    }
}


.wobble-hor-bottom {
    -webkit-animation: wobble-hor-bottom 1.5s ease-out both;
    animation: wobble-hor-bottom 1.5s ease-out both;
}

.slide-out-bck-center {
    -webkit-animation: slide-out-bck-center 1.5s ease-out both;
    animation: slide-out-bck-center 1.5s ease-out both;
}

.wobble-ver-left {
    -webkit-animation: wobble-ver-left 0.8s 0.5s both;
    animation: wobble-ver-left 0.8s 0.5s both;
}

/* ----------------------------------------------
 * Generated by Animista on 2021-1-5 10:56:57
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-out-bck-center
 * ----------------------------------------
 */
@-webkit-keyframes slide-out-bck-center {
    0% {
        opacity: 1;
        width: 38px;
    }
    100% {
        opacity: 0;
        width: 20px;
    }
}
@keyframes slide-out-bck-center {
    0% {

        opacity: 1;
        width: 38px;
        /*transform: rotate(0deg);*/
        /*scale: 1;*/
    }
    100% {
        opacity: 0;
        /*transform: rotate(-360deg);*/
        width: 20px;
        /*scale: 0.5;*/
    }
}

.shake-horizontal {
    -webkit-animation: shake-horizontal 2.1s ease-in-out both infinite;
    animation: shake-horizontal 2.1s ease-in-out both infinite;
}


@-webkit-keyframes shake-horizontal {
    0% {
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
    }
    65% {
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
    }
    70% {
        -webkit-transform: translateX(8px);
        transform: translateX(8px);
    }
    75% {
        -webkit-transform: translateX(-8px);
        transform: translateX(-8px);
    }
    80% {
        -webkit-transform: translateX(8px);
        transform: translateX(8px);
    }
    85% {
        -webkit-transform: translateX(-8px);
        transform: translateX(-8px);
    }
    90% {
        -webkit-transform: translateX(6px);
        transform: translateX(6px);
    }
    95% {
        -webkit-transform: translateX(-6px);
        transform: translateX(-6px);
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

}
@keyframes shake-horizontal {
    0% {
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
    }
    65% {
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
    }
    70% {
        -webkit-transform: translateX(8px);
        transform: translateX(8px);
    }
    75% {
        -webkit-transform: translateX(-8px);
        transform: translateX(-8px);
    }
    80% {
        -webkit-transform: translateX(8px);
        transform: translateX(8px);
    }
    85% {
        -webkit-transform: translateX(-8px);
        transform: translateX(-8px);
    }
    90% {
        -webkit-transform: translateX(6px);
        transform: translateX(6px);
    }
    95% {
        -webkit-transform: translateX(-6px);
        transform: translateX(-6px);
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
}


#plus-exercise-tag {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: #f8d54e;
    height: 25px;
    width: 66px;
    display: inline-block;
    line-height: 25px;
    text-align: center;
    border-radius: 3px;
    font-weight: bold;
    font-variant: small-caps;
    margin-left: 25px;
    transition: all 400ms ease;
    width: 0;
}

#learningObjectDescription {
    margin: 0 0.4em 0.35em;
    padding: 0.45em 0 0.25em 0.75em;
    font-size: 0px;
    max-width: 88%;
    display: inline-block; /*Temporary setting*/
}

#exercise-finished {
    display: inline-block;
    max-height: 1.5em;
    vertical-align: text-bottom;
}

#exerciseNumber {
    position: absolute;
    top: 0;
    right: 12px;
    font-size: 1.15em;
    color:gray;
    background: rgba(255, 255, 255, 0.77);
    padding:5px;
}

#exerciseCounter {
    position: absolute;
    left: 4px;
    top: 5px;
    font-size: 1.5rem;
    transform: rotate(-25deg);
    z-index: 1;
}
#right-side {
    /*margin-top: 3.55em;*/
    padding-left: 10px;
    padding-right: 4px;
}

#search-tools {
    text-align: center;
}

#search-tools div button, #search-tools div a  {
    color: #418db2;
    background: white;
    font-size: 1em;
    width: 100%;
    border-radius: 2px !important;
    padding: 6px;
}
#search-tools div button:hover, #search-tools div a:hover {
    text-decoration: underline;
}

/*Same as .search-button just without the margin top*/
#search-input {
    padding-left: 2px;
    padding-right: 2px;
}

#search-field {
    font-size: 1.3em;
    width: 100%;
    border: 0 solid;
    padding: 0.3em 1em;
}

.search-button {
    margin-top: 4px;
    padding-left: 2px;
    padding-right: 2px;
    flex-grow: 1;
}
#search-buttons {
    display: flex;
}
#resource-center-button-div {
    margin: 0.15em 0;
    padding: 2px;
    text-align: left;
}


.resource-center-button a {
    width: 100%;
    color: #418db2 !important;
    background: white;
    font-size: 1.3em;
    /*width: 100%;*/
    border-radius: 2px !important;
    padding: 6px;
}

.resource-center-button a:hover {
    text-decoration: underline;
    color: #418db2;
}

.resource-center-button a img {
    height: 1em;
}

.resource-center-flex-container {
    display: flex;
    /*max-height: 1em;*/
    align-items: center;
    /*justify-content: space-evenly;*/
}

.resource-center-flex-container img {
    flex-grow: 1;
}

.resource-center-flex-container span {
    flex-grow: 1;
    text-align: left;
}


#submitExercise {
    /*background: #CAE0C1;*/
    padding: 5px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#submitExercise > button {
    border-radius: 10px;
    border: none;
    background: #fdd619ff;
    padding: 6px 9px;
    color: white;
    transition: background 0.2s;
}

#submitExercise > button:hover {
    background: #00b0f0;

}

#infoBtn.active {
    background: #00b0f0;
}

#fruit-counter {
    position: relative;
    z-index: 2;
    max-width: 10%;
    bottom: 22px;
    right: 2px;
    /*-webkit-animation: wobble-hor-bottom 6s infinite both;*/
    /*animation: wobble-hor-bottom 6s infinite both;*/
}

#fruit-points {
    font-weight: 600;
    text-align: right;
    margin: -5px 1rem 0 0;
    font-size: 16px;
}

#course-fruit, #course-fruit-clone {
    margin-right: 12px;
    position: absolute;
    top: 21px;
    right: 0px;
    width: 42px;
    max-height: 55px;
}

#course-fruit-clone {
    transition: transform 2s ease-in;
    transform: translateY(0px);
    will-change: transform;
}
#exercise-container{
    /* Do not put padding here, it interferes with the renderer animation logic!!! */
    margin: 32px;
    min-height: 240px;
    overflow: visible;
    /*display: flex;*/
    /*align-content: center;*/
    /*align-items: center;*/
}

#pageNavBox {
    width: 100%;
    float: left;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*.bd-section {*/
/*    width: 5px;*/
/*    min-width: 5px;*/
/*    height: 8px;*/
/*}*/

/*.bd-lo {*/
/*    width: 8px;*/
/*    min-width: 8px;*/
/*    height: 8px;*/
/*    !*border-radius: 4px;*/
/*    margin-bottom: 9px !important; *!*/
/*}*/
.bubble-div {
    background: #fdd619;
    /*margin: auto 5px;*/
    font-size: 1.6em;
    height: 5px;
    display: flex;
    justify-content: center;
    flex-flow: column;
    text-align: center;
    color: #464646; /* #a8efaa new candidate color */
    float: left;
    cursor: pointer;
    /*z-index: 5;*/
    transition: background 0.2s, min-width 0.2s, margin 0.2s;
    position: relative;
    width: 100%;
}
.bubble-div:first-child {
    border-radius: 4px 0 0 4px;
}

.bubble-div.finished {
    background: #8FD899;
}

.bd-section:hover {
    /*width: 14px;*/
    /*min-width: 14px;*/
    /*height: 24px;*/
    /*margin: auto -4px;*/
    background: #9a4225;
}
/*section indicators*/
.bubble-section {
    position: relative;
    z-index: 6;
    display: flex;
    justify-content: center;
    height: 15px;
    margin-bottom: 8px;
}

.bubble-lesson {

    width: 5px;
    min-width: 5px;
    background: #fdd619;
    z-index: 6;
    margin-right: -2px;
    margin-left: -2px;
    border-radius: 3px 3px 0 0;
}



.bubble-div:hover {
    /*width: 14px;*/
    /*min-width: 14px;*/
    /*height: 24px;*/
    /*margin: auto -4px;*/
    /*border: 1px solid #fdd619;*/
    background: #9a4225;
 /*   background: #fdd619*/
}

.bd-lo:hover {
    /*background: white;*/
    /*width: 12px;*/
    /*min-width: 12px;*/
    /*height: 12px;*/
    /*margin-bottom: 7px !important;*/
}
.bd-selected {
    width: 100%;
    display: flex;
    align-items: center;
    background: #9a4225 !important;
}
.bd-selected:hover {
    background: #9a4225 !important;
}
.bd-done {
    /*background: #00dba1;*/
   /* background: #fdd619;*/
}

.bubble-fruit {
    position: absolute;
    width: 22px;
    bottom: 17px;
    left: -8px;
}
.bubble-fruit img {
    width: 100%;
    margin: 0 auto;
}

.bf-selected {
    /*left: -7px !important;*/
}
.progressFox {
    position: absolute;
    width: 45px;
    /*right: -18px;*/
    bottom: 8px;
    z-index: 10;
}

.progressFox img, .progressFox-lo img {
    width: 60%;
    margin: 20%;
}

.progressFox-lo {
    position: absolute;
    width: 45px;
    bottom: 4px;
    z-index: 10;
}

.prog-line-div {
    display: none;
    width: 0px;
    height: 0px;
    margin: auto -5px;
    float: left;
    z-index: 3;
    /*box-shadow: 0 1px 3px rgb(150, 150, 150);*/
    /*background: linear-gradient(to right, #00dba1 50%, white 50%) right;*/
    background: #fdd619;
    background-size: 200% 100%;
    transition: background-position 2s ease, background 0.2s;
}

.pl-done {
    /*background: #b6dba7;*/
    background-position: left;
}


#betaBugReportBtn {
    float: right;
}

#previous-next {
    margin: 0 auto 0.3em;
    display: flex;
    width: 100%;
    transition: transform 0.8s;
    z-index: 0;
    position: relative;
}
/*.prev-button {*/
/*    padding: 2em;*/
/*}*/
.prev-button, .submit-button {
    grid-row-start: 3;
    background-color: transparent !important;
}

.submit-button img {
    scale: 115%;
}
.submit-button {
    margin-left: 1em;
}

.next-button {
    float:right;
    margin-left: 5px;
}

.item-hidden {
    display: none !important;
}



.jello-horizontal {
    animation: jello-horizontal 0.9s;
    -webkit-animation: jello-horizontal 0.9s;
}

.close-button {
    background: #f79b99 !important;
    color: #613131 !important;
    border: 3px solid #f7bbb0 !important;
    margin-left: 5px;
    padding: 8px 22px 0px 22px;
    font-size: 12%;
    grid-row-start: 3;
}

#previousExercise, #nextExercise {
    outline: none;
}


#left-arrow, #right-arrow {
    display: inline-block;
    margin-top: 10vh;
    padding: 16px 0 0;
    transition: all 0.2s ease 0s;

}

#next-dots, #prev-dots {
    grid-row-start: 3;
}

#previous-next .btn:hover {
    background: rgba(255,255,255,0.4);
}

#previous-next .btn:active {
    background: #cde7f0;
}


#previous-next .btn::-moz-focus-inner {
    border: 0;
}




.navigation-button {
    width: 100%;
    border-radius: 0;
}

.custom-padding {
    padding: 0 0.2em;
}

#code-link {
    margin: 0 15em;
}

#login-block {
    right: 0em !important;
    margin-top: 0.5em !important;
}

#left-side .progress {
    margin-bottom: 0;
    border-radius: 0;
    height: 3px;
    box-shadow: none;
    display:none; /* needs to exist for functionality but don't want to see it in kids */
}

#left-side .progress-bar {
    background-color: #b6dba7;
}

#progress-user-message {
    margin-left: 5px;
}

#user-progress {
    margin: 1em 0.15em;
    padding: 1em 0.5em 0.5em;
    background: white;
    border-radius: 2px;
}

#user-progress-header {
    margin-top: 0;
    text-align: center;
    height: 2em;
    margin-bottom: 0.5em;
}

#user-progress-header img {
    height: 100%;
    width: auto;
    margin: 0 auto;
}

.progress-wrapper {
    position: relative;
    margin: -2px 0 4px;
}

#progress-more-btn {
    margin: 15px 0 5px 0;
    display: inline-block;
}

#section-progress-wrapper {
    text-align: center;
}

#section-progress-wrapper .progress-lo-bubble {
    display: inline-block;
    margin: 4px;
    background: #a3b6c7;
    border-radius: 100%;
    width: 20px;
    height: 20px;
    box-shadow: inset 0 1px 4px #676767;
}

#section-progress-wrapper .lo-completed {
    background: url("/resources/static/system/image/checkmark.svg") no-repeat;
    background-size: 100% 100%;
    box-shadow: none;
}

#section-progress-wrapper .lo-done {
    /*background: url("/resources/static/system/image/blueRedo.svg") no-repeat;*/
    background: url("/resources/static/system/image/yellowRedo.svg") no-repeat;
    background-size: 100% 100%;
    box-shadow: none;
}

#section-progress-wrapper .lo-current {
    border-color: yellow;
}

#right-side .progress-bar {
    background-color: #8be2aa;
}

#right-side .progress-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#right-side .progress {
    margin-bottom: 0;
}

#command {
    right: 0;
    top: 0.55em;

}


.instructions-kids{
    position: absolute;
    top: 5px;
    left: 0px;
    font-size: 28px;
    z-index: 9999;
    /*pointer-events: none;*/
}

.coaching-conrade{
    /*font-size: 22px;*/
    margin:0px;
    transition-duration: 0.5s;
    cursor: pointer;
    pointer-events: all;
    float: left;
}

.coaching-conrade-stand-in{
    display: inline-block;
    width: 2em;
    height: 2em;
    opacity: 0% !important;
    float: left;
}

.coaching-conrade-large{
    width: 3.5em;
    height: 3.5em;
    margin:0px;
}
.coaching-conrade-small{
    width: 2.5em !important;
    height: 2.5em !important;
    animation: coaching-comrade-shake 4s ease-in-out infinite;
}

.coaching-conrade-finished{
    transform: translate(-50px,-30px) scale(0);
    /*display: none;*/
}

.coaching-conrade-transition-duration{
    transition-duration: 0.5s;
}

.coaching-conrade-audio-icon{
    margin-right: 0.5ch;
}

.instruction-speech-bubble {
    transition-duration: 0.5s;
    transform-origin: 0% 30%;
    margin: 0;
    padding: 8px 16px;
    background: #fdd619;
    border-radius: 10px;
    float: left;
    place-items: center;
    box-shadow: 2px 2px 2px #33333347;
    cursor: pointer;
    font-size: 2.5rem;
}

.instruction-speech-bubble-finished {
    transform-origin: -80px;
    transform: scale(0);
}

.instruction-speech-bubble:after {
    content: '';
    position: absolute;
    left: 1px;
    top: 25px;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-right-color: #fdd619;
    border-left: 0;
    border-bottom: 0;
    margin-top: -10px;
    margin-left: -20px;
    box-shadow: 0px 2px 2px -2px grey;
}
.back-stars {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 0;
    /*animation: stars 9s linear infinite;*/
}

.back-stars #sky1 {
    animation: sky-move 20s linear infinite;
}
.back-stars #sky2 {
    animation: sky-move2 30s linear infinite;
}
.back-stars #sol {
    animation: sol 20s infinite;
}

@keyframes sky-move {
    0% { transform: translateX(80px) }
    50% { transform: translateX(100px) }
    100% { transform: translateX(80px) }
}
@keyframes sky-move2 {
    0% { transform: translateX(380px) }
    50% { transform: translateX(400px) }
    100% { transform: translateX(380px) }
}

@keyframes sol {
    0% { transform: scale(0.98) }

    50% { transform: scale(1.01) }

    100% { transform: scale(0.98) }
}

@keyframes stars {
    0% { transform: translateY(-100px); opacity: 0 }
    0.75% { opacity: 1 }
    /*50% { transform: rotate(180deg) scale(1.45) }*/
    99.25% { opacity: 1 }
    100% { transform:  translateY(0px); opacity: 0 }
}


/************
MEDIA QUERIES
*************/
@media (max-width: 1024px) {


    /*#main-wrapper {*/
    /*    padding-top: 4em;*/
    /*    height: 100%;*/
    /*}*/

    .prev-button {
        padding: 2px;
    }

    #fruit-basket {
        top: -16px;
        right: -150px;
    }
}

    @media (max-width: 992px) {
        #fruit-basket {
            display: none;
        }

        #left-side {
            width: 100%;
        }

        .prev-button {
            max-width: 10rem;
            min-width: 8rem;
        }

        #pageNavBox {
            max-width: 70%;
        }

        .progressFox {
            bottom: 16px;
        }

        #renderer {
            margin-top: 1em;
        }


    }
    /* Table mode to the point where mobile slide kicks in */
    @media (min-width: 767px) and (max-width: 992px) {
        #right-side {
            width: 100%;
            padding: 0;
        }

        #progress-user-message {
            width: 490px;
            margin: 2em auto;
            text-align: center;
            display: block !important;
        }

        #code-link {
            margin: 0 auto;
            width: 190px;
            display: block;
        }

        .bubble-fruit {
            left: -7px !important;
            width: 20px;
        }
    }

    /************ TABLET *************/
    @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
        #exercise-container p, #exercise-container span, #exercise-container input, #exercise-container selector {
            font-size: 1.4em;
        }

        #main-wrapper {
            width: auto;
            padding: 5em 10px 0;
        }

        #right-side {
            margin-top: 1em;
        }

        .resource-center-flex-container {
            justify-content: center;
        }

        .resource-center-flex-container img {
            flex-grow: unset;
            margin-right: 1em;
        }

        .resource-center-flex-container span {
            flex-grow: unset;
        }

        /*#courseName{*/
        /*    padding-right: 6em;*/
        /*}*/
        #login-register-wrapper button {
            font-size: 0.9em;
        }

        .bubble-fruit {
            left: 18px;
        }
    }

    @media only screen and (min-device-width: 768px) and (max-device-width: 1268px) {
        #nav-dropdown {
            width: 518px;
        }
    }

    /************ MOBILE *************/
    @media (max-width: 767px) {


        #renderer {
            /*max-height: 65vh;*/
            /*margin-top: 0.5em;*/
            /*margin-left: 1.5em;*/
            /*max-width: 95%;*/
            height: calc(100vh - 180px);
            width: calc(100% - 1em);
            margin: 1em 0.5em;
        }

        .slideout-menu-button {
            top: 10px;
        }

        /*TODO LET THE SIGN IN AND LOGIN MOVE TO THE SLIDEOUT MENU*/
        /*#login-register-wrapper {*/
        /*    display: none;*/
        /*}*/
        #word-search-menu-button {
            display: inline-block;
        }

        .row {
            margin-right: 0;
            margin-left: 0;
        }

        #course-name-button {
            /*font-size: 1.8em;*/

            /*top: -1.35em;*/
            /*left: 2.75em;*/
            /*z-index: 55;*/
            /*padding-right: 6em;*/
            float: left;
        }

        .nav-dropdown-open {
            display: inline-block !important;
        }


        #nav-dropdown {
            transform: translateX(0);
            width: auto;

            left: 0;
        }

        #nav-dropdown div .btn {
            width: 210px;
        }

        #seeNavbarBtn {
            display: none;
        }

        .prev-button {
            padding: 4px 4px 8px;
        }

        #previous-next .col-xs-6 {
            padding: 0;
        }

        #pageNavBox {
            overflow-x: scroll;
            overflow-y: hidden;
            height: 5rem;
            margin-top: 0;
            align-items: flex-end;
            position: relative;
        }

        #previous-next::before {
            content: '';
            position: absolute;
            left: calc(76px + 1vw);
            bottom: 20px;
            background: linear-gradient(to left, rgba(255,255,255,0), rgba(255,255,2555,1));
            height: 55px;
            width: 14px;
            z-index: 10;
        }
        #previous-next::after {
            content: '';
            position: absolute;
            right: calc(76px + 1vw);
            bottom: 20px;
            background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,2555,1));
            height: 55px;
            width: 14px;
            z-index: 10;
        }

        .bubble-div:first-child {
            margin-left: calc(57rem - 65vw);
        }


        #main-wrapper {
            min-height: 100%;
            max-width: 100%;

            /*margin: -1.5em 0 3em;*/
            /*padding-top: 4.5em !important;*/

        }



        #search-tools div #middle-button {
            width: 100%;
        }

        #exerciseNumber {

            right: 0;
        }


        #exercise-container {
            /* Do not put padding here, it interferes with the renderer logic */
            margin: 10px;
            height: 96.5%;
        }

        #exercise {
            height: 100%;
        }


        /*.arrow {*/
        /*    margin: 0;*/
        /*}*/

        /*.arrow-down, .arrow-down-last {*/
        /*    margin: 12px 0 0 -19px;*/
        /*    font-size: 0.8em;*/
        /*}*/

        /*.arrow-down-last {*/
        /*    right: 5%;*/
        /*}*/

        #right-side {
            margin-top: 1em;
            padding: 0 6px;
        }

        /* Overrides the bootstrap default padding */
        #search-tools .col-xs-12 {
            padding: 0 !important;
        }

        .search-button .btn {
            padding: 5px !important;
        }

        #progress-user-message {
            padding: 6px 6px;
            color: #fff;
        }

        #progress-more-btn {
            color: #000;
            display: inline-block;
            text-align: center;
        }

        #progress-user-message {
            margin: inherit;
        }

        #code-link {
            margin: 0.5em -0.1em;
        }


        .congrats-content-container {
            justify-content: center;
        }

        #next-dots, #prev-dots {
            display: none;
        }

        #submitExercise {
            padding: 0.5em;
        }

        .bubble-fruit {
            left: 11px;
        }

        .congrats-owl {
            width: 120px;
            top: 66px;
            left: -226px;
        }

        #fruit-counter {
            position: relative;
            z-index: 2;
            max-width: 18%;
            bottom: 16px;
        }
        #course-fruit, #course-fruit-clone {
            margin-right: 9px;
            top: 7px;
            width: 40px;
            max-height: 46px;
        }

    }



    @media (max-width: 545px) {

        /*TODO LET THE SIGN IN AND LOGIN MOVE TO THE SLIDEOUT MENU*/
        /*#login-register-wrapper {*/
        /*display: none;*/
        /*}*/
        .bubble-div {
            min-width: 12px;
            /*height: 32px;*/
        }

        .progressFox {
            width: 40px;
            bottom: 12px;
        }

        .bd-selected {
            min-width: 10px;
            /*width: 10px;*/
            /*height: 20px;*/
        }

        .submit-button {
            margin-left: 0;
        }

        .bd-lo, .bd-section, .bd-selected {
            margin-bottom: 9px !important;
        }

        .bubble-fruit {
            left: -8px;
        }

    }

    @media (max-width: 475px) {
        #main-wrapper:not(.overview) {
            padding-top: 65px;
            background: white;
            height: 100vh;
        }
        #iol-nav-bar {
             height: 65px;
        }

        #command .dropdown {
           justify-content: flex-end;
           margin: 0;
           top: 5px;
           right: 0;
        }
        .flag-div, #user {
            display: none !important;
        }

        #renderer-container {
            margin-top: 0;
        }
        #previous-next {
            margin: 0;
            display: flex;
            width: 100%;
            position: absolute;
            bottom: -60px;
        }
        #submitExercise {
            display: none !important;
        }
        #renderer {
            height: calc(100vh - 126px);
            border: none;
            width: 100%;
            margin: 0;
            margin-bottom: 6px;
        }
        .slideout-menu-button {
            top: 8px;
        }

        #word-search-menu-button {
            top: 6px;
        }

        #main-wrapper {
            /*padding-top: 4em !important;*/
        }

        #courseName {

        }

        #word-search-menu-button {
            margin-right: 0.3em;
        }

        .slideout-menu-button {
            padding: 0.3em 0.5em;
        }

        .congrats-container-display{
            display: inline-block !important;
        }

        .congrats-ari{

            transform: none;
            position: relative;
            float: right;
            margin-right: -25px;
            max-height: 300px;
            height: 50%;
        }

        .congrats-text-container{
            display: flex;
            justify-content: center;
            align-items: end;
            height: 50%;
        }

        .congrats-text{
            /*margin-left: 24px;*/
            height: min-content;
            font-size: 30px !important;
        }
        .congrats-text:after {

            right: auto;
            top: auto;
            bottom: 0;
            left: 50%;
            border-right: 0;
            border-bottom: 0;
            margin-top: auto;
            margin-right: auto;
            margin-left: -10px;
            margin-bottom: -20px;
            border-left-color: transparent;
            border-top-color: #fdd619;
        }

        .cc-revoke.cc-bottom {
            display:none;
        }
    }

    @media (max-width: 375px) {
        #main-wrapper {
            /*padding-top: 4em !important;*/
        }

        #courseName {

        }

        #word-search-menu-button {
            margin-right: 0.2em;
        }

        .slideout-menu-button {
            padding: 0.2em 0.4em;
        }

        #nav-dropdown {
            top: 46px;
        }

        #code-link {
            font-size: 0.8em;
        }
    }

