/* common */
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic&display=swap');

@font-face {
    font-family: 'NEXON Lv1 Gothic OTF';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv1 Gothic OTF.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body, html {
    margin: 0;
    color: white;
    background-color: #141617;
    font-size: medium;
    font-family: 'Nanum Gothic', sans-serif;
    overflow-x: hidden;
    white-space: normal;
    word-break: break-all;
}

a {
    text-decoration: none;
    color: dodgerblue;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: hotpink;
    
}

/* input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #000 inset;
    -webkit-text-fill-color: #fff;
}
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active { 
    transition: background-color 5000s ease-in-out 0s; 
} */

.grid_1_1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.grid_1_2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-bolder {
    font-weight: bolder;
}

.text-14px {
    font-size: 14px;
}

.text-black {
    color: black;
}

.text-white {
    color: white;
}

.text-gray {
    color: gray;
}

.text-hotpink {
    color: hotpink;
}

.text-aqua {
    color: aqua;
}

.text-dodgerblue {
    color: dodgerblue;
}

.text-yellow {
    color: yellow;
}

.emphasized {
    box-shadow : rgba(0,0,0,0.5) 0 0 0 9999px;
}

.ads {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.btn-open {
    display: block;
    cursor: pointer;
    width: 100%;
    background-color: #1E5BBC;
    border: none;
    color: white;
    margin: 0;
    padding: 10px;
    font-size: large;
}

.btn-submit {
    display: block;
    cursor: pointer;
    width: 100%;
    height: 30px;
    border: 1px gray solid;
    border-radius: 0;
    background-color: lightgray;
    color: black;
    margin: 10px 0;
    font-size: medium;
    font-weight: 400;
}

.ipt-basic {
    display: block;
    width: 100%;
    height: 30px; 
    border: 1px gray solid;
    border-radius: none;
    margin: 10px 0;
    padding: 0;
    background-color: white;
    color: black;
    font-size: medium;
}

.ipt-basic:focus {
    outline: none;
    background-color: white;
}

.ta-basic {
    display: block;
    width: 100%;
    height: 150px; 
    border: 1px gray solid;
    border-radius: none;
    margin: 10px 0;
    padding: 0;
    background-color: white;
    color: black;
    font-size: medium;
}

.ta-basic:focus {
    outline: none;
    background-color: white;
}

.linux {
    color:#4791CF;
    font-weight: bold;
}

.linux a {
    color:#4791CF !important; 
    font-weight: bold;
}

.linux1 {
    color:#B86E30;
    font-weight: bold;
}

.linux1 a {
    color:#B86E30 !important;
    font-weight: bold;
}

.linux2 {
    color: #9CDCF0;
}

.nav-up {
    top: -50px !important;
}

.nav-down {
    top: 0 !important;
}

.nav-up1 {
    top: 0px !important;
    height: 100% !important;
}

.nav-down1 {
    top: 54px !important; 
    height: calc(100% - 54px) !important;
}

.nav-up2 {
    bottom: -40px !important;
}

.nav-down2 {
    bottom: 0px !important; 
}

/* header 영역 */
.header {
    display:flex; 
    align-items: center;
    justify-content: space-between;
    height: 50px;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    font-size: large;
    background-color: #2F3336;
    z-index: 5;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
}

.header a {
    text-decoration: none;
    color: white;
}

.header-nav {
    display: inline;
}

.header-nav a {
    margin: 0 10px;
    font-size: medium;
}

.blog-name {
    margin-left:5px;
    margin-right:15px;
    font-weight: bold;
} 

.switch-mode {
    margin-right:5px; 
    font-size: x-large;
}

.btn-open-sidebar {
    display: none;
}

/* footer 영역 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 40px;
    width: 100%;
    background-color: #2F3336;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    display:flex; 
    align-items: center;
    z-index: 5;
}

.footer a {
    text-decoration: none;
    color: #4791CF;
    
}

.footer a:hover {
    text-decoration: none;
    color: #4791CF; 
}

.ipt_search {
    width:150px;
    border: none;
    background: transparent;
    color:white; outline: none;
}

.cursor {
	position: relative;
}

.cursor	i {
	position: absolute;
	width: 10px;
	height: 3px;
	background-color: white;
	left: 0px;
	top: 90%;
	animation-name: blink;
	animation-duration: 800ms;
	animation-iteration-count: infinite;
	opacity: 1;
}

.cursor input:focus + i {
	display: none;
}

@keyframes blink {
	from { opacity: 1; }
	to { opacity: 0; }
}

/* main 영역 */
.main {
    display: grid;
    grid-template-columns: 1fr 350px;
    margin-top: 50px;
}

.main-title {
    background-color: #2F3336;
    border-bottom: 1px solid black;
    padding: 10px 5px;
    text-align: justify;
    font-size: large;
    border-top: 2px solid dodgerblue;
}

.main-title a {
    color: white;
}

.main-title a:hover {
    color: hotpink;
}

.main-category {
    color: gray;
    font-size: medium;

}

.main-category a {
    text-decoration: none;
    color: gray;
}

.main-category a:hover {
    text-decoration: none;
    color: gray;
}

.main-time {
    display: block;
    background-color: gray;
    color: white;
    padding: 5px 10px;
    text-align: right;
}

.main-contents {
    display: relative;
    text-align: justify;
	font-size: large; 
    line-height: 1.5;
	font-family: 'NEXON Lv1 Gothic OTF';
}

.main-contents a {
    text-decoration: underline;
}

/* aside 영역 */
.sidebar {
    width: 352px;
    background-color: #212426;
    border-left: 2px solid black;
    display: block;
    height: calc(100% - 52px);
    position: fixed;
    top: 52px;
    right: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    cursor: default;
    z-index: 10;
}

.sidebar a {
    color: white;
}

.sidebar a:hover {
    color: hotpink;
}

.sidebar-title {
    background-color: #2F3336;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    padding: 10px 20px;
}

.sidebar-body {
    padding: 20px;
}

.img-blog {
    text-align: center;
    margin: 0 auto 20px auto;
    position: relative;
    width: 200px;
}

.img-blog img {
    width: 200px;
    border-radius: 100%;
    border: 1px solid gray;
}

.sidebar-blog-title {
    font-weight: bold; 
    font-size: 24px; 
    margin-bottom: 10px;
}

.sidebar-blog-blogger {
    color: gray;
    margin-bottom: 20px;
}

.ul-sidebar-notice {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ul-sidebar-notice > li {
    list-style: none;
}

.ul-sidebar-notice > li > a {
    color: aqua;
}

.sidebar-category .sidebar-body > ul {
    padding-left: 0;
    margin: 0;
    list-style: none; 
}

.sidebar-category .sidebar-body > ul > li::before {
    content: "\f0b1";
    font-family:"Font Awesome 5 Free";
    font-weight: 900;
    color: dodgerblue;
    margin-right: 5px;
}

.sidebar-category .sidebar-body > ul > li > ul {
    padding-left: 20px;
    list-style: none;
}

.sidebar-category .sidebar-body > ul > li > ul > li::before {
    content: "\f07c";
    font-family:"Font Awesome 5 Free";
    font-weight: 900;
    color: yellow;
    margin-right: 5px;
}

.sidebar-category .sidebar-body > ul > li > ul > li > ul {
    padding-left: 20px;
    list-style: none;
}

.sidebar-category .sidebar-body > ul > li > ul > li > ul > li::before {
    content: "\f07b";
    font-family:"Font Awesome 5 Free";
    font-weight: 900;
    color: yellow;
    margin-right: 5px;
}

.ul-sidebar {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.ul-sidebar > li {
    list-style: none;
}

.ul-sidebar > li > a {
    color: aqua;
}

/* article 영역 */
.article {
    width: 100%;
    height: 100%;
    background-color: #141617;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.post-list {
    color: white;
    padding: 20px;
    max-width: 800px;
    margin: auto;
}

.post-list a {
    color: lightgray;
}

.post-list a:hover {
    color: hotpink;
}

.post-list > ul {
    list-style: none;
    padding-left: 0;
}

.post-list > ul > li {
    border-bottom: solid 1px #EAECEF;
    margin-bottom: 5px;
    text-align: justify;
}

.post-list-grid {
    display: flex;
    align-items: center;
    column-gap: 10px;
    min-height: 80px;
}

.post-list-thumbnail {
    background-color: white;
    width:80px; 
    height:50px; 
    min-width:80px; 
    min-height:50px; 
    object-fit: cover;
}

.post-list-regdate-rpcnt {
    color: gray; 
    font-size: small; 
    margin-top: 5px;
}

.post {
    color: lightgray;
    padding: 20px;
    max-width: 800px;
    margin: auto;
}

.post img {
    background-color: white;
}

.post .main-contents h2, h3, h4 {
    position: relative;
    background-color: lightgray; 
    color: black;
    padding: 5px 10px 5px 10px;
    text-decoration: underline;
    text-underline-position: under;
        
    &:after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        background: #1E5BBC;
        width: 15px;
        height: 15px;
    }
}

.tag-list {
    font-size: 16px;
    text-align: right;
    color: dodgerblue;
}

.tag-list a {
    text-decoration: none;
}

.tag-list a:before {
    content: '#';
}

.comment {
    text-align: justify;
    font-size: large;
    line-height: 1.5;
	font-family: 'NEXON Lv1 Gothic OTF'; 
} 

.comment a {
    color: lightgray;
}

.comment a:hover {
    color: hotpink;
}

.reply-input-form {
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed; 
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 999;
}

.comment-write {
    background-color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px !important;
    width: 300px;
}

.comment-list {
    color: lightgray;
    text-align: justify;
    max-width: 800px;
    margin: auto;
    padding: 20px;
    font-size: 16px;
}

.comment-list > ol {
    list-style: none;
    padding-left: 0;
}

.comment-list > ol > li {
    list-style: none;
    padding-left: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

.comment-list > ol > li > ul {
    padding-left: 20px;
}

.comment-list > ol > li > ul > li {
    list-style: none;
    padding-left: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 5px;
}

.address, .write, .modify {
    color: #93C25C !important;
}

.rp_admin img {
    display: none;
}
.rp_general img {
    display: none;
}

.guest_admin img {
    display: none;
}
.guest_general img {
    display: none;
}

.protect {
    color: lightgray;
    padding: 20px;
    max-width: 800px;
    margin: auto;
}

.tag {
    text-align: justify;
    padding: 20px;
    max-width: 800px;
    margin: auto;
}

.tag > ul {
    padding-left: 0;
}

.tag > ul > li {
    list-style: none;
    display: inline-block;
}

.paging {
    margin-bottom: 40px;
}

.paging a {
    text-decoration: none;
    font-size: large;
    color: white;
    cursor: pointer;
}

.paging a:hover {
    font-size: larger;
}

.paging .selected {
    font-weight: bold;
    font-size: larger;
}

.copyright {
    padding: 5px 10px;
    text-align: right;
}

/* tistory 영역 */
.another_category {     
    /* 포스팅 본문 내에서 카테고리 내 다른 글 안보이게 하기 */
    display: none;
}

/* .another_category h4 {
    background-color: transparent !important;
    color: none !important;

    &:before {
        content: '';
        position: absolute;
        left: -20px;
        top: 50%;
        background: transparent !important;
        width: 0;
        height: 0;
        border-radius: 0; 
    }
} */

.tistoryProfileLayerTrigger {
    display: none !important;
}

.tt_box_namecard {
    /* 포스트 하단에 위치한 티스토리에서 지원하는 블로그 소개 카드 */
    display: none !important;
}

.og-text {
    /* 포스트 내 링크로 인해 표현되는 카드 */
    background-color: white !important;
}

/* adsense 영역 */
.ap_container {
    /* 애드센스 자동광고 여백주기 */
    margin-top: 20px;
}

/* bskyvision only */
.convert-domain a:hover {
    color: white;
}

/* 반응형 */
@media (max-width:1200px){
    .header-nav {
        display: none;
    }

    .btn-open-sidebar {
        display: inline;
        cursor: pointer; 
        margin-right: 5px; 
        font-size: x-large;
    }

    .sidebar {
        display: block;
        width: 100%;
        position: static;
        overflow: hidden;
    }

    .sidebar-mobile {
        display: none;   
        height: calc(100% - 52px);
        width: 300px; 
        display: none;
        position: fixed;
        z-index: 10;
        right: 0;
        top: 52px;
        overflow-x: hidden;
        overflow-y: visible;
        padding: 0;
        background-color: #212426;
        border-left: 2px solid black;
    }

    .sidebar-mobile a {
        color: white;
    }
    
    .sidebar-mobile a:hover {
        color: hotpink;
    }

    .main {
        display: block;
        margin-top: 50px;
    }    
}

