﻿@media only screen and (min-width: 1024px) {
    .w-md-50 {
        width: 50%;
    }

    .w-sm-25 {
        width: 25% !important;
    }

    .w-sm-50 {
        width: 50% !important;
    }
}

.mainTitleBlock {
    font-family: 'Inter';
    font-weight: 700;
    font-size: 30px;
    cursor: default;
    color: #333333;
}

.mainTextInformation {
    font-family: 'Inter';
    font-weight: 500;
    font-size: 20px;
    cursor: default;
    color: #333333;
}

.mainTextTitle {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 20px;
    cursor: default;
    color: #999999;
}

.mainTextInformationBold {
    font-family: 'Inter';
    font-weight: 600;
    font-size: 20px;
    cursor: default;
    color: #333333;
}

.mainTextBold {
    font-family: 'Inter';
    font-weight: 600;
    cursor: default;
}

/*Турниры*/
.mainTourneysTextCurrentTourney {
    margin-left: 0;
}

@media only screen and (min-width: 1024px) {
    .mainTourneysTextCurrentTourney {
        margin-left: 64px;
    }
}

/*Сотрудничество*/
.mainCooperationContainerBlock {
    min-width: 280px;
    width: 100%;
    padding: 16px;
}

@media only screen and (min-width: 1024px) {
    .mainCooperationContainerBlock {
        width: 50%;
        /*        padding-right: 16px;
        padding-left: 0;
*/
    }

        /*        .mainCooperationContainerBlock:nth-child(2n) {
            padding-right: 0;
            padding-left: 16px;
        }*/

        .mainCooperationContainerBlock.w25 {
            width: 25%;
        }
}

.mainCooperationContainerContentBlock {
    border-radius: 16px;
    width: 100%;
    box-shadow: 0 3px 4px 0 rgb(0 0 0 / 20%), inset 2px 4px 0 0 rgb(255 255 255 / 8%);
    padding: 32px;
    height: 100%;
}

.mainCooperationBlock {
    /*background: url('/Img/Main/Cooperation/CooperationGray.svg');*/
    width: 280px;
    background-repeat: no-repeat;
    height: 310px;
    background-size: 100% auto;
    position: relative;
    min-width: 280px;
}

    .mainCooperationBlock:hover {
        /*background: url('/Img/Main/Cooperation/CooperationBlue.svg');*/
        background-repeat: no-repeat;
        background-size: 100% auto;
    }

.mainCooperationTitleBlock {
    position: absolute;
    width: 280px;
    top: 195px;
}

.mainCooperationBlock:hover > .mainCooperationTitleBlock {
    color: #0464f4;
}

.mainCooperationLogoBlock {
    width: 90px;
    height: 92px;
    position: absolute;
    top: 65px;
    left: 95px;
}

#MainButtonRegisterTourney {
    background: #0464F4;
    outline: none;
    width: 280px;
    height: 69px;
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 14pt;
    border: none;
    box-shadow: 0 3px 4px 0 rgb(0 0 0 / 20%), inset 2px 4px 0 0 rgb(255 255 255 / 8%);
    border-radius: 16px;
    transition: 0.3s;
    color: white;
    display: none;
    margin-top:32px;
}

#MainButtonRegisterTourney.open {
    display:block;
}

/*Чемодан*/
#SuitcaseBlock {
    background: url('/Img/Main/Cooperation/suitcaseGray.svg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
}

.mainCooperationBlock:hover > #SuitcaseBlock {
    background: url('/Img/Main/Cooperation/suitcaseBlue.svg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
}

/*Звезда*/
#StarCircleBlock {
    background: url('/Img/Main/Cooperation/starCircleGray.svg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
}

.mainCooperationBlock:hover > #StarCircleBlock {
    background: url('/Img/Main/Cooperation/starCircleBlue.svg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
}

/*Рукопожатие*/
#HandshakeBlock {
    background: url('/Img/Main/Cooperation/handshakeGray.svg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
}

.mainCooperationBlock:hover > #HandshakeBlock {
    background: url('/Img/Main/Cooperation/handshakeBlue.svg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
}

/*Монитор*/
#MonitorBlock {
    background: url('/Img/Main/Cooperation/monitorGray.svg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
}

.mainCooperationBlock:hover > #MonitorBlock {
    background: url('/Img/Main/Cooperation/monitorBlue.svg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
}

/*Длинный шистиугольник*/
.mainFigure6Angle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 44px;
    background: url('/Img/Main/mainFigure6Angle.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
}

/*Белая линия*/
.mainFigureLineWhite {
    width: 100%;
    position: absolute;
    top: 20.5px;
    border-top: 2px solid #ffffff40;
}

#MainStartBlock {
    background: url('/BackgroundTourneyPromo/BackgroundSvarshik.jpeg');
    background-repeat: no-repeat;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    background-position: center;
    background-size: cover;
}

#MainStartButton {
    background: white;
    outline: none;
    width: 280px;
    height: 69px;
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 14pt;
    border: none;
    box-shadow: 0 3px 4px 0 rgb(0 0 0 / 20%), inset 2px 4px 0 0 rgb(255 255 255 / 8%);
    border-radius: 16px;
    transition: 0.3s;
}

    #MainStartButton:hover {
        color: #0464F4;
    }

/*Новости*/
.mainNewsImageLogo {
    width: 100%;
    margin-bottom: 16px;
}

    .mainNewsImageLogo > img {
        border-radius: 16px;
    }

@media only screen and (min-width: 1024px) {
    .mainNewsImageLogo {
        margin-bottom: 0;
        min-width: 30%;
        max-width: 30%;
        margin-right: 32px;
    }
}

.mainArchiveNewsItemBlock {
    width: calc(100% - 32px);
    margin: 0 16px;
    text-align: center;
    box-shadow: rgb(0 0 0 / 20%) 0px 0px 9px -2px, rgb(255 255 255 / 8%) 2px 4px 0px 0px inset;
    border-radius: 16px;
    cursor: pointer;
}

@media only screen and (min-width: 1024px) {
    .mainArchiveNewsItemBlock {
        width: 280px;
        margin: 0;
    }
}

.mainRightItemBlock {
    width: calc(100% - 32px);
    text-align: center;
    box-shadow: rgb(0 0 0 / 20%) 0px 0px 9px -2px, rgb(255 255 255 / 8%) 2px 4px 0px 0px inset;
    border-radius: 16px;
    background: white;
}

@media only screen and (min-width: 1024px) {
    .mainRightItemBlock {
        width: 280px;
    }
}

#MainSelectNewsArchiveNewsBlock {
    margin-left: 0;
}

@media only screen and (min-width: 1024px) {
    #MainSelectNewsArchiveNewsBlock {
        margin-left: 64px;
    }
}

#MainTourneyRightDocumentsBlock {
    margin-left: 0;
    margin-top: 32px;
}

@media only screen and (min-width: 1024px) {
    #MainTourneyRightDocumentsBlock {
        margin-left: 32px;
        margin-top: 0;
    }
}

.mainArchiveNewsItemImg {
    width: calc(100% - 32px);
    margin: 16px;
    margin-bottom: 0;
    border-radius: 16px;
}

.mainArchiveNewsItemText {
    font-size: 16px;
    font-family: 'Inter';
    font-weight: 500;
    color: #333333;
}

.flickity-page-dots .dot {
    background: #ffffff80 !important;
}

.mainTourneyYearBlock {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 20px;
    color: #ffffff60;
    font-family: 'Inter';
    font-weight: 600;
}

.mainNewsItemBlock {
    border-bottom: 1px solid rgb(233 233 233);
    padding: 32px 0;
    display: flex;
}

a:first-child > .mainNewsItemBlock {
    margin-top: 32px;
    padding-top: 0;
}

.mainHeaderItemBlockPC {
    width: 33.33%;
    display: flex;
    align-items: center;
}

/*//////////////////////////////////////////////////////////////////////////////////////////////////////*/
.timer__items {
    display: flex;
    font-size: 6em;
    align-items: stretch;
}

.timer__item {
    position: relative;
    min-width: 60px;
    margin-right: 8px;
    padding: 0 10px;
    padding-bottom: 10px;
    text-align: center;
    font-family: 'Roboto';
    font-weight: 600;
    font-size: 60px;
    color: black;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.2), inset 2px 4px 0 0 rgba(255, 255, 255, 0.08);
}

@media only screen and (min-width: 1024px) {
    .timer__item {
        margin-right: 32px;
    }
}

.timer__item::before {
    content: attr(data-title);
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0px;
    transform: translateX(-50%);
    font-size: 14pt;
    font-weight: normal;
    font-family: 'Roboto';
    font-weight: 500;
    color: black;
}

.timer__divider {
    width: 1px;
    padding: 0;
    margin: 0;
    opacity: 0.25;
    background-color: white;
}

/*Слайдер*/

.carousel-cell {
    width: 390px;
    height: 470px;
    margin-right: 10px;
    background: transparent;
    border-radius: 16px;
    counter-increment: carousel-cell;
    border: 1px solid #ffffff40;
}

    /* cell number */
    .carousel-cell:before {
        display: block;
        text-align: center;
        line-height: 545px;
        font-size: 80px;
        color: white;
    }

.flickity-viewport {
    height: 545px;
}

.carousel-cellimg-block {
    padding: 40px;
    border-radius: 50%;
    margin: 16px;
    width: calc(100% - 32px);
    height: 356px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .carousel-cellimg-block > img {
        width: 240px;
        height: 240px;
        object-fit: contain;
    }
