/**
 * LibertyRoots Share Buttons
 *
 * v14 restores the former Code Snippet styling for the existing Enfold share
 * box in #lr-drop-share-icons. This file does not create or redesign share
 * buttons. It only styles the original markup and the copy-link button.
 */

/* Copy to clipboard check mark hidden by default and animated on success. */
.av-share-box ul li a.lr-link-copy-animation-element-2 {
    display: none;
    color: #54af00 !important;
    font-size: 14px;
}

.av-share-box ul li a.lr-link-copy-animation-element-2.lr-show {
    display: block;
    animation-name: lr-share-font-size-animation;
    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
}

@keyframes lr-share-font-size-animation {
    0% { font-size: 14px; }
    50% { font-size: 20px; }
    100% { font-size: 14px; }
}

.av-share-box ul li a.lr-link-copy-animation-element-1 {
    display: none;
}

.av-share-box ul li a.lr-link-copy-animation-element-1.lr-show {
    display: block;
}

.av-social-link-copy-share:hover a,
.av-social-link-copy-share a:focus {
    background-color: #ddb300;
}

#lr-drop-share-icons .av-share-box ul li.av-share-link:hover a,
#lr-drop-share-icons .av-share-box ul li.av-share-link a:focus {
    background-color: transparent;
}

#lr-drop-share-icons .av-share-box-list li {
    display: block !important;
}

#lr-drop-share-icons .av-share-box-list li a:hover,
#lr-drop-share-icons .av-share-box-list li a:active {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

#lr-drop-share-icons .avia-related-tooltip {
    opacity: 0 !important;
    display: none !important;
}

.lr-drop-share-icons-white li a {
    color: #ffffff !important;
}

#top .lr-drop-share-icons-white .av-share-box ul {
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.5) -130%, transparent 130%) !important;
}

#top .lr-drop-share-icons-black .av-share-box ul {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.7) -130%, transparent 130%) !important;
}

#lr-drop-share-icons {
    position: fixed;
    z-index: 9999;
    width: auto;
}

@media only screen and (min-width: 768px) {
    #lr-drop-share-icons {
        top: 140px !important;
        right: 20px;
    }

    #lr-drop-share-icons .av-share-box ul li a {
        padding: 10px 0;
    }
}

@media only screen and (max-width: 767px) {
    #lr-drop-share-icons {
        top: 80px;
        right: 0;
        transition: top 0.5s ease;
    }

    #lr-drop-share-icons .av-share-box ul li a {
        width: 40px;
        height: 40px;
        padding: 6px 0;
    }
}
