@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.hestia-chat {
    position: fixed;
    right: 0;
    bottom: 35px;
    font-family: "Roboto-Medium", sans-serif;
    z-index: 10000;
}

.hestia-chat__component {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 0;
    width: 380px;
    margin-bottom: 15px;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.hestia-chat__component.lock::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hestia-chat__component.lock::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 25px;
    height: 25px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 3px solid #a5a5a5;
    border-top-color: #CD1734;
    animation: spinner .6s linear infinite;
    z-index: 2;
}

.hestia-chat__trigger {
    display: none;
    width: 75px;
    padding: 10px 0;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
    background: #CD1734;
    border: none;
}

.hestia-chat__trigger span {
    display: block;
    margin-top: 5px;
    text-transform: uppercase;
}

.hestia-chat__trigger[disabled] {
    opacity: 0.5;
    cursor: default;
}

.hestia-chat__trigger img {
    display: inline-block;
    vertical-align: middle;
}

.hestia-chat__box {
    position: relative;
    display: block;
    width: 100%;
    padding: 30px;
    background: #ffffff;

}

.hestia-chat__box-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 14px;
    cursor: pointer;
    background: transparent;
}

.hestia-chat__box-content {
    display: flex;
    flex-direction: row;
    margin: -5px;
}

.hestia-chat__avatar, .hestia-chat__text {
    padding: 5px;
}

.hestia-chat__text {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.3;
}

.hestia-chat__text p {
    margin: 0 0 5px 0;
}

.hestia-chat__text strong {
    font-weight: 600;
}

.hestia-chat__navigation {
    margin-top: 15px;
}

.hestia-chat__navigation button {
    width: 100%;
    padding: 10px 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    color: #CD1734;
    letter-spacing: 1px;
    background: transparent;
    border: 2px #CD1734 solid;
    cursor: pointer;
    transition: all 100ms linear;
}

.hestia-chat__navigation button:hover {
    color: #ffffff;
    background: #CD1734;
    border-color: #CD1734;
}

.hestia-chat__header {
    position: relative;
    padding: 7px 30px 7px 7px;
    color: #ffffff;
    background: #585857;
}

.hestia-chat__header img, .hestia-chat__header p {
    display: inline-block;
    vertical-align: middle;
}

.hestia-chat__header img {
    width: 20px;
}

.hestia-chat__header p {
    padding: 0 5px;
    text-transform: uppercase;
}

.hestia-chat__header-title {
    text-transform: none;
}

.hestia-chat__header-close {
    position: absolute;
    top: 50%;
    right: 7px;
    font-size: 14px;
    cursor: pointer;
    color: #ffffff;
    background: transparent;
    transform: translateY(-50%);
}

.hestia-chat__form {
    display: block;
    width: 100%;
    background: #ffffff;
}

.hestia-chat__form-content {
    padding: 30px;
}

.hestia-chat__form-inputs {
    margin-bottom: 15px;
}

.hestia-chat__form-inputs .form-information {
    font-family: "Roboto-Light", sans-serif;
    font-size: 12px;
    line-height: 1.6;
}

.hestia-chat__form-inputs .form-control {
    width: 100%;
    padding: 15px;
    font-family: "Roboto-Regular", sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #757575;
    letter-spacing: .05em;
    border: 1px #dddddd solid;
    border-bottom: 2px #CD1734 solid;
}

.hestia-chat__form-inputs textarea {
    font-family: "Roboto-Regular", sans-serif;
    font-size: 12px;width: 100%;
    height: 75px;
    resize: none;
}

.hestia-chat__form-inputs .form-control[type="checkbox"] {
    width: auto;
    height: auto;
    padding: 5px;
    background: #ffffff;
    border: 1px #dddddd solid;
}

.hestia-chat__form-inputs .form-control[type="radio"] {
    width: auto;
    height: auto;
    padding: 5px;
    background: #ffffff;
    border: 1px #dddddd solid;
    border-radius: 50%;
}

.hestia-chat__form-inputs .form-input--checkbox {
    margin: 3px 0;
    padding-top: 5px;
    padding-bottom: 5px;
}

.hestia-chat__form-inputs .form-input--radio {
    margin: 3px 0;
    padding-top: 5px;
    padding-bottom: 5px;
}

.hestia-chat__confirmation {
    display: block;
    width: 100%;
    background: #ffffff;
}

.hestia-chat__confirmation-content {
    padding: 100px 20px;
    text-align: center;
}

.hestia-chat__confirmation-title {
    font-size: 16px;
    font-weight: 300;
}

.hestia-chat__confirmation-buttons {
    display: table;
    table-layout: fixed;
    width: 100%;
    margin-top: 10px;
}

.hestia-chat__confirmation-buttons-item {
    display: table-cell;
    vertical-align: middle;
    padding: 10px 20px;
}

.hestia-chat__button {
    display: block;
    width: 100%;
    margin: 0;
    padding: 15px 30px;
    font-size: 14px;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
    cursor: pointer;
    background: #CD1734;
    border: 2px #CD1734 solid;
}

.hestia-chat__button:hover {
    color: #ffffff;
    background: #a0152c;
}

.hestia-chat__button--outline {
    color: #CD1734;
    background: #ffffff;
}

.hestia-chat__messenger {
    display: block;
    width: 100%;
    background: #ffffff;
}

.hestia-chat__messenger-conversation {
    padding: 15px 25px;
    height: 250px;
    overflow: auto;
}

.hestia-chat__messenger-input {
    padding: 15px 25px;
    border-top: 1px rgba(0, 0, 0, .1) solid;
}

.hestia-chat__messenger-input-area {
    width: 100%;
    height: 60px;
    padding: 5px 10px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    border: 1px rgba(0, 0, 0, .1) solid;
    border-bottom: 2px #CD1734 solid;
    resize: none;
    outline: none;
}

.hestia-message {
    display: block;
    margin: 10px 0;
}

.hestia-message__content {
    display: inline-block;
    max-width: 240px;
    text-align: left;
}

.hestia-message__info {
    display: inline-block;
    margin-bottom: 5px;
    color: #585857;
}

.hestia-message__text {
    position: relative;
    margin: 0;
    padding: 10px;
    font-size: 12px;
    color: #393939;
    line-height: 1.4;
    white-space: pre-line;
    background: #f1f1f1;
    border: 1px rgba(0, 0, 0, .1) solid;
    border-radius: 6px;
}

.hestia-message__text::before {
    content: "";
    position: absolute;
    margin: -5px -5px 0 0;
    top: 50%;
    right: 100%;
    width: 10px;
    height: 10px;
    background: #f1f1f1;
    border-top: 1px rgba(0, 0, 0, .1) solid;
    border-bottom: none;
    border-left: 1px rgba(0, 0, 0, .1) solid;
    border-right: none;
    transform: rotate(-45deg)
}

.hestia-message--visitor {
    text-align: right;
}

.hestia-message--visitor .hestia-message__text {
    border-color: #CD1734;
}

.hestia-message--visitor .hestia-message__text::before {
    left: 100%;
    right: auto;
    margin: -5px 0 0 -5px;
    border-top: none;
    border-bottom: 1px #CD1734 solid;;
    border-left: none;
    border-right: 1px #CD1734 solid;
}

.form-group.invalid .form-control,
.form-group.invalid textarea {
    border-color: #CD1734;
}

.form-group--checkboxes.invalid .form-group__label {
    color: #CD1734;
}

.form-group--radios.invalid .form-group__label {
    color: #CD1734;
}

.rating-button {
    display: inline-block;
    vertical-align: middle;
    margin: 3px;
    font-size: 20px;
    color: #a5a5a5;
    cursor: pointer;
    background: transparent;
    outline: none;
}

.rating-button[data-raitng="good"]:hover {
    color: darkgreen;
}

.rating-button[data-raitng="bad"]:hover {
    color: darkred;
}

.rating-button[data-raitng="good"].active {
    color: green;
}

.rating-button[data-raitng="bad"].active {
    color: red;
}

.hestia-chatbot {
    position: fixed;
    right: 10px;
    bottom: 85px;
    font-family: "Roboto-Medium", sans-serif;
    z-index: 10000;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    font-size:10px;
}

.hestia-chatbot__trigger {
    display: block;
    font-size: 3em;
    border-radius: 50%;
    padding: 15px;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
    background: #CD1734;
    border: none;
}

.hestia-chatbot__wrapper {
    width: 30px;
    height: 30px;
}

.hestia-chatbot__trigger__clicked {
    font-size: 2em;
    color: #ffffff;
    background: #CD1734;
}

.hestia-chatbot__trigger:hover {
    color: #ffffff;
    background: #CD1734;
}

.hestia-chatbot__icon {
    position: relative;
    top: calc(50% - 15px)
}

.hestia-chatbot__trigger__clicked .hestia-chatbot__icon {
    position: relative;
    top: calc(50% - 10px)
}

.contrastVersion .hestia-chatbot__trigger {
    background: #FFFF00;
    color: #000000;
}