.helpdesk .closed-button {
    position: fixed;
    width: 100px;
    height: 100px;
    bottom: 30px;
    right: 30px;
    z-index: 10;
    line-height: 35px;
}

.helpdesk .closed-button img {
    /*box-shadow: 2px 10px 40px #999;*/
    /* transform: translateX(300px); */
    -webkit-filter: drop-shadow(5px 5px 5px #D2D2D2);
    filter: drop-shadow(5px 5px 5px #D2D2D2);
    -webkit-transition: 0.3s all ease-out 0.1s, transform 0.2s ease-in;
    -moz-transition: 0.3s all ease-out 0.1s, transform 0.2s ease-in;
}

a.closed-button:hover {
    color: #444;
}

.helpdesk .closed-button i {
    margin-top: 9px;
    font-size: 3rem;
}

.helpdesk .messages-container {
    position: fixed;
    width: 40%;
    height: calc(100% - 15px);
    max-height: 500px;
    z-index: 99999;
    overflow: hidden;
    /*box-shadow: 0 5px 30px rgba(0, 0, 0, .2);*/
    /* background: rgba(0, 0, 0, .5);*/
    background: #fff;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    display: flex;
    flex-direction: column;
    bottom: 80px;
    right: 10px;
    box-shadow: 3px 3px 10px #999;
    border: 1px solid #444444;
}

.helpdesk .header {
    background-color: #444444;
    padding: 20px 50px 20px 20px;
    color: #fff;
}

.helpdesk .helpdesk-body {
    padding: 30px;
    overflow: auto;
    height: 75%;
}

.helpdesk a.close-helpdesk {
    position: absolute;
    color: #fff;
    font-size: 3rem;
    top: 13px;
    right: 13px;
}

.helpdesk .message {
    color: white;
    padding: 5px 16px;
    line-height: 26px;
    border-radius: 7px;
    margin-bottom: 15px;
    position: relative;
}

.helpdesk .message:after {
    bottom: 100%;
    left: 93%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #86BB71;
    border-width: 10px;
    margin-left: -10px;
}

.helpdesk .left-message:after {
    border-bottom-color: #0D8082;
    left: 97%;
}

.helpdesk .right-message:after {
    border-bottom-color: #E9E9F7;
    left: 3%;
}

.helpdesk .message.right-message a{
    color: #0D8082;
}

.helpdesk .message-data {
    margin-bottom: 10px;
}

.helpdesk .message-box {
    width: 85%;
    background: #fff;
    padding: 10px;
    position: absolute;
    border-radius: 10px;
    height: 40px;
    border: 1px solid #ccc;
    bottom: 10px;
    margin: auto;
    margin-left: 30px;
}
.helpdesk .message a {
    color: #fff;
    text-decoration: underline;
}

.helpdesk .attachment{
    position: absolute;
    width: 10%;
    height: 40px;
    bottom: 5px;
    right: 0;
    line-height: 40px;
    text-align: center;
}

.helpdesk .attachment i{
    font-size: 18px;
    cursor: pointer;
    color: #0D8082;
}

.helpdesk .message-box .message-input {
    background: none;
    border: none;
    outline: none !important;
    resize: none;
    color: rgba(255, 255, 255, .8);
    /*height: 24px;*/
    margin: 0;
    padding-right: 20px;
    width: 90%;
    color: #444;
}

.helpdesk .message-box .message-submit {
    position: absolute;
    z-index: 1;
    top: 9px;
    right: 10px;
    color: #0D8082;
    border: none;
    /* background: #c29d5f; */
    background: #fff;
    font-size: 12px;
    text-transform: uppercase;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 5px;
    outline: none !important;
    transition: background .2s ease;
    cursor: pointer;
}

.helpdesk .badge-notify {
    background-color:#f890e7;
    position: absolute;
    top: 6px;
    right: 0px;
    padding: 7px;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    line-height: 16px;
    font-size: 20px;
    font-weight: bold;
    display: inline-block;
    color: #fff;
    z-index: 99;
}

/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/
/*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width: 1200px) {
    .helpdesk .messages-container {
        width: 50%;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width: 992px) {
    .helpdesk .messages-container {
        width: 60%;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {
    .helpdesk .closed-button {
        bottom: 10px;
        right: 10px;
    }

    .helpdesk .messages-container {
        width: 100%;
        bottom: 80px;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
    .helpdesk .messages-container {
        width: 100%;
        bottom: 80px;
    }
}

/* Custom, iPhone Retina */
@media only screen and (max-width: 320px) {
    .helpdesk .messages-container {
        width: 100%;
        bottom: 80px;
    }
}
