﻿* {
    box-sizing: border-box;
}

.header {
    border: 0px solid red;
    padding: 0px;
    width: 100%;
}

    .header td {
        background-color: DarkRed;
        text-align: center;
        font-family: inherit;
    }

        .header td h1 {
            color: yellow;
            font-family: Bookman Old Style;
            font-size: 3vw;
            margin-top: 2px;
            margin-bottom: 2px;
        }

    .header th {
        text-align: center;
        font-family: inherit;
        font-weight: 700;
    }



.menu {
    width: 30%;
    float: left;
    padding: 15px;
    border: 0px solid red;
    min-width: 320px;
}

.main {
    width: 70%;
    float: left;
    padding: 15px;
    border: 0px solid red;
}

@media(max-width: 1100px) {
    .menu {
        width: 100%;
    }

    .main {
        width: 100%;
    }
}

.Display {
    width: 100%;
}

    .Display td {
        background-color: DarkRed;
        text-align: center;
        font-family: inherit;
    }

        .Display td h1 {
            color: yellow;
            font-family: Bookman Old Style;
            font-size: 50px;
            margin-top: 2px;
            margin-bottom: 2px;
        }

    .Display th {
        text-align: center;
        font-family: inherit;
        font-weight: 700;
    }



html, body {
    height: 90%;
}

body {
    background: #0f3854;
    background: radial-gradient(ellipse at center, #0a2e38 0%, #000000 70%);
    background-size: 100%;
}

p {
    margin: 0;
    padding: 0;
}

#clock {
    font-family: "Share Tech Mono", monospace;
    color: #ffffff;
    text-align: center;
    color: #daf6ff;
    text-shadow: 0 0 20px #0aafe6, 0 0 20px rgba(10, 175, 230, 0);
}

    #clock .time {
        letter-spacing: 0.05em;
        font-size: 4vw;
        padding: 5px 0;
    }

    #clock .date {
        letter-spacing: 0.1em;
        font-size: 2.5vw;
    }

    #clock .text {
        letter-spacing: 0.1em;
        font-size: 12px;
        padding: 20px 0 0;
    }

.lastUpdate {
    letter-spacing: 0.1em;
    font-size: 2vw;
    color: CCCCFF;
}

@media(max-width: 1100px) {
    #clock .time {
        font-size: 13vw;
    }

    #clock .date {
        font-size: 8vw;
    }

    #clock .text {
        font-size: 7vw;
    }

    .lastUpdate {
        font-size: 5vw;
    }
}

.style1 {
    color: #99FF99;
}



#stage2 {
    margin: 2em auto 1em 50%;
    height: 240px;
    -webkit-perspective: 1200px;
    -webkit-perspective-origin: 0 50%;
    -moz-perspective: 1200px;
    -moz-perspective-origin: 0 50%;
    -ms-perspective: 1200px;
    -ms-perspective-origin: 0 50%
}

#rotator2 a {
    position: absolute;
    left: -151px;
    -moz-transform-style: preserve-3d
}

    #rotator2 a div {
        padding: 2px;
        border: 1px solid #ccc;
        background: #fff;
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -ms-backface-visibility: hidden
    }

    #rotator2 a:nth-child(1) div {
        -webkit-transform: rotateY(-120deg) translateZ(80px);
        -moz-transform: rotateY(-120deg) translateZ(80px);
        -ms-transform: rotateY(-120deg) translateZ(80px)
    }

    #rotator2 a:nth-child(2) div {
        -webkit-transform: translateZ(80px);
        -moz-transform: translateZ(80px);
        -ms-transform: translateZ(80px)
    }

    #rotator2 a:nth-child(3) div {
        -webkit-transform: rotateY(120deg) translateZ(80px);
        -moz-transform: rotateY(120deg) translateZ(80px);
        -ms-transform: rotateY(120deg) translateZ(80px)
    }

    #rotator2 a:nth-child(n+4) {
        display: none
    }

@-webkit-keyframes rotator2 {
    from {
        -webkit-transform: rotateY(0deg);
    }

    to {
        -webkit-transform: rotateY(-120deg);
    }
}

@-moz-keyframes rotator2 {
    from {
        -moz-transform: rotateY(0deg);
    }

    to {
        -moz-transform: rotateY(-120deg);
    }
}

@-ms-keyframes rotator2 {
    from {
        -ms-transform: rotateY(0deg);
    }

    to {
        -ms-transform: rotateY(-120deg);
    }
}

#rotator2 {
    -webkit-transform-origin: 0 0;
    -webkit-transform-style: preserve-3d;
    -webkit-animation-timing-function: cubic-bezier(1,.2,.2,1);
    -webkit-animation-duration: 2s;
    -webkit-animation-delay: 4s;
    -moz-transform-origin: 0 0;
    -moz-transform-style: preserve-3d;
    -moz-animation-timing-function: cubic-bezier(1,.2,.2,1);
    -moz-animation-duration: 2s;
    -moz-animation-delay: 4s;
    -ms-transform-origin: 0 0;
    -ms-transform-style: preserve-3d;
    -ms-animation-timing-function: cubic-bezier(1,.2,.2,1);
    -ms-animation-duration: 2s;
    -ms-animation-delay: 4s
}

    #rotator2:hover {
        -webkit-animation-play-state: paused;
        -moz-animation-play-state: paused;
        -ms-animation-play-state: paused
    }

#stage2 #rotator2 a div {
    font-family: 'Bookman Old Style';
    width: 300px;
    height: 180px;
    text-align: center;
    color: BLACK;
    background-color: #538fbe;
    border: 1px solid #2d6898;
    background-image: linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
    background-image: -o-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
    background-image: -moz-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
    background-image: -webkit-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(73,132,180) 0%, rgb(97,155,203) 100%);
    background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0, rgb(73,132,180)), color-stop(1, rgb(97,155,203)) );
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
    -moz-box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
    box-shadow: 0px 6px 0px #2b638f, 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
}


    #stage2 #rotator2 a div h1 {
        margin-top: 5px;
        margin-bottom: 5px;
    }

.h-125px {
    height: 125px !important;
}

#rotator2 {
    animation-name: rotator2;
}

    #rotator2 .big-display {
        color: maroon;
        font-size: 50px;
    }

.div-center {
    text-align: center;
    width: 100%;
    height: 10%;
}


.text-center {
    text-align:center!important;
}