* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html, body {

    width: 100%;
    height: 100%;
}
body {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
.main {
    background-image: url("../image/bg-main.jpg");
    background-repeat: no-repeat;
    background-position: center -100px;
    background-size: cover;
    flex: 1;
}
.main-flex {
    display: flex;
    justify-content:start;
    align-items: center;
    flex-direction: column;
}

.copyright {
    padding: 15px 0;
    color: #FFF;
    text-align: center;
    background-color: #3D88F7;
    font-size: 12px;
}
a {
    text-decoration: none;
}
.wrap {
    width: 700px;
    margin: 0 auto;
}
.logo {
    width: 420px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
    margin-bottom:  30px;
}
.logo > img {
    width: 100%;
}
.bank-list {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    row-gap: 20px;
}
.bank-item {
    text-align: center;
}
.bank-item > a {
    color: #1677ff;
    font-size: 14px;
}
.bank-item > a:hover {
    color: #69b1ff;
}
.search {
    margin-top: 30px;
}
.input-text {
    width: 100%;
    border-radius: 20px;
    border: 1px solid #E4E4E7;
    padding: 15px 20px;
}
.input-text:focus, .input-text:active {
    /*border: 2px solid #000;*/
    outline: 2px solid #000;
}
.captcha-box {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.captcha-wrap {
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: stretch;
    background-color: #F9F9F9;
    overflow: hidden;
}
.captcha-img {
    position: relative;
    background: rgb(181,207,245);
    background: linear-gradient(167deg, rgba(181,207,245,1) 0%, rgba(110,165,247,1) 100%);
    cursor: pointer;
}
.captcha-img > img {
    width: 150px;
    height: 80px;
}
.captcha-input {
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.captcha-refresh {
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.captcha-refresh > img {
    width: 30px;

}

.captcha {
    padding: 10px;
    border: 0;
    border-radius:  5px;
}
.captcha:active, .captcha:focus{
    outline: 2px solid #000;
}

.loading {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7);
}
.circle {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: rotate 3s linear infinite;
    transform-origin: center;
    background-color: #1677ff;
}

.circle:nth-child(1) {
    animation-delay: 0s;
}

.circle:nth-child(2) {
    animation-delay: -0.75s;
}

.circle:nth-child(3) {
    animation-delay: -1.5s;
}

.circle:nth-child(4) {
    animation-delay: -2.25s;
}
.search-box {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.search-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #3D88F7;
    border-radius:  25px;
    padding: 13px 45px;
    color: #FFF;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;

}
.search-btn.disabled {
    opacity: 0.7;
}
.search-btn > span {
    margin-left: 10px;
}
#loading-svg {
    display: none;
    width: 20px;

}
.alert{
    display: none;
    font-size: 14px;
    color: #F00;
}
.slide-panel {
    position: fixed;
    top: 0;
    left: 50%;
    margin-left: -50px;
    padding: 5px 10px;
    background: white;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    gap: 10px;
    font-size: 14px;
    color: #333;
    font-weight: normal;

}
.slide-panel.active {
    transform: translateY(10px);
}


/**route**/
.container {
    width: 100%;
    flex: 1;
    background-color: rgba(255, 255, 255, 0.7);
}
.route {
    width: 800px;
    margin: 0 auto;
    color: #535353;
}
h4 {
    text-align: center;
    color: #535353;
    padding: 20px 0;
}
.static-logo {
    display: flex;
    justify-content: center;
}
.static-logo > img {
    width: 150px;
}
.blue {
    color: #1677ff;
    font-weight: bold;
}
.nav {
    padding: 15px 0;
}
.table {
    border-radius: 15px;
    border: 1px solid #E5E7EB;
    overflow: hidden;
    background-color: #FFF;
}
.table-header {
    background-color: #FAFAFA;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tb-th, .tb-td {
    padding: 17px 15px;
    color:#333;
}
.tb-th {
    font-size: 16px;
    font-weight: bold;
}
.tb-th:nth-child(1) {
    width: 30%;
}

.tb-th:nth-child(2) {
    flex: 1
}
.tb-th:nth-child(3) {
    width: 15%;
}
.tb-row {
    border-top: 1px solid #F0F0F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.tb-row:hover {
    background-color: #FAFAFA;
}

.tb-row > .tb-td:nth-child(1) {
    width: 30%;
}
.tb-row > .tb-td:nth-child(2) {
    flex: 1;
}
.tb-row > .tb-td:nth-child(3) {
    width: 20%;
    text-align: center;
}
.link {
    color: #1677ff;
}
.link:hover {
    color: #69b1ff;
}
.jump  {
    padding: 30px 0;
    text-align: center;
}
.jump-link {
    cursor: pointer;
    display: inline-block;
    padding: 10px 70px;
    border-radius: 10px;
    color: #FFF;
    font-size: 18px;
    background-color: #1677FF;
}
.lb {
    display: none;
    color: #666;
    font-size: 12px;
}
@keyframes rotate {
    0% {
        transform: rotate(0deg) translateX(12.5px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(12.5px) rotate(-360deg);
    }
}


@media screen and (max-width:390px) {
    .main {
        background-position: center bottom;
    }

    .logo {
        margin-top: 10%;
        width: 200px;
    }

    .bank-list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        row-gap: 10px;
    }
    .wrap {
        width: 100%;
    }
    .captcha-img > img {
        width: 100px;
        height: 50px;
    }
    .input-text {
        width: 100%;
        border: 1px solid #E4E4E7;
        padding: 10px 20px;
        border-radius: 50px;
    }
    .captcha {
        width: 80px;
        font-size: 14px;
    }
    .input-text:focus, .input-text:active {
        /*border: 2px solid #000;*/
        outline: none;
    }


    h4 {
        font-size: 20px;
        padding: 10px;
    }

    .route {
        width: 90%;
    }
    .table {
        border-radius: 10px;
        padding: 15px;
    }
    .table-header {
        display: none;
    }
    .tb-row {
        display: flex;
        justify-content: start;
        align-items: start;
        flex-direction: column;
        padding: 10px 0;
    }
    .tb-row:first-child {
        border-top: none;
    }
    .tb-row > .tb-td{
        padding: 2px 0;
        width: 100% !important;
        text-align: left !important;
    }
    .route-name {
        font-size: 20px;
        font-weight: bold;
        color: #333;
    }
    .lb {
        display: block;
    }
    .route-name > em {
        font-size: 14px;
    }
    .latency {
        height: 20px;
        line-height: 20px;
    }
}


/* 超小型设备（手机，768px 以下） */
@media screen and (max-width:768px){
    .main {
        background-position: center bottom;
    }
    .logo {
        margin-top: 10%;
        width: 200px;
    }
    .bank-list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        row-gap: 10px;
    }
    .wrap {
        width: 100%;
    }
    .search {
        width: 90%;

    }
    .captcha-wrap {
        width: 60%;
    }
    .captcha-img > img {
        width: 120px;
        height: 60px;
    }
    .captcha {
        width: 100%;
    }
    .captcha:focus, .captcha:active {
        outline: 0;
    }
    .captcha-wrap {
        flex-wrap: wrap;
        padding: 10px;
    }
    .captcha-input {
        margin-top: 5px;
        width: 200px;
    }
    .input-text {
        width: 100%;
        border: 1px solid #E4E4E7;
        padding: 10px 20px;
        border-radius: 50px;
    }

    .input-text:focus, .input-text:active {
        /*border: 2px solid #000;*/
        outline: none;
    }

    h4 {
        font-size: 20px;
        padding: 10px;
    }

    .route {
        width: 90%;
    }
    .table {
        border-radius: 10px;
        padding: 15px;
    }
    .table-header {
        display: none;
    }
    .tb-row {
        display: flex;
        justify-content: start;
        align-items: start;
        flex-direction: column;
        padding: 10px 0;
    }
    .tb-row:first-child {
        border-top: none;
    }
    .tb-row > .tb-td{
        padding: 2px 0;
        width: 100% !important;
        text-align: left !important;
    }
    .route-name {
        font-size: 20px;
        font-weight: bold;
        color: #333;
    }
    .lb {
        display: block;
    }
    .route-name > em {
        font-size: 14px;
    }
    .latency {
        height: 20px;
        line-height: 20px;
    }
}

/* 超小型设备（手机，992 以下） */
@media screen and (max-width:768px){


}
