@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap");
* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}
body {
  font-family: Montserrat;
}

/* Navigation bar */
nav {
  background: transparent;
  height: 80px;
  width: 100%;
}
label.logo {
  color: white;
  font-size: 35px;
  line-height: 80px;
  margin-left: 5rem;
  font-weight: bold;
}
nav ul {
  float: right;
  margin-right: 60px;
}
nav li {
  display: inline-block;
  line-height: 80px;
  margin: 0 8px;
}
nav a {
  color: white;
  font-size: 17px;
  border: 1px solid transparent;
  padding: 7px 10px;
  border-radius: 3px;
}
nav .login,
nav a:hover {
  border: 1px solid white;
  border-radius: 18px;
  font-size: 17px;
  font-weight: bold;
  background: white;
  color: #0c003a;
  padding: 8px 14px;
  transition: 0.1s;
}

nav #icon {
  color: white;
  font-size: 30px;
  line-height: 80px;
  float: right;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}

/* banner */
.homepage {
  margin-top: -80px;

  background-size: cover;
  height: 100%;    /*  or 39 rem   */
}
/* title */

h1.title {
  font-family: Montserrat;
  color: white;
  font-size: 60px;
  font-weight: 700;
  padding-left: 7rem;
  padding-top: 8rem;
  line-height: 1;
}
/* Responsive design nav and banner */
@media (max-width: 1048px) {
  label.logo {
    font-size: 30px;
    margin-left: 7.5rem;
  }
  nav ul {
    margin-right: 18px;
  }
  nav a {
    font-size: 15px;
  }
}

@media (max-width: 813px) {
  nav #icon {
    display: block;
  }
  nav ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #9ba7b8;
    top: 80px;
    left: -100%;
    text-align: center;
    transition: all 0.5s;
  }
  nav li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }
  nav a {
    font-size: 25px;
    font-weight: bold;
    padding: 0;
  }
  nav .login {
    font-size: 25px;
    padding: 7px 68px;
  }
  nav a:hover {
    font-size: 25px;
    border: none;
    background: none;
    padding: 0;
    color: black;
  }
  nav ul.show {
    left: 0;
    top: 3.8rem;
  }

  h1.title {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    padding-left: 7%;
    padding-top: 8rem;
    line-height: 1;
  }
  .homepage {
    height: 48rem;
  }
}
@media (max-width: 345px) {
  nav #icon {
    margin-right: 3%;
  }
  label.logo {
    padding-left: 3%;
  }
  label.logo {
    padding: 0 5%;
  }
}

/* chat open and close */
.chat-bar-open {
  text-align: center;
  position: fixed;
  bottom: 40px;
  right: 50px;
}
.chat-bar-close {
  display: none;
  text-align: center;
  position: fixed;
  bottom: 40px;
  right: 50px;
}
.chat-bar-open .close,
.chat-bar-close .close {
  background-color: #fff;
  width: 70px;
  cursor: pointer;
  height: 70px;
  padding: 15px;
  border-radius: 50%;
  border-style: none;
  vertical-align: middle;
  box-shadow: rgb(0 0 0 / 10%) 0px 1px 6px, rgb(0 0 0 / 20%) 0px 2px 24px;
}
.chat-bar-close .close {
  width: 56px;
  height: 56px;
  padding: 12px;
}
.chat-bar-open .close img {
  height: 40px;
}
.chat-bar-close .close i {
  font-size: 30px;
}
.chat-bar-open .close::after {
  position: absolute;
  content: "";
  top: 43px;
  left: 37px;
  transform: rotate(-51deg);
  border-left: 23px solid transparent;
  border-right: 30px solid transparent;
  border-top: 30px solid #fff;
}
.chat-bar-close .close::after {
  position: absolute;
  content: "";
  top: 27px;
  left: 23px;
  transform: rotate(-55deg);
  border-left: 24px solid transparent;
  border-right: 29px solid transparent;
  border-top: 31px solid #fff;
}

/* chat window 1 */
.chat-window {
  width: 332px;
  height: 280px;
  border-radius: 10px;
  background-color: #fff;
  padding: 16px;
  z-index: 9999999;
  position: fixed;
  bottom: 120px;
  right: 54px;
  display: none;
  box-shadow: rgb(0 0 0 / 10%) 0px 1px 6px, rgb(0 0 0 / 20%) 0px 2px 24px;
}
.hi-there {
  background-color: #7f8ac5;
  color: #fff;
  padding: 20px 30px;
  border-radius: 5px;
}
.hi-there .p1 {
  font-size: 20px;
}
.hi-there .p2 {
  font-size: 13px;
}
.chat-window .start-conversation {
  padding: 15px 24px;
}
.chat-window .start-conversation h1 {
  font-size: 15px;
}
.chat-window .start-conversation p {
  font-size: 12px;
}
.chat-window .start-conversation button {
  cursor: pointer;
  border: none;
  border-radius: 20px;
  padding: 7px 30px;
  margin: 10px 0px;
  background-color: #13a884;
  color: white;
}
.chat-window .start-conversation button span {
  font-size: 14px;
}
.chat-window .start-conversation button i {
  font-size: 16px;
  position: relative;
  left: 6px;
  top: 3px;
}

/* chat window 2 */
.chat-window2 {
  display: none;
  width: 332px;
  height: 434px;
  border-radius: 10px;
  background-color: #fff;
  padding: 16px;
  z-index: 9999999;
  position: fixed;
  bottom: 120px;
  right: 54px;
  box-shadow: rgb(0 0 0 / 10%) 0px 1px 6px, rgb(0 0 0 / 20%) 0px 2px 24px;
}
.chat-window2 .hi-there .p2 {
  font-size: 12px;
}


/* chat window 2 */
.chat-window3 {
  float:left;
  width: 43%;
  height: 80%;
  border-radius: 10px;
  background-color: #fff;
  padding: 16px;
  z-index: 9999999;
  margin-top:25px;
  margin-right:15%;
 /* position: fixed;
  top: 23px;*/
  /*bottom:23px;*/
  /*left: 450px;*/
  box-shadow: rgb(0 0 0 / 10%) 0px 1px 6px, rgb(0 0 0 / 20%) 0px 2px 24px;
}

.chat-window3 .hi-there .p2 {
  font-size: 12px;
}


.message-box {
  height: 316px;
  width: 100%;
  padding-right: 5px;
  overflow: auto;
}
.message-box .first-chat {
  width: 200px;
  float: right;
  background-color: #4c5aa1;
  padding: 10px;
  margin: 14px 0px;
  border-radius: 5px;
  color: white;
}

.message-box .first-chat2 {
  min-width: 200px;
  max-width: 80%;
  float: right;
  background-color: #4c5aa1;
  padding: 10px;
  margin: 14px 0px;
  border-radius: 5px;
  color: white;
}

.message-box .first-chat-outer {
  width: 100%;
  float: right;

  padding: 10px;
  margin: 14px 0px;
  border-radius: 5px;
  color: white;
}

.message-box .first-chat p {
  font-size: 12px;
  overflow-wrap: break-word;
}
.message-box .first-chat .arrow {
  content: "";
  width: 0px;
  height: 0px;
  border-left: 9px solid transparent;
  border-right: 9px solid #4c5aa1;
  border-top: 9px solid #4c5aa1;
  border-bottom: 9px solid transparent;
  right: -172px;
  bottom: -23px;
  position: relative;
  margin-top: -15px;
}

.message-box .first-chat2 .arrow {
  content: "";
  width: 0px;
  height: 0px;
  border-left: 9px solid transparent;
  border-right: 9px solid #4c5aa1;
  border-top: 9px solid #4c5aa1;
  border-bottom: 9px solid transparent;
  right: -172px;
  bottom: -23px;
  position: relative;
  margin-top: -15px;
}

.message-box .second-chat {
  display: inline-block;
}

.message-box .second-chat .circle {
   background: url("../images/avatar.png") no-repeat center;
  background-size: 30px 30px;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  float: left;
  padding: 10px;
  margin-top: 10px;
  margin-right: 5px;
}
.message-box .second-chat #circle-mar {
  margin-top: 5px;
}

.message-box .second-chat p {
  font-size: 12px;
  overflow-wrap: break-word;
}
.message-box .second-chat p {
  width: 200px;
  float: left;
  background-color: #ecf1fb;
  padding: 12px;
  margin: 0px 5px;
  border-radius: 10px;
  color: #000;
}

.message-box .second-chat .arrow {
  content: "";
  width: 0px;
  height: 0px;
  border-right: 9px solid transparent;
  border-left: 9px solid #ecf1fb;
  border-top: 12px solid #ecf1fb;
  border-bottom: 9px solid transparent;
  margin-left: 40px;
  margin-top: -2%;
  display: inline-block;
}



.message-box .second-chat2 {
  display: inline-block;
  width:100%
}

.message-box .second-chat2 .circle {
  background: url("../images/avatar.png") no-repeat center;
  background-size: 30px 30px;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  float: left;
  padding: 10px;
  margin-top: 10px;
  margin-right: 5px;
}
.message-box .second-chat2 #circle-mar {
  margin-top: 5px;
}

.message-box .second-chat2 p {
  font-size: 12px;
  overflow-wrap: break-word;
}
.message-box .second-chat2 p {
  max-width: 80%;
  float: left;
  background-color: #ecf1fb;
  padding: 12px;
  margin: 0px 5px;
  border-radius: 10px;
  color: #000;
}

.message-box .second-chat2 .arrow {
  content: "";
  width: 0px;
  height: 0px;
  border-right: 9px solid transparent;
  border-left: 9px solid #ecf1fb;
  border-top: 12px solid #ecf1fb;
  border-bottom: 9px solid transparent;
  margin-left: 40px;
  margin-top: 31px;

}



.chat-window2 .input-box {
  position: absolute;
  font-size: 12px;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0px 30px;
  padding-bottom: 18px;
  border-top: 1px solid lightgray;
}
.chat-window2 .input-box .write-reply {
  float: left;
}
.chat-window2 .input-box .write-reply input[type="text"] {
  border: none;
  outline: none;
  font-size: 14px;
}
.chat-window2 .input-box .send-button {
  float: right;
  border: none;
  outline: none;
}
.chat-window2 .input-box .send-button button {
  border: none;
  background-color: transparent;
  cursor: pointer;
  outline: none;
}
.chat-window2 .input-box .send-button button i {
  color: grey;
  font-size: 20px;
  font-weight: bold;
}
.chat-window2 .input-box .surveysparrow img {
  width: 15px;
  margin-bottom: -4px;
}
.chat-window2 .input-box .surveysparrow p {
  display: inline;
  font-size: 10px;
  color: #636262;
}
.chat-window2 .input-box .surveysparrow {
  position: relative;
  bottom: 28px;
  right: -65px;
}




.chat-window3 .input-box {
  /*position: absolute;*/
  font-size: 12px;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0px 30px;
  padding-bottom: 18px;
  border-top: 1px solid lightgray;
}
.chat-window3 .message-box {
  height: 93%;
  width: 100%;
  padding-right: 5px;
  overflow: auto;
}
.chat-window3 .input-box .write-reply {
  float: left;
}
.chat-window3 .input-box .write-reply input[type="text"] {
  border: none;
  outline: none;
  font-size: 14px;
}
.chat-window3 .input-box .send-button {
  float: right;
  border: none;
  outline: none;
}
.chat-window3 .input-box .send-button button {
  border: none;
  background-color: transparent;
  cursor: pointer;
  outline: none;
}
.chat-window3 .input-box .send-button button i {
  color: grey;
  font-size: 20px;
  font-weight: bold;
}
.chat-window3 .input-box .surveysparrow img {
  width: 15px;
  margin-bottom: -4px;
}
.chat-window3 .input-box .surveysparrow p {
  display: inline;
  font-size: 10px;
  color: #636262;
}
.chat-window3 .input-box .surveysparrow {
  position: relative;
  bottom: 28px;
  right: -65px;
}






/* RESPONSIVE */
@media screen and (max-width: 396px) {
  .chat-window {
    right: 14px;
    bottom: 87px;
  }
  .hi-there {
    padding: 12px 30px;
  }
  .chat-window2 {
    right: 14px;
    bottom: 87px;
    height: 420px;
  }
  .chat-bar-open {
    bottom: 20px;
    right: 21px;
  }
  .chat-bar-close {
    bottom: 21px;
    right: 25px;
  }
  .message-box .second-chat .arrow {
  margin-left:41px;
  }
}

.typing-indicator {
  background-color: #E6E7ED;
  width: 80px;
  height: 15px;
  border-radius: 50px;
  padding: 20px;
  bottom:63px;
  display: none;
  margin-left: 17px;
  position: absolute;
  -webkit-animation: 2s bulge infinite ease-out;
          animation: 2s bulge infinite ease-out;
}
.typing-indicator:before, .typing-indicator:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: -2px;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background-color: #E6E7ED;
}
.typing-indicator:after {
  height: 10px;
  width: 10px;
  left: -10px;
  bottom: -10px;
}
.typing-indicator span {
  height: 10px;
  width: 10px;
  float: left;
  margin: -4px 1px;
  background-color: #9E9EA1;
  display: block;
  border-radius: 50%;
  opacity: 0.4;
}
.typing-indicator span:nth-of-type(1) {
  -webkit-animation: 1s blink infinite 0.3333s;
          animation: 1s blink infinite 0.3333s;
}
.typing-indicator span:nth-of-type(2) {
  -webkit-animation: 1s blink infinite 0.6666s;
          animation: 1s blink infinite 0.6666s;
}
.typing-indicator span:nth-of-type(3) {
  -webkit-animation: 1s blink infinite 0.9999s;
          animation: 1s blink infinite 0.9999s;
}

@-webkit-keyframes blink {
  50% {
    opacity: 1;
  }
}

@keyframes blink {
  50% {
    opacity: 1;
  }
}
@-webkit-keyframes bulge {
  50% {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
}
@keyframes bulge {
  50% {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
}

.box-knowledge-source {

      width:60%;
      height:80%;
      display: none;
      margin-left:30px;
	  border-radius: 15px;
	  -moz-border-radius: 15px;
	  -webkit-border-radius: 15px;
	  background-color:#fff;
	  border-left:2px solid #fff;
	  border-right:2px solid #fff;
	  padding: 20px;
    }

    /* Solid border */
hr.solid {
  border-top: 3px solid #bbb;
  margin:20px;
}

.styled-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 200px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}



.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}


  	.styled-table{

		border-collapse:collapse;
	}
	.styled-table td{
		padding:7px; border:#4e95f4 1px solid;
	}
	/* Define the default color for all the table rows */
	/*.styled-table tr{
		background: #b8d1f3;
	}*/
	/* Define the hover highlight color for the table row */
    .styled-table tr:hover {
          background-color: #ffff99;
    }

    .styled-table thead tr:hover{
        background-color: #009879;
    }

.user-session{
float:left;
  border-radius: 10px;
  background-color: #fff;
  padding: 16px;
  z-index: 9999999;
  margin-top:25px;
  margin-right:10px;
 /* position: fixed;
  top: 23px;*/
  /*bottom:23px;*/
  /*left: 450px;*/
  box-shadow: rgb(0 0 0 / 10%) 0px 1px 6px, rgb(0 0 0 / 20%) 0px 2px 24px;
}

.row-selected{
background-color: #d5e7ff;
}

#quickchat-input-container {
  /*position: absolute;*/
  /*bottom: 36px;*/
  /*width: calc(100% - 40px);*/
  width: 100%;
  display: flex;
  align-items: center;
}

#quickchat-input {
  /*border: 1px solid #d1d1d1;*/
  font-family: 'Helvetica Neue', Helvetica, sans-serif !important;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 8px;
  width: calc(100% - 36px);
  height: 35px;
  margin-right: 4px;
  word-break: break-word;
  resize: none;
  background-color: #f9f9f9;
  box-shadow: none;
  outline: none;
  line-height: normal;
}


#quickchat-footer {
  /*background-color: #fff;*/
  position: absolute;
  bottom: 10px;
  width: calc(100% - 40px);
  padding: 8px 0 6px 0;
}

#quickchat-send-msg-btn{
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

#quickchat-send-msg-btn:hover{
  color: #555;
  cursor: pointer;
}

#quickchat-send-msg-btn[disabled] {
  opacity: 0.5;
}

#quickchat-send-msg-btn[disabled]:hover {
  color: #888 !important;
  cursor: default !important;
}

#quickchat-send-msg-btn {
  color: #888;
  width: 35px;
  height: 35px;
  min-width: unset !important;
  padding: 0;
  background-color: transparent;
  border: none;
  box-shadow: none;
  outline: none;
}