/* header hats */
.headhats-block__one {
    margin-right: 0;
}

.headhats-icolist__flex2__one__text {
    font-weight: bold;
}

/* end header hats */
.description {
    background-color: #f9f9f9;
    padding: 15px 15px 15px;
    margin-top: 20px;
    border: 1px dashed #ccc;
}
.description-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.description-content .prize {
    margin-left: 25px;
    margin-top: 30px;
    padding: 50px 20px;
    background: #62818A14 0 0 no-repeat padding-box;
    border-radius: 10px;
}
.description-content .prize p.prize-pool {
    font-size: 14px;
    line-height: 16px;
    color: #0C0C0C;
    font-weight: 600;
    text-align: center;
}
.description-content .prize p.prize-exceeds {
    margin-top: 10px;
    font-size: 20px;
    line-height: 22px;
    color: #62818A;
    font-weight: 600;
    text-align: center;
}
.description .forex-contests-p, .description .forex-contests-h4 {
    line-height: 1.3em;
    font-size: 1em;
    color: #0C0C0C;
}

.description .forex-contests-h4 {
    font-weight: bold;
}

.description .forex-contests-ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.description .forex-contests-item {
    position: relative;
    margin-top: 20px;
    margin-left: 55px;
    line-height: 22px;
    font-size: 20px;
    font-weight: 600;
    text-align: left;
}

.description .forex-contests-item > img {
    width: 27px;
}

.target-menu {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    margin-top: 20px;
    align-items: center;
}

@media only screen and (max-width: 768px) {
}

.target-menu a {
    flex: 1;
    padding: 20px;
    text-align: center;
    background-color: #dedede;
    color: #495057;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    -webkit-transition: background-color 200ms linear;
    -moz-transition: background-color 200ms linear;
    -ms-transition: background-color 200ms linear;
    -o-transition: background-color 200ms linear;
    transition: background-color 200ms linear;
    -moz-box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.2);
}

.target-menu a:hover {
    background-color: #cccccc;
}

.target-menu a.active {
    background-color: #8f0102;
    color: #fff;
    cursor: initial;
    -moz-box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.4);
    box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.4);
}

#demo-contests-block {
    display: none;
}

.type-block .contest .info-block .row, .type-block {
    margin-left: -15px;
    margin-right: -15px;
}

.type-block {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.type-block .contest {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: 585px;
    width: 100%;
    margin: 15px;
    background-color: #fff;
    -moz-box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.2);
}

.type-block .contest .banner-block {
    text-align: center;
    position: relative;
}

.type-block .contest .banner-block a {
    display: block;
    max-height: 219px;
}

.type-block .contest .banner-block img {
    max-width: 100%;
    min-width: 450px;
}

.type-block .contest .banner-block .played-out {
    position: absolute;
    bottom: 7%;
    left: 15px;
    color: #fff;
    text-transform: uppercase;
}

.type-block .contest .title h3 {
    font-size: 1.3em;
    font-weight: 600;
    color: #161d2a;
    text-align: left;
}

.type-block .contest .title .link {
    font-size: 0.9em;
    text-decoration: none;
}

.type-block .contest .title .link:hover {
    color: #28344b;
}

.type-block .contest .title .link:after {
    content: " >>";
    font-size: 0.8em;
}

.type-block .contest .buttons {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
}

.type-block .contest .buttons .btn {
    flex: 1;
}

.type-block .contest .info-block .row.icons .type-prize:before, .type-block .contest .info-block .row.icons .type-duration:before, .type-block .contest .info-block .row.icons .type-period:before, .type-block .contest .info-block .row.icons .type-deposit:before, .type-block .contest .info-block .row.icons .main-type:before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    background-image: url(/i/img/forex_contests/sprite-block.png);
    background-repeat: no-repeat;
    margin-bottom: 10px;
}

.type-block.type-closed .contest .info-block .row.icons .main-type:before {
    filter: grayscale(1);
}

.type-block .contest .info-block {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.type-block .contest .info-block .row {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    margin-left: -5px;
    margin-right: -5px;
}

.type-block .contest .info-block .row.info {
    flex: 1;
}

.type-block .contest .info-block .row.icons {
    flex-wrap: wrap;
}

.type-block .contest .info-block .row.icons > .col {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    margin-left: 5px;
    margin-right: 5px;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.type-block .contest .info-block .row.icons > .col .info {
    text-align: center;
    font-size: 0.7em;
    color: #6c757d;
}

.type-block .contest .info-block .row.icons > .col .text {
    text-align: center;
    font-size: 0.8em;
    font-weight: 600;
}

.type-block .contest .info-block .row.icons .main-type .text {
    text-transform: uppercase;
}

.type-block .contest .info-block .row.icons .type-deposit:before {
    background-position: -30px 0px;
}

.type-block .contest .info-block .row.icons .type-period:before {
    background-position: 0px -30px;
}

.type-block .contest .info-block .row.icons .type-duration:before {
    background-position: -60px 0px;
}

.type-block .contest .info-block .row.icons .type-prize:before {
    background-position: -30px -30px;
}

.type-block .contest .info-block .row .col {
    flex: 1;
    margin: 15px;
    text-align: left;
}

.open-download-block .open_download {
    background-color: #fff;
}

.instaforexcontests__padone {
    margin-top: 15px;
}

.instaforexcontests__padone a {
    white-space: nowrap;
}

.closed-title {
    margin-top: 30px;
    margin-bottom: 15px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    text-transform: none;
}

.countdown-content {
    display: flex;
    padding: 20px;
    margin-top: 20px;
    box-sizing: border-box;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    background-color: #ffffff;
    -moz-box-shadow: 2px 2px 8px 1px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 2px 2px 8px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 2px 2px 8px 1px rgba(0, 0, 0, 0.2);
}

.countdown-content .countdown {
    display: flex;
    flex-wrap: wrap;
    min-width: 420px;
    flex: 1;
    justify-content: center;
}

.countdown-content .countdown-block {
    font-weight: bold;
    font-size: 40px;
    font-family: inherit;
    color: #161d2a;
    display: flex;
    margin: 5px;
    padding: 10px;
    background-color: #fff;
    -moz-box-shadow: 2px 2px 8px 1px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 2px 2px 8px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 2px 2px 8px 1px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.countdown-content .colon {
    font-weight: bold;
    font-size: 25px;
    padding: 0 5px;
    color: #161d2a;
    display: flex;
    align-self: flex-end;
}

.countdown-content .text-block {
    flex: 1;
    margin: 10px;
    min-width: 130px;
    text-align: center;
}

.countdown-content .account-button {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    min-width: 220px;
    max-width: 320px;
    width: 100%;
    margin: 10px;
    position: relative;
    bottom: -10px;
}

.countdown-content .button {
    display: inline-block;
    padding: 10px;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    background-color: #009103;
    color: #fff;
    margin-bottom: 10px;
}

.countdown-content .button:hover {
    background-color: #008002;
}

.countdown-content .free-acc {
    font-size: 14px;
    text-align: center;
}

.countdown-content .free-acc a {
    white-space: nowrap;
}

@media (max-width: 1497px) {
    .countdown-content {
        margin: 10px auto;
        max-width: 585px;
        flex-direction: column;
    }

    .countdown-content .account-button {
        position: static;
    }
}

@media only screen and (max-width: 768px) {
    .target-menu {
        flex-direction: column;
    }

    .type-block .contest .banner-block .played-out {
        bottom: 8%;
        font-size: 0.7em;
    }
}

@media (max-width: 600px) {
    .countdown-content .countdown {
        min-width: auto;
    }

    .countdown-content .countdown-block {
        font-size: 33px;
        padding: 0;
        box-shadow: none;
    }

    .countdown-content .account-button {
        margin: 10px 0;
    }
    .description-content {
        flex-direction: column;
    }
    .description-content .prize {
        padding: 10px;
        margin-left: 0;
        width: 100%;
    }
    .description-content .prize p.prize-exceeds {
        font-size: 16px;
        line-height: 17px;
    }
}

@media only screen and (min-width: 481px) {
    .type-block .contest .title {
        padding-left: 20px;
    }

    .type-block .contest .buttons .btn {
        margin-right: 30px;
    }
}

@media only screen and (max-width: 480px) {
    .type-block .contest .banner-block img {
        min-width: 210px;
    }

    .type-block .contest .info-block > .row:first-child {
        flex-direction: column;
    }
}
