@charset "utf-8";

/* 从style.css继承CSS变量 */
:root {
  --primary-color: #4364eb;
  --secondary-color: #04bf5b;
  --text-color: #fff;
  --bg-light: #f9f9f9;
  --shadow: 2px 2px 2px #5c5c5c;
  --border-radius: 10px 10px 0 0;
}
.tabs .tab_menu li {
  position: relative;
  float: left;
  margin-right: 2px;
}

.tabs .tab_menu li a {
  display: block;
  padding: 0.5em 5.8em;
  background:rgb(255 255 255 / 48%);
  font-size: 1.2rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-speed);
  text-decoration: none;
  white-space: nowrap;
}

.tabs .tab_menu li:hover a, 
.tabs .tab_menu li a:focus, 
.tabs .tab_menu li.active a {
  background: var(--bg-light);
  box-shadow: var(--shadow);
  outline: 2px solid transparent;
  outline-offset: 2px;
  color: #06F;
    font-weight: bold;
}

.tabs .tab_menu li img {
  opacity: 0;
  position: absolute;
  top: 7px;
  left: 16px;
  transition: all var(--transition-speed);
}

.tabs .tab_menu li:hover img, 
.tabs .tab_menu li.active img {
  opacity: 1;
  left: 6px;
}

/* ///////////////////////////////////////// 
	=.tab_contents
///////////////////////////////////////// */

.tabs .tab_contents {
  background: var(--bg-light);
  border-radius: 0 0 10px 10px;
  overflow: hidden;
}

.tabs .tab_contents li {
  min-height: 144px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ededed;
  background: var(--bg-light);
}

.js .tabs .tab_contents li {
  position: relative;
  width: 100%;
  margin-bottom: 0;
  border-bottom: 0;
  display: none;
}

.js .tabs .tab_contents li.active {
  display: block;
}

.js .tabs .tab_contents li.active {
  z-index: 10;
}
.clear{ clear: both;}

/* 响应式选项卡菜单 */
@media (max-width: 1024px) {
  .tabs .tab_menu li a {
    font-size: 1.5rem;
    padding: 0.5em 2.5em;
  }
}

@media (max-width: 768px) {
  .tabs .tab_menu li {
    margin-right: 1px;
  }
  
  .tabs .tab_menu li a {
    font-size: 1rem;
    padding: 0.5em 3em;
  }
}

@media (max-width: 480px) {
  .tabs .tab_menu li {
    margin-right: 1px;
  }
  
  .tabs .tab_menu li a {
    font-size: 0.9rem;
    padding: 0.5em 1.5em;
  }
}

@media (max-width: 360px) {
  .tabs .tab_menu li a {
    font-size: 0.8rem;
    padding: 0.5em 1.2em;
  }
}
