body {
	font-family: 'Raleway', sans-serif;
}


/* ============= css related to chats =============== */

.widget {
	display: block;
	width: 400px;
	right: 50;
	height: 620px;
	bottom: 2%;
	position: fixed;
	background: #f7f7f7;
	border-radius: 10px 10px 10px 10px;
}

.chat_header {
	height: 60px;
	background: #1C7CF8;
	border-radius: 10px 10px 0px 0px;
	padding: 5px;
	font-size: 20px;
}

.chat_header_title {
	color: #29D36C;
	float: left;
	margin-top: 3%;
	margin-left: 24%;
	/* margin-left: 44%; */
}

.chats {
	/* display: none; */
	height: 500px !important;
	padding: 2px;
	border-radius: 1px;
	overflow-y: scroll;
	margin-top: 1px;
	transition: 0.2s;
}

.powered_by {
	width: 400px;
	right: 15px;
	height: 50px;
	bottom: 5%;
	position: fixed;
	color: #f7f7f7;
	border-radius: 10px 10px 10px 10px;
}

div.chats::-webkit-scrollbar {
	overflow-y: hidden;
	width: 0px;
	/* remove scrollbar space /
    background: transparent;
    / optional: just make scrollbar invisible */
}

.clearfix {
	margin-top: 2px;
	margin-bottom: 2px;
}

.botAvatar {
	border-radius: 50%;
	width: 1.5em;
	height: 1.5em;
	float: left;
	margin-left: 5px;
	/* border: 2px solid  #2c53af ; */
}


.botMsg {
	float: left;
	margin-top: 5px;
	background: white;
	color: black;
	margin-left: 0.5em;
	padding: 10px;
	border-radius: 1.5em;
	max-width: 60%;
	min-width: 25%;
	font-size: 10px;
	word-wrap: break-word;
	border-radius: 0 20px 20px 20px;
}

textarea {
	box-shadow: none;
	resize: none;
	outline: none;
	overflow: hidden;
	font-family: Raleway;
}

textarea::-webkit-input-placeholder {
	font-family: Raleway;
}

textarea-webkit-scrollbar {
	width: 0 !important
}

.userMsg {
	animation: animateElement linear 0.2s;
	animation-iteration-count: 1;
	margin-top: 5px;
	word-wrap: break-word;
	padding: 10px;
	float: right;
	margin-right: 0.5em;
	background: #29D36C;
	color: white;
	margin-bottom: 0.15em;
	font-size: 10px;
	max-width: 65%;
	min-width: 15%;
	border-radius: 20px 0px 20px 20px;
}

.userAvatar {
	animation: animateElement linear 0.3s;
	animation-iteration-count: 1;
	border-radius: 50%;
	width: 1.5em;
	height: 1.5em;
	float: right;
	margin-right: 5px;
}

.usrInput {
	padding: 0.5em;
	width: 80%;
	margin-left: 4%;
	border: 0;
	padding-left: 15px;
	height: 40px;
}

.keypad {
	/* display: none;  */
	background: white;
	position: absolute;
	bottom: 0px;
	width: 100%;
	padding: 5px;
	border-radius: 0px 0px 10px 10px;
}

#sendButton {
	height: 20px;
	width: 20px;
	border-radius: 50%;
	float: right;
	margin-right: 30px;
	text-align: center;
	padding: 5px;
	font-size: 20px;
	cursor: pointer;
	color: #1C7CF8;
}

.imgProfile {
	background: white;
	border-radius: 50px;
	width: 90px;
	padding: 2%;
}

.profile_div {
	display: none;
	position: fixed;
	padding: 5px;
	margin: 0 5px;
	/* width: 170px; */
	bottom: 0;
	right: 50;
	cursor: pointer;
}


/* css for dropdown menu of the bot */

#close,
#restart,
#clear {
	cursor: pointer;
}

.dropdown-trigger {
	cursor: pointer;
	color: white;
	margin-right: 5px;
	float: right;
	margin-top: 3%;
}

.dropdown-content li>a,
.dropdown-content li>span {
	color: #1C7CF8;
}

@keyframes animateElement {
	0% {
		opacity: 0;
		transform: translate(0px, 10px);
	}
	100% {
		opacity: 1;
		transform: translate(0px, 0px);
	}
}


/*========== css related to chats elements============= */


/* css for card details of carousel cards */

.content {
	transition: 0.2s;
	display: none;
	width: 350px;
	right: 15px;
	height: 500px;
	bottom: 5%;
	position: fixed;
	background: white;
	border-radius: 10px 10px 10px 10px;
}

.content_header {
	object-fit: cover;
	width: 100%;
	height: 40%;
	border-radius: 10px 10px 0px 0px;
}

.content_data {
	overflow-y: scroll;
	height: 70%;
	position: absolute;
	left: 0px;
	width: 100%;
	top: 30%;
	z-index: 1000;
	border-radius: 10px;
	background: white;
	padding: 5px;
}

.content_title {
	color: black;
	font-weight: 600;
	word-wrap: break-word;
	padding-left: 5px;
	font-size: 1.2em;
	width: 80%;
	border-radius: .28571429rem;
}

.votes {
	font-size: 12px;
	color: lightslategray;
}

.ratings {
	margin-top: 5px;
	background: #9ACD32;
	padding: 5px;
	color: white;
	border-radius: 5px;
}

.user_ratings {
	border-radius: .28571429rem;
	color: #fff;
	font-weight: 600;
	font-size: 15px;
}

.total_ratings {
	font-size: 12px;
	opacity: .5;
	margin-left: 5px;
}

.content_data>.row .col {
	padding: 5px;
}

.metadata_1,
.metadata_2,
.metadata_3,
.metadata_4,
.row {
	margin-bottom: 0px;
}

.metadata_1 {
	color: lightslategrey;
	padding: 5px;
}

.order,
#closeContents {
	color: #29D36C;
}

.metadata_2,
.metadata_3,
.metadata_4,
.metadata_5,
.metadata_6 {
	color: lightslategrey;
	padding: 5px;
}

.average_cost,
.timings,
.location,
.cuisines {
	width: 70%;
	float: right;
	margin-right: 25%;
}

.fa .fa-user-o {
	font-size: 15px;
}

.stars-outer {
	display: inline-block;
	position: relative;
	font-family: FontAwesome;
}

.stars-outer::before {
	content: "\f006 \f006 \f006 \f006 \f006";
}

.stars-inner {
	position: absolute;
	top: 0;
	left: 0;
	white-space: nowrap;
	overflow: hidden;
	width: 0;
}

.stars-inner::before {
	content: "\f005 \f005 \f005 \f005 \f005";
	color: #f8ce0b;
}

div.content::-webkit-scrollbar {
	width: 0 !important
}

div.content_data::-webkit-scrollbar {
	overflow-y: hidden;
	width: 0px;
	/* remove scrollbar space /
    background: transparent;
    / optional: just make scrollbar invisible */
}


/* css for single card */

.singleCard {
	padding-left: 10%;
	padding-right: 10px;
}


/* css for image card */

.imgcard {
	object-fit: cover;
	width: 80%;
	height: 90%;
	border-radius: 10px 10px 10px 10px;
	margin-left: 1%;
}


/* css for video/audio cards (#975, ADR #967 A.4) -- renderMediaAttachment
   builds these classes via string concatenation ("video"/"audio" + "card"),
   so a literal grep for ".videocard"/".audiocard" won't find the JS side.
   No sizing rule existed before this, so a <video>'s native width could
   overflow the widget on a narrow layout the way .imgcard already guards
   against for images. */

.videocard {
	max-width: 80%;
	width: 100%;
	border-radius: 10px 10px 10px 10px;
	margin-left: 1%;
}

.audiocard {
	max-width: 90%;
	width: 100%;
	margin-left: 1%;
}


/* css for suggestions buttons */

.suggestions {
	padding: 5px;
	width: 66%;
	border-radius: 10px;
	background: #ffffff;
}

.menuTitle {
	padding: 5px;
	margin-top: 5px;
	margin-bottom: 5px;
}

.menu {
	padding: 5px;
}

.menuChips {
	display: block;
	background: #1C7CF8;
	color: #fff;
	text-align: center;
	padding: 5px;
	margin-bottom: 5px;
	cursor: pointer;
	border-radius: 15px;
	font-size: 11px;
	word-wrap: break-word;
}


/* cards carousels */

.cards {
	display: none;
	position: relative;
	max-width: 300px;
}

.cards_scroller {
	overflow-x: scroll;
	overflow-y: hidden;
	display: flex;
	height: 210px;
	width: 300px;
	transition: width 0.5s ease;
	margin-left: 5px;
	/* Enable Safari touch scrolling physics which is needed for scroll snap */
	-webkit-overflow-scrolling: touch;
}

.cards_scroller img {
	border-radius: 10px;
}

.cards div.note {
	position: absolute;
	/* vertically align center */
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.6);
	padding: 20px;
	position: absolute;
	font-size: 4em;
	color: white;
}

.cards .arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	height: 30px;
	width: 30px;
	border-radius: 2px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	z-index: 1;
}

.cards .arrow.next {
	display: none;
	font-size: 2em;
	color: #ffffff;
	right: 10px;
}

.cards .arrow.prev {
	display: none;
	font-size: 2em;
	color: #ffffff;
	left: 10px;
}

.cards_scroller::-webkit-scrollbar {
	width: 0 !important
}

.cards_scroller>div.carousel_cards {
	margin: 5px;
	scroll-snap-align: center;
	position: relative;
	scroll-behavior: smooth;
}

.cards_scroller div.carousel_cards {
	min-width: 50%;
	min-height: 70%;
	background: #b5b5b5;
	border-radius: 10px;
}

@-webkit-keyframes fadeInLeft {
	from {
		opacity: 0;
		-webkit-transform: translatex(-10px);
		-moz-transform: translatex(-10px);
		-o-transform: translatex(-10px);
		transform: translatex(-10px);
	}
	to {
		opacity: 1;
		-webkit-transform: translatex(0);
		-moz-transform: translatex(0);
		-o-transform: translatex(0);
		transform: translatex(0);
	}
}

.in-left {
	-webkit-animation-name: fadeInLeft;
	-moz-animation-name: fadeInLeft;
	-o-animation-name: fadeInLeft;
	animation-name: fadeInLeft;
	-webkit-animation-fill-mode: both;
	-moz-animation-fill-mode: both;
	-o-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-duration: 0.8s;
	-moz-animation-duration: 0.8s;
	-o-animation-duration: 0.8s;
	animation-duration: 0.8s;
	-webkit-animation-delay: 0.8s;
	-moz-animation-delay: 0.8s;
	-o-animation-duration: 0.8s;
	animation-delay: 0.8s;
}


/* css for cards within the cards carousels */

.cardBackgroundImage {
	width: 100%;
	border-radius: 5px;
	height: 100%;
	position: absolute;
	object-fit: cover;
}

.cardFooter {
	background: rgba(56, 53, 60, 0.86);
	border-radius: 0px 0px 5px 5px;
	position: absolute;
	z-index: 3;
	color: white;
	bottom: 0;
	width: 100%;
	height: 30%;
	word-wrap: break-word;
	padding: 1px;
}

.cardTitle {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	width: 90%;
	height: 40%;
	display: inline-block;
	margin-bottom: 1px;
	font-size: 15px;
	/* font-weight: 600; */
	padding: 5px;
	/* color: #2c53af; */
	color: #ffffff;
	cursor: pointer;
}

.cardDescription {
	padding: 5px;
	font-size: 10px;
	color: white;
	line-height: 15px;
}


/* css for quick replies */

.quickReplies {
	padding: 5px;
	position: relative;
	width: 100%;
	overflow-x: scroll;
	overflow-y: hidden;
	white-space: nowrap;
	transition: all 0.2s;
	transform: scale(0.98);
	will-change: transform;
	user-select: none;
	cursor: pointer;
	scroll-behavior: smooth;
}

.quickReplies::-webkit-scrollbar {
	width: 0 !important
}

.quickReplies.active {
	cursor: grabbing;
	cursor: -webkit-grabbing;
	transform: scale(1);
}

.chip {
	background-color: white;
	border: 1px solid #29D36C;
	color: #29D36C;
	font-weight: bolder;
	text-align: center;
}

.chip:hover {
	background-color: #29D36C;
	color: white;
}


/* css for charts */

#expand:hover {
	font-size: 18px;
}

#expand {
	position: absolute;
	right: 10px;
	top: 10px;
}

.modal {
	height: 60%;
	border-radius: 10px;
}

.chart-container {
	position: relative;
	margin: auto;
	height: 25vh;
	width: 20vw;
	border-radius: 10px 10px 10px 10px;
	margin-left: 5%;
	background: white;
	margin-top: 5px;
}


/* css for collapsible */

.collapsible {
	margin-top: 5px;
	margin-left: 5%;
	max-width: 60%;
	min-width: 25%;
	font-size: 10px;
	word-wrap: break-word;
	border-radius: 20px;
	background: white;
}

.collapsible-body {
	padding: 15px;
}

.collapsible-header {
	font-weight: bold;
	color: #29D36C;
}

ul.collapsible>li:first-child .collapsible-header {
	border-radius: 20px 20px 0px 0px;
}

ul.collapsible>li:last-child .collapsible-header {
	color: #29D36C;
	border-radius: 0px 0px 20px 20px;
}

ul.collapsible>li:last-child .collapsible-body {
	border-bottom: none;
}

.collapsible-header {
	padding: 10px;
}


/* css for botTyping */

.botTyping {
	float: left;
	margin-top: 5px;
	background: white;
	color: #29D36C;
	margin-left: 0.5em;
	padding: 15px;
	border-radius: 0 20px 20px 20px;
	max-width: 60%;
	min-width: 20%;
	word-wrap: break-word;
	border-radius: 0 20px 20px 20px;
}

.botTyping>div {
	width: 10px;
	height: 10px;
	background-color: #29D36C;
	border-radius: 100%;
	display: inline-block;
	-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
	animation: sk-bouncedelay 1.4s infinite ease-in-out both;
	margin-right: 5px;
}

.botTyping .bounce1 {
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
}

.botTyping .bounce2 {
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
	0%,
	80%,
	100% {
		-webkit-transform: scale(0)
	}
	40% {
		-webkit-transform: scale(1.0)
	}
}

@keyframes sk-bouncedelay {
	0%,
	80%,
	100% {
		-webkit-transform: scale(0);
		transform: scale(0);
	}
	40% {
		-webkit-transform: scale(1.0);
		transform: scale(1.0);
	}
}

input:focus {
	outline: none;
}

video:focus {
	outline: none;
}

.pdf_attachment {
	background-color: #fff;
	width: 66%;
	height: 54px;
	border-radius: 10px;
	margin-bottom: 13px;
}

.pdf_icon {
	border-radius: 10px 0px 0px 10px;
	height: 100%;
	font-size: 25px;
	padding: 7% !important;
	background-color: #1C7CF8;
	color: white;
}

.pdf_link {
	height: 100%;
	/* 1. Turn the wrapper into a flex container */
	display: flex;
	align-items: center;     /* Vertically centers the anchor */
	justify-content: center;  /* Horizontally centers the anchor */
	
	/* 2. Adjusted padding so it doesn't push the text off-center */
	padding: 0 10px !important; 
	overflow: hidden;
}

.pdf_link a {
	color: #060dcfc7;
	font-size: 11px;

	/* 3. Moved truncation properties here so ellipsis works perfectly with flexbox */
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: inline-block;
}

/* CTA link card -- the `{cta: {...}}` custom payload (#61). Body text sits in a
   .botMsg inside, so only the wrapper and the action link need styling here. */
.cta_url {
	background-color: #fff;
	width: 66%;
	border-radius: 10px;
	margin-bottom: 13px;
	padding: 10px;
}

/* Deliberately not .botMsg: that class floats left at max-width 60% with its own
   bubble background, which inside this card would let the footer and link wrap
   beside the body instead of stacking under it. */
.ctaBody {
	color: black;
	font-size: 10px;
	margin: 0 0 4px 0;
	word-wrap: break-word;
}

.ctaFooter {
	/* 4.6:1 on the card's white background. */
	color: #6b7780;
	font-size: 11px;
	margin: 4px 0 8px 0;
}

.cta_url a {
	display: block;
	text-align: center;
	padding: 8px;
	border-top: 1px solid #e9edef;
	/* 5.6:1 on white. The widget's brand blue #1C7CF8 is only 3.97:1, which fails
	   WCAG AA for text this size -- it is fine as a background or an icon, not as
	   the label of the one thing this card exists to be clicked on. */
	color: #0066CC;
	font-size: 13px;
	text-decoration: none;
}

.parent {
	display: flex;
	align-items: flex-start;
}
.parent .centered {
	align-self: center;
}

@media only screen and (max-height: 650px) {
	.widget {
		width: 350px;
		height: 520px;
	}

	.chat_header {
		height: 50px;
	}

	.chat_header_title {
		color: #29D36C;
		float: left;
		margin-top: 3%;
		margin-left: 29%;
		font-size: 15px;
	}

	.chats {
		height: 400px !important;
	}
  }

  @media only screen and (max-width: 410px) {
	.widget {
		display: none;
		width: 100%;
		right: 0;
		max-height: 620px;
		bottom: 2%;
		position: fixed;
		background: #f7f7f7;
		border-radius: 10px 10px 10px 10px;
	}


	.chat_header {
		height: 50px;
	}

	.chat_header_title {
		color: #29D36C;
		float: left;
		margin-top: 3%;
		margin-left: 29%;
		font-size: 15px;
	}

	.chats {
		height: 400px !important;
	}
  }