:root {
    --g-winddow-width: 1200px;
    --g-font-family: 'Noto Sans KR', sans-serif;
    --g-font-h1: 3rem;
    --g-line-h1: 1.2;
    --g-font-h2: 2.5rem;
    --g-line-h2: 1.3;
    --g-font-h3: 2rem;
    --g-line-h3: 1.3;
    --g-font: 1.2rem;
    --g-line: 1.4;
    --g-input-width: 40px;
    --g-input-height: 40px;
    --g-input-small-width: 30px;
    --g-input-small-height: 30px;
    --g-input-small-font: 1rem;
    --g-max-width: 1400px;
}

.child {
    width: calc(var(--g-winddow-width)*0.9); /* 90% */
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.2rem;
    line-height: 1.4
}

@media (max-width: 1199px) {
    :root {
        --g-font-h1: 2rem;
        --g-font-h2: 1.8rem;
        --g-font-h3: 1.4rem;
        --g-font: 1rem;
        --g-input-width: 30px;
        --g-input-height: 30px;
    }

    body {
        font-size: 1rem;
        line-height: 1.2
    }
}

#main {
    margin: 0 auto;
    padding: 0 0 50px;
    width: 100%
}


/* 설문폼 ***********************************************************************************************************************************************************************************************/



/* ? */
.hard_style {
    /* font-size: 20px; */
    margin-right: 1em
}



/* 제목 */

/* skin */
.title_color {
    margin-left: 10px;
    white-space: nowrap
}

#title {
    border-color: #eee !important;
    margin: 0 auto;
    max-width: var(--g-max-width);
    padding: 20px 0;
    text-align: center;
    width: 95%
}

    #title h2 {
        font-size: var(--g-font-h2);
        font-weight: 700
    }

.title2 {
    box-sizing: border-box;
    background-color: #fff;
    /* border: 1px solid #eee; */
    border-left: 10px solid #e9ecef;
    /* border-radius: 1px; */
    box-shadow: 3px 3px 10px 0 rgb(0 0 0 / 10%);
    font-size: var(--g-font-h3);
    margin: 10px auto;
    max-width: var(--g-max-width);
    padding: 30px 10px;
    width: 98%
}

@media (max-width: 1199px) {
    #title {
        border: none;
        width: 100%
    }

    .title2 {
        width: 100%
    }
}

/* ? */
.bt-align {
    float: initial
}



/* pagebar */
.pagebar {
    background: #eee;
    border-radius: 5px;
    height: 8px;
    margin: 0 auto;
    max-width: var(--g-max-width);
    padding: 0;
    position: relative;
    width: 98%
}

.num {
    /* font-family: 'Poppins', sans-serif; */
    font-weight: 600
}

.pagebar .num {
    font-size: var(--g-font);
    right: 0;
    position: absolute;
    top: -25px
}

.pagebar span {
    border-radius: 5px;
    display: block;
    height: 10px;
    position: absolute;
    width: 20%
}

    .pagebar span::before {
        border-radius: 50%;
        content: "";
        height: 15px;
        right: 0;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 15px
    }

#tmp_line {
    border-bottom: 1px solid #eee;
    padding: 10px
}

@media (max-width: 1199px) {
    .pagebar {
        width: 100%
    }

    #tmp_line {
        display: none
    }
}



/* 질문칸 */
.card-header {
    padding: 20px 0;
    text-align: center;
    word-break: keep-all
}

    .card-header h3 {
        font-size: var(--g-font-h3);
        margin-bottom: 15px
    }

@media (max-width: 1199px) {
    .card-header {
        padding: 15px 0
    }
}

.container,
.card {
    border-bottom: 1px solid #eee;
    box-shadow: 3px 3px 10px 0 rgb(0 0 0 / 10%);
    margin: 10px auto;
    max-width: var(--g-max-width);
    padding: 30px 0 !important;
    width: 98%
}

.card-body {
    /* font-size: 20px; */
    line-height: 30px;
    margin: 10px auto;
    width: 98%
}

@media (max-width: 1199px) {
    .card {
        border-bottom: 1px solid #eee;
        box-sizing: border-box;
        margin: 10px auto;
        width: 100%
    }

    .card-body {
        line-height: 30px;
        width: 100%
    }
}



/* 설문 아래의 버튼들 */
.btnbox1:hover {
    cursor: pointer;
    padding: 0
}

.prev,
.next,
.end {
    border: 1px solid;
    font: inherit;
}

.prev,
.next {
    margin-right: 10px
}




/* 컨트롤 ***********************************************************************************************************************************************************************************************/

.outline,
.outline-x {
    border-radius: 16px;
    box-sizing: border-box;
    display: block;
    margin-bottom: 10px;
    width: 100%
}

.outline {
    border: 1px solid #bfbfbf;
    /* font-size: 20px; */
    line-height: 80px;
    padding: 0 15px;
}

.label_u .outline,
.table_ut .outline,
.outline-x {
    border: 0 solid #bfbfbf;
    /* font-size: 18px; */
    line-height: 30px;
    /* padding: 0 15px; */
    text-align: left;
}

@media (max-width: 1199px) {
    .outline {
        border-radius: 0;
        /* font-size: 16px; */
        line-height: 60px;
        margin-bottom: 5px;
    }
}

.option-input {
    appearance: none;
    background: #fff;
    border: 1px solid;
    box-sizing: border-box;
    cursor: pointer;
    margin: 0px 2px 0px 0px;
    position: relative;
    transition: all .15s ease-out 0s;
    vertical-align: middle;
    height: var(--g-input-height);
    width: var(--g-input-width);
    z-index: 1000
}

    .option-input::before {
        content: "";
        font-size: var(--g-font);
        font-weight: 700;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%)
    }

    .option-input:checked::before {
        color: #fff;
        content: "\f00c";
        font-family: "Font Awesome 5 Free"
    }

    .option-input:hover {
        background: #eee
    }

.radio {
    border-radius: 50%
}

.rank-text {
    font-size: var(--g-font);
    font-weight: 700;
    height: var(--g-input-height);
    width: var(--g-input-width);
}


/* input[type="text"] {
    background: #eee;
    border: none;
    box-sizing: border-box;
    font-size: 18px;
    height: 35px;
    padding: 0 10px;
    width: 100%
} */

select {
    background: #eee;
    border: none;
    box-sizing: border-box;
    font-size: var(--g-font);
    height: 40px;
    margin: 5px;
    padding: 0 10px;
    width: 100%
}

option {
    display: block;
    font-weight: 400;
    min-height: 1.2em;
    padding: 0 2px 1px;
    white-space: nowrap
}

select option {
    background: #fff
}

#button {
    border: none;
    border-radius: 16px;
    margin: 0 auto;
    max-width: var(--g-max-width);
    padding: 50px 0;
    width: 95%
}

    #button input {
        border-radius: 32px;
        /* font-size: 20px; */
        font-weight: 600;
        height: 64px;
        width: 215px
    }

@media (max-width: 1199px) {
    #button input {
        height: 50px;
        width: 150px
    }
}

#radio_text {
    width: 60%
}

.ms_line:before {
    display: block
}

.ms_line_none:before {
    display: none
}


.alert {
    border: 1px solid !important;
    border-radius: 10px;
    display: flex;
    /* font-size: 18px !important; */
    line-height: 50px
}

@media screen and (hover: none) and (pointer: coarse) {
    .alert {
        line-height: 40px
    }
}

/* basic : control */
.cellab {
    background-color: #f1383c !important;
    color: #fff !important
}

.celtxt,
.celnum {
    background: #eee;
    border: none;
    box-sizing: border-box;
    color: #555;
    padding: 0 10px;
    font: inherit;
    height: 40px;
    width: 100%;
    margin: 2px;
}

.ut_dk {
    border: 0;
    width: 48%
}

#content .table_ut.text table .total input {
    margin-right: 20px;
    width: 330px
}

@media (max-width: 1199px) {
    .celtxt,
    .celnum {
        margin: 0px;
    }
}


/* 공지사항 **********************************************************************************************************************************************************************************************/
#top_board li {
    flex: 1 1 40%;
    border-right: 1px solid #bfbfbf;
    padding-left: 70px;
    position: relative
}

    #top_board li i {
        color: #555;
        font-size: 40px;
        padding-left: 20px;
        position: absolute;
        left: 0
    }

    #top_board li p {
        font-size: 18px
    }

    #top_board li span {
        color: #555;
        font-size: 14px
    }

    #top_board li:last-child {
        border: none
    }

#top_board ul {
    border: 0 solid #bfbfbf;
    border-radius: 16px;
    display: flex;
    padding: 30px 0
}

.mo_cont {
    display: none
}

.pc_cont {
    display: block
}

@media (max-width: 1199px) {
    #top_board .container {
        border: 1px solid #eee;
        box-shadow: 3px 3px 5px 0 rgb(0 0 0 / 10%);
        box-sizing: border-box;
        padding: 5px;
        width: 100%;
    }

    #top_board .tab_cont {
        clear: both;
        font-size: 18px;
        padding: 20px 0;
        text-align: center
    }

        #top_board .tab_cont div {
            display: none
        }

            #top_board .tab_cont div.on {
                display: block
            }

    #top_board .tab_title li {
        background: #eee;
        cursor: pointer;
        overflow: hidden;
        padding: 10px 0;
        text-align: center
    }

        #top_board .tab_title li i {
            font-size: 18px;
            padding: 0;
            position: static;
            vertical-align: middle
        }

        #top_board .tab_title li span {
            font-size: 16px
        }

        #top_board .tab_title li.on i {
            color: #fff
        }

        #top_board .tab_title li.on span,
        #top_board .tab_title li.on i {
            color: #fff
        }

    #top_board li span {
        vertical-align: middle
    }

    #top_board ul {
        overflow: hidden;
        padding: 0
    }

    .mo_cont {
        display: block
    }

    .pc_cont {
        display: none
    }
}


/* 스킨버튼 **********************************************************************************************************************************************************************************************/
.skin-btn {
    bottom: 20px;
    right: 20px;
    padding-bottom: 50px;
    position: fixed;
    width: 50px;
    z-index: 9999
}

    .skin-btn .skin-btn-container {
        display: none
    }

        .skin-btn .skin-btn-container.on {
            display: block
        }

    .skin-btn .skin-menu {
        background: #fff;
        border-radius: 50%;
        bottom: 0;
        box-shadow: 1px 1px 8px rgb(0 0 0 / 10%);
        cursor: pointer;
        height: 50px;
        left: 0;
        line-height: 54px;
        position: absolute;
        text-align: center;
        width: 50px
    }

        .skin-btn .skin-menu i {
            font-size: 26px
        }

    .skin-btn button {
        border-radius: 50%;
        display: inline-block;
        font-size: 0;
        height: 30px;
        margin: 5px;
        width: 30px
    }

button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0
}



/* 레이아웃 **********************************************************************************************************************************************************************************************/
.row {
    display: flex;
    flex-wrap: wrap;
}

.col-sm-12,
.col-sm-6,
.col-sm-4,
.col-sm-3,
.col-sm-2 {
    border: 0 solid #bfbfbf;
    border-radius: 16px;
    box-sizing: border-box;
    /* font-size: 16px; */
    /* line-height: 60px; */
    /* margin: 0 0 15px; */
    /* padding: 0 15px; */
}

.col-sm-6,
.col-sm-4,
.col-sm-3,
.col-sm-2 {
    margin-right: 1%;
}

.col-sm-12 {
    /* font-size: 20px; */
    /* line-height: 80px; */
    width: 100%
}

.col-sm-6 {
    width: 49%
    /* 48 (100-1*2)/2 */
}

.col-sm-4 {
    width: 32.3%
}

.col-sm-3 {
    width: 24%
}

.col-sm-2 {
    width: 15.6%
}



@media screen and (max-width:480px) {
    .col-sm-6 {
        margin-right: 0;
        width: 100%
    }
}

@media (max-width: 1199px) {
    .col-sm-12 {
        flex: none;
        /* font-size: 18px; */
        line-height: 30px;
        margin: 0 0 5px;
        width: 100%
    }
}


.table-outline {
    background-color: #fff;
    border-collapse: collapse;
    border-right: 1px solid #8da6a9;
    border-top: 1px solid #8da6a9
}

    .table-outline th {
        background-color: #ffd;
        color: #323232
    }

    .table-outline th,
    .table-outline td {
        border-bottom: 1px solid #8da6a9;
        border-left: 1px solid #8da6a9;
        padding: 5px;
        text-align: center;
        vertical-align: middle
    }


/* table_ms ******************************************************************************************************************************************************************************************/
.table_ms {
    border-radius: 16px;
    border: 1px solid #bfbfbf;
    border-collapse: separate;
    margin-bottom: 10px;
    overflow: hidden;
    table-layout: fixed;
    text-align: center;
    width: 100%
}

    .table_ms .option-input {
        margin: 0
    }

    .table_ms tbody {
        /* font-size: 20px */
    }

        .table_ms tbody .option-input {
            background: #fff;
            border: 2px solid !important;
            margin-top: 0 !important
        }

        .table_ms tbody td {
            padding: 20px;
            position: relative;
            vertical-align: middle
        }

        .table_ms tbody th {
            color: #fff;
            font-size: 20px;
            line-height: 30px;
            padding: 10px;
            vertical-align: middle
        }

    .table_ms td::before {
        content: "";
        height: 2px;
        position: absolute;
        left: 50%;
        top: 50%;
        width: 100%
    }

@media screen and (max-width:480px) {
    .table_ms tbody td {
        padding: 0;
    }
}

@media (max-width: 1199px) {
    .table_ms {
        border-radius: 0;
    }

        .table_ms td::before {
            top: 45%;
        }

        .table_ms tbody td {
            padding: 0;
        }
}



/* table_ut ******************************************************************************************************************************************************************************************/

.table_ut {
    border-radius: 16px;
    border: 1px solid #bfbfbf;
    border-collapse: separate;
    margin-bottom: 10px;
    overflow: hidden;
    table-layout: fixed;
    text-align: center;
    width: 100%
}

    .table_ut table thead {
        /* font-size: 18px */
    }

    .table_ut tbody td {
        border: 1px solid #eee;
        /* font-size: 18px; */
        padding: 15px;
        vertical-align: middle
    }

    .table_ut tbody th {
        border: .1px solid #ffffff90;
        color: #fff;
        /* font-size: 20px; */
        line-height: 150%;
        padding: 10px 15px;
        vertical-align: middle
    }

    .table_ut tbody tr {
        height: 70px
    }

        .table_ut tbody tr td div {
            border: none;
            margin: 0 !important
        }

    .table_ut td .row .col-sm-12 {
        border: none
    }

    .table_ut.text table {
        margin: 0
    }

        .table_ut.text table td {
            border: 1px solid #eee;
            /* font-size: 18px; */
            padding: 15px
        }

    /* 테이블 안에서는 컨트롤 크기 무조건 작게 */
    .outline-x .option-input,
    .label_u .option-input,
    .table_ut .option-input {
        font-size: var(--g-input-small-font);
        height: var(--g-input-small-height);
        width: var(--g-input-small-width);
    }

        .table_ut .option-input::before {
            font-size: var(--g-font);
            font-weight: 700;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%)
        }

@media (max-width: 1199px) {
    .table_ut {
        border-radius: 0;
    }
}

@media screen and (hover: none) and (pointer: coarse) {
    .table_ms tbody th {
        /* font-size: 16px */
    }

    .table_ut tbody td {
        /* font-size: 16px */
    }

    .table_ut tbody th {
        /* font-size: 16px */
    }
}
