﻿@charset "utf-8";
/*
 CSS Create by CDIS Design
 color: #7F3F98; purple
 color: #B58E38; yellow
 color: #333333; black 
 color: #2386f7; Blue Sky 
 color: #70b1fa; Blue gray
*/
.wrapper-box-content.box-padding {
    padding:0 20px;
}
.wrapper-box-content.box-padding .topic-box-content {
    padding:20px 0;
}
.layout-exportfile {
    margin-bottom: 20px;
    position: relative;
}
.layout-exportfile ul li {
    display: inline-block;
    padding:0 10px;
}
.layout-exportfile ul li a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.layout-exportfile ul li a {
    display: block;
    border-radius: 100%;
    box-shadow: 0 6px 10px rgba(0,0,0,0.16);
    line-height: 0;
}
.layout-exportfile ul li a:hover {
    opacity: 0.7;
}
.layout-exportfile ul {
    display: inline-block;
}
.layout-exportfile span {
    position: relative;
    top:-18px;
    font-size:16px;
    line-height: 20px;
}
.btn-back {
    width:130px;
    height:50px;
    background-color: transparent;
    border:1px solid #525A65;
    font-size:16px;
    color: #525A65;
    border-radius: 26px;
}
.btn-back:hover {
    background-color: #525A65;
    color:#fff;
}
.btn-back p {
    display: inline-block;
    padding-left: 25px;
    background-image: url(../images/ic-backbtn.png);
    background-repeat: no-repeat;
    background-position: left center;
}
.btn-back:hover p {
    background-image: url(../images/ic-backbtn-hover.png);
}
.layout-btn-back {
    position: absolute;
    right:0;
    top:0;
}
.box-topic-questionnaire {
    padding:30px 30px 60px;
    border:2px solid #70b1fa;
    border-radius: 20px;
    margin-bottom: 30px;
}
.box-topic-questionnaire h2 {
    font-size:16px;
    line-height: 24px;
    margin-bottom: 15px;
}
.box-topic-questionnaire h2 span.subtopic {
    float: right;
    color: #70b1fa;
}
.box-topic-questionnaire p {
    line-height: 24px;
    color: #333;
}
.box-topic-questionnaire p span {
    display: block;
}
.wrapper-box-content.box-padding .main-box-content {
    padding:15px 0;
    border-bottom: none;
}
/* process bar */
.horizontal .progress-bar {
    float: left;
    height: auto;
    width: 100%;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    margin-bottom: 10px;
}
.topic-progress {
    margin-bottom: 5px;
}
.topic-progress h2 {
    font-size:16px;
    line-height: 24px;
    color: #333333;
    text-align: left;
    text-transform: uppercase;
}
.horizontal .progress-track {
    position: relative;
    width: 100%;
    height: 6px;
    background: #EAECEE;
}
.horizontal .progress-fill {
    position: static;
    background: #2386f7;
    border-radius: 6px;
    height: 6px;
    width: 50%;
    color: #fff;
}
.progress-fill span {
    position: absolute;
    right:0;
    top:-30px;
    font-size:18px;
    line-height: 24px;
    color:#2386f7;
}
.rounded .progress-track,
.rounded .progress-fill {
border-radius: 3px;
}
.content-table2f span.spanblock {
    display: block;
}
.input-selectbox2f span {
    position: relative;
    top: -1px;
    font-weight: normal;
}
.input-selectbox2f {
    margin-bottom:30px;
    margin-top:15px;
}
.selectboxcontainer {
    display: inline-block;
    padding-left: 30px;
    position: relative;
    cursor: pointer;
    user-select: none;
}
.selectboxcontainer .checkmark {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: white;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 6px;
    border: 1px solid #cdcdcd;
}
.selectboxcontainer .radiomark {border-radius: 100%;}
.selectboxcontainer input {display: none;}
.selectboxcontainer input:checked+.checkmark {
    background-color: #2386f7;
    border: none;
}
.selectboxcontainer input:checked+.checkmark:after {
    content: "";
    position: absolute;
    height: 10px;
    width: 20px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}
.selectboxcontainer input:checked:disabled+.checkmark {
    border: none;
    background-color: grey;
}
.selectboxcontainer input:indeterminate+.checkmark:after {
    content: "";
    position: absolute;
    height: 0px;
    width: 11px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(180deg);
}
.layout-selectbtn {
    position: relative;
    text-align: center;
    margin: 30px 0;
}
.layout-selectbtn .btn-search {
    max-width:200px;
    margin:0 auto;
    padding-top:0px;
}
.layout-select-all {
    position: absolute;
    left: 40px;
    top: 15px;
}
hr {
    border-color: #D4D7D9;
}
.topic-content {
    position: relative;
}
.topic-content h2 {
    font-size:20px;
    line-height: 40px;
    color: #70b1fa;
}
.layout-selectbtn .btn-tran {
    background-color: transparent;
    height:40px;
    width:100%;
    font-size:15px;
    border-radius: 40px;
}
.layout-selectbtn .btn-tran:hover {
    background-color: #804199;
}
.layout-confirm {
    text-align: center;
    margin:30px 0;
}
.layout-confirm .btn-tran, .layout-confirm .btn-purple {
    height:40px;
    width:100%;
    max-width:200px;
    font-size:10px;
    border-radius: 40px;
    margin:0 10px;
}
.img-content-detail {
    border-radius: 20px;
    width:100%;
    margin-bottom: 20px;
}
.img-content-detail img {
    width:100%;
    height:auto;
}
.text-content-detail {
    background-color: #fff;
    padding:20px;
    border-radius: 20px;
}
.text-content-detail h2 {
    font-size:20px;
    line-height: 34px;
    color: #804199;
}
.text-content-detail p {
    font-size: 16px;
    line-height: 28px;
    color: #333;
}
.box-input2f textarea.tiny{
    border-radius: 20px;
}
.box-detail-as {
    padding:30px 30px 20px;
    background-color: #fff;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.box-detail-as h2 {
    font-size:10px;
    line-height: 24px;
    margin-bottom: 15px;
}
.box-detail-as h2 span.subtopic {
    float: right;
    color: #70b1fa;
}
.box-detail-as .layout-confirm .btn-purple {
    max-width:280px;
}
.box-detail-example {
    padding:30px;
    background-color: #fff;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.box-detail-example h2 {
    font-size:16px;
    line-height: 24px;
    margin-bottom: 15px;
    color: #70b1fa;
}
.box-detail-example h2 span.subtopic {
    float: right;
}
.box-detail-example .layout-confirm .btn-purple {
    max-width:280px;
}
.box-detail-example p {
    line-height: 24px;
    color:#333;
}
.box-detail-example p span {
    display: block;
}
.box-area label {
    font-size: 14px;
    line-height: 30px;
    color: #333333;
    margin-bottom: 5px;
}
.box-area textarea {
    min-height: 100px;
    border-radius: 20px;
}
.box-comment-service {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    margin-bottom: 30px;
}
.topic-comment-service {
    background-color: #70b1fa;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}
.topic-comment-service h2 {
    font-size:18px;
    line-height: 35px;
    color: #fff;
    padding:15px 30px;
}
.topic-comment-service h2 span.date {
    margin-left:30px;
    position: relative;
}
.topic-comment-service h2 span.date::before {
    position: absolute;
    content:'';
    width:2px;
    height:15px;
    background-color: #fff;
    left:-15px;
    top:5px;
}
.content-comment-service {
    padding:15px 0 40px;
    margin:0 30px;
    border-bottom: 1px solid #DCDFE0;
}
.content-comment-service p {
    line-height: 20px;
    margin-bottom: 15px;
}
.user-comment-service {
    padding:15px 30px;
}
.user-comment-service h2 {
    font-size:14px;
    line-height: 35px;
    color: #70b1fa;
    text-align: right;
    font-family: 'Kanit-Bold';
}
.user-comment-service h2 span {
    font-family: 'Kanit-Light';
}
.control-topic-survey .input-checkbox2f {
    margin-top:10px;
}
.tablefixresponsive {
    white-space: nowrap;
}
.content-form {
    margin-bottom: 30px;
}
.input2f.textsub {
    padding-right:100px;
    position: relative;
}
.input2f.textsub span.text {
    position: absolute;
    top:15px;
    right:15px;
}
.input-example-subtext {
    padding-right:250px;
    position: relative;
}
.input-example-subtext .select-example{
    position: absolute;
    bottom:25px;
    right:15px;
}
.topic-answer-head {
    margin-bottom: 15px;
}
.topic-answer-head h2 {
    font-size:20px;
    line-height: 34px;
    color: #2386f7;
}
.box-input2f textarea.form-control.filtersurvey {
    min-height: 150px;
    height: auto;
}
.icon-add h2 {
    font-size:20px;
    line-height: 30px;
    color: #70b1fa;
    float: left;
}
.box-wrapper-attribute {
    background-color: #fff;
    padding: 40px 30px 40px;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16)
}
.btn-close-attribute {
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 0;
}
.btn-close-attribute a{
    line-height: 0;
}
.btn-close-attribute img {
    width:15px;
}
.btn-center-attribute {
    text-align: center;
    margin-top:30px;
}
.btn-center-attribute .btn-purple {
    max-width: 200px;
}
.topic-border-attribute {
    text-align: center;
    margin-bottom: 15px;
}
.topic-border-attribute h3 {
    font-size:16px;
    line-height: 30px;
    color: #333;
}
.input-selectbox2f span span.subtext {
    color: #70b1fa;
    margin-left:15px;
}
.box-border-attribute {
    margin-top:30px;
    border:1px solid #70b1fa;
    padding: 40px 20px 40px;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16)
}
.input2f .form-control.multi {
    background:none;
    border-radius: 0;
}
.layout-attribute-save {
    min-height: 100px;
    height:auto;
    border:1px solid #CDD9DD;
    padding:15px;
}
.layout-attribute-save .checkboxcontainer input:checked + .checkmark:after {
    content: "";
    position: absolute;
    height: 9px;
    width: 9px;
    top: 2px;
    left: 1.5px;
    background-color: #804199;
    border-radius: 100%;
}
.layout-attribute-save .checkboxcontainer .checkmark {
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: #fff;
    border: 1px solid #CDD9DD;
    position: absolute;
    left: 0;
    top: 1px;
    border-radius: 100%;
}
.layout-attribute-save .checkboxcontainer {
    margin-bottom: 5px;
    padding-left:25px;
    font-size:14px;
}
.checkboxattribute {
    margin-top:40px;
}

.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 16px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

#img-upload{
    width: 100%;
}

@media (max-width:767px) {
    .checkboxattribute {
        margin-top:0;
        padding-left:0;
        position: relative;
        display: block;
    }
    .checkboxattribute .checkmark {
        position: relative;
    }
    .box-detail-example h2 span.subtopic {
        float: none;
        display: block;
    }
    .input-example-subtext {
        padding-right: 0;
    }
    .input-example-subtext .select-example {
        position: relative;
        bottom: 0;
        right: 0;
        top:15px;
        left:15px;
        margin-top:15px
    }
    .layout-selectbtn { margin:15px 0;}
    .layout-select-all {position: relative;left: 0; top: 15px;text-align: left;}
    .box-detail-as h2 span.subtopic {float: none;display: block;}
    .box-topic-questionnaire h2 span.subtopic {float: none;display: block;}
}
@media (max-width:580px) {
    .layout-btn-back { position: relative;margin: 15px 0;text-align: right;}
    .layout-confirm .btn-tran, .layout-confirm .btn-purple {max-width:130px;}
}