body {
}

.postType{
    display:none;
}

.feed-container {
    background-color: #ddd;
    width: 100%;
}

.feed {
    overflow: hidden;
    max-width: 520px;
    color: var(--secondary-text-color);
    font-size: 14px;
    /*margin: 0px auto;*/
    overflow-y: auto;
    width: 100%;
    direction: rtl;
    padding-left: 15px;
    min-height: 90vh;
    padding: 0px 10px;
    background-color: var(--background-color);
    border-radius: 10px;
}

.feed-playFixture {
    display: grid;
    padding: 10px 0px;
    grid-template-columns: 140px 1fr 140px;
    grid-template-rows: auto auto auto;
    grid-template-areas:
        "fixtureDate displayText awayImg"
        "fixtureTime displayText awayImg"
        "fixtureVenue displayText awayName";
    align-items: center;
}

.displayText {
    grid-area: displayText;
    text-align: center;
    font-size: 29px;
    align-items: center;
}

    .feed * {
        box-sizing: initial;
    }

    .feed:after,
    .diary:after {
        content: "";
        width: 0px;
        padding: 5px;
    }

    .feed::-webkit-scrollbar,
    .diary::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

/* Track */
        .feed::-webkit-scrollbar-track,
        .diary::-webkit-scrollbar-track {
            background: rgba(225, 225, 225, .3);
            opacity:.5;
        }

        .feed::-webkit-scrollbar-thumb,
        .diary::-webkit-scrollbar-thumb {
            background: rgba(136, 136, 136, .3);
            border-radius: 5px;
            cursor: pointer;
            opacity:.5;
        }

        .feed::-webkit-scrollbar-thumb:hover,
        .diary::-webkit-scrollbar-thumb:hover {
            background: #666;
        }


.feed-post {
    background-color: var(--secondary-background-color);
    padding: 5px 10px 0px;
    margin: 1px 0px 19px;
    /*    -webkit-box-shadow: 3px 5px 5px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 3px 5px 5px 0px rgba(0,0,0,0.1);
    box-shadow: 3px 5px 5px 0px rgba(0,0,0,0.1);*/
    position: relative;
    direction: ltr;
    filter: var(--drop-shadow);
    border-radius: 10px;
}

.feed-header {
    display: grid;
    grid-template-columns: 60px auto 1fr;
    grid-template-rows: auto auto;
    grid-template-areas: "logo title icon" "logo sender icon";
    line-height: 1;
}

    .feed-header > img {
        width: 50px;
        height: 50px;
        border-radius: 100%;
        grid-area: logo;
        border: 1px solid #ddd;
        object-fit: cover;
    }

    .feed-header > .feed-title {
        grid-area: title;
        font-size: 20px;
        font-weight: 600;
        color: var(--primary-text-color);
        align-self: end;
        position: relative;
        padding: 5px 0px;
    }

        .feed-header > .feed-title > .fa-bell {
            background-color: #3399FF;
            color: #fff;
            border-radius: 100%;
            font-size: 14px;
            width: 22px;
            height: 22px;
            margin-left: 5px;
            display: inline-grid;
            align-items: center;
            text-align: center;
        }

    .feed-header > .feed-sender {
        grid-area: sender;
        align-self: start;
    }

    .feed-header > i {
        grid-area: icon;
        font-weight: 600;
        align-self: center;
        justify-self: end;
        font-size: 22px;
        margin-right: 10px;
    }

.feed-body {
    margin: 10px 5px 0px;
}

    .feed-body > .feed-desription a {
        color: cornflowerblue;
        text-decoration: underline;
    }

    .feed-body > .feed-desription {
        font-size: 18px;
        overflow: hidden;
        max-height: 250px;
        position: relative;
        padding-bottom: 10px;
        white-space: break-spaces;
    }

        .feed-desription .feed-desription {
            max-height: none;
            overflow: visible;
            height: auto;
        }

        .feed-body > .feed-desription * {
            font-family: Nunito,Nunito Sans,Lato,Arial !important;
            margin:0px;
        }
        .feed-body > .feed-desription > .morelink {
            position: absolute;
            bottom: 0px;
            right: 0px;
            background-color: #fff;
            -webkit-box-shadow: -5px 0px 10px 0px rgba(255,255,255,1);
            -moz-box-shadow: -5px 0px 10px 0px rgba(255,255,255,1);
            box-shadow: -5px 0px 10px 0px rgba(255,255,255,1);
            padding-left: 15px;
            z-index: 10;
            color: dodgerblue;
        }

            .feed-body > .feed-desription > .morelink.less {
                position: relative;
                padding-left: 0px;
            }

        .feed-body > .feed-read-more:after {
            content: "";
            position: absolute;
            bottom: 0px;
            left: 0px;
            right: 0px;
            height: 5px;
            background-color: #fff;
            box-shadow: 0px -5px 10px 4px #fff;
        }

.feed-footer {
    border-top: 1px solid #ddd;
    padding: 10px 0px;
    text-align: right;
}

    .feed-footer > .feed-btn,
    .feed-footer > .feed-btn-container > .feed-btn {
        padding: 3px 10px;
        border: 2px solid;
        border-radius: 10px;
        display: inline-block;
        font-size: 18px;
        font-weight: 600;
        margin: 0px 5px;
        grid-area: btn;
        width: fit-content;
        max-height: 25px;
        align-self: center;
        justify-self: right;
        background-color: #fff;
        min-width: 40px;
        text-align: center;
        cursor:pointer;
    }

    .feed-footer > .feed-btn-container > .feed-btn {
        min-width: 35px;
    }

    .feed-footer > .feed-btn-container {
        grid-area: btn;
        align-self: end;
        white-space: nowrap;
    }

.feed-img {
    display: grid;
    margin-top: 10px;
}

    .feed-img > img {
        width: calc(100% + 30px);
        margin: 0px -15px;
        max-height: 250px;
        object-fit: cover;
    }

.feed-logo {
    display: grid;
    margin-top: 10px;
    position: relative;
}

    .feed-logo > img {
        width: calc(100% + 30px);
        margin: 0px -15px;
        max-height: 250px;
        min-height: 100px;
        object-fit: scale-down;
    }

.feed-fixture {
    padding: 10px 0px;
    display: grid;
    grid-template-columns: 140px 1fr 140px;
    grid-template-rows: auto auto auto;
    grid-template-areas: "homeImg fixtureDate awayImg" "homeImg fixtureTime awayImg" "homeName fixtureVenue awayName";
}

.feed-fixture-date {
    padding: 10px 0px;
    display: grid;
    grid-template-columns: 1fr 25px 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas: "fixtureDate . homeImg" "fixtureTime dash homeImg" "fixtureVenue . homeName";
}

.feed-change-request {
    padding: 10px 0px;
    display: grid;
    grid-template-columns: 1fr 15px 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas: "fixtureDate . fixtureDate2" "fixtureTime arrow fixtureTime2" "fixtureVenue . fixtureVenue2";
}

    .feed-change-request > .fixtureDate,
    .feed-change-request > .fixtureTime,
    .feed-change-request > .fixtureVenue {
        opacity: .6;
    }

.feed-position {
    padding: 10px 0px;
    display: grid;
    grid-template-columns: 1fr 120px 120px 1fr;
    grid-template-rows: auto auto;
    grid-template-areas: ". position homeImg ." ". . homeName .";
}

.feed-challenge-table {
    padding: 10px 0px;
    display: grid;
    grid-template-columns: 50px 60px 1fr auto;
    grid-template-rows: auto auto auto;
    align-items: center;
    font-size: 18px;
    color: #fff;
    background-color: #444;
    margin: 0px -15px;
    padding: 5px 15px;
    width: calc(100%);
    margin-top: 10px;
}

.feed-challenge-result {
    padding: 10px 0px;
    display: grid;
    grid-template-columns: auto 140px 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: "position img participantName" "position img score";
    align-items: center;
    font-size: 18px;
    color: #fff;
    background-color: #444;
    margin: 0px -15px;
    padding: 5px 15px;
    width: calc(100%);
    margin-top: 10px;
}



.participantName {
    grid-area: participantName;
    align-self: end;
}

.feed-challenge-result .highlight {
    grid-area: score;
    font-size: 30px;
    align-self: start;
}

.feed-challenge-result img {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    grid-area: img;
    align-self: center;
    justify-self: center;
}

.feed-teamleague-position {
    padding: 10px 0px;
    display: grid;
    grid-template-columns: auto 115px 1fr;
    grid-template-areas: "feed-teamleagueposition-caret position teamImgWithName";
    align-items: center;
    font-size: 18px;
    color: #444;
    background-color: #FFF;
    margin: 0px -15px;
    padding: 5px 15px;
    width: calc(100%);
    margin-top: 10px;
}

.teamImgWithName {
    grid-area: teamImgWithName;
    align-self: end;
}

.feed-teamleague-position img {
    width: 100px;
    height: 100px;
   /* border-radius: 100%;*/
    align-self: center;
    justify-self: left;
}
.feed-teamleagueposition-caret {
    grid-area: feed-teamleagueposition-caret;
    align-self: center;
    justify-self: center;
    padding-left:40px;
}
.feed-league-position {
    grid-area: position;
    align-self: center;
    font-size: 40px;
    font-weight: 600;
    justify-self: left;
    padding-left:5px;
}

.feed-challenge-table img {
    width: 50px;
    height: 50px;
    border-radius: 100%;
}

.position {
    grid-area: position;
    align-self: center;
    font-size: 40px;
    font-weight: 600;
    justify-self: left;
}

    .position > i {
        font-size: 20px;
        padding-right: 10px;
    }

    .position > .fa-caret-down {
        color: #FF3366;
    }

    .position > .fa-caret-up {
        color: #2AC940;
    }

    .position > .fa-times {
        font-size: 40px;
        color: #FF3366;
    }

    .position > .fa-check {
        font-size: 40px;
        color: #2AC940;
    }

.fixtureDate,
.fixtureDate2 {
    grid-area: fixtureDate;
    text-align: center;
    font-size: 18px;
    align-self: end;
}

.fixtureDate2 {
    grid-area: fixtureDate2;
    font-size: 19px;
}

.fixtureTime,
.fixtureTime2 {
    grid-area: fixtureTime;
    text-align: center;
    background-color: #888;
    display: inline-block;
    font-size: 20px;
    color: #fff;
    padding: 5px 20px;
    justify-self: center;
    align-self: center;
}

.fixtureTime2 {
    grid-area: fixtureTime2;
    font-size: 21px;
}

.fixtureVenue,
.fixtureVenue2 {
    grid-area: fixtureVenue;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    padding: 0px 20px;
}

.fixtureVenue2 {
    grid-area: fixtureVenue2;
    font-size: 15px;
}

.feed-fixture-result {
    padding: 10px 0px;
    display: grid;
    grid-template-columns: 130px 1fr 30px 1fr 130px;
    grid-template-rows: 1fr auto;
    grid-template-areas: "homeImg homeScore dash awayScore awayImg" "homeName homeScore dash awayScore awayName";
}

.homeImg,
.awayImg {
    width: 110px;
    height: 110px;
    justify-self: center;
    object-fit: scale-down;
    background-color: #fff;
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.1);
}

.homeImg {
    grid-area: homeImg;
}

.awayImg {
    grid-area: awayImg;
}

.feed-fixture > .homeImg,
.feed-fixture > .awayImg {
    width: 90px;
    height: 90px;
    border: 1px solid #fff;
    justify-self: center;
    object-fit: scale-down;
    background-color: #fff;
}

.homeName,
.awayName {
    margin-top: 5px;
    text-align: center;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.homeName {
    grid-area: homeName;
}

.awayName {
    grid-area: awayName;
}

.homeScore,
.awayScore {
    align-self: center;
    font-size: 25px;
    font-weight: 600;
}

.homeScore {
    grid-area: homeScore;
    text-align: right;
}

.awayScore {
    grid-area: awayScore;
    text-align: left;
}

.dash {
    grid-area: dash;
    text-align: center;
    font-size: 25px;
    font-weight: 600;
    align-self: center;
}

.arrow {
    grid-area: arrow;
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    justify-self: center;
    align-self: center;
}

.session-footer {
    display: grid;
    grid-template-columns: 75px auto 1fr 10px;
    grid-template-rows: auto auto;
    grid-template-areas: "icon date btn ." "icon time btn .";
    background-color: var(--background-color);
    width: calc(100% + 30px);
    margin: 0px -15px;
    padding-bottom: 10px;
}

.full-session-footer {
    display: grid;
    grid-template-columns: 75px auto 1fr 10px;
    grid-template-rows: auto auto auto;
    grid-template-areas: "icon date price ." "icon time btn ." "icon venue btn .";
    background-color: #f2f2f2;
    background-color: var(--background-color);
    width: calc(100% + 20px);
    margin: 0px -10px;
    padding-bottom: 10px;
}

.feed-footer-icon {
    grid-area: icon;
    font-size: 40px;
    text-align: center;
    justify-self: center;
    align-self: center;
}

.feed-footer-date {
    grid-area: date;
    text-align: left;
    font-size: 17px;
    align-self: end;
    font-weight: 600;
}
.feed-footer-opponent {
    grid-area: date;
    text-align: left;
    font-size: 17px;
    align-self: end;
    font-weight: 600;
    margin-bottom:25px;
}

.feed-footer-versus {
    grid-area: icon;
    font-size: 10px;
    text-align: center;
    justify-self: center;
    align-self: center;
    margin-bottom: 25px;
}

.feed-footer-time {
    grid-area: time;
    text-align: left;
    font-size: 17px;
    align-self: start;
    font-weight: 600;
}

.feed-footer-venue {
    grid-area: venue;
    text-align: left;
    font-size: 14px;
    align-self: start;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feed-footer-price {
    grid-area: price;
    text-align: right;
    font-size: 16px;
    align-self: start;
    margin-right: 10px;
}

.feed-btn.view {
    border-color: #3399FF;
    color: #3399FF;
}

.feed-btn.enter {
    border-color: #2AC940;
    color: #2AC940;
}

.feed-btn.tick {
    border-color: #2AC940;
    color: #2AC940;
}

.feed-btn.cross {
    border-color: #FF3366;
    color: #FF3366;
    background-image:none;
}

.feed-reject {
    color: #FF3366;
    position: absolute;
    display: flex;
    font-size: 50px;
    top: 15px;
    right: 15px;
}

.feed-accept {
    color: #2AC940;
    position: absolute;
    display: flex;
    font-size: 50px;
    top: 15px;
    right: 15px;
}

.feed-body.payment {
    padding: 20px 0px;
}
.feed-payment {
    background-color: #444;
    color: #fff;
    font-size: 2em;
    padding: 5px 15px;
    display: inline-flex;
    margin: 10px 0px;
}

.feed-reward {
    color: #fff;
    font-size: 2em;
    padding: 5px 15px;
    display: inline-flex;
    margin: 10px 0px;
    background-image: url(/Images/Feed/reward-stamp.png);
    background-size: contain;
    height: 140px;
    width: 120px;
    background-repeat: no-repeat;
    justify-content: center;
    flex-direction: column;
    font-weight:600;
}


.morecontent span {
    display: none;
}

.morelink {
    display: inline-block;
    text-decoration: none;
    color: #777;
    cursor: pointer;
}

.highlight {
    color: #3399FF;
    font-size: 20px;
    font-weight: 600;
}

.feed-title > .red-dot {
    position: absolute;
    top: -5px;
    right: -20px;
    width: 15px;
    height: 15px;
    border-radius: 100%;
    padding: 0px;
    background: rgba(255, 82, 82, 1);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 1);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);
    }
}



#imgModal {
    display: none;
    position: fixed;
    z-index: 1010;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
    overflow: hidden;
}

    /* Modal Content (image) */
    #imgModal > .modal-content {
        margin: auto;
        display: block;
        width: 100%;
        max-width: 100vw;
        max-height: 100vh;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(190,190,190,.5);
    }

    #imgModal > .modal-content {
        animation-name: zoom;
        animation-duration: 0.2s;
        object-fit: scale-down;
    }

@keyframes zoom {
    from {
        transform: scale(0.1) translateY(-50%);
    }

    to {
        transform: scale(1) translateY(-50%);
    }
}

/* The Close Button */
#imgModal > .close {
    position: absolute;
    bottom: 15px;
    right: 50%;
    transform: translateX(50%);
    color: #f1f1f1;
    font-size: 40px;
    font-weight: 600;
    transition: 0.3s;
    z-index: 1;
    background-color: #000;
    border-radius: 100%;
    padding: 5px;
    width: 50px;
    height: 50px;
    text-align: center;
    border: 1px solid #fff;
    line-height: 36px;
    opacity: .8;
}

    #imgModal > .close:hover,
    #imgModal > .close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }


@keyframes placeholderAnimate {
    0% {
        background-position: -650px -650px;
        opacity: .9;
    }
    50% {
        opacity:.5;
    }

    100% {
        background-position: 650px 650px;
        opacity: .9;
    }
}
.loading-feed-block {
    /*background-color: #ddd;*/
    padding: 2% 3% 3%;
    margin: 1px 0px 19px;
    position: relative;
    max-width: 500px;
    /*animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-name: feed-card-loading;*/
    border-radius: 5px;
    animation-duration: 1.7s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-name: placeholderAnimate;
    background: #f6f7f8;
    background: linear-gradient(to right, #e0e0e0 2%, #d0d0d0 18%, #e0e0e0 33%);
    background-size: 1300px;
    direction:ltr;
}

.loading-feed-header {
    display: grid;
    grid-template-columns: 75px auto;
    line-height: 1;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 10px;
}

.loading-feed-logo {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    background-color: #f2f2f2;
}

.loading-feed-title {
    width: 60%;
    height: 25px;
    border-radius: 10px;
    background-color: #f2f2f2;
    margin-right: 2%;
    display: inline-block;
}

.loading-feed-description {
    margin-top: 20px;
    width: 100%;
    height: 15px;
    border-radius: 10px;
    background-color: #f2f2f2;
    display: inline-block;
    margin-right: 2%;
}

    .loading-feed-description.one,
    .loading-feed-title.one {
        width: 8%;
    }

    .loading-feed-description.two, .loading-feed-title.two {
        width: 18%;
    }

    .loading-feed-description.three,
    .loading-feed-title.three {
        width: 28%;
    }

    .loading-feed-description.four,
    .loading-feed-title.four {
        width: 35%;
    }

.loading-feed-image {
    margin-top: 30px;
    width: 100%;
    height: 205px;
    border-radius: 10px;
    background-color: #f2f2f2;
}

@keyframes feed-card-loading {
    0% {
        opacity: 1;
    }

    40% {
        opacity: .7;
    }
    50% {
        opacity: .5;
    }
    60% {
        opacity: .7;
    }
}

@keyframes placeholderAnimate {
    0% {
        background-position: -650px 0;
    }

    100% {
        background-position: 650px 0;
    }
}

.feed table {
    max-width: 100%;
}

@media (max-width:950px) {
    .feed {
        display: none;
        overflow: hidden;
        padding: 0px;
    }
}

.modal-save:after {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100% !important;
    content: attr(data-save) !important;
    background-color: rgba(0,0,0,.5);
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    text-align: center;
    vertical-align: middle;
    line-height: 100%;
    font-size: 40px;
    color: #fff;
    animation: fadingTextColor 0.8s infinite;
    /*z-index: 10001;*/
    border-radius: 5px;
}

.no-feed {
    direction: ltr;
    background-color: var(--secondary-background-color);
    color: var(--primary-text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    border-radius: 10px;
    padding: 40px 20px;
}

.no-feed-icon{

}

.no-feed-title {
    font-weight: 600;
    font-size: 22px;
}

.no-feed-text{
    opacity:.9;
}