@charset "utf-8";

body {
    overflow: hidden;
}

header {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 4000;
}

/* 제목 */
#titleText {
    height: 70px; 
    line-height: 70px;
    text-align: left;
    padding-left: 25px;
    color: #999999;
    font-size: 22px;
}


#titleText a {    
    color: #555555;
    text-shadow: 0 0 5px white, 0 0 10px white, 0 0 15px white;    
}


#titleText a:hover {    
    color: #000000;    
    text-shadow: 0 0 5px white, 0 0 10px white, 0 0 15px white;    
}








#nowLocation {
    /* border: 1px solid red; */
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
}



#nowLocation span::before {
    content: "현재 위치";
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 1;
    top: 25%; /* 변경: top에서 bottom으로 */
    left: 30%;
    transform: translateX(-110%);
}

#nowLocation span:hover::before {
    display: block;
}

#loading {
    display: none; 
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 4000;
}



#loading div {    
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-items: center;
    text-align: center;
    font-size: 16px;    
    color: #ffffff; 
}


#loading div p {    
    width: 450px;
    height: 50px;
}



/* 로딩 애니메이션 */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}











#container {
    /* border: 1px solid red; */
    display: flex;
    width: 100vw;
    height: 100vh;
}


#mapWrapDetailListBox {
    width: 500px;    
    box-shadow: -5px 5px 10px #dddddd;
    z-index: 100;
}

#mapWrapListDetailBox {
    width: 100%;
    height: 500px;
    overflow: hidden;
    /* border: 1px solid blue; */
}



/* #mapWrapListSearcher {
    border: 1px solid green;    
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    background-color: #999999;
    align-content: center;
    padding: 7px 7px;
}

#mapWrapListSearcher label {
    width: 20%;
    font-size: 24px;
    line-height: 55px;
    background-color: #ffffff;
    padding: 0 10px;
    border-right: 1px solid #cccccc;
    cursor: pointer;
}

#mapWrapListSearcher input[type = 'text'] {
    width: 80%;
    font-size: 24px;
    padding: 0px 10px;
    border: 0px solid red;
} */



#nowLocationBtn {
    width: 100%;
    height: 35px;
    padding: 0px 10px;
    margin-top: 7px;
} 

#nowLocationBtn button {
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-color: #cccccc;
    border: 0px solid #cccccc;
    border-radius: 5px;    
}


#nowLocationBtn button:hover {    
    background-color: #999999;
    border: 0px solid #999999;    
}



#VisitBox {
    display: flex;
    justify-content: space-between;
    padding: 7px 12px;
    background-color: #eeeeee;
}

#VisitCoordinatesTextBox {
    background-color: #ffffff;
    width: 70%;    
}

#VisitCoordinatesTextBox p {
    text-align: center;
    line-height: 35px;
    background-color: #ffffff;
    font-size: 15px;
}




#VisitCoordinates {
    background: linear-gradient(#ffa3a3, #ff8e8e);
    cursor: pointer;    
    padding: 7px 10px;
    display: block;
    text-align: center;
    margin-left: 5px;
    width: 25%;
    font-size: 15px;
}



#VisitCoordinatesKakaoLink {
    background: linear-gradient(#ffa3a3, #ff8e8e);
    cursor: pointer;    
    padding: 7px;
    display: none;
    text-align: center;
    margin-left: 5px;
}



#VisitCoordinates:hover {
    background: linear-gradient(#ff8e8e, #ff4e4e);
    color: #ffffff;
}

#VisitCoordinatesKakaoLink:hover {
    background: linear-gradient(#ff8e8e, #ff4e4e);
    color: #ffffff;
}






/* 게임 버튼 */
#funUtil {
    display: flex;
}

#game01,
#game02,
#game03,
#game04,
#game05,
#game06 {
    flex: 1;
    height: 35px;
    margin-top: 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

#game01 a,
#game02 a,
#game03 a,
#game04 a,
#game05 a,
#game06 a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    cursor: pointer;
    background-color: #ffffff;
    border: 2px solid #007bff;
    box-sizing: border-box;
    border-radius: 50%;
    text-decoration: none;
    color: #007bff;
    text-align: center;
    line-height: normal;
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
}

#game01 a:hover,
#game02 a:hover,
#game03 a:hover,
#game04 a:hover,
#game05 a:hover,
#game06 a:hover {
    background-color: #0056b3;
    color: #ffffff;
    border-color: #0056b3;
}

#game01 a:active,
#game02 a:active,
#game03 a:active,
#game04 a:active,
#game05 a:active,
#game06 a:active {
    background-color: #004085;
    color: #ffffff;
    border-color: #004085;
}








#mapWrapListBox {
    height: calc(95vh - 500px - 95px - 55px); 
    overflow-y: auto;
}

#mapWrapListBox ul li .clickLocation{
    display: block;
    height: 40px;
    line-height: 40px;
    padding: 0 15px;
    color: #555555;
    border-bottom: 1px solid #dddddd;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

#mapWrapListBox ul li .clickLocation.active{
    background-color: #dddddd;
}

#mapWrapListBox ul li .clickLocation:hover{
    background-color: #cccccc;
}


#manuBox {
    width: 100vw;
    height: 35px;
    /* border: 1px solid pink; */
    display: flex;
    justify-content: space-between;
    z-index: 2000;
    position: fixed;
    bottom: 12px;
    left: 0;
}

#manuBox > div {
    /* border: 1px solid red; */
    width: 100%;
}

#manuBox > div > a {
    border-right: 1px solid #999999;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #3155cd; /* 3f66e9 */    
    font-size: 15px;
    color: #dddddd;
    text-align: center;
    line-height: 40px;
    border-radius: 30px 30px 0px 0px;
}



#manuBox > div > a:hover {    
    background-color: #2a3f83;
}



footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15px;
    line-height: 17px;
    font-size: 9px;
    text-align: center;
    background-color: #000000;
    color: #cccccc;
    z-index: 100;
}




/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 5000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
  }

  .modal {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    /* 기존 스타일 유지 */
  }
  
  .modal.show {
    opacity: 1;
    visibility: visible;
  }
  
  .modal-content {
    background-color: #fefefe;        
    border: 1px solid #888;    
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 10px;
  }
  
  .close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close:hover {
    color: red;
  }

  #myModal .modal-content {
    margin: 15% auto;
    padding: 20px;
    width: 50%;
  }


  #eatModal .modal-content {
    margin: 2% auto;
    padding: 20px;
    width: 80vw;
  }

  #eatModal iframe {
    height: 80vh;
  }

  #timeModal .modal-content {
    margin: 2% auto;
    padding: 20px;
    width: 80vw;
  }

  #timeModal iframe {
    height: 80vh;
  }


  #timeHTModal .modal-content {
    margin: 2% auto;
    padding: 20px;
    width: 80vw;
  }

  #timeHTModal iframe {
    height: 80vh;
  }


  #noticeHTModal .modal-content {
    margin: 2% auto;
    padding: 20px;
    width: 80vw;
  }

  #noticeHTModal iframe {
    height: 80vh;
  }




#STHTModal .modal-content {
    margin: 2% auto;
    padding: 20px;
    width: 80vw;
}

#STHTModal iframe {
    height: 80vh;
}




  @media (max-width: 992px) {
    #titleText {
        height: 50px; 
        line-height: 50px;
        text-align: left;
        padding-left: 15px;
        color: #999999;
        font-size: 15px;
    }



    #VisitCoordinatesTextBox p {
        text-align: center;
        line-height: 35px;
        background-color: #ffffff;
        font-size: 12px;
    }



    #VisitCoordinates {        
        font-size: 12px;
    }




    #container {
        display: block;
    }

    #mapWrap {
        width: 100vw;    
        height: 45vh;
    }
    
    #mapWrapDetailListBox {
        width: 100vw;     
        box-shadow: -5px 5px 10px #dddddd;
        z-index: 100;
    }

    #mapWrapListDetailBox {
        display: none;
    }

    #mapWrapListBox {
        height: calc(100vh - 70px - 45vh - 70px - 50px - 10px - 50px);
    }

    #myModal .modal-content {
        margin: 15% auto;
        width: 80%;
      }

    #eatModal .modal-content {
        margin: 2% auto;
        width: 95vw;
        padding: 5px;  
    }

    #eatModal iframe {
        height: 85vh;
    }



    #manuBox > div > a {        
        background-color: #3155cd;
        font-size: 12px;        
        line-height: 40px;
        border-radius: 30px 30px 0px 0px;
    }



}