@import url("font-awesome.css");
@import url("layui.css");
body {
	font-family: "Microsoft YaHei", sans-serif;
	color: #4d5259;
	line-height: 1.5;
	font-size: 15px;
    background-color:#e0e0e0;
}
:root {
  --xm-color-green: #15c377;/*绿色毒刺*/
  --xm-color-red: #FF2805;;/*红色警戒*/
  --xm-color-blue: #1890ff;/*蓝色妖姬*/
  --xm-color-black: #000000;/*黑色沉默*/
  --xm-radius:5px;/*圆角大小*/
  --xm-color:#1890ff;/*默认颜色*/
  --box-shadow:0px 4px 8px rgba(255,255,255,.2);
}

a{
  color:#333;
  -webkit-transition: color .3s;
  -moz-transition: color .3s;
  -o-transition: color .3s;
  transition: color .3s;
}
a:hover {
  color: var(--xm-color-blue);
}
p {
    margin: 2px;
}
h1 {
    margin-bottom: 2px;text-align:center;
}
::-moz-selection {
    background: var(--xm-color);
    color: #fff;
}
::selection {
    background: var(--xm-color);
    color: #fff;
}
::-webkit-scrollbar-track {
    background: #222;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
}
img{
  max-width:100%;
}
.layui-card{
  margin:8px 2px;
  border-radius: var(--xm-radius);
  border: none !important;
  background-color:#ffffff;
  box-shadow: var(--box-shadow) !important;
 }
.layui-elem-quote,
.layui-table,
iframe,
.layui-unselect.layui-form-select dl,
.layui-btn,
.layui-input,.layui-textarea {
	border-radius: var(--xm-radius) !important;
	box-shadow: var(--box-shadow) !important;
}
.layui-btn-primary:hover,
.layui-form-select:hover .layui-input:focus,
.layui-input:focus,
.layui-textarea:focus {
	border-color: var(--xm-color-blue) !important;
	color: #333333;
    box-shadow:0 0 0 .5px var(--xm-color)
}
.layui-form-danger+.layui-form-select .layui-input,.layui-form-danger:focus{
 border-color:var(--xm-color-red)!important;
 box-shadow:0 0 0 3px rgba(255,87,34,.08)
}
.layui-input-wrap .layui-input:focus+.layui-input-split,
.layui-form-checked,.layui-form-checked:hover{
    border-color:var(--xm-color)
}
.selectup .layui-form-select dl{
 top: auto;
 bottom: 36px;
 max-height:220px;
}
.layui-laypage .layui-laypage-curr .layui-laypage-em,.layui-form-checked span,.layui-form-checked:hover span{
   background-color:var(--xm-color);
}
.layui-form-select dl dd.layui-this{
  color:var(--xm-color);
}

.layui-form-onswitch{
    border-color:var(--xm-color);
    background-color:var(--xm-color)
}
.layui-nav-itemed>a{
 color:var(--xm-color) !important;
}
.layui-tab-brief>.layui-tab-title .layui-this,
.layui-form-checked i,.layui-form-checked:hover i,
.layui-form-radio:hover *,.layui-form-radioed,.layui-form-radioed>i{
    color:var(--xm-color);
}
.layui-form-checkbox span{
 height:auto;
}
.layui-form-checkbox[lay-skin=primary]{
  max-height:18px;
}
.layui-form-checkbox[lay-skin=primary] span{
    background:0 0;
    color:#000000;
}
.layui-form-checkbox[lay-skin=primary]:hover i{
    border-color:var(--xm-color);
    color:#fff
}
.layui-form-checked[lay-skin=primary] i{
    border-color:var(--xm-color)!important;
    background-color:var(--xm-color);
    color:#fff
}
.layui-nav-tree .layui-nav-child dd.layui-this,.layui-nav-tree .layui-nav-child dd.layui-this a,.layui-nav-tree .layui-this,.layui-nav-tree .layui-this>a,.layui-nav-tree .layui-this>a:hover,
.layui-form-select dl dd:hover {
	background-color: var(--xm-color);
	color: #fff;
	transition: .1s all;
}
.layui-tab-brief>.layui-tab-more li.layui-this:after,.layui-tab-brief>.layui-tab-title .layui-this:after{
    border:none;
    border-radius:0;
    border-bottom:2px solid var(--xm-color);
}
.dhsort {
white-space: nowrap;
overflow: hidden;
overflow-x: scroll;
-webkit-backface-visibility: hidden;
-webkit-overflow-scrolling: touch;
text-align: justify;
}
.layui-layer {
	box-shadow: none !important;
	border-radius: var(--xm-radius) !important;
}
.layui-layer-msg {
	border: none !important;
	box-shadow: 0px 0px 5px 1px rgba(10, 10, 10, .32) !important;
}
.layui-layer.layui-layer-page .layui-layer-btn{
/* margin-top:-25px;*/
}
.layui-layer.layui-layer-page .layui-layer-content{
  margin-bottom:-10px;
}
.layui-layer-btn *{border-color: #E6E3E6;border-radius: var(--xm-radius) !important;}
.layui-layer-tips .layui-layer-content{line-height:1.6;padding:6px;border-radius:var(--xm-radius);background-color:var(--xm-color)!important;}
.layui-layer-tips i.layui-layer-TipsB,.layui-layer-tips i.layui-layer-TipsT{
    border-right-color:var(--xm-color)!important;
}
.layui-layer-tips i.layui-layer-TipsL,.layui-layer-tips i.layui-layer-TipsR{
    border-bottom-color:var(--xm-color)!important;
}

.layui-nav-tree.layui-bg-gray .layui-nav-child dd.layui-this,.layui-nav-tree.layui-bg-gray .layui-nav-child dd.layui-this a,.layui-nav-tree.layui-bg-gray .layui-this,.layui-nav-tree.layui-bg-gray .layui-this>a{
    background:var(--xm-color)!important;
    color:black!important;
    font-weight:800
}
.layui-nav-tree.layui-bg-gray .layui-nav-bar{
    background-color:var(--xm-color)
}
.xm-disabled{pointer-events: none !important;opacity: 0.8; cursor: not-allowed;}
.xm-text-green { color: var(--xm-color-green) !important }
.xm-bg-green{background-color:var(--xm-color-green)!important;color:#fff!important;}
.xm-text-blue{	color: var(--xm-color-blue) !important }
body .xm-layer-blue .layui-layer-title,
body .xm-layer-blue .layui-layer-btn0,
.xm-bg-blue{ background-color:var(--xm-color-blue)!important;color:#fff!important}
.xm-text-red {color: var(--xm-color-red) !important }
body .xm-layer-red .layui-layer-title,
body .xm-layer-red .layui-layer-btn0,
.xm-bg-red{ background-color:var(--xm-color-red)!important; color:#fff!important}
.xm-text-dark {	color: var(--xm-color-black) !important }
body .xm-layer-dark .layui-layer-setwin span,
body .xm-layer-dark .layui-layer-title,
body .xm-layer-dark .layui-layer-btn0,
.xm-bg-dark{ background:var(--xm-color-black)!important;color:#fff!important;border:none }
.xm-text-right{float:right;}
.xm-text-center{text-align:center!important}
.xm-text-xm {font-weight: bold;background: linear-gradient(45deg, #ff0080, #ff8c00, #ffd700, #32cd32, #00bfff, #8a2be2);background-size: 400% 400%;color: transparent;-webkit-background-clip: text;background-clip: text;animation: xmtextc 3s ease-in-out infinite;}
.xm-bg-xm {background: linear-gradient(45deg, #ff0080, #ff8c00, #ffd700, #32cd32, #00bfff, #8a2be2);background-size: 400% 400%;background-size: 1915%;color: white !important;animation: xmtextc 8s ease-in-out infinite;}
.xm-loading{
 position:fixed;
 top:0;
 bottom:0;
 left:0;
 right:0;
 margin:auto;
 z-index:12;
 border-radius:50%;
 animation:s1 1s infinite;
}
.xm-modal.elem{
  position:absolute;
}
.xm-loading.load-1{
 width:30px;
 height:30px;
 border:4px solid;
 border-color:var(--xm-color) #0000;
}
.xm-loading.load-2{
  width:50px;
  height:50px;
  background:var(--xm-color);
  -webkit-mask:
  repeating-conic-gradient(#0000 0deg,#000 1deg 70deg,#0000 71deg 90deg),
    radial-gradient(farthest-side,#0000 calc(100% - 9px),#000 calc(100% - 8px));
  -webkit-mask-composite: destination-in;
  mask-composite: intersect;
}
@keyframes s1 {to{transform: rotate(.5turn)}}
@keyframes fadeIn {
  from {opacity: 0; }
  to { opacity: 1; }
}
@keyframes xmtextc{
  0%{background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}
header.layui-layout.layui-layout-admin .layui-header{
    background:#fff;
    height:50px;
}
header.layui-layout-admin .layui-header .layui-logo{
    line-height:60px;
    color:#000000;
    font-size:16px;
    text-align:left;
    left:20px;
    box-shadow:none;    
}
header.layui-layout-admin .layui-header .layui-logo img{
  width:30%;
  height:30px;
}
header.layui-layout-admin .layui-header .layui-nav *{
   color:#000000;
}
.fixed{
  background: rgba(255, 255, 255,0) !important;
}
.layui-fluid[xmo=body]{
 position:none;
 margin:0 auto;
 padding:60px 5% 4px 5%;
}
.xm-lunbo.layui-carousel{
 width:100%;
 height:220px;
}
.xm-lunbo.layui-carousel div[carousel-item]{
  border-radius: var(--xm-radius) !important;
  width:100%;
  height:220px;
}
.xm-lunbo.layui-carousel .layui-carousel-ind{
    margin-top:-20px;
    top:-10px
}
.xm-lunbo.layui-carousel div[carousel-item] img{
 width: 100%;
 height: 100%;
}
.xm-modal {
   background-color: rgba(0, 0, 0, 0.2);
   height: 100%;left: 0;
   opacity: 1;top: 0;
   visibility: visible;
   width: 100%;
   z-index:8;
   position: fixed;
   -webkit-transition: visibility 0 linear 0.4s, opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   transition: visibility 0 linear 0.4s, opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   -webkit-transform: translateZ(0);
   transform: translateZ(0);
}
.dhsort::-webkit-scrollbar{
display:none;
}
footer{
 margin-bottom:5px !important
}

.xm-site {
  display: block;
  color: #666;
  padding:4px;
  border-radius: var(--xm-radius);
  margin:3px;
  white-space: nowrap;
  background: #fff;
  transition: transform 0.3s, background 0.3s, color 0.3s;
}
.xm-site.top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding:10px 8px;
  margin:4px;
}
.xm-site:hover {
  color:#666;
  font-weight: 600;
  background:#eee;
  transform: scale(1.01);
}
.xm-site .icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  transition: transform 0.3s;
}
.xm-site.top .icon{
  width: 40px;
  height: 40px;
}
.xm-site:hover .icon {
  transform: rotate(360deg);
}

.xm-site .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: top;
  border-radius: var(--xm-radius);
  border: 1px solid #eee;
  pointer-events: none;
}
.xm-site .info {
  display: inline-block;
  vertical-align:bottom;
  width: calc(100% - 30px);
  margin-left:2px;
}
.xm-site .info .name,
.xm-site .info .desc {
  display: block;
  width: calc(100% - 2px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;  
}
.xm-site .info .name {
  font-size: 16px;
}
.xm-site .info .desc {
  color:#959595;
  font-size:8px;
}
.xm-site.top .info,
.xm-site.top .name {
  font-size: 14px;
  width: 100%;
  margin-top:4px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.xm-site:hover .info .name{
  color:var(--xm-color);
}
.xm-site.min .icon{
 width:20px;
 height:20px;
}
.xm-site.top .info .desc,
.xm-site.min .info .desc{
 display:none;
}

.xm-site-main {
  display: inline-block;
  padding: 5px;
  width:60%;
  font-size: 14px;
  vertical-align: top;
}

.xm-site-main .title {
  display: block;
  font-weight: 600;
  font-size: 22px;
  line-height: 32px;
  text-align: center;
  padding-top: 0;
  padding-bottom: 0;
  width: 100%;
}

.xm-site-main span {
  line-height:24px;
  padding:4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  z-index: 1;
}
.xm-site-main span img{
 height:20px;
}
.xm-site-side {
  float: left;
  padding: 20px;
  text-align: center;
  width: 100%;
  padding: 0;
  float: none;
}

.xm-site-side .pic {
  position: absolute;
  top:55px;
  left: 59%;
  width:30%;
  height: 140px;
  z-index:1;
}

.xm-site-side .pic img {
  display: inline-block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius:var(--xm-radius);
  border: 1px solid #eee;
}
.xm-post {
  display:block;
  color: #555;
  font-size: 16px;
  padding: 8px;
  border-radius: var(--xm-radius);
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.xm-post:hover {
  color: #555;
  background: #eee;
}
.xm-post .pic {
  flex: none;
  width: 80px;
  height:65px;
}
.xm-post .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--xm-radius);
}

.xm-post .text {
  display: block;
  flex-direction: column;
  justify-content: space-between;
  margin-left:85px;
  margin-top:-63px;
  padding:3.3px 0;
}

.xm-post .title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 16px;
  height: 2.608714286em;
}

.xm-post .info {
  display: flex;
  justify-content: space-between;
  color: #888;
  font-size: 12px;
}


.xm-ranking {
  display: flex;
  align-items: center;
  padding: 6px;
  line-height: 25px;
  font-size: 14px;
  color: #666;
  border-radius: var(--xm-radius);
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.xm-ranking:hover {
  color: #666;
  background: #eee;
}

.xm-ranking .rank {
  flex: none;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  text-align: center;
  color:#fff;
  background:#4c68e6;
  border-radius: var(--xm-radius);
}
.xm-ranking:nth-child(1) .rank {
  font-size: 0;
  background: url('../image/rank_1.png') no-repeat 50% 50%/100%;
}
.xm-ranking:nth-child(2) .rank {
  font-size: 0;
  background: url('../image/rank_2.png') no-repeat 50% 50%/100%;
}

.xm-ranking:nth-child(3) .rank {
  font-size: 0;
  background: url('../image/rank_3.png') no-repeat 50% 50%/100%;
}
.xm-ranking:nth-child(4) .rank {
  background:#ff0000; 
}
.xm-ranking:nth-child(5) .rank {
  background:#ff9f00;
}
.xm-ranking:nth-child(6) .rank {
  background:#ff00be;
}
.xm-ranking:nth-child(7) .rank {
  background:#9df500;
}

.xm-ranking .icon {
  flex: none;
  width:15px;
  height: 15px;
  line-height: 25px;
  margin-right: 4px;
  border-radius: var(--xm-radius);
}

.xm-ranking .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: top;
  border-radius: var(--xm-radius);
}

.xm-ranking .name {
  flex: auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.xm-ranking .view {
  flex: none;
  color: var(--xm-color);
  font-size: 15px;
  font-style: italic;
  border-radius: 4px;
  margin-right: 6px;
}
.xm-ranking.min:hover{
  color:var(--xm-color-red) !important;
  background:none;
}
.xm-ranking.min .layui-badge.xm-bg-xm{
  margin-right:4px;
  font-size:14px;
}
.xm-ad{
  display:block;
  background:#2B4DFF;
  border-radius: var(--xm-radius);
  box-shadow: var(--box-shadow) !important;
  padding:4px !important;
  font-size:16px;
  color:#fff;
}
.xm-ad:hover{
  color:#fff; 
  background:var(--xm-color-red); 
}
.xm-ad img{
   max-height:40px;
   width:100%;
   border-radius: var(--xm-radius);
}
.xm-pan {
  display: inline-flex;
  align-items: center;
  background-color: #fff;
  border-radius: var(--xm-radius);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 10px;
}
.xm-pan .icon {
   font-size:50px;
   color: #4c8bf5;
   margin-left:4px;
   margin-right:6px;
   margin-bottom:-5px;
}
.xm-pan h3 {
   font-size: 18px;
   font-weight: 600;
   color: #333;
   margin-bottom:0px;
}
.xm-pan .size {
  font-size: 14px;
  color: #888;
}
.xm-music {
  display: flex;
  align-items: center;
  border-radius:var(--xm-radius);
  padding:6px;
  border-style: solid;
  border-color: #eee;
  background-color:#fff;
  box-shadow: var(--box-shadow) !important;
  margin-bottom:10px;
  max-width:400px;
}
.xm-music:hover {
 color:var(--xm-color-blue);
 border-color: var(--xm-color-blue);
}
.xm-music .pic {
  width:80px;
  height: 60px;
  border-radius:var(--xm-radius);
  margin-right: 10px;
}
.xm-music .info h3 {
  margin: 0;
  font-size: 16px;
}
.xm-music .info p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #ccc;
}
.xm-music .xm-time{
  float:right;
  margin-bottom:-50px;
  margin-left:20%;
  font-size: 10px;
  color:var(--xm-color);
}
.xm-music .play-btn {
  background: none;
  border: none;
  color: #FF2805;
  cursor: pointer;
  margin-left: auto;
  margin-right:10px;
}
/*手机端*/
@media screen and (max-width: 767px) {
  header.layui-layout-admin .layui-header .layui-nav-item > a {
    padding:0 10px;
  }
  .layui-fluid[xmo=body]{
   position:none;
   margin:0 auto;
   padding:50px 4px 4px 4px;
  }
  .xm-lunbo.layui-carousel div[carousel-item]{
    height:130px;
  }

 .xm-site-main{
   width:100%;
  }
  .xm-site-main .title{
   width:100%;
  }
  .xm-site-side .pic {
     width:40%;
     height:35%;
  }

}
