:root {
    /* 主题色 */
    --primary-color: #D90000;
    --secondary-color: #000;
    --background-color: #D90000;

    /* 文字颜色 */
    --text-primary: #707070;
    --text-secondary: #707070;
    --text-light: #D90000;

    /* 链接颜色 */
    --link-color: #666;
    --link-hover-color: #000;
}

/*初始化样式*/
html {
    margin: 0;
    padding: 0;
    border: 0;
}

div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
p,
blockquote,
pre,
a,
address,
code,
b,
em,
img,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
footer,
header,
hgroup,
nav,
section {
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    background: #fff;
    color: #666;
    position: relative;
    font: 12px/1.5 Microsoft YaHei, 微软雅黑;
    vertical-align: baseline;
    width: 100%;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    outline: none;
}

a:visited {
    color: #666;
}

a:hover,
a:active,
a:focus {
    color: var(--primary-color);
    text-decoration: none;
    outline: none;
}

p {
    margin: 0;
}

input {
    padding: 0;
    margin: 0;
    font-family: 'Microsoft YaHei';
}

img {
    border: none;
    background: none;
    vertical-align: middle;
}

ul,
ol,
li {
    list-style-type: none;
}

select,
input,
img,
select {
    vertical-align: middle;
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

table,
th,
td {
    vertical-align: middle
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    overflow: hidden;
    visibility: hidden;
}

.clearfix {
    zoom: 1
}

.clearboth {
    height: 0px;
    line-height: 0px;
    overflow: hidden;
    clear: both;
    font-size: 0px;
}

h1,
h2,
h3,
h4 {
    font-size: 12px;
    font-weight: bold;
}

hr {
    border: 0;
    border-top: 1px solid #ccc;
    height: 0;
}

dt {
    font-weight: normal;
}

.slide-inner {
    position: relative;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    /* background-size: cover;
  background-position: center; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    color: #fff;
  }
  .swiper-slide {
    overflow: hidden;
  }

/*----- Common css ------*/
.mdy_fl {
    float: left;
}

.mdy_fr {
    float: right;
}

.mdy_di {
    _display: inline;
}

.mdy_fwn {
    font-weight: normal;
}

.mdypr {
    position: relative;
}

.mdy_dib {
    *display: inline;
    _zoom: 1;
    _display: inline;
    _font-size: 0px;
}

.mdy_flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    display: -webkit-flex;
}
.mdy_flexc {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mdy_flexAl {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    display: -webkit-flex;
}

.mdy_flexc {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.mdy_flexd {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.mdy_flexd2 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 文本居中 */
.mdy_tar {
    text-align: right;
}

.mdy_wh {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 15px;
}

.mdy_pos {
    position: relative;
    width: 1920px;
    left: 50%;
    margin-left: -960px;
}

.mdy_com-img {
    /* display: inline; */
    overflow: hidden;
    /* margin: 0 auto; */
    /* display: table; */
}

.mdy_com-img img {
    transition: all 0.8s;
    -webkit-transition: all 0.8s;
    -moz-transition: all 0.8s;
    -o-transition: all 0.8s;
}

.mdy_com-img:hover img {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
}

/* img效果 */
.shine-effect {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.shine-effect img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.shine-effect::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -75%;
    width: 50%;
    height: 300%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
}

.wh_100 {
    width: 100%;
}

/* hover 触发动画 */
.shine-effect:hover::before {
    animation: shine 0.8s ease-in-out;
}

/* 关键帧动画 */
@keyframes shine {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}



/*滚动*/
#mdy_demo {
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

#mdy_indemo {
    float: left;
    width: 800% !important;
}

#mdy_demo1 {
    float: left;
}

#mdy_demo2 {
    float: left;
}

#mdy_m_demo {
    overflow: hidden;
    width: 92%;
    margin: 0 auto;
}

#mdy_m_indemo {
    float: left;
    width: 800% !important;
}

#mdy_m_demo1 {
    float: left;
}

#mdy_m_demo2 {
    float: left;
}

.active i {
    animation: indppTitleRight 2.6s ease both;
}


.mdy_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-row-gap: 20px;
    grid-column-gap: 20px;
}

@keyframes indppTitleRight {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(110%);
    }
}

/* 文字 */
.mdy_h3 {
    position: relative;
    font-size: 1.8rem;
    font-weight: bold;
    color: #000000;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hvr-rectangle-out:before {
    background: var(--primary-color) !important;
    border-radius: 10px;
}