
.ihistats-wrapper {
	max-width: 100% !important;
	width: 100% !important;
	float:left;
}

/* Table styleing */

.ihistats-table tbody tr.row::before,
.ihistats-table tbody tr.row::after {
  display: none !important;
  content: none !important;
}

.ihistats-table thead {
	background:#efefef !important;
}

.ihistats-table thead th {
	text-align:center;
}

.ihistats-table tbody tr.row td {
	text-align:center;
}

.ihistats-table.report-C08 tbody .row td {
	font-size:16px;
	vertical-align: middle;
}

.ihistats-table.report-C08 tbody .row td img.ihistats-team-logo-small {
	max-width:80px !important;
	max-height:80px !important;
}

.ihistats-table.ihi-table-margin-bottom {
	margin-bottom:30px;
}

.ihistats-table strong {
	font-weight:700;
}

.ihistats-table.odd-even tr:nth-child(even){
	background:#c3e7ff;
}

.ihistats-table.no-margins{
	margin-top:0;
	margin-bottom:0;
}

.ihistats-table.no-border,
.ihistats-table.no-border td {
	border:0 !important;
}

.ihistats-table.game-actions-table .action-time,
.ihistats-table.game-actions-table .action-noc,
.ihistats-table.game-actions-table .action-code,
.ihistats-table.report-C85A > tbody > tr > td:nth-child(2),
.ihistats-table.report-C85B > tbody > tr > td:nth-child(2),
.ihistats-table.report-C85C > tbody > tr > td:nth-child(2),
.ihistats-table.report-C85E > tbody > tr > td:nth-child(2),
.ihistats-table.report-C85H > tbody > tr > td:nth-child(2){
	white-space: nowrap;
}

.ihistats-table.game-actions-table .action-player {
	white-space:normal;
}

.ihistats-table.game-actions-table .row-green {
	color:#090;
}

.ihistats-table.game-actions-table .row-red {
	color:#900;
}

.ihistats-table.game-actions-table .row-green .action-code {
	font-weight:bold;
}

.ihistats-table .period-number {
	font-size:24px;
	font-weight:bold;
	background:#efefef;
	text-align:center;
}


.playing-teams-table .teams-row {
	width:100%;
	display:flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	margin-left:auto;
	margin-right:auto;
}

.playing-teams-table .teams-row td {
	width:auto;
}

.playing-teams-table .teams-row .home-team,
.playing-teams-table .teams-row .away-team {
	justify-content: center;
	text-align: center;
}

.playing-teams-table .teams-row .score {
	font-size:48px;
	font-weight:bold;
	margin:0;
	padding:0;
}

.game-summary-table .game-title-heading {
	text-align: center;
	margin-bottom:20px;
}

.game-summary-table .game-info {
	text-align: center;
	font-size:14px;
	padding-top:10px;
	padding-bottom:10px;
}

.ihistats-table.game-actions-table .row-green .assists {
	font-size:14px;
}

/* Table styleing end */

/* Flex styleing */

.ihistats-flex {
	display: flex;
	flex-direction: column;
	width:100%;
}

.ihistats-flex .ihistats-flex-data {
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap:10px;
	justify-content: space-evenly;
	width:100%;
}

.ihistats-flex .ihistats-flex-data .game {
	display:flex;
	flex-direction: column;
	border:1px solid #888;
	text-align: center;
	padding:8px;
	width:24%;
	border-radius: 8px;
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	font-size:16px;
	background:#ebebeb;
}
/* Grid styleing */

.ihistats-grid{
	display:grid;
}

.ihistats-grid.ihistats-next-games-all .ihistats-grid-header {
	display:flex;
	flex-direction:row;
	justify-content: space-around;
}

.ihistats-grid.ihistats-next-games-all .ihistats-grid-header .ihistats-grid-header-item,
.ihistats-grid.ihistats-last-games-all .ihistats-grid-header .ihistats-grid-header-item {
	text-align: center;;
}

.ihistats-grid.ihistats-next-games-all .ihistats-grid-data,
.ihistats-grid.ihistats-last-games-all .ihistats-grid-data {
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
	width:100%;	
}

.ihistats-grid.ihistats-next-games-all .ihistats-grid-data .game,
.ihistats-grid.ihistats-last-games-all .ihistats-grid-data .game {
	display:flex;
	flex-direction: column;
	border:1px solid #888;
	text-align: center;
	width:19%;
	padding:8px;
	border-radius: 8px;
	margin:6px;
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	font-size:16px;
	background:#ebebeb;
}

.ihistats-grid .ihistats-grid-data .game.click-active {
	cursor:pointer;
}

.ihistats-grid.ihistats-last-games-all .ihistats-grid-data .game.click-active:hover {
	cursor:pointer;
}

.ihistats-grid .ihistats-grid-data .game .lineups-tickets {
	display:flex;
	flex-direction: row;
	padding-top:4px;
	padding-bottom:4px;
	justify-content: space-evenly;
}

.ihistats-grid .ihistats-grid-data .game .lineups-tickets button{
	padding:6px;
	border-radius:6px;
	font-size:12px;
	background:#ccc;
	/*border:1px solid #8c8c8c;*/
	color:#000;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.0333em;
	line-height: 1.25;
}

.ihistats-grid .ihistats-grid-data .game .lineups-tickets button.disabled {
	color:#888;
	cursor:help;
}
.ihistats-grid .ihistats-grid-data .game .lineups-tickets button.disabled:hover{
	text-decoration: none;
}

.ihistats-grid .ihistats-grid-data .game .lineups-tickets button.tickets-button {
	background:#090;
	color:#FFF;
}

.ihistats-grid .ihistats-grid-data .game .lineups-tickets button.results {
	width:100%;
	background:#009;
	color:#fff;
}

.ihistats-grid.ihistats-next-games-all .ihistats-grid-data .game .teams,
.ihistats-grid.ihistats-last-games-all .ihistats-grid-data .game .teams,
.ihistats-flex.ihistats-next-games-all .ihistats-flex-data .game .teams
 {
	display:flex;
	flex-direction: row;
	justify-content: space-evenly;
	align-items: center;
	margin-top:4px;
	margin-bottom:6px;
}

.ihistats-grid.ihistats-next-games-all .ihistats-grid-data .game .teams .vs,
.ihistats-grid.ihistats-next-games-all .ihistats-grid-data .game .teams .vs {
	display:table-cell;
	vertical-align: middle;
	position: relative;
}
.ihistats-grid.ihistats-next-games-all .ihistats-grid-data .game .teams .vs span {
	position: relative;
	top:20%;
}

.ihistats-grid.ihistats-next-games-all .ihistats-grid-data .game .date,
.ihistats-grid.ihistats-next-games-all .ihistats-grid-data .game .location {
	line-height:1;
	margin-top:4px;
	margin-bottom:4px;
	font-size:14px;
}

.ihistats-grid.ihistats-last-games-all .ihistats-grid-data .game .location {
	font-weight:bold;
	font-size:16px;
}

.ihistats-grid.ihistats-next-games-all .ihistats-grid-data .game .date {
	font-weight:bold;
}
/* Grid styleing end */


/* Next games slider */
.ihi-next-game-slider-wrapper {
	padding-top:10px;
	background:#f5f5f5;
}

.ihi-next-game-slider-wrapper .ihi-next-game-slider{
	display:flex;
	flex-direction: row;
	gap:10px;
	padding-bottom:10px;
	padding-left:10px;
}

.ihi-next-game-slider-wrapper .ihi-next-game-slider .game {
	border:1px solid #ccc;
	border-radius:8px;
	overflow:hidden;
	flex:none;
	background:#FFF;
	width:220px;
	margin-left:8px;
	margin-right:8px;
	position:relative;
	min-height:150px;
}

.ihi-next-game-slider-wrapper .ihi-next-game-slider .game .division {
	background:#ccc;
	padding-top:4px;
	padding-bottom:4px;
}

.ihi-next-game-slider-wrapper .ihi-next-game-slider .game .game-date {
	border-bottom:1px solid #ccc;
	font-size:12px;
	font-weight:bold;
}

.ihi-next-game-slider-wrapper .ihi-next-game-slider .game .match {
	display:flex;
	flex-direction:column;
}

.ihi-next-game-slider-wrapper .ihi-next-game-slider .game .match .match-row {
	display:flex;
	flex-direction:row;
	align-items:center;
}

.ihi-next-game-slider-wrapper .ihi-next-game-slider .game .match .match-row .team-logo {
	width:50px;
	height:50px;
	display:flex;
	justify-content: center;
	align-items: center;
}

.ihi-next-game-slider-wrapper .ihi-next-game-slider .game .match .match-row .team-name {
	text-align:left;
	font-size:12px;
	color:#000;
	padding-left:8px;
	font-weight:600;
}

.ihi-next-game-slider-wrapper .ihi-next-game-slider .game .location {
	font-size:12px;
	padding-top:4px;
	padding-bottom:4px;
	color:#000;
}

.ihi-next-game-slider-wrapper .ihi-next-game-slider .game .match-info-slide {
	background:#efefef;
	padding-top:4px;
	padding-bottom:4px;
	border-top:1px solid #ccc;
	font-size:12px;
	cursor:pointer;
	position:absolute;
	bottom:0;
	left:0;
	right:0;
	transform:translateY(100%);
	transition: transform 0.3s ease;
	height:100px;
}

.ihi-next-game-slider-wrapper .ihi-next-game-slider .game {
	position:relative;
	overflow:hidden;
}

.ihi-next-game-slider-wrapper .ihi-next-game-slider .game:hover .match-info-slide {
	transform:translateY(0);
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.team-logo.VIK,
.team-logo.JOT,
.team-logo.SA {
	background:#ff041d;
}

.team-logo.SR {
	background:#6baed5;
}

.team-logo.FJO {
	background:#f1e700;
}

.ihistats-hover tbody tr:hover {
	background:#8fd1ff;
}

.ihi-team-roster .row .col.name,
.ihi-team-roster thead .th-head-1,
.report-C85A .row .col.name,
.report-C85B .row .col.name,
.report-C85C .row .col.name,
.report-C85E .row .col.name,
.report-C85H .row .col.name,
.report-C85A .th-head-1,
.report-C85B .th-head-1,
.report-C85C .th-head-1,
.report-C85E .th-head-1,
.report-C85H .th-head-1 {
	text-align: left;
	white-space: nowrap;
}

.ihi-team-roster .row .col.name,
.game-actions-list .game-action-item .action-player{
	text-transform: capitalize;
}

.report-C85A .row .col.svs_perc {
	white-space: nowrap;
}

.ihi-team-roster .row .col.name a img.player-image {
	float: left;
	max-width: 50px;
}


/* Game Summary */

.ihistats-wrapper .game-action-lables .action-time,
.ihistats-wrapper .game-action-lables .action-noc,
.ihistats-wrapper .game-action-lables .action-code,
.ihistats-wrapper .game-action-lables .action-player {
	float:left;
	width: 25%;
}

.ihistats-wrapper .game-action-lables .action-code .time {
	display:none;
}

.ihistats-wrapper.game-actions-list .game-action-item {
	float:left;
	width:100%;
	border-bottom:1px solid #000;
}

.ihistats-wrapper.game-actions-list .game-action-item:hover {
	background:#efefef;
}

.ihistats-wrapper.game-actions-list .game-action-item > div {
	float:left;
	width:25%;
	padding-top:4px;
	padding-bottom:4px;
	white-space: break-spaces;
}

a.ihistats-live-link,
strong.ihistats-live-link {
	position:relative;
	text-decoration:none;
	white-space:nowrap;
	padding-top:4px;
	padding-bottom:4px;
	padding-left:6px;
	padding-right:6px;
	border-radius:4px;
}

a.ihistats-live-link:hover {
	background:#900;
	color:#fff;
}

a.ihistats-live-link span.dashicons {
	margin-top:2px;
}

.ihistats-live-link:before {
	content: "";
	display: block;
	position: absolute;
	background-color: #aa0000;
	height: 10px;
	width: 10px;
	border-radius: 50%;
	transform: translateY(-50%);
	top: 50%;
	left: -20px;
	animation: 3s ease-in-out infinite live-blinker;
	-webkit-animation: 3s ease-in-out infinite live-blinker;
}

@-webkit-keyframes live-blinker {
  0% {
    opacity: 0.1;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.1;
  }
}
@keyframes live-blinker {
  0% {
    opacity: 0.1;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.1;
  }
}


/*****/

.player-profile {
	width:100%;
}

.player-profile .player-name,
.player-profile .player-meta {
	width:100%;
	float:left;
}

.player-profile .player-name{
	text-align: left;
	padding-left:20px;
}

.player-profile .player-img {
	float:left;
	width:40%;
}

.player-profile .player-img img {
	border-radius: 10px;
}

.player-profile .player-table {
	float:left;
	width:60%;
}

.ihistats-table .player-meta .ihistats-table {
	margin-top:0px;
	margin-left:20px;
	margin-right:0px;
	margin-bottom:0px;
}

.player-profile .player-actions {
	width:100%;
	float:left;
	text-align: left;
	padding-top:20px;
}

.player-profile .playerstats-wrapper {
	float:left;
	width:100%;
}


.player-profile .playerstats-wrapper h4{
	margin-left:20px;
	margin-top:20px;
}

/***/

.report-C08 tr td:first-child,
.report-C76_2 tr td:first-child{
	font-weight:bold;
	white-space: nowrap;
}

.ihistats-team-logo-small {
	max-width:40px;
	max-height:40px;
	display:inline;
	white-space: nowrap;
}

.ihistats-team-logo-big {
	width:100%;
	max-width:200px;
	max-height:200px;
	display:inline;
	white-space: nowrap;
	border-radius:50% 50%;
}

.ihistats-linups-wrapper {
	display:flex;
	flex-direction:row;
	justify-content: center;
}

.ihistats-linups-wrapper .team-list{
	flex:auto;
}

/** Finales grid **/
#finals-grid{
	/*width:100%;*/
}


#finals-grid ul {
	width:100%;
	list-style: none;
	display:flex;
	flex-direction: row;
	justify-content: space-between;
	padding:0;
	margin:0;
}

#finals-grid ul li {
	width:100px;
	height:100px;
	text-align: center;
	padding:0;
	margin:0;
}

#finals-grid ul li .bubble {
	padding:0;
	margin:0;
	float:left;
	border:1px solid #000;
	width:100px;
	height:100px;
	text-align: center;
	border-radius:50%;
	background:#efefef;
}

#finals-grid ul li.sa .bubble {
	background-image:url(https://urslit.ihi.is/wp-content/uploads/2020/09/sa-600x600-1.png);
	background-position: top center;
	background-size: cover;	
}

#finals-grid ul li.sr .bubble{
	background-image:url(https://urslit.ihi.is/wp-content/uploads/2020/09/sr-600x600-1.png);
	background-position: top center;
	background-size: cover;	
}

#finals-grid ul li.fjo .bubble {
	background-image:url(https://urslit.ihi.is/wp-content/uploads/2020/09/fjolnir-600x600-1.png);
	background-position: top center;
	background-size: cover;	
}

#finals-grid ul li.sa div span,
#finals-grid ul li.sr div span,
#finals-grid ul li.fjo div span {
	display:none;
}

#finals-grid ul li span {
	margin-top:30%;
	float:left;
	width:100%;
	text-align: center;
	font-size:32px;
	font-weight:bold;
}

#finals-grid .game-line {
	width:100%;
	border:2px solid #000;
	top:-50px;
	position:relative;
	z-index:-1;
}





/**/



@media (max-width: 820px) {
	.ihistats-grid.ihistats-next-games-all.ihistats-grid-data .game,
	.ihistats-grid.ihistats-last-games-all.ihistats-grid-data .game {
		width:30%;
	}
}

/* Tablet */
@media (max-width: 700px) {

	.post-inner .entry-content .ihistats-wrapper {
		overflow-x:scroll;
	}

	.ihistats-wrapper .game-action-lables .action-time {
		display:none;	
	}

	.ihistats-wrapper .game-action-lables .action-noc,
	.ihistats-wrapper .game-action-lables .action-code,
	.ihistats-wrapper .game-action-lables .action-player {
		float:left;
		width: 33.333%;
		font-size:12px;
	}

	.ihistats-wrapper .game-action-lables .action-noc{
		text-align: left;
		padding-left:6px;
	}

	.ihistats-wrapper .game-action-lables .action-code {
		text-align: center;
	}

	.ihistats-wrapper .game-action-lables .action-code .action {
		display: none;
	}

	.ihistats-wrapper .game-action-lables .action-code .time {
		display:block;
	}


	.ihistats-wrapper .game-action-lables .action-player {
		text-align: right;
	}

	.ihistats-wrapper.game-actions-list .action-player .assists {
		font-size:12px;
	}

	.ihistats-wrapper.game-actions-list .game-action-item {
		font-size:12px;
		text-align: center;
	}

	.ihistats-wrapper.game-actions-list .game-action-item .action-time{
		font-size:14px;
		background:rgba(239,239,239,0.8);
		border-radius:15px;
		color:#000;
		float: none;
		margin: 0 auto;
		width: 50px;
		margin-top:6px;
		font-size:12px;
	}

	.ihistats-wrapper.game-actions-list .game-action-item .action-noc {
		width: 12%;
	}

	.ihistats-wrapper.game-actions-list .game-action-item .action-code {
		width: 40%;
	}

	.ihistats-wrapper.game-actions-list .game-action-item .action-player {
		width: 46%;
		text-align: right;
	}

	.ihistats-team-logo-big {
		max-width: 80px;
	}
}


/* Mobile */
@media screen and (max-width: 500px){

	#finals-grid ul {
		flex-direction: column;
		list-style: none;
		text-align: center;
	}

	#finals-grid ul li {
		margin:0 auto;
		margin-bottom:10px;
		height:126px;
	}

	#finals-grid .game-line {
		display:none;
	}

	.ihistats-grid .ihistats-grid-data .game .lineups-tickets {
		flex-direction:column;
	}	

	.ihistats-grid .ihistats-grid-data .game .lineups-tickets button{
		font-size:14px;
		padding-top:8px;
		padding-bottom:8px;
		margin-bottom:8px;
		margin-top:8px;
	}

	.ihistats-grid.ihistats-next-games-all .ihistats-grid-data .game,
	.ihistats-grid.ihistats-last-games-all .ihistats-grid-data .game {
		width:46%;
	}
	.ihistats-grid.ihistats-next-games-all .ihistats-grid-data .game:first-child,
	.ihistats-grid.ihistats-last-games-all .ihistats-grid-data .game:first-child{
		width:100%;
	}

	.player-profile .player-img,
	.player-profile .player-table {
		float:left;
		width:100%;
	}
	.ihistats-table .player-meta .player-table .ihistats-table {
		width:100%;
		margin-top:20px;
		margin-bottom:20px;
		margin-left:0px;
		margin-right:0px;
	}
	.player-profile .playerstats-wrapper h4 {
		text-align: center;
		margin:0;
		width:100%;
	}
	.ihistats-linups-wrapper {
		flex-direction: column;
	}
}
