/*! shape-shifter 2013-08-14 */
body,.overlay {
    -webkit-perspective: 1000;
    /*-webkit-perspective-origin-y: 25%*/
}

.canvas{
    position: fixed;
    top:0;right:0;bottom:0;left:0;
    z-index:4;
    width:100vw;height:100vh;
    background: -webkit-linear-gradient(top,#cbebdb 0,#3794c0 120%);
    background: -moz-linear-gradient(top,#cbebdb 0,#3794c0 120%);
    background: -o-linear-gradient(top,#cbebdb 0,#3794c0 120%);
    background: -ms-linear-gradient(top,#cbebdb 0,#3794c0 120%);
    background: linear-gradient(top,#cbebdb 0,#3794c0 120%);
    -webkit-transition: -webkit-transform .7s cubic-bezier(0.694,.0482,.335,1),opacity .7s cubic-bezier(0.694,.0482,.335,1);
    -moz-transition: -moz-transform .7s cubic-bezier(0.694,.0482,.335,1),opacity .7s cubic-bezier(0.694,.0482,.335,1);
    -ms-transition: -ms-transform .7s cubic-bezier(0.694,.0482,.335,1),opacity .7s cubic-bezier(0.694,.0482,.335,1);
    -o-transition: -o-transform .7s cubic-bezier(0.694,.0482,.335,1),opacity .7s cubic-bezier(0.694,.0482,.335,1);
    transition: transform .7s cubic-bezier(0.694,.0482,.335,1),opacity .7s cubic-bezier(0.694,.0482,.335,1)
}
.body--ready .canvas{
    
}

.body--ready .overlay {
    
}

.body--ready .ui,.body--ready .help {
    display: block
}

.ui {
    display: none;
    position: absolute;
    left: 50%;
    bottom: 5%;
    width: 300px;
    margin-left: -150px
}

.ui-input {
    width: 100%;
    height: 50px;
    background: 0;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    border: 0;
    border-bottom: 2px solid #fff
}

.ui-input:focus {
    outline: 0;
    border: 0;
    border-bottom: 2px solid #fff
}

.ui-return {
    display: none;
    position: absolute;
    top: 20px;
    right: 0;
    padding: 3px 2px 0;
    font-size: 10px;
    line-height: 10px;
    color: #fff;
    border: 1px solid #fff
}

.ui--enter .ui-return {
    display: block
}

.ui--wide {
    width: 76%;
    margin-left: 12%;
    left: 0
}

.ui--wide .ui-return {
    right: -20px
}


.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 550px;
    height: 490px;
    margin: -260px 0 0 -275px;
    opacity: 0;
    -webkit-transform: rotateY(90deg);
    -moz-transform: rotateY(90deg);
    -ms-transform: rotateY(90deg);
    -o-transform: rotateY(90deg);
    transform: rotateY(90deg)
}

.overlay--visible {
    opacity: 1;
    -webkit-transform: rotateY(0);
    -moz-transform: rotateY(0);
    -ms-transform: rotateY(0);
    -o-transform: rotateY(0);
    transform: rotateY(0)
}

.ui-share,.ui-details {
    opacity: .9;
    background: #fff;
    z-index: 2
}

.ui-details-content,.ui-share-content {
    padding: 100px 50px
}

.commands {
    margin: 0;
    padding: 0;
    list-style: none;
    cursor: pointer
}

.commands-item {
    font-size: 12px;
    line-height: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 20px;
    background: #fff;
    margin-top: 1px;
    color: #333;
    opacity: .9;
    -webkit-transition: -webkit-transform .7s cubic-bezier(0.694,.0482,.335,1),opacity .1s cubic-bezier(0.694,.0482,.335,1);
    -moz-transition: -moz-transform .1s cubic-bezier(0.694,.0482,.335,1),opacity .1s cubic-bezier(0.694,.0482,.335,1);
    -ms-transition: -ms-transform .1s cubic-bezier(0.694,.0482,.335,1),opacity .1s cubic-bezier(0.694,.0482,.335,1);
    -o-transition: -o-transform .1s cubic-bezier(0.694,.0482,.335,1),opacity .1s cubic-bezier(0.694,.0482,.335,1);
    transition: transform .1s cubic-bezier(0.694,.0482,.335,1),opacity .1s cubic-bezier(0.694,.0482,.335,1)
}

.commands-item--gap {
    margin-top: 9px
}

.commands-item:hover {
    opacity: 1
}

.commands-item:hover .commands-item-action {
    background: #333
}

.commands-item a {
    display: inline-block
}

.commands-item-mode {
    display: inline-block;
    margin-left: 3px;
    font-style: italic;
    color: #ccc
}

.commands-item-title {
    display: inline-block;
    width: 150px
}

.commands-item-info {
    display: inline-block;
    width: 300px;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    color: #aaa
}

.commands-item-action {
    display: inline-block;
    float: right;
    margin-top: 3px;
    text-transform: uppercase;
    font-size: 10px;
    line-height: 10px;
    color: #fff;
    background: #90c9d1;
    padding: 5px 10px 4px;
    border-radius: 3px
}

.commands-item:first-child {
    margin-top: 0
}

.twitter-share {
    position: absolute;
    top: 4px;
    right: 20px
}

.tabs-labels {
    margin-bottom: 9px
}

.tabs-label {
    display: inline-block;
    background: #fff;
    padding: 10px 20px;
    font-size: 12px;
    line-height: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    opacity: .5;
    cursor: pointer;
    margin-right: 2px;
    -webkit-transition: opacity .1s cubic-bezier(0.694,.0482,.335,1);
    -moz-transition: opacity .1s cubic-bezier(0.694,.0482,.335,1);
    -ms-transition: opacity .1s cubic-bezier(0.694,.0482,.335,1);
    -o-transition: opacity .1s cubic-bezier(0.694,.0482,.335,1);
    transition: opacity .1s cubic-bezier(0.694,.0482,.335,1)
}

.tabs-label:hover {
    opacity: .9
}

.tabs-label--active {
    opacity: .9
}

.tabs-panel {
    display: none
}

.tabs-panel--active {
    display: block
}

.tab-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%
}

.touch .ui-input {
    display: none
}

@media screen and (max-height: 600px) {
    .ui-input {
        color:#111;
        border-color: #111
    }

    .ui-input:focus {
        border-color: #111
    }
}
