/* 
* Creator: Davane Davis
* Custom Radio ButtonStyles
*/


/* 
 ===================== Custom Radio Button ======================
*/

/* The container */
.rbtn-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    padding-left: 30px;
    margin-bottom: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400 !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
  
/* Hide the browser's default radio button */
.rbtn-wrapper input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0.01px !important;
    height: 0.01px !important;
}
  
/* Create a custom radio button */
.rbtn-wrapper .checkmark {
    display: inline-block;
    position: absolute;
    /* top: 0; */
    left: 0;
    height: 20px;
    width: 20px;
    background-color: lightgray;
    border-radius: 50%;
}
  
  /* On mouse-over, add a grey background color */
.rbtn-wrapper:hover input ~ .checkmark {
    background-color: rgb(204, 204, 204);
    border: 2px solid rgb(96, 174, 69);
}
  
  /* When the radio button is checked, add a blue background */
.rbtn-wrapper input:checked ~ .checkmark {
    background-color: rgb(240, 240, 240);
    border: 2px solid rgb(96, 174, 69);
}
  
/* Create the indicator (the dot/circle - hidden when not checked) */
.rbtn-wrapper .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
  
/* Show the indicator (dot/circle) when checked */
.rbtn-wrapper input:checked ~ .checkmark:after {
    display: block;
}
  
/* Style the indicator (dot/circle) */
.rbtn-wrapper .checkmark:after {
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgb(96, 174, 69);
}



.rbtn-wrapper.disabled  {
    color: gray;
    cursor: no-drop;
}

.rbtn-wrapper.disabled .checkmark {
    background-color: rgba(211, 211, 211, 0.51);
}

.rbtn-wrapper.disabled .checkmark:after {
    color: lightgray;
    cursor: no-drop;
    background: lightgray;

}
  
.rbtn-wrapper.disabled input:checked ~ .checkmark {
    border-color: lightgray;
    background-color: lightgray;
}

.rbtn-wrapper.disabled:hover input ~ .checkmark {
    background-color: rgba(211, 211, 211, 0.50);
    border-color: rgba(211, 211, 211, 0.50);
}