﻿.content  {
	background-color: #f5f5f5;
	padding-top: 1rem;
	padding-bottom: 2rem;
}

.interface-details {
	box-sizing: border-box;
	height: 100%;
	display: flex;
	justify-content: space-between;
}

.left {
	width: 16rem;
	background-color: #FFF;
	position: sticky;
	height: calc(100vh - 30px);
	display: flex;
	flex-direction: column;
	top: 1.875rem;
}

.active-list {
	display: flex;
	flex-wrap: wrap;
	padding-top: 1rem;
	padding-bottom: 1rem;
	overflow: hidden;
	margin-bottom: -0.5rem;
	position: relative;
}

.active-list::after {
	content: '';
	position: absolute;
	bottom:0.5rem;
	left: 0rem;
	right: 0rem;
	height: 0.0625rem;
	background-color: #E7E7E7;
}

.active-list-item {
	width: 25%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-bottom: 0.5rem;
	cursor: pointer;
}

.active-list-item-icon {
	width: 2.5rem;
	height: 2.5rem;
	display: block;
}

.active-list-item-desc {
	font-size: 0.75rem;
	color: rgba(0, 0, 0, 0.6);
	font-weight: 500;
	text-align: center;
}

.interface-list {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	flex: 1;
	overflow: auto;
}

.interface-list-item {
	display: flex;
	position: relative;
	flex-direction: column;
	font-weight: 500;
	font-size: 0.875rem;
	color: rgba(0, 0, 0, 0.6);
	height: 3rem;
	overflow: hidden;
}

.interface-list-item.auto {
	height: auto;
	overflow-y: auto;
}

.interface-list-item-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 3rem;
	cursor: pointer;
	padding-left: 1rem;
	padding-right: 1rem;
	position: relative;
}

.interface-list-item-title-title {
	flex: 0 0 12.5rem;
}

.interface-list-item-title:hover {
	background-color: #ECF2FE;
}

.inner-section-list-panel {
	height: 0rem;
	transition: all 0.3s ease-in;
}

.inner-section-list-panel.auto {
	height: auto;
}

.inner-section-list-panel-item {
	height: 3rem;
	display: flex;
	align-items: center;
	cursor: pointer;
	font-weight: 500;
	margin-top: 6px;
}
.inner-section-list-panel-item span{
	display: block;
	width: 100%;
}

.inner-section-list-panel-item a{
	color: rgba(0, 0, 0, 0.6);
	padding-left: 2.5rem;
}

.inner-section-list-panel-item:hover {
	background-color: #ECF2FE;
}

.inner-section-list-panel-item.active {
	color: #266FE8;
}

.arrow {
	width: 1rem;
	height: 1rem;
	transition: all 0.3s;
	transform: rotate(0deg);
}

.rotate {
	transform: rotate(180deg);
}

.right {
	width: 58rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background-color: #F5F5F5;
}

.r-top {
	padding: 1.5rem;
	background-color: #fff;
	display: flex;
}

.interface-icon {
	width: 5rem;
	height: 5rem;
	margin-right: 1rem;		
}

.r-top-right{
	flex: 1;
}

.r-top-right-title {
	font-size: 1.25rem;
	font-weight: 500;
	color: rgba(0, 0, 0, 0.9);
	line-height: 1.75rem;
}

.r-top-right-desc {
	display: flex;
	background-color: #F5F5F5;
	padding: 0.625rem 1rem;
	margin-top: 0.5rem;
	margin-bottom: 1.25rem;
	flex-direction: column;
}

.r-top-right-desc-left {
	font-size: 0.875rem;
	font-weight: 500;
	color: rgba(0, 0, 0, 0.6);
}

.r-top-right-desc-right {
	font-size: 0.875rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.4);
}

.r-top-right-desc-right *{
	margin: 0px !important;
	line-height:1.5625rem;
}

.r-top-right-desc-right table{
    width: 100% !important;
}

.test-button {
	width: 7.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #266FE8;
	border: 1px solid #266FE8;
	background-color: #ECF2FE;
	font-weight: 500;
	font-size: 0.875rem;
}

.r-section{
	background-color: #FFF;
	padding: 1.5rem;
}

.r-section-title {
	font-weight: 500;
	font-size: 1.25rem;
	color: rgba(0, 0, 0, 0.9);
	line-height: 1.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #E7E7E7;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}

.link-address,.methods {
	font-size: 0.875rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.4);
	display: flex;
	align-items: center;
}

.link-address .span,.methods .span {
	font-weight: 500;	
	color: rgba(0, 0, 0, 0.6);
}

.main-section-content {
	padding-top: 1rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.copy-btn {
	color: #266FE8;
	cursor: pointer;
	margin-left: 0.5rem;
}

.table {
	padding: 1.5rem 0rem 0rem;
	margin-bottom: 0rem;
}

.table table {
	width: 100%;
	border: 1px solid #f0f0f0;
}

.table thead th,.table tbody td{
	background-color: rgba(0,0,0,.02);
	color: #5c6b77;
	font-weight: 500;
	padding: 0.75rem 1rem;
	text-align: left;
	border:1px solid #f0f0f0;
	font-size: 0.875rem;
}

font {
	color: rgb(255, 0, 0);
}

.table .a {
	color: #266FE8;
}

.table tbody td {
	background-color: #FFF;
}

.pre-example {
	background-color: #FFF;
	padding-top: 1rem;
}

.pre-example .json-dict li {
	padding-left: 1rem;
}

.right-navigation {
	position: fixed;
	top: 6rem;
	right: 3rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.right-navigation a {
	font-weight: 400;
	font-size: 0.75rem;
	color: rgba(0, 0, 0, 0.9);
	position: relative;
	height: 1.25rem;
	line-height: 1.25rem;
}

.right-navigation a:before {
	content: '';
	position: absolute;
	left: -0.9375rem;
	top: 50%;
	height: 1rem;
	width: 0.0625rem;
	transform: translateY(-50%);
	background-color: transparent;
}

.right-navigation a.active {
	color: #266FE8;
}

.right-navigation a.active::before {
	background-color: #266FE8;
}

.copy-tips {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	background-color: rgba(0, 0, 0, 0.6);
	color: #FFF;
	font-size: 0.875rem;
	width: 7.5rem;
	height: 2.625rem;
	text-align: center;
	line-height: 2.625rem;
	border-radius: 0.25rem;
	display: none;
}

.rotate90 {
	transform: rotate(90deg);
}

.interface-list-item.auto {
	height: auto;
	overflow-y: auto;
}

.interface-list-item.auto .arrow  {
	transform: rotate(180deg);
}

.interface-list-item.auto .inner-section-list-panel {
	height: auto;
}

.interface-list-item.auto .interface-list-item-title {
	color: #266FE8;
}

.interface-list-item-title::before {
	content: '';
	position: absolute;
	left: 0rem;
	top: 50%;
	transform: translateY(-50%);
	width: 0.125rem;
	height: 0.875rem;
	background-color: transparent;
}

.interface-list-item.auto .interface-list-item-title::before {
	background-color: #266FE8;
}



.interface-list-item-title-title {
	flex: 0 0 12.5rem;
}

.inner-section-list-panel {
	height: 0rem;
	transition: all 0.3s ease-in;
}



.inner-section-list-panel-item:hover,.inner-section-list-panel-item.active {
	background-color: #ECF2FE;
}



.arrow {
	width: 1rem;
	height: 1rem;
	transition: all 0.3s;
	transform: rotate(0deg);
}

.right {
	width: 58rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background-color: #FFF;
	padding: 1.25rem;
}

.zhankai{
	width:16px;
	height:16px;
	position: absolute;
	right: 0px;
	bottom: 4px;
	cursor: pointer;
}


.ellipsis a{
	display: block;
	height: 3rem;
	line-height: 3rem;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}