body {
    background-color: #66B2BE;
}

.wrapper {
    margin: 50px auto 0 auto;
}

.wrapper-bl {
    position: relative;
    background-color: #d7ebef;
    width: 85%;
    border-radius: 50px 50px 50px 50px;
    margin: 50px auto 0 auto;
    padding: 80px 80px 0 80px;
}

.blue-wrapper{
    position: relative;
    padding: 0 80px 80px 80px;
    background-color: #2f98ad;
}

.title {
    color: #1c91a9;
}

/* Button between task */
.button {
    border: 5px solid #FF998C;
    background-color: #FF998C;
}

.no-border {
    border: none;
}

.button-disabled {
    opacity: 0.7;
}


/*Fractions*/

.fraction, .top, .bottom {
    padding: 0 5px;
}

/*Paragraphs*/
.text {
    font-size: 27px;
    /*word-spacing: 2px;*/
    color: #042e36 ;
}

.sign-color {
    color: #940606;
}

/*Form*/

 .check {
     border: 4px solid #31AAC2;
     background-color: #31AAC2;
     color: transparent;
     margin-left: -20px;
 }
 

.answer-wrapper{
     background-color: #B2DFED;
 }

/* .answer-line - когда инпут для ввода ответа - это черточка
.answer-line--correct - правильный ответ
.answer-line--incorrect - неправильный ответ */

.answer-line {
    border-bottom: 4px solid #31AAC2;
}

.answer-line--correct {
    background-color: transparent;
    border: none;
    border-bottom: 4px solid #7CB518;
}

.answer-line--incorrect {
    background-color: transparent;
    border: none;
    border-bottom: 4px solid #F77878;
}

/*Colors*/

.yellow {
    color: #b28dc7;
}

.button-answer .blue {
    color: #D1E2E6;
}

.answer {
    padding-right: 20px;
}

/*Variants*/
.button-answer {
    background-color: #31AAC2;
    font-size: 24px;
    border: 4px solid #31AAC2;

}

.correct-answer {
    border: 4px solid #7CB518;
    background-color: #7CB518;
}

.incorrect-answer {
    border: 5px solid #F77878;
    background-color: #F77878;
}

.inactive-answer {
    border: 5px solid #E0E0E0;
    background: #E0E0E0;
}

/*List*/

.list {
    color: #042e36 ;
    padding-top: 10px;
    padding-bottom: 0;
    margin: 0;
    font-size: 22px;
    line-height: 27px;
}


/*Tooltip*/

.tooltip-inner {
    color: #000;
}

.tooltip.top .tooltip-arrow {
    border-top-color: #67bdcf ;
}
.tooltip-inner {
    background-color: #67bdcf ;
    color: #e3f0d8;

}

/*Assistant*/

.assistant {
    display: flex;
    align-items: flex-end;
    width: 200px;
    height: auto;
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 9999999;
}

.assistant img {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: 0;
}

/*Sqrt*/

.overline-fraction {
    padding-top: 30px;
}

.bi-radic {
    transform: scaleY(2.1);
}

.radic {
    font-size: 28px;
}

.radic-fraction {
    transform: scaleY(3.0);
}

.arc-0 {
    display: inline-block;
    position: relative;
    bottom: 22px;
    left: 14px;

}

.arc {
    display: inline-block;
    position: relative;
    bottom: 22px;
    left: 26px;
}

.arc-2 {
    display: inline-block;
    position: relative;
    bottom: 22px;
    left: 32px;

}

.arc-answer {
    display: inline-block;
    position: relative;
    bottom: 32px;
    left: 32px;
}

/*Progress*/
.progress {
    background-color: #f95751;
}

.current-progress {
    background-color: #67bdcf;
}

/*Helpers*/


@media (max-width: 800px) {
    .assistant {
        width: 100px;
    }
}

.row {
    flex-wrap: wrap;
}


.formula {
    color: #e3f0d8;
}

.no-color {
    color: #d7ebef;
}



.first-task{
    padding-top: 80px;
    border-top-right-radius: 50px;
    border-top-left-radius: 50px;
}

.last-default-task{
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

.last-default-task:after{
    content: ' ';
    background: transparent url(/common/upload/parsing/chapter2/img/volna.png) no-repeat;
    width: 100%;
    height: 20px;
    display: block;
    background-size: 100%;
    background-position: bottom;
}

.bubble {
    right: 10px;
    bottom: 10px;
}

.bubble-text {
    max-width: 400px;
    right: 120px;
    bottom: 190px;
    background: url("../img/bubble.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.bubble-text p{
    color: #efe5e4;
}

.buble-color {
    color: #efe5e4;
}

.bubble-item {
    right: -55px;
    bottom: 175px;
}

.bubble-item img {
    width: 80%;
}

.system-three {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.system-five {
    margin-bottom: -50px;
}

.system {
    display: inline-block;
    vertical-align: middle;
}

.system-form {
    margin-bottom: -35px;
}

.figure {
    color: #333;
}

.figure-fraction {
    color: #333;
}

.figure-three {
    color: #333;
}

.figure-five {
    color: #333;
}

.answer-field-item.correct-color .answer-wrapper {
    background-color: #B5DB71;
    border-color: #B5DB71;
}

.answer-field-item.correct-color .check {
    background-color: #7CB518;
    border-color: #7CB518;
}

.answer-field-item.incorrect-color .answer-wrapper {
    background-color: #FBB4B4;
    border-color: #FBB4B4;
}

.answer-field-item.incorrect-color .check {
    background-color: #F77878;
    border-color: #F77878;
}

.answer-field-item.correct-color {
    background-color: transparent;
    border-color: transparent;
}

.answer-field-item.incorrect-color {
    background-color: transparent;
    border-color: transparent;
}


/* style for new demo lesson with narval personage */

.modal-footer {
    margin-top: 30px;
}
.btn-demo {
     color: white;
     width: auto;
     height: auto;
     font-size: 20px;
     padding: 10px;
     background-image: none;
     margin-left: 5px;
 }

.bubble-text {
    width: auto;
    max-width: 400px;
    height: auto;
    padding: 5px 20px 20px 20px;
    position: fixed;
    right: 120px;
    bottom: 190px;
    z-index: 9999999999999999;
    background: #a155d4;
    border-radius: 4px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
 }

 .modal-form-demo .modal-header {
    position: absolute;
    right: 5%;
    top: 0;
 }

.modal-form-demo .modal-header .close {
    font-size: 30px;
}

.field-testingform-phone {
    flex-wrap: wrap;
}