/* base.html CSS*/
*{
    box-sizing: border-box;
    margin : 0 auto; /* 기존의 흰 테두리 없애기 위해 추가 */
    font-family: 'Noto Sans KR', sans-serif;
}

a:link {  text-decoration: none;}
a:visited {  text-decoration: none;}
a:hover {  text-decoration: none;}

main{
    min-height: calc(100% - 70px);
}

.box {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    overflow-y: scroll;
}
.box::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera*/
}

nav{
    height : 50px;
    background-color : #981D26;
    color : white;
    display : flex;
    justify-content : space-between;
    align-items : center;
    margin: 0 auto;
    margin-left: auto;
    margin-right: auto;
}

#lg{
    height : 90%;
    width : 25%;
    align-items : center;
    justify-content: center;
    display : flex;
    font-size : 2.5rem;
    text-align : center;
    line-height : 90%;
}
#src, #back{
    margin : 0;
    width : 59px;
}
#src img{
    height : 20px; 
    margin : 0 10px;
}
#menu{
    margin : 0;
    width : 59px;
    text-align: right;
}
#dropdown{
    position : fixed; 
    top : 0; 
    width : 100%;
    z-index:100;
}
.seeya-logo-box img{
    height: 27px;
}
.mypage-img{
    width : 45px; 
    height : 45px; 
    display : inline-block; 
    margin-right: 7px;
}
.mypage-img img{
    height : 100%; 
    margin : 0 0 0 5px; 
    width : 100%; 
    clip-path: circle(40% at center);
    object-fit: cover;
}
.menu-img{
    display : inline-block; 
    width : 25px; 
    height : 25px; 
    margin : 0 10px;
}
/* baseMy.html CSS */
.base::after{
    display: flex;
    justify-content: center;
    height: 100vh;
    font-size: 0.9em;
}
.dropdown {
    background: #fff;
    display: inline-block;
    padding: 12px 20px;
    border-radius: 2px;
    width: 100%;
    box-sizing: border-box;
    height: 50px;
    line-height: 25px;
    position: relative;
    cursor: pointer;
    color: black;
    border-bottom: 1px solid #D8D8D8;
    text-align : center;
    align-items : center;
}

.dropdown:after, .dropdown:after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    right: 16px;
    transform: rotate(45deg);
    top: 17px;
    margin : 0 auto;
    border-bottom: 2px solid black;
    border-right: 2px solid black;
    transition: 0.4s;
}

.no_dropdown {
    background: #fff;
    display: inline-block;
    padding: 12px 20px;
    border-radius: 2px;
    width: 100%;
    box-sizing: border-box;
    height: 50px;
    line-height: 25px;
    position: relative;
    color: black;
    border-bottom: 1px solid #D8D8D8;
    text-align : center;
    align-items : center;
    padding-right : 30px;
    font-family: 'Noto Sans KR', sans-serif;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

.no_dropdown:after {
    border-bottom:  #fff;
    border-right:  #fff;
}

ul {
    width: 100%;
    height: 120%;
    box-sizing: border-box;
    padding: 0;
    position: absolute;
    margin-top: 0px;
    opacity: 0;
    margin :0 auto;
    transition: opacity 0.2s linear;
    /*Nav bar 펼칠 때의 배경색 설정 : 맨 마지막이 투명도*/
    background-color: rgb(201, 201, 201, 0.5);
    z-index:9999;
}

ul li {
    position : relative;
    list-style: none;
    background: #fff;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    color: #74809d;
    height: 50px;
    line-height: 25px;
    box-sizing: border-box;
    z-index : 9999;
    text-align : center;
}

.last-list{
    border-bottom: none;
    border-radius: 0px 0px 15px 15px;
}

ul li:hover {
    transition: 0.2s;
    cursor: pointer;
    color: #526187;
    background: #f5f5f5;
}

.active {
    transition: 0.2s;
    background: #fff;
    color: black;
}

.active:after {
    border-bottom: 2px solid black;
    border-right: 2px solid black;
    transform: rotate(-135deg);
    top: 20px;
    transition: 0.4s;
}

.opened {
    opacity: 1 !important;
    height: 1400px;
}

#highlight{
    color : #981D26;
}

/* baseN&F */
#back-img{
    display : inline-block; 
    width : 25px; 
    height : 25px; 
    margin : 0 10px;
}

/* footer */
footer .footer-div a{
    color : gray;
}
footer .footer-div a:hover{
    color : gray;
    text-decoration : none;
}
footer .footer-div a:focus{
    outline : none;
}
footer p{
    text-align : center;
    margin: 0;
}
.footer-div{
    width:fit-content;
    padding: 20px 0;
    margin: 0 auto; 
    font-size: x-small; 
    color : gray;
    opacity: 70%;
}
.footer-div div{
    margin : 0 auto;
    width : fit-content;
}

@media (min-width: 768px) and (max-width: 1024px) {
    ul li {
        position : relative;
        list-style: none;
        background: #fff;
        padding-top: 12px;
        padding-right: 16px;
        padding-left: 30px;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        font-weight: bold;
        color: #74809d;
        height: 50px;
        line-height: 25px;
        box-sizing: border-box;
        z-index : 9999;
        font-family: 'Noto Sans KR', sans-serif;
    }
}