﻿@import url(https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@1.0/nanumsquare.css);

/* body */
body {
    font-family: 'NanumSquare', sans-serif !important;
}


/* icon */
.icon {
    margin-right: 10px;
}

.login_box {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 310px;
    margin-top: -150px;
    margin-left: -250px;
    border: 5px solid #f0f0f0;
}

.login_box_header {
    height: 55px;
    background-color: #34b5a4;
    padding-left: 20px;
}

.login_box_header>a>img {
    margin-top: 5px;
}

.login_box_body {
    padding: 24px;
    padding-left: 42px;
    padding-right: 42px;
    margin-top: 32px;
}

.login_box_body_div {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto !important;
}

.row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.row_add {
    margin-left: 15px;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: row;
}

.text_label {
    min-width: 100px;
    align-items: flex-start;
    margin-right: 12px;
    font-size: 13px;

    text-align: left;
}

/* input_div 원본 */
.input_div {
    flex-direction: column;
    height: auto;
    display: flex;
    display: -ms-flexbox;
    user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    flex: 1 1 auto !important;
    -ms-flex: 1 1 auto !important;
}

.input_text {
    padding: 4px;
    width: 100%;
    height: 35px;
    font-size: 13px;
    background-color: #ffffff;
    outline: none;
    border: 1px solid #d4d4d4;
    box-sizing: border-box;
    border-radius: 5px;
    transition: box-shadow 0.2s ease-in-out;
}

/* input 포커스 효과 */
.input_text:focus {
    box-shadow: 0px 0px 0px 2px #a3a3a3;
}

/* input 마우스 효과 */
.input_text:hover {
    box-shadow: 0px 0px 0px 2px #a3a3a3;
}

.input_select {
    font-size: 13px;
    width: 100%;
    color: #222;
    height: 35px;
    border: 1px solid #d4d4d4;
    box-sizing: border-box;
    border-radius: 5px;
}

/* padding 수정 */
.column_item {
    display: flex;
    display: -ms-flexbox;
    /* margin-bottom: 6px; */
    /* padding-bottom: 7px; */
    padding-top: 7px;
    padding-bottom: 7px;
    flex-direction: row;
    margin-right: 32px !important;
    flex: 1;
    -ms-flex: 1;
    align-items: center;
}

/* list 마우스 hover 이펙트 추가, transition 설정 */
.list_item {
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* list 마우스 hover 이펙트 추가 */
.list_item:hover {
    background-color: rgb(241, 241, 241)
}

/* 마우스 포인터 */
.mouse_pointer {
    cursor: pointer;
}

.list_flex {
    display: flex;
    flex: 1;
    padding: 5px;
    font-size: 12px;
    justify-content: center;
    align-items: center;
}

.list_header {
    font-size: 17px;
    font-weight: bold;
    justify-content: center;
}

.btn_div {
    margin-right: 30px;
    text-align: right;
}

.btn {
    font-size: 13px;
    border: none;
    outline: none;
    display: inline-block;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 1.5;
    border-radius: 0;
    background-image: linear-gradient(to right, #646464, #555555, #555555, #373737);
    background-position: 0% 50%;
    background-size: 400%;
    color: white;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, opacity 0.15s ease-in-out, background-position 0.2s ease-in-out;
}

.btn:disabled {
    opacity: 0.3;
}

.btn:hover:not(:disabled) {
    background-position: -50% 50%;
}

/* 이전 버튼 스타일 */
/* .btn_default {
    font-size: 15px;
    border: none;
    outline: none;
    display: inline-block;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 1.5;
    border-radius: 10px;

    box-shadow: 1px 2px 3px 0px #a3a3a3;
    opacity: 0.8;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, opacity 0.2s ease-in-out, background-position 0.2s ease-in-out;

    font-family: 'NanumSquare', sans-serif !important;
} */

.btn_default {
    border: none;
    outline: none;

    display: inline-block;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;

    font-size: 15px;
    line-height: 1.5;

    padding-left: 14px;
    padding-right: 14px;
    padding-top: 8px;
    padding-bottom: 8px;

    background-color: #66615b;
    border-radius: 3px;
    cursor: pointer;
    color: #fff;

    box-shadow: 1px 2px 3px 0px #a3a3a3;
    transition: all 0.15s linear;

    font-family: 'NanumSquare', sans-serif !important;
}

/* 버튼 hover 이펙트 추가 */
.btn_default:hover {
    background-color: #403d39 !important;
    color: #fff;
}

/* 버튼 색깔 속성 추가 */
.btn-success {
    background-color: #6bd098;
    color: #fff;
}

/* 버튼 색깔 속성 추가 */
.btn-success:hover {
    background-color: #44c47d !important;
    color: #fff;
}

/* 버튼 색깔 속성 추가 */
.btn-danger {
    background-color: #ef8157;
    color: #fff;
}

.btn-danger:hover {
    background-color: #eb6532 !important;
    color: #fff;
}

/* 버튼 색깔 속성 추가 */
.btn-warning {
    background-color: #fbc658;
    color: #fff;
}

.btn-warning:hover {
    background-color: #ffc107 !important;
    color: #fff;
}

/* 버튼 색깔 속성 추가 */
.btn-blue {
    background-color: #51bcda;
    color: #fff;
}

/* 버튼 색깔 속성 추가 */
.btn-blue:hover {
    background-color: #51a8da !important;
    color: #fff;
}


/* 버튼 크기 속성 추가 */
.btn-small {
    font-size: 12px;
    padding: 5px;
    line-height: 1em;
}

/* 버튼 크기 속성 추가 */
.btn-midium {
    font-size: 1rem;
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 8px;
    padding-bottom: 8px;

    line-height: 1.35em;
}

/* 버튼 크기 속성 추가 */
.btn-large {
    font-size: 15px;
    padding: 11px 22px;
    line-height: 1.5;
}

.green {
    background-color: #34b5a4;
    color: white;
}

.gray {
    background-color: #a3a3a3;
    color: white;
}

.black {
    background-color: #3f3030;
    color: white;
}

.red {
    background-color: #ff5353;
    color: white;
}

.list_btn {
    margin: 0px;
    border: 0px;
    cursor: pointer;
}

/* select 디자인 및 화살표 없애기 */
select {
    width: 100%;
    height: 100%;
    padding: 5px !important;
    border: 1px solid #999;
    font-family: 'Nanumgothic';
    background: url('../../images/etc/dropdown_arrow.png') no-repeat 98% 50%;
    border-radius: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    transition: box-shadow 0.2s ease-in-out;
    font-family: 'NanumSquare', sans-serif !important;
}

/* 화살표 없애기 for IE10, 11*/
select::-ms-expand {
    display: none
}

/* select 마우스 효과 */
select:focus {
    outline: none;
    box-shadow: 0px 0px 0px 2px #a3a3a3;
}

/* select 마우스 효과 */
select:hover {
    box-shadow: 0px 0px 0px 2px #a3a3a3;
}

/* 버튼 마진 분리 그냥 각각 처리 */
/* .Attendance_Card .btn_default{
    margin-bottom: 10px;
} */

/* placeholder 스타일 적용 */
input::-webkit-input-placeholder {
    color: #999;
    font-style: italic;
}

input:-ms-input-placeholder {
    color: #999;
    font-style: italic;
}

textarea::-webkit-input-placeholder {
    color: #999;
    font-weight: bold;
}

textarea:-ms-input-placeholder {
    color: #999;
    font-weight: bold;
}

input::placeholder {
    color: #999;
    font-style: italic;
    opacity: 0.5;
}

textarea::placeholder {
    color: #999;
    font-weight: bold;
    opacity: 0.5;
}

/* textarea 사이즈 조절 불가 */
textarea {
    resize: none;
}


/* 그룹, 클래스 레이아웃 수정 */
.group-class-wrap {
    display: flex;
    flex-direction: row;
    /* height: 600px; */
}

/* 그룹, 클래스 레이아웃 수정 */
.groupwrap {
    flex:1 1 540px;
}

/* 그룹, 클래스 레이아웃 수정 */
.classwrap {
    flex-grow: 1;
}

/* 스크롤 바 */
/* .tableWrapper{
    overflow-y: hidden;
} */

/* 체크박스 디자인 */
input[type="checkbox"] {
    display: none;
}

input[type="checkbox"]+label {
    display: inline-block;
    min-width: 18px;
    min-height: 18px;
    border: 2px solid #bcbcbc;
    cursor: pointer;
}

input[type="checkbox"]:checked+label {
    background-color: #666666;
}

/* 툴팁 디자인 설정 */
.tippy-tooltip {
    background-color: rgba(50, 50, 50, 0.9);

    padding-top: 4px !important;
    padding-bottom: 4px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.tippy-popper[x-placement^=top] .tippy-arrow {
    border-top: 8px solid rgba(50, 50, 50, 0.9);
}

.tippy-popper[x-placement^=bottom] .tippy-arrow {
    border-bottom: 8px solid rgba(50, 50, 50, 0.9);
}

.tippy-popper[x-placement^=left] .tippy-arrow {
    border-left: 8px solid rgba(50, 50, 50, 0.9);
}

.tippy-popper[x-placement^=right] .tippy-arrow {
    border-right: 8px solid rgba(50, 50, 50, 0.9);
}

/* 메모 영역 설정 */
.memo_item {
    white-space: nowrap;
    display: inline-block;
    width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

/* SweetAlert 디자인 설정 */
.swal2-popup {
    width: 36em !important;
    padding: 12px !important;
    border-radius: 0.25rem !important;
}

.swal2-content {
    word-break: keep-all;
    font-size: 1em !important;
    font-weight: normal !important;
}

.swal2-validation-message {
    margin-top: 12px;
}

/* 필수 입력 박스 */
.necessary_area {
    /* ie에서 색 안먹음 */
    /* border: 2px solid rgba(255, 0, 0, 0.356); */
    border-radius: 5px;
}

.necessary {
    color: red;
}

#span_keypad_chk {
    color: red;
}

#span_card_chk {
    color: red;
}

/* 상품 div */
.product_div {
    display: flex;
    /* flex: 1; */
    flex-grow: 1;
    flex-shrink: 1;
    flex-direction: column;
    padding: 10px;
    margin: 10px;
    font-size: 12px;
    justify-content: center;
    align-items: center;
    border: 1px solid black;
    cursor: pointer;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* 상품 div hover 이펙트 추가 */
.product_div:hover {
    background-color: rgb(241, 241, 241)
}

.product_header {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
    flex-grow: 1;
    justify-content: center;
}

.product_name {
    display: flex;
    flex-grow: 1;
    font-size: 18px;
    font-weight: bold;
    justify-content: center;
}

.product_img {
    width: 170px;
    height: 170px;
}

.drag-prevent {
    -ms-user-select: none;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

/* a tag 스타일 */
.download_link {
    margin-right: 10px
}

.download_link:link {
    font-size: 18px;
    color: #4b70fd;
    text-decoration: underline;
    text-underline-position: under;
}

.download_link:visited {
    color: #8c59b9;
}

/* 댓글 스타일 */
.reply_div {
    border-bottom: solid 1px rgb(204, 204, 204)
}

.reply_div>p {
    margin: 10px;
}

.re_reply_div {
    padding-left: 20px;
}

.re_reply_div>p {
    margin: 10px;
}

.reply_span {
    font-size: 16px;
    font-weight: bold;
}

.reply_group {
    margin: 5px 0;
    padding: 0 20px;
    /* border-radius: 10px; */
    /* border: 1px solid rgb(204, 204, 204) */
}