/** Chat **/
.s-lch-widget-float {
    padding: 0;
    bottom: 7vmin;
    right: 4vmin;
    transition: 0.3s ease all;
}

.s-lch-widget-float.open {
    top: unset;
    width: 25rem;
    height: unset;
}

[data-viewport=mobile].ud__menu-body-open .s-lch-widget-float,
[data-viewport=mobile].ud__search-open .s-lch-widget-float {
  right: -100vw;
}

.s-lch-widget-float-load {
    border: 0;
    border-radius: 1.75rem;
    padding: 0;
}

.s-lch-widget-float-load.expanded,
.chat-offline .s-lch-widget-float-load.expanded {
    min-height: 33.5rem !important;
}

.chat-online:not(.chat-autoload) .s-lch-widget-float-load {
/*    min-height: 33.5rem !important;*/
	min-height: 75vh !important;
}

.s-lch-widget-float-btn,
.s-lch-widget-float-load {
    box-shadow: 0 0.25rem 0.5rem rgb(0 0 0 / 16%), 0 0.25rem 0.5rem rgb(0 0 0 / 16%);
}

.s-lch-widget-float-btn {
    border-radius: 4rem;
    height: 3rem;
    min-width: 3rem;
    width: auto;
    padding: 0;
    cursor: pointer;
	background-color: #ffd200;
}

.s-lch-widget-float-btn.online {
    background-color: #ffd200;
	color: #003c71;
}
.s-lch-widget-float-btn.online:focus-visible {
	outline: 3px solid black;
    border-radius: 10rem;
}
.s-lch-widget-float-btn.online:hover {
/*    background-color: #00a0df;*/
	color: #003c71 !important;
}

.s-lch-widget-float-btn.online:focus {
/*    background-color: #00a0df;*/
	color: #003c71 !important;
}

.s-lch-widget-float.open .s-lch-widget-float-btn {
    margin-top: 1rem;
}

.s-lch-widget-float-btn.s-lch-widget-img-btn {
    height: 4rem;
    min-width: 4rem;
    width: auto;
    padding: 0;
}

.s-lch-widget-float-btn img {
    height: 100%;
    width: auto;
    display: inline-block;
    padding: 1rem;
}

.sticky-buttons {
    position: fixed;
    width: 100%;
    bottom: 0;
    right: 0;
}

.s-lch-widget-float-btn svg[aria-labelledby="s-lch-widget-float-img-title"],
:not(button) > #chat-toggle-icons {
    display: none;
}

#chat-toggle-icons,
.chat-toggle-expand,
.chat-toggle-collapse {
    height: 100%;
}

#chat-toggle-icons .linea-svg {
	margin-right: 0px;
}
.chat-toggle-collapse .linea-svg line {
	stroke: var(--color-blue-dark);
}
.chat-toggle-collapse:hover .linea-svg line,
.chat-toggle-collapse:focus .linea-svg line{
	stroke: white;
}
.s-lch-widget-float.open .chat-toggle-expand,
.s-lch-widget-float:not(.open) .chat-toggle-collapse {
    display: none;
}

.chat-toggle-expand {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0.25rem;
}

.chat-toggle-expand:before {
    content: '';
    font-family: 'greycliff_semibold';
    display: inline-block;
    margin-left: 0.375rem;
    margin-right: 0.25rem;
    font-size: 1.1rem;
}

.s-lch-widget-float-btn:not(.online) .chat-toggle-expand:before {
    content: 'Ask UDStax Chatbot';
/*    color: #fff;*/
	color: #003c71;
}

.s-lch-widget-float-btn.online .chat-toggle-expand:before {
    content: 'Ask The Library';
	color: #003c71;
}

.s-lch-widget-float-btn.online:hover .chat-toggle-expand:before {
/*	color: #FFFFFF;*/
}

.s-lch-widget-float-btn.online:focus .chat-toggle-expand:before {
/*	color: #FFFFFF;*/
}

.chat-offline .chat-toggle-expand:before {
    content: 'Ask UDStax Chatbot';
    color: #555;
}

.chat-toggle-expand .linea-svg-inner {
    width: 2.5rem !important;
    padding: 0.125rem;
}

.chat-toggle-expand svg * {
    stroke-width: 5px;
	stroke: var(--color-blue-dark);
}

.chat-toggle-expand:hover svg * {
/*    stroke: #FFF;*/
}

.chat-toggle-expand svg {
    width: 1.5rem;
}

.s-lch-widget-float-btn:not(.online) #chat-toggle-icons svg *,
.chat-offline #chat-toggle-icons svg * {
    stroke: #fff;
	stroke: #003c71;
    stroke-width: 4px;
}

.chat-toggle-collapse .linea-svg-inner {
    width: 3rem !important;
    padding: 1px 0 0 1px;
}

.chat-toggle-collapse svg {
    width: 3rem;
	height: 3rem;
}

md-card-content .linea-svg-inner:focus {
	background-color: var(--color-gold);
}

md-card-content .linea-svg-inner:focus svg {
	background-color: var(--color-gold);
    stroke: var(--color-blue-dark);
}

.ud-help a:focus {
	box-shadow: none;
}

.ud-help a:focus .ud-help-text {
	text-decoration: underline;
    box-shadow: none;
}

.ud-help a .linea-svg:focus {
	text-decoration: none;
    box-shadow: none;
	background-color: var(--color-gold);
    stroke: var(--color-blue-dark);
}

.md-button.button-over-dark:not(.disable-hover):hover:not([disabled]):hover:not([disabled]) {
	background-color: var(--color-blue-dark);
}

prm-topbar .md-button:not(.disable-hover):hover:not([disabled]):hover:not([disabled]):not(.close-btn-favorits-warning-message) {
	background-color: var(--color-blue-dark);
}

.back-to-top {
    position: absolute;
    bottom: calc(5rem + 4vmin);
    right: 4vmin;
    width: 4rem;
    height: 4rem;
}

#login textarea {
    height: 100%;
    min-height: 6rem;
}

#client_question {
    height: 100%;
    min-height: 6rem;
}


/* ================================================================================ */
/*                                                          min-width: 696          */
/* ================================================================================ */
@media screen and (min-height: 696px) {
    .chat-online:not(.chat-autoload) .s-lch-widget-float-load {
		min-height: 33.5rem !important;
	}
}

/* ================================================================================ */
/*                                                          max-width: 550          */
/* ================================================================================ */

@media screen and (max-width: 550px) {
  .back-to-top,
  .s-lch-widget-float-btn,
  .s-lch-widget-img-btn {
      height: 4.5rem !important;
      width: 4.5rem !important;
  }

  .s-la-widget #offline {
	  padding-bottom: 20px;
  }

  .chat-toggle-expand .linea-svg-inner {
      padding: 0;
	  padding-top: 7px;
  }

  .chat-toggle-collapse .linea-svg-inner {
      width: 4.5rem !important;
	  padding-top: 13px;
  }

  .chat-toggle-expand:before,
  .s-lch-widget-float-btn:before {
      display: none;
  }

  .s-lch-widget-float-btn img {
      padding: 1.125rem;
  }

  .back-to-top {
      right: 4vmin;
      bottom: calc(5.5rem + 4vmin);
  }

  .s-lch-widget-float {
      left: unset;
      width: calc(100% - 8vmin) !important;
  }

  .s-lch-widget-float.open .s-lch-widget-float-load {
      width: 100%;
  }

  .s-lch-widget-float.open .s-lch-widget-float-btn {
      display: block;
  }

  .s-lch-widget-float:after {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      transition: 0.3s ease all;
      opacity: 0;
  }

  .s-lch-widget-float.open:after {
      background: rgba(20,20,60,0.65);
      opacity: 1;
  }
}


