.b-mail-switch {
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.b-mail-switch__input {
  font: 20px/1.5em "Helvetica Neue", Arial, sans-serif;
  position: relative;
  z-index: 1;
  display: inline-block;
  background: -webkit-gradient(linear, left top, right top, color-stop(0.5, #3290de), color-stop(0.5, #acacac));
  background: -webkit-linear-gradient(left, #3290de 50%, #acacac 50%);
  background: -moz-linear-gradient(left, #3290de 50%, #acacac 50%);
  background: -o-linear-gradient(left, #3290de 50%, #acacac 50%);
  background: -ms-linear-gradient(left, #3290de 50%, #acacac 50%);
  background: linear-gradient(left, #3290de 50%, #acacac 50%);
  -webkit-background-size: 200% 100%;
  -moz-background-size: 200% 100%;
  background-size: 200% 100%;
  text-align: center;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  height: 1.5em;
  padding: 0 0.8999999999999999em;
  vertical-align: top;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.75);
  -webkit-transition: background-position 0.3s;
  -moz-transition: background-position 0.3s;
  -o-transition: background-position 0.3s;
  -ms-transition: background-position 0.3s;
  transition: background-position 0.3s;
}
.b-mail-switch__input:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-box-shadow: inset 0 2px 6px rgba(0,0,0,0.5);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.5);
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
.b-mail-switch__inner {
  display: block;
  position: relative;
  left: 0%;
  height: 100%;
  -webkit-transition: left 0.3s;
  -moz-transition: left 0.3s;
  -o-transition: left 0.3s;
  -ms-transition: left 0.3s;
  transition: left 0.3s;
}
.b-mail-switch__checkbox:checked + .b-mail-switch__input {
  background-position: 100% 0;
}
.b-mail-switch__checkbox:checked + .b-mail-switch__input > .b-mail-switch__inner {
  left: -100%;
}
.b-mail-switch__state {
  position: relative;
  display: block;
  height: 100%;
  max-width: 100%;
}
.b-mail-switch__state_left {
  padding-right: 1.7999999999999998em;
}
.b-mail-switch__state_right {
  top: -100%;
  left: 100%;
  padding-left: 1.7999999999999998em;
}
.b-mail-switch__state_left:empty:before {
  content: "";
  display: inline-block;
  height: 0.7em;
  border-left: 0.1em solid;
  -webkit-box-shadow: 0 -1px 0 rgba(0,0,0,0.5);
  box-shadow: 0 -1px 0 rgba(0,0,0,0.5);
}
.b-mail-switch__state_right:empty:before {
  content: "";
  display: inline-block;
  height: 0.5em;
  width: 0.5em;
  border: 0.1em solid;
  margin: 0 -0.35em;
  -webkit-box-shadow: 0 -1px 0 rgba(0,0,0,0.5);
  box-shadow: 0 -1px 0 rgba(0,0,0,0.5);
  -webkit-border-radius: 50%;
  border-radius: 50%;
}
.b-mail-switch__inner:after {
  content: "";
  position: absolute;
  z-index: 9;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 1.7999999999999998em;
  margin: 0 0 0 -0.8999999999999999em;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fdfdfd), color-stop(1, #e8e8e8));
  background: -webkit-linear-gradient(top, #fdfdfd 0%, #e8e8e8 100%);
  background: -moz-linear-gradient(top, #fdfdfd 0%, #e8e8e8 100%);
  background: -o-linear-gradient(top, #fdfdfd 0%, #e8e8e8 100%);
  background: -ms-linear-gradient(top, #fdfdfd 0%, #e8e8e8 100%);
  background: linear-gradient(top, #fdfdfd 0%, #e8e8e8 100%);
  -webkit-box-shadow: inset 0 0 0 1px #606060, -5px 0 5px -3px rgba(0,0,0,0.2), 5px 0 5px -3px rgba(0,0,0,0.2);
  box-shadow: inset 0 0 0 1px #606060, -5px 0 5px -3px rgba(0,0,0,0.2), 5px 0 5px -3px rgba(0,0,0,0.2);
}
.b-mail-switch__checkbox {
  position: absolute;
  visibility: hidden;
}
.fork {
  position: absolute;
  top: 0;
  right: 0;
}
.fork__link {
  display: block;
  padding: 10px 40px;
  margin: 2em -3em 0 0;
  font: bold 16px/1 Helvetica, Arial, sans-serif;
  text-decoration: none;
  color: #fff;
  background: #f40b00;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: background 0.3s;
  -moz-transition: background 0.3s;
  -o-transition: background 0.3s;
  -ms-transition: background 0.3s;
  transition: background 0.3s;
}
A.fork__link:hover {
  background: #0b00f4;
}
