/**** КАК ПРИНЯТЬ УЧАСТИЕ ****/

h3.to-take-part-title {
    text-transform:none;
    text-align: center;
    font-family: Helvetica, sent-serif;
    font-size: 24px;
    line-height: 29px;
    font-weight: bold;
    letter-spacing: -0.48px;
    color: #333333;
}

.to-take-part-block {
    display: table;
    width: 100%;
    margin-top: 24px;
    margin-bottom: 75px;
}

.to-take-part-block .to-take-arrow {
    display: table-cell;
    position:relative;
    width: 20px;
    height:100%;
}

.to-take-part-block .to-take-tile:not(.tile_4):after {
    display:block;
    content:"";
    position:absolute;
    height:0;
    width:0;
    top:0;
    bottom:0;
    z-index: 1;
    margin:auto;
    border: 40px solid transparent;
    border-width: 25px 12px;
}
.page[dir=rtl] .to-take-part-block .to-take-tile:not(.tile_4):after {
    left: -6px;
    right: auto;
    border: 40px solid transparent;
    border-right-color: #ccc;
    border-left: 0;
    border-width: 25px 12px;
}

.to-take-part-block .to-take-tile {
    display: table-cell;
    text-align: center;
    vertical-align: top;
    position: relative;
    padding-right: 10px;
    padding-left: 10px;
    text-decoration: none;
}

.to-take-part-block a.to-take-tile:hover .content {
    box-shadow: 0px 0px 10px 0px;
}

.to-take-part-block a.to-take-tile:hover .label{
    box-shadow: 0px 7px 8px -5px;
}

.to-take-part-block .to-take-tile .content {
    display:block;
    margin:auto;
    max-width: 180px;
    border-radius: 12px;
    border: 1px solid #D9D9D9;
    height: 240px;
    padding: 0;
    position: relative;
}

.to-take-part-block .to-take-tile .content .image-logo {
    display:inline-block;
    background-image: url(/i/img/contests/takes/to_take_part_icons.jpg);
    height: 139px;
    width: 100%;
    position:relative;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.to-take-part-block .to-take-tile .content .image-logo:after {
    opacity: 0.65;
    background-color: #000000;
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top:0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    z-index: 0;
}

.to-take-part-block .to-take-tile .content .image-logo img {
    position:absolute;
    z-index:2;
    top:0;
    bottom:0;
    left:0;
    right:0;
    margin:auto;
}

.to-take-part-block .to-take-tile.tile_1 .content .image-logo img {
    left:15px;
}

.to-take-part-block .to-take-tile .content .image-logo {
    width: 180px;
}
.to-take-part-block .to-take-tile.tile_1 .content .image-logo {
    background-position: -5px -5px;
}

.to-take-part-block .to-take-tile.tile_2 .content .image-logo {
    background-position: -5px -153px;
}

.to-take-part-block .to-take-tile.tile_3 .content .image-logo {
    background-position: 185px -5px;
}

.to-take-part-block .to-take-tile.tile_4 .content .image-logo {
    background-position: -5px 144px;
}

.to-take-part-block .to-take-tile .content .text{
    margin: 10px 10px 15px;
}
.to-take-part-block .to-take-tile .content .text p{
    font-family: "Helvetica", sent-serif;
    font-size:13px;
    line-height: 18px;
    letter-spacing: 0;
    text-align: center;
}

.to-take-part-block .to-take-tile .content .label{
    position:absolute;
    width:52px;
    height:52px;
    border-radius:50%;
    border: 1px solid #D9D9D9;
    bottom:-26px;
    left:0;
    right:0;
    margin:auto;
    background-color:#ffffff;
    line-height:52px;
    font-family: "Helvetica", sent-serif;
    font-size:20px;
    font-weight:900;
    letter-spacing: 0;
    color: #000000;
}

/* slider  */
.to-take-part-block.slick-slider .slick-track {
    padding-bottom: 40px;
}
.to-take-part-block.slick-slider .slick-dots {
    position: static !important;
    margin: 0 auto;
    text-align: center;
}
.to-take-part-block.slick-slider .slick-dots li { margin: 0 6px; }

.to-take-part-block.slick-slider .slick-dots li button {
    width: 20px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.45);
    opacity: 0.2;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    outline: 0 !important;
    transition-duration: .3s;

}
.to-take-part-block.slick-slider .slick-dots li button:before { content: ''; }

.to-take-part-block.slick-slider .slick-dots li.slick-active button {
    background-color: #ffffff;
    box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.7);
}
/* end slider */
/* END: КАК ПРИНЯТЬ УЧАСТИЕ */

.tabscontests__block {
    background-color: #f1f1f1;
    border-radius: 4px;
    margin-top:50px;
    max-width: 100%;
    display: flex;
    align-self: center;
}
.tabscontests__block .tabscontests__block__one {
    font-family: Helvetica, sans-serif;
    font-size: 15px;
    line-height: 15px;
    letter-spacing: 0;
    color: #343434;
    -webkit-transition: background-color 200ms linear;
    -ms-transition: background-color 200ms linear;
    transition: background-color 200ms linear;
    flex:1;
    align-self: center;
    word-break: break-word;
}
.tabscontests__block .tabscontests__block__one.active {
    background-color: #7f0c0c;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.29);
    border-radius: 4px;
    color: #ffffff;
}

/* Table */
#contest_search_and_result{
    width: 100%;
    background-color: #f9f9f9;
    padding: 32px 34px;
    border-width: 1px;
    border-style: solid;
    border-color: #eeeeee;
    box-sizing: border-box;
    border-radius: 5px;
    color: #343434;
    position: relative;
    min-height: 90px;
    margin-top: 30px;
    margin-bottom: 30px;
}
#contest_search_and_result #contest_table {
    border-radius: 4px;
}

#contest_search_and_result #contest_table thead th{
    background-image: none;
    vertical-align: middle;
}
#contest_search_and_result #contest_table thead th.sort_asc,
#contest_search_and_result #contest_table thead th.sort_desc {
    position:relative;
    background-image: none;
}
#contest_search_and_result #contest_table thead th.sort_asc:after,
#contest_search_and_result #contest_table thead th.sort_desc:after{
    display: inline-block;
    content: "";
    height: 0;
    width: 0;
    border: 6px solid transparent;
    margin-left: 4px;
}
#contest_search_and_result #contest_table thead th.sort_asc:after{
    border-bottom-color: rgba(255,255,255,0.9);
    margin-bottom: 2px;
}
#contest_search_and_result #contest_table thead th.sort_desc:after{
    border-top-color: rgba(255,255,255,0.9);
    margin-bottom: -5px;
}
#contest_table_mobile.hidden { display:none; }
#contest_search_and_result #contest_table_mobile thead th,
#contest_search_and_result #contest_table thead th
{
    background-color: #6e6e6e;
    border: 1px solid #9e9e9e;
    color: #ffffff;
    font-family: 'Helvetica', sans-serif;
    font-size: 14px;
    line-height: 19px;
    letter-spacing: 0;
}
#contest_search_and_result #contest_table_mobile tbody,
#contest_search_and_result #contest_table tbody {
    border: 1px solid #b5b5b5;
    border-top: 0;
    border-bottom: 0;
}
#contest_search_and_result #contest_table_mobile tr > td,
#contest_search_and_result #contest_table tr > td {
    border: 0;
    font-family: 'Helvetica', sans-serif;
    font-size: 14px;
    line-height: 19px;
    letter-spacing: 0;
}

#contest_search_and_result .card.card-body table tr:nth-child(2n+1) td,
#contest_search_and_result .card.card-body table tr:nth-child(2n+1) th{
    background: #f9f9f9;
}
#contest_search_and_result .card.card-body table tr:nth-child(2n) td,
#contest_search_and_result .card.card-body table tr:nth-child(2n) th{
    background: #e0e0e0;
}

#contest_search_and_result #contest_table tr:hover > td {
    background: #c3c3c3;
    color: #000000;
}

#contest_search_and_result #contest_table_mobile tr > td .deposit_init {
    display: flex;
}
#contest_search_and_result #contest_table_mobile tr > td .deposit_init .deposit_initial_data {
    flex: 1;
    margin-left: 10px;
    margin-right: 10px;
    align-self: center;
    text-align: left;
}

div[dir=rtl] #contest_search_and_result #contest_table_mobile tr > td .deposit_init .deposit_initial_data {
    text-align: right;
}

#contest_search_and_result #contest_table_mobile tr > td .deposit_init > button {
    margin-left: 10px;
    margin-right: 10px;
    padding: 5px 10px;
    background-color: #f9f9f9;
    border: 1px solid;
}

#contest_search_and_result #contest_table_mobile tr > td .deposit_init > button.close {
    border-color: #1F9034;
    color: #1F9034;
}

#contest_search_and_result #contest_table_mobile tr > td .deposit_init > button.open {
    border-color: #464646;
    color: #464646;
}

#contest_search_and_result #contest_table_mobile .collapse {
    margin-top:10px;
}

#contest_search_and_result #contest_table_mobile .collapse tbody {
    border: 1px solid #b5b5b5;
}

#contest_search_and_result #contest_table_mobile .collapse tbody td {
    text-align: center;
}

#contest_search_and_result #contest_table_mobile .collapse tbody td .status_ok {
    display: inline-block;
    width: 20px;
    height: 12px;
    padding: 0;
}

#contest_search_and_result .pagesbar {
    padding: 9px 0;
    margin: 0;
    background-color: #d9d9d9;
    border: 1px solid #b5b5b5;
    border-top: 0;
}

/* Pagenation */
#contest_search_and_result .pagesbar .active,
#contest_search_and_result .pagesbar a {
    border: 0;
    padding: 5px 8px;
    margin-left: -5px;
    margin-right: -5px;
    font-family: 'Helvetica', sans-serif;
    font-size: 14px;
    line-height: 19px;
    letter-spacing: 0.7px;
    color: #767676;
}
#contest_search_and_result .pagesbar .active,
#contest_search_and_result .pagesbar a:hover {
    background-color: transparent;
    color: #7F0C0C;
}

#contest_search_and_result .contest_suggestions_block {
    margin-top: 27px;
    margin-bottom: 0px;
    padding-top:0;
    padding-bottom:0;
    font-family: 'Helvetica', sans-serif;
    font-size: 14px;
    line-height: 19px;
    letter-spacing: 0;
    background-color: transparent;
}

#contest_search_and_result .contest_suggestions_block a {
    text-decoration:none;
}

#contest_search_and_result .loader {
    text-align: center;
    margin-bottom: 20px;
}

.contest_countdown {
    display: block;
}
#contest_search_and_result .block-reload[data-ancher=rules] .content {
    overflow-x: hidden;
    max-height: 900px;
    overflow-y: auto;
}
.footer-button {
    text-align: center;
    margin-top: 20px;
}

/************* OLD *************/


@media (max-width: 990px) {
    #pagesbar{min-width: 620px;width: 100%;}
    .page div.banner>div.content>div:first-child { padding-bottom: 0; }
    .banner__headertext{background-image: url(/i/img/contests/chancy_deposit/chancy_deposit_2_mobile.png) !important;}
    .banner__headertext__logoinstaforex{max-width: inherit !important; width: inherit !important;}

    .page div.banner .main_text > .title{padding: 0px; padding-bottom: 10px;}
    .page div.banner .main_text > .desc {box-shadow: inherit; background: none; padding: 0px; max-width: 100%;}
}


@media (max-width: 670px) {
   .banner__headertext__logoinstaforex{margin-left: inherit; width: 130px !important; margin-top: 10px !important;}
}


@media (max-width: 600px) {
    #contest_table{overflow: overlay;}
    .chancy__hide{display: none;}
    .banner__headertext__logoinstaforex{display:none;}
}

@media (max-width: 380px) {
    .main_text p{margin-top:-20px;}
    #lucky_reg{margin-top:-15px;}
    .banner__headertext .content {
        padding: 16px!important;
    }
}

@media (max-width: 320px) {
    .main_text p{font-size:13px;}
    .main_text h1{font-size:21px !important;line-height: 1 !important;}
    #lucky_reg{margin-top:-15px;}
    .banner__headertext .content {
        padding: 5px!important;
    }
}