﻿
.Dock {
    position: fixed;
    left: 50%;
    bottom: 0px;
    padding: 0px 10px;
    transform: translateX(-50%);
    perspective: 100px;
}

    .Dock:before {
        content: "";
        position: absolute;
        left: 0px;
        bottom: -3px;
        width: 100%;
        height: 22px;
        // border-radius:20px 20px 0px 0px;
        background-color: rgba(200,255,255,0.53);
        z-index: -1;
        transform-style: preserve-3d;
        transform: rotateX(45deg);
    }

.Icon {
    position: relative;
    cursor: pointer;
    display: inline-block;
    width: 32px;
    height: 32px;
    margin: 0px 5px 5px 0px;
    border-radius: 6px;
    background-color: rgba(255,0,0,0.85);
    color: white;
    transition: all 0.3s;
    text-align: center;
    font-size: 24px;
    line-height: 32px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .Icon:hover {
        width: 72px;
        height: 72px;
        font-size: 54px;
        line-height: 72px;
        background-color: rgba(90,0,50,0.85);
    }

    .Icon:active {
        width: 70px;
        height: 70px;
        font-size: 50px;
        line-height: 70px;
        background-color: rgba(50,0,10,0.85);
    }

    .Icon[data-name]:hover:after {
        content: attr(data-name);
        padding: 4px;
        color: rgba(0,0,0,0.888);
        position: absolute;
        left: 50%;
        top: -50%;
        transform: translateX(-50%);
        white-space: nowrap;
        z-index: 2;
        font-family: arial;
        font-weight: normal;
        font-size: 12px;
        line-height: 12px;
        border-radius: 5px;
        background: #eeeeee;
    }

    .Icon:hover:before {
        content: "";
        color: rgba(0,0,0,0.888);
        position: absolute;
        left: 50%;
        top: -50%;
        width: 0px;
        height: 0px;
        transform: translate(-50%,15px) rotate(-45deg);
        white-space: nowrap;
        font-family: arial;
        font-weight: normal;
        font-size: 12px;
        line-height: 12px;
        width: 10px;
        height: 10px;
        background: #eeeeee;
    }
