.consent-info {
	margin-bottom: 1em;
}

.consent-info h1 {
	font-size: 1.5em;
}

.consent {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	padding: 8px 12px;
	margin-bottom: 10px;

	border-bottom: 1px solid #ccddcc;
	border-right: 1px solid #ccddcc;
	border-radius: 4px;

	background: #f9f9f9;
	color: #222;
}

.consent-buttons {
	-ms-flex-negative: 0;
	flex-shrink: 0;
	-webkit-box-ordinal-group: 3;
	-ms-flex-order: 2;
	order: 2;
}

.consent-text {
	width: 100%;
}

.consent-button {
	display: inline-block;
	margin-left: 12px;
	cursor: pointer;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	outline: 0;
}
.consent-button > div {
	width: 22px;
	height: 22px;
	display: inline-block;

	border-radius: 22px;
	vertical-align: middle;
}

.consent-button > div > span {
	display: none;
	text-align: center;
	line-height: 24px;
	color: white;
	font-size: 14px;
}

.consent-button > span {
	height: 22px;
	margin-left: 6px;

	font-weight: bold;
	vertical-align: middle;
}

.consent-yes,
.consent-no {
	position: relative;
	border: 1px solid #c2c2c2;
	background-color: #fff;
	transition: background-color 0.2s;
}

.consent-yes,
.consent-no {
	box-shadow: 0 0 0 rgba(119, 119, 119, 0.4);
	animation: pulse 1.5s infinite;
}
.consents:hover .consent-yes,
.consents:hover .consent-no,
.consent-given .consent-yes,
.consent-given .consent-no {
	animation: none;
}

.consent-yes:before {
	content: "";
	background-color: #44af44;
	border-radius: 50%;
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	transform: scale(0.001, 0.001);
}

.consent-button:focus .consent-yes:before {
	animation: explode 0.8s ease-out;
}

.consent-yes.consent-active {
	background-color: #44af44;
	border-style: none;
}

.consent-no.consent-active {
	background-color: #000;
	border-style: none;
}

.consent-button .consent-active > span {
	display: block;
}

@-webkit-keyframes explode {
	50% {
		-webkit-transform: scale(2.5, 2.5);
		        transform: scale(2.5, 2.5);
		opacity: 0;
	}
	99% {
		-webkit-transform: scale(0.001, 0.001);
		        transform: scale(0.001, 0.001);
		opacity: 0;
	}
	100% {
		-webkit-transform: scale(0.001, 0.001);
		        transform: scale(0.001, 0.001);
		opacity: 1;
	}
}

@keyframes explode {
	50% {
		-webkit-transform: scale(2.5, 2.5);
		        transform: scale(2.5, 2.5);
		opacity: 0;
	}
	99% {
		-webkit-transform: scale(0.001, 0.001);
		        transform: scale(0.001, 0.001);
		opacity: 0;
	}
	100% {
		-webkit-transform: scale(0.001, 0.001);
		        transform: scale(0.001, 0.001);
		opacity: 1;
	}
}

@-webkit-keyframes pulse {
	0% {
		-webkit-box-shadow: 0 0 0 0 rgba(119, 119, 119, 0.4);
		        box-shadow: 0 0 0 0 rgba(119, 119, 119, 0.4);
	}
	70% {
		-webkit-box-shadow: 0 0 0 10px rgba(119, 119, 119, 0);
		        box-shadow: 0 0 0 10px rgba(119, 119, 119, 0);
	}
	100% {
		-webkit-box-shadow: 0 0 0 0 rgba(119, 119, 119, 0);
		        box-shadow: 0 0 0 0 rgba(119, 119, 119, 0);
	}
}

@keyframes pulse {
	0% {
		-webkit-box-shadow: 0 0 0 0 rgba(119, 119, 119, 0.4);
		        box-shadow: 0 0 0 0 rgba(119, 119, 119, 0.4);
	}
	70% {
		-webkit-box-shadow: 0 0 0 10px rgba(119, 119, 119, 0);
		        box-shadow: 0 0 0 10px rgba(119, 119, 119, 0);
	}
	100% {
		-webkit-box-shadow: 0 0 0 0 rgba(119, 119, 119, 0);
		        box-shadow: 0 0 0 0 rgba(119, 119, 119, 0);
	}
}
