/* Sourced from http://codepen.io/CreativeJuiz/pen/BiHzp */
.custom-form {
  /* Base for label styling */
  /* checkbox aspect */
  /* checked mark aspect */
  /* checked mark aspect changes */
  /* Tweak to keep borders on selected items */
  /* hover style just for information */
  /* disabled checkbox */ }
  .custom-form label {
    /* Prevents text selection */
    color: #7e8192;
    transition: color 100ms;
    /* Label adjustment */ }
    .custom-form label:before {
      margin-top: -4px; }
    .custom-form label:hover {
      color: white; }
    .custom-form label:before {
      margin-top: 3px; }
  .custom-form [type="checkbox"]:not(:checked),
  .custom-form [type="checkbox"]:checked {
    position: absolute;
    left: -9999px; }
  .custom-form [type="checkbox"]:not(:checked) + label,
  .custom-form [type="checkbox"]:checked + label {
    position: relative;
    padding-left: 28px;
    cursor: pointer; }
  .custom-form [type="checkbox"]:not(:checked) + label:before,
  .custom-form [type="checkbox"]:checked + label:before {
    content: '';
    position: absolute;
    left: 0px;
    top: -5px;
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid #7e8192;
    background: transparent;
    border-radius: 0; }
  .custom-form [type="checkbox"]:not(:checked) + label:after,
  .custom-form [type="checkbox"]:checked + label:after {
    content: url(../images/checkmark.svg);
    position: absolute;
    top: -7px;
    left: 7px;
    margin: 0;
    transition: transform 100ms; }
  .custom-form [type="checkbox"]:not(:checked) + label:after {
    opacity: 0; }
  .custom-form [type="checkbox"]:checked + label:after {
    opacity: 1;
    transform: scale(1.2); }
  .custom-form [type="checkbox"]:checked:not(:hover) + label:before {
    border: 1px solid #066AC3 !important; }
  .custom-form [type="checkbox"]:checked:focus + label,
  .custom-form [type="checkbox"]:checked:not(:focus) + label {
    color: #ffffff; }
  .custom-form [type="checkbox"]:not(:disabled) + label:hover:before {
    border: 1px solid #066AC3 !important; }
  .custom-form .ps-container:hover .ps-scrollbar-y-rail {
    opacity: 1; }
  .custom-form .ps-container:hover .ps-scrollbar-y {
    background: #008cff; }
  .custom-form [type="checkbox"]:disabled + label:before,
  .custom-form [type="checkbox"]:disabled:hover + label:before {
    box-shadow: none;
    background-color: #0D122B;
    border-color: rgba(126, 129, 146, 0.5); }
  .custom-form [type="checkbox"]:disabled + label {
    color: rgba(126, 129, 146, 0.5); }
  .custom-form .noselect, .custom-form label {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Chrome/Safari/Opera */
    -khtml-user-select: none;
    /* Konqueror */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE/Edge */
    user-select: none;
    /* non-prefixed version, currently
       not supported by any browser */ }
