.bethistory {
	padding: 8px 14px;
	border-radius: 3px;
}

.bethistory h1 {
	color: #fff;
}

.bethistory-block-wrapper {
	margin: 10px 0;
	position: relative;
}


.bethistory-block-summary {
	display: flex;
	position: relative;
	flex-direction: row;
	border-radius: 3px;
	overflow: hidden;
	transition-duration: 0.5s;
}

.bethistory-block-summary-status {
	position: absolute;
	left:0;
	width: 3px;
	height: 100%;
}
body[dir='rtl'] .bethistory-block-summary-status {
	left: unset;
	right: 0;
}
.bethistory-block-summary-status-lost { background: #E03232; }
.bethistory-block-summary-status-won { background: #76E032; }

.bethistory-block-bet {
	position: relative;
	margin: 1px 0;
	border-radius: 3px;
}

.bethistory-block-chain-button-new {
	padding: 0.25rem 0.875rem;
	background-color: #006eb4;
	color: #fff;
	border-radius: 3px;
	font-size: 0.75rem;
	cursor: pointer;
}

.bethistory-block-chain-wrapper {
	display: none;
	margin-top: 10px;
	padding: 0.5em 0.875em;
	border-radius: 3px;
}

.bethistory-block-chain-button-create {
	display: block;
	border: none;
	outline: none;
	position: relative;
	margin: 0 auto;
	max-width: 200px;
	padding: 0.5em 2em;
	background-color: #ffa500;
	color: #000;
	border-radius: 3px;
	font-size: 0.75rem;
	cursor: pointer;
}

.bethistory-block-chain-description {
	color: #fff;
	font-size: 0.75em;
	line-height: 1.5;
}

.bethistory-block-chain {
	padding: 5px 12px;
	background-color: #006eb4;
}

.bethistory-block-chain-indicator {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #fff;
	background: #006eb4;
	padding: 0.12rem 0.45rem;
	border-radius: 12px;
	font-size: 0.75em;
	font-weight: 600;
}
.bethistory-block-chain-indicator-hint {
	width: 0;
	overflow: hidden;
	flex: 1 1 auto;
	white-space: nowrap;
}

.bethistory-block-chain-indicator:hover > .bethistory-block-chain-indicator-hint{
	width: 100%;
}

.bethistory-block-chain { position: relative; display: none; }
.bethistory-block-chain-checkbox { position: relative; cursor: pointer; }
.bethistory-block-chain-checkbox input {
	position: absolute;
	z-index: -1;
	opacity: 0;
}
.bethistory-block-chain-checkbox-indicator {
	position: relative;
	height: 20px;
	width: 20px;
	background: #e6e6e6;
	border-radius: 3px;
	border: 1px solid #5a5d82;
}

.bethistory-block-chain-checkbox:hover input ~ .bethistory-block-chain-checkbox-indicator,
.bethistory-block-chain-checkbox input:focus ~ .bethistory-block-chain-checkbox-indicator {
  border-color: #000;
}
.bethistory-block-chain-checkbox input:checked ~ .bethistory-block-chain-checkbox-indicator {
  background: #fff;
}

.bethistory-block-chain-checkbox-indicator:after {
  content: '';
  position: absolute;
  display: none;
}
.bethistory-block-chain-checkbox input:checked ~ .bethistory-block-chain-checkbox-indicator:after {
  display: block;
}
.bethistory-block-chain-checkbox .bethistory-block-chain-checkbox-indicator:after {
  left: 8px;
  top: 4px;
  width: 3px;
  height: 8px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.js-user-bets-history-block-chain .bethistory-block-chain { display: flex; align-items: center; }
.js-user-bets-history-block-in-chain .bethistory-block-summary { background-color: #006eb4; }
.js-user-bets-history-block-in-chain .user-bets-history-slip-id { color: #ffa500; }


.bethistory-block-bet-main-wrapper {
	display: flex;
	position: relative;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	font-size: 0.875em;
	overflow: hidden;
}

.bethistory-block-bet-main-status { 
	position: absolute;
	left: -5px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
}
body[dir='rtl'] .bethistory-block-bet-main-status { 
	left: unset;
	right: -5px;
}
.bethistory-block-bet-main-status-lost { background: #E03232; }
.bethistory-block-bet-main-status-won { background: #76E032; }

.bethistory-block-summary-info {
	display: flex;
	flex-direction: column;
}

.bethistory-block-summary-slip-wrapper {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.bethistory-block-summary-slip-info {
	display: flex;
	flex: 1 1 auto;
}

.bethistory-block-summary-slip-type-wrapper {
	display: flex;
}

.bethistory-block-summary-slip-id,
.bethistory-block-summary-date {
	padding: 0.1875em 0.875em;
}

.bethistory-block-summary-slip-id {
	/* color: #9CA8E6; */
	color: #A4C2EA;
}

.bethistory-block-summary-date {
	color: #cecece;
}

.bethistory-block-summary-type {
	color: #cecece;
	padding: 0.1875em 0.875em;
	text-transform: uppercase;
}

.bethistory-block-summary-amount {
	
}

.bethistory-block-summary-amount-prize,
.bethistory-block-summary-amount,
.bethistory-block-summary-amount-won,
.bethistory-block-summary-amount-lost,
.bethistory-block-summary-amount-inplay {
	padding: 0.3125em 0.875rem;
	font-weight: 600;
	color: #c2c2c2;
}


.bethistory-block-summary-slip-result {
	display: flex;
	flex-direction: column;
	text-align: right;
}

.bethistory-block-summary-amount-prize,
.bethistory-block-summary-amount-inplay { font-size: 0.875em;}
.bethistory-block-summary-amount { font-size: 0.625em;}

.bethistory-block-icons {
	display: flex;
	flex-direction: row;
	margin: 0 0.5em;
}

.bethistory-block-icon-oneclick, .bethistory-block-icon-buyback, .bethistory-block-icon-freebet, .bethistory-block-icon-bonusbet { padding: 0.125em 0.875em; border-radius: 3px; font-size: 0.625em; margin: 0 0.25em; }
.bethistory-block-icon-oneclick { background-color: #ffa500; color: #000; }
.bethistory-block-icon-buyback { background-color: #964C47; color: #fff; }
.bethistory-block-icon-freebet { background-color: #739647; color: #fff; }
.bethistory-block-icon-bonusbet { background-color: #ffa500; color: #000; }


.bethistory-block-bet-info {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
}

.bethistory-block-bet-info:hover .bethistory-block-bet-info-caption {
	color: #ffa500;
}

.bethistory-block-bet-info-teams {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	flex: 0 0 12em;
}

.bethistory-block-bet-info-team {
	color: #c2c2c2;
	padding: 0.3125em 0.875em;
	font-weight: 400;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

.bethistory-block-bet-info-variant {
	color: #c2c2c2;
	padding: 0.3125em 0.875em;
}

.bethistory-block-bet-info-outcome {
	color: #fff;
	font-weight: 400;
	padding: 0.3125em 0.875em;
}

.bethistory-block-bet-info-league {
	color: #c2c2c2;
	padding: 0.1875em 0.875em;
}

.bethistory-block-status {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	padding: 0 0.875em; 
}

.bethistory-block-bet-info-results {
	display: flex;
	flex-direction: column;
	flex: 0 0 5em;
}

.bethistory-block-bet-info-result {
	padding: 0.3125em 0.875em;
	font-weight: 600;
	font-size: 0.875em;
}

.bethistory-block-bet-info-result-single {
	padding: 0px 0.875rem;
	font-size: 0.875rem;
	font-weight: 400;
}

.bethistory-block-bet-info-result-won,
.bethistory-block-bet-info-result-lost,
.bethistory-block-bet-info-result-refund {
	color: #fff;
}

.bethistory-block-bet-info-result-inplay {
	animation: ani-result-inplay 2s ease-in-out infinite;
}
@keyframes ani-result-inplay {
	0% { color: #484961; }
	50% { color: #fff; }
	100% { color: #484961; }
}

.bethistory-block-status-odds {
	color: #FCCE78;
}

.bethistory-block-status-time {
	color: #cecece;
	white-space: nowrap;
	padding: 0.1875em 0.875em;
}

.bethistory-block-status-odds {
	color: #cecece;
	padding: 0.1875em 0.875em;
}

.bethistory-block-status-odds span {
	color: #FCCE78;
	font-weight: 400;
	font-size: 0.875em;
}


.js-user-bets-history-block-disabled { display: none; position: absolute; width: 100%; background-color: #000; height: 100%; z-index: 2; opacity: 0.8; border-radius: 3px; transition: 0.25s; opacity: 0; }
.js-user-bets-history-block-disabled div { color: #ed8600; font-size: 1.2em; }
.js-user-bets-history-block-disabled-active { display: flex; justify-content: center; align-items: center; opacity: 0.5; cursor: not-allowed; }


.user-filters-wrapper { border-radius: 3px; }
.user-filters-header { display: flex;	justify-content: flex-end; align-items: center; color: #9494c6; }

.user-filters-item {
	font-size: 0.875em;
	color: #9494c6;
	border-bottom: 1px dashed #9494c6;
	cursor: pointer;
	margin: 0 0.875em;
}

.user-filters-item:hover {
	color: #ffa500;
	border-bottom: 1px dashed #ffa500;
}

.user-filters-select-date,
.user-filters-select-type {
	border: 0;
	font-size: 0.875em;
	margin: 0 5px;
	-webkit-appearance:none;
	box-sizing: border-box;
	color: #9494c6;
	cursor: pointer;
	outline: none;
}

.user-filters-select-date {
	background: url('../images/icons/icon-expand-filters.svg');
	background-repeat: no-repeat;
	background-size: 0.85em;
	background-position:  right 0px center;
	width: 6em;
	padding-right: 15px;
}

.user-filters-select-type {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: url('../images/icons/icon-expand-filters.svg');
	background-repeat: no-repeat;
	background-size: 0.85em;
	background-position: right 0px center;
	padding: 0 0.85em;
}

.user-filters-select-type::-ms-expand {
		display: none;
}

body[dir='rtl'] .user-filters-select-type {
	background-position: left 0px center;
}

.user-filters-select-type option {
	background: #000;
	color: #fff;
	border-radius: 3px;
	border-color: #000;
}

.user-filters-button {
	background-color: transparent;
	border-radius: 3px;
	margin: 0 0 0 0.875em;
	border: 1px solid #9494c6;
	color: #9494c6;
	text-align: center;
	text-transform: uppercase;
	padding: 0 1.2em;
	font-size: 0.85em;
	cursor: pointer;
}
.user-filters-button:hover {
	color: #ffa500;
	border: 1px solid #ffa500;
	transition: 0.5s;
}

.js-user-filters-preset-button-active {
	color: #ffa500;
}

.js-user-filters-preset-button {
	cursor: pointer;
}

.bethistory-block-icon {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	margin: 0 0.25em 0 1.375em;
}
body[dir='rtl'] .bethistory-block-icon {
	margin: 0 1.375em 0 0.25em;
}

.bethistory-block-show-details,
.bethistory-block-hide-details {
	width: 16px;
	height: 16px;
	background: url('../images/icons/icon-expand-mini.svg');
	background-size: 16px 16px;
	background-repeat: no-repeat;
	background-position: 50%;
	cursor: pointer;
	transition: 0.25s;
	padding: 5px;
	border-radius: 3px;
}

.bethistory-block-show-details {
	transform: rotate(-90deg);
}
body[dir='rtl'] .bethistory-block-show-details {
	transform: rotate(90deg);
}
.bethistory-block-hide-details {
	transform: rotate(90deg);
}
body[dir='rtl'] .bethistory-block-hide-details {
	transform: rotate(-90deg);
}

.bethistory-block-show-details:hover,
.bethistory-block-hide-details:hover {
	border-radius: 3px;
}

.bethistory-block-bet-details-wrapper {
	position: absolute;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	display: none;
	transition: 0.5s;
}
.bethistory-block-bet-details-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.bethistory-block-bet-details-info span {
	display: inline-block;
	color: #c8caf2;
}

.bethistory-block-bet-details-wrapper-toggle {
	display: flex;
	position: absolute;
	top: 0; 
	left: 0;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	border-radius: 3px;
}

.bethistory-block-bet-result-wrapper {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex: 1 1 auto;
}

.bethistory-block-bet-info-variant-wrapper,
.bethistory-block-bet-info-outcome-wrapper,
.bethistory-block-bet-info-odds-wrapper {
	display: flex;
	flex-direction: column;
}

.bethistory-block-bet-info-variant-wrapper { flex: 1 0 5rem; }
.bethistory-block-bet-info-outcome-wrapper { flex: 1 0 8rem; }
.bethistory-block-bet-info-odds-wrapper { flex: 0 0 4rem; }

.bethistory-block-bet-info-caption {
	text-transform: uppercase;
	padding: 0.3125em 0.875em;
}