.ol-widget-hide {display: none !important}
.ol-widget-clearfix:after {content: ""; display: block; clear: both}

.ol-widget-container ::-webkit-scrollbar {width: 13px;height: 13px}
.ol-widget-container ::-webkit-scrollbar-track {background: transparent}
.ol-widget-container ::-webkit-scrollbar-thumb {border: 5px solid transparent;box-shadow: inset 0 0 3px 3px #CFD8DC}
.ol-widget-container ::-webkit-scrollbar-thumb:hover {border: 4px solid transparent;box-shadow: inset 0 0 5px 5px #CFD8DC}

.ol-widget-draghandle {
  cursor: -webkit-grabbing;
  cursor: grabbing;
  -moz-user-select: none;
  -khtml-user-select: none;
  user-select: none;
}

.ol-widget-placeholder:empty {
  /* padding-bottom: 0; */
}
.ol-widget-placeholder:empty:before {
  content: attr(data-placeholder);
  color: #6B6B6B;
  /* display: block; */
  /* padding-bottom: 15px; */
}

.ol-widget-label:empty:before {
  content: attr(data-ol-label);
  color: #B0BEC5;
  display: block;
}

/* Edge */
@supports (-ms-ime-align:auto) {
  .ol-widget-placeholder:empty:focus:before,
  .ol-widget-label:empty:focus:before {
    content: '';
  }
}

/* IE10+ */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .ol-widget-placeholder:empty:focus:before,
  .ol-widget-label:empty:focus:before {
    content: '';
  }
}

.ol-widget-social-balls-wrapper {
  position: fixed;
  bottom: 0;
  z-index: 2147483647;
  right: 18px;
  margin-bottom: 15px;
}

.ol-widget-social-balls-wrapper[data-ol-position="bottom left"] {
  left: 18px;
  right: auto;
}

.ol-widget-social-balls-links {
  width: 45px;
  left: 50%;
  position: relative;
  margin-left: -22px;
}

.ol-widget-social-balls-links a.ol-widget-link {
  width: 45px;
  height: 45px;
  display: block;
  margin: 0 0 5px;
}

.ol-widget-social-balls-close {
  width: 60px;
  height: 60px;
  background-color: #fff;
  box-shadow: 0px 0px 20px rgba(55, 71, 79, 0.2);
  border-radius: 50%;
  margin-top: 7px;
  cursor: pointer;
}

.ol-widget-chat-icon {
  z-index: 2147483648;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  color: #F7F9F9;
  box-shadow: 0px 0px 20px rgba(55, 71, 79, 0.2);
  background: #37474F;
  background-size: cover;
  background-position: top;
  font-size: 30px;
  border-radius: 50%;
  margin-bottom: 20px;
  position: fixed;
  right: 20px;
  bottom: 0;
  box-sizing: border-box;
  -moz-user-select: none;
  -khtml-user-select: none;
  user-select: none;
}
.ol-widget-chat-icon:hover {
  cursor: pointer;
  box-shadow: 0px 0px 20px rgba(55, 71, 79, 0.4);
}

.ol-widget-chat-icon-wrapper[data-ol-position="bottom left"] .ol-widget-chat-icon {
  right: auto;
  left: 20px;
}
.ol-widget-chat-icon-wrapper[data-ol-position="bottom center"] .ol-widget-chat-icon {
  right: 50%;
  margin-right: -30px;
}

.ol-widget-chat-icon-label {
  max-width: 203px;
  background: #fff;
  z-index: 2147483648;
  position: fixed;
  right: 95px;
  bottom: 20px;
  border-radius: 3px;
  color: #546E7A;
  font-size: 14px;
  line-height: 16px;
  box-shadow: 0 1px 3px rgba(84, 110, 122, 0.3);
  cursor: pointer;
}
.ol-widget-chat-icon-label:after {
  content: "";
  right: -9px;
  background: url(images/message-arrow-my.svg) -9px 0 no-repeat;
  width: 9px;
  height: 18px;
  position: absolute;
  display: inline-block;
  margin-top: -9px;
  bottom: 20px;
}
.ol-widget-chat-icon-wrapper[data-ol-position="bottom left"] .ol-widget-chat-icon-label {
  right: auto;
  left: 95px;
}
.ol-widget-chat-icon-wrapper[data-ol-position="bottom left"] .ol-widget-chat-icon-label:after {
  right: auto;
  left: -9px;
  background-position: 0 0;
}
.ol-widget-chat-icon-label__text-wrapper {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 10px 25px 10px 15px;
  overflow-wrap:break-word;
}
.ol-widget-chat-icon-label__text {
  min-width: 0;
  color: #546E7A;
}
.ol-widget-chat-icon-label__close {
  cursor: pointer;
  display: inline-block;
  position: absolute;
  top: 7px;
  right: 7px;
  color: #B0BEC5;
  fill: #B0BEC5;
  font-size: 14px;
  width: 14px;
  height: 14px;
}
.ol-widget-chat-icon-label__close:hover {
  color: #546E7A;
  fill: #546E7A;
}
.ol-widget-container {
  /* font-family: Roboto, Arial, Helvetica, sans-serif; */
  border-radius: 3px 3px 0 0;
  z-index: 2147483647;
  height: 100%;
  width: 300px;
  height: 439px;
  background: #F7F9F9;
  box-shadow: 0 1px 10px rgba(55, 71, 79, 0.2);
  color: #546E7A;
  font-size: 14px;
  line-height: 1.24;
  position: fixed;
  right: 20px;
  bottom: -1px;
}
.ol-widget-container,
.ol-widget-container *,
.ol-widget-container *:before,
.ol-widget-container *:after {
  box-sizing: border-box;
}
.ol-widget-container_withBalls {
  right: 93px;
}
.ol-widget-container[data-ol-position="bottom left"] {
  right: auto;
  left: 20px;
}
.ol-widget-container_withBalls[data-ol-position="bottom left"] {
  right: auto;
  left: 93px;
}
.ol-widget-container[data-ol-position="bottom center"] {
  right: 50%;
  margin-right: -150px;
}

.ol-widget-container-table {
  display: table;
  width: 100%;
  table-layout: fixed;
  height: 100%;
}
.ol-widget-table__row {
  display: table-row;
  width: 100%;
}

.ol-widget-header {
  border-radius: 3px 3px 0 0;
  height: 37px;
  padding: 11px 10px 0;
  color: #F7F9F9;
  background: #37474F;
}
.ol-widget-header__menu-wrapper {
  float: left;
  position: relative;
}
.ol-widget-header__menu-btn {
  display: inline-block;
  cursor: pointer;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 50%;
  color: #ECEFF1;
  margin-right: 6px;
  position: relative;
}
.ol-widget-header__menu-btn.ol-widget-active, .ol-widget-header__menu-btn:hover {
  background: rgba(0,0,0,.3);
}
.ol-widget-active .ol-widget__sound-on {
  display: inline-block
}
.ol-widget-active .ol-widget__sound-off {
  display: none;
}
.ol-widget__sound-on {
  display: none;
}
.ol-widget-header__menu {
  display: none;
  position: absolute;
  bottom: 36px;
  left: -10px;
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 2px 20px rgba(55, 71, 79, 0.2);
}
.ol-widget-header__menu.ol-widget-active {
  display: block;
}
.ol-widget-header__menu-item {
  color: #546E7A;
  padding: 10px 15px;
  cursor: pointer;
}
.ol-widget-header__menu-item.ol-widget-active, .ol-widget-header__menu-item:hover {
  background: #ECEFF1;
}
.ol-widget-header__menu-item.ol-widget-active {
  font-weight: 500;
}

.ol-widget-header__text {
  float: left;
  width: 200px;
}
.ol-widget-header__control {
  float: right;
  margin-top: -1px;
}
.ol-widget-header__control-btn {
  cursor: pointer;
  display: inline-block;
  margin-left: 1px;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
}
.ol-widget-header__control-btn:hover {
  background: rgba(0,0,0,.3);
}
.ol-widget-error {
  background: #FF1744;
  color: #fff;
  padding: 10px;
}
.ol-widget-success {
  background: #00BFA5;
  color: #fff;
  padding: 10px;
}
.ol-widget-operator {
  background: #fff;
  height: 60px;
  padding: 10px 10px 0;
  border-bottom: 1px solid #CFD8DC;
}
.ol-widget-operator__photo {
  width: 40px;
  height: 40px;
  line-height: 40px;
  background: #ECEFF1;
  background-size: cover;
  border-radius: 50%;
  margin-right: 5px;
  float: left;
  position: absolute;
  background-position: top;
}
.ol-widget-status:after {
  content: attr(data-counter);
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
  font-size: 8px;
  line-height: 11px;
  text-align: center;
  color: #fff;
}
.ol-widget-status_big:after {
  bottom: 1px;
  right: 1px;
}
.ol-widget-status[data-ol-status="online"]:after {
  background: #00BFA5;
}
.ol-widget-status[data-ol-status="offline"]:after {
  background: #ff9100;
}

.ol-widget-operator__body {
  margin-top: 5px;
  margin-left: 48px;
}
.ol-widget-header__text,
.ol-widget-operator__name,
.ol-widget-operator__subtitle {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #546E7A;;
}
.ol-widget-operator__subtitle {
  margin-top: 1px;
  color: #78909C;
  font-size: 12px;
}
.ol-widget-messages-row {
  height: 100%;
}
.ol-widget-messages-wrapper {
  position: relative;
  height: 100%
}
.ol-widget-messages {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 10px;
  text-align: center;
}
.ol-widget-messages__shadow {
  padding-top: 0;
}
.ol-widget-messages__shadow:before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 5px;
  width: 100%;
  border-top: 1px solid #a4adb2;
  background: linear-gradient(to bottom, rgba(38, 50, 56, 0.3), rgba(38, 50, 56, 0));
  z-index: 1;
}
.ol-widget-operator-typing {
  text-align: right;
  font-size: 12px;
  margin-bottom: 10px;
  color: #0091EA;
  fill: #0091EA;
}
.ol-widget-operator-typing-icon {
  display: inline !important;
  margin: 0 10px;
}
.ol-widget-messages__day-separator {
  text-align: center;
  font-size: 12px;
  color: #546E7A;
  margin: 5px auto 12px;
  padding: 5px 10px;
  border-radius: 15px;
  background-color: rgba(84, 110, 122, 0.15);
  display: inline-block;
}
.ol-widget-message {
  margin-bottom: 30px;
  text-align: left;
}
.ol-widget-message__cloud {
  box-shadow: 0 1px 3px rgba(84, 110, 122, 0.3);
  max-width: 90%;
  border-radius: 3px;
  padding: 10px 15px;
  color: #546E7A;
  position: relative;
  word-wrap: break-word;
}
.ol-widget-message[data-ol-sender="client"] .ol-widget-message__cloud {
  margin-right: 5px;
  background: #fff;
  float: right;
}
.ol-widget-message[data-ol-sender="operator"] .ol-widget-message__cloud {
  margin-left: 5px;
  background: #E6F4FD;
  float: left;
}

/* Стрелки у облаков */
.ol-widget-message__cloud:after {
  content: "";
  width: 9px;
  height: 18px;
  position: absolute;
  display: inline-block;
  margin-top: -9px;
  top: 50%;
}
.ol-widget-message[data-ol-sender="operator"] .ol-widget-message__cloud:after {
  left: -9px;
  background: url(images/message-arrow-to-me.svg) no-repeat;
}
.ol-widget-message[data-ol-sender="client"] .ol-widget-message__cloud:after {
  right: -9px;
  background: url(images/message-arrow-my.svg) -9px 0 no-repeat;
}

/* Время сообщения */
.ol-widget-message__cloud:before {
  content: attr(data-ol-time);
  color: #B0BEC5;
  font-size: 12px;
  position: absolute;
  left: 0;
  bottom: -22px;
  text-align: left;
  min-width: 180px;
}
.ol-widget-message[data-ol-sender="client"] .ol-widget-message__cloud:before {
  left: auto;
  right: 0;
  text-align: right;
}

.ol-widget-imagelink {
  outline: 0;
}
img.ol-widget-image {
  min-height: 50px;
  min-width: 50px;
  max-width: 100%;
  max-height: 200px;
  display: block;
  border: 0;
}

/* Иконки файлов */
.ol-widget-file {
  width: 70px;
  text-decoration: none;
  color: #546E7A;
  position: relative;
  display: block;
  word-break: break-all;
  font-size: 12px;
}
.ol-widget-file:hover {
  text-decoration: none;
}
.ol-widget-file:before {
  content: "";
  border: 1px solid #CFD8DC;
  background: #fff;
  border-radius: 3px;
  display: block;
  width: 70px;
  height: 70px;
  margin-bottom: 7px;
}
.ol-widget-file:hover:before {
  border-color: rgb(187, 198, 202);
}
.ol-widget-file:after {
  content: attr(data-ol-ext);
  text-transform: uppercase;
  position: absolute;
  background: #ECEFF1;
  color: #78909C;
  font-weight: bold;
  border-radius: 3px;
  font-size: 12px;
  height: 25px;
  line-height: 25px;
  padding: 0 2px;
  top: 23px;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}
.ol-widget-file[data-ol-ext="pdf"]:after {
  background: #FF1744!important;
  color: #fff;
}
.ol-widget-file[data-ol-ext="xls"]:after,
.ol-widget-file[data-ol-ext="xlsx"]:after {
  background-color: #00BFA5;
  color: #fff;
}
.ol-widget-file[data-ol-ext="doc"]:after,
.ol-widget-file[data-ol-ext="docx"]:after {
  background-color: #0091EA;
  color: #fff;
}

.ol-widget-send-email {
  padding: 10px;
}
.ol-widget-fake-input {
  outline: none;
  border-bottom: 1px solid #CFD8DC;
  margin-bottom: 10px;
  padding: 5px 0 5px;
  display: block;
  color: #546E7A;
}
.ol-widget-fake-input:focus {
  border-color: #04A0FF;
}
.ol-widget-fake-input_error {
  border-color: #e42711;
}
.ol-widget-fake-input_single-line {
  white-space: nowrap;
  overflow: hidden;
  padding: 5px 0 0;
  height: 30px;
}
.ol-widget-fake-input_single-line br {
  display: none;
}
.ol-widget-fake-input_single-line * {
  display: inline;
  white-space: nowrap;
}
.ol-widget-send-email__link {
  color: #0091EA;
  font-size: 11px;
  background: none;
  text-decoration: none;
}
.ol-widget-send-email__link:hover {
  color: rgb(3, 130, 204);
  background: none;
  text-decoration: underline;
}
.ol-widget-send-email__control {
  margin-top: 15px;
  text-align: right;
}
.ol-widget-send-email__control .ol-widget-btn {
  margin-left: 10px;
}
.ol-widget-btn {
  font-family: inherit;
  border-radius: 3px;
  outline: 0!important;
  border: 0;
  line-height: 36px;
  padding: 0 15px;
  cursor: pointer;
}
.ol-widget-btn:active {
  box-shadow: inset 2px 2px 2px rgba(0,0,0,.3);
}
.ol-widget-btn-primary {
  color: #fff;
  background: #0091EA;
}
.ol-widget-btn-primary:hover {
  background: rgb(3, 130, 204);
}
.ol-widget-btn-default {
  color: rgb(128, 128, 128);
  background: rgb(231, 231, 231);
}
.ol-widget-btn-default:hover {
  background: rgb(234, 236, 238);
}
.ol-widget-btn[data-ol-color="green"] {
  background: #00BFA5;
  color: #fff;
}
.ol-widget-btn[data-ol-color="green"]:not(:disabled):hover {
  background: #00A68F;
}
.ol-widget-btn[data-ol-color="yellow"] {
  background: #FF9100;
  color: #fff;
}
.ol-widget-btn[data-ol-color="yellow"]:not(:disabled):hover {
  background: #E68300;
}
.ol-widget-btn[data-ol-color="red"] {
  background: #FF1744;
  color: #fff;
}
.ol-widget-btn[data-ol-color="red"]:not(:disabled):hover {
  background: #E3002C;
}
.ol-widget-btn[data-ol-color="grey"] {
  background: #0091EA;
  color: #fff;
}
.ol-widget-btn[data-ol-color="grey"]:not(:disabled):hover {
  background: #0081D1;
}
.ol-widget-btn[disabled] {
  cursor: not-allowed;
  color: rgba(255,255,255,0.5);
}

.ol-widget-keyboard {
  margin: 7px -5px 0;
}
.ol-widget-keyboard .ol-widget-btn {
  font-size: 12px;
  height: 32px;
  margin: 5px;
  padding: 0 10px;
  overflow: hidden;
  line-height: 32px;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 210px;
}

.ol-widget-textarea-wrapper {
  position: relative;
  border-top: 1px solid #CFD8DC;
  border-bottom: 1px solid #fff;
  background-color: #fff;
}
.ol-widget-textarea__control {
  position: absolute;
  right: 13px;
  bottom: 1px;
  height: 63px;
}
.ol-widget-textarea__control-left {
  left: 13px;
  width: 21px
}
.ol-widget-textarea__control-btn {
  cursor: pointer;
  display: inline-block;
  color: #848484;
  fill: #848484;
  padding: 15px 10px;
  height: 100%;
}
/* .ol-widget-textarea__control-btn:hover {
  color: #04A0FF;
  fill: #04A0FF;
} */
.ol-widget-textarea__send-btn {
  cursor: pointer;
  display: inline-block;
  color: #fff;
  fill: #fff;
  padding: 11px 0px;
  height: 36px;
  width: 36px;
  background-color: rgba(255,255,255,.9);
  margin: 14px 0 0 0;
  border-radius: 50%;
}
.ol-widget-textarea {
  max-height: 142px;
  word-wrap: break-word;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 60px 0 47px;
  background: #fff;
  outline: 0;
  resize: none;
  caret-color: #04A0FF;
  cursor: text;
  display: block;
  color: #848484;
  line-height: 24px;
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.ol-widget-links {
  padding: 10px 5px 6px 10px;
  background: #fff;
  border-top: 1px solid #CFD8DC;
}
.ol-widget-links__title {
  font-size: 12px;
  display: inline-block;
  position:relative;
  top: -8px;
  margin-right: 6px;
}
a.ol-widget-link {
  display: inline-block;
  text-decoration: none;
  font-size: 0;
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 2px;
  background-size: cover;
}
a.ol-widget-link[data-ol-type="vk"] {
  background-image: url(images/vk.svg);
}
a.ol-widget-link[data-ol-type="ok"] {
  background-image: url(images/ok.svg);
}
a.ol-widget-link[data-ol-type="facebook"] {
  background-image: url(images/facebook.svg);
}
a.ol-widget-link[data-ol-type="telegram"] {
  background-image: url(images/telegram.svg);
}
a.ol-widget-link[data-ol-type="viber"] {
  background-image: url(images/viber.svg);
}
a.ol-widget-link[data-ol-type="whatsapp"] {
  background-image: url(images/whatsapp.svg);
}

.ol-widget-footer {
  line-height: 29px;
  height: 29px;
  padding: 0 10px 1px;
  font-size: 12px;
  color: rgba(255,255,255,.7);
  background: #37474F;
}
.ol-widget-footer a {
  color: rgba(255,255,255,.9);
}

.ol-widget-esoft-logo {
  color: #CFD8DC;
  font-weight: 500;
  display: inline-block;
  outline: 0;
  text-decoration: none;
}
.ol-widget-esoft-logo:hover {
  text-decoration: underline;
}
.ol-widget-esoft-logo-svg {
  pointer-events: none;
  width: 17px;
  height: 19px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  fill: currentColor;
  position: relative;
  top: 5px;
  margin: 0 5px;
}
.ol-widget__svg-icon {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
}
.ol-widget__svg-icon svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.ol-widget-container[data-ol-color-text="light"] .ol-widget-header,
.ol-widget-container[data-ol-color-text="light"] .ol-widget-header__text,
.ol-widget-container[data-ol-color-text="light"] .ol-widget-header .ol-widget-mi,
.ol-widget-chat-icon[data-ol-color-text="light"] {
  color: #fff;
  fill: #fff;
}
.ol-widget-container[data-ol-color-text="light"] .ol-widget-footer,
.ol-widget-container[data-ol-color-text="light"] .ol-widget-copyright-text,
.ol-widget-container[data-ol-color-text="light"] .ol-widget-footer a {
  color: #fff;
  color: rgba(255,255,255,.6);
}

.ol-widget-container[data-ol-color-text="dark"] .ol-widget-header,
.ol-widget-container[data-ol-color-text="dark"] .ol-widget-header__text,
.ol-widget-container[data-ol-color-text="dark"] .ol-widget-header .ol-widget-mi,
.ol-widget-chat-icon[data-ol-color-text="dark"] {
  color: #000;
  fill:  #000;
  color: rgba(0,0,0,.7);
  fill:  rgba(0,0,0,.7);
}
.ol-widget-container[data-ol-color-text="dark"] .ol-widget-footer,
.ol-widget-container[data-ol-color-text="dark"] .ol-widget-copyright-text,
.ol-widget-container[data-ol-color-text="dark"] .ol-widget-footer a {
  color: #000;
  color: rgba(0,0,0,.5);
}

.ol-widget-loader {
  border: 1px solid #f3f3f3;
  border-top: 1px solid #0091EA;
  border-bottom: 1px solid #0091EA;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin: 10px auto;
  animation: ol-loader-spin .9s linear infinite;
}

.ol-widget-social-links-menu-wrapper {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0 !important;
  right: 0 !important;
  bottom: -1px !important;
  left: 0 !important;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2147483647;
}

.ol-widget-social-links-menu-canvas {
  width: 100%;
  background-color: #fff;
  position: absolute;
  bottom: 0;
  /* font-family: Roboto; */
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
}

.ol-widget-social-links-menu-head {
  color: #848484;
  padding: 27px 16px 15px;
}

.ol-widget-social-links-menu-bottom {
  padding: 15px;
}

.ol-widget-social-links-menu-cancel {
  border: 1px solid #D2D2D2;
  border-radius: 4px;
  font-weight: 500;
  color: #4F4F4F;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ol-widget-social-links-menu-body a {
  display: flex;
  height: 48px;
  align-items: center;
  padding-left: 48px;
  color: #333;
  background: no-repeat left 19px center;
  text-decoration: none;
}

.ol-widget-social-links-menu-body a[data-ol-type="vk"] {
  background-image: url(images/vk_menu.svg);
  background-position-x: 15px;
}

.ol-widget-social-links-menu-body a[data-ol-type="telegram"] {
  background-image: url(images/telegram_menu.svg);
}

.ol-widget-social-links-menu-body a[data-ol-type="viber"] {
  background-image: url(images/viber_menu.svg);
}

.ol-widget-social-links-menu-body a[data-ol-type="whatsapp"] {
  background-image: url(images/whatsapp_menu.svg);
}

.ol-widget-social-links-menu-body a[data-ol-type="chat"] {
  background-image: url(images/chat_menu.svg);
}

@keyframes ol-loader-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Checkbox */
input[type=checkbox].ol-css-checkbox {
  position:absolute; z-index:-1000; left:-9999px; overflow: hidden; clip: rect(0 0 0 0); height:1px; width:1px; margin:-1px; padding:0; border:0;
}
input[type=checkbox].ol-css-checkbox + label.ol-css-label {
  padding-left:16px;
  display:inline-block;
  line-height:14px;
  background-repeat:no-repeat;
  background-position: 0 0;
  background-size: 11px 11px;
  background-image:url(images/checkbox.svg);
  font-size:11px;
  font-weight: normal;
  font-style: normal;
  vertical-align:middle;
  cursor:pointer;
  color:#546E7A;
  margin: 3px 0 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input[type=checkbox].ol-css-checkbox:checked + label.ol-css-label {
  background-image:url(images/checkbox-checked.svg);
}

/* Мобильная версия виджета */
@media screen and (max-width: 700px), screen and (max-height: 500px) {
  .ol-widget-container {
    width: 100%;
    height: 100%;
    min-width: 280px;
    min-height: 280px;
    position: fixed;
    top: 0 !important;
    right: 0 !important;
    bottom: -1px !important;
    left: 0 !important;
    border-radius: 0;
  }
  .ol-widget-header {
    border-radius: 0;
  }
  /* Убираем скроллинг */
  body.ol-widget-open-body {
    overflow: hidden;
  }
  /* Убираем меню */
  .ol-widget-header__menu-wrapper {
    display: none;
  }
  /* Кнопки крупнее */
  /* .ol-widget-header__control-btn, .ol-widget-textarea__control-btn {
    margin-top: -3px;
    font-size: 20px;
  } */
}

/* На очень маленьких экранах скрываем виджет */
@media screen and (max-width: 299px), screen and (max-height: 299px) {
  .ol-widget-container, .ol-widget-chat-icon {
    display: none;
  }
}