/*mobile_pagination*/
#contest_table_mobile .table{
    margin-top:15px;
}
.prev{display:none}
.container_pag{
    align-items: center;
    justify-content: center;
}
.container_pag a{
    text-decoration: none;
    width:auto;
    padding-right:5px;
    border: 1px solid gray;
    padding-left: 3px;
    margin-right: 7px;
}
.activated{
    background: rgba(0,0,0,.1);
    pointer-events: none;
}
.mobile-pag{
    display:none;
    margin-top:15px;
    margin-left: 4px;
}

/*mobile_pagination end*/
#contest_table thead{
    font-size: 16px;
}
 .icon-search {
     font-size: 20px;
     margin: 0 10px;
     cursor:pointer;
 }
.loader {
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 9;
}
.icon-spin6 {
    font-size:32px;
}
#text_search {
    font-size:14px;
}

div.page .banner p>a:hover,

.contest-btn {
    text-align: left;
    width: 100%;
}

.white-rounded-button {
    padding: 4px 20px;
    vertical-align: middle;
}

.loader > svg {
    height: 50px;
    width: 100%;
}

#contest_table_mobile{display: none;}

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

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_5):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_5):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;
}

.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:inline-block;
    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/sniper/to_take_part_icons.png);
    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.tile_1 .content .image-logo {
    background-image: url(/i/img/contests/greatrace/bc_1.jpg);
}

.to-take-part-block .to-take-tile.tile_2 .content .image-logo {
    background-image: url(/i/img/contests/greatrace/bc_2.jpg);
}

.to-take-part-block .to-take-tile.tile_3 .content .image-logo {
    background-image: url(/i/img/contests/greatrace/bc_3.jpg);
}

.to-take-part-block .to-take-tile.tile_4 .content .image-logo {
    background-image: url(/i/img/contests/greatrace/bc_4.jpg);
}

.to-take-part-block .to-take-tile.tile_5 .content .image-logo {
    background-image: url(/i/img/contests/greatrace/bc_5.jpg);
}

.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: КАК ПРИНЯТЬ УЧАСТИЕ */

/* ПОДРОБНЫЕ УСЛОВИЯ КОНКУРСА */
.detailed-contest-conditions-button {
    text-align: center;
}

.detailed-contest-conditions-button button {
    display: inline-block;
    text-align: center;
    font-family: Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 22px;
    letter-spacing: -0.36px;
    color: #333333;
    position: relative;
    padding: 3px;
    padding-right: 32px;
    padding-left: 12px;
    background: #F9F9F9 0% 0% no-repeat padding-box;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    margin-bottom: 30px;
}

.detailed-contest-conditions-button button:after {
    content: '';
    position: absolute;
    border:2px solid #000;
    border-top-width: 0px;
    border-left-width: 0px;
    top: 0;
    bottom: 2px;
    height:5px;
    right:10px;
    width:5px;
    margin:auto;
    -ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
    transform: rotate(45deg);
}

.detailed-contest-conditions-button button.open:after {
    border:2px solid #000;
    border-bottom-width: 0px;
    border-right-width: 0px;
    top:2px;
    bottom:0px;
}

.detailed-contest-conditions-block {
    display: none;
    padding-bottom:20px;
}

.detailed-contest-conditions-block .content {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    background-color: #f9f9f9;
    padding: 32px 34px;
    border-width: 1px;
    border-style: solid;
    border-color: #eeeeee;
    border-radius: 5px;
}
.detailed-contest-conditions-block .half-block {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    width: 50%;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding-right: 80px;
    margin-left: 35px;
    position:relative;
    box-sizing: border-box;
}

.detailed-contest-conditions-block .half-block p {
    position:relative;
    text-align: left;
    font-family: "Helvetica", sans-serif;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.04px;
    color: #514944;
    margin-top:12px;
    margin-bottom:12px;
}
.detailed-contest-conditions-block .half-block p:before {
    content: '';
    position: absolute;
    width:22px;
    height:22px;
    background-color: green;
    border-radius:50%;
    left:-31px;
    top:0;
}

.detailed-contest-conditions-block .half-block p:after {
    content: '';
    position: absolute;
    border: 2px solid #fff;
    border-top-width: 0px;
    border-left-width: 0px;
    height: 9px;
    width: 5px;
    left: -23px;
    top: 4px;
    -ms-transform: rotate(45deg) scale(0.9);
    -webkit-transform: rotate(45deg) scale(0.9);
    transform: rotate(45deg) scale(0.9);
}
/* END: ПОДРОБНЫЕ УСЛОВИЯ КОНКУРСА */

.footer-button {
    text-align: center;
}

.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;
}

#contest_search_form .div_status .status {
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    font-family: 'Helvetica', sans-serif;
    letter-spacing: 0;
    color: #7F0C0C;
    margin: 0 5px;
}

/* Table */
#contest_table_mobile{display: none;}
#contest_table_mobile.hidden { display:none; }
#contest_search_and_result #contest_search {
    margin: 0;
    margin-bottom: 20px;
}
#contest_search_and_result .loader {
    position: static;
    text-align: center;
    margin-bottom: 10px;
}

#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_search_and_result #contest_search_form {
    margin: 0 -10px;
    justify-content: center;
}
#contest_search_and_result #contest_search_form #button_search {
    width: 40px;
    margin-right: -40px;
    margin-left: -40px;
    display: flex;
    align-self: stretch;
    align-items: center;
    justify-content: center;
}
#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 .block-reload .page .block.sections {
    min-height: auto;
    background: none;
    border-top: none;
}
#contest_search_and_result .block-reload .sliding__mobile {display:none;}
#contest_search_and_result .ajax-loader {
    min-height: 80px;
}
#contest_search_and_result .ajax-loader img {
    width: 100%;
    height: 50px;
}

/* END: SEARCH AND TABLE */

@media (max-width: 990px) {

    .tabscontests__block .tabscontests__block__one { font-size: 14px; }
    #contest_table{display: none !important;}

    #contest_table_mobile{display:block;}
    #contest_table_mobile.hidden { display:none; }
    .mobile-pag{display:block;}
    table.table.gray-head { width: 100%; }

    .rnk{
        margin-top:5px;
        text-align: center;
        padding-left: 5px;
        font-size:13px;
    }
    .card.card-body table tr td,
    .card.card-body table tr th{
        border: 0;
        text-align: left;
    }
    .page[dir=rtl] .card.card-body table tr td,
    .page[dir=rtl] .card.card-body table tr th{
        text-align: right;
    }
    .card.card-body table {
        width: 100%;
    }
    .status_ok {
        padding-top: 2px;
        text-align: left;
        height: 25px;
        background: url(/i/img/contests/status_ok.png) no-repeat 6% 40% ;
    }
    #contest_table_mobile .chart{
        text-align: center;
        padding-right: 18px;
        padding-left:0;
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 4px;
        height: 16px;
        background: url('/i/img/contests/chart.png') no-repeat 100% 50%;

    }
    div[dir=rtl].page #contest_table_mobile .chart{
        padding-left: 18px;
        padding-right:0;
        background-position-x: left;
    }
}

@media (max-width: 720px) {
    .tabscontests__block { flex-direction: column; }
    .tabscontests__block .tabscontests__block__one { font-size: 16px; }
}

@media (max-width: 600px) {
}

@media (max-width: 460px) {
    #contest_search_and_result {padding-right:5px;padding-left:5px;}
    #contest_search_form table td {display:block;}
    #contest_search_form table td:last-child {padding:10px 0;}
    #contest_info_img_button {width: 175px; float:right;}
    #contest_table {overflow: scroll;}
    #contest_search_and_result #contest_table_mobile tr > td .deposit_init {flex-direction: column;}
    #contest_search_and_result #contest_table_mobile tr > td .deposit_init > button {margin-left:10px;}
    #contest_search_and_result #contest_table_mobile .table td:first-child {width:100px;min-width: auto;}
    #contest_search_and_result #contest_table_mobile .table tr td, #contest_search_and_result #contest_table_mobile .table tr th {padding: 1% 2px;}

}

@media (max-width: 990px) {
    .detailed-contest-conditions-block .content {
        display: block;
        width:100%;
        box-sizing: border-box;
    }
    .detailed-contest-conditions-block .half-block {
        width:100%;
        padding-right: 35px;
    }
    .contest-btn {text-align: center; width: calc( 100vw - 80px);}

    .btn.btn-primary.btn-lg{
        width:116px;
        padding:2px 2px;
        font-size:16px;
    }

}

@media (max-width: 720px) {
    .banner__headertext .footer .download_apps {
        width: 100%;
        max-width: 350px;
        min-width: inherit;
        position: relative;
        padding: 0 10px;
        height: auto;
    }
    .banner__headertext .footer .download_apps .headhats-slick1 .flex-container {
        display: -webkit-flex;
        display: flex;
        flex-direction: column;
    }
    .banner__headertext .footer .download_apps .headhats-slick1 .flex-container a.headhats-slick1__btn {
        margin-bottom: 12px;
        margin-right: 0px;
        box-sizing: border-box;
        width:100%;
        max-width:inherit;
    }
    .headhats-block__flex2__one .slick-next, .headhats-block__flex2__one .slick-prev{position: absolute; left: -35px; top: calc(50% + 7px); z-index: 1;}
    .headhats-block__flex2__one .slick-next{left: inherit; right: -35px;}
    div.banner.banner__headertext .main_text p {
        max-width: 100%;
        padding-left: 0;
    }
    div.banner__headertext .footer .contest_info_text {
        -webkit-flex-direction: column;
        flex-direction: column;
    }
    div.banner__headertext .footer .contest_info_text .cell .title {
        float: left;
        padding-top: 5px;
        font-size: 16px;
    }
    div.banner__headertext .footer .contest_info_text .cell .title:after {
        content:"";
        width: 100%;
        border-bottom: 1px solid #ffffff;
    }
    div.banner__headertext .footer .contest_info_text .cell .value {
        float: right;
        font-size: 16px;
        font-weight: 100;
    }
}

@media (max-width: 600px) {
    #contest_search_and_result .block-reload[data-ancher=rules] .footer-button {
        flex-direction: column;
    }
}

@media (max-width: 460px) {
    .banner__headertext .footer .download_apps {padding: 0 30px;box-sizing: border-box;}
}

