body {
    min-width: auto;
    max-width: 100%;
}

.container {
    max-width: 100% !important;
}

/* Common */
.mt-30 {
    margin-top: 30px !important;
}

.ms-0 {
    margin-left: 0 !important
}

.w-75 {
    width: 75%;
}

.text-muted {
    color: rgb(171, 171, 171)
}

.bg-muted {
    background-color: rgb(171, 171, 171)
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Header */
.header .header-menu .logo img {
    max-width: 100%;
    margin-top: 3px;
}

.header .header-menu .search-btn {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.header .header-menu .search-dev {
    border-radius: 5px;
}

.iconfont.icon-sousuo {
    font-weight: bold !important;
    font-size: 20px !important;
}

.login-btn,
.sort-item {
    border-radius: 5px;
}






.message-modal-content {
    height: 100%;
    max-height: 500px;
}

.message-modal-content .url_txt {
    height: 75%;
}

#picture_list .picture-wrap .picture-item-row .picture-item-box .picture-item img {
    height: auto;
}

.picture-item img {
    aspect-ratio: 3 / 4;
    width: 100% !important;
    height: 100% !important;
}

.picture-wrap .picture-item-row .picture-item-box {
    width: 25%;
}

@media screen and (max-width:1200px) {
    .picture-wrap .picture-item-row .picture-item-box {
        width: 33.33333%;
    }
}

/* Book */
.novel-img,
.novel-item-img {
    position: relative;
}

.book-cover-type-name {
    position: absolute;
    top: 17px;
    left: 21px;
    color: black;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
    font-weight: bold;
}

.novel-img .book-cover-type-name {
    top: 24px;
    left: 45px;
    font-size: 1.5rem;
}

@media screen and (max-width:768px) {
    .book-cover-type-name {
        top: 11px;
        left: 9px;
        font-size: 12px;
    }
}

/* Video */
.video-item .video-img img {
    border-radius: 5px;
}

.video-item .video-desc .video-desc-content {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

}

.mo-paging .paging-item {
    border: none;
}

.mo-paging .paging-item.paging-item--current {
    border-radius: 5px;
}

.label-list {
    height: auto;
}

.custom-tag a {
    cursor: pointer;
    display: inline-block;
    background: #f90;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 1px 7px;
    border-radius: 10px;
    text-align: center;
    color: #000;
    font-size: 12px;
    line-height: 20px;
}

/* Search */
.parrent_categoryListNode {
    font-weight: bold;
    color: #f90
}

.label-list .label-list-wrap {
    max-height: 60%;
    overflow: scroll;
}

.label-list .label-list-wrap.label-list-wrap-tag {
    max-height: 40%;
    overflow: scroll;
}

/* Sinhle Page */
.help-txt-div p {
    margin-bottom: 15px;
}

/* Footer */
#gototop {
    position: fixed;
    bottom: 100px;
    right: 30px;
    cursor: pointer;
    z-index: 2001;
}

/* pop */
#popup .v--modal-box {
    position: absolute;
    top:50%;
    transform:translateY(-50%);
    width: 400px;
    max-width: 90%;
    height: 450px;
}
@media screen and (max-width:768px) {
    #popup .v--modal-box {
        left: 50%;
        transform:translate(-50%,-50%);
    }

}


/* Link */
.link_title{
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 20px;
}
.link_text li {
    float: left;
    margin-right: 1px;
    margin-bottom: 1px;
    line-height: 25px;
}


.float_left_desktop{
	position: fixed;
	left:0;
	top:50%;
	transform:translateY(-50%);
}
.float_right_desktop{
	position: fixed;
	right:0;
	top:50%;
	transform:translateY(-50%);
}
.home_below_carousel_desktop{
	margin: auto 20px;
}
.my-3{
	margin-top: 15px;
	margin-bottom: 15px;
}
.mt-3{
	margin-top: 15px;
}
.mt-50{
	margin-top: 50px;
}
.mb-3{
	margin-bottom: 15px;
}
.text-center{
	text-align:center;
}

.grid-container {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto auto auto;
    padding: 2px;
}
.grid-item {
    padding: 3px;
    font-size: 16px;
    text-align: center;
    margin: 2px;
    border-radius: 8px;
	background: #a1a1a114;
	white-space: nowrap;
}




@media only screen and (max-width: 1400px){
	.grid-container {
		grid-template-columns: auto auto auto auto auto auto;
	}
	.grid-item {
		font-size: 16px;
	}

}

@media (max-width: 820px){
	.head_a {
		height: auto;
	}
	.extra_menu ul{
		flex-wrap: wrap !important;

	}
	.extra_menu li {
		padding: 0 0.3rem 0 0 !important;
		line-height: 0.8rem !important;
		white-space: nowrap !important;
	}
	#topnav{
		position: static;

	}
	.hot_list {
		padding: 0 !important;
	}
	body{
		padding-top:0 ;
	}
}


@media only screen and (max-width: 500px){
	.grid-container {
		grid-template-columns: auto auto auto auto;
	}
	.grid-item {
		font-size: 14px;
	}
}


/* Edit */
.header .header-menu{
    white-space: nowrap;
    overflow: hidden;
}
.header .header-menu ul .menu-item{
    margin-left: 15px;
}
.header .header-menu .search-dev{
    margin-left:10px;
    width: 200px;
}

.pc-hide.header-menu.sub-header-menu{
    height:68px;
}

.pc-hide.header-menu.sub-header-menu .header-menu-item{
    width: 16.6667%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}