@charset "utf-8";
/* 친효스킨 Ver 1.2 */
/* 제작자 : 친절한효자손 */
/* e-mail : rgy0409@gmail.com */

:root {
    --mainColor: #555; /* 메인 색상 */
    --subColor: #E5E5E5; /* 서브 색생 */
    --footerColor: #555; /* 푸터 색상 */
    --mouseHoverColor: #f00; /* 마우스 올렸을 때 변하는 색상 */
    --contentsLocation: right; /* right: 사이드바 왼쪽, 본문 오른쪽 (기본값) || left: 사이드바 오른쪽, 본문 왼쪽 */
    --containerLocation: auto; /* none: 블로그 왼쪽정렬 || auto: 블로그 가운데정렬 (기본값) */
}

.rgy-index-infeedAdsense {
    display: block; /* block: 인피드 광고 보이기 || hidden: 숨기기 */
}

* {
    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;
}

/*본문 링크*/
.tx-link {
    color: #4271C9;
}

.tx-link:hover {
    color: #f00;
}

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

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

.tx-quote-tistory p a {
    color: #4271C9;
}

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

/*본문 접기 및 펼치기*/
.moreless_fold,
.moreless_top,
.moreless_bottom {
    padding: 10px;
    border: 2px dashed rgba(40, 127, 173, 0.3);
    font-weight: bold;
    color: #287fad;
}

.moreless_fold::before {
    content:"\f055";
    font-family: "FontAwesome";
}

.moreless_top::before,
.moreless_bottom::before {
    content:"\f056";
    font-family: "FontAwesome";
}

.moreless_bottom::before {
    margin-right: 5px;
}

.moreless_content {
    padding: 10px;
    border-left: 2px dashed rgba(40, 127, 173, 0.3);
    border-right: 2px dashed rgba(40, 127, 173, 0.3);
}

/*티스토리 유튜브 플러그인*/
.tt-youtube-plugin {
    width: 100%;
}

.tt-youtube-plugin iframe {
    width: 100% !important;
}

/*티스토리 본문 아이프레임 (유튜브)*/
.tt_article_useless_p_margin > p iframe {
    width: 100% !important;
}

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


/* 친효애드온 : 본문 중간 수동 링크 */
.rgyLink a {
    display: block;
    padding: 5px 0;
    margin: 5px 10px;
    font-size: 17px;
    color: #2775a5;
    text-decoration: none;
}

.rgyLink a:hover {
    color: #333;
    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;
}

/* 본문 중간 수동 링크 끝 */


/* 친효애드온 : 첨부파일 */
.tt_article_useless_p_margin > p > span.imageblock > a,
.tt_article_useless_p_margin > #rgyImg > p > span.imageblock > a {
    display: inline-block;
    padding: 10px 20px;
    max-width: 100%;
    height: auto;
    font-size: 18px;
    font-weight: bold;
    color: #414141;
    text-align: center;
    text-transform: uppercase;
    vertical-align: middle;
    background: #eee;
    box-shadow: 0 0 10px 0 #ccc;
    transition: all 0.15s;
}

.tt_article_useless_p_margin > p > span.imageblock > a:hover,
.tt_article_useless_p_margin > #rgyImg > p > span.imageblock > a:hover {
    color: #fff;
    box-shadow: 0 0 25px 0 #f00;
    background: #333;
}

.tt_article_useless_p_margin > p > span.imageblock > a::before,
.tt_article_useless_p_margin > #rgyImg > p > span.imageblock > a::before {
    display: inline-block;
    padding-right: 17px;
    margin-right: 10px;
    border-right: 2px dashed #aaa;
    box-sizing: border-box;
    content: "\f019";
    font-family: "FontAwesome";
    font-size: 30px;
    font-weight: normal;
    vertical-align: middle;
}

.tt_article_useless_p_margin > p > span.imageblock > a img,
.tt_article_useless_p_margin > #rgyImg > p > span.imageblock > a img {
    display: none !important;
}

/* 친효애드온 : 첨부파일 끝 */


/* 친효애드온 : TIP박스 */
.rgyInfo {
    position: relative;
    border: 3px solid red;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 10px;
    margin: 0 20px;
    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: red;
}

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

.rgyInfo .rgyInfo-circle .bottomDiv2 {
    z-index: 8;
    border: 5px solid red;
    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;
    line-height: 20px;
}

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

/*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;
}

/* 엑셀표 스타일 끝 */


/* 친효애드온 : 관련글 모듈 */
.rgyTextBox {
    overflow: hidden;
    padding: 10px;
    box-shadow: 5px 5px 15px 0 #555;
}

.rgyTextBox > p {
    overflow: hidden;
    width: 99%;
    background-color: #f00;
    background-color: var(--mouseHoverColor);
}

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

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

.rgyTextBox > p:hover a {
    box-sizing: border-box;
    font-weight: bold;
    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: #ddd;
}

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

/*관련글 끝*/


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

.index-list-content:hover {
    border: 1px solid #f00;
}

.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;
    border-bottom: 30px solid var(--mainColor);
    color: #fff;
}

.index-list-content:hover .rgy-index-more {
    border-left: 40px solid transparent;
    border-bottom: 30px solid #f00;
    border-bottom: 30px solid var(--mouseHoverColor);
}

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

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

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

.index-list-content .index-mobile {
    display: block;
}

.index-list-content .rgy-index-img {
    display: block;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    border: 1px solid #ccc;
}

.index-list-content .rgy-index-img .rgy-index-img-frame {
    min-height: 142px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}

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

.index-list-content .tit_post {
    display: block;
    padding: 0;
    margin: 0 0 10px;
    font-size: 15px;
    color: #254b80;
}

.index-list-content .txt_post {
    display: none;
}

.index-list-content .detail_info {
    font-size: 10px;
}

.index-list-content .detail_info .link_cate {
    color: #555;
}

.index-list-content .detail_info .txt_bar {
    margin-left: 10px;
    color: #aaa;
}

.index-list-content .detail_info .link_cate i,
.index-list-content .detail_info .txt_bar i {
    margin-right: 5px;
}

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

/*인덱스페이지 끝*/


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

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

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

#contents .paging-wrap .paging .numbox .num .selected {
    margin: 0 -5px;
    padding: 0 5px;
    color: #fff;
    background-color: #555;
    background-color: var(--mainColor);
}

/*페이징 끝*/


/*헤더 시작*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 60px;
    z-index: 10;
    background-color: #555;
    background-color: var(--mainColor);
}

header .blog-title {
    position: absolute;
    display: block;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
}

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

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

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

header .menu {
    display: none;
    position: absolute;
    top: 60px;
    z-index: 5;
    width: 100%;
    border-top: 3px dashed #fff;
    background-color: #555;
    background-color: var(--mainColor);
}

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

header .menu .search {
    width: 100%;
    padding: 10px;
    border-bottom: 3px dashed #fff;
}

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

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

header .menu .search input[type="text"] {
    width: 90%;
    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 {
    width: 100%;
    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;
    color: var(--mainColor);
    background-color: #fff;
}
/*헤더 끝*/


/*최상단 애드센스 시작*/
#topAdss {
    display: none;
}

@media (min-width: 768px) {
    #topAdss {
        display: block !important;
        padding: 0 20px;
    }
}

/*최상단 애드센스 끝*/


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

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

/*본문 콘텐츠 시작*/
/*검색결과*/
#contents .searchList {
    padding: 7px 0;
    margin-bottom: 20px;
    border-top: 1px solid #555;
    border-top: 1px solid var(--subColor);
    border-bottom: 1px solid #555;
    border-bottom: 1px solid var(--subColor);
    text-align: center;
    color: #888;
}

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

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

/*공지사항 글*/
#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;
}

/*본문 타이틀 상단*/
#contents {
    width: 100%;
    margin-top: 70px;
    margin-bottom: 20px;
}

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

/*본문 타이틀 제목*/
#contents .titleWrap h2 {
    padding: 20px 10px;
    border-top: 1px solid #ccc;
    border-top: 1px solid var(--subColor);
    border-bottom: 1px solid #ccc;
    border-bottom: 1px solid var(--subColor);
    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;
}

#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 #ccc;
    border-top: 1px solid var(--subColor);
    color: #333;
}

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

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

/*본문*/
#contents .article {
    padding: 10px;
    line-height: 1.6em;
    border: 1px solid #ccc;
    border: 1px solid var(--subColor);
}

#contents .article h1,
#contents .article h2,
#contents .article h3,
#contents .article h4,
#contents .article h5,
#contents .article h6 {
    padding: 5px;
    margin: 20px 0;
    border-bottom: 3px solid #555;
    border-left: 15px solid #555;
    color: #555;
}

#contents .article h1 {
    font-size: 27px;
}

#contents .article h2 {
    font-size: 25px;
}

#contents .article h3 {
    font-size: 23px;
}

#contents .article h4 {
    font-size: 21px;
}

#contents .article h5 {
    font-size: 19px;
}

#contents .article h6 {
    font-size: 17px;
}

#contents .article .imageblock {
    display: block;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.8);
}

#contents .article .imageblock img {
    display: block;
    padding: 0;
    margin: 0;
}

#contents .article .imageblock .cap1 {
    padding: 10px;
    font-style: italic;
    font-size: 14px;
    color: #555;
    background-color: #eee;
}

#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 10px;
    border: 1px solid #E5E5E5;
    border: 1px solid var(--subColor);
}

#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 .area_related {
    padding: 10px;
    margin: 10px 10px 30px;
    border: 1px solid #E5E5E5;
}

#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 {
    position: relative;
    display: block;
    min-height: 90px;
    margin: 5px 0;
    padding: 5px;
    border: 1px solid #ccc;
}

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

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

#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: 150px;
    height: 80px;
    border: 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%;
}

#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;
}

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

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

/*관련글 끝*/


/*댓글 시작*/
/*댓글 갯수*/
#contents .re-count {
    margin: 0 5px 10px;
    padding: 5px;
}

#contents .re-count span a {
    padding: 10px;
    border: 1px solid #ccc;
}

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

#contents .comment h3 {
    display: block;
    padding: 10px;
    font-weight: bold;
    font-size: 13px;
    color: #555;
}

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

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

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

#contents .comment .commentWrite textarea {
    width: 100%;
    min-height: 50px;
}

#contents .comment .commentWrite .reBtn {
    display: block;
    padding: 10px;
    border: none;
    margin-left: auto;
    color: #444;
    background-color: #ddd;
    cursor: pointer;
}

#contents .comment .commentWrite .reBtn:hover {
    color: #fff;
    background-color: #f00;
    background-color: var(--mouseHoverColor);
}

/*댓글 리스트*/
#contents .commentList .rgy-rewrite-window {
    padding: 10px 10px 20px;
    margin: 10px;
    border: 1px solid #E5E5E5;
}

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

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

#contents .commentList .rgy-rewrite-window .rgy-rewrite-img .re-image {
    width: 60px;
    height: 60px;
    border: 1px solid #eee;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-info {
    float: left;
    margin-left: 10px;
    margin-top: 10px;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-info .re-name {
    font-size: 15px;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-info .re-date {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    color: #555;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-info .re-date::before {
    content: "\f017";
    font-family: "Font Awesome 5 Free";
    font-weight: 500;
    font-size: 10px;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-info .re-date a {
    margin-left: 10px;
    color: #f00;
}

#contents .commentList .rgy-rewrite-window .rgy-rewrite-info .re-name img {
    display: none;
}

#contents .commentList .rgy-rewrite-window p {
    padding: 5px 0;
    font-size: 15px;
    line-height: 25px;
}

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

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

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

#contents .commentList .rgy-rewrite-window .re-control .re-btn a {
    padding: 10px;
    font-size: 13px;
    background-color: #ccc;
}

#contents .commentList .rgy-rewrite-window .re-control .re-btn a:hover {
    color: #fff;
    background-color: #f00;
    background-color: var(--mouseHoverColor);
}

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

/*댓글에 대한 답글 리스트*/
#contents .commentList .rgy-rewrite-window2 {
    position: relative;
    padding-left: 50px;
}

#contents .commentList .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 .commentList .rgy-rewrite-window2 .rgy-div-re-icon i {
    position: absolute;
    top: 5px;
    left: -45px;
    color: #fff;
}

/*댓글 끝*/


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

#contents .guest .guest-title {
    padding-bottom: 7px;
    margin-bottom: 20px;
    border-bottom: 1px solid #555;
    border-bottom: 1px solid var(--subColor);
    text-align: center;
}

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

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

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

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

#contents .guest .guestWrite .rgy-guestbook-secret {
    margin: 5px 0;
}

#contents .guest .guestWrite textarea {
    width: 100%;
    min-height: 50px;
}

#contents .guest .guestWrite .guestBtn {
    display: block;
    padding: 10px;
    border: none;
    margin-left: auto;
    color: #444;
    background-color: #ccc;
    cursor: pointer;
}

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

#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 0 10px 10px;
}

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

#contents .guestList .rgy-rewrite-window .rgy-rewrite-info .name a {
    font-size: 17px;
    color: #224ea2;
}

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

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

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

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

#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;
    font-size: 13px;
    background-color: #ccc;
}

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

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

#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;
}

/*본문 콘텐츠 끝*/


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

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

/*사이드바 모듈 제목*/
#sidebar aside .rgy-sidebar-title {
    width: 100%;
    border: 1px solid #555;
    border: 1px solid var(--mainColor);
}

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

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

#sidebar aside .rgy-sidebar-content 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 {
    color: red;
    color: var(--mouseHoverColor);
}

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

/*사이드바 애드센스*/
#sidebar aside .rgy-sidebar-adss {
    padding: 10px;
    margin: 0;
}

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

#sidebar aside .blogInfo li.blogInfo-text {
    padding-top: 15px;
    border-top: 1px solid #ccc;
}

#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-top: 5px;
}

/*글보관함*/
#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: red;
    color: var(--mouseHoverColor);
}

/*달력*/
#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 #ccc;
    border-bottom: 1px solid #ccc;
}

#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;
}


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

#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 #ccc;
    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: red;
    color: var(--mouseHoverColor);
}

/*카테고리 끝*/
/*사이드바 끝*/


/*푸터 시작*/
#footer {
    clear: both;
    width: 100%;
    text-align: center;
    color: #fff;
    background-color: #555;
    background-color: var(--footerColor);
}

#bottomAdss > div {
    max-width: 1200px;
    padding: 0 0 20px;
    margin: 0 auto;
    text-align: center;
}

#footer p {
    font-size: 12px;
}

#footer p.copyright {
    padding: 17px 0 5px;
}

#footer p.designby {
    padding-bottom: 15px;
}

#footer p a {
    color: yellow;
}

/*푸터 끝*/


@media (min-width:420px) {
    header .menu .search {
        float: left;
        width: 40%;
        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;
    }

    .index-list-content .tit_post {
        padding: 0;
        margin: 0;
        font-size: 17px;
        color: #254b80;
    }

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

    .index-list-content .detail_info {
        font-size: 12px;
    }
}

@media (min-width:500px) {

    #contents .area_related .list_related li a.link_related {
        min-height: 132px;
    }

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

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

    #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;
        background: #ccc;
    }
}

@media (min-width:600px) {
    .index-list-content .rgy-index-img {
        float: left;
        width: 30%;
        height: auto;
        margin-right: 10px;
    }
    
    .index-list-content .tit_post {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        word-wrap: break-word;
    }
}

@media (min-width:768px) {
    #contents {
        margin-top: 20px;
    }

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

    #topAdss {
        display: block !important;
        padding: 0 20px;
    }

    .index-list-content .rgy-index-text {
        padding: 10px 0;
    }

    .index-list-content .rgy-index-more {
        border-left: 60px solid transparent;
        border-bottom: 50px solid #555;
        border-bottom: 50px solid var(--mainColor);
    }

    .index-list-content:hover .rgy-index-more {
        border-left: 60px solid transparent;
        border-bottom: 50px solid #f00;
        border-bottom: 50px solid var(--mouseHoverColor);
    }

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

@media (min-width:1000px) {
    header .blog-title {
        left: 20px;
        width: calc(100%-470px);
        overflow: hidden;
    }

    header .mobile-btn {
        display: none;
    }

    header .menu {
        display: block !important;
        top: 5px;
        right: 0;
        width: 470px;
        border-top: none;
    }

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

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

    header .menu .button {
        max-width: 200px;
    }

    #container {
        max-width: 1200px;
        margin-right: auto;
        margin-left: auto;
        margin-left: var(--containerLocation);
    }

    #contents {
        float: right;
        float: var(--contentsLocation);
        width: 71.7%;
    }

    #sidebar {
        float: left;
        width: 28.3%;
    }
}
