﻿.benefits-form .check-holder .ql-checkbox {
    position: absolute;
    top: 50%;
    left: 16px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.quiz-block ol .radio-list label .ql-radio {
    position: absolute;
    inset: 0px;
    background: rgb(0, 84, 219);
    z-index: -1;
    width: auto;
    height: auto;
    border-radius: 0px;
    margin: 0px;
    border: 2px solid rgb(0, 84, 219);
    transition: border 0.3s linear 0s, background 0.3s linear 0s;
    cursor: pointer;
}

.quiz-block ol .radio-list label .ql-radio.ql-checked {
    color: rgb(75, 75, 75);
    border-color: rgb(238, 238, 238);
    background: rgb(255, 255, 255);
}

.quiz-block ol .radio-list label .ql-radio span {
    display: none;
}

.quiz-block ol .radio-list label.btn.btn-primary {
    white-space: initial;
    padding: initial;
    display: grid;
    align-content: center;
}


.btn-check + .btn:hover {
    background: #fff;
    color: black;
}
.btn-check:checked + .btn {
    background: #fff;
    color: black;
}
/* custom checkbox styles */

.ql-checkbox {
    vertical-align: middle;
    display: inline-block;
    position: relative;
    cursor: default;
    background: #fff;
    border: 2px solid #eaeaea;
    margin: 0 3px 0 0;
    height: 20px;
    width: 20px;
    border-radius: 4px;
}

.error .ql-checkbox {
    border-color: #f00;
}

.ql-label-active .ql-checkbox {
    border-color: #eaeaea;
}

.ql-checkbox span {
    position: absolute;
    display: none;
    background: url(images/icon-tick.png) no-repeat;
    width: 19px;
    height: 15px;
}

:root .ql-checkbox span {
    margin: -2px 0 0 2px;
}

.ql-checkbox input[type="checkbox"] {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 0;
    margin: 0;
    left: 0;
    top: 0;
}

.ql-checkbox.ql-checked span {
    display: block;
}


/* custom radio styles */

.ql-radio {
    vertical-align: middle;
    display: inline-block;
    position: relative;
    overflow: hidden;
    cursor: default;
    background: #fff;
    border: 2px solid #e9e9e9;
    border-radius: 9px;
    margin: 0 3px 0 0;
    height: 18px;
    width: 18px;
    -webkit-transition: border .3s linear;
    transition: border .3s linear;
}

    .ql-radio.ql-checked {
        border: 7px solid #0053dc;
    }

    .ql-radio span {
        display: none;
        position: absolute;
        top: 3px;
        left: 3px;
        right: 3px;
        bottom: 3px;
        background: #777;
        border-radius: 100%;
    }

  /*  .ql-radio input[type="radio"] {
        position: absolute;
        height: 100%;
        width: 100%;
        border: 0;
        margin: 0;
        left: 0;
        top: 0;
        cursor: pointer;
    }*/

    .ql-radio.ql-checked span {
        display: block;
    }


/* custom select styles */

.ql-select {
    display: inline-block;
    vertical-align: top;
    position: relative;
    border: 2px solid #eaeaea;
    background: #fff;
    margin: 0;
    min-width: 140px;
    height: 46px;
    width: 100%;
    min-width: 100%;
    border-radius: 4px;
}

    .ql-select.ql-unselectable {
        width: 100px;
    }

    .ql-select.ql-drop-active {
        border-radius: 4px 4px 0 0;
    }

    .ql-select select {
        z-index: 1;
        left: 0;
        top: 0;
    }

    .ql-select .ql-select-text {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        cursor: default;
        display: block;
        font-size: 14px;
        line-height: 26px;
        font-weight: 600;
        margin: 0 45px 0 13px;
        color: rgba(44, 44, 44, .5);
        position: relative;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    .ql-select .ql-select-opener {
        position: absolute;
        text-align: center;
        width: 34px;
        border-left: 2px solid #eaeaea;
        bottom: 0;
        right: 0;
        top: 0;
    }

        .ql-select .ql-select-opener:before {
            content: "\e905";
            font-family: icomoon !important;
            font-style: normal;
            font-variant: normal;
            font-weight: 400;
            line-height: 0;
            text-transform: none;
            color: #0054db;
            display: block;
            position: absolute;
            left: 0;
            right: 0;
            width: 32px;
            text-align: center;
            top: 50%;
            -webkit-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
            transform: translateY(-50%);
            font-size: 20px;
            margin: 0 0 0 -1px;
        }

body > .ql-select-drop {
    position: absolute;
    margin: -1px 0 0;
    z-index: 9999;
}

    body > .ql-select-drop.ql-drop-flipped {
        margin: 1px 0 0;
    }

.ql-select .ql-select-drop {
    position: absolute;
    margin-top: 0;
    z-index: 9999;
    top: 100%;
    left: -1px;
    right: -1px;
    border-radius: 0 0 4px 4px;
}

.ql-select .ql-drop-flipped {
    bottom: 100%;
    top: auto;
}

.ql-select-drop .ql-select-drop-content {
    border: 2px solid #eaeaea;
    border-radius: 0 0 4px 4px;
}

.ql-select-drop.ql-select-select-sm .ql-select-drop-content {
    border-width: 2px 0 0;
}


/* multiple select styles */

.ql-list-box {
    overflow: hidden;
    display: inline-block;
    border: 1px solid #b8c3c9;
    border: 0;
    min-width: 200px;
    margin: 0 15px;
}


/* select options styles */

.ql-list {
    display: inline-block;
    vertical-align: top;
    position: relative;
    background: #fff;
    line-height: 18px;
    font-size: 14px;
    width: 100%;
}

    .ql-list .ql-list-content {
        vertical-align: top;
        display: inline-block;
        overflow: auto;
        width: 100%;
    }

    .ql-list ul {
        list-style: none;
        margin: 0;
        padding: 2px 14px;
    }

        .ql-list ul li {
            overflow: hidden;
            display: block;
        }

            .ql-list ul li:nth-child(n+3) {
                border-top: 2px solid #f6f6f6;
            }

    .ql-list .ql-overflow {
        overflow: auto;
    }

    .ql-list .ql-option {
        overflow: hidden;
        cursor: default;
        display: block;
        padding: 12px 0;
        color: #0054db;
        height: 1%;
        -webkit-transition: color .3s linear;
        transition: color .3s linear;
        font-weight: 600;
    }

        .ql-list .ql-option.ql-option-hide-me {
            display: none;
        }

    .ql-list .ql-disabled {
        background: #fff !important;
        color: #aaa !important;
    }

.ql-select-drop .ql-hover,
.ql-list-box .ql-selected {
    color: #000;
}

.ql-list .ql-optgroup-caption {
    white-space: nowrap;
    font-weight: bold;
    display: block;
    padding: 5px 9px;
    cursor: default;
    color: #000;
}

.ql-list .ql-optgroup .ql-option {
    padding-left: 30px;
}


/* custom scrollbars styles */

.ql-scrollable-wrapper {
    box-sizing: content-box;
    position: relative;
}

.ql-scrollbar-vertical {
    position: absolute;
    cursor: default;
    background: #f9f9f9;
    width: 8px;
    bottom: 0;
    right: 0;
    top: 0;
    border-radius: 10px;
    overflow: hidden;
}

    .ql-scrollbar-vertical .ql-scrollbar-dec,
    .ql-scrollbar-vertical .ql-scrollbar-inc {
        background: #eee;
        height: 8px;
        width: 8px;
        left: 0;
        top: 0;
    }

    .ql-scrollbar-vertical .ql-scrollbar-inc {
        top: auto;
        bottom: 0;
    }

    .ql-scrollbar-vertical .ql-scrollbar-handle {
        background: #ccc;
        height: 1px;
        width: 14px;
    }

.ql-scrollbar-horizontal {
    position: absolute;
    background: #f8f8f8;
    right: auto;
    top: auto;
    left: 0;
    bottom: 0;
    width: 1px;
    height: 8px;
    display: none;
}

    .ql-scrollbar-horizontal .ql-scrollbar-dec,
    .ql-scrollbar-horizontal .ql-scrollbar-inc {
        display: inline-block;
        vertical-align: top;
        overflow: hidden;
        background: #bbb;
        height: 8px;
        width: 8px;
    }

    .ql-scrollbar-horizontal .ql-scrollbar-inc {
        left: auto;
        right: 0;
    }

    .ql-scrollbar-horizontal .ql-scrollbar-slider {
        display: inline-block;
        position: relative;
        height: 14px;
    }

    .ql-scrollbar-horizontal .ql-scrollbar-handle {
        position: absolute;
        background: #888;
        height: 14px;
    }

.ql-scrollbar.ql-inactive .ql-scrollbar-handle {
    visibility: hidden;
}

.ql-scrollbar.ql-inactive .ql-scrollbar-dec,
.ql-scrollbar.ql-inactive .ql-scrollbar-inc {
    background: #e3e3e3;
}

.ql-file {
    display: inline-block;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

    .ql-file.ql-extension-jpg .ql-fake-input {
        display: block;
    }

    .ql-file .ql-real-element {
        position: absolute;
        margin: 0;
        left: 0;
        top: 0;
        bottom: 0;
        width: 134px;
        cursor: pointer;
    }

    .ql-file .ql-fake-input {
        display: inline-block;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: top;
        overflow: hidden;
        border: 1px solid #777;
        padding: 4px 8px;
        font-size: 13px;
        line-height: 28px;
        height: 28px;
        width: auto;
        float: right;
        border: 0;
        display: none;
        cursor: default;
    }

    .ql-file .ql-upload-button {
        display: inline-block;
        vertical-align: top;
        white-space: nowrap;
        overflow: hidden;
        border: 0;
        margin: 0 0 0 -1px;
        padding: 0;
        line-height: 28px;
        height: auto;
    }

        .ql-file .ql-upload-button .ql-button-content {
            -webkit-transition: color .3s linear;
            transition: color .3s linear;
        }

            .ql-file .ql-upload-button .ql-button-content:hover {
                color: #eee;
            }
