.poll-container {
    display: block;
    position: relative;
    width: 100%;
    max-width: 720px;
    border-radius: var(--border-radius-small);
    padding: 5% 5% calc(5% - 15px) 5%;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.45;
    transition: .1s;
    background-color: var(--gray-color-1);
}

.poll-container.multi-answer {
    padding: 40px 7% 30px;
}

.stat_centr_wr .poll-container h2 {
    font-weight: 700;
    font-size: 27px;
    line-height: 1.2;
    margin: 0 0 15px 0;
}

.poll-answers {
    margin: 20px 0;
}

.multi-answer .poll-answers {
    margin: 20px 0 30px;
}

.pic-answer .poll-answers {
    margin: 0;
}

.multi-answer .pic-answer .poll-answers {
    margin: 0 0 10px;
}

.poll-container .annotation,
.poll-container.completed .annotation {
    font-size: 14px;
    margin: 0;
    text-align: left;
}

.poll-container.pic-answer .annotation {
    margin: 0 0 15px;
}

.poll-container .annotation.down {
    font-size: 14px;
    margin: 0;
    line-height: 44px;
    display: inline-block;
}

.poll-container .annotation img {
    height: 13px;
    width: 20px;
    margin-right: 5px;
    display: inline-block;
    vertical-align: baseline;
}

.poll-container .date-end {
    opacity: .7;
    font-size: 12px;
    margin: 10px 0;
}

.poll-bar {
    width: 100%;
    position: relative;
    border-radius: var(--border-radius-small);
    padding: 12px 10px;
    margin: 10px 0;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transition: .1s;
    border: 2px solid #fff;
    background-color: #fff;
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.1);
}

.poll-picture-container .poll-bar {
    border: none;
    border-top: 2px solid #fff;
}

.poll-bar:hover {
    background-color: var(--active-color-light);
    /*box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.25);*/
}

.poll-picture:hover .poll-picture-in img {
    opacity: .9;
}

.poll-bar:active,
.poll-picture-container:active {
    transform: translateY(2px);
}

.poll-answers input {
    display: none;
}

.answer-text {
    display: inline-block;
    font-size: 16px;
    line-height: 19px;
    color: var(--black-color-base);
    z-index: 1;
}

.answer-text.answer-count-abs {
    flex-grow: 1;
}

.answer-count-abs {
    font-weight: 400;
}

.answer-count {
    z-index: 1;
    text-align: right;
    margin-left: 40px;
    font-size: 19px;
    line-height: 19px;
    font-weight: 700;
    position: relative;
}

.poll-container .answer-count > span,
.poll-answers input[type=radio]:checked + .poll-bar .answer-count:before,
.completed .poll-answers input[type=radio] + .poll-bar .answer-count:before,
.completed .poll-answers input[type=checkbox] + .poll-bar .answer-count:before {
    visibility: hidden;
    opacity: 0;
}


.completed .poll-bar,
.completed .poll-picture,
.poll-answers input[type=radio]:checked + .poll-bar,
.poll-button.disabled {
    pointer-events: none;
    cursor: default;
}

.poll-answers input[type=radio]:checked + .poll-bar .answer-count:before, /*+*/
.poll-answers input[type=checkbox] + .poll-bar .answer-count:before, /*+*/
.poll-answers input[type=radio]:checked + .poll-picture .answer-count:before, /*+*/
.poll-picture-container input[type=checkbox] + .poll-picture:after /*+*/
{
    content: '';
    background-image: url(/themes/default/front/img/check-polls-white.svg);
    background-size: 0;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: -2px;
    left: -25px;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    line-height: 30px;
    background-color: #fff;
    border: 2px solid #ff9844;
    color: transparent;
    transition: .1s;
}

.poll-picture-container input[type=checkbox] + .poll-picture:after {
    top: auto;
    left: auto;
    bottom: 15px;
    right: 15px;
    background-color: #fff;
    border: 2px solid #fff;
}

/*.poll-answers input[type=checkbox]:checked + .poll-picture .answer-count:after,*/
.poll-answers input[type=checkbox]:checked + .poll-bar .answer-count:before, /*+*/
.poll-picture-container input[type=checkbox]:checked + .poll-picture:after /*+*/
{
    background-size: 75%;
    visibility: visible;
    opacity: 1;
    background-color: #ff9844;
}

.completed .poll-answers.visible-result input[type=radio]:checked + .poll-bar .answer-count:before, /*+*/
.completed .poll-answers.visible-result input[type=radio]:checked + .poll-picture .answer-count:before /*+*/
{
    background-image: url(/themes/default/front/img/check-polls-blue.svg);
    background-size: 80%;
    visibility: visible;
    opacity: 1;
    background-color: transparent;
    border: 2px solid transparent;
}

.poll-picture-container input[type=checkbox]:checked + .poll-picture:after {
    box-shadow: 0 0 0 3px #fff;
    border: 2px solid transparent;
}

.completed .poll-answers input[type=checkbox]:not(:checked) + .poll-bar .answer-count:before,
.completed .poll-answers input[type=checkbox]:not(:checked) + .poll-picture .answer-count:before,
.poll-container.completed .poll-answers input[type=checkbox]:checked + .poll-picture:after {
    display: none;
}

.poll-bar-result,
.bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.bar-fill {
    display: block;
    background-color: #ffdea1;
    background: linear-gradient(90deg, #ffaf6f 0%, #ff9844 100%);
    opacity: 0;
    overflow: hidden;
}

.poll-container.completed .poll-answers.visible-result .answer-count > span {
    visibility: visible;
    opacity: 1;
    transition: opacity .8s cubic-bezier(.34, .71, .41, .99);
    animation-delay: .8s;
}

.poll-container.completed .poll-answers.visible-result .answer-count:before > span {
    visibility: visible;
    opacity: 1;
    transition: opacity .8s cubic-bezier(.34, .71, .41, .99);
    animation-delay: .8s;
}

.poll-container.completed .poll-answers.visible-result.user-answer input[type=radio]:checked + .poll-bar .answer-count:before {
    animation: before-animation .8s 1;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(.34, .71, .41, .99);
}

@keyframes before-animation {
    from {
        visibility: hidden;
        opacity: 0;
    }
    to {
        visibility: visible;
        opacity: 1;
    }
}

.poll-container.completed .visible-result .bar-fill {
    animation: bar-animation .8s 1;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(.34, .71, .41, .99);
    /*animation-delay: .3s;*/
}

@keyframes bar-animation {
    from {
        opacity: 0;
        width: 0;
    }
    to {
        opacity: 1;
        width: 100%;
    }
}

.poll-button {
    width: 164px;
    height: 44px;
    border-radius: var(--border-radius-small);
    text-align: center;
    line-height: 42px;
    float: right;
    transition: .1s;
    opacity: 1;
    background-color: transparent;
    color: var(--black-color-base);
    border: 1px solid var(--black-color-base);
}

.poll-button:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.poll-button:active {
    transform: translateY(2px);
}

.poll-button.disabled {
    opacity: .5;
}

.poll-container.completed.multi-answer .poll-button {
    display: none;
}

.poll-container.pic-answer .poll-answers {
    width: calc(100% + 30px);
    margin-left: -15px;
    display: inline-block;
}

.poll-picture-container {
    width: calc(50% - 30px);
    float: left;
    margin: 15px;
}

.poll-picture,
.poll-picture-clear,
.poll-picture-clear:hover,
.poll-picture-clear:active {
    position: relative;
    display: block;
    cursor: pointer;
    width: 100%;
    overflow: hidden;
    margin: 0;
    transition: .1s;
    user-select: none;
    background-color: var(--gray-color-1);
    border: 2px solid #fff;
    border-radius: var(--border-radius-small);
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.1);
}

.poll-picture:hover {
    box-shadow: 0 0 0 5px #ffa156;
}

.poll-picture.poll-picture-clear {
    cursor: default;
}

.poll-picture-clear:active {
    transform: none;
}

.poll-picture.poll-picture-clear .poll-picture-in,
.poll-picture.poll-picture-clear:after {
    display: none;
}

.poll-picture:before {
    content: '';
    display: block;
    padding-top: 100%;
}

.poll-picture-in {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
}

.poll-picture-in img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .5);
    transition: opacity .1s;
}

.poll-picture-in img.pic-blur {
    object-fit: cover;
    -webkit-filter: blur(10px);
    filter: blur(10px);
    transform: scale(1.3);
    opacity: .8;
}

/*.poll-picture .answer-text {
    display: none;
}*/

.poll-picture .answer-count {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 19px;
    font-size: 19px;
    text-align: center;
    padding: 0;
}

.poll-picture .poll-bar {
    width: 100%;
    /*height: 23%;*/
    position: absolute;
    left: 0;
    bottom: 0;
    border-radius: 0;
    margin: 0;
    overflow: hidden;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.poll-container.pic-answer .poll-picture .poll-bar {
    display: none
}

.poll-container.pic-answer.completed .poll-picture .poll-bar {
    display: -ms-flexbox;
    display: flex;
}

@media (max-width: 575px) {
    .poll-container {
        /*width: calc(100% + 30px);
        margin-left: -15px;
        box-shadow: none;*/
        border-radius: var(--border-radius-small);
        padding: 4vw 4vw 10px;
    }

    .poll-container.multi-answer {
        padding: 4vw;
    }

    .poll-container h2 {
        font-size: 23px;
    }

    .poll-bar,
    .poll-button {
        border-radius: 3px;
    }

    .answer-text,
    .answer-count,
    .poll-picture .answer-count {
        font-size: 15px;
    }

    .poll-answers input[type=radio]:checked + .poll-bar .answer-count:before, /*+*/
    .poll-answers input[type=checkbox] + .poll-bar .answer-count:before, /*+*/
    .poll-answers input[type=radio]:checked + .poll-picture .answer-count:before /*+*/
    {
        top: 0;
        left: -20px;
        width: 19px;
        height: 19px;
    }

    .poll-picture-container input[type=checkbox] + .poll-picture:after /*+*/
    {
        top: auto;
        left: auto;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 767px) {
    .poll-container.pic-answer .poll-answers {
        width: calc(100% + 4vw);
        margin-left: -2vw;
    }

    .poll-picture-container {
        width: calc(50% - 4vw);
        margin: 2vw;
    }

    /*.poll-picture,
    .poll-picture-clear,
    .poll-picture-clear:hover,
    .poll-picture-clear:active {
        width: calc(50% - 4vw);
        margin: 2vw;
    }*/
}

.poll-container .recaptcha-links {
    display: none;
    visibility: hidden;
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 11px;
    color: #fff;
    opacity: .8;
}

.poll-container .recaptcha-links a {
    text-decoration: underline;
    color: #fff !important;
}
