/* In order to use this import, make sure you have the bourbon setting on "true" in
 * gulpfile.js/theming.config.js
 * @import "bourbon";
 */
/* In order to use this import, make sure you have the bourbonneat setting on "true" in
 * gulpfile.js/theming.config.js
 * @import "neat";
 */
/* In order to use this import, make sure you have the breakpoint setting on "true" in
 * gulpfile.js/theming.config.js
 * @import "breakpoint";
 */
/* Animation definitions */
.form-checkboxes .form-item {
  margin-bottom: 0.5rem;
}

.form-checkboxes .form-item:last-child {
  margin-bottom: 0;
}

.form-item--checkbox {
  margin-bottom: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: left;
}

.form-item--checkbox .form-item__label {
  -webkit-box-ordinal-group: 1;
  -ms-flex-order: 0;
  order: 0;
  margin-bottom: 0;
}

.form-item--checkbox label.error {
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
}

.form-item--checkbox .description {
  -webkit-box-ordinal-group: 5;
  -ms-flex-order: 4;
  order: 4;
}

input[type="checkbox"] {
  position: absolute;
  width: 18px;
  height: 18px;
  opacity: 0;
}

input[type="checkbox"] ~ .form-item__label label {
  position: relative;
  min-height: 20px;
  margin-bottom: 0;
  padding-left: 32px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  cursor: pointer;
}

input[type="checkbox"] ~ .form-item__label .label-text {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  margin: auto 0;
  position: relative;
  top: -1px;
  font-size: 21px;
  line-height: 20px;
  font-weight: normal;
}

@media (min-width: 500px) {
  input[type="checkbox"] ~ .form-item__label .label-text {
    padding-right: 30px;
  }
}

@media (min-width: 800px) {
  input[type="checkbox"] ~ .form-item__label .label-text {
    padding-right: 70px;
  }
}

input[type="checkbox"] ~ .form-item__label .label-date {
  font-weight: lighter;
  margin-right: -90px;
}

input[type="checkbox"] ~ .form-item__label .label-date:before {
  content: ' - ';
}

@media (min-width: 500px) {
  input[type="checkbox"] ~ .form-item__label .label-date {
    float: right;
  }
  input[type="checkbox"] ~ .form-item__label .label-date:before {
    content: none;
  }
}

input[type="checkbox"] ~ .form-item__label .label-helper {
  content: '';
  display: inline-block;
  height: 18px;
  width: 18px;
  border: 1px solid #D8D8D8;
  margin-right: 10px;
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
  background-size: 80%;
  background-position: top right 2px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #FFF;
  background-image: url("/themes/custom/compony/components/form-item/form-item--checkbox/dist/check.svg");
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 4px;
  background-size: 13px;
}

.form-item--error input[type="checkbox"] ~ .form-item__label .label-helper {
  border-color: red;
}

input[type="checkbox"] ~ .form-item__label .switcher-helper {
  position: absolute;
  top: 50%;
  right: 0;
  width: 56px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  opacity: 1;
}

input[type="checkbox"] ~ .form-item__label .switcher-helper:before, input[type="checkbox"] ~ .form-item__label .switcher-helper:after {
  content: "";
  position: absolute;
  margin: 0;
  outline: 0;
  overflow: hidden;
  top: 50%;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

input[type="checkbox"] ~ .form-item__label .switcher-helper:before {
  left: 1px;
  width: 58px;
  height: 25px;
  background-color: #DEDEDE;
  border-radius: 18px;
  box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, 0.5);
}

input[type="checkbox"] ~ .form-item__label .switcher-helper:after {
  left: 0;
  width: 25px;
  height: 25px;
  background-color: #464646;
  border-radius: 50%;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084);
}

input[type="checkbox"] ~ .form-item__label--switcher {
  margin-right: 0;
}

input[type="checkbox"] ~ .form-item__label--switcher label {
  padding-right: 58px;
  padding-left: 0;
}

input[type="checkbox"]:disabled ~ .form-item__label .label-helper {
  background-color: #CCC;
}

input[type="checkbox"]:disabled ~ .form-item__label--switcher .switcher-helper:after {
  background-color: #CCC;
}

input[type="checkbox"]:disabled:checked ~ .form-item__label .label-helper {
  opacity: 0.6;
}

input[type="checkbox"]:disabled:checked ~ .form-item__label--switcher .switcher-helper {
  opacity: 0.6;
}

input[type="checkbox"]:hover ~ .form-item__label .label-helper, input[type="checkbox"]:focus ~ .form-item__label .label-helper {
  border-color: #BBB;
}

input[type="checkbox"]:checked ~ .form-item__label .label-helper {
  background-color: #084975;
}

input[type="checkbox"]:checked ~ .form-item__label--switcher .switcher-helper:before {
  background-color: #AAA;
}

input[type="checkbox"]:checked ~ .form-item__label--switcher .switcher-helper:after {
  background-color: #555;
  -webkit-transform: translate(132%, -50%);
  -ms-transform: translate(132%, -50%);
  transform: translate(132%, -50%);
}

/*# sourceMappingURL=maps/form-item--checkbox.css.map */
