﻿

/*                                             css custome modal                               */

#modal-screen .close-modal {
    border: 0px;
}

#modal-screen .modal-body {
    padding: 10px;
    max-height: 600px;
    overflow-y: auto;
}

#modal-screen .modal-footer-custom {
    border-top: 1px solid #e3e3e3;
}

#modal-screen .lst-button-modal {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
}

#modal-screen .custom-btn {
    width: 80px;
    height: 40px;
    background: #d3d3d3;
    border-radius: 5px;
    cursor: pointer;
}

    #modal-screen .custom-btn:hover {
        background: #acacac;
    }
/*                                          end css custome modal                               */

.container-survey-overview .header-filter-search .btn-filter {
    grid-gap: 8px;
    display: grid;
    overflow: hidden;
    text-align: start;
    align-items: center;
    height: var(--px-44);
    padding: 0 var(--px-16);
    color: var(--bs-gray-500);
    border-radius: var(--px-22);
    background: var(--bs-white);
    font: normal normal 500 var(--s-14);
    grid-template-columns: var(--px-32) max-content 1fr var(--px-32);
}

    .container-survey-overview .header-filter-search .btn-filter i {
        text-align: center;
        color: var(--bs-dark);
        font-size: var(--px-18);
    }

    .container-survey-overview .header-filter-search .btn-filter .days {
        color: var(--bs-dark);
    }

    .container-survey-overview .header-filter-search .btn-filter .date-range {
        color: var(--bs-gray-500);
    }

.add-survey {
    font-weight: 300;
    width: var(--px-40);
    height: var(--px-40);
    color: var(--bs-white);
    font-size: var(--px-28);
    border-radius: var(--px-40);
    background: var(--bs-orange);
    position: relative;
    cursor: pointer;
}

    .add-survey::after {
        position: absolute;
        content: "+";
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.container-survey-overview {
    height: 100%;
}

    .container-survey-overview .body {
        height: calc(100% - 75px);
        width: 100%;
        padding: 20px 30px;
    }

.table-list-survey {
    background: #ffffff;
    border-radius: 10px;
    height: 100%;
    padding: 20px;
    overflow-x: auto;
}

    .table-list-survey .table-head {
        display: flex;
        align-items: center;
        padding: 0 0 10px 0;
        font-weight: 600;
        position: relative;
    }

        .table-list-survey .table-head::after {
            position: absolute;
            bottom: 0px;
            content: "";
            min-width: 1400px;
            width: 100%;
            border-bottom: 1px solid #676767;
            height: 1px;
        }

        .table-list-survey .table-head .td-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center !important;
            text-align: center;
        }

.box-tr-survey .tr-record-head {
    display: flex;
    min-height: 40px;
}

    .box-tr-survey .tr-record-head .td-grid {
        display: flex;
        align-items: center;
    }

        .table-list-survey .table-head .td-grid:nth-child(1), .box-tr-survey .tr-record-head .td-grid:nth-child(1) {
            min-width: 20px;
        }

        .table-list-survey .table-head .td-grid:nth-child(2), .box-tr-survey .tr-record-head .td-grid:nth-child(2) {
            min-width: 300px;
            text-align: left;
            justify-content: left !important;
            display: flex;
            flex-wrap: wrap;
            width: calc(100% - 1120px);
        }
        .box-tr-survey .tr-record-head .td-grid:nth-child(2) {
          color:#254bff;
          cursor:pointer;
        }
        .table-list-survey .table-head .td-grid:nth-child(3), .box-tr-survey .tr-record-head .td-grid:nth-child(3) {
            min-width: 150px;
            justify-content: center;
        }

        .table-list-survey .table-head .td-grid:nth-child(4), .box-tr-survey .tr-record-head .td-grid:nth-child(4) {
            min-width: 150px;
            justify-content: center;
        }

        .table-list-survey .table-head .td-grid:nth-child(5), .box-tr-survey .tr-record-head .td-grid:nth-child(5) {
            min-width: 150px;
            justify-content: center;
        }

        .table-list-survey .table-head .td-grid:nth-child(6), .box-tr-survey .tr-record-head .td-grid:nth-child(6) {
            min-width: 130px;
            justify-content: center;
        }

        .table-list-survey .table-head .td-grid:nth-child(7), .box-tr-survey .tr-record-head .td-grid:nth-child(7) {
            min-width: 130px;
            justify-content: center;
        }

        .table-list-survey .table-head .td-grid:nth-child(8), .box-tr-survey .tr-record-head .td-grid:nth-child(8) {
            min-width: 130px;
            justify-content: center;
        }

        .table-list-survey .table-head .td-grid:nth-child(9), .box-tr-survey .tr-record-head .td-grid:nth-child(9) {
            min-width: 130px;
            justify-content: center;
            pointer-events:none;
        }

        .table-list-survey .table-head .td-grid:nth-child(10), .box-tr-survey .tr-record-head .td-grid:nth-child(10) {
            min-width: 130px;
            justify-content: center;
        }

        .box-tr-survey .tr-record-head .td-grid:nth-child(10) {
            display: flex;
            grid-gap: 10px;
        }

            .box-tr-survey .tr-record-head .td-grid:nth-child(10) i {
                font-size: 20px;
                cursor: pointer;
            }

.tr-row-group.show .tr-record-head .btn-show-detail i:before {
    content: "\f139";
}

.box-tr-survey {
    position: relative;
}

    .box-tr-survey::after {
        position: absolute;
        bottom: 0px;
        content: "";
        min-width: 1400px;
        width: 100%;
        border-bottom: 1px solid #d3d3d3;
        height: 1px;
    }


.survey-status .checkbox label {
    cursor: pointer;
}

.survey-status .checkbox.switch label {
    padding-left: 0;
}

/* hide the default checkbox */
.survey-status input[type='checkbox'].switch-control {
    position: absolute;
    margin-left: -9999px;
}

    .survey-status input[type='checkbox'].switch-control ~ .switch-label {
        position: relative;
        display: inline-block;
        min-height: 20px; /* required in case the label is empty */
        padding-left: 60px;
        line-height: 20px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

        .survey-status input[type='checkbox'].switch-control ~ .switch-label:before {
            content: 'Off';
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            width: 50px;
            border: 1px solid rgba(0,0,0,0.1);
            border-radius: 2px;
            background-color: #ddd;
            color: #333;
            font-size: 10px;
            text-indent: 25px;
            text-transform: uppercase;
            text-shadow: 0 1px 0px rgba(255,255,255,0.8);
            -webkit-transition: all 0.15s ease-out;
            -moz-transition: all 0.15s ease-out;
            -o-transition: all 0.15s ease-out;
            transition: all 0.15s ease-out;
        }

        .survey-status input[type='checkbox'].switch-control ~ .switch-label:after {
            content: '-';
            position: absolute;
            left: 2px;
            top: 2px;
            bottom: 3px;
            width: 20px;
            height: 15px;
            background-color: #fff;
            box-shadow: 0 0 1px rgba(0,0,0,0.5);
            border-radius: 2px;
            color: #ccc;
            font-weight: 900;
            line-height: 1;
            text-align: center;
            -webkit-transition: all 0.15s ease-out;
            -moz-transition: all 0.15s ease-out;
            -o-transition: all 0.15s ease-out;
            transition: all 0.15s ease-out;
        }

    /* checked state */
    .survey-status input[type='checkbox'].switch-control:checked ~ .switch-label:before {
        content: 'ON';
        background-color: #339900;
        color: #fff;
        text-indent: 3px;
        text-shadow: 0 -1px 0 rgba(0,0,0,0.5);
    }

    .survey-status input[type='checkbox'].switch-control:checked ~ .switch-label:after {
        left: 28px;
    }

.dropdown-survey-more-option {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .dropdown-survey-more-option:hover {
        background:#efefef;
    }

.btn-show-more .type-select-for-promotion {
    border: 1px solid #d3d3d3;
    border-radius: 10px;
}
.tr-record-drop{
    display:flex;
    justify-content:center;
}
.chart-survey {
    width: 80%;
}
.table-survey-detail-title{
    border-bottom:1px solid #d3d3d3;
    height:40px;
}
.table-survey-detail-title, .table-survey-detail-row {
    display: flex;
}
    .table-survey-detail-title span {
        text-align: left;
        display: flex;
        align-items: center;
        font-weight:600;
    }
.table-survey-detail-row span {  
   text-align:left;
}
.table-survey-detail-title span:nth-child(1), .table-survey-detail-row span:nth-child(1) {
    width: 30%;
}
.table-survey-detail-title span:nth-child(2), .table-survey-detail-row span:nth-child(2) {
    width: 50%;
}
    .table-survey-detail-title span:nth-child(3), .table-survey-detail-row span:nth-child(3) {
        width: 20%;
    }
.table-survey-detail-row{
    height:40px;
}
    .table-survey-detail-row span {
        text-align: left;
        display: flex;
        align-items: center;
    }
.table-survey-detail-row:not(:last-child){
    border-bottom:1px solid #e3e3e3;
}

/*                               css popup add survey           */
.popup_body .row {
    margin:5px 0;
}


.checkbox-switch {
    position: relative;
    display: inline-block;
    width: var(--px-48);
    height: var(--px-28);
    margin: 0;
    border-radius: var(--px-28);
}

    .checkbox-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .checkbox-switch .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: var(--px-48);
        background-color: #E5E5E5;
        -webkit-transition: .4s;
        transition: .4s;
        border-radius: var(--px-28);
    }

        .checkbox-switch .slider:before {
            position: absolute;
            content: "";
            height: var(--px-20);
            width: var(--px-20);
            left: var(--px-4);
            bottom: var(--px-4);
            background-color: #a7a7a7;
            -webkit-transition: .4s;
            transition: .4s;
            border-radius: 50%;
        }

    .checkbox-switch input:checked + .slider {
        background-color: #00BED6;
    }

    .checkbox-switch input:focus + .slider {
        box-shadow: 0 0 1px #00BED6;
    }

    .checkbox-switch input:checked + .slider:before {
        -webkit-transform: translateX(var(--px-18));
        -ms-transform: translateX(var(--px-18));
        transform: translateX(var(--px-18));
        background-color: white;
    }

.check {
    display: block;
    cursor: pointer;
    height: var(--px-32);
    width: var(--px-32);
}

    /* Hide the browser's default checkbox */
    .check input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 2px;
    left: 2px;
    height: 25px;
    width: 25px;
    background-color: #FFF;
    box-shadow: 0px 0px 6px #00000029;
    border: 2px solid #A7A7A7;
    border-radius: 4px;
}


/* On mouse-over, add a grey background color */

/* When the checkbox is checked, add a blue background */
.check input:checked ~ .checkmark {
    background-color: #505050;
    border: 2px solid #505050;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.check input:checked ~ .checkmark:after {
    display: block;
}


/* Style the checkmark/indicator */
.check .checkmark:after {
    left: 9px;
    top: 3px;
    width: 5px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.radio {
    position: absolute;
    top: 10px;
    height: var(--px-24);
    width: var(--px-24);
    background-color: #FFF;
    box-shadow: 0px 0px 6px #00000029;
    border: 1px solid #A7A7A7;
    border-radius: 100%;
}

.check input ~ .radio {
    border: 1px solid #707070;
}


/* Create the radio/indicator (hidden when not checked) */

.radio.active:after {
    content: "";
    position: absolute;
    display: none;
}


/* Show the radio when checked */

.check input ~ .radio.active:after {
    display: block;
}

/* Style the checkmark/indicator */
.check .radio.active:after {
    left: 3px;
    top: 3px;
    width: var(--px-16);
    height: var(--px-16);
    border-radius: 100%;
    background: #575757;
    border-width: 0 2px 2px 0;
}
.alowmulti, .typeclient {
    display: flex;
    align-items: center;
    flex-direction: row;
    height: 44px;
}
    .alowmulti{
        margin:0 0 0 10px;
    }
        .alowmulti span{
            border-radius:0px;
        }  
        .alowmulti span:after{
            border-radius:0px !important;
        }
        .text-question {
            height: 60px !important;
        }
.survey-option {
    display: flex;
    padding: 5px;
    align-items: center;
}
.survey-option .remove-option i{
    color:#ff1e1e;
    padding:0 10px 0 0;
    font-size:17px;
    cursor:pointer;
}
.survey-option input{
    border:0px;
    padding:5px;
    min-width:400px;
    width:100%;
}
.survey-option input:focus{
    border:0px;
    outline:0px;
    border-bottom:1px solid #d3d3d3; 
}
.add-option, .add-other{
    color:#2e45f8;
    cursor:pointer;
}
.list-option #list {
    max-height:180px;
    overflow-y:auto;
}
.popup-survey-footer{
    width:100%;
    display:flex;
}
.display-survey {
    display: flex;
    align-items: center;
}
.list-button {
    display: flex;
    justify-content: flex-end;
    grid-gap: 20px;
}
.btn-save, .btn-cancel{
    background:#d3d3d3;
    width:120px;
    cursor:pointer;
}
#dropdown_filter_question {
    padding: 0 10px 0 10px;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
    #dropdown_filter_question:hover {
        background: #cccccc;
    }
.dropdown_filter_question_item{
    height:35px;
    display:flex;
    padding:10px 10px;
    grid-gap:10px
}
.dropdown_filter_question_item input {
    width: 20px;
    height: 20px;
    visibility: unset
}
.container-survey-overview .header-filter-search .form-search select{
    border:0px;
    outline:0px;
}