.wrap-counter {
    position: relative;
    text-align: center;
}



.wrap {
    position: relative;
    display: inline-block;
    perspective: 150px;
    width: 50px;
    height: 74px;
    margin: 0 2px;
}

    .wrap .wrap-num {
        width: 50px;
        height: 36px;
        text-align: center;
        position: absolute;
        overflow: hidden;
    }

        .wrap .wrap-num.top {
            top: 0;
            background: #00b236;
            border-radius: 6px 6px 0 0;
            box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.9);
            border-bottom: 1px solid #000;
        }

            .wrap .wrap-num.top:before {
                content: "";
                position: absolute;
                left: 4px;
                bottom: -4px;
                width: 2px;
                height: 8px;
                background: #dedede;
                border-radius: 2px;
            }

            .wrap .wrap-num.top:after {
                content: "";
                position: absolute;
                right: 4px;
                bottom: -4px;
                width: 2px;
                height: 8px;
                background: #dedede;
                border-radius: 2px;
            }

            .wrap .wrap-num.top .number {
                top: 100%;
                transform: translateY(-50%);
            }

        .wrap .wrap-num.bottom {
            top: 36px;
            background: #018e2c;
            border-radius: 0 0 6px 6px;
            box-shadow: 0 4px 4px 1px rgba(0, 0, 0, 0.9);
            border-top: 1px solid #000;
        }

            .wrap .wrap-num.bottom:before {
                content: "";
                position: absolute;
                left: 4px;
                top: -4px;
                width: 2px;
                height: 8px;
                background: #dedede;
                border-radius: 2px;
            }

            .wrap .wrap-num.bottom:after {
                content: "";
                position: absolute;
                right: 4px;
                top: -4px;
                width: 2px;
                height: 8px;
                background: #dedede;
                border-radius: 2px;
            }

            .wrap .wrap-num.bottom .number {
                bottom: 100%;
                transform: translateY(50%);
            }

        .wrap .wrap-num.flip {
            opacity: 1;
            background: #00b236;
            z-index: 1;
            border-radius: 6px 6px 0 0;
            border-bottom: 1px solid #000;
            transform-origin: 50% 100%;
        }

            .wrap .wrap-num.flip:before {
                content: "";
                position: absolute;
                left: 4px;
                bottom: -4px;
                width: 2px;
                height: 8px;
                background: #dedede;
                border-radius: 2px;
            }

            .wrap .wrap-num.flip:after {
                content: "";
                position: absolute;
                right: 4px;
                bottom: -4px;
                width: 2px;
                height: 8px;
                background: #dedede;
                border-radius: 2px;
            }

            .wrap .wrap-num.flip.in {
                top: 0;
            }

                .wrap .wrap-num.flip.in .number {
                    top: 100%;
                    transform: translateY(-50%);
                }

            .wrap .wrap-num.flip.out {
                top: -1px;
            }

                .wrap .wrap-num.flip.out .number {
                    top: calc(100% - 1px);
                    transform: translateY(-50%) scaleY(-1);
                }

        .wrap .wrap-num .number {
            position: absolute;
            left: 0;
            right: 0;
            margin: auto;
            font-size: 55px;
            width: 100%;
            color: #f9f9f9;
            font-weight: bold;
        }

.wrap2 {
    width: 30px;
    margin: 0;
    display: inline-block;
    perspective: 0;
    text-align: center;
    position: relative;
    font-size: 40px;
}

.flip-xx button {
    display: block;
    margin: 50px auto;
    width: 120px;
}

    .flip-xx button.disable {
        opacity: 0.5;
    }


@media only screen and (max-width:991px) {
    .tesis-detay-box {
        position: relative !important;
        height: auto !important;
    }
}

@media only screen and (max-width:768px) {

    .wrap,
    .wrap .wrap-num {
        width: 25px;
    }

        .wrap .wrap-num .number,
        .wrap2 {
            font-size: 30px;
        }
}
