.AZdom {
    position: absolute;
    width: 60px;
    height: 60px;
    perspective: 1000px;
    transition: all .5s ease-out
}

.AZdom:hover {
    transform: scale(1.5);
    cursor: crosshair
}

.AZcube,
.AZcubeIn,
.AZcubeIn div {
    width: 100px;
    height: 100px;
    transform-style: preserve-3d
}

.AZcube,
.AZcubeIn {
    position: relative;
    transform-origin: 50% 50% -30px
}

.AZcubeIn div {
    position: absolute;
    background: #0e0d0d;
    background-image: radial-gradient(#fff, #d7d7d7);
    transform-origin: 50% 50% -28px
}

.AZCubeBack {
    transform: rotateY(0)
}

.AZCubeLeft {
    transform: rotateY(90deg)
}

.AZCubeRight {
    transform: rotateY(-90deg)
}

.AZCubeTop {
    transform: rotateX(90deg) rotateZ(-90deg)
}

.AZCubeBottom {
    transform: rotateX(-90deg) rotateZ(-90deg)
}

.AZCubeFront {
    transform: rotateX(180deg) rotateZ(-90deg)
}

@keyframes AZrotate {
    from {
        transform: rotateY(45deg) rotateZ(45deg) rotateX(0)
    }

    to {
        transform: rotateY(45deg) rotateZ(45deg) rotateX(-360deg)
    }
}

@keyframes AZrotateR {
    from {
        transform: rotateY(45deg) rotateZ(45deg) rotateX(0)
    }

    to {
        transform: rotateY(45deg) rotateZ(45deg) rotateX(360deg)
    }
}

.AZelementAnimation,
.AZmenu_error {
    transition-timing-function: ease-out
}

.AZmenu_container {
    display: inline-block;
    font-family: Arial;
    color: #fff;
    position: relative;
    background: #323232;
    overflow: hidden;
    font-size: 10px
}

.AZmenu_attention,
.AZmenu_doms,
.AZmenu_x {
    position: absolute
}

.AZmenu_table {
    border-collapse: collapse
}

.AZmenu_center {
    text-align: center
}

.AZmenu_h1,
.AZmenu_h2 {
    text-align: right
}

.AZmenu_h1 td {
    font-size: 12px;
    font-style: italic
}

.AZmenu_h2 td {
    font-weight: 700;
    padding-bottom: 25px;
    width: 250px
}

.AZmenu_attention {
    font-size: 12px;
    top: 10px;
    left: 10px;
    width: 300px;
    line-height: 1.1
}

.AZmenu_attention p {
    text-indent: 1.5em;
    line-height: 1.1;
    margin: 0;
    padding: 0
}

.AZmenu_title {
    color: red;
    text-align: center;
    margin-bottom: 5px;
    font-size: 1.2em;
    font-weight: 700;
    font-style: italic
}

.AZmenu_x {
    background: grey;
    display: inline-block;
    font-size: 18px;
    line-height: 1;
    right: 0;
    cursor: pointer
}

.AZmenu_x:hover {
    color: red;
    background: #400
}

.AZmenu_x:hover::after {
    content: 'Отмена';
    position: absolute;
    font-size: 10px;
    color: #FFF
}

.AZmenu_error {
    font-family: Arial;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    padding-top: 30%;
    background-color: rgba(0, 0, 0, .4);
    line-height: 1;
    transition-duration: .6s;
    -khtml-user-select: none;
    -moz-user-select: -moz-none;
    -o-user-select: none;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none
}

.AZmenu_error .AZmenu_title {
    font-size: 50px
}

.AZmenu_errText {
    color: #FFF;
    text-align: center;
    font-size: 40px
}

.AZelementAnimation {
    animation: AZanimationFrames ease-out 8s;
    animation-iteration-count: infinite;
    transform-origin: 50% 50%;
    -webkit-animation: AZanimationFrames ease-out 8s;
    -webkit-animation-iteration-count: infinite;
    -webkit-transform-origin: 50% 50%;
    -moz-animation: AZanimationFrames ease-out 8s;
    -moz-animation-iteration-count: infinite;
    -moz-transform-origin: 50% 50%;
    -o-animation: AZanimationFrames ease-out 8s;
    -o-animation-iteration-count: infinite;
    -o-transform-origin: 50% 50%;
    -ms-animation: AZanimationFrames ease-out 8s;
    -ms-animation-iteration-count: infinite;
    -ms-transform-origin: 50% 50%;
    transition-duration: .3s;
    transition-property: transform
}

@keyframes AZanimationFrames {

    0%,
    100% {
        transform: translateY(0)
    }

    20% {
        transform: translateY(-15px)
    }

    80% {
        transform: translateY(15px)
    }
}

@-moz-keyframes AZanimationFrames {

    0%,
    100% {
        -moz-transform: translateY(0)
    }

    20% {
        -moz-transform: translateY(-15px)
    }

    80% {
        -moz-transform: translateY(15px)
    }
}

@-webkit-keyframes AZanimationFrames {

    0%,
    100% {
        -webkit-transform: translateY(0)
    }

    20% {
        -webkit-transform: translateY(-15px)
    }

    80% {
        -webkit-transform: translateY(15px)
    }
}

@-o-keyframes AZanimationFrames {

    0%,
    100% {
        -o-transform: translateY(0)
    }

    20% {
        -o-transform: translateY(-15px)
    }

    80% {
        -o-transform: translateY(15px)
    }
}

@-ms-keyframes AZanimationFrames {

    0%,
    100% {
        -ms-transform: translateY(0)
    }

    20% {
        -ms-transform: translateY(-15px)
    }

    80% {
        -ms-transform: translateY(15px)
    }
}

.AZmenu_blinking {
    animation: AZmenu_blinking .2s infinite
}

@keyframes AZmenu_blinking {

    0%,
    100% {
        border: 1px solid #f0f
    }

    50% {
        border: 1px solid #fff
    }
}