.header1 {
    background-color: #baffc9;
}

.header2 {
    background-color: #acde12;
}

.closed {
    height: 50px;
}

.outerDiv {
    height: 500px;
}

.chatFrame {
    height: 90%;
}

@media screen and (max-height: 500px) {
    .outerDiv {
        height: 100%;
    }
    .chatFrame {
        height: 85%;
    }
}
#mlsFrame {
    height:100%;
    width:100%;
    overflow:scroll;
    position:absolute;
}

.glyphicon {
  font-size: 1.1em;
  float: right;
}

.glyphicon-triangle-top{

}
.glyphicon-triangle-top:after{
  content: '\25B2';
}
.glyphicon-triangle-bottom:after{
  content: '\25BC';
}
.glyphicon-triangle-bottom{

}

.chat_header{
  background-color: #baffc9;
  height: auto;
  width: 350px;
  text-align:center;
  font-size:large;
  font-weight:90;
  padding-top:10px;
  padding-bottom:10px;
}

/* New Chat CSS goes here [Nov 2021][start]*/

#chat-circle {
    
    bottom: 10px;
    right: 10px;
    background: #baffc9;
    width: 50px;
    height: 50px;  
    border-radius: 50%;
    color: black;
    padding: 0px;
    cursor: pointer;
    font-size:35px;
    text-align: center;
    box-shadow: 0px 3px 16px 0px rgba(0, 0, 0, 0.6), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.hide{
    /*display:none;  */
    visibility: hidden;  
}

#chat-box {

    background: #e0e0d3;
    position:fixed;
    right:10px;
    bottom:10px;  
    max-width: 90vw;
    max-height:100vh;
    border-radius:5px;  
    box-shadow: -1px -1px 5px 2px #ccc;
    }
.chat-box-toggle {
    float:right;
    margin-right:15px;
    cursor:pointer;
    padding: 0rem;
}
.chat-box-header {
    background: #baffc9;
    border-top-left-radius:5px;
    border-top-right-radius:5px; 
    color:black;
    text-align:center;
    font-size:25px;
    padding:17px;
}
.chat-box-body {
    position: relative;  
    height:80vh;  
    overflow: hidden;
    
}
.chat-box-body:after {
    content: "";
    opacity: 0.1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height:100%;
    position: absolute;
    z-index: -1;   
}
.error-box{
    padding: 2rem;
    border: 2px solid red;
    background-color: gold;
  }

.flash{
    animation-name: example;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

@keyframes example {
    from {background-color: royalblue;}
    to {opacity: 10;}
    /*to {background-color: #baffc9;}*/
}

#chat-bottom-container{
    position: fixed;
    bottom: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}
#chat-preview{
    display: inline-flex;
    align-items: center;
    position: relative;
    gap: 0.2rem;
    cursor: pointer;
}
#chat-preview-message{
    max-width: 360px;
    height: 100%;
    width: auto;
    padding: 1.0rem;
    border-radius: 0.2rem;
    box-shadow: 0px 3px 16px 0px rgba(0, 0, 0, 0.6), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    background-color: white;
    margin-right: 0.5rem;
}

#chat-preview-message.arrow-right:after {
    content: " ";
    position: absolute;
    right: -15px;
    top: 15px;
    border-top: 15px solid transparent;
    border-right: none;
    border-left: 15px solid white;
    border-bottom: 15px solid transparent;
    margin-right: 0.9rem;
}

.fa-times-circle{
    background-color: white;
    border-radius: 55%;
    color: dimgray;
}
.fa-times-circle:hover{
    color: darkslategray;
}

.appear-animation {
    animation-duration: 0.55s;
    animation-name: appear;
}

@keyframes appear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* New Chat CSS goes here [Nov 2021][END]*/