@media(min-width:451px) {
    #client_chat {
        right: 30px;
    }
}

@media(max-width:450px) {
    #client_chat {
        right: 0px;
    }
}

#chat_messages .operator_typing span,
#chat_messages .queue span,
#client_chat,
#client_content {
    display: none
}

#client_chat {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    width: 360px;
    position: fixed;
    bottom: 90px;
    right: 76px;
    z-index: 9999
}
#client_chat.ecart_left {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    width: 360px;
    position: fixed;
    bottom: 90px;
    right: 0px !important;
    left: 76px !important;
    z-index: 9999
}

#client_chat a {
    color: #08C;
    text-decoration: none
}

#client_chat a:focus,
#client_chat a:hover {
    color: #005580;
    text-decoration: underline
}

#client_chat p {
    margin: 0 0 10px
}

#client_testata {
    padding: 10px;
    border-radius: 5px 5px 0 0;
    color: #FFF;
    cursor: pointer
}

#client_content {
    height: 400px;
    border-width: 0 1px;
    border-style: solid;
    border-color: #BEBEBE;
    padding: 10px;
    overflow-y: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06), 0 3px 32px rgba(0, 0, 0, 0.16);
}

#client_content .loading {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99
}

#client_content .loading_opacity {
    opacity: .5;
    filter: alpha(opacity=50);
    background-color: #FFF;
    width: 100%;
    height: 100%
}

#chat_messages {
    overflow: auto
}

#chat_messages .queue {
    font-size: 10px;
    height: 24px
}

#chat_messages .messages {
    font-size: .85em;
    background-color: #FFF
}

#chat_messages .message_content {
    height: 200px;
    overflow-y: auto;
    word-wrap: break-word;
    border: 1px solid #CCC;
    padding: 2px
}

#chat_messages #message {
    width: 98%;
    margin-left: 1%
}

#chat_messages #message:disabled {
    background-color: #f2f2f2
}

#chat_messages .message_row {
    padding: 0 2px
}

#chat_messages .message_row .time {
    float: right;
    color: #7D7D7D;
    font-size: 11px
}

#chat_messages .message_row .username {
    font-weight: 700
}

#chat_messages .chat_options {
    height: 24px
}

#chat_messages .chat_options i {
    padding: 3px 5px 3px 0;
    font-size: 1em
}

#chat_messages .operator_typing {
    height: 24px;
    font-size: .75em;
    text-align: right
}

#client_chat form label.error {
    color: #B94A48
}

#client_chat .musichetta {
    font-size: 17px
}

#client_chat form {
    margin: 0 0 20px
}

#client_chat button,
#client_chat input,
#client_chat label,
#client_chat select,
#client_chat textarea {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px
}

#client_chat label {
    display: block;
    margin-bottom: 0
}

#client_chat input[type=text],
#client_chat select,
#client_chat textarea {
    padding: 4px 6px;
    margin-bottom: 10px;
    color: #555;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-color: #FFF;
    border: 1px solid #CCC
}

#client_chat textarea {
    height: auto;
    resize: none
}

#client_chat input[type=text]:focus,
#client_chat input[type=text]:hover,
#client_chat select:focus,
#client_chat select:hover,
#client_chat textarea:focus,
#client_chat textarea:hover {
    outline: 0;
    box-shadow: inset 2px 2px 2px rgba(0, 0, 0, .075)
}

#client_chat input[type=submit],
#client_chat input[type=button] {
    width: auto
}

#client_chat select {
    height: 30px;
    line-height: 30px
}

.label_vuoto {
    color: red;
    font-weight: 700 !important
}

.field_vuoto {
    border: 1px solid #ea0f0f !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(234, 15, 15, .6)
}

.field_vuoto:focus,
.field_vuoto:hover {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(234, 15, 15, .6) !important
}

#client_chat .btn_default {
    color: #FFF;
    padding: 4px 12px;
    cursor: pointer;
    background-color: #006DCC;
    border: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    opacity: .85;
    filter: alpha(opacity=85)
}

#client_chat .btn_default:active,
#client_chat .btn_default:focus,
#client_chat .btn_default:hover {
    opacity: 1;
    filter: alpha(opacity=100);
    outline: 0;
    box-shadow: inset 3px 3px 3px rgba(0, 0, 0, .085)
}

#client_chat .close {
    float: right;
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    color: #000;
    text-shadow: 0 1px 0 #FFF;
    opacity: .2;
    filter: alpha(opacity=20)
}

#client_chat .close:focus,
#client_chat .close:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: .4;
    filter: alpha(opacity=40)
}

#client_chat .clearfix:after,
#client_chat .clearfix:before {
    display: table;
    line-height: 0;
    content: ""
}

#client_chat .clearfix:after {
    clear: both
}

#client_chat .pull_right {
    float: right
}

#client_chat .pull_left {
    float: left
}

.sb-chat-btn {
    position: fixed;
    visibility: visible;
    bottom: 20px;
    right: 62px;
    left: auto;
    width: 60px;
    height: 60px;
    border-radius: 50% !important;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 3px 32px rgba(0, 0, 0, 0.16);
    transition: all 0.4s;
    background-color: #028be5;
    z-index: 999995;
}

#client_chat.ecart_left .sb-chat-btn {
    right: auto;
    left: 62px;
}
.sb-chat-btn .sb-icon {
    opacity: 1;
}
.sb-active .sb-chat-btn .sb-icon {
    opacity: 0;
}
.sb-chat-btn .sb-close {
    opacity: 0;
    transform: rotate(90deg);
}
.sb-active .sb-chat-btn .sb-close {
    transform: rotate(0deg);
    opacity: 1;
}
.sb-chat-btn .ecart_support_chat_menu{
    max-width: 100%;
    /* width: 60px;
    height: 60px; */
    position: absolute;
    left: 20px;
    top: 17px;
    margin: 0;
    min-height: 0 !important;
    min-width: 0 !important;
    z-index: 0;
    transition: all 0.4s;
    font-size: 22px;
}