/*
Link: https://kyusuf.com/post/completely-css-custom-checkbox-radio-buttons-and-select-boxes
*/

.select {
	position: relative;
	display: inline-block;
	width: 100%;
	margin-top: 10px;
	margin-bottom:  20px;
}
.select select {
	display: inline-block;
	width: 100%;
	padding: 10px 5px;
	cursor: pointer;
	color: #777;
	border: 0;
	border-radius: 0;
	outline: 0;
	background: #f7f7f7;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}
.select select::-ms-expand { display: none; }
.select select:hover,
.select select:focus { color: #333; background: #eee; }
.select__arrow {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 0;
	height: 0;
	pointer-events: none;
	border-width: 10px 7px 0 7px;
	border-style: solid;
	border-color: #7b7b7b transparent transparent transparent;
}
.select select:hover ~ .select__arrow,
.select select:focus ~ .select__arrow { border-top-color: #000; }
.select.keep-inline { display: inline; }
.select.keep-inline select { width: 70px; margin-top: 10px; margin-bottom: 30px; }
.select__arrow.keep-inline { top: 5px; right: 10px; }

/*
Link: http://www.cssscript.com/google-material-design-animated-radio-buttons-with-pure-css3/
*/

@-webkit-keyframes 
cardEnter {  0%, 20%, 40%, 60%, 80%, 100% {
	-webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
 0% {
	opacity: 0;
	-webkit-transform: scale3d(0.3, 0.3, 0.3);
}
 20% {
	-webkit-transform: scale3d(1.1, 1.1, 1.1);
}
 40% {
	-webkit-transform: scale3d(0.9, 0.9, 0.9);
}
 60% {
	opacity: 1;
	-webkit-transform: scale3d(1.03, 1.03, 1.03);
}
 80% {
	-webkit-transform: scale3d(0.97, 0.97, 0.97);
}
 100% {
	opacity: 1;
	-webkit-transform: scale3d(1, 1, 1);
}
}
@keyframes 
cardEnter {  0%, 20%, 40%, 60%, 80%, 100% {
	-webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
 0% {
	opacity: 0;
	-webkit-transform: scale3d(0.3, 0.3, 0.3);
	transform: scale3d(0.3, 0.3, 0.3);
}
 20% {
	-webkit-transform: scale3d(1.1, 1.1, 1.1);
	transform: scale3d(1.1, 1.1, 1.1);
}
 40% {
	-webkit-transform: scale3d(0.9, 0.9, 0.9);
	transform: scale3d(0.9, 0.9, 0.9);
}
 60% {
	opacity: 1;
	-webkit-transform: scale3d(1.03, 1.03, 1.03);
	transform: scale3d(1.03, 1.03, 1.03);
}
 80% {
	-webkit-transform: scale3d(0.97, 0.97, 0.97);
	transform: scale3d(0.97, 0.97, 0.97);
}
 100% {
	opacity: 1;
	-webkit-transform: scale3d(1, 1, 1);
	transform: scale3d(1, 1, 1);
}
}

.radio {
	display: inline-block;
	padding-bottom: 5px;
	cursor: pointer;
}
.radio:hover .inner {
	-webkit-transform: scale(0.5);
	-ms-transform: scale(0.5);
	transform: scale(0.5);
	opacity: .5;
}
.radio input {
	width: 10px;
	height: 1px;
	opacity: 0;
}
.radio input:checked + .outer .inner {
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}
.radio input:checked + .outer { border: 3px solid #e45d01; }
.radio input:focus + .outer .inner {
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
	background-color: #fd6701;
}
.radio .outer {
	display: block;
	float: left;
	margin: 0 0 10px 0;
	border: 3px solid #ccc;
	border-radius: 50%;
	background-color: #fff;
}
.radio .inner {
	-webkit-transition: all 0.25s ease-in-out;
	transition: all 0.25s ease-in-out;
	width: 16px;
	height: 16px;
	-webkit-transform: scale(0);
	-ms-transform: scale(0);
	transform: scale(0);
	display: block;
	margin: 2px;
	border-radius: 50%;
	background-color: #e45d01;
	opacity: 0;
}
