﻿/***********************************************************************************************************************
    NEW SPEED DIAL MENU (HUGGERS)
***********************************************************************************************************************/
ul.speed-dial-option-list {
    position: fixed;
    right: 0;
    top: 50%;
    padding: 0;
    margin: 0;
    z-index: 100;
    display: flex;
    -ms-flex-flow: column;
    flex-flow: column;
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

ul.speed-dial-option-list li {
    display: block;
    margin: 3px 0;
    -moz-transition: width 0.25s;
    -o-transition: width 0.25s;
    -webkit-transition: width 0.25s;
    transition: width 0.25s;
    position: relative;
    right: 0;
    height: 50px;
    width: 50px;
}

/*ul.speed-dial-option-list li:hover{
    width:55px;
}*/

.speed-dial-option-link,
a.speed-dial-option-link {
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    background: var(--speed-dial-item-background-color);
    font-size: 24px;
    color: var(--speed-dial-item-color);
    border: 1px solid var(--speed-dial-item-border-color);
    border-right: none;
    -moz-box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    -moz-transition: all 0.25s;
    -o-transition: all 0.25s;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
    text-decoration: none;
    -webkit-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.speed-dial-option-link:hover,
a.speed-dial-option-link:hover {
    width: 55px;
    background: var(--speed-dial-item-hover-background-color);
    -moz-box-shadow: -4px 4px 6px rgba(0,0,0,0.4);
    -webkit-box-shadow: -4px 4px 6px rgba(0,0,0,0.4);
    box-shadow: -4px 4px 6px rgba(0,0,0,0.4);
    border-color: var(--speed-dial-item-hover-border-color);
    color: var(--speed-dial-item-hover-color);
}

.speed-dial-option-link-text {
    position: absolute;
    left: -10px;
    top: 50%;
    -moz-transform: translate(-100%, -50%);
    -ms-transform: translate(-100%, -50%);
    -o-transform: translate(-100%, -50%);
    -webkit-transform: translate(-100%, -50%);
    transform: translate(-100%, -50%);
    white-space: nowrap;
    padding: 10px;
    background: var(--speed-dial-tooltip-background-color);
    border: 2px solid var(--speed-dial-tooltip-border-color);
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 25px;
    font-family: var(--primary-font-family);
    color: var(--speed-dial-tooltip-color);
    -moz-box-shadow: 0 4px 6px var(--secondary-color-shade-04);
    -webkit-box-shadow: 0 4px 6px var(--secondary-color-shade-04);
    box-shadow: 0 4px 6px var(--secondary-color-shade-04);
    -moz-opacity: 0;
    opacity: 0;
    display: none;
}

.bubble-slide-in{
    -webkit-animation: menu-text-bubble 0.2s ease-in 1;
    -moz-animation: menu-text-bubble 0.2s ease-in 1;
    -o-animation: menu-text-bubble 0.2s ease-in 1;
    animation: menu-text-bubble 0.2s ease-in 1;
    -o-animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -moz-opacity: 0;
    -moz-transform: translate(calc(-100% - 10px), -50%);
    -ms-transform: translate(calc(-100% - 10px), -50%);
    -o-transform: translate(calc(-100% - 10px), -50%);
    -webkit-transform: translate(calc(-100% - 10px), -50%);
    transform: translate(calc(-100% - 10px), -50%);
    opacity: 0;
}


   
@-moz-keyframes menu-text-bubble {
    0% {
        -moz-opacity: 0;
        opacity: 0;
        -moz-transform: translate(calc(-100% - 10px), -50%);
        -ms-transform: translate(calc(-100% - 10px), -50%);
        -o-transform: translate(calc(-100% - 10px), -50%);
        -webkit-transform: translate(calc(-100% - 10px), -50%);
        transform: translate(calc(-100% - 10px), -50%);
    }

    100% {
        -moz-opacity: 1;
        opacity: 1;
        -moz-transform: translate(-100%, -50%);
        -ms-transform: translate(-100%, -50%);
        -o-transform: translate(-100%, -50%);
        -webkit-transform: translate(-100%, -50%);
        transform: translate(-100%, -50%);
    }
}

@-webkit-keyframes menu-text-bubble {
    0% {
        -moz-opacity: 0;
        opacity: 0;
        -moz-transform: translate(calc(-100% - 10px), -50%);
        -ms-transform: translate(calc(-100% - 10px), -50%);
        -o-transform: translate(calc(-100% - 10px), -50%);
        -webkit-transform: translate(calc(-100% - 10px), -50%);
        transform: translate(calc(-100% - 10px), -50%);
    }

    100% {
        -moz-opacity: 1;
        opacity: 1;
        -moz-transform: translate(-100%, -50%);
        -ms-transform: translate(-100%, -50%);
        -o-transform: translate(-100%, -50%);
        -webkit-transform: translate(-100%, -50%);
        transform: translate(-100%, -50%);
    }
}

@keyframes menu-text-bubble {
    0% {
        -moz-opacity: 0;
        opacity: 0;
        -moz-transform: translate(calc(-100% - 10px), -50%);
        -ms-transform: translate(calc(-100% - 10px), -50%);
        -o-transform: translate(calc(-100% - 10px), -50%);
        -webkit-transform: translate(calc(-100% - 10px), -50%);
        transform: translate(calc(-100% - 10px), -50%);
    }

    100% {
        -moz-opacity: 1;
        opacity: 1;
        -moz-transform: translate(-100%, -50%);
        -ms-transform: translate(-100%, -50%);
        -o-transform: translate(-100%, -50%);
        -webkit-transform: translate(-100%, -50%);
        transform: translate(-100%, -50%);
    }
}

.speed-dial-option-link:hover + .speed-dial-option-link-text {
    display:block;
        
}

@media screen and (max-width:768px) {
    ul.speed-dial-option-list {
        display: none;
    }
}