.lesson-inner .poll input[type="text"], .poll textarea {
    width:100%!important
}
.layout#polls {
    max-width: 860px;
    padding-left: 35px;
    padding-right: 35px;
}

.poll-status {
    color: #fff;
    width: 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10px;
    height: 30px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 14px;
}
.poll-status.not-done {
    background: #0772A0;
}
.poll-status.done {
    background: #5DCE59;
}
.poll-status.processing {
    background: #FFCA10;
}

.lesson-inner .poll .poll-start, .lesson-inner .poll-content {
    background: #F7F8FA;
    border-radius: 10px;
    padding: 30px 25px 35px;
}
.poll-start__top, .lesson-inner .poll-content__top {
    display: flex;
    flex-wrap: nowrap;
}
.poll-start .poll-status {
    margin-left: auto;
}
.poll .btn-start-pol-wrap {
    margin-top: 40px;
}
.lesson-inner .poll-content:not(.active) {
    display: none;
}
.lesson-inner .poll-content__desc {
    margin-bottom: 20px;
}
.lesson-inner .poll-content__top h4 {
    margin-right: auto;
}
.lesson-inner .poll h4 {
    margin-bottom: 0;
}
.poll-content hr {
    border-color: #D8DAE7;
    margin: 40px 0;
}
.poll-content .progress_poll{
    /*margin-top: -30px;*/
    /*margin-left: -25px;*/
    /*margin-right: -25px;*/
}
.lesson-inner .poll hr {
    margin-top: 10px;
    margin-bottom: 10px;
}
.btn-green-polls {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 7px 64px;
    border: 1px solid #5DCE59;
    cursor: pointer;
    transition: all 0.2s ease 0s;
    color: #fff;
    background: #5DCE59;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
}
.btn-green-polls:hover{
    text-decoration: none;
    background: #fff;
    color: #5DCE59;
}
.poll .custom-input-poll{
    margin-left: 0;
    margin-bottom: 0;
}
.custom-input-poll + .custom-input-poll {
    margin-top: 10px
}
.form-poll{
    /*max-width: 377px;*/
}
.poll_desc {
    margin-top: -20px;
    margin-bottom: 35px;
}
.poll-question-list {
    margin-bottom: 50px;
}
.poll-column-15 + .poll-question-list {
    margin-top: 40px;
}
.poll-label, .poll-input-wrap label  {
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: bold;
}
.poll-question-required-text {
    color: #E04265;
    font-size: 14px;
    font-weight: normal;
}
.poll-column {
    padding-top: 40px;
    margin-bottom: 40px;
    border-top: 1px solid #D8DAE7;
}
.form-poll .poll-question-list:first-child .poll-column:first-child {
    padding-top: 0;
    border-top: none;
    padding-bottom: 0;
}
.poll-column.with-question-image .poll-label {
    width: 100%;
    margin-right: auto;
}
.poll-column.with-question-image .poll-column-bottom {
    display: flex;
}
.poll-column .poll-column-bottom.with-answer-images {
    width: calc(100% + 38px);
}
.lesson-inner .poll-column .poll-column-bottom.with-answer-images {
    width: calc(100% + 30px);
}
.poll-column .poll-column {
    margin-top: 40px;
}
* + .poll{
    margin-top: 30px;
}
.poll-status i {
    margin-right: 7px;
}
.poll-input-wrap input {
    height: 40px;
    border-radius: 5px;
    color:#373A4C;
}
.poll-column-15 {
    margin-bottom: 15px;
}
.poll-column-15 + .poll-column{
    margin-top: 25px;
}
.poll-message {
    background: #F7F8FA;
    border-radius: 10px;
    padding: 30px 25px 35px;
}
.lesson-inner .poll-content + .poll-message {
    margin-top: 40px;
}
.form-poll .poll-input-wrap .cke_ltr, .form-poll .poll-input-wrap .trumbowyg-editor-visible {
    border: 1px solid #D8DAE7;
    border-radius: 10px;
}

.poll-input-wrap ::-webkit-input-placeholder {color:#373A4C; opacity: 1;}
.poll-input-wrap ::-moz-placeholder          {color:#373A4C; opacity: 1;}
.poll-input-wrap :-moz-placeholder           {color:#373A4C; opacity: 1;}
.poll-input-wrap :-ms-input-placeholder      {color:#373A4C; opacity: 1;}

.poll-input-wrap [placeholder]:focus::-webkit-input-placeholder {color:transparent;}
.poll-input-wrap [placeholder]:focus::-moz-placeholder          {color:transparent;}
.poll-input-wrap [placeholder]:focus:-moz-placeholder           {color:transparent;}
.poll-input-wrap [placeholder]:focus:-ms-input-placeholder      {color:transparent;}


.poll-content .select-wrap, .poll-input-wrap, .poll-content .custom-radio, .poll-content .custom-checkbox {
    width: 100%;
    max-width: 450px;
}
.poll-content .select-wrap, .poll-content .select2-wrap, .poll-input-wrap,
.poll-answers:not(.with-images) .custom-radio,
.poll-answers:not(.with-images) .custom-checkbox {
    min-width: 42%;
}
.poll-content .select-wrap select {
    padding-top: 11px;
    padding-bottom: 11px;
    height: 40px;
}
.poll-content .select-wrap:before {
    top: 17px;
}
.poll-content .select-wrap:after {
    top: 9px;
}
.poll-content .lesson-inner .select-wrap {
    /*background: none;*/
}
.poll-content .select-wrap option {
    background-color: #fff;
}
.poll-content .select2-wrap {
    width: 100%;
}
.poll-content .select2 {
    width: 100%;
    max-width: 450px!important;
}
.poll-content .select2-container .select2-selection--multiple {
    padding-top: 3px;
    height: 40px;
}
.form-poll .select2-container--default .select2-selection--multiple {
    border-color: #b1b1b1bd;
    min-height: auto;
}
.form-poll .select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 3px;
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    border-radius: 4px;
    margin-right: 5px;
    padding: 0 5px;
    height: auto;
    min-height: auto;
}
.poll-content .custom-radio, .poll-content .custom-checkbox {
    display: flex;
    align-items: center;
    padding: 11px 20px 11px 46px;
    height: auto;
    border-radius: 5px;
    border: 1px solid #b1b1b1bd;
    margin-left: 0;
}
.poll-content .custom-radio span, .poll-content .custom-checkbox span {
    position: relative;
}
.poll-content .custom-radio span:before, .poll-content .custom-checkbox input + span:before {
    left: -26px;
}

.poll-question-title, .poll-input-wrap label {
    font-size: 18px;
    color: #4F4F4F;
}
.poll-question-image {
    max-width: 730px;
    margin-bottom: 20px;
}
.poll-answers.with-images + .poll-question-image {
    margin-left: 0;
}
.poll-question-image img {
    border-radius: 5px;
}
.poll-answer-image {
    width: 100%;
    height: 229px;
    margin-bottom: auto;
    background-size: contain;
    background-repeat: no-repeat;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.poll-answers {
    width: 100%;
    max-width: 570px;
    min-width: 42%;
}
.poll-answers.with-images {
    flex-wrap: wrap;
    display: flex;
    max-width: 100%;
}
.poll-answers.with-images .custom-radio, .poll-answers.with-images .custom-checkbox {
    width: 100%;
    max-width: 345px;
    height: 272px;
    flex-wrap: wrap;
    border-radius: 5px;
    border: 1px solid rgba(216, 218, 231, 0.6);
    padding: 0 0 15px 0;
    margin-bottom: 16px;
    margin-right: 38px;;
}
.poll-content .custom-checkbox,
.poll-content .custom-radio,
.poll-content .custom-checkbox {
    background-color: #fff;
}
.poll-answers.with-images .custom-radio:last-child, .poll-answers.with-images .custom-checkbox:last-child {
    margin-bottom: 0;
}
.lesson-inner .poll-answers.with-images .custom-radio,
.lesson-inner .poll-answers.with-images .custom-checkbox {
    margin-right: 30px;
    max-width: 347px;
}
.lesson-inner .progress_poll {
    margin-bottom: 30px;
}
.poll-answers.with-images .custom-radio.active, .poll-answers.with-images .custom-checkbox.active {
    border: 1px solid #5DCE59;
}
.poll-answers.with-images .custom-radio + *, .poll-answers.with-images .custom-checkbox + * {
    margin-top: 0;
}
.poll-answers.with-images .custom-radio span, .poll-answers.with-images .custom-checkbox span {
    position: static;
    margin-top: auto;
    margin-left: 10px;
    font-size: 12px;
}
.poll-answers.with-images .custom-radio span:before, .poll-answers.with-images .custom-checkbox span:before {
    top: 18px;
    left: auto;
    right: 22px;
    width: 32px;
    height: 32px;
}
.poll-answers.with-images .custom-radio span:before, .poll-answers.with-images .custom-checkbox span:before {
    display: none;
}
.poll-answers.with-images .custom-radio:hover span:before, .poll-answers.with-images .custom-radio input:checked + span:before,
.poll-answers.with-images .custom-checkbox:hover span:before, .poll-answers.with-images .custom-checkbox input:checked + span:before {
    display: block;
}
.poll-answers.with-images .custom-checkbox span:before {
    background-image: none;
    border: 2px solid #5DCE59;
    border-radius: 50%;
}
.poll-answers.with-images .custom-checkbox input:checked + span:before {
    border: none;
    background-image: url('../images/checkbox-icon-active.svg');
}

.progress_poll .completed_line {
    background: linear-gradient(90deg, #5DCE59 4.34%, rgba(93, 206, 89, 0.67) 53.17%, #5DCE59 100%);
}
.custom-radio {
    position: relative;
}
.custom-radio input[required="required"] {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    display: inherit;
    opacity: 0;
    width: 100%;
    height: 1px;
}
.required-error {
    border: 1px solid #737373!important;
}
@media screen and (min-width: 768px){
    .poll_title {
        font-size: 32px;
    }
    .widget .poll_title {
        font-size: 24px;
    }
}
@media screen and (max-width: 768px){
    .poll-column-bottom {
        flex-wrap: wrap;
    }
    .poll-question-image {
        margin-left: 0;
        margin-top: 20px;
    }
    .poll-answers.with-images .custom-radio, .poll-answers.with-images .custom-checkbox {
        margin-right: 0;
    }
    .poll-column.with-question-image .poll-column-bottom.with-answer-images {
        width: 100%;
    }
    .lesson-inner .poll-question-image, .poll-question-image {
        width: 100%;
        max-width: 730px;
    }
}