.contest-block{
    margin: 0 calc(var(--fv-gap, 20px) / 2) var(--fv-gap, 20px) calc(var(--fv-gap, 20px) / 2) !important;
    padding: 5px;
    display: inline-block;    
    text-align: center;
    background: var(--fv-card-bg, transparent);
    border: 0 solid var(--fv-card-border, transparent);
    border-width: var(--fv-card-border-w, 0);
    border-radius: var(--fv-card-radius, 0);
    
    box-shadow: var(--fv-card-shadow, 0px 0px 6px 0px #CCC);
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.contest-block:hover{
    box-shadow: var(--fv-card-shadow-hover, 0px 0px 12px 0px #CCC);
}

.contest-block--img-wrap a {
    display: inline-block;
    margin-top: 10px;
    min-width: 81%;
}

/* IMAGE */

.contest-block--img-wrap img {padding:0px; background:#fff; }

.contest-block--img-wrap img {
        box-shadow: 0.1px 0.1px 1px 1.3px rgba(0, 0, 150, 0.2);
}
.contest-block--img-wrap img:hover{
        box-shadow: 0px 0px 2px 2px rgba(0, 10, 205, 0.2);
}

.contest-block--title{
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 10px;
    margin-bottom: 5px;
    line-height: 1.2;
    font-family: "Open Sans", Arial;
    color: var(--fv-title-color, inherit);
}
.contest-block--title:after {
    display: table; content: " "; clear: both;
}

.contest-block--name{
    font-size: 14px;
    float:left;
    font-weight: 700;
    display: table-cell;
    max-width: 88%;
}

.contest-block--votes {
    width:30px;
    float: right;
    font-size: 16px;
    color: var(--fv-meta-color, #d02e2e);
    line-height: 20px;
    display: table-cell;
}

.contest-block--description{
    font-size: 14px;
    font-weight: 500;
    font-family: "Open Sans", Arial;
    line-height: 1.1;
    margin: 5px 0 10px;
}


/* BUTTON */

.fv_button {
    text-align: center;
    display: block;
    padding: 2px 0 10px 0;
}

.fv_button .fv_vote {
    background-color: var(--fv-btn-bg, #7CBDDE);
    border-radius: var(--fv-btn-radius, 0);

    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(top, #7EBBD9, #7CBDDE);
    background-image: -ms-linear-gradient(top, #7EBBD9, #7CBDDE);
    background-image: -webkit-linear-gradient(top, #7EBBD9, #7CBDDE);
    background-image: -o-linear-gradient(top, #7EBBD9, #7CBDDE);
    background-image: linear-gradient(top, #7EBBD9, #7CBDDE);
    
    width:auto;
    height:24px;
    text-align:center; 
    color: var(--fv-btn-text, #fff);
    text-decoration:none; 
    padding:2px 10px 2px 10px;
    font-size:13px;
    border: none;
    display: inline;
    box-sizing: border-box;
    vertical-align: middle;
}

.fv_button .fv_vote:hover {
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(top, #7EBBD9, #3A9BCC);
    background-image: -ms-linear-gradient(top, #7EBBD9, #3A9BCC);
    background-image: -webkit-linear-gradient(top, #7EBBD9, #3A9BCC);
    background-image: -o-linear-gradient(top, #7EBBD9, #3A9BCC);
    background-image: linear-gradient(top, #7EBBD9, #3A9BCC);
}


/* Design tokens: button styles, active only when the component root carries a fotov-btn--* class. */
.fotov-btn--solid .fv_button .fv_vote,
.fotov-btn--solid .fv_button .fv_vote:hover {
    background-image: none;
}
.fotov-btn--solid .fv_button .fv_vote:hover,
.fotov-btn--gradient .fv_button .fv_vote:hover,
.fotov-btn--pill .fv_button .fv_vote:hover {
    filter: brightness(0.92);
}
.fotov-btn--gradient .fv_button .fv_vote,
.fotov-btn--gradient .fv_button .fv_vote:hover {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.28), rgba(0, 0, 0, 0.12));
}
.fotov-btn--outline .fv_button .fv_vote,
.fotov-btn--outline .fv_button .fv_vote:hover {
    background: transparent;
    color: var(--fv-btn-bg, #7CBDDE);
    border: 2px solid var(--fv-btn-bg, #7CBDDE);
}
.fotov-btn--outline .fv_button .fv_vote:hover {
    background: var(--fv-btn-bg, #7CBDDE);
    color: var(--fv-btn-text, #fff);
}
.fotov-btn--pill .fv_button .fv_vote,
.fotov-btn--pill .fv_button .fv_vote:hover {
    background-image: none;
    border-radius: 999px;
    padding-left: 16px;
    padding-right: 16px;
}

/* Optional author line (Design option "show author"). */
.contest-block-author {
    font-size: 12px;
    opacity: 0.8;
    margin: 4px 0;
}

@media(max-width: 480px) {
    .contest-block {
        max-width: 99%;
    }
}
@media (min-width: 768px) { ul.fv_toolbar { height: auto; display: flow-root; } }

/* Pagination: themed per skin through the --fv-pg-* contract (see assets-src/scss/_pagination.scss). */
.fv-contest-theme-default .fv-pagination {
    --fv-pg-accent: var(--fv-accent, #64a281);
    --fv-pg-border: #d9dee3;
    --fv-pg-radius: 6px;
}

.fv-contest-theme-default .fv-pagination .fv-pagination-list a, .fv-contest-theme-default .fv-pagination .fv-pagination-list span:not(.pages):not(.current) { background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
