.bg-white {
    background: white;
}
.hovergreen:hover{
    color: var(--main-bg-color) !important;
}
.text-gray {
    color: #888888;
}

.text-black {
    color: black;
}

.text-darkgray {
    color: #454545;
}

.box-sizing {
    box-sizing: border-box;
}

.text-bold {
    font-weight: bold;
}

.text-brown {
    color: #454545;
}
.zoomhover:hover img{
    transform: scale(1.05);
    transition: transform 500ms ease; 
}
.zoomhover:hover .hoverbggreen{
    background: var(--main-bg-color);
    transition: all 500ms ease; 

}
.zoomhover:hover .texthoverwhite{
    color: white !important;
    
}
.margintop10hover:hover{
    transform: translateY(-10px);
    transition: all 500ms ease; 

    
}
.circle10 {
    border-radius: 10px;
}
.circle5 {
    border-radius: 5px;
}
.circle50{
    border-radius: 50%;
}
.colorfuldiv1{
    background: #165DFF;
}
.colorfuldiv2{
    background: #FF7D00;
}
.colorfuldiv3{
    background: #722ED1;
}
.colorfuldiv4{
    background: #00B42A;
}
.colorfuldiv5{
    background: #F53F3F;
}
.colorfuldiv6{
    background: #4E5969;
}
.colorfuldiv7{
    background: #0050B3;
}
.colorfuldiv8{
    background: #F759AB ;
}
.colorfuldiv9{
    background:  #FFC107;
}
.colorfuldiv10{
    background:  #36D399;
}
.colorfuldiv11{
    background:  #FF7D7D;
}
.colorfuldiv12{
    background:  #1890FF;
}
.colorfuldiv13{
    background:  #FFF0F6;
}
.colorfuldiv14{
    background:  #FFF8E1;
}



.flex {
    display: flex;
}

.martop10 {
    margin-top: 10px;
}

.martop20 {
    margin-top: 20px;
}
.martop50 {
    margin-top: 50px;
}

.marbottom10 {
    margin-bottom: 10px;
}
.marbottom30{
    margin-bottom: 30px;

}
.marbottom80{
    margin-bottom: 80px;

}
.pointer {
    cursor: pointer;
}

.overflow {
    overflow: hidden;
}

.fontbold {
    font-weight: bold !important;
}


.marginauto{
    margin: 0 auto;
}
/* 短下划线效果 */

  .underline-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }
  .underline-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 40%;
    height: 7px;
    background-color: var(--main-bg-color);
    transition: width 0.3s ease;
    border-radius: 8px;
  }
/* 两行后溢出省略号 */
.overtextell2 {
    word-break: break-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.overtextell3 {
    word-break: break-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.shadow-boxstylea{
    box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, .175) !important;
  
  }
.text-right {
    text-align: right;
}
.text-center {
    text-align: center;
}

.circle5 {
    border-radius: 5px;
}

.width100 {
    width: 100% !important;
}
.height100 {
    height: 100% !important;
}
.width80 {
    width: 80% !important;
}
.width90 {
    width: 90% !important;
}

.floatleft {
    float: left;
}
.pointer{
    cursor: pointer;
}
.floatright {
    float: right;
}

.text-left {
    text-align: left;
}

.maincolor {
    color: var(--main-bg-color) !important;
}

.text-white {
    color: white !important;
}


.height100vh {
    height: 100vh;
}
/* 详细区域 */
.borderdown{
    border-bottom: solid 2px #c2c2c2;
}
/* 右移动的动画效果 */
.slide-icon-effect {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}
.slide-icon-effect svg {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}
.slide-icon-effect:hover svg {
    transform: translateX(4px);
}
.readmore:hover{
    color: var(--main-bg-color) !important;
}
.relative{
    position: relative;
}
.wei3{
    min-height: calc(1.5em * 3); /* 假设每行 1.5em 行高，共 3 行 */
  line-height: 1.5em;
}
.object-cover{
    object-fit: cover;
}
.bghovergreen:hover{
    background: rgb(231, 248, 242) !important;
    transition: transform 0.3s ease;

}
.bghovergreen:hover h3{
    color: var(--main-bg-color) !important;

}
.bghovergreen:hover p{
    color: var(--main-bg-color) !important;

}
.borderhovergreen{
    border: solid 1px white;
    

}
.borderhovergreen:hover{
    transition: transform 0.3s ease;
    border: solid 1px var(--main-bg-color) !important;

}
@media (min-width: 976px) {
    .ptop-50{
        padding-top: 50px;
    }
    .ptop-10{
        padding-top: 10px;
    }
    .ptop-150{
        padding-top: 150px;

    }
    .pbottom-50{
        padding-bottom: 50px;
    }
    .pbottom-25{
        padding-bottom: 25px;
    }
    .ptop-100{
        padding-top: 100px;
    }
    .web20wap60{
        width: 20%;
    }
    .height16rem{
        height: 16rem;
    }
    .height13rem{
        height: 13rem;
    }
    .height14rem{
        height: 14rem;
    }
    .marginbottom4{
        margin-bottom: 4rem;
    }
    .webtop8{
        top: -8rem !important;
    }
    .top12vh{
        top: 12vh;
    }
    .top40vh{
        top: 40vh;
    }
    .flex80 {
        width: 77%;
    }

    .flex20 {
        width: 20%;
    }

    .font20 {
        font-size: 20px;
    }
    .font26 {
        font-size: 26px;
    }
    .font14 {
        font-size: 14px;

    }
    .font16 {
        font-size: 16px;

    }

    .font18 {
        font-size: 18px;
    }

    .p-25 {
        padding: 25px;
    }
    .p-15 {
        padding: 15px;
    }

    .mar20 {
        margin-bottom: 20px;
    }

    .gridthree {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 20px;
    }

    .gridtwo {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 30px;
    }

    .gridfour {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 20px;
        margin-bottom: 20px;

    }
    .gridauto{
        display: grid;
        gap: 15px;
 
        justify-items: stretch;/* 拉伸网格项以填充整个单元格 */ 
        grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    }
    .width30 {
        width: 30%;
    }

    .width70 {
        width: 70%;
    }
    .width40 {
        width: 40%;
    }

    .width60 {
        width: 60%;
    }
    /* 详细区域 */
    .newindeximg{
        width: 100%;
        height: 500px;
        object-fit: cover;
    }
    
    .newindex_submitSearch input{
        width: 10%;
        border: none;
        outline: none;
        border-right: solid 1px rgb(206, 212, 218);
        border-radius: 0;
    }
    .newindex_submitSearch input[type="submit"]{
        border-radius: 5px;
        box-sizing: border-box;
        border: solid 1px white ;
    }
    .newindex_submitSearch .form-select {
        width: 22% !important;
        border: none;
        outline: none;
        border-radius: 0;
        color: rgb(130, 138, 145);
    }
    .newindex_submitSearch h2{
        padding-bottom: 30px;
    }
    .newindex_submitSearch {
        padding: 1rem;
        /* top: -12rem; */
        box-sizing: border-box;

        box-shadow: 5px 5px 10px #888888;
        border-radius: 10px;
        display: flex;
        justify-content: space-around;
        flex-flow: row wrap;
        background: white;
      }
      
      .newindex_submitSearch.active {
        /* animation: submitSearch 1s;
        -webkit-animation: submitSearch 1s; 
        top: -13rem; */
      }
      .top16rem{
        top: -16rem;
      }
      /* 动画效果 */
      @keyframes submitSearch {
        0% {
        left: 0px;
        top: -12rem;
        }
    
        100% {
        left: 0px;
        top: -13rem;
        }
    }
    
    @-webkit-keyframes submitSearch /* Safari and Chrome */ {
        0% {
        left: 0px;
        top: -1rem;
        }
    
        100% {
        left: 0px;
        top: -3rem;
        }
    }
}

@media (max-width: 975px) {
    .ptop-10{
        padding-top: 0.5rem;
    }
    .pbottom-50{
        padding-bottom: 1rem;
    }
    .pbottom-25{
        padding-bottom: 0.5rem;
    }
    .ptop-100{
        padding-top: 2rem;
    }
    .ptop-50{
        padding-top: 1rem;
    }
    .ptop-150{
        padding-top: 5rem;

    }
    .web20wap60{
        width: 60%;
    }
    .width40 {
        width: 40%;
    }

    .width60 {
        width: 60%;
    }
    .p-15 {
        padding: 1rem;
    }
    .top12vh{
        top: 12rem;
    }
    .top40vh{
        top: 17rem;
    }
    .width30 {
        width: 50%;
    }

    .width70 {
        width: 50%;
    }

    .flex80 {
        width: 57%;
    }

    .flex20 {
        width: 40%;
    }

    .font20 {
        font-size: 1rem;
    }
    .font14 {
        font-size: 0.85rem;

    }
    .font18 {
        font-size: 0.95rem;
    }
    .font26 {
        font-size: 1.3rem;
    }
    .martop20 {
        margin-top: 1rem;
    }
    .font16 {
        font-size: 0.9rem;
    }

    .p-25 {
        padding: 1rem;
    }

    .mar20 {
        margin-bottom: 1rem;
    }
    /* 详细区域 */
    .top16rem{
        top: 3rem;
    }
    .newindeximg{
        width: 100%;
        height: 10rem;
        object-fit: cover;
    }
    .newindex_submitSearch{
        padding: 1rem;
        /* width: 80%; */
    }
   
    .newindex_submitSearch input{
        margin-bottom: 1rem;width: 100%;
    }
    .newindex_submitSearch .form-select{
        margin-bottom: 1rem;

    }
    .newindex_submitSearch {
        box-shadow: 5px 5px 10px #888888;
        border-radius: 10px;
        display: flex;
        justify-content: space-around;
        flex-flow: row wrap;
        background: white;
      }
      
      .newindex_submitSearch.active {
        animation: submitSearch 1s;
        -webkit-animation: submitSearch 1s; /* Safari and Chrome */
      }
      /* 动画效果 */
        @keyframes submitSearch {
            0% {
            left: 0px;
            top: -2rem;
            }
        
            100% {
            left: 0px;
            top: -1rem;
            }
        }
        
        @-webkit-keyframes submitSearch /* Safari and Chrome */ {
            0% {
            left: 0px;
            top: -2rem;
            }
        
            100% {
            left: 0px;
            top: -1rem;
            }
        }
    .wapbottom10{
        margin-bottom: 1rem;
    }
    .wapbottom6{
        padding-bottom: 6rem;
    }
    .height16rem{
        height: 13rem;
    }
    .height13rem{
        height: 13rem;
    }
}
