@charset "utf-8";
@import url('style.css');

/* 요소 */
select, input[type="text"],
textarea, input[type="file"] {
    border-radius: 10px;
	letter-spacing: -0.3px;
    font-family: 'NanumSquare' !important;
    font-size: 12px !important;
}

select, input[type="text"],
textarea {
	color: #444 !important;
}

textarea {
	max-width: 100% !important;
	padding: 8px 10px !important;
}

input::placeholder, textarea::placeholder {
    color: #bbb;
}

input[type="text"] {
	min-height: 35px !important;
}

input[type="file"] {
    width: 200px;
	background: #333 !important;
	color: var(--color-text) !important;
}

textarea#wr_3, textarea#wr_4, textarea#wr_5, textarea#wr_6, textarea#wr_7 {
    height: 200px;
}

div#preview {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.preview-img {
    border-radius: 10px;
}

/* 전반적인 디자인 */
.cha-write-box {
	display: flex;
    flex-direction: column;
    gap: 20px;
	font-family: 'Pretendard-Regular';
    margin: 0 auto;
    border: 1px solid #707070;
    border-radius: 10px;
    padding: 30px;
    background-color: #222;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
	margin-bottom: 10px;
}

.form-group {
	display: flex;
    flex-direction: column;
	flex: 1;
}

.text-text {
	display: flex;
	gap: 5px;
}

.title-text {
    font-family: 'Pretendard-Regular';
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 3px;
    color: #eee;
}


/* 세부 디자인 */
.cha-option, .cha-name {
    display: flex;
    gap: 15px;
}

.cha-etc {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.wr_color {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    padding: 0px 2px;
    border: 0;
    background: transparent;
}

.upload-info {
    display: flex;
    align-items: center;
    font-family: 'NanumSquare';
    font-size: 13px;
    background: var(--color-comment-bg);
    padding: 20px;
    border-radius: 15px;
    margin: 10px 0px;
	line-height: 1.5;
}

.cha-upload-area {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.cha-upload {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cha-img-upload {
}

.cha-body-option {
    display: flex;
	gap: 5px;
}

.cha-upload.전신 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.dropzone-body {
    display: flex;
    min-width: 200px;
    height: 50px;
    border-radius: 15px;
    margin: 10px 0px;
    border: 2px dashed #aaa;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 30px;
    font-family: 'ChosunGu';
	flex: 1;
}

.dropzone-body span {
    font-size: 10px;
}

div#body-url-inputs {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    flex: 1;
    align-content: flex-start;
    justify-content: flex-start;
    gap: 5px;
	margin: 10px 0px;
}

div#preview-body {
    display: flex;
    gap: 10px;
}

.existing-file-preview {
    display: flex;
    box-sizing: border-box;
    width: 100px;
    height: 100px;
}

div#preview-thumb .existing-file-preview, div#preview-head .existing-file-preview, div#preview-sd .existing-file-preview {
    width: 50px;
    height: 50px;
}

div#preview-thumb .existing-file-preview .preview-item, div#preview-head .existing-file-preview .preview-item, div#preview-sd .existing-file-preview .preview-item {
    width: 50px;
    height: 50px;
}


.preview-item {
    display: flex;
    box-sizing: border-box;
    width: 100px;
    height: 100px;
}

.preview-img {
	object-fit: cover;
}

.dropzone {
    display: flex;
    min-width: 200px;
    height: 50px;
    border-radius: 10px;
    border: 2px dashed #aaa;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 30px;
    font-family: 'ChosunGu';
    flex: 0.5;
    padding: 10px;
}

.dropzone span {
    font-size: 10px;
}

a.ui-btn.new_win {
border-radius: 10px;
    background: var(--color-bg1) !important;
    border: 2px groove #000 !important;
    width: 40px !important;
    padding: 0 !important;
	font-size: 14px !important;
    line-height: 24px !important;
}

.profile {
	display: flex;
	gap: 5px;
}

.text-content-option {
    display: flex;
    gap: 5px;
    align-items: center;
    height: 30px;
}

.text-content-container {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.view-content-container {
	display: flex;
    flex-direction: column;
    flex: 1;
}

.view-content-container .title-text {
    height: 30px;
    display: flex;
    align-items: center;
}


.text-content {
    height: 600px;
}

.text-content textarea{
    height: 100%;
}

.wr_viewer {
    background: var(--color-bg1);
    color: var(--color-text);
    border-radius: 10px;
    height: 600px;
    padding: 20px;
    text-align: justify;
    line-height: 1.7;
    white-space: pre-line;
    font-family: 'Chosunilbo_myungjo';
    font-size: 12px;
	box-sizing: border-box;
    overflow: scroll;
}