.chatbot {
  position: fixed;
  z-index: 999;
  width: 480px;
  height: 1080px;
  max-height: 100vh;
  right: -480px;
  background-color: #FFF;
  transition: right 0.3s ease-in-out;
  border-top-left-radius: 22px;
}
.chatbot.open {
  right: 0;
  -webkit-box-shadow: 0 2px 44px 0 rgba(0,0,0,0.3);
  box-shadow: 0 2px 44px 0 rgba(0,0,0,0.3);
}
.chatbot .tab {
  cursor: pointer;
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  margin-left: -84px;
  height: 70px;
  bottom: 90px;
  border-radius: 22px 0 0 22px;
  background-color: #DBDFE1;
  -webkit-box-shadow: inset 2px 2px 7px 0 rgba(0,54,103,0.04), 2px 2px 7px 0 rgba(0,54,103,0.15);
  box-shadow: inset 2px 2px 7px 0 rgba(0,54,103,0.04), 2px 2px 7px 0 rgba(0,54,103,0.15);
}


.chatbot .tab .slide-right i {
    color: var(--darkblue)!important;
	transition: color 0.5s ease;

}


.chatbot .tab .slide-left i {
	color:var(--themeTan)!important;
	transition: color 0.5s ease;

}


.chatbot .tabicon {
  color: #075270;
  font-size: 45px;
}

.chatbot .tabicon i {
	font-weight: 900;
}

.chatbot .chatFrame {
  position: relative;
  z-index: 2;
  background-color: #FFF;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 50px 30px 0 30px;
}

.chatbot .chatFrame > .title,
.chatbot .chatFrame > .subtitle {
  padding: 0 30px;
  margin-bottom: 10px;
}
.chatbot .chatFrame > .title {
  font-size: 23px;
  text-align: center;
}
.chatbot .chatFrame > .subtitle {
  display: flex;
  justify-content: center;
}
.chatbot .chatFrame > .subtitle a {
  color: #2D2D2D;
}
.chatbot .chatFrame > .subtitle ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}
.chatbot .chatFrame > .subtitle ul > li {
  margin-left: 10px;
}

.chatbot .chatFrame > .toolbar {
  position: absolute;
  left: 25px;
  top: 10px;
}
.chatbot .chatFrame > .toolbar .leftbuttons {
  display: flex;
  flex-direction: column;
}
.chatbot .chatFrame > .toolbar .leftbuttons a {
  color: #BC314A;
  display: inline-block;
  margin-top: 10px;
  font-size: 20px;
  margin-left: -10px;
}

.chatbot #chat-text {
  flex-grow: 1;
  overflow-y: auto;
  padding: 15px 45px;
}
.chatbot #chat-text .bubble {
  position: relative;
  padding: 45px;
  background-color: #F1F5F8;
  border-radius: 7px;
  -webkit-box-shadow: inset 2px 2px 7px 0 rgba(0,54,103,0.04), 2px 2px 7px 0 rgba(0,54,103,0.15);
  box-shadow: inset 2px 2px 7px 0 rgba(0,54,103,0.04), 2px 2px 7px 0 rgba(0,54,103,0.15);
  margin-bottom: 20px;
}
.chatbot #chat-text .bubble a {
  color: #BC314A;
  text-decoration: underline;
}
.chatbot #chat-text .bubble input[type="button"] {
  font-size: 18px;
  font-weight: 700;
  color: #075270;
  border: none;
  background: none;
  border-top: solid 2px #9FACB6;
  display: block;
  width: 100%;
  text-align: left;
  margin-bottom: 5px;
  padding: 0;
  margin-top: 5px;
}
.chatbot #chat-text .bubble span + input[type="button"] {
  margin-top: 20px;
}
.chatbot #chat-text .bubble.card1::before {
  content: url('https://chatbot-ffx.virginiainteractive.org/images/ffx_seal.png');
  position: absolute;
  top: -15px;
  left: -15px;
}

.chatbot #chat-message {
  padding: 50px;
  background-color: #F1F5F8;
  margin: 0 -30px;
}
.chatbot #chat-message .inputbox {
  border: none;
  border-radius: 7px;
  /* -webkit-box-shadow: inset 2px 2px 7px 0 rgba(0,54,103,0.04), 2px 2px 7px 0 rgba(0,54,103,0.15); */
  /* box-shadow: inset 2px 2px 7px 0 rgba(0,54,103,0.04), 2px 2px 7px 0 rgba(0,54,103,0.15); */
  width: 100%;
  padding: 15px;
  resize: none;
}
.chatbot #chat-message .inputbutton {
  border-color: #BC314A;
  background-color: #BC314A;
  color: #FFF;
  width: 100%;
  border-radius: 28px;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  padding: .75rem;
  border-width: 2px;
  margin-top: 12px;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}


@media (max-width: 767px) {
	

	
  .chatbot {
    max-width: calc(100vw);
  }
  .chatbot:not(.open) {
    /* right: calc(-100vw + 84px); */
  }
  .chatbot .chatFrame {
    padding: 30px 0px 0 0px;
  }
  .chatbot .chatFrame > .toolbar {
    left: 0;
    bottom: 205px;
    top: 0;
  }
  .chatbot .chatFrame > .toolbar .leftbuttons {
	left: 12px;
  }
  .chatbot #chat-text {
    padding: 15px 20px 15px 45px;
  }
  .chatbot #chat-text .bubble {
    padding: 25px;
  }
  .chatbot #chat-text .bubble.card1 {
    padding-top: 45px;
  }
  .chatbot #chat-message {
    margin-left: -20px;
    margin-right: -10px;
    padding: 20px;
  }
}


/* original */

.chatbot {
    border-left: 1px solid #A6ACB0;
    position: fixed;
    width: 33%;
    right: -33%;
    z-index: 10000;
    text-align: center;
    height: 100%;
    font-size: 18px;
    color: #000;
    background: rgba(255, 255, 255, .95);
    display: block;
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
    cursor: pointer;
    bottom: 0px;
    box-shadow: -2px 4px 4px 1px #46464699;
    display: none;
}


.chatbot .toast {
	background-color: white;
    left: -390px;
    right: 0px;
    bottom: 25px;
    display: block;
    position: absolute;
    border-radius: 18px;
    font-size: .85rem;
    padding: 12px 40px;
    box-shadow: -2px 4px 4px 1px #46464699;
}

.chatbot .toast .button{
	zoom:85%;
}

.chatbot .toast::before {
	content: 'x';
    left: -6px;
    position: absolute;
    top: -5px;
    background: white;
    border-radius: 28px;
    width: 26px;
    height: 26px;
    border: 1px solid #033B52;
    line-height: 22px;
    color: #033B52;
    font-size: 1rem;
    font-weight: 700;
}

.chatbot .toast .title {
}

.chatbot .toast .title h3 {
    font-size: 1.2rem;
    line-height: 1.2rem;
    letter-spacing: -1px;
    margin-bottom: 0.8rem;
}

.chatbot .toast div[class^="content"] {
    padding-bottom: 1rem;
}

.chatbot .toast .btn {
	
}

.chatbotRight {
    right: -33%;
}

.chatHeader {
    display: block;
    position: relative;
    clear: both;
    height: 0px;
}

.chatHeader img {
    width: 36px;
    padding: 4px;
}

.chatFrame {
    display: block;
    position: relative;
    clear: both;
    width: 100%;
    height: 100%;
}

.chatFrame .toolbar {
    width: auto;
    height: 4px;
    display: block;
    float: left;
    font-size: 15px;
    height: 50px;
}

.chatFrame .toolbar .leftbuttons {
    float: left;
    top: 0px;
    position: absolute;
    left: 8px;
}

.chatFrame .toolbar .title {
    top: 8px;
    left: 50px;
    position: absolute;
    font-size: 1.5rem;
    color: var(--themeBlueDk);
    width: auto;
    display: block;
    position: relative;
    float: left;
    white-space: nowrap;
    text-align: left;
}

.chatFrame .toolbar a {
    padding: 8px;
    cursor: pointer;
    float: left;
    color: #A6ACB0!important;
    font-size: 26px;
    padding-top: 6px;
    padding-right: -25px;
    margin-left: -2px;
}

.chatFrame .toolbar a:hover,
.chatFrame .toolbar a:focus {
    text-decoration: none;
    color: #A6ACB0!important;
}

.chatFrame .liveChatLink {
    text-decoration: underline;
    cursor: pointer;
    line-height: 0px!important;
}

.chatFrame .liveChatLink img {
    padding: 8px 0 0 0!important;
}

.chatFrame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    margin-top: -30px;
}

.chatFrame img {
    padding: 0px!important;
}

.chatbot.tabout-color .tabicon i {
    color: var(--themeTan)!important;
    transition: color .5s ease-in;
}

@media screen and (max-width: 1400px) {
	.chatFrame .toolbar .title {
		font-size:1.2rem;
	}

}

@media screen and (max-width: 1200px) {
	
.chatFrame iframe {
		margin-top: -25px;
		padding-bottom: 0;
		margin-bottom: 0;
	}
    .chatbot {
		width: 50%;
		top: 0;
		height: 100%;
        right: -50%;
        display: none;
    }

}
@media screen and (max-width: 992px) {
	.chatFrame iframe {
		margin-top: -25px;
		padding-bottom: 0;
		margin-bottom: 0;
	}
    .chatbot {
		width: 90%;
		top: 0;
		height: 100%;
        right: -90%;
        display: none;
    }
	#phplive_iframe_chat_embed_wrapper {
		width: 90%!important;
		top: 0!important;
		height: 100%!important;
        right: -90%!important;
	}
	
	.chatbot .tab { 
		bottom: 20px!important;
	}
	
	.chatbot.open .tab { 
		bottom: 20px!important;
		border-radius: 57px;
		width: 70px;
		margin-left: -34px;
		z-index: 10;
	}
	
}

@media (max-width: 500px) {
    .chatFrame .toolbar .title {
        overflow: hidden;
        height: 28px;
        text-align: left;
        width: auto;
        display: block;
        position: relative;
        float: left;
        white-space: nowrap;
        font-size: 1em;
        line-height: 1.7em;
		left: 48px;
        top: 11px;
    }
    .chatFrame .toolbar .leftbuttons {
        left: 0px;
    }
}


@media (max-width: 340px) {
    .chatFrame .toolbar .title {
        font-size: .9em;
        line-height: 2em;
    }
}