.news-detail h1 {
    margin-bottom: 20px;
}

.news-detail .detail_picture {
    margin: 20px 0;
    width: 100%;
}

.news-detail img:not([class]) {
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.news-detail .detail_text {
    margin-bottom: 40px;
    border-bottom: 3px solid var(--yellow);
    padding-bottom: 40px;
    padding-top: 25px;
}

.news-detail .detail_text ol,
.news-detail .detail_text ul {
    padding-left: 15px;
}

.news-detail .detail_text li {
    margin: 10px 0;
}

.news-detail {
    background-color: var(--bgblack);
    padding: 40px;
    border-radius: 10px;
}


.news-date-time {
    font-size: 14px;
    font-weight: 500;
    color: #9c9c9c;
}

.fancylink {
    padding: 10px 10px 30px;
    background: var(--bggray);
    display: table;
    border-radius: 4px;
    position: relative;
    margin: 0 auto 0px;
    width: 100%;
}

.fancylink:after {
    content: 'нажмите для увеличения';
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 100%;
    text-align: center;
    font-size: 12px;
}

html[lang="en"] .fancylink:after {
    content: 'Tap to zoom';
}

.tournament-results__nominee {
    padding: 20px 0;
    border-top: 1px solid var(--yellow);
}

.tournament-results__head {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.tournament-results__head + .tournament-results__row {
    border-top: 1px solid var(--bggray);
}

.tournament-results__row,
.tournament-results__row-mini {
    display: flex;
    width: 100%;
    align-items: center;
    border-bottom: 1px solid var(--bggray);
}

.tournament-results__row-mini:last-child {
    border-bottom: none;
}

.tournament-results__place {
    display: flex;
    flex-wrap: wrap;
    width: 100px;
    min-width: 100px;
    align-items: center;
    text-align: center;
    justify-content: center;
    font-weight: 500;
    padding-right: 20px;
    font-size: 12px;
}

.tournament-results__icon {
    display: inline-block;
    width: 100px;
    height: 100px;
    background-position: center left;
    background-repeat: no-repeat;
    min-width: 100px;
}

.tournament-results__name {
    width: calc(100% - 200px);
    padding: 15px 0;
}

.two-cols .tournament-results__name {
    width: calc(100% - 100px);
}

.tournament-results__name p {
    margin-bottom: 0;

}

.tournament-results__author {
    font-size: 14px;
    font-weight: 500;
}

.tournament-results__row-mini .tournament-results__author {
    font-size: 12px;
}

.tournament-results__row-mini p,
.tournament-results__row-mini .tournament-results__test {
    font-size: 14px;
    line-height: 18px;
}

.tournament-results__place span {
    display: block;
    width: 100%;
    font-size: 22px;
    line-height: 20px;
    color: var(--yellow);
}

.tournament-results__test {
    font-size: 16px;
    color: white;
    font-weight: 500;
}

.tournament-results__status {
    font-weight: 700;
    min-width: 200px;
}

.tournament-res-icon {
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 100px;
    font-size: 18px;
    font-weight: 700;
    min-height: 100px;
    display: flex;
    align-items: center;
    border: 1px solid var(--yellow);
    border-right: 0;
    border-left: 0;
    margin-top: 40px;
    margin-bottom: 20px;
}

p {
    word-break: break-word;
}

.judges-candidates-voting__voters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    justify-content: space-evenly;
}

.judges-candidates-voting__voter {
    display: inline-block;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    border: 2px solid var(--bggray);
}

.judges-candidates-voting {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.judges-candidates-voting__item {
    width: calc(25% - 15px);
    height: 80px;
}

.judges-candidates-voting__item input {
    display: none;
}

.judges-candidates-voting__item input:checked + label {
    border-color: var(--yellow);
    box-shadow: 0 0 5px var(--yellow);
}

.judges-candidates-voting__item label {
    border: 2px solid var(--bggray);
    border-radius: 7px;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    padding: 10px;
    align-items: center;
    gap: 10px;
    transition: all .1s ease;
    justify-content: center;
    box-shadow: 0 0 0 var(--yellow);
    opacity: 1;
}

.judges-candidates-voting__item input:not(:disabled) + label {
    cursor: pointer;
}

.judges-candidates-voting__item input:not(:checked):not(:disabled) + label:hover {
    box-shadow: 0 0 5px var(--yellow);
    border-color: #ffca2880;
}

.judges-candidates-voting__item input.disabled:not(:checked) + label {
    opacity: 0.5;
}

.judges-candidates-voting__user {
    display: flex;
    width: 100%;
    height: 80px;
    padding: 20px 30px;
    align-items: center;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--bgblack);
    margin-bottom: 5px;
    justify-content: center
}

.judges-candidates-voting__item label > * {
    position: relative;
    z-index: 1
}

.judges-candidates-voting__background,.judges-candidates-voting__image {
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover
}

.judges-candidates-voting__background {
    position: absolute !important;
    left: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 0 !important;
}

.judges-candidates-voting__background:after {
    content: "";
    display: inline-block;
    width: calc(100% + 1px);
    height: 100%;
    background: linear-gradient(270deg,#263238 0,rgba(57,69,75,0) 75.5%),linear-gradient(0deg,rgba(38,50,56,.4),rgba(38,50,56,.4))
}

.judges-candidates-voting__image {
    min-width: 50px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgb(0 0 0 / 30%);
}

.judges-candidates-voting__info {
    margin-left: 10px
}

.judges-candidates-voting__username {
    font-size: 14px;
    color: white;
    font-weight: 600;
    display: flex;
    flex-direction: column;
}

.judges-candidates-voting__username a {
    font-size: 12px;
    font-weight: normal;
}

.judges-candidates-voting__submit {
    width: 100%;
    background: var(--yellow);
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    color: var(--black);
}

.judges-candidates-voting__submit:hover {
    background: var(--orange);
}

.judges-candidates-voting__top-item label > *:not(.judges-candidates-voting__background) {
    z-index: 2;
}

.judges-candidates-voting__top-item {
    width: 100%;
    display: flex;
    overflow: hidden;
    position: relative;
    justify-content: space-between;
    padding: 0px 20px 0px 0;
    gap: 15px;
    align-items: center;
    border: 2px solid var(--bggray);
    border-radius: 7px;
}

.judges-candidates-voting__top-item.voted {
    border: 2px solid var(--yellow);
}

.judges-candidates-voting__top-item label {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: center;
    height: 70px;
    padding: 10px;
    overflow: hidden;
    margin-bottom: 0;
    width: 200px;
}

.judges-candidates-voting.voting-expired {
    gap: 10px
}

.judges-candidates-voting__place {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 12px;
    color: var(--gray);
    width: 50px;
}

.judges-candidates-voting__place span {
    font-weight: bold;
    font-size: 20px;
    line-height: 18px;
    color: white;
}

.judges-candidates-voting__top-item:nth-child(1) .judges-candidates-voting__place span {
    color: var(--yellow)
}


.judges-candidates-voting__top-item:nth-child(2) .judges-candidates-voting__place span {
    color: #e0e7fb
}


.judges-candidates-voting__top-item:nth-child(3) .judges-candidates-voting__place span {
    color: #ffae64
}

#yearly-statistic__app .loader {
    background: var(--bggray);
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 20px;
}

#yearly-statistic__app .loader p {
    margin-bottom: 0;
}

#yearly-statistic__app .birthday-statistics__item-icon {
    height: 80px;
    width: 80px;
}

#yearly-statistic__app .birthday-statistics__item-number {
    color: white;
}

@media screen and (max-width: 991px) {
    .judges-candidates-voting__item {
        width: calc(33.333% - 15px);
    }
}

@media screen and (max-width: 767px) {
    .judges-candidates-voting__item {
        width: calc(50% - 10px);
    }
}

@media screen and (max-width: 620px) {
    .tournament-results__row {
        flex-wrap: wrap;
    }

    .tournament-results__place {
        width: 80px;
        min-width: 80px;
    }

    .tournament-results__icon {
        width: 80px;
        height: 80px;
        min-width: 80px;
        background-size: 56px;
    }

    .tournament-results__name {
        width: calc(100% - 160px);
    }

    .tournament-results__test {
        font-size: 14px;
    }

    .tournament-results__head {
        font-size: 16px;
    }

    .tournament-results__status {
        min-width: 160px;
        width: 100%;
        padding: 10px 0;
    }

    .tournament-results__status br {
        display: none;
    }
}

@media screen and (max-width: 575px){
    .news-detail {
        width: calc(100% + 30px);
        margin: 0 -15px;
        margin-top: -20px;
        border-radius: 0;
        padding-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
        font-size: 14px;
    }
}

@media screen and (max-width: 450px) {
    .judges-candidates-voting__item {
        width: 100%;
    }
}

@media screen and (max-width: 400px) {
    .judges-candidates-voting__top-item label {
        gap: 10px;
    }

    .judges-candidates-voting__place {
        font-size: 10px;
        width: 40px;
    }

    .judges-candidates-voting__top-item {
        padding: 0 10px 0 0;
        gap: 10px;
    }

    .judges-candidates-voting__image {
        min-width: 40px;
        width: 40px;
        height: 40px;
    }

    .judges-candidates-voting__place span {
        font-size: 18px;
    }
}