body {
	font-family: 'Arial', sans-serif;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 对可点击元素添加平滑的过渡效果 */
a, button {
    transition: color 0.3s ease-in-out;
}

/* 为更好的美观性，设置滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #e6cfc2; /* 滚动条滑块颜色 */
    border-radius: 5px;
}

::-webkit-scrollbar-track {
    background-color: #f4f4f4; /* 滚动条轨道颜色 */
}

.search-box {
	position: relative;
    top: 10px;
	text-align: center;
	width: 65%;
  }
  
.search-container {
	display: inline-flex;
	align-items: center;
	border: 1px solid #ccc;
	border-radius: 20px;
	overflow: hidden;
	width: 100%;
  }
  
.search-input {
	flex: 1;
	height: 50px;
	width: 100%;
	padding: 10px;
	padding-left: 70px;
	padding-right: 70px;
	font-size: 20px;
	border: none;
	outline: none;
  }
  
.search-button {
	padding: 10px 20px;
	font-size: 18px;
	background-color: #eb7659;
	color: #fff;
	border: none;
	border-radius: 20px 0 0 0;
	cursor: pointer;
  }

.region-box {
	width: 95%;
	border: 1px solid #b4b2b2;
	border-radius: 6px;
	text-align: center;
}

#ExpCaGWASSearchType {
    height: 40px;
	font-size: 18px;
    border: none;
    outline: none;
    border-radius: 20px 0 0 20px;
    border-right: 1px solid #9a9a9a;
}

.caGWAS-box {
	position: relative;
    top: 10px;
	text-align: center;
	width: 95%;
  }

.add-container {
	display: inline-flex;
	align-items: center;
	border: 1px solid #ccc;
	border-radius: 10px;
	overflow: hidden;
	width: 100%;
  }
  
.add-input {
	flex: 1;
	height: 40px;
	width: 100%;
	padding: 10px;
	padding-left: 30px;
	font-size: 16px;
	border: none;
	outline: none;
  }

.add-button {
	padding: 10px 20px;
	font-size: 16px;
	background-color: #979594;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	text-align: center;
	margin-top: 20px;
  }

.search-input::placeholder {
	color: #dddada; /* 设置淡色的颜色值 */
}

.caGWAS-region-box {
	height:30pt;
	width:95%;
	border: 1px solid #d4d0d0;
	border-radius: 6px;
	text-align: center;
	font-size:12pt;
}

.myalert1{
	width: 95%; 
	margin: 0 auto;
	padding: 12px;
	background-color: rgb(243, 80, 21);
	color: white;
	font-weight: bold;
	text-align: center;
}

.mywarning1{
	width: 95%; 
	margin: 0 auto;
	padding: 12px;
	background-color: rgb(255, 170, 0);
	color: white;
	font-weight: bold;
	text-align: center;
}

th {
	background-color: #ee2400;
	color: #ffffff;
	font-weight: bold; 
	font-size: 20px;
	text-align: center;
	padding: 10px;
	width: auto;
	min-height: 30px;
	word-wrap:break-word;
}
td {
	font-size: 18px;
    padding-left: 10px;
    padding-right: 10px;
	width: auto;
	text-align: center;
	word-wrap:break-word;
	max-width:250px;
}

.gene_table {
	border: none; 
	background-color: #FFFFFF;
	border-spacing: 15px;
	width: 100%;
}
 
.gene_table tr:not(:first-child):nth-child(even) {
	background-color: #ffeee6;
  } 

.detail_table th {
	background-color: #FFFFFF;
	color: #000000;
	min-height: 30px;
}

.detail_table tr:nth-child(odd) {
  background-color: #FFFFFF;
}
 
.detail_table tr:not(:first-child):nth-child(even) {
	background-color: #ececec;
  } 

.detail_table tr:nth-child(odd) {
  background-color: #FFFFFF;
}

#exampleBtn{
	cursor: pointer;
}

#itemList {
	margin-top: 20px;
	border: 1px solid #ccc;
	padding: 10px;
	border-radius: 5px;
	height: 300px;
	overflow-y: scroll;
}
.item {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-left: 30px;
	margin-right: 30px;
	font-size: 18px;
	width: 50%; 
	max-width: 100%;
	align-items: center;
	margin-bottom: 10px;
	border: 1px solid #ccc; 
	border-radius: 5px;
}
.item span {
	margin-right: 20px;
	margin-left: 20px;
}
.remove {
	font-size: 10px;
	border: 1px solid rgba(128, 128, 128, 0.5); 
	border-radius: 50%;
	text-align: center;
	margin-right: 20px;
	margin-top: 5px;
	margin-bottom: 5px;
	cursor: pointer;
	float: right;
}

#expression_gene_list {
    margin-top: 20px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    height: 300px;
    overflow-y: scroll;
    width: 80%;
    font-size: 22px;
	text-align: center;
}

#option-span-label {
    font-size: 17px;
	display: flex;
    align-items: center;
	width: 100px;
}

.checkbox-span-label {
    font-size: 16px;
	display: flex;
    align-items: left;
	width: 220px;
}

.checkbox-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid #db6934;
    width: 16px;
    height: 16px;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    position: relative;
    background-color: transparent; /* 设置为透明，以便后面伪元素覆盖 */
}

.checkbox-input::before {
    content: "\2713"; /* Unicode字符，表示对勾 */
    display: block;
    font-size: 14px; /* 调整对勾的大小 */
    color: #fff; /* 对勾颜色 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 使对勾居中 */
    opacity: 0; /* 默认不显示 */
}

.checkbox-input:checked::before {
    opacity: 1; /* 显示对勾 */
}

.checkbox-input:checked {
    background-color: #db6934;
    border-color: #db6934;
}


#cagwas_select {
	width: 400px;
	height: 37px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 5px;
	text-align: center;
}

#ecaas_version_select {
	width: 300px;
	height: 32px;
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 5px;
	text-align: center;
}

#expression_gene_list {
	width: 400px;
	height: 240px;
	padding: 10px;
	font-size: 24px;
	border: 1px solid #ccc;
	border-radius: 5px;
	resize: none; /* Disable textarea resizing */
	overflow-y: auto; /* Enable vertical scrollbar when content exceeds textarea height */
}

.result-header {
	text-align: center;
	padding: 20px;
	background-color: #00BFFF;
	color: #fff;
	margin-bottom: 20px;
	border-radius: 8px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.result-header h1 {
	margin: 0;
	font-size: 24px;
	font-weight: bold;
}

.form-container {
	margin: 20px auto;
	max-width: 95%;
	background-color: #FFFFFF;
	border-radius: 8px;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}

.form-header {
	background-color: #fff;
	text-align: left;
	padding: 15px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.search-form {
	padding: 20px;
	font-size: 16px;
}

.search-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 15px;
}

.search-select {
	width: 100%;
	padding: 8px;
	margin-top: 5px;
	margin-bottom: 10px;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.form-buttons {
	text-align: center;
	margin-top: 20px;
}

.btn {
	padding: 10px 20px;
	font-size: 16px;
	border-radius: 4px;
	cursor: pointer;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
	transition: box-shadow 0.3s ease-in-out, transform 0.1s ease-in-out;
}

.btn:hover {
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.4);
  }

.btn:active {
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.6);
	transform: scale(0.95);
}

.loading-overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.85);
	text-align: center;
	padding-top: clamp(300px, 10%, 20%);
}

.spinner {
	width: 100px;
	height: 70px;
	text-align: center;
	font-size: 10px
}

.spinner>.double {
	background: #FA8072;
	height: 100%;
	width: 8px;
	display: inline-block;
	-webkit-animation: stretchDelay 1.2s infinite ease-in-out;
	animation: stretchDelay 1.2s infinite ease-in-out
}

.spinner .rect2 {
	-webkit-animation-delay: -1.1s;
	animation-delay: -1.1s
}

.spinner .rect3 {
	-webkit-animation-delay: -1.0s;
	animation-delay: -1.0s
}

.spinner .rect4 {
	-webkit-animation-delay: -0.9s;
	animation-delay: -0.9s
}

.spinner .rect5 {
	-webkit-animation-delay: -0.8s;
	animation-delay: -0.8s
}

@-webkit-keyframes stretchDelay {
	0%,
	40%,
	100% {
		-webkit-transform: scaleY(.4)
	}

	20% {
		-webkit-transform: scaleY(1)
	}
}

@keyframes stretchDelay {
	0%,
	40%,
	100% {
		transform: scaleY(.4);
		-webkit-transform: scaleY(.4)
	}
	20% {
		transform: scaleY(1);
		-webkit-transform: scaleY(1)
	}
}

.loading-text{
	display: none;
	font-size:25px;
	text-align: center;
	padding:30px;
	color:#554b41;
}

/* old spinner*/
.loading-spinner {
	border: 8px solid #f2c8c8;
	border-top: 8px solid #3498db;
	border-radius: 50%;
	width: 150px;
	height: 150px;
	animation: spin 1s linear infinite;
	margin: auto;
}
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
@keyframes bounce {
    0%, 80%, 100% {
    transform: scale(0);
    }
    40% {
    transform: scale(1);
    }
} 
      
.loading-spinner div:nth-child(1) {
    animation-delay: -0.32s;
}
      
.loading-spinner div:nth-child(2) {
    animation-delay: -0.16s;
}
/* old spinner*/  


.search-container {
	display: flex;
	align-items: center;
	border: 2px solid #ccc;
	border-radius: 5px;
	overflow: hidden;
	width: 85%;
	margin: 0px auto;
	box-shadow: 0 0 0.5px #00BFFF;
  }
  
.search-input {
	flex: 10;
	height: 50px;
	padding: 20px;
	font-size: 23px;
	text-align: center;
	border: none;
	outline: none;
	box-sizing: border-box;
}

.region-container {
	align-items: center;
	border: 0px solid #ccc;
	border-radius: 0px;
	overflow: hidden;
	margin: 0px auto;
}

.region-box {
	width: 85%;
	flex: 1;
	height: 40px;
	padding: 5px;
	font-size: 18px;
	border: 1px solid #ccc;
	border-radius: 7px;
	margin-right: 10px;
	box-sizing: border-box;
}

.atac-div{
	display: flex;
	align-items: center;
	position: relative;
	margin-left: -0.5%;
	box-sizing: border-box;
	max-width: 100%;
	width: 100%;
	height: auto;
	transform-origin: 0 0;
}