.flip-wrapper {
    height: 176px;
    padding: 8px;
    text-align: center;
    /* background-color:#162b58 */
}

.flip-wrapper ul {
    display: inline-block;
    width: 80px;
    height: 160px
}

.flip-wrapper ul li {
    position: absolute;
    width: 100px;
    -webkit-perspective: 600px;
    -moz-perspective: 600px;
    perspective: 600px
}

.flip-wrapper ul li div {
    font-family: "Exo";
    height: 80px;
    padding: 0 8px;
    font-size: 80px;
    line-height: 160px;
    white-space: nowrap;
    overflow: hidden;
    color: #fff;
    background-color:#132E5B
}

.flip-wrapper ul li div.border {
    border-style: solid;
    border-color: #cdcdcd
}

.flip-wrapper ul li div.border.top {
    border-top-width: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px
}

.flip-wrapper ul li div.border.right {
    border-right-width: 0px
}

.flip-wrapper ul li div.border.bottom {
    border-bottom-width: 0px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    line-height: 0;
    /* box-shadow: inset 0 8px 32px 4px rgba(205, 210, 235, 0.48) */
}

.flip-wrapper ul li div.border.left {
    border-left-width: 0px
}

.flip-wrapper ul.internal li div.border.left {
    border-left-style: dashed
}

.flip-wrapper ul.first {
    margin-left: 8px
}

.flip-wrapper ul.first li div {
    color: #fefefe;
    /* background-color: #2b579a */
}

.flip-wrapper ul.first li div.border.bottom {
    box-shadow: inset 0 8px 32px 4px #162b58
}

.flip-wrapper span.point {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 16px 8px;
    border-radius: 4px;
    /* background-color: #fff */
}

.flip-wrapper ul li.flip-active,
.flip-wrapper ul li.flip-before {
    z-index: 8
}

.flip-wrapper ul li.active-but-not-flip {
    z-index: 16 !important
}

.flip-wrapper ul li.flip-active .top:after,
.flip-wrapper ul li.flip-before .bottom:after {
    content: "";
    position: absolute;
    left: 0;
    height: 82px;
    width: 100%;
    z-index: 8;
    background: #162B58
}

.flip-wrapper ul li.flip-active .top:after {
    top: 0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    -webkit-animation: topshadow 1s linear both;
    -moz-animation: topshadow 1s linear both;
    animation: topshadow 1s linear both
}

@-webkit-keyframes topshadow {
    0% {
        opacity: 0
    }
    50% {
        opacity: 1
    }
    100% {
        opacity: 0
    }
}

@-moz-keyframes topshadow {
    0% {
        opacity: 0
    }
    50% {
        opacity: 1
    }
    100% {
        opacity: 0
    }
}

@-o-keyframes topshadow {
    0% {
        opacity: 0
    }
    50% {
        opacity: 1
    }
    100% {
        opacity: 0
    }
}

@keyframes topshadow {
    0% {
        opacity: 0
    }
    50% {
        opacity: 1
    }
    100% {
        opacity: 0
    }
}

.flip-wrapper ul li.flip-before .bottom:after {
    top: 82px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    -webkit-animation: bottomshadow 1s 1s linear both;
    -moz-animation: bottomshadow 1s 1s linear both;
    animation: bottomshadow 1s 1s linear both
}

@-webkit-keyframes bottomshadow {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

@-moz-keyframes bottomshadow {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

@-o-keyframes bottomshadow {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

@keyframes bottomshadow {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

.flip-wrapper ul li.flip-active {
    animation-name: index;
    animation-duration: 1s;
    animation-delay: 1s;
    animation-fill-mode: both
}

@-webkit-keyframes index {
    0% {
        z-index: 4
    }
    20% {
        z-index: 12
    }
    100% {
        z-index: 12
    }
}

@-moz-keyframes index {
    0% {
        z-index: 4
    }
    20% {
        z-index: 12
    }
    100% {
        z-index: 12
    }
}

@-o-keyframes index {
    0% {
        z-index: 4
    }
    20% {
        z-index: 12
    }
    100% {
        z-index: 12
    }
}

@keyframes index {
    0% {
        z-index: 4
    }
    20% {
        z-index: 12
    }
    100% {
        z-index: 12
    }
}

.flip-wrapper ul li.flip-active .bottom {
    animation-name: flipbottom;
    animation-duration: 1s;
    animation-delay: 1s;
    animation-fill-mode: both;
    transform-origin: 50% 0
}

@-webkit-keyframes flipbottom {
    0% {
        transform: rotateX(90deg)
    }
    100% {
        transform: rotateX(0deg)
    }
}

@-moz-keyframes flipbottom {
    0% {
        transform: rotateX(90deg)
    }
    100% {
        transform: rotateX(0deg)
    }
}

@-o-keyframes flipbottom {
    0% {
        transform: rotateX(90deg)
    }
    100% {
        transform: rotateX(0deg)
    }
}

@keyframes flipbottom {
    0% {
        transform: rotateX(90deg)
    }
    100% {
        transform: rotateX(0deg)
    }
}

.flip-wrapper ul li.flip-before .top {
    animation-name: fliptop;
    animation-duration: 1s;
    animation-fill-mode: both;
    transform-origin: 50% 100%
}

@-webkit-keyframes fliptop {
    0% {
        transform: rotateX(0deg)
    }
    100% {
        transform: rotateX(-90deg)
    }
}

@-moz-keyframes fliptop {
    0% {
        transform: rotateX(0deg)
    }
    100% {
        transform: rotateX(-90deg)
    }
}

@-o-keyframes fliptop {
    0% {
        transform: rotateX(0deg)
    }
    100% {
        transform: rotateX(-90deg)
    }
}

@keyframes fliptop {
    0% {
        transform: rotateX(0deg)
    }
    100% {
        transform: rotateX(-90deg)
    }
}

@media screen and (max-width: 1280px) {
    .flip-wrapper {
        height: 144px;
        padding: 8px;
        text-align: center
    }
    .flip-wrapper ul {
        width: 80px;
        height: 128px
    }
    .flip-wrapper ul li {
        width: 80px;
        -webkit-perspective: 480px;
        -moz-perspective: 480px;
        perspective: 480px
    }
    .flip-wrapper ul li div {
        height: 64px;
        padding: 0 8px;
        font-size: 128px;
        line-height: 128px
    }
    .flip-wrapper ul li.flip-active .top:after,
    .flip-wrapper ul li.flip-before .bottom:after {
        height: 66px
    }
    .flip-wrapper ul li.flip-before .bottom:after {
        top: 66px
    }
    .flip-wrapper span.point {
        width: 16px;
        height: 16px;
        margin: 16px 4px
    }
}

@media screen and (max-width: 1024px) {
    .flip-wrapper {
        height: 112px;
        padding: 8px;
        text-align: center
    }
    .flip-wrapper ul {
        width: 64px;
        height: 96px
    }
    .flip-wrapper ul li {
        width: 64px;
        -webkit-perspective: 380px;
        -moz-perspective: 380px;
        perspective: 380px
    }
    .flip-wrapper ul li div {
        height: 48px;
        padding: 0 8px;
        font-size: 96px;
        line-height: 96px
    }
    .flip-wrapper ul li.flip-active .top:after,
    .flip-wrapper ul li.flip-before .bottom:after {
        height: 50px
    }
    .flip-wrapper ul li.flip-before .bottom:after {
        top: 50px
    }
}

@media screen and (max-width: 800px) {
    .flip-wrapper {
        height: 80px;
        padding: 8px;
        text-align: center
    }
    .flip-wrapper ul {
        width: 48px;
        height: 64px
    }
    .flip-wrapper ul.first {
        margin-left: 6px
    }
    .flip-wrapper ul li {
        width: 48px;
        -webkit-perspective: 300px;
        -moz-perspective: 300px;
        perspective: 300px
    }
    .flip-wrapper ul li div {
        height: 32px;
        padding: 0 8px;
        font-size: 64px;
        line-height: 64px
    }
    .flip-wrapper ul li.flip-active .top:after,
    .flip-wrapper ul li.flip-before .bottom:after {
        height: 34px
    }
    .flip-wrapper ul li.flip-before .bottom:after {
        top: 34px
    }
    .flip-wrapper ul li div.border.top {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px
    }
    .flip-wrapper ul li div.border.bottom {
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px
    }
    .flip-wrapper ul li.flip-active .top:after {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px
    }
    .flip-wrapper ul li.flip-before .bottom:after {
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px
    }
    .flip-wrapper span.point {
        width: 12px;
        height: 12px;
        margin: 10px 4px;
        border-radius: 4px
    }
}

@media screen and (max-width: 640px) {
    .flip-wrapper {
        height: 80px;
        padding: 8px;
        text-align: center
    }
    .flip-wrapper ul {
        width: 40px;
        height: 64px
    }
    .flip-wrapper ul.first {
        margin-left: 4px
    }
    .flip-wrapper ul li {
        width: 40px;
        -webkit-perspective: 250px;
        -moz-perspective: 250px;
        perspective: 250px
    }
    .flip-wrapper ul li div {
        height: 24px;
        padding: 0 8px;
        font-size: 48px;
        line-height: 48px
    }
    .flip-wrapper ul li.flip-active .top:after,
    .flip-wrapper ul li.flip-before .bottom:after {
        height: 26px
    }
    .flip-wrapper ul li.flip-before .bottom:after {
        top: 26px
    }
    .flip-wrapper span.point {
        width: 8px;
        height: 8px;
        margin: 24px 2px;
        border-radius: 2px
    }
}

@media screen and (max-width: 480px) {
    .flip-wrapper {
        height: 80px;
        padding: 8px;
        text-align: center
    }
    .flip-wrapper ul {
        width: 24px;
        height: 40px
    }
    .flip-wrapper ul.first {
        margin-left: 2px
    }
    .flip-wrapper ul li {
        width: 24px;
        -webkit-perspective: 200px;
        -moz-perspective: 200px;
        perspective: 200px
    }
    .flip-wrapper ul li div {
        height: 16px;
        padding: 0 2px;
        font-size: 32px;
        line-height: 32px
    }
    .flip-wrapper ul li.flip-active .top:after,
    .flip-wrapper ul li.flip-before .bottom:after {
        height: 18px
    }
    .flip-wrapper ul li.flip-before .bottom:after {
        top: 18px
    }
    .flip-wrapper span.point {
        width: 4px;
        height: 4px;
        margin: 12px 2px;
        border-radius: 1px
    }
}