/*!
 * Copyright 2016 PREGIOTEK
 * http://pregiotek.com/
 *
 * ion-floating-menu
 * Material UI-like Floating Action Button and Menu for Ionic applications.
 *
 * By @ennedigi
 *
 * Licensed under the MIT license. Please see LICENSE for more information.
 *
 */

/*floating-button*/

#floating-button {
    bottom: 20px;
    position: fixed;
    right: 20px;
    z-index : 9999;
    width: 60px;
    height: 60px;
    line-height: 60px;
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
    color: #000;
    cursor: pointer;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.2), 0 2px 5px 0 rgba(0, 0, 0, 0.2);
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    padding: 0;
    border: none;
    border-radius: 50%;
}

#floating-button>li {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    padding: 0;
    border: none;
    border-radius: 50%;
    -webkit-border-radius: 50%;
}

#floating-button a {
    width: 40px;
    height: 40px;
    display: inline-block;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    text-decoration: none;
    font-size: 0.8em;
}

#floating-button .icon.menu-icon{
    font-size: 20px;
}

/*floating-menu*/

#floating-menu .icon.menu-icon{
    font-size: 20px;
}

#floating-menu {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    line-height: 60px;
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.2), 0 2px 5px 0 rgba(0, 0, 0, 0.2);
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    padding: 0;
    border: none;
    border-radius: 50%;
}

#floating-menu li.menu-button {
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#floating-menu li{
    position: absolute;
    left: 0.5px;
    top: 0.5px;
    width: 98%;
    height: 98%;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    padding: 0;
    border: none;
    border-radius: 50%;
    -webkit-border-radius: 50%;
}

#floating-menu li span.label{
    margin-right: 2px;
    color: gray;
    background-color: white;
    padding: 6px;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    box-shadow: 0.5px 2px 2px 0.5px rgba(0, 0, 0, 0.2);
}


#floating-menu li span.label-container{
    margin-right: 2px;
    position: absolute;
    display: inline-block;
    visibility: hidden;
    top: 0px;
    overflow: hidden;
    right: 75px;
    width: 100px;
    text-align: right;
    font-size: 15px;
}

#floating-menu.active span.label-container{
    visibility: visible;
}


#floating-menu.active li{
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.2), 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}

/*#floating-menu li {
    width: 40px;
    height: 40px;
    display: inline-block;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    text-decoration: none;
    font-size: 0.8em;
}*/

#floating-menu > li  {
    transition: all .4s;
    -webkit-transition: all .4s;
    -moz-transition: .4s;
}

#floating-menu.active > li:nth-child(1) {
    transition-delay: 0ms; -webkit-transition-delay: 0ms; top: -70px;
}
#floating-menu.active > li:nth-child(2) {
    transition-delay: 50ms; -webkit-transition-delay: 50ms; top: -140px;
}
#floating-menu.active > li:nth-child(3){
    transition-delay: 100ms; -webkit-transition-delay: 100ms; top: -210px;
}
#floating-menu.active > li:nth-child(4){
    transition-delay: 150ms; -webkit-transition-delay: 150ms; top: -280px;
}
#floating-menu.active > li:nth-child(5){
    transition-delay: 200ms; -webkit-transition-delay: 200ms; top: -350px;
}
#floating-menu.active > li:nth-child(6){
    transition-delay: 250ms; -webkit-transition-delay: 250ms; top: -420px;
}
#floating-menu.active > li:nth-child(7){
    transition-delay: 300ms; -webkit-transition-delay: 300ms; top: -490px;
}
#floating-menu.active > li:nth-child(8){
    transition-delay: 350ms; -webkit-transition-delay: 350ms; top: -560px;
}
#floating-menu.active > li:nth-child(9){
    transition-delay: 400ms; -webkit-transition-delay: 400ms; top: -630px;
}
#floating-menu.active > li:nth-child(10){
    transition-delay: 450ms; -webkit-transition-delay: 450ms; top: -700px;
}
