/* The switch - the box around the slider */
.wcv-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.wcv-switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.wcv-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.wcv-switch .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.wcv-switch input:checked + .slider {
    background-color: #2196F3;
}

.wcv-switch input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

.wcv-switch input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.wcv-switch .slider.round {
    border-radius: 34px;
}

.wcv-switch .slider.round:before {
    border-radius: 50%;
}


/* Checkboxes */
/* Customize the label (the container) */
.wcv-checkbox {
    display: flex;
    position: relative;
    align-items: center;
    vertical-align: middle;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.wcv-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.wcv-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #ccc;
}

/* On mouse-over, add a grey background color */
.wcv-checkbox :hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.wcv-checkbox  input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.wcv-checkbox  input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.wcv-checkbox  .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid #e2e2e2;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.wcv-wholesale-prices-fields {
    display: flex;
    justify-content: space-between;
}

.wcv-wholesale-prices-fields input,
.wcv-wholesale-prices-fields select,
.variation_wholesale_restrictions_roles select,
.control-group .control.select .select2-container,
.control-group .control.select .select2-container--default
.select2-search__field {
    width: 100%;
    display: block;
}

.variation_wholesale_restrictions_roles .select2-container {
    display: block;
}

.wcv-wholesale-prices-field {
    margin-bottom: 1em;
}

.wcv-grid a.wholesale_sale_schedule,
.wcv-grid a.cancel_wholesale_sale_schedule {
  float: right;
}