.ldfbt-switch {
    display: inline-block;
    height: 25px;
    position: relative;
    width: 45px;
}

.ldfbt-switch input {
    display:none;
}

.ldfbt-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
}

.ldfbt-slider.ldfbt-round {
    border-radius: 34px;
}

.ldfbt-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
}

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

input:checked + .ldfbt-slider {
    background-color: #007cba;
}

input:checked + .ldfbt-slider:before {
    margin-left: 20px;
}

.form-table th {
    vertical-align: top;
    text-align: left;
    width: 200px;
    text-indent: initial;
    border-spacing: 2px;
    line-height: 1.3;
    font-weight: 600;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif !important;
    font-size: 13px;
}

h2{
    padding-top: 20px;
    font-size: 20px;
    font-weight: 400;
    margin: 0;
    line-height: 1.3;
}

h1{
    padding-top: 20px;
    font-size: 23px;
    font-weight: 400;
    margin: 0;
    line-height: 1.3;
}

/* css settings of tooltip*/

.ldfbt-setting-help-tip::after{
    color: rgb(16 15 15 / 54%);
    background-color: rgb(230 220 220 / 21%);
    content: "\003F";
    position: relative;
    font-weight: 600;
    text-align: center;
    font-size: 12px;
    display: inline-block;
    border-radius: 20px;
    cursor: help;
    border: 1px solid #0000009c;
    height: 15px;
    padding: 1px;
    font-style: normal;
    width: 15px;
}

.ldfbt-setting-help-tip .ldfbt-tooltipdata {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

/* CSS for long tool tip data */
.ldfbt-setting-help-tip .ldfbt-tooltipdata-long {
    visibility: hidden;
    width: 300px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.ldfbt-setting-help-tip .ldfbt-tooltipdata::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 45%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.ldfbt-setting-help-tip .ldfbt-tooltipdata-long::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 20%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.ldfbt-setting-help-tip {
    position: relative;
    display: inline-block;
}

.ldfbt-setting-help-tip:hover .ldfbt-tooltipdata {
    visibility: visible;
    opacity: 1;
}

.ldfbt-setting-help-tip:hover .ldfbt-tooltipdata-long {
    visibility: visible;
    opacity: 1;
}

.ldfbt-setting-help-tip {
    padding-left: 5px;
}

.disable-click{
    pointer-events:none;
    color:gray
}

/* Learndash Settings Page CSS */
.ldfbt-learndash-select2{
    width:100% ! important;
}

#ldfbt_upsells_fbt_wocom_section_field .sfwd_option_label .sfwd_help_text_link label {
    font-style: italic;
    font-weight: 500;
}

#ldfbt_upsells_ldfbt_custom_user_pref_section_field .sfwd_option_label .sfwd_help_text_link label {
    font-style: italic;
    font-weight: 500;
}

#ldfbt_upsells_fbt_edd_section_field .sfwd_option_label .sfwd_help_text_link label {
    font-style: italic;
    font-weight: 500;
}

.ldfbt-clipboard-button {
    padding: 5px 5px 8px 5px;
    background-color: white !important;
    border-style: none;
    font-size: 18px;
    cursor: pointer;
}

/* Course Page Setting Widget CSS */
.ldfbt_discount_span{
    border: 1px solid black;
    padding: 10px;
}

.ldfbt_discounted_amount {
    font-size: 13px !important;
}

.ldfbt_discount_calc_finals{
    font-size: medium;
}