﻿@charset "utf-8";

/* CSS Document */
#chat-min-bar{
    cursor: pointer;
    display: inline-block;
    width: 80%;
}
#botmax {
    font-size: 20px;
    display:block;
}
.modal-dialog{
    max-width:2000px !important;
}
.modal-header{
    display:block;
}
.modal-header-text{
    font-size: initial !important;
    color: white !important;
    font-weight: 500 !important;
    line-height: 0 !important;
    white-space: nowrap;
    margin-top: 20px;
    margin-bottom: 10px;
    background: none;
}
.modal-footer-text{ 
    color: black;
    font-size: smaller !important;
    margin: 0 !important;
}
#footer-text{
    float: right !important;
}
.messagepop {
  background-color: #ffffff;
  border:1px solid #999999;
  cursor:default;
  display:none;
  margin-top: 15px;
  position:absolute;
  text-align:left;
  width:auto;
  z-index:999999999;
  padding: 25px 25px 20px;
}

.modalmin{
    display: block !important;
    width: 300px !important;
    height: 35px !important;
    bottom: 0 !important;
    right: 0 !important;
    background-color: rgba(0,0,0,0) !important;
}
.chatmin{
    position: absolute !important;
    width: 100% !important;
    right: 0 !important;
    height: 0 !important;
    bottom: 0 !important;
}
#chat-min {
    position: fixed !important;
    width: 300px !important;
    right: 0 !important;
    height: 35px !important;
    bottom: 0 !important;
    display: none;
    z-index: 9999999999;
    background-color: #217BC0;
    border-top: 2px solid;
    border-left: 2px solid;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999999999 !important; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    /*border: 1px solid #888;*/
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@-webkit-keyframes animatebottom {
    from {bottom:-300px; opacity:0;} 
    to {top:0; opacity:1}
}

@keyframes animatebottom {
    from {bottom:-300px; opacity:0}
    to {top:0; opacity:1}
}


.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px !important;
    background-color: #ffffff;
    
    color: white;
}
#mychatbot .modal-header {
    padding: 2px 16px;
    background-color: #217BC0;
    color: white;
    font-family: "Open Sans",Helvetica,Arial,sans-serif;
}
/* Changed the color from black to #FFFFFF and removed the opacity: .2 property */
#mychatbot .close, #chat-min .close { 
    color: #FFFFFF;   
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-top: -2px;
}
.modal-body {padding: 2px 16px;}

.modal-footer {
    padding: 2px 16px !important;
    color: white;
}
.modal {
  text-align: center;
  padding: 0!important;
}


.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
  margin-top: 15% !important;
}
#mychatbot .modal-dialog{
width:80%;
height:75%;
}
#mychatbot .modal-iframe{
	width:100%; 
	height:50vh;
}

@media all and (max-width: 750px) {
#botmax {
    display: none !important;
}
#mychatbot .modal-body {
        height: 90%;
}
.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
  margin-top: 0 !important;
}
#mychatbot{
position:absolute;
overflow:hidden;
}
#mychatbot .modal-dialog{
width:100%;
height:95vh;
margin:0;
}
#mychatbot .modal-content{
	width:100%;
     height: 100%;
	}
#mychatbot .modal-iframe{
	width:100%; 
	height:100%;
}
#chat-min{
    width: 100% !important;
    height: 35px !important;

}
}