/* public */
.row{margin-right: 0; margin-left: 0;}
.form-row{display: flex;flex-wrap: wrap;}
.form-inline {display: -ms-flexbox;display: flex;-ms-flex-flow: row wrap;flex-flow: row wrap;-ms-flex-align: center;align-items: center;}
.float-right {float:right!important}
.glyphicon {padding-right:3px;padding-left: 3px;}
.form-horizontal .form-group {margin-right:0px;margin-left:0px;}
.alert-box{display:none;position:fixed;top:30%;width:30%;left:35%;z-index:9999;text-align:center;}
.navbar{border-radius: 0;border: 0;}
.navbar-form{border:0}
.navbar-right{margin-right:0}

.mb-3, .my-3 {
    margin-bottom: 1rem!important;
}
body{padding-top:60px;}
body,button,input,select,textarea,p,ul,li,a,label,span,div {
	font-family: Microsoft YaHei, tahoma, arial, "Hiragino Sans GB", \5b8b\4f53, sans-serif;
}
blockquote{margin:10px 0 0 0;padding:0 0 0 10px;border-left:5px solid red}
ul,li {	list-style: none;}
textarea.form-control{height:250px!important;-webkit-appearance: none;}
input[type=text]{-webkit-appearance: none;}

a{color:#333;text-decoration: none;}
a:link {text-decoration: none;}
a:visited {text-decoration: none;}
a:hover {color: #0000FF;text-decoration: underline;	cursor: pointer;}
a:active {color: #0000FF;text-decoration: none;}

 

 :root {
      --bg-light: #f9fafb;
      --bg-dark: #1e1e1e;
      --text-light: #333;
      --text-dark: #eee;
      --card-bg-light: #fff;
      --card-bg-dark: #2b2b2b;
      --border-color-light: #ddd;
      --border-color-dark: #444;
    }
	
	.toggle-mode {
      margin-top: 8px;
	  
      cursor: pointer;
    }


	.ebtool-body{
		font-family:Segoe UI,Microsoft YaHei,sans-serif;
		margin:0;
		color:var(--color-primary)
	}

    body.dark-mode {
      background: #1e1e1e;
      color: #f1f1f1;
    }

    .ebtool-header {
		 position: fixed;
		  top: 0;
		  width: 100%;
		  background-color: #f0f2f5;
		  padding: 10px 20px;
		  border-bottom: 1px solid #e0e0e0;
		  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
		  z-index: 1000;
    }
	
	   body.dark-mode header {
      background-color: #2b2b2b;
      box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    }

    .ebtool-nav-container {
		  max-width: 1200px;
		  margin: 0 auto;
		  display: flex;
		  align-items: left;
		  justify-content: left;
		  gap: 40px;
    }

    .ebtool-logo {
      display: flex;
      align-items: center;
      font-size: 20px;
      font-weight: bold;
      color: #333;
    }

    .ebtool-logo img {
      height: 36px;
      margin-right: 10px;
    }
	
	.ebtool-logo a {
		text-decoration: none;
		color: #333;
    }
	.ebtool-burger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}
	.ebtool-headnav {
      margin-top: 10px;
	  
    }

    .ebtool-headnav ul {
      list-style: none;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 30px;
	  margin: 0;
	  padding: 0;
	  box-sizing: border-box;
	  
    }

    .ebtool-headnav ul li {
      position: relative;
	  
    }

    .ebtool-headnav ul li a {
      text-decoration: none;
      color: #333;
      padding: 8px;
      font-weight: 500;
      transition: color 0.2s;
    }

    .ebtool-headnav ul li a:hover {
      color: #007bff;
    }

    .ebtool-headnav ul li ul {
      display: none;
      position: absolute;

	  top: 100%; /* 紧贴主菜单项下方 */
      left: 0;
      background-color: #fff;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      border-radius: 6px;
      min-width: 160px;
      z-index: 1000;
    }

    .ebtool-headnav ul li:hover > ul {
      display: block;
    }

    .ebtool-headnav ul li ul li a {
      display: block;
      padding: 10px 15px;
      color: #333;
    }

    .ebtool-headnav ul li ul li a:hover {
      background-color: #f5f5f5;
    }
	
	
	/* —— 移动端 —— */
@media (max-width: 768px) {
  .ebtool-burger {
    display: block;
  }

  .ebtool-headnav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #ccc;
    display: none;
    flex-direction: column;
    width: 100%;
  }
  
  .ebtool-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  position: relative;
}

  body.nav-open .ebtool-headnav {
    display: flex;
  }

  .ebtool-headnav ul {
    flex-direction: column;
    gap: 0;
  }

  .ebtool-headnav > ul > li {
    border-top: 1px solid #eee;
  }

  .ebtool-headnav ul li a {
    padding: 12px 16px;
  }

  /* 子菜单默认隐藏，点击时切换 */
  .ebtool-headnav ul li ul {
    position: static;
    border: none;
    display: none;
  }

  .ebtool-headnav ul li.active > ul {
    display: block;
  }

  .ebtool-headnav ul li > a::after {
    content: " ▼";
    font-size: 10px;
  }

  .ebtool-headnav ul li > a:only-child::after {
    content: "";
  }
}
	
	 .ebtool-content {
      flex: 1;
      padding: 80px 0px 10px; /* 头部高度 + 底部高度 */
	 max-width: 1200px;
      margin: 0 auto;
    }
	
	
.ebtool-footer {
  background-color: #f0f2f5;
  padding: 20px 0;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.03);

    position: fixed;
    bottom: 0;
    width: 100%;

}

.dark-mode footer {
  background: #1e1e1e;
  color: #f1f1f1;
}

.ebtool-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: #333;
  font-size: 14px;
}


	body.dark-mode  div {
	background: #1e1e1e;
      color: #f1f1f1;
    }

	body.dark-mode  a {
      color: #f1f1f1;
    }
	body.dark-mode  nav ul li a{
      color: #f1f1f1;
    }
	
body.dark-mode  nav ul li a ul li a{
      color: #f1f1f1;
    }
	
body.dark-mode  nav ul li  ul  {
      background-color: #1e1e1e;
    }
	

#ebtoolContainer{
	margin-top: 30px;
	width: 100%;
	min-height:360px;
	margin-right: auto;
    margin-left: auto;
    display: table;
	max-width: 1200px;
			  align-items: center;
		  justify-content: center;
}

/*---------- tool list(for index.htm page) ----------- */
.toolList{margin-bottom:20px;}
.toolList blockquote{margin:0;}
.toolList blockquote h2{font-size:18px;margin-top:0;margin-bottom:20px;}
.toolList a{text-decoration: none;}
.toolList img{width:60px}
.toolList .media-heading {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    line-height: 2;
    max-width: 280px;
    font-weight: 600;
    color: #242424;
    font-size: 16px;
}
.toolList p {
	height: 32px;
    line-height: 20px;
    font-weight: 400;
    color: #8f8f8f;
    font-size: 14px;
}
.toolList .thumbnail {
    box-shadow: 0 0 10px rgba(0,0,0,.1);
    border-radius: 10px;
    border: 0;
    padding: 10px;
}

/*---------- tool panel(for function page) ----------- */
#toolPanel{
    border-radius: 10px;
    background: #f6f7fa;
    padding: 20px;
    border: 0;
}
#toolPanel .panel-heading{
    border: 0;
    padding: 0 0 20px 0;
}
#toolPanel .panel-heading > div:first-child{
	padding-left: 0;
}
#toolPanel .panel-heading > div:last-child{
	padding-right: 0;
}
#toolPanel .panel-body{
    background: #fff;
    border-radius: 10px;
    border: 0;
}
#toolPanel .toolName {
	display:inline-block;
	font-size: 18px;
	height: 30px;
    line-height: 30px;
    font-style: normal;
    font-weight: 600;
}
#codeTextArea{
	width:100%;
	height:100px !important;
}

#toolDescription h1,#toolDescription h2,#toolDescription h3,#toolDescription h4,#toolDescription h5{
	font-size: 14px;
    font-weight: bold;
}
#toolDescription table{
	border-spacing: 0;
    border-collapse: collapse;
}
#toolDescription table caption{
	padding-top: 8px;
    padding-bottom: 8px;
    color: #777;
    text-align: left;
}
#toolDescription table th, #toolDescription table td{
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border: 1px solid #ddd;
}


#fileListTH th{
	color: rgba(0,0,0,.64);
    font-size: 12px;
    font-weight: 500;
    border-bottom: 1px solid #f2f6fd;
}
#fileList tr td{vertical-align:middle;border-bottom:1px solid #f2f6fd;color: rgba(0,0,0,.64);}




/*---------- 底部 ----------- */
#ebtoolFoot {
	clear:both;
    width: 100%;
    margin:50px auto 0 auto;
	background: #f6f7fa;
	border-top: 1px solid #f6f7fa;
}
.foot-note {
    margin: 0 auto;
    border-bottom: 1px solid #f6f7fa;
}
.foot-note dl {
    padding:0 0 0 30px;
    color: gray;
    margin: 25px 0;
}
.foot-note dl dd {
    font-size: 12px;
    margin: 10px 0 0 0;
	padding: 0 0 0 5px;
}
.foot-note dl dt {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}
.foot-note a {
    color: gray;
}
.foot-share {
    min-height: 220px;
    padding: 20px 0 0 40px;
}
.foot-share strong {
	display:block;
    font-size: 18px;
    color: #666;
    margin-bottom: 15px;
}

.foot-copyright {
	clear:both;
    font-size: 12px;
    color: #999;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    line-height: 30px;
}
.foot-copyright a{
	color: #999;
}

/*---------- 自适应移动端，放在最后 ！！！----------- */
@media (max-width: 1200px) {
	.pc-show{display:none}
}

