.wpupg-grid .wpupg-item {
    box-sizing: border-box;
}

.wpupg-item {
    // Clearfix
    overflow: auto;
    zoom: 1;
    text-align: left;
    clear: both;

    * {
        box-sizing: border-box;
    }

    ol, ul {
        -webkit-margin-before: 0;
        -webkit-margin-after: 0;
        -webkit-padding-start: 0;
        margin: 0;
        padding: 0;
    }

    li {
        font-size: 1em;
        margin: 0 0 0 32px;
        padding: 0;
    }

    p {
        font-size: 1em;
        margin: 0;
        padding: 0;

        &:first-letter {
            font-size: inherit;
            line-height: inherit;
            color: inherit;
            margin: inherit;
            padding: inherit;
            font-family: inherit;
        }
    }
    
    li {
        list-style-position: outside;

        &:before {
            display: none;
        }
    }

    h1, h2, h3, h4, h5, h6 {
        clear: none;
        font-variant: normal;
        text-transform: none;
        letter-spacing: normal;
        margin: 0;
        padding: 0;
    }
}

.wpupg-grid a.wpupg-item.wpupg-item-link {
    transition: none;
    text-decoration: none;
    box-shadow: none;
}

.rtl .wpupg-item {
    text-align: right;

    li {
        margin: 0 32px 0 0;
    }
}