/*------------------------------------------------------------------------
# AA Discord Chat
# ------------------------------------------------------------------------
# author    AA Extensions https://aaextensions.com
# Copyright (C) 2018 AA Extensions. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: https://aaextensions.com
-------------------------------------------------------------------------*/

/*------------------------------------------------------------------------
# Default Layout
# ------------------------------------------------------------------------*/

.aa-style-default{
    display: inline-block;
    position: fixed;
    letter-spacing: 0.1px;
    font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
    z-index: 9999;
}

/* Floating Panel Container */
.aa-style-default .aa-panel-common{
    display: none;
    margin-bottom: 5%;
    width: 300px;
    border-radius: 10px;
    box-shadow: 0px 3px 7px rgba(12, 12, 12, 0.18);
}

/* Floating Panel Header */
.aa-style-default .aa-panel-common .aa-default-header{
    padding: 15px 10px;
    border-radius: 8px;
    text-align: center;
}
.aa-style-default .aa-default-header img{
    padding: 5px;
    width: 30%;
    border: 2px solid #fff;
    border-radius: 100%;
    margin: 0 auto;
}
.aa-style-default .aa-default-header h2{
    padding-top: 5px;
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    border: none;
}
.aa-style-default .aa-default-header p{
    margin-bottom: 0;
    font-size: 13px;
}

/* Floating Panel Body */
.aa-style-default .aa-panel-common .aa-default-body{
    padding: 15px 10px 0;
    text-align: center;
}
.aa-style-default .aa-default-body p{
    margin-bottom: 0;
    font-size: 14px;
}

/* Floating Panel Footer */
.aa-style-default .aa-panel-common .aa-default-footer{
    padding: 25px 10px 30px;
    text-align: center;
}
.aa-style-default .aa-default-footer a{
    text-decoration: none;
    color: inherit;
    background:none;
    user-select: none;
    outline: none !important;
}

.aa-style-default .aa-default-footer a:hover{
    background:none;
    user-select: none;
    outline: none !important;
}

.aa-style-default .aa-default-footer .aa-default-btn-all{
    position: relative;
    margin: auto;
    padding: 9px 20px;
    transition: all 0.2s ease;
}
.aa-style-default .aa-default-footer .aa-default-btn-all:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    display: block;
    border-radius: 28px;
    transition: all 0.3s ease;
}
.aa-style-default .aa-default-footer .aa-default-btn-all span{
    position: relative;
    font-size: 13px;
    line-height: 18px;
    font-weight: 900;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    vertical-align: middle;
}
.aa-style-default .aa-default-footer .aa-default-btn-all svg{
    position: relative;
    top: 0;
    margin-left: 10px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #111;
    stroke-width: 2;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}
.aa-style-default .aa-default-footer .aa-default-btn-all:hover:before{
    width: 100%;
}
.aa-style-default .aa-default-footer .aa-default-btn-all:hover svg{
    transform: translateX(0);
}
.aa-style-default .aa-default-footer .aa-default-btn-all:active{
    transform: scale(0.96);
}

/* Right Bottom Floating Button */
.aa-style-default .aa-chat-btn-common{
    width: 50px;
    height: 50px;
    border-radius: 100%;
    border: 1px solid #fff;
    box-shadow: 0 0 10px rgba(12, 12, 12, 0.3);
}
.aa-style-default .aa-chat-btn-common:hover{
    box-shadow: 0px 0px 10px rgba(12, 12, 12, 0.5);
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.aa-style-default .aa-chat-btn-common i{
    display: table;
    height: 100%;
    width: 100%;
    margin-right: 0px;
    font-size: 25px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
}

/* Floating Button Forward Rotation */
.rotateForward{
    animation-name: rotateF;
    animation-duration: 0.65s;
    animation-iteration-count: 1;
}

@keyframes rotateF{
    from{
        transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
}

/* Floating Button Backward Rotation */
.rotateBackward{
    animation-name: rotateB;
    animation-duration: 0.65s;
    animation-iteration-count: 1;
}

@keyframes rotateB{
    from{
        transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
    to{
        transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }
}

/* Media Css for Smaller Device */
@media(max-width: 576px){

    .aa-style-default .aa-panel-common{
        width: 290px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px){

    .aa-style-default .aa-default-footer .aa-default-btn-all svg{
        stroke: #fff;
    }
    .aa-style-default .aa-default-footer .aa-default-btn-all:before{
        width: 100%;
    }
}


/*------------------------------------------------------------------------
# Modern Layout
# ------------------------------------------------------------------------*/

.aa-style-modern{
    display: inline-block;
    position: fixed;
    letter-spacing: 0.1px;
    font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
    z-index: 9999;
}

/* Floating Panel Container */
.aa-style-modern .aa-panel-common{
    display: none;
    margin-bottom: 5%;
    width: 300px;
    border-radius: 10px;
    box-shadow: 0px 3px 7px rgba(12, 12, 12, 0.18);
}

/* Floating Panel Header */
.aa-style-modern .aa-panel-common .aa-modern-header{
    padding: 15px 10px;
    border-radius: 8px;
    text-align: center;
}

.aa-style-modern .aa-modern-header img{
    position: absolute;
    margin-top: -16%;
    margin-left: -13%;
    padding: 2px;
    width: 25%;
    border-radius: 100%;
    display: inline-block;
}

.aa-style-modern .aa-modern-header h2{
    padding-top: 35px;
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    border: none;
}

.aa-style-modern .aa-modern-header p{
    margin-bottom: 0;
    font-size: 13px;
}

/* Floating Panel Body */
.aa-style-modern .aa-panel-common .aa-modern-body{
    padding: 15px 10px 0;
    text-align: center;
}
.aa-style-modern .aa-modern-body p{
    margin-bottom: 0;
    font-size: 14px;
}

/* Floating Panel Footer */
.aa-style-modern .aa-panel-common .aa-modern-footer{
    padding: 25px 10px 30px;
    text-align: center;
}
.aa-style-modern .aa-modern-footer a{
    text-decoration: none;
    color: inherit;
    background:none;
    user-select: none;
    outline: none !important;
}

.aa-style-modern .aa-modern-footer a:hover{
    border: none;
    user-select: none;
    outline: none !important;
}

.aa-style-modern .aa-modern-footer .aa-modern-btn-all{
    position: relative;
    margin: auto;
    padding: 10px 30px;
    border-radius: 28px;
    font-size: 13px;
    font-weight: 700;
}

.aa-style-modern .aa-modern-footer .aa-modern-btn-all:hover {
    box-shadow: 0px 0px 10px #999;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.aa-style-modern .aa-modern-footer .aa-modern-btn-all:active{
    transform: scale(0.96);
}

/* Right Bottom Floating Button */
.aa-style-modern .aa-chat-btn-common{
    width: 50px;
    height: 50px;
    border-radius: 100%;
    border: 1px solid #fff;
    box-shadow: 0 0 10px rgba(12, 12, 12, 0.3);
}
.aa-style-modern .aa-chat-btn-common:hover{
    box-shadow: 0px 0px 10px rgba(12, 12, 12, 0.5);
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.aa-style-modern .aa-chat-btn-common i{
    display: table;
    height: 100%;
    width: 100%;
    margin-right: 0px;
    font-size: 25px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
}

/* Floating Button Forward Rotation */
.rotateForward{
    animation-name: rotateF;
    animation-duration: 0.65s;
    animation-iteration-count: 1;
}

@keyframes rotateF{
    from{
        transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
}

/* Floating Button Backward Rotation */
.rotateBackward{
    animation-name: rotateB;
    animation-duration: 0.65s;
    animation-iteration-count: 1;
}

@keyframes rotateB{
    from{
        transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
    to{
        transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }
}

/* Media Css for Smaller Device */
@media(max-width: 576px){

    .aa-style-modern .aa-panel-common{
        width: 290px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px){

}


/*------------------------------------------------------------------------
# Basic Layout
# ------------------------------------------------------------------------*/

.aa-style-basic{
    display: inline-block;
    position: fixed;
    letter-spacing: 0.1px;
    font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
    z-index: 9999;
}

/* Floating Panel Container */
.aa-style-basic .aa-panel-common{
    display: none;
    margin-bottom: 5%;
    width: 300px;
    border-radius: 10px;
    box-shadow: 0px 3px 7px rgba(12, 12, 12, 0.18);
}

/* Floating Panel Header */
.aa-style-basic .aa-panel-common .aa-basic-header{
    display: flex;
    padding: 15px 20px;
    text-align: center;
    border-radius: 7px 7px 0 0;
}

.aa-style-basic .aa-basic-header .aa-basic-img-cont{
    position: relative;
    padding: 3px;
    margin-bottom: 4px;
    height: 52px;
    width: 52px;
    border: 2px solid #fff;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 200ms ease-in-out;
}

.aa-style-basic .aa-basic-img-cont .aa-basic-user-img{
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: 100%;
    border-radius: 50%;
}


.aa-style-basic .aa-basic-header .aa-basic-user-info{
    margin-left: 15px;
    text-align: left;
}

.aa-style-basic .aa-basic-user-info strong{
    font-size: 15px;
    line-height: 20px;
}

.aa-style-basic .aa-basic-user-info p{
    margin-bottom: 0;
    font-size: 12px;
    line-height: 20px;
}


/* Floating Panel Body */
.aa-style-basic .aa-basic-body{
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 16px 20px 16px 10px;
    background-color: rgb(230, 221, 212);
}

.aa-style-basic .aa-basic-body::before{
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0.08;
    z-index: 0;
    background-image: url(https://elfsight.com/assets/chats/patterns/whatsapp.png);
}

/* CSS Chat Bubble */

.aa-style-basic .aa-basic-content .aa-basic-bubble{
    background-color: #fff;
}

.aa-style-basic .aa-basic-content .aa-basic-bubble{
    display: inline-block;
    position: relative;
    padding: 7px 14px 8px;
    margin-top: 0;
    margin-left: 15px;
    width: 200px;
    height: auto;
    border-radius: 0 8px 8px 8px;
    transition: 0.3s ease all;
}

.aa-style-basic .aa-basic-content .tri-right.border.left-top:before{
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: -40px;
    right: auto;
    top: -8px;
    bottom: auto;
    border: 32px solid;
    border-color: #666 transparent transparent transparent;
}

.aa-style-basic .aa-basic-content .tri-right.left-top:after{
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: -20px;
    right: auto;
    top: 0px;
    bottom: auto;
    border: 22px solid;
    border-color: #fff transparent transparent transparent;
}

.aa-style-basic .aa-basic-content .aa-basic-bubble span {
    color: rgba(0,0,0,0.4);
}

.aa-style-basic .aa-basic-content .aa-basic-bubble span{
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
}

.aa-style-basic .aa-basic-content .aa-basic-bubble p{
    padding-top: 10px;
    padding-left: 10px;
    padding-bottom: 5px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
}



/* Floating Panel Footer */
.aa-style-basic .aa-panel-common .aa-basic-footer{
    padding: 25px 10px 30px;
    text-align: center;
}

.aa-style-basic .aa-basic-footer a{
    text-decoration: none;
    color: #fff;
    background:none;
    user-select: none;
    outline: none !important;
}



.aa-style-basic .aa-basic-footer .aa-basic-list{
    display: flex;
    position: relative;
    padding: 8px 0;
    margin: 20px 20px;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    line-height: 20px;
    border: none;
    border-radius: 18px;
    cursor: pointer;
    overflow: hidden;
}

.aa-style-basic .aa-basic-footer .aa-basic-list:hover{
    box-shadow: 0 0 10px rgba(12, 12, 12, 0.3);
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.aa-style-basic .aa-basic-list p{
    margin-bottom: 0;
    margin-left: 8px;
    margin-right: 8px;
    font-size: 15px;
    display: inline-block;
}

.aa-style-basic.aa-basic-list i{
    font-size: 20px;
}

/* Right Bottom Floating Button */
.aa-style-basic .aa-chat-btn-common{
    width: 50px;
    height: 50px;
    border-radius: 100%;
    border: 1px solid #fff;
    box-shadow: 0 0 10px rgba(12, 12, 12, 0.3);
}
.aa-style-basic .aa-chat-btn-common:hover{
    box-shadow: 0px 0px 10px rgba(12, 12, 12, 0.5);
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.aa-style-basic .aa-chat-btn-common i{
    display: table;
    height: 100%;
    width: 100%;
    margin-right: 0px;
    font-size: 25px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
}




/* Floating Button Forward Rotation */
.rotateForward{
    animation-name: rotateF;
    animation-duration: 0.65s;
    animation-iteration-count: 1;
}

@keyframes rotateF{
    from{
        transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
}

/* Floating Button Backward Rotation */
.rotateBackward{
    animation-name: rotateB;
    animation-duration: 0.65s;
    animation-iteration-count: 1;
}

@keyframes rotateB{
    from{
        transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
    to{
        transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }
}

/* Media Css for Smaller Device */
@media(max-width: 576px){

    .aa-style-basic .aa-panel-common{
        width: 290px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px){

}

/* GDPR Settings */

.aa-common-gdpr-rules {
    text-align: left;
    padding: 8px 10px 10px 10px;
    user-select: none;
    outline: none !important;
    z-index: 9999999999999;
}

.aa-common-gdpr-rules a,.aa-common-gdpr-rules a:hover{
    text-decoration: none;
    background: none;
    color: #e74c3c;
}

.aa-common-gdpr-rules input[type="checkbox"] {
    vertical-align: middle;
    margin-right: 4px;
    padding: 0;
}

@-webkit-keyframes gdpr-shake {
    0% {
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
    }

    25% {
        -webkit-transform: translateX(-8px);
        transform: translateX(-8px);
    }

    50% {
        -webkit-transform: translateX(8px);
        transform: translateX(8px);
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

}

@keyframes gdpr-shake {
    0% {
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
    }

    25% {
        -webkit-transform: translateX(-8px);
        transform: translateX(-8px);
    }

    50% {
        -webkit-transform: translateX(8px);
        transform: translateX(8px);
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

}

.gdpr-shake-animation {
    animation: gdpr-shake 300ms;
}

