.contest-v4 {

    a {
        color: #FFFFFF;

        &:hover {
            text-decoration: none;
        }
    }

    & .period-promotion {
        color: #fff;
        margin-bottom: 50px;
        margin-top: -49px;
        font-size: 22px;

    }

    & .ranking-section {
        padding-bottom: 150px!important;
    }

    & .ranking-cols-double {
        display: flex;
        margin-top: 35px;

        & .ranking-title-wrapper {
            margin-left: -25px;
            margin-right: -25px;
            margin-top: 35px;
        }

        & .ranking-desc {
            padding: 40px;
            color: #1F1F1F;
            font-size: 25px;
            line-height: 1.5;
            text-shadow: 0 0 5px #ffd52f;
        }

        & .ranking-desc .contest-ranking-entity:nth-child(even) {
            color: #059859;
        }

        & .ranking-title {
            font-family: 'Montserrat Bold';
            font-size: 14px!important;
            line-height: 22px;
            color: #fff;
            background: rgb(189,51,25)!important;
            background: -moz-linear-gradient(90deg, rgba(189,51,25,1) 0%, rgba(77,13,9,1) 100%)!important;
            background: -webkit-linear-gradient(90deg, rgba(189,51,25,1) 0%, rgba(77,13,9,1) 100%)!important;
            background: linear-gradient(90deg, rgba(189,51,25,1) 0%, rgba(77,13,9,1) 100%)!important;
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#bd3319",endColorstr="#4d0d09",GradientType=1)!important;
            border-radius: 50px;
            padding: 12px 40px !important;
            border: 1px solid #FEC12E;
            text-align: center;
            max-width: 100%;
        }

        & .ranking-col {
            position: relative;
            padding: 50px;
            min-height: 1000px;
            width: 50%;
            margin-bottom: 50px;
            &:before {
                content: '';
                background-image: url("../../images/contest/v4/bg_frame_vertical.png");
                background-repeat: no-repeat;
                background-position: center;
                -webkit-background-size: contain;
                -moz-background-size: contain;
                -o-background-size: contain;
                -html-background-size: contain;
                background-size: contain;
                width: 100%;
                height: 100%;
                position: absolute;
                z-index: 0;
                top: 0;
                left: 0;
            }
        }
    }

    & .coin-left {
        position: absolute;
        left: -17px;
        top: -5px;
        width: 18%!important;
        max-width: 100%!important;
        z-index: 1;
    }

    & .coin-right {
        position: absolute;
        right: -17px;
        top: -66px;
        width: 69%!important;
        max-width: 100%!important;
        z-index: 1;
    }

    & .coin-right-2 {
        position: absolute;
        right: -65px;
        top: -30px;
        width: 85%!important;
        max-width: 100%!important;
        z-index: 1;
    }

    & .coin-right-3 {
        position: absolute;
        right: -65px;
        top: 35px;
        width: 27%!important;
        max-width: 100%!important;
        z-index: 1;
    }

    & .ul-bg {
        position: relative;
        &:before {
            content: '';
            background-image: url("../../images/contest/v4/coin_right_4.png");
            background-repeat: no-repeat;
            background-position: center;
            -webkit-background-size: contain;
            -moz-background-size: contain;
            -o-background-size: contain;
            -html-background-size: contain;
            background-size: contain;
            width: 75%;
            height: 100%;
            position: absolute;
            z-index: 0;
            top: 0;
            right: -100px;
        }
        & li:before {
            content: unset!important;
        }
    }

    .bg-section {
        position: relative;
        padding: 80px 0;
        background: rgb(4,84,49);
        background: -moz-radial-gradient(circle, rgba(4,84,49,1) 0%, rgba(5,168,98,1) 100%);
        background: -webkit-radial-gradient(circle, rgba(4,84,49,1) 0%, rgba(5,168,98,1) 100%);
        background: radial-gradient(circle, rgba(4,84,49,1) 0%, rgba(5,168,98,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#045431",endColorstr="#05a862",GradientType=1);
        &:before {
            content: '';
            background-image: url("../../images/contest/v4/bg_section.png");
            background-repeat: no-repeat;
            background-position: center;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            -html-background-size: cover;
            background-size: cover;
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
        }

    }

    .bg-section-dark {
        position: relative;
        padding: 80px 0px 123px 1px;
        background: rgb(5,168,98);
        background: -moz-radial-gradient(circle, rgba(5,168,98,1) 0%, rgba(3,84,49,1) 100%);
        background: -webkit-radial-gradient(circle, rgba(5,168,98,1) 0%, rgba(3,84,49,1) 100%);
        background: radial-gradient(circle, rgba(5,168,98,1) 0%, rgba(3,84,49,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#05a862",endColorstr="#035431",GradientType=1);
        &.unset {
            &:before {
                content: unset;
            }
        }
        &:before {
            content: '';
            background-image: url("../../images/contest/v4/bg_section.png");
            background-repeat: no-repeat;
            background-position: center;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            -html-background-size: cover;
            background-size: cover;
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
        }

    }

    .bg-text-frame {
        font-family: 'Montserrat Bold';
        position: relative;
        color: #1F1F1F!important;
        min-height: 334px;

        & .text-frame {
            padding: 65px;
        }

        & ul {
            color: #1F1F1F!important;
            & li:before {
                background: #1F1F1F!important;
            }
        }
        &:before {
            content: '';
            background-image: url("../../images/contest/v4/text_bg.png");
            background-repeat: no-repeat;
            background-position: center;
            -webkit-background-size: contain;
            -moz-background-size: contain;
            -o-background-size: contain;
            -html-background-size: contain;
            background-size: contain;
            width: 100%;
            height: 100%;
            position: absolute;
        }
    }

    & .round-title {
        text-align: center;
        position: relative;
        & img {
            max-width: 60%;
        }
        &.big {
            & img {
                max-width: 75%;
            }
        }
        &.full {& img {
            max-width: 100%;
        }

        }
    }

    & .accounts-wrapper {
        display: flex;
        margin-top: 50px;
        position: relative;

        & .account-desc {
            padding: 5px 35px;
        }

        & > div {
            width: 25%;
            font-family: 'Montserrat Bold';
            text-align: center;
            & img {
                max-width: 100%;
                width: 100%;
            }

        }
    }

    & .contest-wrapper {
        position: relative;
    }

    & .cube-left {
        position: absolute;
        left: -214px;
        top: -276px;
        width: 235px!important;
        max-width: 100%!important;
    }

    & .cube-left-1 {
        position: absolute;
        left: -64px;
        bottom: -42px;
        width: 324px!important;
        max-width: 100%!important;
    }

    & .cube-left-2 {
        position: absolute;
        left: -111px;
        bottom: -141px;
        width: 54%!important;
        max-width: 100%!important;
        z-index: 1;
    }

    & .cube-left-3 {
        position: absolute;
        left: -180px;
        bottom: -139px;
        width: 54%!important;
        max-width: 100%!important;
    }

    & .ranking-note {
        text-align: center;
        float: right;
        max-width: 250px;
        font-weight: bold;
        margin-top: 35px;
    }

    & .cube-right-1 {
        position: absolute;
        right: -218px;
        bottom: -161px;
        width: 634px!important;
        max-width: 100%!important;
    }

    & .cube-right-2 {
        position: absolute;
        right: -143px;
        bottom: -139px;
        width: 70%!important;
        max-width: 100%!important;
    }

    & .cube-right {
        position: absolute;
        right: -180px;
        top: -102px;
        width: 22%!important;
        max-width: 100%!important;
    }

    & .accounts-desc-extra {
        margin-top: 35px;
        padding: 0 35px;
        font-family: 'Montserrat Bold';
        & ul {
            margin-bottom: 20px;
            & li {
                margin-bottom: 5px;
            }
            & li:before {
                background: #fff!important;
            }
        }
    }

    & .prizes-desc-extra {
        margin-top: 50px;
        & ul {
            margin-bottom: 0;
            margin-top: 20px;
        }
    }

    & .prizes-money {
        margin-left: -25px;
        margin-right: -25px;
        padding-top: 45px;
    }

    & .prizes-money-txt {
        text-align: center;
        color: #1F1F1F;
        font-size: 26px;
        line-height: 34px;
        font-family: 'Montserrat Bold';
        margin-top: 5px;
    }

    & .prizes-money-title {
        font-weight: bolder;
    }


    & .line-more {
        & li{
            margin-bottom: 15px!important;
        }
    }

    & .contest-form-v4 {
        margin-top: 10px;
    }

    & .contest-form {
        max-width: 710px;
        padding: 79px 0;

        & .info {
            color: #1F1F1F!important;
            font-family: 'Montserrat Bold';
        }

        & .form-contest-message {
            & .title, & .desc {
                color: #1F1F1F!important;
                font-family: 'Montserrat Bold';
            }
        }

        & button {
            color: #fff;
            background: rgb(189,51,25)!important;
            background: -moz-linear-gradient(90deg, rgba(189,51,25,1) 0%, rgba(77,13,9,1) 100%)!important;
            background: -webkit-linear-gradient(90deg, rgba(189,51,25,1) 0%, rgba(77,13,9,1) 100%)!important;
            background: linear-gradient(90deg, rgba(189,51,25,1) 0%, rgba(77,13,9,1) 100%)!important;
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#bd3319",endColorstr="#4d0d09",GradientType=1)!important;
            &:hover {
                background: rgb(77,13,9)!important;
                background: -moz-linear-gradient(90deg, rgba(77,13,9) 0%, rgba(189,51,25,1) 100%)!important;
                background: -webkit-linear-gradient(90deg, rgba(77,13,9) 0%, rgba(189,51,25,1) 100%)!important;
                background: linear-gradient(90deg, rgba(77,13,9) 0%, rgba(189,51,25,1) 100%)!important;
                filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#4d0d09",endColorstr="#bd3319",GradientType=1)!important;
            }
        }
    }

    & form input {
        border: 0!important;
        background: rgb(6,140,82)!important;
        background: -moz-linear-gradient(90deg, rgba(6,140,82,1) 0%, rgba(6,91,53,1) 100%)!important;
        background: -webkit-linear-gradient(90deg, rgba(6,140,82,1) 0%, rgba(6,91,53,1) 100%)!important;
        background: linear-gradient(90deg, rgba(6,140,82,1) 0%, rgba(6,91,53,1) 100%)!important;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#068c52",endColorstr="#065b35",GradientType=1)!important;
        &:hover {
            background: rgb(6,91,53)!important;
            background: -moz-linear-gradient(90deg, rgba(6,91,53,1) 0%, rgba(6,140,82,1) 100%)!important;
            background: -webkit-linear-gradient(90deg, rgba(6,91,53,1) 0%, rgba(6,140,82,1) 100%)!important;
            background: linear-gradient(90deg, rgba(6,91,53,1) 0%, rgba(6,140,82,1) 100%)!important;
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#065b35",endColorstr="#068c52",GradientType=1)!important;
        }
    }

    .ranking-search {
        position: relative;
        width: 95%;
        height: 50px;
        margin: auto;
        z-index: 1;

        .ranking-search-submit {
            position: absolute;
            height: 100% !important;
            right: 0;
            padding: 3px 30px !important;
            color: #fff;
            background: rgb(189,51,25)!important;
            background: -moz-linear-gradient(90deg, rgba(189,51,25,1) 0%, rgba(77,13,9,1) 100%)!important;
            background: -webkit-linear-gradient(90deg, rgba(189,51,25,1) 0%, rgba(77,13,9,1) 100%)!important;
            background: linear-gradient(90deg, rgba(189,51,25,1) 0%, rgba(77,13,9,1) 100%)!important;
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#bd3319",endColorstr="#4d0d09",GradientType=1)!important;
            &:hover {
                background: rgb(77,13,9)!important;
                background: -moz-linear-gradient(90deg, rgba(77,13,9) 0%, rgba(189,51,25,1) 100%)!important;
                background: -webkit-linear-gradient(90deg, rgba(77,13,9) 0%, rgba(189,51,25,1) 100%)!important;
                background: linear-gradient(90deg, rgba(77,13,9) 0%, rgba(189,51,25,1) 100%)!important;
                filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#4d0d09",endColorstr="#bd3319",GradientType=1)!important;
            }

            svg {
                fill: currentColor;
            }
        }
        
        .ranking-search-input {
            height: 100%;
            input {
                height: 100%;
                font-size: 18px;
                @media only screen and (max-width: 1000px) {
                    font-size: 16px;
                }
                @media only screen and (max-width: 600px) {
                    font-size: 14px;
                }
                color: #b4892b;
                background: #F79A0A!important;
                background: -moz-linear-gradient(0deg, #F79A0A 0%, #F8E16F 100%)!important;
                background: -webkit-linear-gradient(0deg, #F79A0A 0%, #F8E16F 100%)!important;
                background: linear-gradient(0deg, #F79A0A 0%, #F8E16F 100%)!important;
                filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f79a0a",endColorstr="#f8e16f",GradientType=1)!important;
                &:hover {
                    background: #F79A0A!important;
                    background: -moz-linear-gradient(0deg, #F79A0A 0%, #FFD3A6 100%)!important;
                    background: -webkit-linear-gradient(0deg, #F79A0A 0%, #FFD3A6 100%)!important;
                    background: linear-gradient(0deg, #F79A0A 0%, #FFD3A6 100%)!important;
                    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f79a0a",endColorstr="#FFD3A6",GradientType=1)!important;
                }
            }
        }
    }
}

::-webkit-input-placeholder {
    color: #b4892b;
}
:-moz-placeholder {
    color: #b4892b;
    opacity: 1;
}
::-moz-placeholder {
    color: #b4892b;
    opacity: 1;
}
:-ms-input-placeholder {
    color: #b4892b;
}
::-ms-input-placeholder {
    color: #b4892b;
}
::placeholder {
    color: #b4892b;
}


@media only screen and (max-width: 600px) {
    .period-promotion {
        margin-bottom: 26px!important;
        margin-top: -35px!important;
        font-size: 16px!important;
        line-height: 23px!important;
    }
}


@media only screen and (max-width: 1000px) {
    .___contest___ .contest-v4 .contest-main-banner-img {
        width: 150%;
        margin-left: -25%;
    }

    .contest-v4 .bg-section {
        padding: 60px 0;
    }

    .contest-v4 .round-title {
        margin-bottom: 20px;
    }

    .contest-v4 .coin-right {
        top: -36px;
        width: 60% !important;
    }

    .contest-v4 .bg-text-frame {
        min-height: unset;
        width: 100vw;
        left: calc((100vw - 100%) / 2 * -1);
        margin: 80px 0 20px;
        background: linear-gradient(180deg, #EDC62C 0%, #FBD12D 12.5%, #FED42E 25%, #FFD52F 50%, #FDD32E 75%, #FBD02D 87.5%, #DFBB2A 100%);
        border-top: 5px solid #C09102;
        border-bottom: 5px solid #A07A01;
    }

    .contest-v4 .bg-text-frame::before {
        background-size: unset;
        background-image: url("../../images/contest/v4/text_bg_repeat.png");
        background-repeat: repeat-x;
        height: 30px;
        width: 150%;
        left: -25%;
        top: -35px;
    }

    .contest-v4 .bg-text-frame::after {
        content: '';
        position: absolute;
        background-size: unset;
        background-image: url("../../images/contest/v4/text_bg_repeat.png");
        background-repeat: repeat-x;
        background-position: center;
        height: 30px;
        width: 150%;
        left: -25%;
        bottom: -35px;
    }

    .contest-v4 .bg-text-frame .text-frame {
        padding: 40px 65px;
    }

    .contest-v4 .accounts-wrapper {
        flex-wrap: wrap;
        margin-left: 4%;
        margin-right: 4%;
    }

    .contest-v4 .accounts-wrapper > div {
        width: 46%;
        margin: 2%;
    }

    .contest-v4 .cube-left {
        left: -20%;
        top: -10%;
        width: 30% !important;
    }

    .contest-v4 .cube-right {
        right: -15%;
        top: 10%;
        width: 25% !important;
    }

    .contest-v4 .contest-form {
        padding: 50px 20px;
    }

    .contest-v4 .prizes-money {
        margin: 0;
        padding: 50px 20px;
    }

    .contest-v4 .cube-left-1 {
        left: -100px;
        bottom: -150px;
    }

    .contest-v4 .cube-right-1 {
        width: 80% !important;
        max-width: 634px !important;
    }

    .contest-v4 .ranking-cols-double {
        position: relative;
        margin: 80px 0 20px;
        width: 100vw;
        left: calc((100vw - 100%) / 2 * -1);
        background: linear-gradient(180deg, #EDC62C 0%, #FBD12D 12.5%, #FED42E 25%, #FFD52F 50%, #FDD32E 75%, #FBD02D 87.5%, #DFBB2A 100%);
        border-top: 5px solid #C09102;
        border-bottom: 5px solid #A07A01;
    }

    .contest-v4 .ranking-cols-double::before,
    .contest-v4 .ranking-cols-double::after {
        content: '';
        position: absolute;
        background-size: unset;
        background-image: url("../../images/contest/v4/text_bg_repeat.png");
        background-repeat: repeat-x;
        background-position: center;
        height: 30px;
        width: 150%;
        left: -25%;
    }

    .contest-v4 .ranking-cols-double::before {
        top: -35px;
    }

    .contest-v4 .ranking-cols-double::after {
        bottom: -35px;
    }

    .contest-v4 .ranking-cols-double .ranking-col {
        padding-top: 0;
        min-height: unset;
        margin-bottom: unset;
    }

    .contest-v4 .ranking-cols-double .ranking-col:first-child {
        padding-right: 20px;
    }

    .contest-v4 .ranking-cols-double .ranking-col:last-child {
        padding-left: 20px;
    }

    .contest-v4 .ranking-cols-double .ranking-col::before {
        content: none;
    }

    .contest-v4 .ranking-cols-double .ranking-col .ranking-title-wrapper {
        margin-right: 0;
        margin-left: 0;
    }

    .contest-v4 .ranking-cols-double .ranking-col .ranking-desc {
        padding: 20px 10px;
    }

    .contest-v4 .ranking-cols-double .ranking-col .ranking-title {
        white-space: nowrap;
    }

    .contest-v4 .cube-left-3 {
        width: 40% !important;
        left: -90px;
    }

    .contest-v4 .ranking-note {
        float: none;
        position: absolute;
        bottom: 20px;
        width: 100%;
        max-width: none;
        text-shadow: 0 0 5px #000000;
    }
}

@media only screen and (max-width: 600px) {
    .contest-v4 .coin-right {
        top: 0;
        right: -5%;
    }

    .contest-v4 .bg-text-frame .text-frame {
        padding: 30px 35px;
    }

    .contest-v4 .accounts-wrapper > div {
        width: 90%;
        margin: 2% auto;
    }

    .contest-v4 .cube-left {
        left: -40%;
        top: 10%;
        width: 60% !important;
    }

    .contest-v4 .cube-right {
        right: -15%;
        top: 60%;
        width: 35% !important;
    }

    .contest-v4 .bg-section-dark {
        padding: 40px 0 80px 1px;
    }

    .contest-v4 .cube-left-1 {
        width: 45% !important;
        left: -15%;
        top: -5%;
        bottom: unset;
    }

    .contest-v4 .bg-section {
        padding: 40px 0;
    }

    .contest-v4 .prizes-money {
        padding: 30px 20px;
    }

    .contest-v4 .ranking-cols-double .ranking-col:first-child {
        padding-right: 10px;
        padding-left: 20px;
    }

    .contest-v4 .ranking-cols-double .ranking-col:last-child {
        padding-right: 20px;
        padding-left: 10px;
    }

    .contest-v4 .ranking-cols-double .ranking-title {
        font-size: 12px !important;
        padding: 12px 10px !important;
    }
}