:root{
    --ButtonWidth:45%;
    --ButtonHeight:45px;
}


#save {
    right: 0;
    position: absolute;
    width: var(--ButtonWidth);
    height: var(--ButtonHeight);
}
.layer > * {
    /*height: fit-content;*/
}
/*input {*/
/*    width: 100%;*/
/*}*/
.write_controllbox {
    margin: 0;
    padding: 0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    list-style: none;
}
.write_option {
    display: inline-block;
    text-align: center;
    line-height: 30px;
    width: 100%;
    padding: 0;
    /*margin: 2px;*/
    margin-top: 5px;
    margin-bottom: 5px;
    align-content: center;
    top: 0;
    bottom: 0;
    color: black;
    /*background: #40404564;*/
    position: relative;
    border: 1px solid #ccc;
    height: var(--ButtonHeight);
    border-radius: 10px;
    background: #fafbfc;
}

#location_field {
    line-height: initial;
    height: initial;
}
/*#title_field {*/
/*font-size: 20px;*/
/*}*/

.pop_layer .pop_container {
    padding: 20px 25px;
}

.pop_layer p.ctxt {
    color: #666;
    line-height: 25px;
}

.pop_layer .btn_r {
    width: 100%;
    margin: 10px 0 20px;
    padding-top: 10px;
    border-top: 1px solid #DDD;
    text-align: right;
}

.pop_layer {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 410px;
    height: auto;
    background-color: #fff;
    border: 5px solid #3571B5;
    z-index: 10;
}

.dim_layer {
    display: none;
    position: fixed;
    _position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.dim_layer .dimBg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .5;
    filter: alpha(opacity=50);
}

.dim_layer .pop_layer {
    display: block;
}

a.btn_layerClose {
    display: inline-block;
    height: 25px;
    padding: 0 14px 0;
    border: 1px solid #304a8a;
    background-color: #3f5a9d;
    font-size: 13px;
    color: #fff;
    line-height: 25px;
}

a.btn_layerClose:hover {
    border: 1px solid #091940;
    background-color: #1f326a;
    color: #fff;
}
.post_layer {
    height: 100%;
    place-content: space-between;
    place-items: stretch;
    display: grid;
    gap: 10px;
    /*grid-auto-rows: minmax(200px, auto);*/
    grid-template-columns: repeat(auto-fill, minmax(200px, auto));
    width: 100%;

}
.post_item {
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    border-radius: 10px;
    background: #F0F0F524;
}
#postId {
    display: none;
}

#writeDate {
    text-align: right;
}
.post_attr {
    display: block;
    padding: 5px;
}
#content{
    overflow: hidden;
    overflow-y: hidden;
    overflow-x: hidden;
}
/*#editor {*/
/*    border: 1px solid #393b42;*/
/*    padding: 1px;*/
/*    border-radius: 10px;*/
/*    background: #00000044;*/
/*}*/

.ql-font-sans-serif { font-family: Arial, Helvetica, sans-serif; }
.ql-font-serif { font-family: Georgia, serif; }
.ql-font-monospace { font-family: "Courier New", monospace; }
.ql-font-arial { font-family: Arial, sans-serif; }
.ql-font-georgia { font-family: Georgia, serif; }
.ql-font-comic-sans-ms { font-family: "Comic Sans MS", cursive, sans-serif; }
.ql-font-courier-new { font-family: "Courier New", Courier, monospace; }
.ql-font-roboto {
    font-family: 'Roboto', sans-serif;
}
.ql-font-playfair-display {
    font-family: 'Playfair Display', serif;
}


/* Quill 툴바 기본 정렬 및 스타일 통합 */
.ql-toolbar.ql-snow {
    display: flex;
    flex-wrap: wrap;           /* 툴바 요소가 넘칠 경우 줄바꿈 */
    align-items: center;
    gap: 8px;                  /* 아이콘과 버튼 간 간격 */
    padding: 8px 12px;
    border-radius: 10px 10px 0 0;
    background: #fafbfc;
}

#editor.ql-container.ql-snow {
    display: flex;
    flex-wrap: wrap;           /* 툴바 요소가 넘칠 경우 줄바꿈 */
    align-items: center;
    gap: 8px;                  /* 아이콘과 버튼 간 간격 */
    padding: 8px 12px;
    border-radius: 10px 10px 10px 10px;
    background: #fafbfc;
}

/* 툴바 내 각 툴 그룹 사이 구분선 및 여백 */
.ql-toolbar.ql-snow > span.ql-formats:not(:last-child) {
    border-right: 1px solid #ddd;
    margin-right: 18px;
    padding-right: 10px;
}

/* 폰트 선택기 및 드롭다운 스타일 */
.ql-toolbar .ql-picker-label,
.ql-toolbar .ql-picker {
    min-width: 2em;
    height: 2.2em;
    display: flex;
    align-items: center;
}

/* 툴바 버튼 스타일 */
.ql-toolbar button {
    min-width: 32px;
    height: 32px;
    margin: 0 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}
