/** Checkbox/Radio Card Selection */
/* https://codepen.io/iamsaief/pen/eYNZzmY?editors=0110 */
/* Saief Al Emon */
/* ******************* Selection Radio Item */

.selected-content{
  text-align: center;
  border-radius: 3px;
  box-shadow: 0 2px 4px 0 rgba(219, 215, 215, 0);
  border: solid 3px transparent;
  background: #fff;
  padding: 15px;
  display: grid;
  grid-gap: 15px;
  place-content: center;
  transition: .3s ease-in-out all;
}

.selected-content img {
  width: 230px;
  margin: 0 auto;
}
.selected-content h4 {
  font-size: 16px;
  letter-spacing: -0.24px;
  text-align: center;
  color: #1f2949;
}
.selected-content h5 {
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  color: #686d73;
}

.selected-label{
  position: relative;
  display: inline;
  cursor: pointer;
}
.selected-label input{
  display: none;
}
.selected-label .icon{
  width: 20px;
  height: 20px;
  border: solid 2px #e3e3e3;
  border-radius: 50%;
  position: absolute;
  top: 15px;
  left: 15px;
  transition: .3s ease-in-out all;
  transform: scale(1);
  z-index: 1;
}
.selected-label .icon:before{
  content: "\f00c";
  position: absolute;
  width: 100%;
  height: 100%;
  font: normal normal normal 14px/1 FontAwesome;
  font-weight: 700;
  color: #000;
  text-align: center;
  opacity: 0;
  transition: .2s ease-in-out all;
  transform: scale(2);
}
.selected-label input:checked + .icon{
  background: #000;
  border-color: #000;
  transform: scale(1.2);
}
.selected-label input:checked + .icon:before{
  color: #fff;
  opacity: 1;
  transform: scale(.8);
}
.selected-label input:checked ~ .selected-content{
  box-shadow: 0 2px 4px 0 rgba(219, 215, 215, 0.5);
  border: solid 3px #000;
}
.selected-label input:checked ~ .selected-content h4{
  font-weight: bolder;
}