/** Chat **/
.s-lch-widget-float {
    padding: 0;
    bottom: 4vmin;
    right: 4vmin;
    transition: 0.3s ease all;
}

.s-lch-widget-float.open {
    top: unset;
    width: 32rem;
    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;
	border-radius: 1.75rem 1.75rem 0 0;
    padding: 0;
}

.s-lch-widget-float-load.expanded {
/*    min-height: 18.5rem !important;*/
/*	min-height: 45rem !important;*/
}

.chat-offline .s-lch-widget-float-load.expanded {
/*    min-height: 18.5rem !important;*/
	min-height: 35rem !important;
}

.chat-online:not(.chat-autoload) .s-lch-widget-float-load {
/*    min-height: 45.5rem !important;*/
/*	min-height: 43.5rem !important;*/
	min-height: 70vh !important;
}

/*.s-lch-widget-float-load,*/
.s-lch-widget-float-btn {
    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-load {
/*    box-shadow: none;*/
	box-shadow: 0.1em 0.2em 0.5em rgb(0 0 0 / 16%);
}

.s-lch-widget-float-btn {
    width: 4rem;
    height: 4rem;
    border-radius: 4rem;
    height: 4rem;
    min-width: 4rem;
    width: auto;
    padding: 0;
    cursor: pointer;
}

.s-lch-widget-float-btn.online {
    background-color: #00a0df;
}

.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%;
	background-color: var(--color-blue-light);
	background-color: var(--color-gold);
    border-radius: 4rem;
}
#chat-toggle-icons:hover,
.chat-toggle-expand:hover,
.chat-toggle-collapse:hover {
	background-color: var(--color-gold);
}

.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.75rem;
}

.chat-toggle-expand:before {
    content: '';
    font-family: 'gc_semi';
    display: inline-block;
    margin-left: 0.375rem;
    margin-right: 0.75rem;
    font-size: 1.5rem;
}

.s-lch-widget-float-btn:not(.online) .chat-toggle-expand {
	background-color: var(--color-gold);
	border-radius: 3rem;
}

.s-lch-widget-float-btn:not(.online) .chat-toggle-expand:before {
    content: 'Ask UDStax';
	background-color: var(--color-gold);
	border-radius: 3rem;
/*    color: #555; */
}

.s-lch-widget-float-btn.online .chat-toggle-expand:before {
    content: 'Ask The Library';
    color: #fff;
	color: var(--color-blue-dark);
}

.chat-offline .chat-toggle-expand {
	background-color: var(--color-gold);
	border-radius: 3rem;
}

.chat-offline .chat-toggle-expand:before {
    content: 'Ask UDStax';
/*    color: #555; */
}

#offline .color_head {
	padding:10px;
	background-color: var(--color-gold);
}

.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);
}

.s-lch-widget-float-btn:not(.online) #chat-toggle-icons svg *,
.chat-offline #chat-toggle-icons svg * {
/*    stroke: #fff;*/
    stroke-width: 4px;
}

.chat-toggle-collapse .linea-svg-inner {
    width: 4rem !important;
    padding: 1px 0 0 1px;
}

.back-to-top {
    position: absolute;
    bottom: calc(5rem + 4vmin);
    right: 4vmin;
    width: 4rem;
    height: 4rem;
}
/* AI Chatbot Link */
.openAILink {
	display: block;
	z-index: 501;
	background: var(--color-gold);
	color: var(--color-blue-dark);
	font-family: 'gc_semi';
	text-decoration: none;
    text-align: center;
    width: 100%;
    padding: 1.25rem 1.375rem;
/*    margin-top: 14px;*/
    border-radius: 0 0 1.75rem 1.75rem;
	box-shadow: 0 0.25rem 0.5rem rgb(0 0 0 / 16%), 0 0.25rem 0.5rem rgb(0 0 0 / 16%);
}
.openAILink:hover {
	background: var(--color-gold-pale);
}

#offline .openAILink {
	display: none;
}
.closeAILink {
	display: none;
}

.offline-title {
	order: 1;
    padding: 0 5px 0 15px;
/*    color: white;*/
	color: var(--color-blue-dark);
    font-family: 'Greycliff_SemiBold';
    font-size: 1.5rem;
	height: auto !important;
    padding-left: 15px !important;
}
#chatbase-bubble-button div:first-child {
	order: 2;
}
#chatbase-bubble-button {
	display: grid;
/*	grid-template-columns: auto 50px;*/
/*	width: auto !important;*/
	background-color: var(--color-gold) !important;
	align-items: center;
	right: 4vmin !important;
	box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,.16), 0 0.25rem 0.5rem rgba(0,0,0,.16) !important;
	padding: 0 10px 0 5px !important;
}
#chatbase-bubble-button * {
/* 	width: 55px !important;*/
	height: 55px ;
	fill: var(--color-blue-dark);
}
#closeIcon, #closeIcon * {
	fill: none !important;
	stroke: var(--color-blue-dark) !important;
}
iframe[title="Chatbot"] {
	right: 4vmin !important;
/*	bottom: 7vmin !important;*/
}

#s-lch-widget-22365 .openAILink {
/*	display: none;*/
}


@media screen and (min-height: 696px) {
	.chat-online:not(.chat-autoload) .s-lch-widget-float-load {
	/*    min-height: 45.5rem !important;*/
		min-height: 43.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;
  }

  .chat-toggle-expand .linea-svg-inner {
      padding: 0;
  }

  .chat-toggle-collapse .linea-svg-inner {
      width: 4.5rem !important;
  }

  .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;
  }
	
	.offline-title {
		display: none;
	}
	#chatbase-bubble-button {
		grid-template-columns: auto !important;
		width: 54px !important;
		height: 54px !important;
		border-radius: 100px !important;
		padding: 0 !important;
	}
	#chatbase-bubble-button * {
		width: 55px !important;
/*		height: 55px;*/
	}
}
