﻿/*共用样式*/
p, td, hr {
    margin: 0;
    padding: 0
}

.hide {
    display: none;
}
a {
    text-decoration: none;
}
.swiper,.swiper-wrapper {
    height: auto !important;
}
iframe {
    border: none;
    padding: 0;
    margin: 0;
}

.iframeLoading {
    position: relative;
}
    .iframeLoading::before {
        content: "";
        display: block;
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.5);
    }
    .iframeLoading::after {
        /*content: "";
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -25px 0 0 -25px;
        width: 50px;
        height: 50px;
        border: 4px solid #fff;
        border-top-color: transparent;
        border-radius: 100%;
        animation: circle infinite 0.75s linear;
        z-index: 1;*/
        content: "加载中...";
        display: flex;
        position: absolute;
        left: 50%;
        top: 50%;
        translate: -50% -50%;
        display: block;
        color: #fff;
        font-size: 24px;
        font-weight: bold;
        z-index: 1;
    }
        @keyframes circle {
            0% {
                transform: rotate(0);
            }

            100% {
                transform: rotate(360deg);
            }
        }

.codeTemplateLoading {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    position: relative;
    padding-top: 30px;
    font-size: 14px;
    line-height: 50px;
}

    .codeTemplateLoading::before {
        content: "";
        display: block;
        width: 30px;
        height: 30px;
        border: 4px solid #ccc;
        border-top-color: transparent;
        border-radius: 100%;
        animation: circle infinite 0.75s linear;
        z-index: 1;
    }

/* 动画 */

.anm-pulse {
    animation: 1s linear infinite pulse;
}
.anm-color {
    animation: 0.2s linear infinite color;
}

.anm-bg-color {
    animation: 0.2s linear infinite bgColor;
}
.anm-tricolor {
    animation: 1s linear infinite tricolor;
}

.anm-bg-tricolor {
    animation: 1s linear infinite bgTricolor;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes color {
    0% {
        color: red;
    }
    49.9% {
        color: red;
    }
    50% {
        color: blue;
    }
    100% {
        color: blue;
    }
}
@keyframes bgColor {
    0% {
        background-color: red;
    }
    49.9% {
        background-color: red;
    }
    50% {
        background-color: blue;
    }
    100% {
        background-color: blue;
    }
}
@keyframes tricolor {
    0% {
        color: red;
    }
    32.9% {
        color: red;
    }
    33% {
        color: blue;
    }
    65.9% {
        color: blue;
    }
    66% {
        color: green;
    }
    100% {
        color: green;
    }
}
@keyframes bgTricolor {
    0% {
        background-color: red;
    }
    32.9% {
        background-color: red;
    }
    33% {
        background-color: blue;
    }
    65.9% {
        background-color: blue;
    }
    66% {
        background-color: green;
    }
    100% {
        background-color: green;
    }
}

.navBox {
    display:flex;
    width:100%;
    flex-wrap:wrap;
}
.navBox > * {
    width:25%;
    padding: 5px 0;
    box-sizing:border-box;
    display:flex;
    justify-content:center;
    align-items:center;
}