/*
This CSS file contains the CSS needed for the core GWALIA Match Centre live feed;

@package Hopp GWALIA Match Centre
@since 1.0.0
@version 1.0.10

*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
Globals (GL)
	GL - Multi-Selector Styling
		GL_MU - Multiple Categories
			GL_MU_M - Responsive
		GL_MU - Blocks
		GL_MU - Links
	GL - Typography
Front-end Editor (FE)
	FE - Hide Min Checkbox and Timestamp
	FE - Media Loader
Comments (CO)
	CO - Responsive
	CO - Individual Comment
		CO_IC - Events
		CO_I - Media
		CO_I - Tweets
	CO - Custom Scrollbar
	CO - Grid

--------------------------------------------------------------*/
/*--------------------------------------------------------------
GL - Typography
--------------------------------------------------------------*/
.gwalia-lf-title {
	border: none;
}

/*--------------------------------------------------------------
Front-end Editor (FE)
--------------------------------------------------------------*/
#updatesform {
	margin-bottom: 3rem;
}

/*--------------------------------------------------------------
FE - Hide Min Checkbox and Timestamp
--------------------------------------------------------------*/
/* Customize the label (the sml-checkbox) */
.sml-checkbox {
	display: block;
	position: relative;
	padding-left: 3rem;
	font-size: 1.3rem;
	cursor: pointer;
	-webkit-user-select: none;
	   -moz-user-select: none;
		-ms-user-select: none;
			user-select: none;
}

/* Hide the browser's default checkbox */
.sml-checkbox input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

/* Create a custom checkbox */
input[type="checkbox"] + .checkmark:before {
	height: 2rem;
	width: 2rem;
	margin: auto;
}
  
/* On mouse-over, add a grey background color */
.sml-checkbox:hover input ~ .checkmark:before {
	background-color: #ccc;
}
  
/* When the checkbox is checked, add a blue background */
.sml-checkbox input:checked ~ .checkmark:before {
	background-color: #f4241d;
}
  
/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}
  
/* Show the checkmark when checked */
.sml-checkbox input:checked ~ .checkmark:after {
	display: block;
}
  
/* Style the checkmark/indicator */
.sml-checkbox .checkmark:after {
	left: .45rem;
	top: .48rem;
	bottom: 0;
	width: 1.2rem;
	height: .7rem;
}

.sml-checkbox-desc {
	display: block;
	margin-top: 1rem;
	margin-left: -3rem;
	font-style: italic;
	color: #606060;
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
}

/*--------------------------------------------------------------
FE - Media Loader
--------------------------------------------------------------*/
#media-wrapper.has-media {
	border: 0.1rem dashed #ccc;
	border-radius: 0.3rem;
	overflow: hidden;
	display: block;
	position: relative;
	text-align: center;
	margin-top: 1rem;
	padding: 1.5rem;
}

.has-media #remove-media {
	display: block;
	padding: 1rem;
}

#remove-media,
.yes-media,
.has-media .no-media,
#frontend-button.has-media {
	display: none;
}

.has-media .yes-media {
	display: block;
}

.no-media {
	padding: 1rem;
	display: inline-block;
	border: 0.1rem dashed #fff;
	border-radius: 0.3rem;
}

#frontend-image {
	display: block;
	margin: auto;
	border-radius: 0.3rem;
}

#remove-media svg,
#frontend-button svg {
	width: 2rem;
	height: 2rem;
	display: block;
}

#frontend-button {
	background-image: none;
}

@media screen and (min-width: 340px) {
	#frontend-button {
		display: block;
		margin-bottom: -6.5rem;
	}
}

/*--------------------------------------------------------------
Comments (CO)
--------------------------------------------------------------*/
.entry-content--hp_gwalia_match_h #gwalia-lf__wrap {
	margin: 0 -1.5rem;
}

.entry-content--hp_gwalia_match_h #gwalia-lf__wrap__inner {
	overflow-x: hidden;
	padding: 0 1.5rem;
}

.entry-content--hp_gwalia_match_h #gwalia-lf__wrap__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

/*--------------------------------------------------------------
CO - Responsive
--------------------------------------------------------------*/
@media screen and (min-width: 992px) {
	.entry-content--hp_gwalia_match_h .col-12.gwalia-gwalia-lf-wrap {
		position: absolute;
		right: 0;
		height: 100%;
	}
}

/*--------------------------------------------------------------
CO - Individual Comment
--------------------------------------------------------------*/
.entry-content--hp_gwalia_match_h .comment {
	box-shadow: 0 0 0.5rem rgb(0 0 0 / 16%);
	border-radius: 0.3rem;
	padding: 1.5rem 0;
	display: block;
	margin-top: 1.5rem;
	overflow: hidden;
}

.entry-content--hp_gwalia_match_h .comment:nth-last-child(2) {
    margin-bottom: 1.5rem;
}

.entry-content--hp_gwalia_match_h .comment-metadata {
	white-space: nowrap;
	padding-left: 1.5rem;
	position: relative;
}

.entry-content--hp_gwalia_match_h .comment-content {
	margin-bottom: -1.5rem;
}

.entry-content--hp_gwalia_match_h .comment-pic img {
	margin-top: 1.5rem;
	max-height: 4.4rem;
	position: absolute;
	top: 0;
	right: 3rem;
	bottom: 0;
	margin: auto;
}

/*--------------------------------------------------------------
CO_IC - Events
--------------------------------------------------------------*/
.entry-content--hp_gwalia_match_h .comment.event {
	background: #F2F0F0;
}

.entry-content--hp_gwalia_match_h .comment.event .align-items-center {
	align-items: normal !important;
}

.entry-content--hp_gwalia_match_h .comment.event .comment-metadata {
	padding-left: 5rem;
}

.entry-content--hp_gwalia_match_h .comment.event.event__GOAL,
.entry-content--hp_gwalia_match_h .comment.event.event__PENALTY,
.entry-content--hp_gwalia_match_h .comment.event.event__OWN_GOAL {
	background: #2C2C2C;
	color: #fff;
}

.entry-content--hp_gwalia_match_h .comment.event h3 {
	margin-top: 0.4rem;
	margin-bottom: 1rem;
}

.entry-content--hp_gwalia_match_h .comment.event.event__GOAL h3,
.entry-content--hp_gwalia_match_h .comment.event.event__PENALTY h3,
.entry-content--hp_gwalia_match_h .comment.event.event__OWN_GOAL h3 {
	color: #fff;
}

.entry-content--hp_gwalia_match_h .comment.event.event__YELLOW .comment-metadata:after,
.entry-content--hp_gwalia_match_h .comment.event.event__RED .comment-metadata:after,
.entry-content--hp_gwalia_match_h .comment.event.event__GOAL .comment-metadata:after,
.entry-content--hp_gwalia_match_h .comment.event.event__SUBSTITUTION .comment-metadata:after,
.entry-content--hp_gwalia_match_h .comment.event.event__PENALTY .comment-metadata:after,
.entry-content--hp_gwalia_match_h .comment.event.event__PENALTY .comment-metadata:after,
.entry-content--hp_gwalia_match_h .comment.event.event__PENALTY_FAILED .comment-metadata:after,
.entry-content--hp_gwalia_match_h .comment.event.event__OWN_GOAL .comment-metadata:after,
.entry-content--hp_gwalia_match_h .comment.event.event__SECOND_YELLOW .comment-metadata:after {
	position: absolute;
	content: "";
	width: 2rem;
	height: 2.7rem;
	top: 0;
	left: 1.5rem;
	border-radius: 0.3rem;
	background: #F2F240;
}

.entry-content--hp_gwalia_match_h .comment.event.event__RED .comment-metadata:after {
	background: #D92E22;
}

.entry-content--hp_gwalia_match_h .comment.event.event__GOAL .comment-metadata:after,
.entry-content--hp_gwalia_match_h .comment.event.event__SUBSTITUTION .comment-metadata:after,
.entry-content--hp_gwalia_match_h .comment.event.event__PENALTY .comment-metadata:after,
.entry-content--hp_gwalia_match_h .comment.event.event__PENALTY .comment-metadata:after,
.entry-content--hp_gwalia_match_h .comment.event.event__PENALTY_FAILED .comment-metadata:after,
.entry-content--hp_gwalia_match_h .comment.event.event__OWN_GOAL .comment-metadata:after,
.entry-content--hp_gwalia_match_h .comment.event.event__SECOND_YELLOW .comment-metadata:after {
	background: none;
	background-image: url(../img/goal.svg);
	background-size: contain;
	background-repeat: no-repeat;
	height: 3rem;
	border-radius: 0;
}

.entry-content--hp_gwalia_match_h .comment.event.event__PENALTY .comment-metadata:after {
	// background-image: url(../img/penalty.svg);
	background-image: none;
}

.entry-content--hp_gwalia_match_h .comment.event.event__SUBSTITUTION .comment-metadata:after {
	background-image: url(../img/substitute.svg);
}

.entry-content--hp_gwalia_match_h .comment.event.event__PENALTY .comment-metadata:after {
	background-image: url(../img/penalty-scored.svg);
}

.entry-content--hp_gwalia_match_h .comment.event.event__PENALTY_FAILED .comment-metadata:after {
	background-image: url(../img/penalty-missed.svg);
}

.entry-content--hp_gwalia_match_h .comment.event.event__OWN_GOAL .comment-metadata:after {
	background-image: url(../img/own-goal.svg);
}

.entry-content--hp_gwalia_match_h .comment.event.event__SECOND_YELLOW .comment-metadata:after {
	background-image: url(../img/double-yellow.svg);
}

.entry-content--hp_gwalia_match_h .comment-content .comment-contentdata {
	padding: 0 1.5rem;
}

.entry-content--hp_gwalia_match_h .comment.event .comment-pic img {
	max-height: 2.7rem;
}

/*--------------------------------------------------------------
CO_IC_E - Responsive
--------------------------------------------------------------*/
@media screen and (min-width: 576px) {
	.entry-content--hp_gwalia_match_h .comment.event .comment-metadata {
		padding-left: 1.5rem;
	}

	.entry-content--hp_gwalia_match_h .comment-content .comment-contentdata {
		padding: 0 1.5rem 0 0;
	}

	.entry-content--hp_gwalia_match_h .comment.event.event__YELLOW .comment-metadata:after,
	.entry-content--hp_gwalia_match_h .comment.event.event__RED .comment-metadata:after,
	.entry-content--hp_gwalia_match_h .comment.event.event__GOAL .comment-metadata:after,
	.entry-content--hp_gwalia_match_h .comment.event.event__SUBSTITUTION .comment-metadata:after,
	.entry-content--hp_gwalia_match_h .comment.event.event__PENALTY .comment-metadata:after,
	.entry-content--hp_gwalia_match_h .comment.event.event__PENALTY .comment-metadata:after,
	.entry-content--hp_gwalia_match_h .comment.event.event__PENALTY_FAILED .comment-metadata:after,
	.entry-content--hp_gwalia_match_h .comment.event.event__OWN_GOAL .comment-metadata:after,
	.entry-content--hp_gwalia_match_h .comment.event.event__SECOND_YELLOW .comment-metadata:after {
		top: 3.3rem;
	}

	.entry-content--hp_gwalia_match_h .comment.event .comment-pic img {
		max-height: 4.4rem;
	}
}

/*--------------------------------------------------------------
CO_I - Media
--------------------------------------------------------------*/
.comment-media {
	margin: 1.5rem 0 -1.5rem;
}

.comment-media img {
	width: 100%;
	display: block;
}

/*--------------------------------------------------------------
CO_I - Tweets
--------------------------------------------------------------*/
.twitter-tweet-rendered {
	margin-bottom: 3rem !important;
}

/* .twitter-tweet-rendered:before {
	content: '';
	position: absolute;
	top: -127%;
	right: 0;
	bottom: 0;
	left: 10%;
	width: 94%;
	height: 200%;
	border-radius: 11px;
	z-index: -1;
	background: #cfd9de;
	transform: rotate(-14deg);
} */

/*--------------------------------------------------------------
CO - Custom Scrollbar
--------------------------------------------------------------*/
[data-simplebar] {
	position: relative;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-content: flex-start;
	align-items: flex-start;
}
  
.simplebar-wrapper {
	overflow: hidden;
	width: inherit;
	height: inherit;
	max-width: inherit;
	max-height: inherit;
	height: 100%;
}

.simplebar-mask {
	direction: inherit;
	position: absolute;
	overflow: hidden;
	padding: 0;
	margin: 0;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	width: auto !important;
	height: auto !important;
	z-index: 0;
}

.simplebar-offset {
	direction: inherit !important;
	box-sizing: inherit !important;
	resize: none !important;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	padding: 0;
	margin: 0;
	-webkit-overflow-scrolling: touch;
}

.simplebar-content-wrapper {
	direction: inherit;
	box-sizing: border-box !important;
	position: relative;
	display: block;
	height: 100%; /* Required for horizontal native scrollbar to not appear if parent is taller than natural height */
	width: auto;
	max-width: 100%; /* Not required for horizontal scroll to trigger */
	max-height: 100%; /* Needed for vertical scroll to trigger */
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.simplebar-content-wrapper::-webkit-scrollbar,
.simplebar-hide-scrollbar::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.simplebar-content:before,
.simplebar-content:after {
	content: ' ';
	display: table;
}

.simplebar-placeholder {
	max-height: 100%;
	max-width: 100%;
	width: 100%;
	pointer-events: none;
}

.simplebar-height-auto-observer-wrapper {
	box-sizing: inherit !important;
	height: 100%;
	width: 100%;
	max-width: 1px;
	position: relative;
	float: left;
	max-height: 1px;
	overflow: hidden;
	z-index: -1;
	padding: 0;
	margin: 0;
	pointer-events: none;
	flex-grow: inherit;
	flex-shrink: 0;
	flex-basis: 0;
}

.simplebar-height-auto-observer {
	box-sizing: inherit;
	display: block;
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	height: 1000%;
	width: 1000%;
	min-height: 1px;
	min-width: 1px;
	overflow: hidden;
	pointer-events: none;
	z-index: -1;
}

.simplebar-track {
	z-index: 1;
	position: absolute;
	right: 0;
	bottom: 0;
	pointer-events: none;
	overflow: hidden;
}

[data-simplebar].simplebar-dragging .simplebar-content {
	pointer-events: none;
	user-select: none;
	-webkit-user-select: none;
}

[data-simplebar].simplebar-dragging .simplebar-track {
	pointer-events: all;
}

.simplebar-scrollbar {
	position: absolute;
	left: 0;
	right: 0;
	min-height: 10px;
}

.simplebar-scrollbar:before {
	position: absolute;
	content: '';
	background: black;
	border-radius: 7px;
	left: 2px;
	right: 2px;
	opacity: 0;
	transition: opacity 0.2s linear;
}

.simplebar-scrollbar.simplebar-visible:before {
	/* When hovered, remove all transitions from drag handle */
	opacity: 0.5;
	transition: opacity 0s linear;
}

.simplebar-track.simplebar-vertical {
	top: 0;
	width: 11px;
}

.simplebar-track.simplebar-vertical .simplebar-scrollbar:before {
	top: 2px;
	bottom: 2px;
}

.simplebar-track.simplebar-horizontal {
	left: 0;
	height: 11px;
}

.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before {
	height: 100%;
	left: 2px;
	right: 2px;
}

.simplebar-track.simplebar-horizontal .simplebar-scrollbar {
	right: auto;
	left: 0;
	top: 2px;
	height: 7px;
	min-height: 0;
	min-width: 10px;
	width: auto;
}

/* Rtl support */
[data-simplebar-direction='rtl'] .simplebar-track.simplebar-vertical {
	right: auto;
	left: 0;
}

.hs-dummy-scrollbar-size {
	direction: rtl;
	position: fixed;
	opacity: 0;
	visibility: hidden;
	height: 500px;
	width: 500px;
	overflow-y: hidden;
	overflow-x: scroll;
}

.simplebar-hide-scrollbar {
	position: fixed;
	left: 0;
	visibility: hidden;
	overflow-y: scroll;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

/*--------------------------------------------------------------
CO - Grid
--------------------------------------------------------------*/
@media (max-width: 767px) {
	.comment-contentdata {
		padding: 0 1.5rem 0 0;
	}
}

@media (max-width: 389px) {
	.gwalia-lf .col-3,
	.gwalia-lf .col-9 {
		-ms-flex: 100%;
			flex: 0 0 100%;
		max-width: 100%;
	}

	.comment-contentdata {
		padding: 0 1.5rem;
	}
}

@media (min-width: 768px) {
	.gwalia-lf .col-md-2 {
		-ms-flex: 0 0 25%;
			flex: 0 0 25%;
		max-width: 25%;
	}

	.gwalia-lf .col-md-8 {
		-ms-flex: 0 0 75%;
			flex: 0 0 75%;
		max-width: 75%;
	}
}

@media (min-width: 992px) {
	.gwalia-lf .col-lg-1 {
		-ms-flex: 0 0 12.5%;
			flex: 0 0 12.5%;
		max-width: 12.5%;
	}

	.gwalia-lf .col-lg-10 {
		-ms-flex: 0 0 75%;
			flex: 0 0 75%;
		max-width: 75%;
	}
}