/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/
.btn-theme{
    padding: 10px 40px;
    border-radius: 50px;
    background: #FFC107;
    color: #fff;
    font-size: 13px;
    margin: 10px 0;
    text-transform: uppercase;
}
.btn-theme2{
    background: #01a479;
    color: #fff;
    font-size: 13px;
    padding: 10px;
}
.hero_single .card {
    position: absolute;
    width: 90%;
    left: 5%;
    bottom: 0;
    background: transparent;
    border: 0;
}
.hero_single .card-header {
    background: rgb(255 255 255 / 80%);
    color: #1d2b34;
    border: 0;
    border-radius: 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 5px solid #FFC107;
}
.hero_single .card-body {
    min-height: 80px;
    background: #ffffff;
}
.hero_single .form-control{
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    border-bottom: 3px solid #504f4f;
}

.chat-box {
    position: relative;
    width: 100%;
    max-height: 600px;
    /*background-image: url(../img/bg.png);*/
    background-color: #ffffff;
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
    height: calc(100vh - 20px);
}
.compose{
    text-align:right
}

.chat-conversation-box-scroll {
    position: relative;
    margin: auto;
    width: 100%;
    height: calc(100% - 50px);
    overflow-x: hidden !important;
    overflow-y: scroll!important;
    overflow-anchor: none;
    -ms-overflow-style: none;
    touch-action: auto;
    -ms-touch-action: auto;
    word-wrap: break-word;
}

.bubble {
    -moz-transition-timing-function: cubic-bezier(0.4, -0.04, 1, 1);
    -o-transition-timing-function: cubic-bezier(0.4, -0.04, 1, 1);
    -webkit-transition-timing-function: cubic-bezier(0.4, -0.04, 1, 1);
    transition-timing-function: cubic-bezier(0.4, -0.04, 1, 1);
}

.bubble {
    font-size: 14px;
    position: relative;
    clear: both;
    margin: 2px 5px;
    padding: 9px 18px;
    vertical-align: top;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 0px;
    word-break: break-word;
    max-width: 370px;
}

.bubble.me {
    width: 100%;
    color: #0aa57c;
    background-color: #ffffff;
    -webkit-align-self: flex-end;
    align-self: flex-end;
    -moz-animation-name: slideFromRight;
    -webkit-animation-name: slideFromRight;
    animation-name: slideFromRight;
    -webkit-box-shadow: 0px 2px 4px rgba(126,142,177,0.12);
    box-shadow: 0px 2px 4px rgba(126,142,177,0.12);
}

.bubble.me:nth-child(even){
    background-color:#dddddd;
}

.bubble.me span{
    display: block;
    font-size:10px;
    text-align: right;
    color: #7E6A6C;
}

.chat-footer{
    display: block;
    padding: 6px 10px;
    background: #fafafa;
    border-bottom-right-radius: 6px;
}

.chat-form {
    position: relative;
}

.chat-input i {
    position: absolute;
    color: #888ea8;
    font-size: 20px;
    left: 6px;
    top: 4px;
    fill: rgba(0, 23, 55, 0.08);
    overflow: hidden;
    vertical-align: middle;
}

.chat-input input {
    font-size: 16px;
    width: 100%;
    color: #3b3f5c;
    border: 0;
    outline: none;
    padding: 12px 16px 12px 43px;
    border: 1px dashed #888ea8;
    background: #fafafa;
}

.description{
    background: linear-gradient(#ffffff,#fefefe);
    box-shadow: 0px 1px 10px #577783;
    padding: 10px;
    display: block;
}

.profile ul li a{
    margin: 0 auto;
}

.survey-list ul li{
    display: inline-block;
    width: 23%;
    margin: 5px 5px;
}

.survey-list ul li img{
    max-width: 100%;
    border: 2px solid #92278f;
    border-radius: 6px;
}

.chat-box .header-shift{
    padding: 10px 0;
    text-align: center;
    color: #000;
    text-transform: uppercase;
    background: #ffffff;
    width: 100%;
    position: absolute;
    z-index: 1;
    font-size: 22px;
}
.card .card-header {
    border-bottom: 0;
}
.card .card-header h4 {
        font-size: 18px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 18px;
    text-transform: capitalize;
    position: relative;
}
.card .card-header h4:before {
        bottom: -12px;
    left: 0;
    width: 30px;
    height: 1px;
    content: "";
    position: absolute;
    background-color: #4527a4;
}
#c_shoutbox {
    position: fixed;
    left: -403px;
    top: 100px;
}

#c_shoutbox .chat-box .header-shift{
    width: 70%;
}

#c_shoutbox .header-shift {
    left: 285px;
    top: 50%;
    transform:rotate(90deg);
    cursor:pointer;
    z-index: 99999;	
}

#c_shoutbox:hover {
    left:0;
    transition:ease-in 0.3s
}

.mega-menu {
    width:400px;
}

.mega-menu li{
    width: 50%;
    float: left;
}

@media (max-width:767px){
    .mega-menu {
        width: 100%;
    }
    
    .mega-menu li {
        width: 100%;
        float: unset;
    }
    
    #c_shoutbox{
        width: 85%;
        left: -304px;
    }
    
    #c_shoutbox .header-shift {
        left: 217px;
    }
    
    .mm-menu.mm-offcanvas {
        z-index: 9;
    }
    .chat-box {
        max-height: 500px;
    }
    
    .hero_single .card {
        position: relative;
        left: 0;
        bottom: 0;
        margin: 0 auto;
    }
    
    .description {
        background: transparent;
        box-shadow: none;
        padding: 10px 0;
    }
    
    .survey-list ul li{
        width: 29%;
    }
    
    .survey-list h3{
        font-size: 1rem;
        line-height: 33px;
    }
}