._container *, input[type="checkbox"] {
    margin: 0px;
    font-family: 'Barlow';
    font-size: 16px;
}
.qs-content {
    margin-top: 16px;
}
label {
    font-weight: 400;
}

.form-item {
    margin-bottom: 16px;
}

._container {
    background-color: #e5e5e5;
    min-height: 100vh;
    padding-bottom: 75px;
}

.qs-wrap {
    background-color: #fff;
    padding: 20px 16px;
    margin-bottom: 10px;
}

.qs-wrap .title {
    font-weight: 600;
    text-align: justify;
}

.form-checkbox {
    display: flex;
    align-items: center;
}

.d-flex {
    display: flex;
}

.d-flex.align-center {
    align-items: center;
}

.d-flex.justify-center {
    justify-content: center;
}

input[type="checkbox"] {
    margin-right: 15px;
}

input[type="checkbox"] {
    padding: 0;
    height: initial;
    width: initial;
    margin-bottom: 0;
    display: none;
    cursor: pointer;
}

label.lbl-checkbox {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: start;
    background-color: #fff;
}

label.lbl-checkbox:before {
    content: '';
    background-color: #fff;
    background: #fff;
    -moz-appearance: none;
    -webkit-appearance: none ;
    border: 1px solid #E30613;
    /*box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);*/
    padding: 8px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 15px;
    top: 3px;
    border-radius: 4px;
    /*z-index: 998;*/
}

.lbl-checkbox > input[type="checkbox"] {
    -moz-appearance: none;
    -webkit-appearance: none ;
}

.lbl-checkbox > input[type="checkbox"]:checked ~ .checked-icon {
    content: '';
    display: block;
    position: absolute;
    top: 5px;
    left: 6px;
    width: 6px;
    height: 10px;
    border: solid #E30613;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    /*z-index: 999;*/
}

/*label.lbl-checkbox:after {*/
/*    content: '';*/
/*    display: block;*/
/*    position: absolute;*/
/*    top: 6px;*/
/*    left: 6px;*/
/*    width: 6px;*/
/*    height: 10px;*/
/*    border: solid #E30613;*/
/*    border-width: 0 2px 2px 0;*/
/*    transform: rotate(45deg);*/
/*}*/

.qs-type-basic-radio input[type="radio"] {
    margin-right: 15px;
}

.qs-type-basic-radio input[type="radio"]:checked,
.qs-type-basic-radio input[type="radio"]:not(:checked), .qs-type-checkbox-img input[type="radio"]:checked, .qs-type-checkbox-img input[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

.qs-type-basic-radio input[type="radio"]:checked + label,
.qs-type-basic-radio input[type="radio"]:not(:checked) + label,
.qs-type-checkbox-img input[type="radio"]:checked + label,
.qs-type-checkbox-img input[type="radio"]:not(:checked) + label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #666;
}

.qs-type-basic-radio input[type="radio"]:checked + label:before,
.qs-type-basic-radio input[type="radio"]:not(:checked) + label:before,
.qs-type-checkbox-img input[type="radio"]:checked + label:before,
.qs-type-checkbox-img input[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border: 1px solid #E30613;
    border-radius: 100%;
    background: #fff;
}

.qs-type-basic-radio input[type="radio"]:checked + label:after,
.qs-type-basic-radio input[type="radio"]:not(:checked) + label:after,
.qs-type-checkbox-img input[type="radio"]:checked + label:after,
.qs-type-checkbox-img input[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #E30613;
    position: absolute;
    top: 5px;
    left: 3px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.qs-type-basic-radio input[type="radio"]:not(:checked) + label:after,
.qs-type-checkbox-img input[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

.qs-type-basic-radio input[type="radio"]:checked + label:after,
.qs-type-checkbox-img input[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.qs-type-basic-radio input[type="radio"],
.qs-type-checkbox-img input[type="radio"] {
    margin-top: 5px;
}

/*loại checkbox có hình ảnh*/
.qs-type-checkbox-img .qs-content {
    flex-wrap: wrap;
    justify-content: space-between;
}

.qs-type-checkbox-img img {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    margin-bottom: 12px;
    object-fit: contain;
    border: 1px solid #e1e1e1;
}

.qs-type-checkbox-img .qs-content .form-item {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 48%;
}

.qs-type-checkbox-img label.lbl-checkbox:before {
    margin-right: 6px;
    top: 2px;
}

.qs-type-checkbox-img label span {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.qs-type-checkbox-img input[type="checkbox"]:checked + label.lbl-checkbox:after {
    top: 4px;
}

/*loại slider*/
.qs-type-slider #slider {
    width: 100%;
}

.qs-type-slider #slider .slider-selection {
    background: #E30613;
}

.qs-type-slider #slider .slider-handle {
    background: #E30613;
    border: 2px solid #FFF;
}

.qs-type-slider .desc {
    text-align: center;
    color: #E30613;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

/*loại rating star*/
.qs-type-rate-star .desc {
    text-align: center;
    color: #E30613;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.rating-group {
    display: flex;
    width: 95%;
    justify-content: space-between;
    margin: auto;
    align-items: center;
}

.rating__icon {
    pointer-events: none;
    font-family: 'FontAwesome';
    font-size: 55px;
}

.rating__input {
    position: absolute !important;
    left: -9999px !important;
}

.rating__input--none {
    display: none
}

.rating__label {
    cursor: pointer;
    padding: 0 0.1em;
    font-size: 2rem;
}

.rating__icon--star {
    color: orange;
}

.rating__input:checked ~ .rating__label .rating__icon--star {
    color: #ddd;
}

.rating-group:hover .rating__label .rating__icon--star {
    color: orange;
}

.rating__input:hover ~ .rating__label .rating__icon--star {
    color: #ddd;
}

/*// rating icon*/
.qs-type-5 .desc {
    text-align: center;
    color: #E30613;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.qs-type-basic-input .qs-select {
    width: 100%;
    outline: none;
}

.qs-type-basic-input .select2-container--default .select2-selection--single {
    outline: none;
}

.select2-search--dropdown .select2-search__field {
    outline: none;
}

.relative {
    position: relative;
}

.styled-input {
    margin-bottom: 28px;
}


.styled-input input {
    border: 0;
    width: 100%;
    padding: 1rem 1rem 1rem 0px;
    outline: none;
    border-bottom: 1px solid #e5e5e5;
    background-color: transparent;
    color: #777;
}

.styled-input label {
    color: #191919;
    padding: 1rem 1rem 0rem 0px;
    position: relative;
    /*top: -2.25rem;*/
    /*left: 0;*/
    transition: all 0.3s cubic-bezier(0.2, 0, 0.03, 1);
    pointer-events: none;
    font-size: 0.75em;
}

.styled-input input ~ span {
    display: block;
    width: 0;
    height: 2px;
    background: #E30613;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all 0.3s cubic-bezier(0.2, 0, 0.03, 1);
}

.styled-input input:focus ~ label {
    font-size: 0.75em;
    color: #E30613;
    top: -2.25rem;
    transition: all 0.3s cubic-bezier(0.2, 0, 0.03, 1);
}

.styled-input input:focus ~ span {
    width: 100%;
    transition: all 0.3s cubic-bezier(0.2, 0, 0.03, 1);
}

/*.styled-input input:focus ~ label, .styled-input textarea:focus ~ label {*/
/*    font-size: 0.75em;*/
/*    color: #E30613;*/
/*    top: -2.25rem;*/
/*    transition: all 0.125s cubic-bezier(0.2, 0, 0.03, 1);*/
/*}*/


/*.styled-input input[type="email"]:not(:empty) ~ label {*/
/*    font-size: 0.75em;*/
/*    color: #E30613;*/
/*    top: -2.25rem;*/
/*    transition: all 0.125s cubic-bezier(0.2, 0, 0.03, 1);*/
/*}*/

/*input[type=date]:required:invalid::-webkit-datetime-edit {*/
/*    color: transparent;*/
/*}*/
/*input[type=date]:focus::-webkit-datetime-edit {*/
/*    color: black !important;*/
/*}*/

/*.styled-input input[type="date"]:not([value=""]):focus ~ label {*/
/*    font-size: 0.75em;*/
/*    color: #E30613;*/
/*    top: -2.25rem;*/
/*    transition: all 0.125s cubic-bezier(0.2, 0, 0.03, 1);*/
/*}*/


.qs-type-file .lbl-upload-file {
    background-color: #E30613;
    color: white;
    padding: 0.5rem 1rem;
    font-family: sans-serif;
    border-radius: 0.3rem;
    cursor: pointer;
    min-width: fit-content;
    height: fit-content;
}

.qs-type-file a {
    display: block;
    position: relative;
}

.qs-type-file a i {
    color: #E30613;
    position: absolute;
    top: -8px;
    right: 9px;
    font-family: fontAwesome;
    font-style: normal;
    font-size: 19px;
}

.qs-type-file .list-img {
    display: flex;
    flex-wrap: wrap;
}

.qs-type-file .list-img img {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    object-fit: cover;
    margin-right: 16px;
    margin-bottom: 16px;
}

.qs-type-file .btn-upload-file {
    display: none;
}

.qs-type-file .lbl-upload-wrap {
    display: flex;
    padding: 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    justify-content: space-between;
}

.qs-type-file .span-upload-file {
    color: #8b8b8b;
}

.qs-type-rate-emoji .desc {
    text-align: center;
    color: #E30613;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.qs-type-rate-emoji .emoji-img {
    width: 100%;
}

.qs-type-rate-emoji .rating-group {
    height: 62px;
}

.qs-type-rate-emoji label {
    width: 16%;
    transition: 0.3s;
    margin-right: 16px;
}
.qs-type-rate-emoji label:last-child {
    margin-right: 0px;
}

.qs-type-rate-emoji input[type="radio"]:checked + label {
    width: 21%;
}

/*input[name="answer-emoji"]:checked + label .emoji-img {*/
/*    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);*/
/*}*/
.qs-type-rate-emoji input[type="radio"]:not(:checked) + label {
    opacity: 0.75;
}

.form-actions {
    width: 100%;
    margin-left: 20px;
    display: none;
}

.form-actions button {
    background-color: #E30613;
    color: #fff;
    width: 100%;
    padding: 12px 0px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}
.form-actions button img {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    display: none;
}

.pagi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0px;
    background-color: #fff;
    padding: 16px;
    width: 100%;
}

.pagi .page-nav {
    /*border: none;*/
    padding: 12px 15px;
    /*border-radius: 50%;*/
    /*box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);*/
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    font-weight: 500;
}

.pagi .process {
    height: 4px;
    width: 100%;
    margin: 0px 16px;
    background-color: #C4C4C4;
    border-radius: 10px;
    position: relative;
}

.pagi .active-process {
    position: absolute;
    left: 0px;
    height: 4px;
    background-color: #E30613;
    border-radius: 10px;
    transition: 0.3s;
}

.form-survey .error-span {
    color: #E30613;
    font-style: italic;
    margin-right: 8px;
    font-size: 14px;
    font-weight: 500;
    width: 100% !important;
    display: inline;
}

.img-order {
    text-align: center;
    width: 100%;
    margin-bottom: 16px;
}
.img-order img {
    max-width: 100%;
    margin-bottom: 16px;
    border-radius: 4px;
}

/*input[type='checkbox']:before {*/
/*    -webkit-appearance: none !important;*/
/*    background-color: transparent !important;*/
/*}*/

@supports ( appearance: none ) or ( -moz-appearance: none ) or ( -webkit-appearance: none ) {
    label.lbl-checkbox:before {
        content: '';
        background-color: #fff;
        background: #fff;
        -moz-appearance: none;
        -webkit-appearance: none ;
        border: 1px solid #E30613;
        /*box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);*/
        padding: 8px;
        display: inline-block;
        position: relative;
        vertical-align: middle;
        cursor: pointer;
        margin-right: 15px;
        top: 3px;
        border-radius: 4px;
        /*z-index: 998;*/
    }
}

/*input[type="hidden"] {*/
/*    -webkit-appearance: none !important;*/
/*    -moz-appearance:    none !important;*/
/*    appearance:         none !important;*/
/*}*/



@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    input[type="date"].has-val-date:before {
        color: #777;
        /*content: 'mm/dd/yyyy' !important;*/
        margin-right: 0.5em;
    }
    input[type="date"]:focus:before {
        content: '' !important;
    }
}
.font-weight-bold {
    font-weight: bold;
}