/* hide the original widget - that there were no two labels on the screen*/
#jivo_chat_widget {
  display: none;
}

/* the default style - for offline messages if no one is online */
#jivo_custom_widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  height: 70px;
  width: 70px;
  z-index: 300000;
  cursor: pointer;
  height: 170px;
  background-image: url('images/jivo_widget_offline.svg');
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 0.3s;
  opacity: 1;
}

/* when you hover the label should be shifted to the right by 3px */
#jivo_custom_widget:hover {
  opacity: 0.8;
}

/* if there are operators online - show other label*/
#jivo_custom_widget.jivo_online {
  height: 70px;
  width: 70px;
  background-image: url('images/jivo_widget_online.svg');
  background-repeat: no-repeat;
  background-size: contain;
}

body #backtotop {
  bottom: 100px;
  height: 65px;
  width: 65px;
  right: 22px;
  background-size: contain;
}

body.restaurants-flagging-panel-hidden.has-flagged-panel #backtotop {
  bottom: 175px;
}

#jivo-iframe-container + jdiv {
  z-index: 10000;
  position: relative;
}

@media (max-width: 767px) {

  .node-type-restaurant #jivo_custom_widget {
    bottom: 80px;
  }

  .page-catalog #jivo_custom_widget {
    bottom: 95px !important;
  }

  .node-type-restaurant #backtotop,
  .node-type-restaurant.restaurants-flagging-panel-hidden.has-flagged-panel #backtotop {
    bottom: 185px;
  }
}
