/* polls / surveys component */

.poll {

    & + & {
        border-top: 1px solid #eee; 
    }

    h4 {
        margin-top: 0;
        font-weight: 200;
        font-size: 1.2em;
    }

    .survey-title {
        margin-bottom: 4px;
        font-weight: 600;
    }

    .by-line {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .poll-bar-container img,
    .by-line {
        display: block;
    }

    &,
    &[class^="poll-"] {

        li {
            margin-bottom: 10px;
        }
        img {
            border-left: none !important; // override inline style 
        }
    }

    &[class^="poll-"] + &[class^="poll-"] {
        padding-top: 20px;
    }

    &.poll-voted,
    &.poll-not-voted {
        clear: both;
    }

    .poll-btn,
    .btn {
        margin-top: 10px;
    }

    .poll-bar-bg {
        background: rgb(246, 246, 247);
        margin-top: 2px;
    }

    .poll-bar {
        img {
            opacity: 0;
        }
    }
}