html,
body {
    height: 100%;
    width: 100%;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Roboto", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    margin: 0;
    background-color: #f4f6f8;
}

a {
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
    color: #474157;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #46b8da;
    text-decoration: none;
}

hr {
    max-width: 100px;
    margin: 25px auto 0;
    border-width: 1px;
    border-color: rgba(34, 34, 34, 0.1);
}

hr.light {
    border-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 200;
    letter-spacing: 1px;
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}
.panel-info{
    background-color: rgba(255, 255, 255, 0.8);
}

#mainbody {
    position: relative;
    width: 100%;
    min-height: auto;
    background-color: transparent;
    /*background: #f1f6fd;*/
    color: #474157;
    /*height: calc(100vh - 61px);*/
    
}

#mainbody > .container > .text-center {
    text-align: center;
    padding: 350px 0 50px;
    position: relative;
    height: 100vh;
}

#mainbody > .container > .text-center h1 {
    font-size: 50px;
    font-weight: bold;
    color: #171347
}

#mainbody > .container > .text-center > a {
    background: #fdcc52;
    background: -webkit-linear-gradient(#fdcc52, #fdc539);
    background: linear-gradient(#fdcc52, #fdc539);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 300px;
    margin-top: 20px;
    padding: 10px 45px;
    font-size: 14px;
    text-decoration: none;
}

@media (max-height: 500px) {
    #mainbody {
        height: inherit;
    }
}

@media (min-width: 768px) {
    .navbar-default {
        background-color: transparent;
        border-color: transparent;
    }

    #mainbody .index-text {
        text-align: left;
    }
}

@media (max-width: 767px) {

    #mainbody > .container > .text-center {


        padding: 130px 0 0 0;
        height: calc(100vh - 261px);
    }

    #mainbody > .container > .text-center > h1 {


        font-size: 50px;
        margin-bottom: 20px;
    }
}
.container{
    padding: 30px 30px 15px 30px;
}

.panel-info {
    background-color: white;
    border: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    cursor: pointer;
}

.panel-title{
    white-space: nowrap; /* 确保文本不换行 */
    overflow: hidden; /* 隐藏超出容器的文本 */
    text-overflow: ellipsis; /* 超出的文本显示为省略号 */
}
.article-intro,.keywords{
    display: -webkit-box;
    font-size: 1em;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5em; /* 设置行高 */
    height: 4.5em; /* 行高乘以行数，这里是3行 */
}

.panel-footer{
    background-color: white;
    border-top: 0;
}
.panel-info > .panel-heading{
    border-bottom: 0;
}
.panel-info:hover{
    webkit-box-shadow: 0 26px 40px -14px rgba(0,36,100,0.3);
    -moz-box-shadow: 0 26px 40px -14px rgba(0, 36, 100, 0.3);
    box-shadow: 0 26px 40px -14px rgba(0,36,100,0.3);
}
.article-intro{
    -webkit-line-clamp: 2;
}
.keywords{
    color: grey;
    -webkit-line-clamp: 2;
    height: 3em;
}
.logo{
    width: 30px;
    object-fit: contain;
    height: 30px;
    margin-right: 20px;
}

.carousel .carousel-control {
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    opacity: inherit !important;
}
.page-index a.carousel-control svg {
    width: 15px;
    height: 100%;
}

#banner .item {
    background-size: cover;
    min-height: 550px;
}
.carousel .bgimg-01 {
    background: url(/assets/img/bg.webp) no-repeat top center;
}
.carousel .bgimg-02 {
    background: url(/assets/img/bg.webp) no-repeat top center;
}
.carousel .bgimg-03 {
    background: url(/assets/img/bg.webp) no-repeat top center;
}
.mask {
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    left: 0;
    background:rgba(0,0,0,0.2);
}
.carousel-indicators li {
    width: 14px;
    height: 14px;
    margin-right: 15px !important;
    border-radius: 100%;
    /*border: 1px solid rgba(0,0,0,0.15);*/
    vertical-align: middle;
}
.pro-con {
    color: white;
    margin-top: 114px;
    margin-left: 50px;
    margin-right: 50px;
}
.page-index a.carousel-control.left {
    left: 20px;
}
.page-index a.carousel-control.right {
    right: 20px;
}
.page-index a.carousel-control {
    background-image: none;
    background: rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 74px;
    border-radius: 5px;
    line-height: 74px;
    padding: 0;
}
.carousel .item .pro-con p {
    margin-bottom: 30px;
    font-size: 18px;
    color: #ddd;
    line-height: 28px;
}
.tag{
    display: inline-block;
    padding: 0 5px 0 0;
    color: gray;
}
.panel-body{
    padding-bottom: 5px;
}

.footer {
    /*background-color: #222222;*/
    background-color: rgba(0,0,0,0.7);
    padding: 20px 0;
    margin-left: 300px;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    /*position: fixed;*/
    bottom: 0;
    /*width: 100%;*/
    width: calc(100% - 300px);
}

.footer p {
    font-size: 14px;
    margin: 0;
}
