
.affx-rating-box-block, .affx-rating-box-block * {
	box-sizing: border-box;
}

.affx-rating-box-block .affx-rb-block-description ol, .affx-rating-box-block .affx-rb-block-description ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.affx-rating-box-block .affx-rb-block-description ol li, .affx-rating-box-block .affx-rb-block-description ul li {
	line-height: 1.5;
	margin-bottom: 0;
	position: relative;
}

.affx-rating-box-block .affx-rb-block-description ol li:not(:last-child), .affx-rating-box-block .affx-rb-block-description ul li:not(:last-child) {
	margin-bottom: 10px;
}

.affx-rating-box-block .affx-rb-block-description ol li i, .affx-rating-box-block .affx-rb-block-description ol li:before, .affx-rating-box-block .affx-rb-block-description ul li i, .affx-rating-box-block .affx-rb-block-description ul li:before {
	color: #24b644;
}

.affx-rating-box-block .affx-rb-wrapper {
	width: 100%;
}

.affx-rating-box-block .affx-rb-inner {
	background: transparent;
	padding: 30px;
}

.affx-rating-box-block .affx-rb-header {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 20px;
}

.affx-rating-box-block .affx-rb-score-section {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	flex-shrink: 0;
}

.affx-rating-box-block .affx-rb-score-box {
	border-radius: 5px;
	color: #fff;
	font-size: 36px;
	font-weight: 700;
	padding: 10px 20px;
	text-align: center;
}

.affx-rating-box-block .affx-rb-score-text {
	color: #fff;
	font-size: 14px;
}

.affx-rating-box-block .affx-rb-stars {
	color: #ffb800;
	font-size: 24px;
}

.affx-rating-box-block .affx-rb-title-section {
	flex: 1;
	flex-grow: 1;
}

.affx-rating-box-block .affx-rb-block-title {
	color: #060c0e;
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 10px;
}

.affx-rating-box-block .affx-rb-block-description {
	color: #666;
	font-size: 15px;
}

.affx-rating-box-block .affx-rb-block-description .affiliatex-content {
	margin: 0;
}

.affx-rating-box-block .affx-rb-block-description p {
	line-height: 1.5;
}

.affx-rating-box-block .affx-rb-block-description ol {
	counter-reset: order-list;
}

.affx-rating-box-block .affx-rb-block-description ol li {
	counter-increment: order-list;
}

.affx-rating-box-block .affx-rb-block-description ol li:not(:last-child) {
	margin-bottom: 21px;
}

.affx-rating-box-block .affx-rb-block-description ol li:before {
	border: 1px solid;
	border-radius: 50%;
	content: counter(order-list);
	display: inline-block;
	font-family: inherit;
	height: 1.6em;
	line-height: 1.6;
	margin-right: 10px;
	min-height: 1.6em;
	min-width: 1.6em;
	text-align: center;
	width: 1.6em;
}

.affx-rating-box-block .affx-rb-divider {
	height: 1px;
	margin: 20px 0;
}

.affx-rating-box-block .affx-rb-features-section .affx-rb-rating-item {
	margin-bottom: 15px;
}

.affx-rating-box-block .affx-rb-features-section .affx-rb-rating-item:last-child {
	margin-bottom: 0;
}

.affx-rating-box-block .affx-rb-features-section .affx-rb-item-header {
	align-items: flex-start;
	display: flex;
	justify-content: space-between;
	width: 100%;
}

.affx-rating-box-block .affx-rb-features-section .affx-rb-item-remove-btn {
	position: absolute;
	right: -10px;
	top: 50%;
	transform: translateY(-50%);
}

.affx-rating-box-block .affx-rb-features-section .affx-add-new-item-btn {
	margin: 10px auto;
}

.affx-rating-box-block .affx-rb-rating-item {
	padding-right: 0;
}

.affx-rating-box-block .affx-rb-rating-item-name {
	color: #060c0e;
	flex: 1;
	font-size: 16px;
	font-weight: 700;
}

.affx-rating-box-block .affx-rb-rating-item-score {
	color: #060c0e;
	font-size: 14px;
	font-weight: 700;
	margin-left: 10px;
}

.affx-rating-box-block .affx-rb-bar-container {
	align-items: center;
	display: flex;
	width: 100%;
}

.affx-rating-box-block .affx-rb-bar-fill {
	background-color: #24b644;
	border-radius: 5px;
	height: 100%;
	transition: width .3s ease;
}

.affx-rating-box-block .affx-rb-bar {
	background-color: #e0e0e0;
	border-radius: 5px;
	height: 10px;
	overflow: hidden;
	width: 100%;
}

.affx-rating-box-block .affx-rb-green-box {
	background-color: #4caf50;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 90px;
	min-width: 102px;
	padding: 20px;
}

.affx-rating-box-block .affx-rb-green-box .score-label {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}

.affx-rating-box-block .affx-rb-percentage-input {
	background-color: hsla(0, 0%, 100%, .66);
	border: 1px solid #ccc;
	border-radius: 8px;
	display: inline-block;
	left: 50%;
	overflow: hidden;
	position: absolute;
	top: -5px;
	transform: translateX(-50%);
}

.affx-rating-box-block .affx-rb-percentage-input input {
	-moz-appearance: textfield;
	background: transparent;
	border: none;
	border-radius: 8px 0 0 8px;
	font-size: 14px;
	line-height: 1.4;
	padding: 2px 2px 2px 5px;
	text-align: right;
	width: 30px;
}

.affx-rating-box-block .affx-rb-percentage-input input::-webkit-inner-spin-button, .affx-rating-box-block .affx-rb-percentage-input input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.affx-rating-box-block .affx-rb-percentage-input input:focus {
	border: none;
	box-shadow: none;
	outline: none;
}

.affx-rating-box-block .affx-rb-percentage-input:after {
	background-color: transparent;
	color: #626262;
	content: "%";
	display: inline-block;
	font-size: 14px;
	line-height: 1.4;
	padding: 2px 5px 2px 0;
}

.affx-rating-box-block .affx-rb-rating-item {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 15px;
	padding-right: 40px;
	position: relative;
}

.affx-rating-box-block .affx-rating-number {
	box-sizing: border-box;
	color: #fff;
	display: flex;
	flex-direction: column;
	max-width: 100%;
	overflow: hidden;
}

.affx-rating-box-block .affx-rating-number .num {
	align-items: center;
	display: flex;
	flex: 1;
	font-size: 36px;
	font-weight: 700;
	justify-content: center;
	line-height: 1;
	padding: 20px 0;
	text-align: center;
	width: 100%;
}

.affx-rating-box-block .affx-rating-number .label {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	font-size: 14px;
	justify-content: center;
	line-height: 1;
	padding: 5px 0;
	position: relative;
	text-align: center;
	width: 100%;
}

.affx-rating-box-block .affx-rating-number .label:before {
	border-bottom-style: solid;
	border-bottom-width: 5px;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	content: "";
	left: 50%;
	position: absolute;
	transform: translate(-50%);
}

.affx-rating-box-block .affx-rating-align-left .affx-rb-score-section {
	margin-left: 0;
	margin-right: 20px;
	order: 0;
}

.affx-rating-box-block .affx-rating-align-right .affx-rb-score-section {
	margin-left: 20px;
	margin-right: 0;
	order: 1;
}

@media (max-width:767px) {
	.affx-rating-box-block .affx-rb-inner {
		padding: 20px;
	}
	
	.affx-rating-box-block .affx-rb-header {
		flex-direction: column;
	}
	
	.affx-rating-box-block .affx-rb-score-section {
		margin-right: 0;
	}
	
	.affx-rating-box-block .affx-rb-score-box {
		font-size: 30px;
	}
	
	.affx-rating-box-block .affx-rb-block-title {
		font-size: 20px;
	}
	
	.affx-rating-box-block .affx-rb-block-description {
		font-size: 14px;
	}
	
	.affx-rating-box-block .affx-rb-rating-item-name, .affx-rating-box-block .affx-rb-rating-item-score {
		font-size: 16px;
	}
}

.wp-block-affiliatex-rating-box .block-editor-block-list__layout {
	margin: 0;
}
