﻿/* 图片加阴影 */
img{
  vertical-align: bottom;
}
.out-shadow{
  margin-right:3px;
  padding:8px;
  border:1px solid #ccc;
  border-radius:3px;
  box-shadow: 0 0 3px rgba(0,0,0,0.2);
  transition:all 0.3s ease;
}
.out-shadow:hover{
  border:1px solid rgba(82, 168, 236, 0.6);
  box-shadow: 0 0 11px rgba(82, 168, 236, 0.6);
}





/* 彩色文字 */
 #nr{     font-size:30px;font-weight: bold;     margin: 0;     background: -webkit-linear-gradient(left,         #ffffff,         #ff0000 6.25%,         #ff7d00 12.5%,         #ffff00 18.75%,         #00ff00 25%,         #00ffff 31.25%,         #0000ff 37.5%,         #ff00ff 43.75%,         #ffff00 50%,         #ff0000 56.25%,         #ff7d00 62.5%,         #ffff00 68.75%,         #00ff00 75%,         #00ffff 81.25%,         #0000ff 87.5%,         #ff00ff 93.75%,         #ffff00 100%);     -webkit-background-clip: text;     -webkit-text-fill-color: transparent;     background-size: 200% 100%;     animation: masked-animation 3s infinite linear; } @keyframes masked-animation {     0% {         background-position: 0 0;     }     100% {         background-position: -100%, 0;     } } 





/* 小文字广告位代码 */
 .tp-ad-text1 {width:100%;padding-top:6px;box-sizing:border-box;overflow: hidden;background: rgba(255,255,255,.2);}

 .tp-ad-text1 a {color:#7fba00;font-size:14px;line-height:32px;text-align:center;border:1px dashed rgba(0,0,0,.2);padding:0 3px;box-sizing:border-box;float:left;width:15.66%;height:32px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 0.5% 5px;text-decoration:none;transition:all .6s;}

 .tp-ad-text1 a:hover {font-weight: bold;color:#fff!important;background:#7fba00;transition: all .6s;}

 .tp-ad-text1 a:nth-child(2n) {color:#f74e1e;}

 .tp-ad-text1 a:nth-child(2n):hover {background:#f74e1e;border-color: #f74e1e;}

 .tp-ad-text1 a:nth-child(3n) {color:#00a4ef;}

 .tp-ad-text1 a:nth-child(3n):hover {background:#00a4ef;border-color: #00a4ef;}

 .tp-ad-text1 a:nth-child(4n) {color:#0517c2;}

 .tp-ad-text1 a:nth-child(4n):hover {background:#0517c2;border-color: #0517c2;}

 .tp-ad-text1 a:nth-child(5n) {color:#601165;}

 .tp-ad-text1 a:nth-child(5n):hover {background:#601165;border-color: #601165;}

 .tp-ad-text1 a:nth-child(6n) {color:#ffb900;}

 .tp-ad-text1 a:nth-child(6n):hover {background:#ffb900;border-color: #ffb900;}

 .tp-ad-text1 a:nth-child(7n) {color:#0fc317;}

 .tp-ad-text1 a:nth-child(7n):hover {background:#0fc317;border-color: #0fc317;}

 .tp-ad-text1 a:nth-child(8n) {color:#601165;}

 .tp-ad-text1 a:nth-child(8n):hover {background:#601165;border-color: #601165;}

 .tp-ad-text1 a:nth-child(9n) {color:#fba78f;}

 .tp-ad-text1 a:nth-child(9n):hover {background:#fba78f;border-color: #fba78f;}

 .tp-ad-text1 a:nth-child(10n) {color:#13cf8f;}

 .tp-ad-text1 a:nth-child(10n):hover {background:#13cf8f;border-color: #13cf8f;}

 .tp-ad-text1 a:nth-child(11n) {color:#f74e1e;}

 .tp-ad-text1 a:nth-child(11n):hover {background:#f74e1e;border-color: #f74e1e;}

 .tp-ad-text1 a:nth-child(12n) {color:#ffb900;}

 .tp-ad-text1 a:nth-child(12n):hover {background:#ffb900;border-color: #ffb900;}

 .tp-ad-text1 a:nth-child(13n) {color:#fba78f;}

 .tp-ad-text1 a:nth-child(13n):hover {background:#fba78f;border-color: #fba78f;}

 .tp-ad-text1 a:nth-child(14n) {color:#f74e1e;}

 .tp-ad-text1 a:nth-child(14n):hover {background:#f74e1e;border-color: #f74e1e;}

 .tp-ad-text1 a:nth-child(15n) {color:#7fba00;}

 .tp-ad-text1 a:nth-child(15n):hover {background:#7fba00;border-color: #7fba00;}

 .tp-ad-text1 a:nth-child(16n) {color:#0fc317;}

 .tp-ad-text1 a:nth-child(16n):hover {background:#0fc317;border-color: #0fc317;}

 .tp-ad-text1 a:nth-child(17n) {color:#0517c2;}

 .tp-ad-text1 a:nth-child(17n):hover {background:#0517c2;border-color: #0517c2;}

 .tp-ad-text1 a:nth-child(18n) {color:#13cf8f;}

 .tp-ad-text1 a:nth-child(18n):hover {background:#13cf8f;border-color: #13cf8f;}

 .tp-ad-text1 a:nth-child(19n) {color:#ffb900;}

 .tp-ad-text1 a:nth-child(19n):hover {background:#ffb900;border-color: #ffb900;}

 .tp-ad-text1 a:nth-child(20n) {color:#f74e1e;}

 .tp-ad-text1 a:nth-child(20n):hover {background:#f74e1e;border-color: #f74e1e;}

 @media screen and (max-width: 1198px){

  .tp-ad-text1 a{

   width: 24%;

  }

 }
/* 小文字广告位代码 */


/* 大文字广告位代码 */
.tp-ad-text2 {

  width: 100%;

  padding-top: 6px;

  box-sizing: border-box;

  overflow: hidden;

  background: rgba(255,255,255,.2);

  display: flex;

  flex-wrap: wrap;

 }

 .tp-ad-text2 a {

  color: #7fba00;

  font-size: 14px;

  line-height: 38px;

  text-align: center;

  border: 1px dashed rgba(0,0,0,.2);

  padding: 0 3px;

  box-sizing: border-box;

  height: 38px;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

  margin: 0 0.5% 6px;

  text-decoration: none;

  transition: all .6s;

  flex: 1 1 calc(24% - 1.5%); /* 基础宽度为24%，减去左右边距 */

 }

 .tp-ad-text2 a:hover {

  font-weight: bold;

  color: #fff !important;

  background: #7fba00;

  transition: all .6s;

 }

 /* 其他颜色变化保持不变 */

 

 /* 媒体查询，针对小屏幕设备 */

 @media screen and (max-width: 768px) {

  .tp-ad-text2 a {

   flex: 1 1 calc(49% - 1.5%); /* 在小屏幕上变为两列布局 */

  }

 }

 

 @media screen and (max-width: 480px) {

  .tp-ad-text2 a {

   flex: 1 1 calc(100% - 1.5%); /* 在更小的屏幕上单列布局 */

  }

 }

/* 大文字广告位代码 */