/*Animation Styles
**********************/
@keyframes slideUpIn {
    0% {
        transform: rotate(270deg);
        transform: translate3d(200%, 0, 0);
        visibility: visible; 
    }
    50% {
        transform: translate3d(200%, 0, 0);
        visibility: visible; 
    }
    100% {
        transform: translate3d( 0, 0, 0);
    }
}

@-webkit-keyframes slideIn {
    from {bottom: -300px; opacity: 0} 
    to {bottom: 155px; opacity: 1}
}

@keyframes slideIn {
    from {bottom: -300px; opacity: 0}
    to {bottom: 155px; opacity: 1}
}

@-webkit-keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
}

@keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
}
  
  
.slideUpIn {
animation: 3s slideUpIn;
}
  
/* Chat Button Styles
**********************/
.chat-button {
    position: fixed;
    bottom: 85px;
    right: 40.5px;
    z-index: 100;
    text-align: center;
    font-size: .8rem;
    background-color: #00c875;
    border-radius: 100%;
    padding: .7rem;
    transition-duration: .5s;
    cursor: pointer; 
}

.chat-button:hover {
    background-color: rgba(13,13,13, .8);
}

/* Chat Modal Styles
*********************/
/* The Modal (background) */
.chat-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    -webkit-animation-name: fadeIn; /* Fade in the background */
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s;
}

.modal-header h3 {
    color: white;
}

/* Modal Content */
.modal-content {
    position: fixed;
    bottom: 155px;
    right: 40px;
    width: 505px;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s;
    color: white;
    border-radius: 10px;
    padding: 1rem;
}

@media (max-height: 659px) {
    .modal-content {
        bottom: 10px;
    }
}

.modal-body {
    padding-top: 0 !important;
}

.modal-cta {
    background: lightcyan;
    padding: .5rem;
    border-radius: 10px;
    border: 1px solid white;
    font-weight: bold;
}

.modal-cta a {
    color: white!important;
}

.modal-cta:hover {
    opacity: .5;
    transition: .3s;
    cursor: pointer;
}

.chat-copy {
    padding-top: 1rem !important;
    padding-bottom: 0 !important;
}

/* The Close Button */
.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 0;
    right: 15px;
    
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}


/* Back to Top Button Styles
*****************************/
.back-top {
    position: fixed;
    bottom: 20px;
    right: 40px;
    z-index: 100;
    text-align: center;
    font-size: .8rem;
    background-color: rgba(13,13,13,0.6);
    border-radius: 100%;
    padding: .6rem 1rem;
    display: none;
    cursor: pointer;
}

.back-top:hover {
    background-color: rgba(13,13,13, .8);
}

.back-top em {
    font-size: 2rem !important;
    color: white;
    font-weight: bold;
}


/* Media Queries for Mobile
*****************************/
@media (max-width: 750px) {
    .back-top {
        display: none !important;
    }

    .chat-button {
        display: none !important;
    }

}