.border-hover {
    box-shadow: none;
    transition: all 0.5s ease;
    cursor: pointer;
}

.border-hover:hover {
    box-shadow: 0 4px 15px 7px rgba(0, 0, 0, 0.1); 
}


/* 圆形搜索框 */
.search-bar-rouned {
    width: 90%;
    max-width: 560px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    overflow: hidden;
    border-radius: 50px;
    border: 0px;
}

.search-bar-search-input {
    flex: 1;
}

.search-bar-search-input input {
    border-width: 0px !important;
    border: 0px !important;
    border-color: transparent !important;
    box-shadow: none;
}

.search-bar-search-btn {
    width: 55px;
    height: 40px;
    text-align: center;
    cursor: pointer;
}

.title-border-ui {
    position: relative;
    display: table;
}

.title-border-ui b {
    position: relative;
    z-index: 1
}

.title-border-ui::after {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0.5rem;
    left: 0;
    width: 4rem;
    height: 1rem;
    background-color: #90CAA0;
}

.time-border-ui {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.time-border-ui::after {
    position: absolute;
    content: '';
    bottom: 2px;
    left: -4px;
    width: calc(100% + 10px);
    height: 12px;
    background-color: #FAAF56;
}

/* 首页universities */



.shrink-container {
    overflow: hidden;
    border-radius: 15px;
    margin: 0px 5px;
    height: 20rem;
}

.shrink-container img {
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (min-width: 769px) {
    .shrink-container {
        height: 28rem;
    }
}

.shrink-container img:hover {
    transform: scale(1.2);
}

/* news 板块 */
.news-item {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    background-color: #eeeeee;
}

.news-item .news-item-img {
    overflow: hidden;
}

.news-item .news-item-img img {
    object-fit: cover;
}

.news-item img {
    transition: all 0.3s ease;
}

.news-item:hover {
    background-color: rgba(250, 175, 86, 0.1);
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
}

.news-item:hover img {
    transform: scale(1.2);
}

.list-right-border {
    & > div {
        border-right: 1px solid #ccc;
    }

    & > div:last-child {
        border-right: 0px;
    }
}

@media screen and (max-width: 769px) {
    .list-right-border {
        & > div:nth-child(odd) {
            border-right: 1px solid #ccc;
        }
        & > div:nth-child(even) {
            border-right: 0px;
        }
    }

    .xs-no-border {
        border: none !important;
    }

    .banner-height {
        height: 20rem !important;
    }

    .responsive-padding-left {
        padding-left: 0px !important;
    }

    .responsive-padding-left-2 {
        padding-left: 1rem !important;
    }

    .responsive-margin-bottom {
        margin-bottom: 1rem !important;
    }

    .responsive-padding {
        padding: 0 1rem !important;
    }

    .imagetxt.mobile-no-filter .txt {
        visibility: visible;
        height: calc(100% - 20%);
        overflow: hidden;
    }
}

@media screen and (min-width: 769px) {
    .banner-height {
        height: 30rem !important;
    }

    .responsive-padding-left {
        padding-left: 8px !important;
    }
}

.imagetxt .txt.narmal-font-size {
    font-size: inherit;
}

@media screen and (max-width: 769px) {
    .mobile.visible-xs {
        & > .top {
            display: block;
        }
    }
}

@keyframes fadeIn {
    0% {
        display: none;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        display: block;
        opacity: 1;
    }

    100% {
        display: none;
        opacity: 0;
    }
    
}

.submenu-show {
    display: block !important;
    animation: fadeIn 0.5s ease-in-out forwards !important;
}

.submenu-hide {
    animation: fadeOut 0.5s ease-in-out forwards !important;
}

.multiline-ellipsis-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 设置显示的行数 */
    overflow: hidden;
    text-overflow: ellipsis;
}

#langSwitcherOverlay {
    position: absolute;
    width: 100%;
    top: 50px;
    left: 0;
    display: none;

    & > div {
        padding: 10px 20px;
        background: #aaa;
    }

    & > div.selected {
        background-color: #faaf56;
    }

    & > div:hover {
        background-color: #faaf56;
    }
}