/*PC header*/
ul.nav_account > li.profile_photo_header a {
    background: transparent !important;
}

ul.nav_account > li.profile_photo_header img {
    margin: -10px;
    width: 45px;
    height: 45px;
    border-radius: 30px;
    border: #f2f2f2 3px solid;
    object-fit: cover;
    object-position: center;
}

ul.nav_account > li.profile_photo_header:hover ul {
    display: block;
}

ul.nav_account > li.profile_photo_header ul {
    display: none;
    position: absolute;
    top: 40px;
    right: 0px;
    width: 200px;
    padding: 0 0 15px 0;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 5px 5px rgba(0,0,0,.25);
}

ul.nav_account > li.profile_photo_header ul li {
    margin: 0 15px;
}

ul.nav_account > li.profile_photo_header ul li a {
    display: block;
    width: 100%;
    height: 35px;
    color: #333;
    border-bottom: #ddd 1px solid;
}

ul.nav_account > li.profile_photo_header ul li a:hover {
    color: #ff954d;
    text-decoration: underline !important;
}

ul.nav_account > li.profile_photo_header ul li.info {
    padding: 20px 30px 20px;
    margin: 0 0 10px;
    line-height: 25px;
    font-size: 16px;
    background: #f2f2f2;
}

ul.nav_account > li.profile_photo_header ul li.info span {
    color: #ff954d;
    margin-right: 5px;
}

ul.nav_account > li.profile_photo_header ul li.point {
    margin: 0;
    padding: 15px 30px;
    font-size: 16px;
    line-height: 25px;
    background: #fff;
}

ul.nav_account > li.profile_photo_header ul li.point span {
    margin-right: 5px;
    font-size: 25px;
    font-weight: 900;
    color: #ff954d;
}

ul.nav_account > li.profile_photo_header ul li.logout a {
    border-bottom: 0;
    color: #ff954d;
}

.regular_page {
    display: none;
    z-index: 99999999999999999;
}

/***nav***/

.nav_profile {
    width: 275px;
    padding: 25px;
    border-radius: 8px;
    background: #fff;
}


.profile_info {
    margin-bottom: 25px;
}

.profile_info_photo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.profile_info_photo img {
    width: 65px;
    height: 65px;
    margin-right: 10px;
    border-radius: 50px;
    border: #f2f2f2 3px solid;
    overflow: hidden;
}

.profile_info_photo .name {
    font-size: 20px;
    margin-right: 3px;
    line-height: 20px;
}

.profile_info_photo .En_name {
    font-size: 13px;
    color: #666666;
}

.profile_course {
    margin-bottom: 25px;
    border-radius: 5px;
    background: #f2f2f2;
}

.profile_level {
    padding: 20px;
    /*border-bottom: #aaa 1px solid;*/
}

.profile_course .title {
    display: inline-block;
    padding: 5px 10px;
    margin-bottom: 15px;
    font-size: 16px;
    border-radius: 5px;
    color: #fff;
    background: #ff954d;
}

.profile_level li {
    font-size: 16px;
    line-height: 20px;
}

.profile_level li + li {
    margin-top: 12.5px;
}

.profile_point {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.profile_point .title {
    margin-bottom: 0;
}

.point_area a {
    font-weight: 400;
    font-size: 16px;
    color: #ff954d;
    text-decoration: underline;
}

.list_nav_profile > li {
    position: relative;
    border-bottom: #ddd 1px solid;
    padding: 0 20px 10px 20px;
    cursor: pointer;
}

.list_nav_profile > li + li {
    margin-top: 10px;
}

.list_nav_profile li .title{
    font-size: 18px;
}

.list_nav_profile li.arrow:after {
    content: '';
    position: absolute;
    top: 5px;
    right: 20px;
    width: 15px;
    height: 15px;
    background: url('../images/prev_o.svg') center no-repeat;
    background-size: contain;
    transform: rotate(180deg);
}

.list_nav_profile li.arrow ul {
    height: 0;
    overflow: hidden;
}

.list_nav_profile li.arrow.profile_nav_open:after {
    transform: rotate(270deg);
}

.list_nav_profile li.arrow.profile_nav_open ul {
    height: auto;
}

.list_nav_profile li li {
    padding-left: 15px;
    margin-top: 10px;
    line-height: 24px;
    font-size: 16px;
}

.list_nav_profile a {
    display: block;
    color: #333;
    transition: .2s;
}

.list_nav_profile a:hover, .list_nav_profile li.active a {
    color: #ff954d;
}

.list_nav_profile li.logout {
    margin-top: 50px;
    border: 0;
    color: #ff954d;
}

.content_profile > .content {
    padding: 25px;
    border-radius: 8px;
    background: #fff;
}

.list_nav_profile li .title, ul.nav_account > li.profile_photo_header ul li a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.announcement_amount {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    margin-left: 5px;
    font-size: 13px;
    color: #fff;
    background: crimson;
}

/*20231114編輯*/
.list_newmember {
    display: block;
    width: 100%;
    background: #ffffff;
    border: 1px solid #FF954D;
    border-radius: 5px;
    text-align: center;
    padding: 2px 0;
    margin-bottom: 25px;
    color: #FF954D;
    font-size: 16px;
    font-weight: bolder;
}

.list_newmember:hover {
    color: #ffffff;
    background: #FF954D;
}
/*20231114編輯*/


@media screen and (max-width: 1280px) {

    .regular_page {
        position: fixed;
        top: 60px;
        left: 0;
        display: block;
    }

    .nav_profile {
        position: fixed;
        top: 65px;
        left: calc( 60px - 100% );
        width: calc( 100% - 75px );
        height: calc( 100% - 65px );
        padding: 15px 0;
        border-radius: 0;
        background: #f2f2f2;
        z-index: 99999;
        transition: .3s;
        overflow-y: scroll;
    }

    .nav_profile::-webkit-scrollbar {
        width: 7.5px;
        background: transparent;
    }
       
    .nav_profile::-webkit-scrollbar-track {
        background: transparent;
    }
       
    .nav_profilet::-webkit-scrollbar-thumb {
        background-color: rgba(0,0,0,.25);
        border-radius: 7.5px;
    }

    .profile_close {
        display: none;
        position: fixed;
        top: 60px;
        right: 0;
        width: 100%;
        height: calc( 100% - 60px );
        background: rgba(0,0,0,.75) url('../images/close_w.svg') top right no-repeat;
        background-size: 75px;
        z-index: 99999;
    }

    .nav_profile.profile_open {
        left: 0;
    }


    .profile_course {
        border-radius: 0;
        background: #fff;
    }

    .content_profile {
        width: 100%;
    }



    .nav_MB_sticky {
		position: fixed;
		bottom: 0;
		left: 0;
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		width: 100%;
		padding: 15px 0;
		background: #333;
		z-index: 999;
	}

	.nav_MB_sticky li {
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		width: calc( 100%/3 );
		color: #fff;
	}

	.nav_MB_sticky li + li {
		border-left: #fff 1px solid;
	}

	.nav_MB_sticky li img {
		height: 20px;
		margin-right: 5px;
    }
    
    .content_profile > .content {
        padding: 25px;
    }

}

@media screen and (max-width: 1024px) {
    .list_nav_profile li .title{
        font-size: 16px;
    }

    .content_profile > .content {
        padding: 0;
    }

    .nav_profile {
        position: fixed;
        top: 60px;
        left: calc( 60px - 100% );
        width: calc( 100% - 75px );
        height: calc( 100% - 60px );
        padding: 15px 0;
        border-radius: 0;
        background: #f2f2f2;
        z-index: 99999;
        transition: .3s;
        overflow-y: scroll;
    }
    /*20231114編輯*/
    .list_newmember {
        width: auto;
        margin: 20px 20px 25px 20px;
        padding: 5px 0;
        background: #f2f2f2;
    }
    /*20231114編輯*/

}