@charset "utf-8";

/* font */
@font-face {
    font-family: "Pretendard-Regular";
    src: url("https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Pretendard-Medium";
    src: url("https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Pretendard-Light";
    src: url("https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Light.woff") format("woff");
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "Pretendard-Bold";
    src: url("https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Pretendard-SemiBold";
    src: url("https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-SemiBold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
}

/* Reset 추가함*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Reset */
html {
    overflow-y: scroll;
}

body {
    margin: 0;
    padding: 0;
    font-size: 14px;
    height: 100%;
    font-family: "Noto Sans CJK KR", sans-serif;
    font-weight: 400;
}

html,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
img,
dl,
dt,
dd,
p {
    margin: 0;
    padding: 0;
    border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 1em;
}

article,
aside,
details,
figcaption,
figure,
footer,
hgroup,
menu,
nav,
section {
    display: block;
}

header ul,
nav ul,
footer ul,
figure {
    margin: 0;
    padding: 0;
    list-style: none;
}

legend {
    position: absolute;
    font-size: 0;
    line-height: 0;
    text-indent: -9999em;
    overflow: hidden;
}

label,
input,
button,
select,
img {
    vertical-align: middle;
}

input,
button {
    margin: 0;
    padding: 0;
    border: 1px solid #ddd;
}

button,
input[type="button"],
input[type="submit"] {
    cursor: pointer;
}

input[type="text"],
input[type="password"],
input[type="submit"],
input[type="image"],
button {
    border-radius: 0;
    -webkit-appearance: none;
    box-sizing: border-box;
}

textarea {
    border-radius: 0;
    -webkit-appearance: none;
    resize: none;
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: "Noto Sans CJK KR", sans-serif;
}

p {
    margin: 0;
    padding: 0;
    word-break: break-all;
}

a:link,
a:visited {
    color: inherit;
    text-decoration: none;
}

ul,
ol,
li {
    list-style: none;
    padding: 0;
    margin: 0;
}

input,
button,
textarea,
select {
    font-family: "Noto Sans KR", sans-serif;
    outline: none;
}

.clear {
    clear: both;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

button {
    background: none;
    border: none;
}

table {
    table-layout: fixed;
    border-collapse: collapse;
}

/*사파리 버튼 초기화*/
input[type="text"],
input[type="password"],
input[type="button"],
input[type="submit"],
textarea {
    -webkit-appearance: none;
    -webkit-border-radius: 0;
}

.write_wrap .w_lab {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 500;
}

.write_wrap .i_wrap .input {
    width: 100%;
    height: 45px;
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    padding: 0 15px;
    box-sizing: border-box;
    font-size: 16px;
}

.write_wrap .textarea {
    width: 100%;
    border: 1px solid #d6d6d6;
    box-sizing: border-box;
    padding: 15px;
    height: 250px;
    border-radius: 5px;
    font-size: 16px;
}

.write_wrap .f_block {
    margin-bottom: 10px;
}

.write_wrap .f_block:last-child {
    margin-bottom: 0;
}

.write_wrap .f_block .file {
    display: none;
}

.write_wrap .f_block .f_lab {
    width: 120px;
    height: 40px;
    line-height: 40px;
    background: #f9f9f9;
    text-align: center;
    border: 1px solid #d6d6d6;
    font-size: 14px;
}

.write_wrap .f_block .filename {
    width: calc(100% - 120px);
    height: 40px;
    padding: 0 15px;
    box-sizing: border-box;
    border-color: #d6d6d6;
    border-left: 0;
    font-size: 16px;
}

.write_wrap .box {
    width: 110px;
    height: 110px;
    border: 1px solid #d6d6d6;
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    margin-right: 5px;
    border-radius: 5px;
}

.write_wrap .box:last-child {
    margin-right: 0;
}

.write_wrap .file {
    display: none;
}

.write_wrap .p_box {
    display: block;
    width: 100%;
    height: 100%;
    margin-bottom: 5px;
}

.write_wrap .p_box .grid img {
    width: auto;
    max-width: 200%;
}

.write_wrap .p_box .grid .empty {
    width: 24px;
}
