@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&family=Noto+Sans+Thai:wght@100;200;300;400;500;600;700;800;900&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body {
    background: #fbfbfb;
    font-family: 'Noto Sans Thai', 'Josefin Sans', sans-serif;
    font-size: 15px;
    /* font-size: 1rem; */
    /* font-weight: 600; */
    line-height: 1.4;
    color: #555;
}

input,
textarea {
    font-family: 'Noto Sans Thai', 'Josefin Sans', sans-serif;
}

.b-example-divider {
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.navRight {
    justify-content: flex-end;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

a {
    text-decoration: none;
    color: #555;
}

a:hover {
    text-decoration: none;
    color: #555;
}

.imgLogin {
    width: 100%;
    max-width: 11rem;
    margin: auto;
}

.groupinputEmpCode {
    align-items: center;
    font-weight: 500;
    font-size: 1.8rem;
    border: 1px solid #ebebeb;
    border-radius: .2rem;
    padding: 0rem .5rem;
    color: #000;
    max-width: 20rem;
    margin: auto;
}
.groupinputEmpCode .inputEmpCode.email{
    font-size: 1.3rem;
}

.groupinputEmpCode input {
    border: none;
    width: 7.5rem;
    font-weight: 700;
}

.groupinputEmpCode input:focus {
    border: none;
}

.groupinputEmpCode .btnlogin {
    font-size: 1rem;
    padding: .5rem 1rem;
    background-color: #f98812;
    border-radius: .2rem;
    color: #fff;
    cursor: pointer;
    width: 50%;
}

.navbarTopCustom {
    position: sticky;
    top: 0;
    z-index: 999;
}

.headTop .title {
    font-weight: 600;
    font-size: 1.3rem;
}

.headTop {}

.rowCenter {
    align-items: center;
}


/* Important switch stuff */

input[type=checkbox].switch+label {
    width: 30px;
    height: 12px;
    background: lightgray;
    display: inline-block;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    /* margin: 10px; */
}

input[type=checkbox].switch+label:before,
input[type=checkbox].switch+label:after {
    content: "";
    display: inline-block;
    width: 17px;
    height: 17px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: -3px;
    left: 0;
    transition: all 0.2s;
}

input[type=checkbox].switch+label:after {
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);
}

input[type=checkbox].switch+label:before {
    background: lightgray;
    transform: scale3d(0, 0, 1);
}

input[type=checkbox].switch+label:active:before {
    transform: scale3d(3, 3, 1);
    opacity: 0;
}

input[type=checkbox].switch {
    display: none;
}

input[type=checkbox].switch:checked+label {
    background: rgba(3, 155, 229, 0.5);
}

input[type=checkbox].switch:checked+label:before,
input[type=checkbox].switch:checked+label:after {
    left: 14px;
    background: #039be5;
}

input[type=checkbox].switch:disabled+label {
    opacity: 0.4;
    cursor: not-allowed;
}

input[type=checkbox].switch.green {
    display: none;
}

input[type=checkbox].switch.green:checked+label {
    background: rgba(4, 196, 52, 0.5);
}

input[type=checkbox].switch.green:checked+label:before,
input[type=checkbox].switch.green:checked+label:after {
    background: #04c434;
}

input[type=checkbox].switch.red {
    display: none;
}

input[type=checkbox].switch.red:checked+label {
    background: rgba(244, 67, 54, 0.5);
}

input[type=checkbox].switch.red:checked+label:before,
input[type=checkbox].switch.red:checked+label:after {
    background: #f44336;
}

.boxList {
    background-color: #fff;
    /* margin-bottom: 1rem; */
    padding: 1rem;
    border-radius: .2rem;
    /* cursor: pointer; */
    min-height: 9rem;
    position: relative;
}

.boxList .name {
    font-weight: 500;
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.boxList .description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #6c6c6c;
    font-weight: 300;
    font-size: .8rem;
}

.boxList .footer {
    position: absolute;
    bottom: 6px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    font-size: .7rem;
    font-weight: 300;
    width: 92%;
}

.badge.badge-pill {
    border-radius: 3rem;
}

.colGroupFlexRight {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.BoxSurvey {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.boxWhite {
    background-color: #fff;
    border-radius: .2rem;
}

.boxWhite .header {
    font-weight: 600;
    border-bottom: 1px solid #e3e3e3;
    padding-bottom: .5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.boxWhite .body {
    font-size: .85rem;
}

.manageSurvey {
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.manageSurvey .form-group {
    margin-bottom: 1rem;
}

.manageSurvey .form-group label {
    margin-bottom: .2rem;
}

.cursor-pointer {
    cursor: pointer;
}

.manage_boxQuestion {
    margin-bottom: 3rem;
    border-bottom: 1px dotted #ffc107;
    padding-bottom: .5rem;
}

.manage_boxQuestion input {
    font-size: .9rem;
    padding: .5rem .5rem;
    border: 1px solid #f5f5f5;
    font-weight: 500;
}

.manage_boxQuestion input.choiceXMini {
    padding: .2rem .5rem;
    font-size: .75rem;
    font-weight: 400;
    color: #464646;
}

.manage_boxQuestion .btnchoiceXMini {
    font-size: .75rem;
    padding: 0.2rem;
    color: #ffa9a9;
}

.manage_boxQuestion .btnchoiceXMini:hover {
    background-color: #fff;
    border: none;
}

.showHeadChoice,
.divGroupRadio {
    display: flex;
    align-items: baseline;
    width: 100%;
}

.divGroupRadio {
    margin-bottom: .5rem;
}

.showHeadChoice {}

.detailSurvey {
    border-bottom: 1px solid #dddddd;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.detailSurvey .SurveyName {
    font-weight: 600;
    font-size: 1.2rem;
}

.detailSurvey .SurveyDescriptions {
    font-size: .85rem;
}

.bodymenageQuestions {
    overflow-y: auto;
    max-height: 57.5vh;
    padding-right: 0.2rem;
}

.bodymenageQuestions::-webkit-scrollbar {
    background-color: #fff;
    width: 6px;
}

.bodymenageQuestions::-webkit-scrollbar-track {
    background-color: #ffffff;
}

.bodymenageQuestions::-webkit-scrollbar-thumb {
    background-color: #babac0;
    border-radius: 7px;
    /* border: 4px solid #fff; */
}

.bodymenageQuestions::-webkit-scrollbar-button {
    display: none;
}

.groupSetupSurveyForReply {
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5;
    padding: .5rem;
    display: flex;
    width: 100%;
    background-color: #e7e7e7;
    border-radius: .2rem;
    align-items: baseline;
}

.groupSetupSurveyForReply .btnTamplateExcel {
    color: #008300;
    cursor: pointer;
}

.showFunctionSent {
    border-top: 1px solid #039be5;
    margin-top: 1rem;
    padding-top: 1rem;
    padding-bottom: 2rem;
    font-weight: 800;
}

.showFunctionSent .showGroupBTNSentOptions {
    margin-top: .5rem;
    font-weight: 400;
}

.textareaHTML:focus,
.textareaHTML {
    font-size: .85rem;
    font-weight: 300;
    background-color: #e5e5e5;
    color: black;
    padding: 1rem;
}

.showTagReplace {
    font-weight: 400;
    font-size: .7rem;
    margin-right: .5rem;
    margin-bottom: .5rem;
    padding: .4rem;
}

.inputshowPreviewTestHTML_:focus-visible,
.inputshowPreviewTestHTML_ {
    border: none;
    font-size: .75rem;
    background-color: #198754;
    color: #fff;
}

@media (max-width: 1280px) {
    .BoxSurvey {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .BoxSurvey {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .BoxSurvey {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .BoxSurvey {
        grid-template-columns: repeat(1, 1fr);
    }
}