/**
 * @ Author: Wade McMunn
 * @ Last modified: 2021-09-28
 * @ Purpose: Custom chat widget (slide-out version) styles.
 */

#uml_chat.slide-out
{
	background-color: #fff;
	border: 1px solid #ccc;
	-webkit-box-shadow: 2px 2px 0px 2px rgba(0,0,0,.5);
	box-shadow: 2px 2px 2px 0px rgba(0,0,0,.5);
	width: 350px;
	max-height: 675px;
	position: fixed;
	z-index: 1000;
	right: -350px;
	top: 10%;
	bottom: 120px;
	font-family: "Roboto","Helvetica Neue",Arial,sans-serif;
	color: #200800;
	box-sizing: border-box;
	overflow: scroll;
}
.uml_chat .launcher
{
	position: fixed;
	z-index: 1000;
	right: 20px;
	bottom: 20px;
	border-radius: 50%;
	padding: 20px;
	cursor: pointer;
	color: #fff;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	/* Fixed Drupal issue where launcher is sized down considerably */
	-webkit-box-sizing: initial;
	box-sizing: initial;
}
.uml_chat a.launcher .ask_us_text
{
	font-family: "Roboto","Helvetica Neue",Arial,sans-serif !important;
	font-size: 22px;
	margin-top: -10px;
}
.uml_chat a.launcher #launcher_up img
{
	width: 119px;
	height: 97px;
}
.uml_chat #launcher_down
{
	display: none;
}
#uml_chat.slide-out .ask_us_mobile
{
	display: none;
}
#uml_chat.slide-out .ask_us
{
	height: 40px;
}
#uml_chat.slide-out .ask_us_logo
{
	margin-left: auto;
	margin-right: auto;
}
#uml_chat.slide-out .chat_ui
{
	max-height: 625px;
	padding: 25px;
}
#uml_chat.slide-out .text-center
{
	text-align: center;
}
#uml_chat.slide-out .chat_ui .text-left
{
	text-align: left;
}
#uml_chat.slide-out .chat_ui .text-right
{
	text-align: right;
}
#uml_chat.slide-out .chat_ui .close
{
	float: right;
	font-size: 21px;
	font-weight: 700;
	line-height: 1;
	color: #200800;
	text-shadow: 0 1px 0 #fff;
	filter: alpha(opacity=20);
	opacity: .2;
}
#uml_chat.slide-out .chat_ui .close:focus,
#uml_chat.slide-out .chat_ui .close:hover
{
	color: #200800;
	text-decoration: none;
	cursor: pointer;
	filter: alpha(opacity=50);
	opacity: .5;
}
#uml_chat.slide-out .chat_ui h3
{
	font-size: 24px;
    font-weight: 500;
    line-height: 1.16666em;
    margin-bottom: 1rem;
    margin-top: 1.5em;
}
#uml_chat.slide-out .chat_ui p 
{
	margin: 0 0 10px;
}
#uml_chat.slide-out .chat_ui hr
{
	margin-top: 20px;
	margin-bottom: 20px;
	border: 0;
	border-top: 1px solid #eee;
}
#uml_chat.slide-out .btn 
{
	background: #f2A900;
	padding: 1em 1.5em;
	display: inline-block;
	border-radius: 4px;
	border: none;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	text-align: center;
	line-height: 1.1em;
	width: 100%;
}
#uml_chat.slide-out .btn:hover,
#uml_chat.slide-out .btn:active,
#uml_chat.slide-out .btn:focus
{
	background: #ffba1c;
}
#uml_chat.slide-out button 
{
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	-webkit-appearance: button;
	cursor: pointer;
	text-transform: none;
}
#uml_chat.slide-out .link-list a 
{
    position: relative;
    display: inline-block;
    padding: 0;
    color: #200800;
    text-decoration: none;
    line-height: 1.1764705882em;
}
#uml_chat.slide-out .link-list li 
{
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    list-style: none;
    line-height: 1;
    border-left: 2px solid #f2A900;
    padding: 0 0 0 .75em;
}
#uml_chat.slide-out .link-list 
{
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    list-style: none;
    margin: 1em 0 2em;
    color: #200800;
    padding: 0;
}
#uml_chat.slide-out .link-list a::after 
{
    width: .7058823529em;
    height: .7647058824em;
    background-image: url('//apps.lib.umanitoba.ca/public/imgs/ngwe/icons/arrow.gif');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    content: ' ';
    display: inline-block;
    margin-left: .2941176471rem;
    vertical-align: middle;
}

/**************************************************
	mobile
**************************************************/

@media only screen and (max-width: 768px) 
{
	#uml_chat.slide-out .ask_us
	{
		display: none;
	}
	#uml_chat.slide-out .ask_us_mobile
	{
		display: block;
	}
	#uml_chat.slide-out .chat_button 
	{
		width: 30px;
		padding: 15px 25px;
	}
}

/**************************************************
	IE 10/11
**************************************************/

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) 
{
	.uml_chat .launcher
	{
		display: block;
	}
}
