/* ==========================================
   Reset
========================================== */
.leaflet-control-zoom {
    display: none;
}
.leaflet-control-attribution{

     display: none;    
}
.leaflet-bar {
    display: none;    
}

*{
    box-sizing:border-box;
}

body{

    margin:0;
    padding:0;

    font-family:-apple-system,BlinkMacSystemFont,
        "Segoe UI","Noto Sans KR",sans-serif;

    font-size:16px;
    line-height:1.6;

    color:#5E5C46;

    background:#f5f6f8;

}
footer{
    text-align: center;
}
.anchor {
color: inherit;
text-decoration: none;
font-size: 12px;
}

/* ==========================================
   Layout
========================================== */

.container{
    margin:0 auto;
}

.container-fluid{
    margin:0 auto;
    max-width:1200px;
    padding: 0 16px;
} 



/* ==========================================
   Typography
========================================== */

.page-title{

    font-size:40px;
    font-weight:700;
    margin:0 0 24px;
    color: #5E5C46;

}

.section-title{

    font-size:22px;
    font-weight:600;
    margin:0 0 16px;

}

.text-muted{

    color:#777;

}






.card{

    border:none;

    border-radius:12px;

    box-shadow:0 2px 8px rgba(0,0,0,.08);

}
.card-body{
   margin: 0 20px; 
}


.mb-4{

margin-bottom: 1.5rem!important;
/* padding: 25px 13px 25px 13px; */

}


.file-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:10px 14px;

    border:1px solid #dee2e6;

    border-radius:8px;

    margin-bottom:8px;

    background:#fff;

}

.file-item i{

    margin-right:10px;

    color:#0d6efd;

}

/* ==========================================================
   Heading
========================================================== */

h1,
.h1{

    margin:0 0 24px;

    font-size:42px;
    font-weight:700;
    line-height:1.2;

    color:#5E5C46;

}

h2,
.h2{


    line-height:1.25;

    color:#5E5C46;

}

h3,
.h3{

    margin:0 0 18px;

    font-size:28px;
    font-weight:700;
    line-height:1.3;

    color:#5E5C46;

}

h4,
.h4{

    margin:0 0 16px;

    font-size:24px;
    font-weight:600;
    line-height:1.35;

    color:#5E5C46;

}

h5,
.h5{

    margin:30px 0;

    font-size:20px;
    font-weight:600;
    line-height: 2px;

    color:#5E5C46;

}

h6,
.h6{

    margin:0 0 12px;

    font-size:17px;
    font-weight:600;
    line-height:1.45;

    color:#5E5C46;

}


/* ==========================================================
   Button
========================================================== */
.travel-header-buttons {
    display: flex;
    width: 100%;
}

button{

    font:inherit;

}

.border-bottom{
    border-radius:0 0 20px 20px;
}

.btn{

    display:inline-flex;

    align-items:center;
    justify-content:center;
    gap:2px;

    border:1px solid transparent;
    border-radius:999px;

    background:#ffffff;

    color:#222;

    font-weight:600;

    cursor:pointer;

    transition:.2s;

    text-decoration:none;

}

.btn:hover{

    transform:translateY(-1px);

}

.btn:active{

    transform:translateY(0);

}

.btn:disabled{

    opacity:.5;
    cursor:not-allowed;

}

/* ==========================================================
   Primary
========================================================== */

.btn-primary{

    background:#2e83eb;
    color:#fff;

}

.btn-primary:hover{

    background:#5d99e2;

}

/* ==========================================================
   Secondary
========================================================== */

.btn-secondary{

    background:#6c757d;
    color:#fff;

}

.btn-secondary:hover{

    background:#5c636a;

}

/* ==========================================================
   Success
========================================================== */

.btn-success{

    background:#198754;
    color:#fff;

}

.btn-success:hover{

    background:#157347;

}

/* ==========================================================
   Danger
========================================================== */

.btn-danger{

    background:#dc3545;
    color:#fff;

}

.btn-danger:hover{

    background:#bb2d3b;

}

/* ==========================================================
   Light
========================================================== */

.btn-light{

    background:#fff;

    border-color:#ddd;

    color:#333;

}

.btn-light:hover{

    background:#f5f5f5;

}


/* ==========================================================
   Divider
========================================================== */

hr,
.hr{
    margin-top: 25px;
    color: inherit;
    border: 0;
    border-top: var(--bs-border-width) solid;
    opacity: .25;
}



.hr-bold{

    border-top:2px solid #ced4da;

}


/* ==========================================
   헤더 한 줄
========================================== */

.app-header {
    width: 100%;
    background: #fff;

    background: url("../images/login_bg.png") center/cover no-repeat;
}

.app-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
}


/* 산길노트 */

.app-header .navbar-brand {
    flex: 0 0 auto;
    color: #fff;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}


/* 오른쪽 영역 */

.app-header-actions {
    position: relative;
    display: flex;
    align-items: center;

    margin-left: auto;

    flex: 0 0 auto;
}

.search-suggest {
    position: absolute;

    top: calc(100% + 6px);
    left: 10px;
    font-size: 14px;
    width: 70%;
    background: #ffffff53;
    justify-content: center;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,.15);

    z-index: 2000;
    cursor: pointer;
    overflow: hidden;
}

/* 검색창 */

#headerSearch {

    margin: 0;
    padding: 0 14px;

    border: 2px solid #2e83eb;
    border-right: 0;

    border-radius: 22px 0 0 22px;

    outline: none;

}


/* 검색 버튼 */

.app-header-actions .header-icon {


    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 2px solid #2e83eb;
    border-left: 0;

    border-radius: 0 22px 22px 0;

    background: #fff;

    cursor: pointer;
}

/* ========================================
   페이지네이션
======================================== */

.travel-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;

    width: 100%;
    margin: 30px 0 20px;
}


/* 페이지 버튼 */

.travel-pagination .page-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    border: 1px solid #dee2e6;
    border-radius: 6px;

    background: #fff;
    color: #333;

    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease;
}


/* 마우스 올렸을 때 */

.travel-pagination .page-btn:hover {
    background: #f1f3f5;
    border-color: #adb5bd;
    color: #222;
}


/* 현재 페이지 */

.travel-pagination .page-btn.active {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;

    font-weight: 600;
}


/* 이전 / 다음 버튼 */

.travel-pagination .page-btn i {
    font-size: 12px;
}

.travel-mountain{
    color: #5E5C46;
    font-size: 12px;
}



.hiking-info-background {

    position: relative;

    margin: 16px;

    padding: 25px;

    border-radius: 12px;

    overflow: hidden;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.82),
            rgba(255, 255, 255, 0.82)
        ),
        url("../images/mountain-bg.jpg");

    background-size: cover;

    background-position: center;

}



#hikingInfoModal .modal-dialog {
    max-width: 800px;
}

.modal-header{

    padding: 10px;
}
.hiking-info-content {

    position: relative;

    z-index: 1;

}
/* 내용 */



.hiking-info-mountain {

    font-size: 14px;

    color: #777;

    margin-bottom: 5px;

}






.hiking-info-summary {

    display: flex;

    justify-content: center;

    gap: 25px;

    padding: 0 20px 20px;

    color: #666;

    font-size: 14px;

}
#hikingInfoModal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* =====================================================
   산행기 모달
===================================================== */

.hiking-info-modal {

    border: 0;
    border-radius: 15px;

    overflow: hidden;

    background: #ffffffcd;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.25);

}


/* =====================================================
   모달 헤더
===================================================== */

.hiking-info-modal .modal-header {

    padding: 10px 17px;

    border-bottom: 1px solid #eee;

    color:#fff;
    font-weight: 700;
    font-size: 22px;

    background: #2e83eb;
}


.hiking-info-modal .modal-title {

    margin: 0;

    font-size: 18px;

    font-weight: 700;

}


.hiking-info-modal .btn-close {

    margin: 0;

    opacity: 1;
    filter: brightness(0) invert(1);
}


.hiking-info-modal .btn-close:hover {

    opacity: 1;

}


/* =====================================================
   산행기 내용 영역
===================================================== */

.hiking-info-body {

    padding: 0 0 20px;

}







/* =====================================================
   산 이름
===================================================== */

.hiking-info-mountain {

    font-size: 14px;

    color: #777;

    margin-bottom: 5px;

}


/* =====================================================
   산행 제목
===================================================== */

.hiking-info-title {

    font-size: 20px;

    font-weight: 700;

    line-height: 1.4;

    color: #222;

}


/* =====================================================
   날짜
===================================================== */

.hiking-info-date {

    margin-top: 4px;

    font-size: 13px;

    color: #888;

}


/* =====================================================
   산행 메모
===================================================== */

.hiking-info-memo {

    margin-top: 10px;

    padding-top: 16px;

    border-top:
        1px solid rgba(0, 0, 0, 0.08);

    font-size: 15px;

    line-height: 1.8;

    color: #333;

    white-space: normal;

    word-break: break-word;

}



/* =====================================================
   산행 간단 정보
===================================================== */

.hiking-info-summary {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 25px;

    padding: 0 20px;

    font-size: 14px;

    color: #666;

}


.hiking-info-summary span {

    display: flex;

    align-items: center;

    gap: 5px;

}


.hiking-info-summary i {

    font-size: 16px;

}


/* =====================================================
   모달 하단
===================================================== */

.hiking-info-footer {

    display: flex;

    justify-content: flex-end;

    padding: 12px 20px;

    border-top: 1px solid #eee;

}


/* ===========================================================
   로그인 페이지
=========================================================== */   


body.login-page{

    position:relative;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    background:url("../images/login_bg.png") center/cover no-repeat;

}

.login-box{

    width:360px;

    background:#ffffff82;

    padding:30px;

    border-radius:12px;

    box-shadow:0 4px 20px rgba(0,0,0,.1);

}

.login-wrapper{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

}


.login-box input{

    width:100%;

    padding:10px;

    margin-bottom:5px;

    box-sizing:border-box;

}

.login-box button{

    width:100%;

}

.login-logo{

    text-align:center;

    margin-bottom:20px;

}

.login-logo img{

    height:auto;

}

.login-btn{


    border:none;
    border-radius:999px;

    background:#2e83eb;

    color:#fff;

    font-weight:700;

    transition:.25s;
    margin-bottom:22px;

}

.login-btn:hover{

    background:#2e83eb;

    transform:translateY(-1px);

}

.login-divider{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    margin:28px 0;

    color:#2e83eb;

}

.login-divider::before,
.login-divider::after{

    content:"";

    width:120px;

    height:1px;

    background:#2e83eb;

}

.login-title{
    color: #2e83eb;
    text-align:center;
}
.login-subtitle{

    text-align:center;

}

.login-footer{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    color:#555;

}

.login-input{

    position:relative;

    margin-bottom:20px;

}

.login-input i{

    position:absolute;

    left:22px;
    top:50%;

    transform:translateY(-50%);

    color:#2e83eb;

}

.login-input input{

    width:100%;

    padding-left:60px;
    background: #88888828;
    border:1px solid #d9d9d9;
    border-radius:999px;

}
