/* game schedule */
.schedule-week {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}
.schedule-week.schedule-week-desktop { display: none; }

.schedule-week h2 {
	font-size: 16px;
	font-weight: 700;
	flex: 1;
}
.schedule-week-change {
    display: flex;
}
.schedule-week-change-link {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 0 2px #fff;
    transition: opacity .15s;
    opacity: .5;
    border-radius: 50%;
}
.schedule-week-change-link:hover,
.schedule-week-change-link:focus {
    opacity: 1;
    color: #fff;
}
.schedule-week-change-link svg {
    height: 14px;
}
.schedule-week-change-link-prev svg {
    transform: scaleX(-1);
    margin-left: -2px;
}
.schedule-week-change-link-next {
    margin-left: 12px;
}
.schedule-week-change-link-next svg {
    margin-right: -2px;
}

@media (min-width: 370px) {
    .schedule-week {
        flex-direction: row;
        align-items: center;
    }
    .schedule-week h2 {
		font-size: 18px;
	}
    .schedule-week-change {
        padding-top: 0;
        padding-left: 20px;
    }
}
@media (min-width: 992px) {
	.schedule-week h2 {
		flex: none;
		font-size: 20px;
	    padding: 0 20px;
    }
    .schedule-week.schedule-week-mobile { display: none; }
    .schedule-week.schedule-week-desktop {
	    display: flex;
	    justify-content: center;
	}
	.schedule-week-change {
		padding-left: 0;
	}
	.schedule-week-change-link-next {
	    margin-left: 0;
	}
}


.schedule {}
.schedule:last-child {
    margin-bottom: 30px;
}
.schedule-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1.5em 10px .5em;
}
.schedule-header h2 {
    line-height: 1;
    margin-bottom: 0;
    font-size: 18px;
}
.schedule-detail-link {
    color: #0B1B28;
    opacity: .5;
    white-space: nowrap;
}
.schedule-detail-link:hover {
    color: #0B1B28;
    opacity: 1;
    text-decoration: underline;
}
.schedule-fis-team {
    background: #bbbbbb;
    color: #0B1B28;
    padding: 12px;
    text-transform: uppercase;
    margin-bottom: 1px;
}
.schedule-fis-team:first-child {
    margin-top: 0;
    border-radius: 6px 6px 0 0;
}
.schedule-fis-team h3 {
    font-size: 14px;
    margin: 0;
}
.schedule-game {
    background: #eee;
    margin-bottom: 1px;
    overflow: hidden;
}
.schedule-header + .schedule-games-list .schedule-game:first-child {
    border-radius: 6px 6px 0 0;
}
.schedule-game:last-child {
    border-radius: 0 0 6px 6px;
    margin-bottom: 0;
}
.schedule-header + .schedule-games-list .schedule-game:first-child:last-child {
    border-radius: 6px;
}
.schedule-game-header {
    display: flex;
    padding: 5px 10px 5px 5px;
}
.schedule-game-header-part {}
.schedule-game-header-part-1 {
    flex: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.schedule-game-logo {
    flex: none;
    width: 40px;
    height: 40px;
    margin: 0 10px 0 0;
    background: #fff;
    border-radius: 3px;
    overflow: hidden;
    padding: 3px;
}
.schedule-game-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    font-family: 'object-fit:contain';
}

.schedule-game-overview {
    width: calc(100% - 50px);
    padding-right: 15px;
}

.schedule-game-teams {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.15em;
    font-size: 13px;
}
.schedule-game-expanded .schedule-game-teams {
    white-space: normal;
}
.schedule-game-team {}
.schedule-game-team-owner {
    display: none;
}
.schedule-game-team-opponent {}
.schedule-game-team-home {}
.schedule-game-team-away {}
.schedule-game-home-away-flag {
    display: none;
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
    padding-left: 2px;
    font-size: 12px;
}
.schedule-game-info {
    color: #888;
    display: flex;
    font-size: 13px;
    white-space: nowrap;
    max-height: 1.6em;
    transition: all .25s;
    overflow: hidden;
}
.schedule-game-expanded .schedule-game-info {
    max-height: 0;
}
.schedule-game-info-competition,
.schedule-game-info-date-time {
    display: none;
}
.schedule-game-info-location {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.schedule-game-info span + span {
    margin-left: .45em;
    padding-left: .65em;
    position: relative;
}
.schedule-game-info span + span:before {
    content: '';
    display: block;
    width: 1px;
    height: 1em;
    background: currentColor;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: .75;
}

.schedule-game-header-part-2 {
    flex: none;
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}
.schedule-game-result-win {
    color: #000;
}
.schedule-game-result-loss {
    color: #d71825;
}
.schedule-game-time {}
/*.schedule-game-media a {
    background: #FA8200;
}*/
.schedule-game-media,
.schedule-game-expand {
    display: none;
}
.schedule-game-media > * {
    background: #000;
}
.schedule-game-media > span {
    pointer-events: none;
}
.schedule-game-media svg {
    height: 20px;
}
.schedule-game-expand a {
    color: rgba(15,15,15,.5);
}
.schedule-game-expand svg {
    height: 16px;
}
.schedule-game-expanded .schedule-game-expand svg {
    transform: rotate(-90deg);
}

.circle-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-left: 10px;
}
.circle-link-disabled {
    opacity: .3;
}
.circle-link svg {
    transition: all .25s;
}

.schedule-game-body {
    display: none;
    padding: 0 10px 5px;
}
.schedule-game-info-mobile {
    color: #0B1B28;
    /*opacity: .5;*/
    font-size: 13px;
    padding: 5px 0 10px;
    margin-left: -5px;
}
.schedule-game-info-mobile-item {
    display: flex;
    align-items: flex-start;
    padding: 2px 0;
}
.schedule-game-info-mobile-item-ico {
    width: 40px;
    text-align: center;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    padding-top: .2em;
    color: #888;
}
.schedule-game-info-mobile-item svg {
    height: 14px;
}
.schedule-game-links .button {
    color: #0B1B28;
    /*border: 2px solid currentColor;*/
    font-size: 11px;
    /*opacity: .5;*/
}
.schedule-game-links {
    padding: 4px 0 8px;
    white-space: nowrap;
    overflow: auto;
}
.schedule-game-links .button+.button {
	margin-left: 4px;
}
.schedule-game-links .button:hover {
    color: #fff;
    border-color: #0B1B28;
}

@media (min-width: 370px) {
    .schedule-game-expand {
        display: block;
    }
    .schedule-game-home-away-flag {
        display: initial;
    }
}

@media (min-width: 650px) {
    .schedule-header {
        padding: 1.5em 15px .5em 55px;
    }
    .schedule-fis-team {
	    padding-left: 55px;
	}
	.schedule-game-body {
		padding-left: 5px;
	}
    .schedule-game-header {
        padding-right: 15px;
    }
    .schedule-game-header:hover {
		cursor: pointer;
		background: #e9e9e9;
	}
    .schedule-game-teams {
	    font-size: 14px;
    }
    .schedule-game-team-owner {
        display: initial;
        color: #000;
    }
    .schedule-game-team-away:before {
        content: '-';
        padding: 0 .35em;
        color: #0B1B28;
    }
    .schedule-game-home-away-flag {
        display: none;
    }
    .schedule-game-expanded .schedule-game-info {
        display: flex;
    }
    .schedule-game-info-mobile {
        margin-left: 0;
    }
    .schedule-game-info-competition,
    .schedule-game-info-date-time {
        display: initial;
    }
    .schedule-game-result,
    .schedule-game-time {
        padding-right: 10px;
    }
    .schedule-game-media {
        display: block;
    }
    .schedule-game-expand a {
        background: #bbbbbb;
        color: #fff;
    }
    .schedule-game-expand svg {
        margin-right: -2px;
    }
    .schedule-game-expanded .schedule-game-expand svg {
        margin-right: 0;
        margin-top: -2px;
    }

	.schedule-game-links {
	    padding: 4px 8px 8px;
	}

    .circle-link {
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: #fff;
        margin-left: 10px;
    }
    .circle-link:focus,
    .circle-link:hover {
        opacity: .75;
        color: #fff;
    }
}
