.modal>input {
	display: none;
}

.modal>input~* {
	overflow: hidden;
	max-height: 0;
	opacity: 0
}

.modal .overlay {
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	position: fixed;
	margin: 0;
	border-radius: 0;
	background: rgba(17, 17, 17, 0.6);
	transition: all 0.3s;
	z-index: 100000;
}

.modal .overlay~* {
	border: 0;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%) scale(0.2, 0.2);
	z-index: 1000000;
	transition: all .3s ease;
}

.modal_main {
	width: 100%;
	height: 100%;
	background: #fff;
	padding: 10px;
}

.modal>input:checked~* {
	display: block;
	opacity: 1;
	max-height: 10000px;
}

.modal>input:checked~.overlay~* {
	max-height: 85%;
	max-width: 80%;
	overflow: auto;
	-webkit-transform: translateX(-50%) translateY(-50%) scale(1, 1);
	transform: translateX(-50%) translateY(-50%) scale(1, 1);
}

.modal .model_item{
	padding: 20px 10px;
  height: 100px;
  text-align: left;
}

/* 选项卡切换样式 */
.tablink {
	background-color: #555;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 14px 16px;
	font-size: 17px;
	font-weight: 800;
	width: 150px;
}

.tablink_active {
	color: rgb(0,117,244);
	border-bottom: solid 3px rgb(0,117,244);
}

/* Style the tab content */
.tabcontent {
	color: black;
	display: none;
	padding: 50px 40px;
}

/* #London {background-color:red;}
#Paris {background-color:green;} */

#modal_tab button{
	height: 50px;
  background-color: #fff;
	border: none !important;
	border-radius: 0 !important;
}

