﻿ 

.cc-checkbox-label {
    font-size: 14px;
}

/* The container */
.cc-checkbox-container {
    cursor: pointer;
    display: block;
    padding-left: 35px;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* Hide the browser's default checkbox */
.cc-checkbox-container input {
    cursor: pointer;
    height: 0;
    opacity: 0;
    position: absolute;
    width: 0;
}
/* Create a custom checkbox */
.cc-checkmark {
    background-color: #fff;
    border: 2px solid rgba(68,79,88,.6);
    border-radius: 3px;
    height: 22px;
    left: 0;
    position: absolute;
    top: 0;
    width: 22px;
}
/* On mouse-over, add a grey background color */
.cc-checkbox-container:hover input ~ .cc-checkmark {
    background-color: #ccc;
}
/* When the checkbox is checked, add a blue background */
.cc-checkbox-container input:checked ~ .cc-checkmark {
    background-color: #4B7AA0;
    border: 2px solid #4B7AA0;
}
/* Create the checkmark/indicator (hidden when not checked) */
.cc-checkmark:after {
    content: "";
    display: none;
    position: absolute;
}
/* Show the checkmark when checked */
.cc-checkbox-container input:checked ~ .cc-checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.cc-checkbox-container .cc-checkmark:after {
    border: solid white;
    border-width: 0 3px 3px 0;
    height: 10px;
    left: 6px;
    top: 3px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 5px;
}

.cc-checkbox-list {
    background-color: #fff;
    border-bottom: 1px solid rgba(75, 122, 160, .3);
    height: 50px;
    padding-left: 1rem;
}

/*revised code for checkboxes*/
.cc-custom-control-label::before {
    height: 20px;
    width: 20px;
}

.cc-custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

input[type="radio"] {
    accent-color: var(--secondary-color);
    height: 20px;
    width: 20px;
}
