.post-template-wpfotovote .dmi-news-media, 
.post-template-wpfotovote .dmi-news-content,
.post-template-wpfotovote .dmi-smi2,
.page-template-wpfotovote .dmi-news-media,
.page-template-wpfotovote .dmi-news-content,
.page-template-wpfotovote .dmi-smi2 {
    max-width: 1000px;
}

.fv_button {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    float: none !important;
    margin: 0 auto !important;
}

#fv_constest_item .fv_button .fv_vote,
.fv_button .fv_vote {
    cursor: pointer;
    font-size: 14px !important;
    height: auto !important;
    padding: 10px 15px !important;
    text-transform: uppercase;
    font-weight: 700;
    background-color: #2688c7 !important;
    background-image: none !important;
    width: 128px !important;
}

.fv_button .fv_vote:hover {
    background-color: #f70d28 !important;
    background-image: none !important;
}

a.fv-small-action-btn {
    padding: 10px 15px !important;
    margin: 10px auto !important;
    display: block;
    position: relative;
    height: auto !important;
    border-radius: 0 !important;
    background-color: #dad8d8 !important;
    font-family:inherit !important;
    text-transform: uppercase;
    font-size: 12px;
    width: 128px !important;
    font-weight: 700;
}

a.fv-small-action-btn:before {
    display: none !important;
}

.post-template-wpfotovote .fv-contest-photos-container-inner, 
.page-template-wpfotovote .fv-contest-photos-container-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.post-template-wpfotovote .contest-block, 
.page-template-wpfotovote  .contest-block {
    box-shadow: none;
    width: 30%;
    padding: 0;
    margin: 10px!important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e2e2e2;
}

@media only screen and (max-width: 1024px) {
    .post-template-wpfotovote .contest-block, .page-template-wpfotovote .contest-block {
        width: 45%;
    }
}

@media only screen and (max-width: 768px) {
    .post-template-wpfotovote .contest-block, .page-template-wpfotovote .contest-block {
        width: 80%;
    }
}

.post-template-wpfotovote .contest-block:hover, 
.post-template-wpfotovote .contest-block--img-wrap img:hover,
.page-template-wpfotovote .contest-block:hover,
.page-template-wpfotovote .contest-block--img-wrap img:hover {
    box-shadow: none;
}

.post-template-wpfotovote .contest-block--img-wrap a,
.page-template-wpfotovote .contest-block--img-wrap a {
    display: block;
    margin-top: 0;
    min-width: 100%;
    width: 100%;
    background-color: #f9f9f9;

    position: relative;
    padding-bottom: 125%;
    height: 0;
    overflow: hidden;
}

.post-template-wpfotovote .contest-block--img-wrap a span,
.page-template-wpfotovote .contest-block--img-wrap a span {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.post-template-wpfotovote .contest-block--title, 
.page-template-wpfotovote .contest-block--title {
    margin-top: 0 !important;
    padding-top: 10px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
}

.post-template-wpfotovote .contest-block--description,
.page-template-wpfotovote .contest-block--description {
    font-size: 13px !important;
    font-weight: normal !important;
    font-family: inherit !important;
    line-height: normal !important;
    margin: 0 auto !important;
    padding: 10px !important;
}

.post-template-wpfotovote .contest-block--title .contest-block--votes,
.page-template-wpfotovote .contest-block--title .contest-block--votes {
    width: 100%;
    float: none;
    font-size: 11px;
    color: #d02e2e;
    margin-top: 5px;
    display: block;
    text-transform: uppercase;
}

.post-template-wpfotovote .contest-block--title .contest-block--votes span,
.page-template-wpfotovote .contest-block--title .contest-block--votes span {
    font-weight: 700;
}

#fv_constest_item {
    width: 100% !important;
    font-family: inherit !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
    padding-top: 0 !important;
    margin: 0 auto !important;
}

#fv_constest_item .fv_photo {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

#fv_constest_item .fv_photo img {
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 20px;
    max-height: 700px;
}

#fv_constest_item .fv_photo_votes {
    float: none !important;
    margin: 10px auto 0 !important;
    font-size: 11px !important;
    color: #d02e2e;
    display: block;
    text-transform: uppercase;
}

#fv_constest_item .fv_social {
    margin: 0 auto !important;
}

#fv_constest_item .fv_social span {
    padding: 0 !important;
    font-size: 12px !important;
    line-height: 22px;
    text-decoration: none !important;
    color: #5b959e;
    text-transform: uppercase;
}

#fv_constest_item .btn-back {
    display: block;
    margin: 0 auto 10px;
    font-size: 12px !important;
    text-transform: uppercase;
}

#fv_constest_item .fv_description {
    padding: 20px !important;
    margin: 0 !important;
    text-align: left !important;
    font-size: 16px !important;
}

#fv_constest_item .fv_description .t_fv_description {
    font-weight: 700;
    margin-bottom: 10px;
}

.wp-foto-vote-ads {
    width: 100%;
    max-width: 1000px;
    background-color: #f9f9f9;
    padding: 20px;
    margin: 20px auto;
}