@charset "utf-8";
/*
    친효스킨 Ver 2.0
    제작자 : 친절한효자손
    블로그 : https://rgy0409.tistory.com
    e-mail : rgy0409@gmail.com
*/


/* ================= 웹폰트 시작 ================= */
@font-face {
    font-family: "IropkeBatang";
    font-style: normal;
    font-weight: 400;
    src: url('./images/IropkeBatangM.woff') format('woff');
}

@font-face {
    font-family: "D2Coding";
    font-style: normal;
    font-weight: 400;
    src: url('./images/D2Coding.ttc') format('opentype');
}

/* =================웹폰트 끝================= */


/* =================공통 시작================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font: 17px 'Nanum Gothic', sans-serif;
}

a {
    text-decoration: none;
    color: #404040;
}

li {
    list-style: none;
}

/* 빈 공간 추가 */
.rgy-empty {
    padding: 10px;
}

/* 접근성 */
.sr-only {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    border: 0;
    clip: rect(0, 0, 0, 0);
}

/* =================공통 끝================= */


/* ================ 다음 애드핏 ================ */
.kakao_ad_area {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}


/* ========== 새로운 글쓰기 에디터 시작 ========== */
/* 티스토리 본문 이미지 (새로운 글쓰기 에디터) */
.article > figure.imageblock.alignCenter,
.tt_article_useless_p_margin > figure.imageblock.alignCenter,
div#toc-contents > figure.imageblock.alignCenter {
    margin: 25px auto 10px !important;
}

.article > figure.imageblock > span > img,
.tt_article_useless_p_margin > figure.imageblock > span > img,
div#toc-contents > figure.imageblock > span > img {
    border: 1px solid #eee !important;
}

.article > figure.imageblock figcaption,
.tt_article_useless_p_margin > figure.imageblock figcaption,
div#toc-contents > figure.imageblock figcaption {
    margin-top: -10px !important;
    padding: 10px !important;
    font-style: italic !important;
    color: #777 !important;
    background-color: #eee !important;
}

figure.imageslideblock figcaption {
    margin-top: -30px;
    font-style: italic;
}

/* 더보기 및 접기 (새로운 글쓰기 에디터) */
div[data-ke-type='moreLess'],
#tt-body-page div[data-ke-type='moreLess'] {
    position: relative;
}

div[data-ke-type='moreLess'] .btn-toggle-moreless,
#tt-body-page div[data-ke-type='moreLess'] .btn-toggle-moreless {
    padding: 3px 20px !important;
    border-radius: 20px !important;
    color: #fff !important;
    background-color: #555;
    transition: all 0.2s !important;
}

div[data-ke-type='moreLess'] .btn-toggle-moreless::after,
#tt-body-page div[data-ke-type='moreLess'] .btn-toggle-moreless::after {
    content: "";
    position: absolute;
    display: block;
    top: 13px;
    left: 0;
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #555;
    z-index: -1;
}

div[data-ke-type='moreLess'] .btn-toggle-moreless:hover,
#tt-body-page div[data-ke-type='moreLess'] .btn-toggle-moreless:hover {
    background-color: #FF5544;
}

div[data-ke-type='moreLess'] .btn-toggle-moreless:hover::after,
#tt-body-page div[data-ke-type='moreLess'] .btn-toggle-moreless:hover::after {
    border-color: #FF5544;
}

div[data-ke-type='moreLess'].open .moreless-content,
#tt-body-page div[data-ke-type='moreLess'].open .moreless-content {
    padding: 10px 15px;
    margin: 10px 0;
    background-color: #555;
}

div[data-ke-type='moreLess'].open .moreless-content::after,
#tt-body-page div[data-ke-type='moreLess'].open .moreless-content::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-top: 20px solid #333;
    border-right: 20px solid #fff;
    z-index: 1;
}

div[data-ke-type='moreLess'].open .moreless-content > p,
#tt-body-page div[data-ke-type='moreLess'].open .moreless-content > p {
    font-size: 14px;
    color: #fff;
    padding: 3px 0;
    border-bottom: 1px dashed #888;
}

/* 본문 인용구1 스타일 (새로운 글쓰기 에디터) */
blockquote[data-ke-style='normal'],
blockquote[data-ke-style='style2'] {
    border-left: 20px solid #eee;
    padding: 10px 5px;
}

/* 본문 링크 삽입 (새로운 글쓰기 에디터) */
.article > p > a,
.tt_article_useless_p_margin > p > a,
div#toc-contents > p > a {
    padding: 0 5px;
    color: #1D67B1;
}

.article > p > a::before,
.tt_article_useless_p_margin > p > a::before,
div#toc-contents > p > a::before {
    content: "\f0c1";
    margin-right: 3px;
    font-family: "FontAwesome";
    font-weight: 400;
    vertical-align: middle;
    color: #1D67B1;
}

.article > p > a:hover,
.tt_article_useless_p_margin > p > a:hover,
.article > p > a:hover::before,
.tt_article_useless_p_margin > p > a:hover::before,
div#toc-contents > p > a:hover,
div#toc-contents > p > a:hover::before {
    color: #FF5544;
}

/* 본문 맨 아래 공감버튼 관련 (새로운 글쓰기 에디터) */
.article > div.container_postbtn,
.tt_article_useless_p_margin > div.container_postbtn,
div#toc-contents > div.container_postbtn {
    padding: 35px 0 10px;
}

/* 코드블럭 (새로운 글쓰기 에디터)*/
.article > pre,
.tt_article_useless_p_margin > pre,
div#toc-contents > pre {
    margin: 10px 0;
    word-break: break-all;
    white-space: pre-wrap;
    word-wrap: normal;
}

.article > pre > code,
.tt_article_useless_p_margin > pre > code,
div#toc-contents > pre > code {
    padding: 10px;
    font-family: "D2Coding";
    font-size: 16px;
}

/* 첨부파일 (새로운 글쓰기 에디터) */
.article > figure.fileblock,
.tt_article_useless_p_margin > figure.fileblock,
div#toc-contents > figure.fileblock {
    position: static !important;
    margin: 20px 0 !important;
    border: none !important;
    width: 100% !important;
    height: 100% !important;
    font-family: 'NanumGothic' !important;
}

.article > figure.fileblock a,
.tt_article_useless_p_margin > figure.fileblock a,
div#toc-contents > figure.fileblock a {
    position: relative !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    -webkit-transform: translateX(-50%) !important;
    display: inline-block !important;
    height: auto !important;
    border-radius: 10px !important;
    background-color: #555 !important;
    transition: all 0.2s !important;
}

.article > figure.fileblock a:hover,
.tt_article_useless_p_margin > figure.fileblock a:hover,
div#toc-contents > figure.fileblock a:hover {
    background-color: #FF5544 !important;
}

.article > figure.fileblock a::after,
.tt_article_useless_p_margin > figure.fileblock a::after,
div#toc-contents > figure.fileblock a::after,
#tt-body-page figure.fileblock a::after {
    display: none !important;
}

.article > figure.fileblock a div.image,
.tt_article_useless_p_margin > figure.fileblock a div.image,
div#toc-contents > figure.fileblock a div.image {
    display: none !important;
}

.article > figure.fileblock a div.desc,
.tt_article_useless_p_margin > figure.fileblock a div.desc,
div#toc-contents > figure.fileblock a div.desc {
    position: static !important;
}

.article > figure.fileblock a div.desc::after,
.tt_article_useless_p_margin > figure.fileblock a div.desc::after,
div#toc-contents > figure.fileblock a div.desc::after {
    background-image: none !important;
}

.article > figure.fileblock a div.desc div.filename,
.tt_article_useless_p_margin > figure.fileblock a div.desc div.filename,
div#toc-contents > figure.fileblock a div.desc div.filename {
    height: auto !important;
    padding: 5px 10px !important;
    margin: 0 !important;
    color: #fff !important;
    text-overflow: clip !important;
    white-space: normal !important;
    overflow: visible !important;
}

.article > figure.fileblock a div.desc div.filename span.name,
.tt_article_useless_p_margin > figure.fileblock a div.desc div.filename span.name,
div#toc-contents > figure.fileblock a div.desc div.filename span.name {
    display: inline-block !important;
    max-width: 100% !important;
    height: 100% !important;
    padding: 5px 20px 7px !important;
    font-size: 20px !important;
    font-weight: bold !important;
    vertical-align: middle !important;
    text-align: center !important;
    text-overflow: clip !important;
    white-space: normal !important;
    overflow: visible !important;
}

.article > figure.fileblock a div.desc div.filename span.name::before,
.tt_article_useless_p_margin > figure.fileblock a div.desc div.filename span.name::before,
div#toc-contents > figure.fileblock a div.desc div.filename span.name::before {
    margin-right: 10px !important;
    content: "\f019" !important;
    font-family: "FontAwesome" !important;
    font-size: 25px !important;
    font-weight: normal !important;
    color: #fff !important;
    vertical-align: middle !important;
}

.article > figure.fileblock a div.desc div.size,
.tt_article_useless_p_margin > figure.fileblock a div.desc div.size,
div#toc-contents > figure.fileblock a div.desc div.size {
    height: auto !important;
    margin-top: -5px !important;
    border-radius: 0 0 10px 10px !important;
    font-size: 11px !important;
    color: #fff !important;
    text-align: center !important;
    background-color: #555 !important;
    filter: brightness(0.8) !important;
    -webkit-filter: brightness(0.8) !important;
    -moz-filter: brightness(0.8) !important;
    -ms-filter: brightness(0.8) !important;
    -o-filter: brightness(0.8) !important;
    transition: all 0.2s !important;
}

.article > figure.fileblock a:hover div.desc div.size,
.tt_article_useless_p_margin > figure.fileblock a:hover div.desc div.size,
div#toc-contents > figure.fileblock a:hover div.desc div.size {
    background-color: #FF5544 !important;
    filter: brightness(0.8) !important;
    -webkit-filter: brightness(0.8) !important;
    -moz-filter: brightness(0.8) !important;
    -ms-filter: brightness(0.8) !important;
    -o-filter: brightness(0.8) !important;
}

/* ========== 새로운 글쓰기 에디터 끝 ========== */


/* ============= 친효애드온 시작 ============= */
/* 친효애드온 : 본문 목차 목록 모듈 (TOC) 시작 */
div.rgyList,
div#rgyTOC {
    position: relative;
    padding: 10px;
    border-top: 10px solid #FF5544;
    background-color: #e5e5e5;
}

div.rgyList::after,
div#rgyTOC::after {
    position: absolute;
    content: "<LIST>";
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    font-size: 1.3em;
    font-family: 'Nanum Pen Script';
    font-style: italic;
    color: #FF5544;
    letter-spacing: 5px;
}

div.rgyList li,
div#rgyTOC li {
    list-style-type: none !important;
}

div.rgyList > ol > li:first-child,
div.rgyList > ul > li:first-child,
div#rgyTOC > ol > li:first-child,
div#rgyTOC > ul > li:first-child {
    border-top: 1px dashed #FF5544;
}

div.rgyList > ol > li a,
div.rgyList > ul > li a,
div#rgyTOC > ol > li a,
div#rgyTOC > ul > li a {
    position: relative;
    display: block;
    padding: 0 20px 0 10px;
    border-bottom: 1px dashed #FF5544;
    font-size: 14px;
    color: #555 !important;
}

div.rgyList > ol > li a::after,
div.rgyList > ul > li a::after,
div#rgyTOC > ol > li a::after,
div#rgyTOC > ul > li a::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    right: 10px;
    content: "\f078";
    font-family: "FontAwesome";
    font-size: 11px;
    color: #555;
}

div.rgyList > ol > li a:hover,
div.rgyList > ul > li a:hover,
div.rgyList > ol > li a:hover::after,
div.rgyList > ul > li a:hover::after,
div#rgyTOC > ol > li a:hover,
div#rgyTOC > ul > li a:hover,
div#rgyTOC > ol > li a:hover::after,
div#rgyTOC > ul > li a:hover::after {
    color: #FF5544 !important;
}

div.rgyList > ol > li > ol > li > a,
div.rgyList > ul > li > ul > li > a,
div#rgyTOC > ol > li > ol > li > a,
div#rgyTOC > ul > li > ul > li > a {
    padding-left: 15px;
}

div.rgyList > ol > li > ol > li > ol > li > a,
div.rgyList > ul > li > ul > li > ul > li > a,
div#rgyTOC > ol > li > ol > li > ol > li > a,
div#rgyTOC > ul > li > ul > li > ul > li > a {
    padding-left: 55px;
}

div.rgyList > ol > li > ol > li > ol > li > ol > li > a,
div.rgyList > ul > li > ul > li > ul > li > ul > li > a,
div#rgyTOC > ol > li > ol > li > ol > li > ol > li > a,
div#rgyTOC > ul > li > ul > li > ul > li > ul > li > a {
    padding-left: 95px;
}

div.rgyList > ol > li > ol > li > a::before,
div.rgyList > ul > li > ul > li > a::before,
div.rgyList > ol > li > ol > li > ol > li > a::before,
div.rgyList > ul > li > ul > li > ul > li > a::before,
div.rgyList > ol > li > ol > li > ol > li > ol > li > a::before,
div.rgyList > ul > li > ul > li > ul > li > ul > li > a::before,
div#rgyTOC > ol > li > ol > li > a::before,
div#rgyTOC > ul > li > ul > li > a::before,
div#rgyTOC > ol > li > ol > li > ol > li > a::before,
div#rgyTOC > ul > li > ul > li > ul > li > a::before,
div#rgyTOC > ol > li > ol > li > ol > li > ol > li > a::before,
div#rgyTOC > ul > li > ul > li > ul > li > ul > li > a::before {
    content: "└";
    margin-right: 5px;
    font-weight: bold;
    vertical-align: middle;
}

/* 친효애드온 : 포스트잇 모듈 (마크1) 시작 */
div.rgyPostIt {
    position: relative;
    display: inline-block;
    padding: 20px 45px 20px 15px;
    margin: 5px 0;
    border: 1px solid #f8f861;
    border-left: 30px solid #f8f861;
    border-bottom-right-radius: 60px 10px;
    font-family: 'Nanum Pen Script';
    font-size: 27px;
    color: #555;
    word-break: break-all;
    background: #ffff88;
    background: -moz-linear-gradient(-45deg, #ffff88 81%, #ffff88 82%, #ffff88 82%, #ffffc6 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(81%, #ffff88), color-stop(82%, #ffff88), color-stop(82%, #ffff88), color-stop(100%, #ffffc6));
    background: -webkit-linear-gradient(-45deg, #ffff88 81%, #ffff88 82%, #ffff88 82%, #ffffc6 100%);
    background: -o-linear-gradient(-45deg, #ffff88 81%, #ffff88 82%, #ffff88 82%, #ffffc6 100%);
    background: -ms-linear-gradient(-45deg, #ffff88 81%, #ffff88 82%, #ffff88 82%, #ffffc6 100%);
    background: linear-gradient(135deg, #ffff88 81%, #ffff88 82%, #ffff88 82%, #ffffc6 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff88', endColorstr='#ffffc6', GradientType=1);
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

div.rgyPostIt::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 35px;
    width: 150px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0);
    box-shadow: 2px 35px 5px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 2px 35px 5px rgba(0, 0, 0, 0.4);
    transform: matrix(-1, -0.1, 0, 1, 0, 0);
    -webkit-transform: matrix(-1, -0.1, 0, 1, 0, 0);
    -moz-transform: matrix(-1, -0.1, 0, 1, 0, 0);
    -ms-transform: matrix(-1, -0.1, 0, 1, 0, 0);
    -o-transform: matrix(-1, -0.1, 0, 1, 0, 0);
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

div.rgyPostIt:hover {
    border-bottom-right-radius: 75px 30px;
}

div.rgyPostIt:hover::after {
    box-shadow: 2px 37px 7px rgba(0, 0, 0, 0.37);
}

div.rgyPostIt > p {
    padding: 5px 0 !important;
}

div.rgyPostIt > p::before {
    content: "\f198";
    margin-right: 7px;
    font-family: "FontAwesome";
    font-weight: normal;
    font-size: 20px;
    vertical-align: middle;
}

div.rgyPostIt > p > a {
    color: #555;
}

/* 포스트잇 모듈 (마크1) 끝 */

/* 친효애드온: 커스텀 DIV박스 */
.rgyBG,
.rgyBG2,
.rgyBG3,
.rgyBG4,
.rgyBG5 {
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    word-break: normal;
    font-size: 1em;
}

.rgyBG {
    font-family: "D2Coding";
    line-height: 1.3em;
    color: #eee;
}

.rPre {
    padding-top: 0;
    padding-bottom: 20px;
    white-space: pre-wrap;
    -webkit-white-space: pre-wrap;
    -moz-white-space: pre-wrap;
    -ms-white-space: pre-wrap;
    -o-white-space: pre-wrap;
    background-color: #333;
}

.rgyBG2 {
    color: #333;
    background: #EFEFBB;
    background: -webkit-linear-gradient(to right, #D4D3DD, #EFEFBB);
    background: linear-gradient(to right, #D4D3DD, #EFEFBB);
}

.rgyBG3 {
    color: #fff;
    background: #b92b27;
    background: -webkit-linear-gradient(to right, #1565C0, #b92b27);
    background: linear-gradient(to right, #1565C0, #b92b27);
}

.rgyBG4 {
    color: #333;
    background: #A1FFCE;
    background: -webkit-linear-gradient(to right, #FAFFD1, #A1FFCE);
    background: linear-gradient(to right, #FAFFD1, #A1FFCE);
}

.rgyBG5 {
    color: #fff;
    background: #3a6186;
    background: -webkit-linear-gradient(to right, #89253e, #3a6186);
    background: linear-gradient(to right, #89253e, #3a6186);
}

/* 검정 DIV박스 */
.rgyBG-Black,
.rBLACK,
.rBK {
    background-color: #333;
}

/* 빨강 DIV박스 */
.rgyBG-Red,
.rRED,
.rRD {
    background-color: #FF5544;
}

/* 파랑 DIV박스 */
.rgyBG-Blue,
.rBLUE,
.rBE {
    background-color: #007AAE;
}

/* 친효애드온 : 사이드바 배지 시작 */
.rgyBadge {
    display: inline-block;
    margin-left: 5px;
    width: 8px;
    height: 8px;
    line-height: 8px;
    border-radius: 50%;
    background-color: #FF5544;
    transition: all 0.2s;
}

#sidebar aside .rgy-sidebar-title li a:hover .rgyBadge,
#sidebar aside .rgy-sidebar-content li a:hover .rgyBadge,
#sidebar aside .rgy-sidebar-content-recommend li a:hover .rgyBadge {
    transform: scale(1.35);
    -webkit-transform: scale(1.35);
}

/* 사이드바 배지 끝 */

/* 친효애드온: 형광펜모드 - 본문 글씨 두껍게 스타일 시작 */
.rgy-chAddOn-articleBoldOn .tt_article_useless_p_margin > p > b,
.rgy-chAddOn-articleBoldOn .article > p > b,
.rgy-chAddOn-articleBoldOn div#toc-contents > p > b {
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: normal;
    color: rgba(0, 0, 0, 0.8);
    background-color: rgba(80, 255, 0, 0.3);
}

.rgy-chAddOn-articleBoldOff .article > p > b,
.rgy-chAddOn-articleBoldOff .tt_article_useless_p_margin > p > b,
.rgy-chAddOn-articleBoldOff div#toc-contents > p > b {
    font-weight: bold;
}

/* 형광펜모드 - 본문 글씨 두껍게 끝 */

/* 친효애드온 : TOP버튼 시작 */
.rgy-topbtnmobilehide-on #topBtn,
.rgy-topbtnmobilehide-off #topBtn {
    display: none;
    position: fixed;
    right: 0;
    bottom: 50%;
    transform: translateY(50%);
    -webkit-transform: translateY(50%);
    z-index: 9999;
}

.rgy-topbtnmobilehide-mleft #topBtn {
    display: none;
    position: fixed;
    bottom: 50%;
    transform: translateY(50%);
    -webkit-transform: translateY(50%);
    z-index: 9999;
}

.rgy-topbtnmobilehide-on #topBtn ul li,
.rgy-topbtnmobilehide-off #topBtn ul li,
.rgy-topbtnmobilehide-mleft #topBtn ul li {
    position: relative;
    width: 20px;
    height: 100px;
    font-size: 0.6rem;
    line-height: 100px;
    text-align: center;
    border: 1px solid #fff;
    background-color: rgba(85, 85, 85, 1);
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

.rgy-topbtnmobilehide-on #topBtn ul li:hover,
.rgy-topbtnmobilehide-off #topBtn ul li:hover,
.rgy-topbtnmobilehide-mleft #topBtn ul li:hover {
    background-color: rgba(255, 85, 68, 1);
}

.rgy-topbtnmobilehide-on #topBtn ul li a,
.rgy-topbtnmobilehide-off #topBtn ul li a,
.rgy-topbtnmobilehide-mleft #topBtn ul li a {
    display: block;
    color: #fff;
}

.rgy-topbtnmobilehide-on #topBtn ul li a.rgyTop,
.rgy-topbtnmobilehide-off #topBtn ul li a.rgyTop,
.rgy-topbtnmobilehide-mleft #topBtn ul li a.rgyTop {
    font-size: 1rem;
    cursor: pointer;
}

.rgy-topbtnmobilehide-on #topBtn ul li .topBtn-exp,
.rgy-topbtnmobilehide-off #topBtn ul li .topBtn-exp,
.rgy-topbtnmobilehide-mleft #topBtn ul li .topBtn-exp {
    display: none;
}

.rgy-topbtnmobilehide-off #topBtn {
    transform: scale(0);
    -webkit-transform: scale(0);
}

@media (min-width: 768px) {
    .rgy-topbtnmobilehide-off #topBtn {
        transform: scale(1) translateY(50%);
        -webkit-transform: scale(1) translateY(50%);
    }
}

@media (min-width: 1000px) {

    .rgy-topbtnmobilehide-on #topBtn,
    .rgy-topbtnmobilehide-off #topBtn,
    .rgy-topbtnmobilehide-mleft #topBtn {
        right: 10px;
        bottom: 60px;
        transform: translateY(0);
        -webkit-transform: translateY(0);
    }

    .rgy-topbtnmobilehide-on #topBtn ul li,
    .rgy-topbtnmobilehide-off #topBtn ul li,
    .rgy-topbtnmobilehide-mleft #topBtn ul li {
        width: 50px;
        height: 50px;
        margin: 5px;
        font-size: 1.5rem;
        line-height: 50px;
        text-align: center;
        border-radius: 5px;
    }

    .rgy-topbtnmobilehide-on #topBtn ul li:hover .topBtn-exp,
    .rgy-topbtnmobilehide-off #topBtn ul li:hover .topBtn-exp,
    .rgy-topbtnmobilehide-mleft #topBtn ul li:hover .topBtn-exp {
        transform: scaleX(1);
        -webkit-transform: scaleX(1);
    }

    .rgy-topbtnmobilehide-on #topBtn ul li a.rgyTop,
    .rgy-topbtnmobilehide-off #topBtn ul li a.rgyTop,
    .rgy-topbtnmobilehide-mleft #topBtn ul li a.rgyTop {
        font-size: 2rem;
    }

    .rgy-topbtnmobilehide-on #topBtn ul li div.topBtn-exp,
    .rgy-topbtnmobilehide-off #topBtn ul li div.topBtn-exp,
    .rgy-topbtnmobilehide-mleft #topBtn ul li div.topBtn-exp {
        display: block;
        position: absolute;
        right: 50px;
        top: 3.5px;
        width: 100px;
        height: 40px;
        line-height: 40px;
        font-size: 1rem;
        transform-origin: right;
        -webkit-transform-origin: right;
        transform: scaleX(0);
        -webkit-transform: scaleX(0);
        transition: all 0.2s;
        -webkit-transition: all 0.2s;
    }

    .rgy-topbtnmobilehide-on #topBtn ul li > div .topBtn-exp1,
    .rgy-topbtnmobilehide-off #topBtn ul li > div .topBtn-exp1,
    .rgy-topbtnmobilehide-mleft #topBtn ul li > div .topBtn-exp1 {
        position: absolute;
        width: 90px;
        border-radius: 5px;
        color: #fff;
        background-color: #555;
    }

    .rgy-topbtnmobilehide-on #topBtn ul li > div .topBtn-exp2,
    .rgy-topbtnmobilehide-off #topBtn ul li > div .topBtn-exp2,
    .rgy-topbtnmobilehide-mleft #topBtn ul li > div .topBtn-exp2 {
        position: absolute;
        top: 50%;
        right: 0;
        width: 0;
        height: 0;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 15px solid #555;
    }
}

/* TOP버튼 끝 */

/* 친효애드온 : 본문 중간 수동 링크 (마크1) 시작 */
.rgyLink a {
    display: block;
    padding: 5px 0;
    margin: 5px 10px;
    font-family: 'NanumGothic';
    font-weight: 400;
    font-size: 18px;
    color: #2775a5 !important;
    text-decoration: none;
}

.rgyLink a:hover {
    color: #333 !important;
    background: -moz-linear-gradient(left, rgba(221, 221, 221, 0.65) 0%, rgba(255, 255, 255, 0) 100%);
    background: -webkit-linear-gradient(left, rgba(221, 221, 221, 0.65) 0%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(to right, rgba(221, 221, 221, 0.65) 0%, rgba(255, 255, 255, 0) 100%);
}

.rgyLink a::before {
    content: "\f0da";
    font-family: "FontAwesome";
    margin: 0 10px;
}

/* 본문 중간 수동 링크 (마크1) 끝 */

/* 친효애드온 : 본문 중간 수동 링크 (마크2) 시작 */
.rgyLink2 {
    padding: 5px;
    font-family: "Nanum Gothic";
    font-size: 18px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    z-index: 5;
}

.rgyLink2 > p {
    position: relative;
    margin: 5px 0 !important;
    width: 100%;
    z-index: 10;
}

.rgyLink2 > p::before {
    content: "\f105";
    font-family: "FontAwesome";
    font-weight: normal;
    position: absolute;
    top: 0;
    left: 16px;
    font-size: 1.8em;
    line-height: 40px;
    color: #fff;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    z-index: 20;
}

.rgyLink2 > p::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background-color: #555;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    z-index: 15;
}

.rgyLink2 > p:hover::before {
    left: calc(100% - 25px);
    opacity: 0;
}

.rgyLink2 > p:hover::after {
    width: 100%;
    background-color: #FF5544;
}

.rgyLink2 > p > a {
    position: relative;
    display: block;
    padding: 0 45px;
    height: 40px;
    line-height: 40px;
    color: #222 !important;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    z-index: 20;
}

.rgyLink2 > p:hover > a,
.rgyLink2 > p:hover > a::before {
    color: #fff !important;
}

/* 본문 중간 수동 링크 (마크2) 끝*/

/* 친효애드온 : 본문 중간 수동 링크 (마크3) 시작 */
.rgyLink3 > p {
    overflow: hidden;
}

.rgyLink3 > p > a {
    position: relative;
    display: inline-block;
    padding: 5px 10px;
    margin: 5px;
    border-top: 5px solid #F2F2F2;
    border-left: 5px solid #F2F2F2;
    border-right: 5px solid #888;
    border-bottom: 5px solid #888;
    font-size: 15px;
    color: #555 !important;
    background-color: #DDD;
}

.rgyLink3 > p > a:active {
    top: -1px;
    left: -1px;
    border-top: 5px solid #888;
    border-left: 5px solid #888;
    border-right: 5px solid #F2F2F2;
    border-bottom: 5px solid #F2F2F2;
    color: #111 !important;
    background: #CCC;
    background: -moz-linear-gradient(-45deg, #aaaaaa 0%, #cccccc 50%, #eeeeee 100%);
    background: -webkit-linear-gradient(-45deg, #aaaaaa 0%, #cccccc 50%, #eeeeee 100%);
    background: linear-gradient(135deg, #aaaaaa 0%, #cccccc 50%, #eeeeee 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#aaaaaa', endColorstr='#eeeeee', GradientType=1);
}

/* 본문 중간 수동 링크 (마크3) 끝*/

/* 친효애드온 : 본문 중간 수동 링크 (마크4) 시작 */
.rgyLink4 {
    margin: 5px 10px;
}

.rgyLink4 > p {
    display: flex;
    -webkit-display: flex;
    align-items: center;
    -webkit-align-items: center;
    position: relative;
    top: 0;
    margin: 10px 0 !important;
    border-radius: 500px;
    box-shadow: 5px 5px 3px 1px rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 5px 5px 3px 1px rgba(0, 0, 0, 0.7);
    color: #777 !important;
    background-color: #eee;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

.rgyLink4 > p::before {
    content: "\f111";
    margin-left: 10px;
    font-family: "FontAwesome";
    color: rgba(0, 0, 0, 0.5);
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

.rgyLink4 > p:hover {
    top: -5px;
    box-shadow: 9px 9px 7px 2px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 9px 9px 7px 2px rgba(0, 0, 0, 0.4);
    color: #222 !important;
    background-color: #fff;
}

.rgyLink4 > p:hover::before {
    color: rgba(0, 0, 0, 0.2) !important;
}

.rgyLink4 > p > a {
    display: block;
    padding: 10px;
    color: inherit;
}

/* 본문 중간 수동 링크 (마크4) 끝 */

/* 친효애드온 : 본문 중간 수동 링크 (마크5) 시작*/
.rgyLink5 {
    margin: 5px 10px;
}

.rgyLink5 > p > a {
    position: relative;
    display: block;
    margin: 5px 0;
    padding: 7px 15px 7px 30px;
    border: 1px solid transparent;
    border-radius: 50px;
    font-family: "NanumGothic", sans-serif;
    color: #1D67B1;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

.rgyLink5 > p > a::before {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    padding-right: 10px;
    content: "\f105";
    font-family: "FontAwesome";
}

.rgyLink5 > p > a:hover {
    border-color: #ff5544;
    color: #ff5544;
}

/* 본문 중간 수동 링크 (마크5) 끝 */

/* 친효애드온 : 본문 중간 수동 링크 (마크6) 시작*/
.rgyLink6 {
    margin: 5px 10px;
}

.rgyLink6 > p > a {
    display: block;
    margin: 5px 0;
    padding: 7px 10px;
    font-family: "NanumGothic", sans-serif;
    color: #1D67B1;
    transition: all 0.2s;
}

.rgyLink6 > p > a::before {
    content: "\f069";
    font-family: "FontAwesome";
    margin-right: 7px;
}

.rgyLink6 > p > a:hover {
    color: #555;
    animation: rgy01 1s forwards;
}

@keyframes rgy01 {
    0% {
        transform: none;
    }

    10% {
        transform: translateY(-7px);
    }

    20% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-5px);
    }

    40% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-2px);
    }

    60% {
        transform: translateY(0px);
    }

    100% {
        transform: none;
    }
}

/* 본문 중간 수동 링크 (마크6) 끝 */

/* 친효애드온 : TIP박스 */
.rgyInfo {
    position: relative;
    border: 3px solid #FF5544;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 10px;
    margin: 0 20px;
    font-family: 'NanumGothic';
    font-weight: 400;
    text-align: justify;
}

.rgyInfo .rgyInfo-circle {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    line-height: 50px;
}

.rgyInfo .rgyInfo-circle > div {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    box-sizing: border-box;
    text-align: center;
}

.rgyInfo .rgyInfo-circle .topDiv {
    font-size: 18px;
    color: #fff;
    z-index: 10;
    background-color: #FF5544;
}

.rgyInfo .rgyInfo-circle .bottomDiv {
    z-index: 9;
    border: 5px solid #FF5544;
    animation: rgyAni01 1s infinite;
}

.rgyInfo .rgyInfo-circle .bottomDiv2 {
    z-index: 8;
    border: 5px solid #FF5544;
    animation: rgyAni01 1s 0.25s infinite;
}

@keyframes rgyAni01 {
    0% {
        transform: scale(1, 1);
        opacity: 1;
    }

    100% {
        border: 0.5px solid white;
        transform: scale(1.5, 1.5);
        opacity: 0;
    }
}

.rgyInfo .rgyInfo-text {
    display: table;
    min-height: 70px;
    margin-left: 80px;
    margin-right: 5px;
}

.rgyInfo .rgyInfo-text p {
    display: table-cell;
    vertical-align: middle;
    font-size: 15px;
    line-height: 1.4;
}

.rgyInfo .rgyInfo-text p::before {
    font-family: "FontAwesome";
    content: "\f105";
    margin-right: 5px;
    margin-left: 2px;
}

.rgyInfo .rgyInfo-text p a {
    color: #ff5544;
}

.rgyInfo .rgyInfo-text p a:hover {
    font-weight: bold;
    text-decoration: underline;
}

/* TIP박스 끝 */

/* 친효애드온 : 엑셀표 스타일 */
#rgyTable {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    border: 2px solid black;
    text-align: center;
}

#rgyTable tr,
#rgyTable th,
#rgyTable td {
    border: 1px solid black;
    padding: 5px;
}

#rgyTable tr:nth-child(2n+1) {
    background: #ffff9f;
}

#rgyTable th {
    border-bottom: 2px solid black;
    font-size: 20px;
    background: yellow;
}

/* 엑셀표 스타일 끝 */

/* 친효애드온 : 관련글 모듈 마크1 시작 */
.rgyTextBox {
    overflow: hidden;
    padding: 10px;
    border: 1px solid #eee;
    /*box-shadow: 0 0 5px 0 #888;*/
}

.rgyTextBox > p {
    overflow: hidden;
    width: 100%;
    background: -moz-linear-gradient(left, rgba(255, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 100%);
    background: -webkit-linear-gradient(left, rgba(255, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(to right, rgba(255, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fFF554400', endColorstr='#00ffffff', GradientType=1);
}

.rgyTextBox > p > a {
    display: block;
    width: 100%;
    height: auto;
    padding: 5px;
    color: #555;
    transform-origin: right;
    -webkit-transform-origin: right;
    -moz-transform-origin: right;
    -ms-transform-origin: right;
    -o-transform-origin: right;
    transition: all 0.12s;
    -webkit-transition: all 0.12s;
    -moz-transition: all 0.12s;
    -ms-transition: all 0.12s;
    -o-transition: all 0.12s;
    background-color: #F6F6F6;
}

.rgyTextBox > p > a::before {
    content: "\f105";
    font-family: "FontAwesome";
    font-weight: normal;
    margin-right: 10px;
    color: #222;
    opacity: 1;
    transition: all 0.12s;
    -webkit-transition: all 0.12s;
    -moz-transition: all 0.12s;
    -ms-transition: all 0.12s;
    -o-transition: all 0.12s;
}

.rgyTextBox > p:hover > a {
    box-sizing: border-box;
    color: #222;
    transform: scaleX(0.97);
    -webkit-transform: scaleX(0.97);
    -moz-transform: scaleX(0.97);
    -o-transform: scaleX(0.97);
    -ms-transform: scaleX(0.97);
    background-color: #ddd;
}

.rgyTextBox > p:hover > a::before {
    opacity: 0;
}

/* 관련글 모듈 마크1 끝 */

/* 친효애드온 : 관련글 모듈 마크2 시작 */
.rgyTextBox2 {
    padding: 10px;
    border: 1px solid #eee;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    z-index: 5;
}

.rgyTextBox2 > p {
    position: relative;
    width: 100%;
    padding: 5px 0;
    background-color: #F6F6F6;
    z-index: 10;
}

.rgyTextBox2 > p::after {
    content: " ";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: #FF5544;
    transform: scaleX(0);
    -webkit-transform: scaleX(0);
    transform-origin: left;
    -webkit-transform-origin: left;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    z-index: 15;
}

.rgyTextBox2 > p:hover::after {
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
}

.rgyTextBox2 > p > a {
    position: relative;
    display: block;
    width: 100%;
    padding: 5px;
    color: #222;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    z-index: 20;
}

.rgyTextBox2 > p > a::before {
    content: "\f105";
    font-family: "FontAwesome";
    font-weight: normal;
    margin-right: 10px;
    margin-left: 3px;
    color: #222;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    z-index: 20;
}

.rgyTextBox2 > p:hover > a,
.rgyTextBox2 > p:hover > a::before {
    color: #fff;
}

/* 관련글 모듈 마크2 끝 */

/* 친효애드온 : 관련글 모듈 마크3 시작 */
.rgyTextBox3 {
    padding: 10px;
    border: 1px solid #eee;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.rgyTextBox3 > p {
    overflow: hidden;
    width: 100%;
    padding: 5px 0 !important;
    background-color: #F6F6F6;
}

.rgyTextBox3 > p > a {
    position: relative;
    display: block;
    width: 100%;
    padding: 0 5px;
    color: #222;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}

.rgyTextBox3 > p > a::before {
    content: "\f105";
    font-family: "FontAwesome";
    font-weight: normal;
    margin-right: 10px;
    margin-left: 3px;
    color: #222;
}

.rgyTextBox3 > p > a::after {
    content: " ";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #FF5544;
    transform: scaleX(0);
    -webkit-transform: scaleX(0);
    transform-origin: left;
    -webkit-transform-origin: left;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}

.rgyTextBox3 > p:hover a::after {
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
}

/* 관련글 모듈 마크3 끝 */

/* 친효애드온 : 관련글 모듈 마크4 시작 */
.rgyTextBox4 {
    padding: 10px;
    border: 1px solid #eee;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.rgyTextBox4 > p {
    overflow: hidden;
    width: 100%;
    background-color: #F6F6F6;
}

.rgyTextBox4 > p > a {
    display: block;
    width: 100%;
    padding: 5px;
    color: #222;
}

.rgyTextBox4 > p > a::before {
    content: "\f105";
    font-family: "FontAwesome";
    font-weight: normal;
    margin-right: 10px;
    margin-left: 3px;
    color: #222;
}

.rgyTextBox4 > p:hover {
    border-radius: 5px;
    background-color: #FF5544;
    box-shadow: 4px 4px 10px 0.1px rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 4px 4px 10px 0.1px rgba(0, 0, 0, 0.7);
    transform: scale(1.01);
    -webkit-transform: scale(1.01);
}

.rgyTextBox4 > p:hover a,
.rgyTextBox4 > p:hover > a::before {
    color: #fff;
}

/* 관련글 모듈 마크4 끝 */

/* 친효애드온 : 관련글 마크5 시작 */
.rgyTextBox5 {
    padding: 10px;
    border: 1px solid #eee;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    z-index: 5;
}

.rgyTextBox5 > p {
    position: relative;
    width: 100%;
    padding: 5px 0;
    border-radius: 10px;
    background-color: #FF5544;
    z-index: 10;
}

.rgyTextBox5 > p::after {
    content: " ";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: #F6F6F6;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    z-index: 15;

}

.rgyTextBox5 > p:hover::after {
    transform: rotateX(90deg);
    -webkit-transform: rotateX(90deg);
}

.rgyTextBox5 > p > a {
    position: relative;
    display: block;
    width: 100%;
    padding: 5px;
    color: #222;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    z-index: 20;
}

.rgyTextBox5 > p > a::before {
    content: "\f105";
    font-family: "FontAwesome";
    font-weight: normal;
    margin-right: 10px;
    margin-left: 3px;
    color: #222;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    z-index: 20;
}

.rgyTextBox5 > p:hover > a,
.rgyTextBox5 > p:hover > a::before {
    color: #fff;
}

/* 관련글 모듈 마크5 끝 */

/* 친효애드온 : 관련글 글꼴 및 크기 설정 */
.rgyTextBox,
.rgyTextBox2,
.rgyTextBox3,
.rgyTextBox4,
.rgyTextBox5 {
    font-family: "IropkeBatang";
    font-size: 17px;
}

/* 관련글 소제목 마크1 */
.rgyTextBox > span,
.rgyTextBox2 > span,
.rgyTextBox3 > span,
.rgyTextBox4 > span,
.rgyTextBox5 > span {
    display: block;
    padding-left: 5px;
    margin-bottom: 10px;
    color: #888;
}

.rgyTextBox > span::before,
.rgyTextBox2 > span::before,
.rgyTextBox3 > span::before,
.rgyTextBox4 > span::before,
.rgyTextBox5 > span::before {
    margin-right: 7px;
    content: "\f055";
    font-family: "FontAwesome";
    font-weight: normal;
    font-size: 20px;
    color: #888;
    vertical-align: middle;
}

/* 관련글 폰트어썸 */
.rgyTextBox > p > a > i,
.rgyTextBox2 > p > a > i,
.rgyTextBox3 > p > a > i,
.rgyTextBox4 > p > a > i,
.rgyTextBox5 > p > a > i {
    margin-left: 5px;
}

/* ============= 친효애드온 끝 ============= */


/* =========== 애드센스 관련 시작 =========== */
#topAdss {
    display: none;
}

@media (min-width: 1200px) {
    #topAdss {
        display: block !important;
        margin-top: 20px;
    }
}

#bottomAdss {
    margin-top: 20px;
}

#topAdss,
#bottomAdss {
    max-width: calc(1200px - 40px);
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1200px) {

    #topAdss,
    #bottomAdss {
        padding: 0;
    }
}

/* =========== 애드센스 관련 끝 =========== */


/* ============== 커버 시작 ============== */
.rgy-cover-wrap:not(:last-child) {
    margin: 0 0 40px;
}

.rgy-cover-wrap > h1 {
    padding: 10px;
    margin: 0 20px 5px;
    border-radius: 0;
    font-size: 15px;
    color: #fff;
    background-color: #555;
}

.rgy-cover-wrap > h1 > i {
    margin-right: 5px;
}

.rgy-cover-wrap .rgy-cover-wrap-inner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 5px;
    margin: 0 20px 20px;
    border: 1px solid #555;
    border-radius: 0;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

.rgy-cover-wrap .rgy-cover-wrap-inner:hover {
    border-color: #ff5544;
}

.rgy-cover-wrap .rgy-cover-wrap-inner .rgy-cover-wrap-inner-left {
    padding: 5px;
}

.rgy-cover-wrap .rgy-cover-wrap-inner .rgy-cover-wrap-inner-left .thumnailWrap {
    overflow: hidden;
    width: 120px;
    height: 120px;
    margin-right: 10px;
    outline: 1px solid #e5e5e5;
}

.rgy-cover-wrap .rgy-cover-wrap-inner .rgy-cover-wrap-inner-left .thumnailWrap .thumnail {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    transform: scale(1);
    -webkit-transform: scale(1);
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

.rgy-cover-wrap .rgy-cover-wrap-inner:hover .rgy-cover-wrap-inner-left .thumnail {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}

.rgy-cover-wrap .rgy-cover-wrap-inner .rgy-cover-wrap-inner-right {
    padding: 5px;
}

.rgy-cover-wrap .rgy-cover-wrap-inner .rgy-cover-wrap-inner-right .rgy-cover-wrap-inner-right-top h2.title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    font-size: 15px;
    color: #254b80;
}

.rgy-cover-wrap .rgy-cover-wrap-inner .rgy-cover-wrap-inner-right .rgy-cover-wrap-inner-right-top .summary {
    display: none;
}

.rgy-cover-wrap .rgy-cover-wrap-inner .rgy-cover-wrap-inner-right .rgy-cover-wrap-inner-right-bottom > div {
    float: left;
    padding-top: 15px;
    font-size: 12px;
}

.rgy-cover-wrap .rgy-cover-wrap-inner .rgy-cover-wrap-inner-right .rgy-cover-wrap-inner-right-bottom::after {
    content: "";
    display: block;
    clear: both;
}

.rgy-cover-wrap .rgy-cover-wrap-inner .rgy-cover-wrap-inner-right .rgy-cover-wrap-inner-right-bottom .category {
    margin-right: 15px;
    color: #555;
}

.rgy-cover-wrap .rgy-cover-wrap-inner .rgy-cover-wrap-inner-right .rgy-cover-wrap-inner-right-bottom .date {
    color: #aaa;
}

.rgy-cover-wrap .rgy-cover-wrap-inner .rgy-cover-wrap-inner-right .rgy-cover-wrap-inner-right-bottom > div > i {
    margin-right: 5px;
    vertical-align: middle;
}

.rgy-cover-wrap .rgy-cover-more {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-bottom: 30px solid #555;
    color: #fff;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

.rgy-cover-wrap .rgy-cover-wrap-inner:hover .rgy-cover-more {
    border-bottom-color: #ff5544;
}

.rgy-cover-wrap-inner .rgy-cover-more i {
    position: absolute;
    right: 5px;
    bottom: -27px;
    font-size: 12px;
    color: #fff;
}

/* 커버 인피드 애드센스 */
.rgy-cover-wrap .rgy-cover-infeedAdsense {
    margin: 0 20px 20px;
}

/* =============== 커버 끝 =============== */


/* =========== 인덱스 페이지 시작 =========== */
.index-list-content {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0 20px 20px;
    border: 1px solid #555;
    border-radius: 0;
}

.index-list-content:hover {
    border-color: #FF5544;
}

.index-list-content .index-list-content-inner {
    padding: 10px;
    display: flex;
    align-items: center;
}

.index-list-content .index-list-content-inner::after {
    content: "";
    display: block;
    clear: both;
}

.index-list-content .index-list-content-inner .index-inner-left {
    display: block;
}

.index-list-content .index-list-content-inner .index-inner-left .rgy-index-img {
    position: absolute;
    z-index: 9;
}

.index-list-content .index-list-content-inner .index-inner-left .rgy-index-img2 {
    position: relative;
}

.index-list-content .index-list-content-inner .index-inner-left .rgy-index-img,
.index-list-content .index-list-content-inner .index-inner-left .rgy-index-img2 {
    float: left;
    width: 120px;
    height: 120px;
    margin-right: 15px;
    outline: 1px solid #ccc;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    filter: contrast(0.9);
    -webkit-filter: contrast(0.9);
}

.index-list-content:hover .rgy-index-img,
.index-list-content:hover .rgy-index-img2 {
    filter: contrast(1) !important;
    -webkit-filter: contrast(1) !important;
}

.index-list-content .index-list-content-inner .index-inner-right {
    float: right;
    width: calc(100% - 135px);
    padding-top: 5px;
    padding-bottom: 5px;
}

.index-list-content .index-list-content-inner .index-inner-right a.link_post {
    display: inline-block;
}

.index-list-content .index-list-content-inner .index-inner-right a.link_post h3.tit_post {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    font-size: 15px;
    color: #254b80;
}

.index-list-content .index-list-content-inner .index-inner-right a.link_post p.txt_post {
    display: none;
}

.index-list-content .index-list-content-inner .index-inner-right .detail_info {
    padding-top: 10px;
    font-size: 10px;
}

.index-list-content .index-list-content-inner .index-inner-right .detail_info i {
    margin-right: 5px;
    vertical-align: middle;
}

.index-list-content .index-list-content-inner .index-inner-right .detail_info a.link_cate {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 5px;
    color: #555;
}

.index-list-content .index-list-content-inner .index-inner-right .detail_info span.txt_bar {
    display: inline-block;
    color: #aaa;
}

.index-list-content .rgy-index-more {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-bottom: 30px solid #555;
    color: #fff;
}

.index-list-content:hover .rgy-index-more {
    border-bottom-color: #FF5544;
}

.index-list-content .rgy-index-more i {
    position: absolute;
    right: 5px;
    bottom: -27px;
    font-size: 12px;
    color: #fff;
}

/* 인덱스 페이지 인피드 애드센스 */
.rgy-index-infeedAdsense {
    margin: 0 20px 20px;
}

/* =========== 인덱스 페이지 끝 =========== */


/* ============= 페이징 시작 ============= */
#contents .paging-wrap {
    display: block;
    width: 100%;
    min-height: 20px;
    margin: 20px 0;
    text-align: center;
}

#contents .paging-wrap .paging {
    display: inline-block;
    margin: 0;
    font-size: 13px;
}

#contents .paging-wrap .paging > a {
    color: #555;
}

#contents .paging-wrap .paging .numbox .num {
    padding: 0 5px;
    color: #555;
}

#contents .paging-wrap .paging .numbox .num .selected {
    margin: 0 -5px;
    padding: 3px 5px;
    border-radius: 3px;
    color: #fff;
    background-color: #555;
}

/* ============= 페이징 끝 ============= */


/* ============= 헤더 시작 ============= */
header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    border-bottom: 1px solid #fff;
    border-radius: 0 0 0 0;
    z-index: 10;
    background-color: #555;
}

header .blog-title {
    width: 50%;
    margin-left: 10px;
    font-size: 0.5em;
    line-height: 60px;
}

header .blog-title h1 {
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

header .blog-title a {
    color: #fff;
}

header .mobile-category {
    position: absolute;
    top: 50%;
    right: 55px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

header .mobile-category a {
    display: block;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

header .mobile-btn {
    position: absolute;
    display: block;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    font-size: 35px;
    color: #fff;
    cursor: pointer;
}

header .menu {
    display: none;
    z-index: 5;
    width: 100%;
    background-color: #555;
}

header .menu::after {
    content: "";
    display: block;
    clear: both;
}

header .menu .search {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #fff;
}

header .menu .search input {
    border: 0;
    vertical-align: middle;
    background-color: #fff;
}

header .menu .search input:focus {
    outline: none;
}

header .menu .search input[type="text"] {
    width: 80%;
    height: 30px;
    padding: 5px;
    border-radius: 5px;
    font-size: 15px;
}

header .menu .search i {
    margin-left: 3px;
    font-size: 25px;
    color: #fff;
    vertical-align: middle;
    cursor: pointer;
}

header .menu .button {
    padding: 10px;
}

header .menu .button::after {
    content: "";
    display: block;
    clear: both;
}

header .menu .button ul {
    text-align: center;
}

header .menu .button ul li {
    display: inline-block;
    width: 15%;
}

header .menu .button a {
    display: block;
    padding: 5px;
    font-size: 20px;
    color: #fff;
    text-align: center;
    border-radius: 10px;
}

header .menu .button a:hover {
    border-radius: 10px;
    color: #555;
    background-color: #fff;
}

/* ============= 헤더 끝 ============= */


/* ====== 콘테이너: 본문+사이드바 시작 ====== */
#container {
    margin-top: 20px;
}

#container::after {
    content: "";
    display: block;
    clear: both;
}

/* ========== 본문 콘텐츠 시작 ========== */
/* 보호글 */
#contents .entryProtected {
    text-align: center;
}

#contents .entryProtected h2 {
    padding: 10px;
    font-size: 20px;
    border-top: 1px solid #E5E5E5;
}

#contents .entryProtected span.date {
    display: block;
    padding: 5px;
    font-size: 12px;
    color: #777;
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
}

#contents .entryProtected span.date::before {
    content: "\f017";
    font-family: "Font Awesome 5 Free";
    margin-right: 3px;
    font-weight: 500;
    font-size: 10px;
    vertical-align: middle;
}

#contents .entryProtected p.entryProtected_txt {
    padding: 20px;
    color: #FF5544;
}

#contents .entryProtected p.entryProtected_btn {
    padding: 0 20px 20px;
    color: #555;
    border-bottom: 1px solid #E5E5E5;
}

#contents .entryProtected p.entryProtected_btn label {
    font-size: 12px;
    vertical-align: middle;
}

#contents .entryProtected p.entryProtected_btn input:focus {
    outline: none;
}

#contents .entryProtected p.entryProtected_btn input.entryProtected_password {
    width: 150px;
    height: 25px;
    padding: 5px;
    border: 1px solid #aaa;
    border-radius: 5px;
    vertical-align: middle;
}

#contents .entryProtected p.entryProtected_btn input.entryProtected_submit {
    width: 40px;
    height: 25px;
    border: 1px solid #aaa;
    border-radius: 5px;
    font-size: 12px;
    vertical-align: middle;
    background-color: #E5E5E5;
}


/* =============== 검색결과 + 리스트 시작 =============== */
/* 검색결과 */
#contents .searchList {
    padding: 7px 0;
    margin-bottom: 20px;
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
    text-align: center;
    color: #888;
}

#contents .searchList h3 {
    font-size: 1em !important;
}

#contents .searchList h3 span {
    color: #222;
}

/* 리스트 */
#contents .rgyList {
    margin-bottom: 30px;
}

#contents .rgyList li.rgyList-Li {
    display: flex;
    -webkit-display: flex;
    align-items: center;
    -webkit-align-items: center;
    padding: 10px;
    margin: 0 5px;
}

#contents .rgyList li.rgyList-Li:not(:last-child) {
    border-bottom: 1px dashed #888;
}

#contents .rgyList li.rgyList-Li .rgyList-thumnail {
    flex: 0 0 40px;
    -webkit-flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#contents .rgyList li.rgyList-Li .rgyList-title {
    display: flex;
    -webkit-display: flex;
    align-items: center;
    -webkit-align-items: center;
}

#contents .rgyList li.rgyList-Li .rgyList-title a {
    display: block;
    padding: 5px;
    font-size: 15px;
}

#contents .rgyList li.rgyList-Li .rgyList-title a:hover {
    color: #FF5544;
}

#contents .rgyList li.rgyList-Li .rgyList-title a > img {
    width: 17px !important;
    height: 12px !important;
    vertical-align: baseline !important;
}

#contents .rgyList li.rgyList-Li .rgyList-title span.cnt {
    margin: 0 5px;
    font-size: 14px;
    color: #ff5544;
}

#contents .rgyList li.rgyList-Li .rgyList-info {
    display: flex;
    -webkit-display: flex;
    align-items: center;
    -webkit-align-items: center;
    margin-left: auto;
}

#contents .rgyList li.rgyList-Li .rgyList-info span.date {
    padding-left: 20px;
    font-size: 12px;
    color: #aaa;
}

/* =============== 검색결과 + 리스트 끝 =============== */


/* 공지사항 글 */
#contents .entryNotice .titleWrap .date {
    display: block;
    padding: 10px 0;
    font-size: 12px;
    color: #777;
}

#contents .entryNotice .titleWrap .date::before {
    content: "\f017";
    font-family: "Font Awesome 5 Free";
    font-weight: 500;
    font-size: 10px;
    vertical-align: middle;
}

/* 본문 타이틀 상단 */
#contents {
    width: 100%;
}

#contents .titleWrap {
    text-align: center;
}

/* 본문 타이틀 제목 */
#contents .titleWrap h2 {
    padding: 20px 10px;
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
    font-size: 20px;
}

#contents .titleWrap .into_titlewrap {
    width: 100%;
    color: #888;
}

/* 본문 타이틀 카테고리 + 작성날짜 */
#contents .titleWrap .into_titlewrap > div {
    display: inline-block;
    padding: 10px 5px;
    font-size: 12px;
}

#contents .titleWrap .into_titlewrap > div i {
    margin-right: 5px;
    vertical-align: middle;
}

#contents .titleWrap .into_titlewrap .category a,
#contents .titleWrap .into_titlewrap .date {
    color: #777;
}

/* 본문 타이틀 관리자 메뉴 : 글 관리 기능 (수정/공개/비공개/관련글/삭제) */
#contents .titleWrap .into_titlewrap .admin {
    display: block;
    width: 100%;
    padding: 10px 0;
    border-top: 1px solid #E5E5E5;
    color: #333;
}

#contents .titleWrap .into_titlewrap .admin a {
    display: inline-block;
    color: #FF5544;
}

#contents .titleWrap .into_titlewrap .admin a:not(:first-child)::before {
    content: "|";
    padding-right: 5px;
}

/* 진짜본문 (article_rep_desc) */
#contents .article {
    word-break: normal;
    -webkit-word-break: normal;
    padding: 20px;
    border: 1px solid #E5E5E5;
    border-radius: 0;
    font-family: "IropkeBatang", "Nanum Gothic", sans-serif;
    font-size: 1em;
    line-height: 1.5em;
    letter-spacing: 0;
}

/* 본문 소제목 */
#contents .article h1,
#contents .article h2,
#contents .article h3 {
    padding: 2px 5px 4px;
    margin: 20px 0;
    border-bottom: 3px solid #555;
    border-left: 15px solid #555;
    color: #555;
    line-height: 1.2;
}

#contents .article h1 {
    font-size: 1.5em;
}

#contents .article h2 {
    font-size: 1.3em;
}

#contents .article h3 {
    font-size: 1.1em;
}

#contents .article > h4,
#contents .tt_article_useless_p_margin > h4,
div#toc-contents > h4 {
    padding: 10px;
    margin: 20px 0;
    font-size: 1em;
    font-weight: normal;
    color: #fff;
    line-height: 1.2;
    background-color: #555;
}

#contents .article > h4::before,
#contents .tt_article_useless_p_margin > h4::before,
div#toc-contents > h4::before {
    content: "▶";
    margin-right: 10px;
    vertical-align: middle;
}

/* 본문 텍스트 정렬 */
#contents .article > p,
#contents .article div.tt_article_useless_p_margin > p,
#contents .article div#toc-contents > p {
    text-align: justify;
}

#contents .article > p::first-letter,
#contents .article div.tt_article_useless_p_margin > p::first-letter,
#contents .article div#toc-contents > p::first-letter {
    margin-left: 10px;
}

/* 본문 리스트 */
#contents .article > ul,
#contents .article > ol,
#contents .article div.tt_article_useless_p_margin > ul,
#contents .article div.tt_article_useless_p_margin > ol,
#contents .article div#toc-contents > ul,
#contents .article div#toc-contents > ol {
    margin-left: 30px;
}

#contents .article > ul > li,
#contents .article > ol > li,
#contents .article div.tt_article_useless_p_margin > ul > li,
#contents .article div.tt_article_useless_p_margin > ol > li,
#contents .article div#toc-contents > ul > li,
#contents .article div#toc-contents > ol > li {
    list-style: inherit !important;
    color: #4271C9;
}

#contents .article > ul > li > p > a,
#contents .article > ol > li > p > a,
#contents .article div.tt_article_useless_p_margin > ul > li > p > a,
#contents .article div.tt_article_useless_p_margin > ol > li > p > a,
#contents .article div#toc-contents > ul > li > p > a,
#contents .article div#toc-contents > ol > li > p > a {
    color: #4271C9;
}

#contents .article > ul > li:hover,
#contents .article > ol > li:hover,
#contents .article > ul > li:hover a,
#contents .article > ol > li:hover a,
#contents .article div.tt_article_useless_p_margin > ul > li:hover,
#contents .article div.tt_article_useless_p_margin > ol > li:hover,
#contents .article div.tt_article_useless_p_margin > ul > li:hover a,
#contents .article div.tt_article_useless_p_margin > ol > li:hover a,
#contents .article div#toc-contents > ul > li:hover,
#contents .article div#toc-contents > ol > li:hover,
#contents .article div#toc-contents > ul > li:hover a,
#contents .article div#toc-contents > ol > li:hover a {
    color: #FF5544;
}

/* 본문 이미지 스타일 (구버전 글쓰기 에디터) */
#contents .article > p > span.imageblock,
#contents .article div.tt_article_useless_p_margin > p > span.imageblock,
#contents .article div#toc-contents > p > span.imageblock {
    margin: 20px 0 7px;
}

/* 본문 이미지 테두리 (구버전 글쓰기 에디터) */
#contents .article > p > span.imageblock > img,
#contents .article > p > span.imageblock > span > img,
#contents .article div.tt_article_useless_p_margin > p > span.imageblock > img,
#contents .article div.tt_article_useless_p_margin > p > span.imageblock > span > img,
#contents .article div#toc-contents > p > span.imageblock > img,
#contents .article div#toc-contents > p > span.imageblock > span > img {
    display: block;
    max-width: 100%;
    padding: 0;
    margin: 0;
    outline: 1px solid #ccc;
}

#contents .article > p > span.imageblock > span.cap1,
#contents .article div.tt_article_useless_p_margin > p > span.imageblock > span.cap1,
#contents .article div#toc-contents > p > span.imageblock > span.cap1 {
    padding: 10px;
    margin-bottom: 10px;
    font-style: italic;
    font-size: 14px;
    color: #555;
    word-break: break-all;
    -webkit-word-break: break-all;
    outline: 1px solid #ccc;
    background-color: #eee;
}

/* 본문 슬라이드쇼 이미지 (구버전 글쓰기 에디터) */
#contents .article figure.imageslideblock {
    margin-bottom: -15px !important;
}

#contents .article figure.imageslideblock > div.image-container {
    width: 100% !important;
    height: auto !important;
    background-color: transparent !important;
}

#contents .article figure.imageslideblock > div.mark {
    position: relative;
    top: -14px;
}

/* 본문 표 이미지 (구버전 글쓰기 에디터) */
#contents .article table {
    width: 100%;
    border-spacing: 0;
    font-size: 14px;
}

#contents .article table > tbody > tr > td > p > span.imageblock {
    width: 100% !important;
}

#contents .article table img {
    width: 100%;
    height: 100%;
    vertical-align: middle;
    border: none;
}

/* 본문 하이퍼 링크 */
#contents .article .tx-link {
    color: #1D67B1;
}

#contents .article .tx-link:hover {
    color: #FF5544;
}

/* 본문 인용구 스타일 */
#contents .article .tx-quote-tistory {
    margin-left: 10px;
    border-left: 10px solid #4271C9;
}

#contents .article .tx-quote-tistory p {
    margin-left: 10px;
}

#contents .article .tx-quote-tistory p a {
    color: #1D67B1;
}

#contents .article .tx-quote-tistory p a:hover {
    color: #FF5544;
    border-bottom: 1px solid #FF5544;
}

/* 본문 더보기 접기 접은글 업데이트 버전 */
/* 더보기 접기 버튼 */
#contents .article button.btn_more,
#contents .article div.moreless_content button.btn_less {
    width: auto;
    height: auto;
    padding: 5px 15px;
    margin: 0;
    border: none;
    border-radius: 20px;
    font-size: 15px;
    line-height: normal;
    color: #fff;
    background-color: #555;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
}

/* 접은글 본문 */
#contents .article .moreless_content {
    padding: 20px;
    background-color: #F6F6F6;
}

#contents .article button.btn_more::before,
#contents .article div.moreless_content button.btn_less::before {
    padding-right: 0;
    margin-right: 5px;
    font-size: 15px;
    line-height: 0;
    vertical-align: baseline;
}

#contents .article button.btn_more:hover,
#contents .article div.moreless_content button.btn_less:hover {
    background-color: #FF5544;
}

/* 본문 첨부파일 스타일변경 시작 */
#contents .article > p > span.imageblock > a,
#contents .article .tt_article_useless_p_margin > p > span.imageblock > a,
#contents .article div#toc-contents > p > span.imageblock > a {
    display: inline-block;
    padding: 15px 20px;
    border-radius: 10px;
    font-family: 'NanumGothic';
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    background-color: #555;
    transition: all 0.15s;
}

#contents .article > p > span.imageblock > a:hover,
#contents .article .tt_article_useless_p_margin > p > span.imageblock > a:hover,
#contents .article div#toc-contents > p > span.imageblock > a:hover {
    background-color: #FF5544;
}

#contents .article > p > span.imageblock > a::before,
#contents .article .tt_article_useless_p_margin > p > span.imageblock > a::before,
#contents .article div#toc-contents > p > span.imageblock > a::before {
    display: inline-block;
    margin-right: 10px;
    box-sizing: border-box;
    content: "\f019";
    font-family: FontAwesome;
    font-size: 30px;
    font-weight: normal;
    vertical-align: middle;
}

#contents .article > p > span.imageblock > a img,
#contents .article .tt_article_useless_p_margin > p > span.imageblock > a img,
#contents .article div#toc-contents > p > span.imageblock > a img {
    display: none !important;
}

/* 본문 기타 */
#contents .article-bottom {
    margin: 0 20px;
}

#contents .article .another_category {
    font: 15px 'Nanum Gothic', sans-serif;
}

#contents .article .another_category h4 {
    border-left: none;
    font-size: 17px;
}

/* 본문 태그 */
#contents .tagTrail {
    padding: 10px;
    margin: 20px 0;
    border: 1px solid #E5E5E5;
    border-radius: 0;
}

#contents .tagTrail .tagText {
    font-weight: bold;
    font-size: 13px;
    color: #555;
}

#contents .tagTrail a {
    padding: 5px;
    font-size: 12px;
    color: #888;
}

#contents .tagTrail a::before {
    content: "#";
}

/* ====== 친효애드온: 본문 공유 모듈 시작 ====== */
#contents .rgyShare {
    overflow: hidden;
    margin: 20px 0;
    border: 1px solid #E5E5E5;
    border-radius: 0;
    border-radius: var(--borderRadius);
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

#contents .rgyShare h3 {
    margin: 0;
    padding: 10px;
    font-size: 13px;
    font-weight: normal;
    color: #333;
    text-align: center;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background-color: #E5E5E5;
}

#contents .rgyShare .rgyShare-inner {
    padding: 10px;
    text-align: center;
}

#contents .rgyShare .rgyShare-inner > a {
    display: inline-block;
    width: 30px;
    margin: 0 5px;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

#contents .rgyShare .rgyShare-inner > a:hover {
    filter: brightness(1.15);
    -webkit-filter: brightness(1.15);
}

#contents .rgyShare .rgyShare-inner > a > img {
    width: 100%;
    border-radius: 7px;
}

/* ====== 본문 공유 모듈 끝 ====== */

/* ============= 본문 관련글 시작 ============= */
#contents .area_related {
    padding: 10px;
    margin: 20px 0;
    border: 1px solid #E5E5E5;
    border-radius: 0;
}

#contents .area_related .tit_related {
    display: block;
    padding: 0 10px 5px;
    border-bottom: 1px solid #E5E5E5;
    font-weight: bold;
    font-size: 13px;
    color: #555;
}

#contents .area_related .list_related {
    display: block;
    margin-top: 10px;
}

#contents .area_related .list_related li a.link_related {
    overflow: hidden;
    position: relative;
    display: block;
    margin: 15px 0;
    padding: 10px;
    border: 1px solid #555;
    border-radius: 0;
}

#contents .area_related .list_related li a.link_related:last-child {
    margin-bottom: 5px;
}

#contents .area_related .list_related li a.link_related:hover {
    border: 1px solid #FF5544;
}

#contents .area_related .list_related li a.link_related::after {
    content: "";
    display: block;
    clear: both;
}

#contents .area_related .list_related li a.link_related .link-related-left {
    float: left;
    margin-right: 10px;
}

#contents .area_related .list_related li a.link_related span.thumb_related .thumb-related-img {
    width: 80px;
    height: 80px;
    outline: 1px solid #E5E5E5;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#contents .area_related .list_related li a.link_related .link-related-right {
    width: 100%;
    padding: 10px 0;
}

#contents .area_related .list_related li a.link_related .link-related-right .txt_related {
    display: block;
    font-size: 12px;
    font-weight: bold;
}

#contents .area_related .list_related li a.link_related .link-related-right .date_related {
    display: block;
    font-size: 10px;
    padding: 5px 0;
    color: #aaa;
}

#contents .area_related .list_related li a.link_related .link-related-right .date_related .fa-clock {
    font-size: 10px;
    margin-right: 5px;
    vertical-align: middle;
}

#contents .area_related .list_related li a.link_related .link-more {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 5px;
    border-top-left-radius: 0;
    font-size: 10px;
    color: #fff;
    background-color: #555;
}

#contents .area_related .list_related li a.link_related:hover .link-more {
    background-color: #FF5544;
}

/* ============= 본문관련글 끝 ============= */


/* ============= 댓글 시작 ============= */
/* 댓글 갯수 */
#contents .re-count {
    margin: 30px 0 20px;
}

#contents .re-count span a {
    padding: 10px;
    border: 1px solid #E5E5E5;
    border-radius: 5px;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

#contents .re-count span a:hover {
    color: #fff;
    background-color: #FF5544;
}

/* 댓글 남기기 */
#contents .comment {
    display: block;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #E5E5E5;
    border-radius: 0;
}

#contents .comment .comment-h3 {
    padding: 5px 0;
}

#contents .comment h3 {
    padding-bottom: 6px;
    font-weight: bold;
    font-size: 13px;
    color: #555;
}

#contents .comment .commentWrite .re3-options p {
    margin-bottom: 5px;
}

#contents .comment .commentWrite .re3-options p input {
    padding: 5px;
    border: 1px solid #777;
    border-radius: 5px;
    color: #777;
}

#contents .comment .commentWrite .re3-options p input:focus {
    outline: none;
}

#contents .comment .commentWrite div.CommentSecretWrap {
    position: relative;
    height: 30px;
    line-height: 30px;
}

#contents .comment .commentWrite div.CommentSecretWrap > label {
    position: absolute;
    display: block;
    width: 60px;
    height: 30px;
    border-radius: 15px;
    background-color: #D7D7D7;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

#contents .comment .commentWrite div.CommentSecretWrap > label > p {
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 1px 1px 3px 1px #aaa;
    -webkit-box-shadow: 1px 1px 3px 1px #aaa;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

#contents .comment .commentWrite div.CommentSecretWrap > span.rgyCommentSecretCheck {
    position: absolute;
    left: 65px;
    font-size: 13px;
    color: #41C361;
    opacity: 0;
    transform-origin: left;
    transform: scaleX(0);
    -webkit-transform: scaleX(0);
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

#contents .comment .commentWrite div.CommentSecretWrap > input:checked ~ label {
    background-color: #41C361;
}

#contents .comment .commentWrite div.CommentSecretWrap > input:checked ~ label > p {
    left: 33px;
}

#contents .comment .commentWrite div.CommentSecretWrap > input:checked ~ span.rgyCommentSecretCheck {
    opacity: 1;
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
}

#contents .comment .commentWrite textarea {
    padding: 10px;
    margin-top: 10px;
    width: 100%;
    height: 100px;
    border-radius: 0;
}

#contents .comment .commentWrite textarea::placeholder {
    color: #aaa;
}

#contents .comment .commentWrite .reBtn {
    display: block;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-left: auto;
    color: #fff;
    background-color: #555;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

#contents .comment .commentWrite textarea:focus,
#contents .comment .commentWrite .reBtn:focus {
    outline: none;
}

#contents .comment .commentWrite .reBtn:hover {
    color: #fff;
    background-color: #FF5544;
}

/* 댓글 리스트 */
#contents .commentList .rgy-reply {
    display: flex;
    flex-direction: column-reverse;
    -webkit-flex-direction: column-reverse;
}

#contents .commentList .rgy-reply > li {
    margin: 10px 0;
}

#contents .commentList .rgy-rewrite-window,
#contents .commentList .rgy-rewrite-window2 {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
    margin: 10px 0;
    border-radius: 0;
}

#contents .commentList .rgy-rewrite-window::after,
#contents .commentList .rgy-rewrite-window2::after {
    content: "";
    display: block;
    clear: both;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-window-left {
    float: left;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-window-left .re-image,
#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-left .re-image {
    width: 50px;
    height: 50px;
    border-radius: 15px;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-window-right {
    float: left;
    width: calc(100% - 60px);
    margin-left: 10px;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-window-right .rgy-rewrite-window-right-top,
#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-top {
    height: 15px;
    line-height: 15px;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-window-right .rgy-rewrite-window-right-top .re-name,
#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-top .re-name {
    font-size: 11px;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-window-right .rgy-rewrite-window-right-top .re-name img,
#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-top .re-name img {
    display: none;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-window-right .rgy-rewrite-window-right-top .re-name img,
#contents .commentList .rgy-rewrite-window .rgy-rewrite-window-right .rgy-rewrite-window-right-top .re-name a,
#contents .commentList .rgy-rewrite-window .rgy-rewrite-window-right .rgy-rewrite-window-right-top .re-name span,
#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-top .re-name img,
#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-top .re-name a,
#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-top .re-name span {
    vertical-align: middle;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-window-right .rgy-rewrite-window-right-top .re-name a:hover,
#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-top .re-name a:hover {
    color: #FF5544;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-window-right .rgy-rewrite-window-right-top .re-btn {
    margin-left: 5px;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-window-right .rgy-rewrite-window-right-top .re-btn a {
    padding: 2px;
    margin-left: -4px;
    font-size: 10px;
    color: #888;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-window-right .rgy-rewrite-window-right-top .re-btn a:hover,
#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-top .re-btn a:hover {
    color: #FF5544;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-window-right .rgy-rewrite-window-right-bottom .re-chatwindow,
#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-bottom .re-chatwindow {
    position: relative;
    display: inline-block;
    max-width: calc(100% - 70px);
    padding: 10px 15px;
    margin-top: 5px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5rem;
    background-color: #eee;
    word-break: break-all;
    -webkit-word-break: break-all;
    vertical-align: text-bottom;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-window-right .rgy-rewrite-window-right-bottom .re-chatwindow i {
    position: absolute;
    top: 5px;
    left: -19px;
    font-size: 30px;
    color: #eee;
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    clip: rect(0, 100px, 30px, 20px);
    -webkit-clip: rect(0, 100px, 30px, 20px);
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-window-right .rgy-rewrite-window-right-bottom .re-chatwindow > img,
#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-bottom .re-chatwindow > img {
    vertical-align: sub;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-window-right .rgy-rewrite-window-right-bottom .re-date,
#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-bottom .re-date {
    display: block;
    margin-top: 3px;
    font-size: 10px;
    color: #ccc;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-window-right .rgy-rewrite-window-right-bottom .re-date a,
#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-bottom .re-date a {
    margin-left: 5px;
    color: #FF5544;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-window-right .rgy-rewrite-window-right-bottom .re-date::before,
#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-bottom .re-date::before {
    content: "\f017";
    font-family: "Font Awesome 5 Free";
    font-weight: 500;
    margin-right: 3px;
    vertical-align: middle;
}

/* 댓글에 대한 답글 리스트 */
#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-left {
    float: right;
}

#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right {
    float: right;
    width: calc(100% - 60px);
    margin-right: 10px;
}

#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-top {
    text-align: right;
}

#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-top .re-btn {
    margin-right: 5px;
}

#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-top .re-btn a {
    padding: 2px;
    margin-right: -5px;
    font-size: 10px;
    color: #888;
}

#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-bottom {
    display: flex;
    -webkit-display: flex;
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    align-items: flex-end;
    -webkit-align-items: flex-end;
    flex-direction: column;
    -webkit-flex-direction: column;
}

#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-bottom .re-chatwindow {
    color: #fff;
    background-color: #555;
}

#contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-bottom .re-chatwindow i {
    position: absolute;
    top: 5px;
    right: -19px;
    font-size: 30px;
    color: #555;
    transform: rotate(-90deg) scaleY(-1);
    -webkit-transform: rotate(-90deg) scaleY(-1);
    clip: rect(0, 100px, 30px, 20px);
    -webkit-clip: rect(0, 100px, 30px, 20px);
}

/* 이전 댓글 더 보기 */
#contents .commentList .tt_more_preview_comments_wrap {
    margin: 20px;
}

#contents .commentList .tt_more_preview_comments_wrap .tt_more_preview_comments_text {
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 12px;
    color: #fff;
    background-color: #555;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

#contents .commentList .tt_more_preview_comments_wrap .tt_more_preview_comments_text:hover {
    background-color: #FF5544;
}

/* ============= 댓글 끝 ============= */


/* ============= 방명록 시작 ============= */
/* 방명록 알림 */
.rgy-guest-info {
    padding: 20px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #fff;
    background-color: #555;
}

/* 방명록 남기기 시작 */
#contents .guest {
    padding: 10px;
    border: 1px solid #E5E5E5;
    border-radius: 0;
}

#contents .guest .guest-title {
    padding-bottom: 7px;
    margin-bottom: 20px;
    border-bottom: 1px solid #E5E5E5;
    text-align: center;
}

#contents .guest h3 {
    padding: 5px;
    font-weight: bold;
    font-size: 17px;
    color: #333;
}

#contents .guest .guestList > ol > li:not(:last-child) {
    margin-bottom: 25px;
}

#contents .guest .guestWrite .guest3-options div {
    margin-bottom: 10px;
}

#contents .guest .guestWrite .guest3-options div input {
    width: 200px;
    padding: 5px;
    border: 1px solid #555;
    border-radius: 5px;
}

#contents .guest .guestWrite .guest3-options div input:focus {
    outline: none;
}

#contents .guest .guestWrite div.guestSecretWrap {
    position: relative;
    height: 30px;
    line-height: 30px;
}

#contents .guest .guestWrite div.guestSecretWrap > label {
    position: absolute;
    display: block;
    width: 60px;
    height: 30px;
    border-radius: 15px;
    background-color: #D7D7D7;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

#contents .guest .guestWrite div.guestSecretWrap > label > p {
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 1px 1px 3px 1px #aaa;
    -webkit-box-shadow: 1px 1px 3px 1px #aaa;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

#contents .guest .guestWrite div.guestSecretWrap > span.rgyGuestSecretCheck {
    position: absolute;
    left: 65px;
    font-size: 13px;
    color: #41C361;
    opacity: 0;
    transform-origin: left;
    transform: scaleX(0);
    -webkit-transform: scaleX(0);
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

#contents .guest .guestWrite div.guestSecretWrap > input:checked ~ label {
    background-color: #41C361;
}

#contents .guest .guestWrite div.guestSecretWrap > input:checked ~ label > p {
    left: 33px;
}

#contents .guest .guestWrite div.guestSecretWrap > input:checked ~ span.rgyGuestSecretCheck {
    opacity: 1;
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
}

#contents .guest .guestWrite textarea {
    padding: 10px;
    margin-top: 10px;
    width: 100%;
    height: 100px;
    border-radius: 0;
}

#contents .guest .guestWrite textarea::placeholder {
    color: #aaa;
}

#contents .guest .guestWrite .guestBtn {
    display: block;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-left: auto;
    color: #fff;
    background-color: #555;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

#contents .guest .guestWrite textarea:focus,
#contents .guest .guestWrite .guestBtn:focus {
    outline: none;
}

#contents .guest .guestWrite .guestBtn:hover {
    background-color: #FF5544;
}

/* 방명록 리스트 */
#contents .guestList .rgy-rewrite-window {
    overflow: hidden;
    padding: 10px 10px 20px;
    margin: 10px 0;
    border: 1px solid #E5E5E5;
    border-radius: 0;
    background-color: #FAFAFA;
}

#contents .guestList .rgy-rewrite-window .rgy-rewrite-window-top {
    margin-bottom: 10px;
}

#contents .guestList .rgy-rewrite-window .rgy-rewrite-window-top::after {
    content: "";
    display: block;
    clear: both;
}

#contents .guestList .rgy-rewrite-window .rgy-rewrite-info {
    margin: 10px;
}

#contents .guestList .rgy-rewrite-window .rgy-rewrite-info .name img {
    width: 60px;
    height: 60px;
    vertical-align: middle;
}

#contents .guestList .rgy-rewrite-window .rgy-rewrite-info .name a {
    margin-left: 5px;
    font-size: 17px;
    color: #224ea2;
    vertical-align: middle;
}

#contents .guestList .rgy-rewrite-window .rgy-rewrite-info .name span {
    vertical-align: middle;
}

#contents .guestList .rgy-rewrite-window .rgy-rewrite-info .date {
    margin-left: 10px;
    font-size: 11px;
    color: #777;
    vertical-align: middle;
}

#contents .guestList .rgy-rewrite-window .rgy-rewrite-info .date::before {
    content: "\f017";
    font-family: "Font Awesome 5 Free";
    font-weight: 500;
    vertical-align: middle;
}

#contents .guestList .rgy-rewrite-window .rgy-rewrite-info .date a {
    margin-left: 10px;
    color: #FF5544;
}

#contents .guestList .rgy-rewrite-window p {
    word-break: break-all;
    -webkit-word-break: break-all;
    padding: 5px 0;
    font-size: 15px;
    line-height: 25px;
}

#contents .guestList .rgy-rewrite-window p > img {
    vertical-align: sub;
}

#contents .guestList .rgy-rewrite-window .re-control {
    display: block;
}

#contents .guestList .rgy-rewrite-window .re-control::after {
    content: "";
    display: block;
    clear: both;
}

#contents .guestList .rgy-rewrite-window .re-control .re-btn {
    float: right;
    margin-top: 10px;
}

#contents .guestList .rgy-rewrite-window .re-control .re-btn a {
    padding: 10px;
    border-radius: 5px;
    font-size: 13px;
    color: #fff;
    background-color: #555;
}

#contents .guestList .rgy-rewrite-window .re-control .re-btn a.write {
    margin-left: 10px;
}

#contents .guestList .rgy-rewrite-window .re-control .re-btn a:hover {
    background-color: #FF5544;
}

/* 방명록에 대한 답글 리스트 */
#contents .guestList .rgy-rewrite-window2 {
    position: relative;
    padding-left: 50px;
    border: 1px solid #555;
    background-color: #FFF;
}

#contents .guestList .rgy-rewrite-window2 .rgy-div-re-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-bottom: 50px solid transparent;
    border-left: 50px solid #555;
}

#contents .guestList .rgy-rewrite-window2 .rgy-div-re-icon i {
    position: absolute;
    top: 5px;
    left: -45px;
    color: #fff;
}

/* ============= 방명록 끝 ============= */

/* 댓글, 방명록 리스트 p태그 안 img 이모티콘 */
.rp_admin > p > img,
.guest_admin > p > img {
    vertical-align: text-bottom;
}

/* ============ 본문 콘텐츠 끝 ============ */


/* ============ 사이드바 시작 ============ */
#sidebar {
    padding: 0 20px;
}

#contents .article li {
    list-style: block !important;
}

#sidebar > aside > div:not(:last-child) {
    margin-bottom: 20px;
}

/* 사이드바 모듈 제목 */
#sidebar aside .rgy-sidebar-title {
    overflow: hidden;
    width: 100%;
    border: 1px solid #555;
    border-radius: 0;
}

#sidebar aside .rgy-sidebar-title > h3 {
    padding: 5px;
    font-size: 15px;
    font-weight: normal;
    color: #fff;
    background-color: #555;
}

/* 사이드바 모듈 내용 */
#sidebar aside .rgy-sidebar-content ul,
#sidebar aside .rgy-sidebar-content-recommend ul {
    padding: 5px;
}

#sidebar aside .rgy-sidebar-content li,
#sidebar aside .rgy-sidebar-content-recommend li {
    font-size: 14px;
    padding: 5px;
    margin: 5px 0;
}

#sidebar aside .rgy-sidebar-content li a {
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

#sidebar aside .rgy-sidebar-content li a:hover,
#sidebar aside .rgy-sidebar-content-recommend li a:hover {
    color: #FF5544;
}

#sidebar aside .rgy-sidebar-content li a::before,
#sidebar aside .rgy-sidebar-content-recommend li a::before {
    content: "\f105";
    font-family: "FontAwesome";
    margin-right: 5px;
}

/* 추천글 모듈 내용 */
#sidebar aside .rgy-sidebar-content-recomand li a {
    display: block;
    vertical-align: middle;
}

/* 블로그정보 */
#sidebar aside .blogInfo li img {
    width: 100%;
}

#sidebar aside .blogInfo li:not(:first-child) {
    padding-top: 15px;
    border-top: 1px solid #E5E5E5;
    word-break: break-word;
}

#sidebar aside .blogInfo li.blogInfo-text p:first-child {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #172f7c;
}

#sidebar aside .blogInfo li.blogInfo-text p:last-child {
    padding: 5px 0;
}

#sidebar aside .blogInfo li.blogInfo-sns > p {
    margin-bottom: -5px;
    text-align: center;
}

#sidebar aside .blogInfo li.blogInfo-sns > p > a {
    display: inline-block !important;
    padding: 5px;
    width: 18%;
    font-size: 2.5em;
    color: #555;
}

#sidebar aside .blogInfo li.blogInfo-sns > p > a::before {
    display: none !important;
}

#sidebar aside .blogInfo li.blogInfo-sns > p > a:hover {
    color: #FF5544;
}

/* 글보관함 */
#sidebar aside .archive li .archive-date {
    padding-right: 5px;
}

/* 태그클라우드 */
#sidebar aside .tagbox ul {
    padding: 5px;
}

#sidebar aside .tagbox li {
    display: inline-block;
    font-size: 14px;
    padding: 3px;
}

#sidebar aside .tagbox li a::before {
    content: "#";
}

#sidebar aside .tagbox li a:hover {
    color: #FF5544;
}

/* 달력 */
#sidebar aside .calendar .calendar-inner {
    padding: 5px;
}

#sidebar aside .calendar .calendar-inner .tt-calendar {
    width: 100%;
    padding: 5px;
    border-collapse: collapse;
    font-size: 14px;
    text-align: center;
}

#sidebar aside .calendar .calendar-inner .cal_month {
    padding: 5px 0 10px;
    margin: 0;
    font-size: 17px;
    text-align: center;
}

#sidebar aside .calendar .calendar-inner .cal_month a:nth-child(2) {
    font-weight: bold;
}

#sidebar aside .calendar .calendar-inner .tt-calendar thead tr th.cal_week1,
#sidebar aside .calendar .calendar-inner .tt-calendar thead tr th.cal_week2 {
    padding: 5px 0;
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
}

#sidebar aside .calendar .calendar-inner .tt-calendar tbody tr.cal_week td {
    padding: 3px;
    color: #999;
}

#sidebar aside .calendar .calendar-inner .tt-calendar tbody tr.cal_week td a.cal_click {
    color: #000;
    font-weight: bold;
}

/* 방문자 카운터 */
#sidebar aside .counter li.rgy-counter-list::before {
    content: "\f105";
    font-family: "FontAwesome";
    margin-right: 5px;
}

#sidebar aside .counter li.rgy-counter-list .total {
    font-weight: bold;
}

/* 방문자 그래프 */
#sidebar aside .graph div#chartdiv {
    padding: 10px 0 0 10px;
}

#sidebar aside .graph div#chart-time {
    padding: 10px;
    margin-top: -10px;
    font-style: italic;
}

#sidebar aside .graph div#chart-time::before {
    content: "";
    display: block;
    position: relative;
    left: 0;
    top: -10px;
    padding: 0 5px;
    height: 1px;
    background-color: #e5e5e5;
}

/* ============ 카테고리 시작 ============ */
/* 카테고리 새글 표시 */
.rgy-category-new {
    padding: 1px 4px;
    margin-left: 5px;
    border-radius: 50%;
    color: #fff;
    background-color: #FF5544;
}

#sidebar aside .aside_category .tt_category {
    padding: 3px;
    font-size: 14px;
}

#sidebar aside .aside_category .tt_category .link_tit {
    position: relative;
    display: block;
    font-weight: bold;
    padding: 5px 5px 7px;
}

#sidebar aside .aside_category .tt_category .sub_category_list {
    margin-bottom: 5px;
}

/* 대메뉴 */
#sidebar aside .aside_category .tt_category .category_list .link_item {
    position: relative;
    display: block;
    padding: 8px 5px 5px;
    border-top: 1px solid #E5E5E5;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

#sidebar aside .aside_category .tt_category .category_list .link_item::before {
    content: "\f0d7";
    font-family: "Font Awesome 5 Free";
    margin-right: 5px;
    font-weight: 900;
    font-size: 16px;
}

/* 소메뉴 */
#sidebar aside .aside_category .tt_category .sub_category_list .link_sub_item {
    position: relative;
    display: block;
    padding: 5px 2px;
    margin-left: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

#sidebar aside .aside_category .tt_category .sub_category_list li .link_sub_item::before {
    content: "\f105";
    font-family: "FontAwesome";
    margin-right: 5px;
}

#sidebar aside .aside_category .tt_category .c_cnt {
    display: inline-block;
    position: absolute;
    right: 0;
    margin-right: 5px;
    font-weight: normal;
}

#sidebar aside .aside_category .tt_category a:hover {
    color: #FF5544;
}

/* ============ 카테고리 끝 ============ */
/* ============ 사이드바 끝 ============ */
/* ======= 콘테이너: 본문+사이드바 끝 ======= */


/* ============= 푸터 시작 ============= */
footer #footer {
    margin-top: 20px;
    border-radius: 0 0 0 0;
    text-align: center;
    color: #fff;
    background-color: #555;
}

footer #footer > div.footer-inner {
    padding: 10px;
}

footer #footer > div.footer-inner > p {
    padding: 2px 0;
    font-size: 12px;
}

footer #footer > div.footer-inner > p > a {
    color: #ff0;
}

footer #footer > div.footer-inner > p.copyleft a.skinver {
    font-family: "IropkeBatang";
    margin-left: 5px;
}

footer #footer > div.footer-inner > p.copyleft a.skinver:hover {
    text-shadow: 0 0 5px #ff0;
    -webkit-text-shadow: 0 0 5px #ff0;
    color: #fff;
}

/* ============= 푸터 끝 ============= */


/* ======== 반응형 미디어 쿼리 시작 ======== */
@media (min-width:420px) {

    .rgy-cover-wrap > h1 {
        font-size: 18px;
    }

    .rgy-cover-wrap .rgy-cover-wrap-inner .rgy-cover-wrap-inner-right .rgy-cover-wrap-inner-right-top h2.title {
        font-size: 17px;
    }

    .rgy-cover-wrap .rgy-cover-wrap-inner .rgy-cover-wrap-inner-right .rgy-cover-wrap-inner-right-top .summary {
        display: block;
        overflow: hidden;
        height: 2.4em;
        margin-top: 20px;
        font-size: 13px;
        line-height: 1.2;
        text-overflow: ellipsis;
        word-wrap: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .index-list-content .index-list-content-inner .index-inner-right a.link_post h3.tit_post {
        font-size: 17px;
    }

    .index-list-content .index-list-content-inner .index-inner-right a.link_post p.txt_post {
        display: block;
        overflow: hidden;
        height: 2.4em;
        margin: 15px 0;
        font-size: 13px;
        line-height: 1.2;
        text-overflow: ellipsis;
        word-wrap: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .index-list-content .index-list-content-inner .index-inner-right .detail_info {
        padding: 0;
        font-size: 12px;
    }

    header .menu .search {
        float: left;
        width: 40%;
        text-align: left;
        border-bottom: none;
    }

    header .menu .search input[type="text"] {
        width: 70%;
    }

    header .menu .button {
        float: right;
        width: 60%;
    }

    header .menu .button ul {
        float: right;
        width: 240px;
    }

    header .menu .button ul li {
        float: left;
        width: 40px;
    }
}

@media (min-width:500px) {

    #contents .area_related .list_related li a.link_related .link-related-left {
        margin-right: 15px;
    }

    #contents .area_related .list_related li a.link_related span.thumb_related .thumb-related-img {
        width: 100px;
        height: 100px;
    }

    #contents .area_related .list_related li a.link_related .link-related-right .txt_related {
        font-size: 17px;
    }

    #contents .area_related .list_related li a.link_related .link-related-right .date_related {
        font-size: 12px;
        padding: 15px 0;
    }

    #contents .area_related .list_related li a.link_related .link-more {
        position: absolute;
        right: 0;
        bottom: 0;
        padding: 10px;
        font-size: 12px;
    }
}

@media (min-width:600px) {

    #contents .rgyShare .rgyShare-inner > a {
        width: 40px;
    }

    #contents .rgyShare .rgyShare-inner > a > span {
        font-size: 12px;
    }
}

@media (min-width:768px) {

    .index-list-content .index-inner-right {
        padding: 10px 0;
    }

    .index-list-content .rgy-index-more,
    .rgy-cover-wrap .rgy-cover-more {
        border-left: 60px solid transparent;
        border-bottom: 50px solid #555;
    }

    .index-list-content .rgy-index-more i,
    .rgy-cover-wrap-inner .rgy-cover-more i {
        right: 10px;
        bottom: -45px;
        font-size: 15px;
    }

    header .blog-title {
        margin-left: 20px;
        font-size: 0.7em;
    }

    #contents {
        margin-top: 0;
    }

    #contents .rgyShare .rgyShare-inner > a {
        margin: 0 10px;
    }

    #contents .paging-wrap .paging {
        font-size: 17px;
    }

    figure.fileblock a div.desc div.filename {
        padding: 15px 20px;
    }

    figure.fileblock a div.desc div.filename span.name {
        font-size: 20px;
    }

    figure.fileblock a div.desc div.filename span.name::before {
        font-size: 30px;
    }

    figure.fileblock a div.desc div.size {
        font-size: 13px;
    }

    #contents .commentList .rgy-rewrite-window .rgy-rewrite-window-right .rgy-rewrite-window-right-bottom .re-chatwindow,
    #contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-bottom .re-chatwindow {
        max-width: calc(100% - 150px);
    }

    #contents .commentList .rgy-rewrite-window .rgy-rewrite-window-right .rgy-rewrite-window-right-bottom .re-date {
        display: inline;
    }

    #contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-bottom {
        flex-direction: row-reverse;
        -webkit-flex-direction: row-reverse;
    }

    #contents .commentList .rgy-rewrite-window2 .rgy-rewrite-window2-right .rgy-rewrite-window2-right-bottom .re-date {
        margin-right: 5px;
    }
}

@media (min-width: 1000px) {

    header .mobile-category,
    header .mobile-btn {
        display: none;
    }

    header .menu {
        position: absolute;
        display: block !important;
        top: 0;
        right: 20px;
        height: 60px;
        border-bottom: 1px solid #fff;
        width: 470px;
    }

    header .menu .search {
        width: 200px;
        padding: 14px 0;
        text-align: left;
    }

    header .menu .search input[type="text"] {
        width: 160px;
    }

    header .menu .button {
        width: 270px;
        padding: 14px 0;
    }

    /* 컨테이너 위치 및 가로 크기 */
    .rgy-sidebar-on #container,
    .rgy-sidebar-stk #container {
        max-width: 1200px;
        margin-right: auto;
    }

    .rgy-sidebar-on #container.rgy-container-center,
    .rgy-sidebar-stk #container.rgy-container-center {
        margin-left: auto;
    }

    .rgy-sidebar-on #container.rgy-container-left,
    .rgy-sidebar-stk #container.rgy-container-left {
        margin-left: none;
    }

    /* (콘텐츠 위치) 사이드바 위치 및 크기 */
    .rgy-sidebar-on #container #contents,
    .rgy-sidebar-stk #container #contents {
        width: calc(100% - 300px);
    }

    .rgy-sidebar-on #container #contents.rgy-contents-right,
    .rgy-sidebar-stk #container #contents.rgy-contents-right {
        float: right;
    }

    .rgy-sidebar-on #container #contents.rgy-contents-left,
    .rgy-sidebar-stk #container #contents.rgy-contents-left {
        float: left;
    }

    #contents .article-bottom {
        margin: 0 10px;
    }

    #contents .rgyShare .rgyShare-inner > a {
        width: 50px;
        margin: 0 15px;
    }

    .rgy-sidebar-on #container #sidebar {
        float: left;
        width: 300px;
    }

    .rgy-sidebar-stk #container #sidebar {
        position: sticky;
        position: -webkit-sticky;
        top: 20px;
        float: left;
        width: 300px;
    }

    footer #footer {
        text-align: inherit;
        height: 60px;
    }

    footer #footer > div.footer-inner {
        position: relative;
        padding: 0;
        line-height: 60px;
    }

    footer #footer > div.footer-inner > p {
        padding: 0;
    }

    footer #footer > div.footer-inner > p.copyright {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
    }

    footer #footer > div.footer-inner > p.copyleft {
        position: absolute;
        left: 10px;
    }
}

@media (min-width:1100px) {

    .rgy-sidebar-on #container #contents,
    .rgy-sidebar-stk #container #contents {
        width: calc(100% - 320px);
    }

    .rgy-sidebar-on #container #sidebar,
    .rgy-sidebar-stk #container #sidebar {
        width: 320px;
    }
}

@media (min-width:1200px) {

    .rgy-sidebar-on #container #contents,
    .rgy-sidebar-stk #container #contents {
        width: calc(100% - 340px);
    }

    #contents .article {
        font-size: 1.1em;
        line-height: 1.6em;
    }

    #contents .article-bottom {
        margin: 0;
    }

    .rgy-sidebar-on #container #sidebar,
    .rgy-sidebar-stk #container #sidebar {
        width: 340px;
    }
}

/* ======== 반응형 미디어 쿼리 끝 ======== */


/* ============== 스킨 편집 ============== */
.rgy-header-old .newWrite,
.rgy-header-new .oldWrite,
.rgy-article-adss-up1 .rgy-articleUpAD2,
.rgy-article-adss-up1 .rgy-articleUpAD3,
.rgy-article-adss-up2 .rgy-articleUpAD1,
.rgy-article-adss-up2 .rgy-articleUpAD3,
.rgy-article-adss-up3 .rgy-articleUpAD1,
.rgy-article-adss-up3 .rgy-articleUpAD2,
.rgy-article-adss-down1 .rgy-articleDownAD2,
.rgy-article-adss-down2 .rgy-articleDownAD1 {
    display: none !important;
}

.rgy-sidebar-off #container {
    max-width: 1200px;
    margin-top: 20px;
    margin-right: auto;
    margin-bottom: 0;
    padding: 0 20px;
}

.rgy-sidebar-off #container.rgy-container-center {
    margin-left: auto;
}

.rgy-sidebar-off #container.rgy-container-left {
    margin-left: none;
}

.rgy-sidebar-off #container #content {
    width: 100%;
}

.rgy-sidebar-off #container #sidebar {
    display: none;
}


/*
    블로그 : https://rgy0409.tistory.com
    e-mail : rgy0409@gmail.com
*/
