.polls-archive-link {
    font-size: 18px;
    font-weight: 500;
}
.poll-date {
    color: var(--color-w);
    font-size: 12px;
    text-align: right;
}
/*.poll { width: fit-content; }*/
.poll-title {
    font-size: 18px;
    line-height: 1.3;
    margin: 0;
    padding-bottom: .5rem;
    color: var(--primary-color);
}
.poll-radio {
    /*cursor: pointer;*/
    padding: 7px 0;
}
.poll-radio:not(.poll-radio-answer) {
    cursor: pointer;
    transition: background-color .2s;
}
.poll-radio:not(.poll-radio-answer):hover {
    background-color: rgba(255, 255, 255, 0.4);
}
.poll-submit-wrapper {
    padding-top: 15px;
    display: flex;
    align-items: center;
    gap: 30px;
}
.poll-submit {
    cursor: pointer;
}
.poll-all-polls {
    color: var(--color-w2);
}
.poll-widget .poll {
    width: 100%;
}
.poll-widget .wp-polls {
    padding: 0;
}
.poll-widget .poll-title {
    font-size: 16px;
    line-height: 1.2;
}
.poll-widget .poll-radio {
    line-height: 1.2;
    padding: 5px 0;
}
.poll-widget .poll-radios {
    padding-top: 5px;
}
.poll-widget .poll-radio span {
    color: var(--color-poll-widget-item);
}
.poll-widget .poll-submit-wrapper {
    justify-content: space-around;
    width: 100%;
    gap: 0;
}
.poll-add-poll {
    position: relative;
    line-height: 1;
    color: var(--primary-color);
    border-bottom: 1px dotted var(--primary-color);
}
.poll-add-poll-wrapper .icon {
    width: 16px;
    height: 16px;
    display: block;
    background-size: contain;
}
.wp-polls {
    padding: .8rem 0;
}
.wp-polls-ans {
    padding-top: 7px;
}
.wp-polls-ul {
  padding-left : 0px;
}
.wp-polls ul li, .wp-polls-ul li, .wp-polls-ans ul li {
    text-align: left;
    background-image: none;
    display: block;
}
.wp-polls ul, .wp-polls-ul, .wp-polls-ans ul  {
    text-align: left;
    list-style: none;
    float: none;
}
.wp-polls ul li:before, .wp-polls-ans ul li:before, #sidebar ul ul li:before {
    content: '';
}
.wp-polls-loading img.wp-polls-image{
    display: inline-block;
    height: 19px;
    aspect-ratio: 1/1;
    margin-right: 5px;
}
.wp-polls-loading {
    display: none;
    text-align: center;
    line-height: 1;
    font-size: 16px;
    padding: .8rem 0;
}
.wp-polls-loading > *:not(img){
    display: none;
}
.wp-polls-image {
    border: 0px;
}
.wp-polls div.pollbar {
    position: relative;
    border: none;
    background-color: rgba(0,0,0, .2);
    background-image: none;
    width: 100%;
    margin: 0;
    height: 10px;
    overflow: hidden;
    border-radius: 2px;
}
.wp-polls div.pollbar-value {
    height: 100%;
    background-color: var(--primary-color);
}

.wp-polls-archive, .opened-polls {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 20px;
    row-gap: 15px;
}
.wp-polls-paging span.pages {
    display: none;
}
.wp-polls-paging {
    padding: 3rem 0 .8rem 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}
.wp-polls .poll-all-polls {
    display: none;
}
.poll-widget .wp-polls .poll-all-polls {
    display: block;
}
.poll-widget .wp-polls .poll-results {
    display: none;
}
.wp-polls-paging a,
.wp-polls-paging span.current,
.wp-polls-paging span.extend {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 15px;
    padding: 6px;
    user-select: none;
    margin: 0;
    line-height: 1;
    border: 1px solid var(--primary-color);
}
.wp-polls-paging a {
    text-decoration: none;
    color: var(--primary-color);
}
.wp-polls-paging a:active {
    opacity: .5;
    transform: translateY(2px);
    color: var(--color-w);
    background-color: var(--primary-color);
}
.wp-polls-paging a:hover {
    opacity: .5;
    color: var(--color-w);
    background-color: var(--primary-color);
}
.wp-polls-paging span.current,
.wp-polls-paging span.extend {
    color: var(--color-w);
    background-color: var(--primary-color);
}

.poll-radio-result {
    font-weight: 500;
    color: var(--color-w);
    position: relative;
    padding-left: 20px;
}
.poll-result-line {
    background: rgba(255, 255, 255, 0.2);
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 7px;
}
/*@media screen and (max-width: 1023.98px){*/
    .poll-item,
    .poll-archive-item{
        background-image: linear-gradient(to top, rgba(134,26,16, 1), rgba(134,26,16, 0.8));
        border-radius: 6px;
        padding: 1rem;
    }
    .poll-item .poll-title ,
    .poll-archive-item .poll-title {
        color: var(--color-w);
        font-size: 24px;
        text-align: center;
    }
    .poll-item .poll-radio-text ,
    .poll-archive-item .poll-radio-text {
        font-size: 14px;
        color: var(--color-w);
        display: block;
    }
    .poll-item .poll-radio ,
    .poll-archive-item .poll-radio {
        position: relative;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 7px;
        padding: 10px;
    }
    .poll-item .poll-radio .poll-radio-link,
    .poll-archive-item .poll-radio .poll-radio-link{
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
    }
    .poll-item .poll-radios ,
    .poll-archive-item .poll-radios,
    .poll-item .wp-polls-ul,
    .poll-archive-item .wp-polls-ul{
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .poll-item .poll-radio-answer ,
    .poll-archive-item .poll-radio-answer {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .poll-item .poll-radio input,
    .poll-archive-item .poll-radio input{
        width: 0;
        height: 0;
        border: none;
        opacity: 0;
        visibility: hidden;
        position: absolute;
    }
    /*.wp-polls-archive, .opened-polls {*/
    /*    grid-template-columns: 1fr;*/
    /*    row-gap: 30px;*/
    /*}*/
    .wp-polls ul li, .wp-polls-ul li, .wp-polls-ans ul li {
        display: none;
    }
    .poll-widget .poll-radio span {
        color: var(--color-w);
    }
/*}*/

@media screen and (min-width: 768px){
    .poll-title {font-size: 24px;}
    .wp-polls-archive, .opened-polls {
        display: grid;
        grid-template-columns: repeat(2, minmax(40%, 1fr));
        column-gap: 40px;
        row-gap: 20px;
    }
    .wp-polls-archive .poll-title {
        font-size: 20px;
    }
    .wp-polls-archive .wp-polls-ans {
        font-size: 12px;
    }
    .wp-polls-archive .wp-polls-ans li {
        padding: .3rem 0;
    }
}
