/* -------------------------------
   Site search
   ------------------------------- */
#assistBubble {
    display: block;
    position: fixed;
    width: 400px;
    right: 27px;
    bottom: 27px;
    z-index: 9999;
    box-shadow: 3px 3px 6px 0 rgba(0, 0, 0, 0.05);
}

#assistBubble.minified {
    display: none;
}

#assistBubble.active .assistBubble__card:nth-child(2) {
    background: #ff8345;
    margin: 0 10px;
}

#assistBubble.active .assistBubble__card.alt {
    position: relative;
    top: 0;
    right: 0;
    background: #f77331;
    width: 100%;
    min-width: 100%;
    height: auto;
    border: 2px solid #f1bfa7;
    border-radius: 5px;
    padding: 20px 0 20px;
    overflow: hidden;
}

#assistBubble.active .assistBubble__card.alt .assistBubble__card--toggle {
    position: absolute;
    border: 0;
    top: 40px;
    right: -70px;
    box-shadow: none;
    -webkit-transform: scale(10);
    transform: scale(10);
    -webkit-transition: -webkit-transform .3s ease;
    transition: -webkit-transform .3s ease;
    transition: transform .3s ease;
    transition: -webkit-transform .3s ease;
    background: none !important;
}

#assistBubble.active .assistBubble__card.alt .assistBubble__card--toggle:before {
    content: '';
}

#assistBubble.active .assistBubble__card.alt .assistBubble__card--title,
#assistBubble.active .assistBubble__card.alt .assistBubble__card--input,
#assistBubble.active .assistBubble__card.alt .assistBubble__card--submit {
    left: 0;
    opacity: 1;
    visibility: visible;
    -webkit-transition: .3s ease;
    transition: .3s ease;
}

#assistBubble.active .assistBubble__card.alt .assistBubble__card--title {
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
}

#assistBubble.active .assistBubble__card.alt .assistBubble__card--input {
    -webkit-transition-delay: .4s;
    transition-delay: .4s;
}

#assistBubble.active .assistBubble__card.alt .assistBubble__card--input:nth-child(2) {
    -webkit-transition-delay: .5s;
    transition-delay: .5s;
}

#assistBubble.active .assistBubble__card.alt .assistBubble__card--input:nth-child(3) {
    -webkit-transition-delay: .6s;
    transition-delay: .6s;
}

#assistBubble.active .assistBubble__card.alt .assistBubble__card--submit {
    -webkit-transition-delay: .7s;
    transition-delay: .7s;
}

/* assistBubble__card */
.assistBubble__card {
    position: relative;
    right: 32px;
    background: #ffffff;
    border-radius: 5px;
    padding: 10px 0 10px 0;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    -webkit-transition: .3s ease;
    transition: .3s ease;
}

.assistBubble__card .assistBubble__card--title {
    z-index: 1;
    font-size: 32px;
    font-weight: 600;
    position: relative;
    /*border-left: 5px solid;*/
    /*border-color: #ffffff;*/
    color: #ffffff;
}

.assistBubble__card .assistBubble__card--input {
    position: relative;
    margin: 0 60px 20px;
}

.assistBubble__card .assistBubble__card--input input {
    outline: none;
    z-index: 1;
    position: relative;
    background: none;
    width: 100%;
    height: 60px;
    border: 0;
    color: #212121;
    font-size: 24px;
    font-weight: 400;
}

.assistBubble__card .assistBubble__card--input input:focus ~ label {
    color: #9d9d9d;
    -webkit-transform: translate(-12%, -50%) scale(0.75);
    transform: translate(-12%, -50%) scale(0.75);
}

.assistBubble__card .assistBubble__card--input input:focus ~ .assistBubble__card--line:before, .assistBubble__card .assistBubble__card--input input:focus ~ .assistBubble__card--line:after {
    width: 50%;
}

.assistBubble__card .assistBubble__card--input input:valid ~ label {
    color: #9d9d9d;
    -webkit-transform: translate(-12%, -50%) scale(0.75);
    transform: translate(-12%, -50%) scale(0.75);
}

.assistBubble__card .assistBubble__card--input label {
    position: absolute;
    top: 0;
    left: 0;
    color: #757575;
    font-size: 24px;
    font-weight: 300;
    line-height: 60px;
    -webkit-transition: 0.2s ease;
    transition: 0.2s ease;
}

.assistBubble__card .assistBubble__card--input .assistBubble__card--line {
    position: absolute;
    left: 0;
    bottom: 0;
    background: #757575;
    width: 100%;
    height: 1px;
}

.assistBubble__card .assistBubble__card--input .assistBubble__card--line:before, .assistBubble__card .assistBubble__card--input .assistBubble__card--line:after {
    content: '';
    position: absolute;
    background: #ee6521;
    width: 0;
    height: 2px;
    -webkit-transition: .2s ease;
    transition: .2s ease;
}

.assistBubble__card .assistBubble__card--input .assistBubble__card--line:before {
    left: 50%;
}

.assistBubble__card .assistBubble__card--input .assistBubble__card--line:after {
    right: 50%;
}

.assistBubble__card .assistBubble__card--submit {
    margin: 0 60px;
    text-align: center;
}

.assistBubble__card .assistBubble__card--submit button {
    outline: 0;
    cursor: pointer;
    position: relative;
    display: inline-block;
    background: 0;
    width: 240px;
    border: 2px solid #e3e3e3;
    padding: 20px 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    overflow: hidden;
    -webkit-transition: .3s ease;
    transition: .3s ease;
    border-radius: 2px;
}

.assistBubble__card .assistBubble__card--submit button span {
    position: relative;
    z-index: 1;
    color: #ddd;
    -webkit-transition: .3s ease;
    transition: .3s ease;
}

.assistBubble__card .assistBubble__card--submit button:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    background: #ee6521;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    margin: -15px 0 0 -15px;
    opacity: 0;
    -webkit-transition: .3s ease;
    transition: .3s ease;
}

.assistBubble__card .assistBubble__card--submit button:hover, .assistBubble__card .assistBubble__card--submit button:active, .assistBubble__card .assistBubble__card--submit button:focus {
    border-color: #ee6521;
}

.assistBubble__card .assistBubble__card--submit button:hover span, .assistBubble__card .assistBubble__card--submit button:active span, .assistBubble__card .assistBubble__card--submit button:focus span {
    color: #ee6521;
}

.assistBubble__card .assistBubble__card--submit button:active span, .assistBubble__card .assistBubble__card--submit button:focus span {
    color: #ffffff;
}

.assistBubble__card .assistBubble__card--submit button:active:before, .assistBubble__card .assistBubble__card--submit button:focus:before {
    opacity: 1;
    -webkit-transform: scale(10);
    transform: scale(10);
}

.assistBubble__card .footer {
    margin: 40px 0 0;
    color: #d3d3d3;
    font-size: 24px;
    font-weight: 300;
    text-align: center;
}

.assistBubble__card .footer a {
    color: inherit;
    text-decoration: none;
    -webkit-transition: .3s ease;
    transition: .3s ease;
}

.assistBubble__card .footer a:hover {
    color: #bababa;
}

.assistBubble__card.alt {
    position: absolute;
    top: 40px;
    right: -70px;
    z-index: 10;
    width: 140px;
    height: 140px;
    background: none;
    border-radius: 20px 100% 100% 100%;
    box-shadow: none;
    padding: 0;
    -webkit-transition: .3s ease;
    transition: .3s ease;
    /* Toggle */
    /* Title */
    /* Input */
    /* Button */
}

/* -------------------------------
   LIVE CHAT
   ------------------------------- */
.chat-container div.bcText {
    display: none;
}

@media only screen and (min-width: 1024px) {
    .chat-outer {
        position: fixed;
        right: 13px;
        bottom: -500px;
        z-index: 12;
        width: 370px;
        height: 216px;
        transition: ease-in-out 0.4s;
    }

    .chat-outer.visible {
        bottom: 14px;
    }

    .chat-outer .chat-container {
        display: block;
        position: absolute;
        background: url("../../../assets/images/content/chat/chat-click-thru.png") no-repeat;
        background-size: cover;
        width: 370px;
        height: 216px;
        cursor: pointer;
        transition: ease-in-out 0.1s;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: optimize-contrast;
    }

    .chat-outer .offline-chat {
        background: none;
    }

    .chat-outer.minified {
        position: fixed;
        width: 70px;
        height: 70px;
        bottom: 20px !important;
        right: 20px;
        display: block;
        box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
        color: rgb(255, 255, 255);
        font-size: 42px;
        line-height: 70px;
        text-align: center;
        cursor: pointer;
        background: rgb(25, 42, 118);
        border-radius: 20px 100% 100%;
        border-width: 3px;
        border-style: solid;
        border-color: rgb(25, 42, 118);
        border-image: initial;
        transition: 0.1s ease-in-out;
    }

    .chat-outer.minified:before {
        content: '\f0e6';
        font-family: FontAwesome;
        color: #fff;
        font-size: 30px;
        line-height: 60px;
        width: 100%;
        height: 60px;
        position: absolute;
        display: block;
        text-align: center;
    }

    .chat-outer.minified .chat-container {
        display: none;
    }

    .chat-container .chat-link {
        display: block;
        background: #ff935e;
        border-radius: 4px;
        margin: 155px 0 0 58px;
        width: 142px;
        font-size: 13px;
        line-height: 47px;
        transition: ease-in-out 0.1s;
        text-align: center;
        color: #fff;
        border: none;
        box-shadow: 0px 5px 11px 0px rgba(0, 0, 0, 0.15);
    }

    .chat-container .chat-link:hover {
        background: #ec5f19;
        margin: 152px 0 0 58px;
    }

    .chat-close {
        display: block;
        position: fixed;
        bottom: -300px;
        right: 20px;
        cursor: pointer;
        width: 20px;
        height: 20px;
        z-index: 14;
        opacity: 0.35;
        transition: ease-in-out 1s;
    }

    .chat-close.visible {
        bottom: 230px;
    }

    .chat-close:hover {
        opacity: 1;
    }

    .chat-close.minified {
        display: none;
    }
}

/* -------------------------------
   SEARCH BUTTON
   ------------------------------- */
.assistBubble__card.alt .assistBubble__card--toggle {
    position: fixed;
    bottom: 27px;
    right: 27px;
    display: block;
    background: #fff;
    color: #ec5f19;
    border-radius: 4px;
    border: 1px solid #ec5f19;
    width: 142px;
    font-size: 13px;
    transition: ease-in-out 0.1s;
    cursor: pointer;
    box-shadow: 0px 5px 11px 0px rgba(0, 0, 0, 0.15);
}

.assistBubble__card.alt .assistBubble__card--toggle:hover {
    bottom: 30px;
}

.assistBubble__card.alt .assistBubble__card--toggle:before {
    content: '\f002';
    display: inline-block;
    font: normal normal normal 13px/1 "FontAwesome";
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    transition: ease-in-out 0.1s;
    line-height: 45px;
    text-align: left;
    padding: 0 24px;
}

.assistBubble__card.alt .assistBubble__card--toggle:after {
    content: 'Search Site';
    font: normal normal normal 14px/1 "Open Sans";
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    transition: ease-in-out 0.1s;
    line-height: 45px;
    right: 24px;
    position: absolute;
}

.assistBubble__card.alt .assistBubble__card--title,
.assistBubble__card.alt .assistBubble__card--input,
.assistBubble__card.alt .assistBubble__card--submit {
    left: 100px;
    opacity: 0;
    visibility: hidden;
}

.assistBubble__card.alt .assistBubble__card--title .assistBubble__card--close {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 30px;
    display: inline;
    color: #ffffff;
    font-size: 40px;
    font-weight: 400;
}

.assistBubble__card.alt .assistBubble__card--title .assistBubble__card--close:before {
    content: '\00d7';
}

.assistBubble__card.alt .assistBubble__card--input input {
    color: #ffffff;
}

.assistBubble__card.alt .assistBubble__card--input input:focus ~ label {
    color: #ffffff;
}

.assistBubble__card.alt .assistBubble__card--input input:focus ~ .assistBubble__card--line:before, .assistBubble__card.alt .assistBubble__card--input input:focus ~ .assistBubble__card--line:after {
    background: #ffffff;
}

.assistBubble__card.alt .assistBubble__card--input input:valid ~ label {
    color: #ffffff;
}

.assistBubble__card.alt .assistBubble__card--input label {
    color: rgba(255, 255, 255, 0.8);
}

.assistBubble__card.alt .assistBubble__card--input .assistBubble__card--line {
    background: rgba(255, 255, 255, 0.8);
}

.assistBubble__card.alt .assistBubble__card--submit button {
    display: none;
    width: 100%;
    background: #ffffff;
    border-color: #ffffff;
}

.assistBubble__card.alt .assistBubble__card--submit button span {
    color: #ee6521;
}

.assistBubble__card.alt .assistBubble__card--submit button:hover {
    background: rgba(255, 255, 255, 0.9);
}

.assistBubble__card.alt .assistBubble__card--submit button:active:before, .assistBubble__card.alt .assistBubble__card--submit button:focus:before {
    display: none;
}

/* -------------------------------
   LIVE CHAT (inside search)
   ------------------------------- */
#assistBubble div.bcText {
    background: none;
    display: block;
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 40px auto 10px;
    width: 190px;
    height: auto;
    min-height: 24px;
    color: #fff;
}

#assistBubble div.bcText a div:before {
    color: #fff;
    margin-right: 5px;
    display: inline;
}

#assistBubble div.bcText a div span {
    font-family: "Open Sans", Arial;
    padding-left: 10px;
    color: #fff;
}

#assistBubble div.bcText a div .fa {
    color: #fff;
}

#assistBubble div.bcText a div {
    border-bottom: none;
}

/* Keyframes */
@-webkit-keyframes buttonFadeInUp {
    0% {
        bottom: 30px;
        opacity: 0;
    }
}

@keyframes buttonFadeInUp {
    0% {
        bottom: 30px;
        opacity: 0;
    }
}

@media only screen and (max-width: 1023px) {
    #assistBubble {
        display: none;
    }
}