/** hopscotch - v0.3.1
*
* Copyright 2017 LinkedIn Corp. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/**
 * This fade animation is based on Dan Eden's animate.css (http://daneden.me/animate/), under the terms of the MIT license.
 *
 * Copyright 2013 Dan Eden.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation-name: fadeInUp;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-down {
    animation-name: fadeInDown;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-right {
    animation-name: fadeInRight;
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-left {
    animation-name: fadeInLeft;
}

div.hopscotch-bubble .hopscotch-nav-button {
    border-radius: 3px;
    border-style: solid;
    border-width: 1px;
    box-sizing: border-box;
    cursor: pointer;
    display: -moz-inline-stack;
    display: inline;
    font-size: 12px;

    /* borrowed from katy styles */
    font-weight: bold;
    height: 26px;
    line-height: 24px;
    margin: 0;
    overflow: visible;
    padding: 0 10px;
    text-decoration: none !important;
    vertical-align: middle;
    white-space: nowrap;
    width: auto;
    zoom: 1;
}

div.hopscotch-bubble .hopscotch-nav-button:hover {
    box-shadow: 0 1px 3px rgb(0 0 0 / 25%);
    zoom: 1;
}

div.hopscotch-bubble .hopscotch-nav-button:active {
    box-shadow: 0 1px 2px rgb(0 0 0 / 25%) inset;
}

div.hopscotch-bubble .hopscotch-nav-button.next {
    background-color: rgb(40 123 188);
    background-image: linear-gradient(to bottom, rgb(40 123 188) 0%, rgb(35 99 154) 100%);
    border-color: rgb(27 84 128);
    color: rgb(255 255 255);
    filter: progid:dximagetransform.microsoft.gradient(gradientType=0, startColorstr='#287bbc', endColorstr='#23639a');
    margin: 0 0 0 10px;

    /* HS specific */
    text-shadow: 0 1px 1px rgb(0 0 0 / 35%);
}

div.hopscotch-bubble .hopscotch-nav-button.next:hover {
    background-color: rgb(38 114 174);
    background-image: linear-gradient(to bottom, rgb(38 114 174) 0%, rgb(30 79 126) 100%);
    filter: progid:dximagetransform.microsoft.gradient(gradientType=0, startColorstr='#2672ae', endColorstr='#1e4f7e');
}

div.hopscotch-bubble .hopscotch-nav-button.prev {
    background-color: rgb(242 242 242);
    background-image: linear-gradient(to bottom, rgb(242 242 242) 0%, rgb(233 233 233) 100%);
    border-color: rgb(167 167 167);
    color: rgb(68 68 68);
    filter: progid:dximagetransform.microsoft.gradient(gradientType=0, startColorstr='#f2f2f2', endColorstr='#e9e9e9');
    text-shadow: 0 1px 1px rgb(255 255 255 / 75%);
}

div.hopscotch-bubble .hopscotch-nav-button.prev:hover {
    background-color: rgb(232 232 232);
    background-image: linear-gradient(
        to bottom,
        rgb(232 232 232) 0%,
        rgb(227 227 227) 13%,
        rgb(215 215 215) 32%,
        rgb(185 185 185) 71%,
        rgb(169 169 169) 100%
    );
    filter: progid:dximagetransform.microsoft.gradient(gradientType=0, startColorstr='#FFE8E8E8', endColorstr='#FFA9A9A9');
}

div.hopscotch-bubble {
    /* Webkit */
    background-clip: padding-box;
    background-color: rgb(255 255 255);
    border: 5px solid rgb(0 0 0);

    /* default */
    border: 5px solid rgb(0 0 0 / 50%);
    box-sizing: content-box;

    /* transparent, if supported */
    color: rgb(51 51 51);
    font-family: Helvetica, Arial, sans-serif;
    font-size: 13px;
    position: absolute;
    z-index: 999999;

    /*  browsers with full support */
}

div.hopscotch-bubble * {
    box-sizing: content-box;
}

div.hopscotch-bubble.animate {
    transition-duration: 1s;
    transition-property: top, left;
    transition-timing-function: ease-in-out;
}

div.hopscotch-bubble.invisible {
    opacity: 0;
}

div.hopscotch-bubble.hide,
div.hopscotch-bubble .hide,
div.hopscotch-bubble .hide-all {
    display: none;
}

div.hopscotch-bubble h3 {
    color: rgb(0 0 0);
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 19px;
    margin: -1px 15px 0 0;
    padding: 0;
}

div.hopscotch-bubble .hopscotch-bubble-container {
    -webkit-font-smoothing: antialiased;
    padding: 15px;
    position: relative;
    text-align: left;

    /* to fix text flickering */
}

div.hopscotch-bubble .hopscotch-content {
    font-family: Helvetica, Arial, sans-serif;
    font-weight: normal;
    line-height: 17px;
    margin: -5px 0 11px;
    padding-top: 8px;
}

div.hopscotch-bubble .hopscotch-bubble-content {
    margin: 0 0 0 40px;
}

div.hopscotch-bubble.no-number .hopscotch-bubble-content {
    margin: 0;
}

div.hopscotch-bubble .hopscotch-bubble-close {
    appearance: none;
    background: url(../../core-images/dashboard/tour/sprite-green.png) no-repeat -199px -99px;
    border: 0;
    color: rgb(0 0 0);
    display: block;
    height: 8px;
    margin-top: 12px;
    position: absolute;
    right: 0;
    text-decoration: none;
    text-indent: -9999px;
    top: 0;
    width: 8px;
}

div.hopscotch-bubble .hopscotch-bubble-close.hide,
div.hopscotch-bubble .hopscotch-bubble-close.hide-all {
    display: none;
}

div.hopscotch-bubble .hopscotch-bubble-number {
    color: rgb(255 255 255);
    display: block;
    float: left;
    font-size: 17px;
    font-weight: bold;
    height: 30px;
    line-height: 31px;
    padding: 0 10px 0 0;
    text-align: center;
    width: 30px;
}

div.hopscotch-bubble .hopscotch-bubble-arrow-container {
    height: 34px;
    position: absolute;
    width: 34px;
}

div.hopscotch-bubble .hopscotch-bubble-arrow-container .hopscotch-bubble-arrow,
div.hopscotch-bubble .hopscotch-bubble-arrow-container .hopscotch-bubble-arrow-border {
    height: 0;
    width: 0;
}

div.hopscotch-bubble .hopscotch-bubble-arrow-container.up {
    left: 10px;
    top: -22px;
}

div.hopscotch-bubble .hopscotch-bubble-arrow-container.up .hopscotch-bubble-arrow {
    border-bottom: 17px solid rgb(255 255 255);
    border-left: 17px solid transparent;
    border-right: 17px solid transparent;
    position: relative;
    top: -10px;
}

div.hopscotch-bubble .hopscotch-bubble-arrow-container.up .hopscotch-bubble-arrow-border {
    border-bottom: 17px solid rgb(0 0 0);
    border-bottom: 17px solid rgb(0 0 0 / 50%);
    border-left: 17px solid transparent;
    border-right: 17px solid transparent;
}

div.hopscotch-bubble .hopscotch-bubble-arrow-container.down {
    bottom: -39px;
    left: 10px;
}

div.hopscotch-bubble .hopscotch-bubble-arrow-container.down .hopscotch-bubble-arrow {
    border-left: 17px solid transparent;
    border-right: 17px solid transparent;
    border-top: 17px solid rgb(255 255 255);
    position: relative;
    top: -24px;
}

div.hopscotch-bubble .hopscotch-bubble-arrow-container.down .hopscotch-bubble-arrow-border {
    border-left: 17px solid transparent;
    border-right: 17px solid transparent;
    border-top: 17px solid rgb(0 0 0 / 50%);
}

div.hopscotch-bubble .hopscotch-bubble-arrow-container.left {
    left: -22px;
    top: 10px;
}

div.hopscotch-bubble .hopscotch-bubble-arrow-container.left .hopscotch-bubble-arrow {
    border-bottom: 17px solid transparent;
    border-right: 17px solid rgb(255 255 255);
    border-top: 17px solid transparent;
    left: 7px;
    position: relative;
    top: -34px;
}

div.hopscotch-bubble .hopscotch-bubble-arrow-container.left .hopscotch-bubble-arrow-border {
    border-bottom: 17px solid transparent;
    border-right: 17px solid rgb(0 0 0 / 50%);
    border-top: 17px solid transparent;
}

div.hopscotch-bubble .hopscotch-bubble-arrow-container.right {
    right: -39px;
    top: 10px;
}

div.hopscotch-bubble .hopscotch-bubble-arrow-container.right .hopscotch-bubble-arrow {
    border-bottom: 17px solid transparent;
    border-left: 17px solid rgb(255 255 255);
    border-top: 17px solid transparent;
    left: -7px;
    position: relative;
    top: -34px;
}

div.hopscotch-bubble .hopscotch-bubble-arrow-container.right .hopscotch-bubble-arrow-border {
    border-bottom: 17px solid transparent;
    border-left: 17px solid rgb(0 0 0);
    border-left: 17px solid rgb(0 0 0 / 50%);
    border-top: 17px solid transparent;
}

div.hopscotch-bubble .hopscotch-actions {
    margin: 10px 0 0;
    text-align: right;
}
