    /* ####################################################
    :: Template Name: Essence - Fashion Ecommerce Template
    :: Author: Colorlib
    :: Author URL: https://colorlib.com
    :: Description: Essence is smart & elegant fashion e-commerce Template. It's suitable for all e-commerce business platform.
    :: Version: 1.0.0
    :: Created: April 27, 2018
    :: Last Updated: May 2, 2018
    #################################################### */

    /* ---------------------------------------
    ##### - PLACE YOUR CUSTOM CSS HERE - #####
    --------------------------------------- */
    .pace .pace-progress {
    background: #1abb9c;
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 100%;
    width: 100%;
    height: 2px;
}

.pace {
    -webkit-pointer-events: none;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.pace-inactive {
    display: none;
}

.navmenu ul li.active a{
    color: var(--nav-hover-color);
}

.img-fluid{
    width: 100%;
}


/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  text-align: center;
  padding: 0px 0px 10px 0px;
  position: relative;
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

.footer .copyright {
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

.open-button {
    background-color: #4285f4 !important;
    color: white;
    padding: 9px 12px;
    border: none;
    cursor: pointer;
    position: fixed;
    bottom: 0px;
    right: 20px;
    border-radius: 10px 10px 0px 0px;
    z-index: 666;
}


/* The popup chat - hidden by default */
.chat-popup {
  display: none;
  position: fixed;
  bottom: 0px;
  right: 20px;
  border: 1px solid #f1f1f1;
  z-index: 9;
  background-color: white;
  z-index: 9999;
  width: 280px;
}

#list-chat {
    width: 100%;
    z-index: 9;
    background-color: white;
    z-index: 9999;
    
}

#list-chat #wrap-list{
  min-height: 400px;
}
#chat #chat-loader{
  display: none;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  #background:#fff url(../images/ajax-loader.gif) no-repeat center center;
}

#list-chat #wrap-list .list-chat-item{
    width: 100%;
    line-height: 37px;
    margin: 0px auto 0px;
    background: #fff;
    border-bottom: 1px solid #f2f2f2;
    cursor: pointer;
}
#list-chat #wrap-list .list-chat-item > a{
  display: block;
  width: 100%;
  font-weight: normal;
  padding: 5px 10px;
  font-size: 17px;
}
.list-chat-item > a:hover{
  background-color: #f2f2f2;
}

.mess_acctive{
  background-color: #A4E993;
  font-weight: bold !important;
}

.chat-popup .input_u_name{
  position: absolute;
    width: 100%;
    top: 0px;
    left: 0px;
    background: #444;
    height: 100%;
    z-index: 9999;
    opacity: 0.9;
}
.chat-popup .input_u_name > p{
  margin: 10% 10%;
}
.chat-popup .input_u_name > p > .btnInpUName,.chat-popup .input_u_name > p > .btnEditUName{
  margin: 5px 5px 0px 0px;
}

.form-container .chat_title{
  font-size: 17px;
    padding: 5px 3px;
    #background: #2039ad;
    background-image: linear-gradient(180deg, #5622ED, #2253ED);
    color: #fff;
    font-weight: 0;
    margin-bottom: 0px !important;
}

.p-chat-right{
      text-align: left;
}
.p-chat-right > span{
  background-color: #1877F2 !important;
  color: #fff;
}
.p-chat-left > span.chat-u-name{
  background-color: #3d5a61 !important;
  color: #fff;
  float: left;
  padding: 0px 7px !important;
}
.p-chat-left > span{
  color: #000;
}
.chat-created-on{
  font-size: 10px;
  display: none;
  margin: 0px !important;
  clear: both;
}
#chat-wrap { 
  border: none; 
  margin: 0 0 10px 0; 
  max-height: 300px;
  overflow-y: scroll;
}
#chat-area{ 
    height: max-content;
    min-height: 300px;
    overflow: auto;
    #max-height: 160px;
    #border: 1px solid #666;
    padding: 2px 2px;
    background: white;
    overflow-wrap: break-word;
}

#chat-area span{ 
       background: #ddd;
    padding: 5px 7px;
    font-size: 16px;
    -webkit-border-radius: 5px;
    margin: 0 5px 0 0;
}
.form-container label.welcome_guest{
  font-size: 13px;
    padding: 0px 5px;
}
#chat-area > div{
    padding: 1px 1px;
    margin: 4px 0px 0px 0px;
    color: #444;
    -moz-border-radius: 5px;
    -webkit-border-radius: 4px;
    clear: both;
    overflow: hidden;
}
#chat-area p#_more{
text-align: center;
    margin: 0px;
    padding: 0px;
    background: none;
}
#chat-area p > .loadmore{
      font-size: 12px;
    color: #fff;
    background: #666;
    padding: 2px 6px;
    border-radius: 4px;
}
#chat-area .top-chat-created-on{
  font-size: 11px;
  text-align: center;
  margin: 0px;
}

#chat-area .chat-content{
  padding: 0px 7px;
  overflow-wrap: break-word;
  float: left;
  -webkit-border-radius:5px 0px 5px 0px !important;
  -moz-border-radius: 5px 0px 5px 0px !important;
}

#chat{
position: fixed;
bottom: 0px;
width: 300px;
height: 400px;
right: 10px;
display: none;
background: #fff;
border-radius: 8px 8px 0px 0px;
box-shadow: 0px 0px 4px 0px #888;
z-index: 9999;
}

#chat .header-list h2.title .fa-comment-title-chat{
  padding: 0px 5px;
  font-size: 15px;
}



#chatbox {
    width: 290px;
    background: #fff;
    border-radius: 20px 20px 0px 0px;
    overflow: hidden;
    height: 70%;
    position: fixed;
    bottom: 0px;
    right: 20px;
    box-shadow: 0px 0px 5px 0px #c2c2c2;
    z-index: 777;
    display: none;
}

#chatbox .header-list{
border-radius: 5px 5px 0px 0px;
padding: 10px 0px;
    background: #4285f4 !important;
    width: 100%;
}
#chatbox .header-list > span.btn-close{
position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 13px;
    z-index: 9999;
}

#chatbox .header-list > span.btn-back{
position: absolute;
left: 5px;
top: 5px;
font-size: 30px;
color: #fff;
cursor: pointer;
display: none;
padding: 0px 8px;
}
#chatbox .header-list > span.btn-back:hover{
  color: #000;
}
#chatbox .header-list h2.title{
font-size: 17px;
text-align: left;
color: #fff;
padding: 0px 0px 0px 15px;
margin: 0px;
font-weight: bold;
color: #fff !important;
border-radius: 5px 5px 0px 0px;
text-transform: uppercase;
}

#chatbox .header-list p{
  color: #f2f2f2;
    padding: 5px 0px 0px 15px;
    margin: 0px;
    opacity: 0.8;
  }

#chatbox > .header-list h2.title > a{
color: #fff;
}

#friendslist{
  position:absolute;
  top:0;
  left:0;
  width:290px;
  height:100%;
}
#topmenu{
}
#topmenu span.friends{margin-bottom:-1px;}
#topmenu span.chats{background-position:-95px 25px; cursor:pointer;}
#topmenu span.chats:hover{background-position:-95px -46px; cursor:pointer;}
#topmenu span.history{background-position:-190px 24px; cursor:pointer;}
#topmenu span.history:hover{background-position:-190px -47px; cursor:pointer;}
#friends{
  height: 85%;
  overflow: hidden;
    clear: both;
}
#friends:hover{
  overflow-y: scroll;
}
/*
 *  STYLE 4
 */

#friends::-webkit-scrollbar-track
{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  background-color: #F5F5F5;
}

#friends::-webkit-scrollbar
{
  width: 6px;
  background-color: #F5F5F5;
}

#friends::-webkit-scrollbar-thumb
{
  background-color: #000000;
  border: 2px solid #555555;
}

.friend{
  height:78px;
  border-bottom:1px solid #e7ebee;    
  position:relative;
}
.friend:hover{
  background:#f1f4f6;
  cursor:pointer;
}
.friend img{
  width:40px;
  border-radius:50%;
  margin:15px;
  float:left;
}
.floatingImg{
  width:40px;
  border-radius:50%;
  position:absolute;
  top:0;
  left:12px;
  border:3px solid #fff;
}
.friend p{
  padding:15px 0 0 0;     
  float:left;
  width:200px;
}
.friend p strong{
  font-weight:600;
  font-size:15px;
  color:#597a96;  

}
.friend p span{
  font-size:13px;
  font-weight:400;
  color:#aab8c2;
}
.friend .status{
  background:#26c281;
  border-radius:50%;  
  width:9px;
  height:9px;
  position:absolute;
  top:31px;
  right:17px;
}
.friend .status.away{background:#ffce54;}
.friend .status.inactive{background:#eaeef0;}
#search{
  background:#e3e9ed url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/245657/search.png") -11px 0 no-repeat;
  height:60px;
  width:290px;
  position:absolute;
  bottom:0;
  left:0;
}
#searchfield{
  background:#e3e9ed;
  margin:21px 0 0 55px;
  border:none;
  padding:0;
  font-size:14px;
  font-family:"Open Sans", sans-serif; 
  font-weight:400px;
  color:#8198ac;
}
#searchfield:focus{
   outline: 0;
}
#chatview{
  width:290px;
  height:100%;
  position:absolute;
  top:0;
  left:0; 
  display:none;
  background:#fff;
}
#profile{
  height:153px;
  overflow:hidden;
  text-align:center;
  color:#fff;
}
.p1 #profile{
  background:#fff url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/245657/timeline1.png") 0 0 no-repeat;
}
#profile .avatar{
  width:68px;
  border:3px solid #fff;
  margin:23px 0 0;
  border-radius:50%;
}
#profile p{
  font-weight:600;
  font-size:15px;
  margin:95px 0 -1px;
  opacity:1;
  -webkit-transition: all 200ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
     -moz-transition: all 200ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
      -ms-transition: all 200ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
       -o-transition: all 200ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
          transition: all 200ms cubic-bezier(0.000, 0.995, 0.990, 1.000); 
}
#profile  p.animate{
  margin-top:97px;
  opacity:1;
  -webkit-transition: all 200ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
     -moz-transition: all 200ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
      -ms-transition: all 200ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
       -o-transition: all 200ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
          transition: all 200ms cubic-bezier(0.000, 0.995, 0.990, 1.000); 
}
#profile p > a{
  color: #fff !important;
}
#profile span{
  font-weight:400;
  font-size:11px;
}
#chat-messages{
  opacity:0;
  margin-top:30px;
  width:290px;
  height:50%;
  overflow-y:scroll;  
  overflow-x:hidden;
  padding-right: 15px;
  -webkit-transition: all 200ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
     -moz-transition: all 200ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
      -ms-transition: all 200ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
       -o-transition: all 200ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
          transition: all 200ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
}
#chat-messages.animate{
  opacity:1;
  margin-top:0;
}
#chat-messages label{
  color:#aab8c2;
  font-weight:600;
  font-size:12px;
  text-align:center;
  margin:10px 0;
  width:290px;
  display:block;  
  float: left;
}
#chat-messages div.message{
  padding:0 0 20px 50px;
  clear:both;
  margin-bottom:50px;
}
#chat-messages div.message.right{
    padding: 0 58px 30px 0;
    margin-right: -25px;
    margin-left: 19px;
}

#chat-messages div.message.right > .bubble > span{
  color: #aab8c2;
    font-size: 11px;
    position: absolute;
    right: 0;
    bottom: -22px;
    text-align: right;
}
#chat-messages .message img{
    float: left;
    margin-left: -38px;
    border-radius: 50%;
    width: 30px;
    margin-top: 12px;
}
#chat-messages div.message.right img{
  float: right; 
    margin-left: 0;
  margin-right: -38px;  
}
.message .bubble{ 
  background:#f0f4f7;
  font-size:13px;
  font-weight:600;
  padding:10px 12px;
  border-radius:5px 5px 5px 0px;
  color:#8495a3;
  position:relative;
  float:left;
}
#chat-messages div.message.right .bubble{
  float:right;
  border-radius:5px 5px 0px 5px ;
}
.bubble .corner{
  background:url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/245657/bubble-corner.png") 0 0 no-repeat;
  position:absolute;
  width:7px;
  height:7px;
  left:-5px;
  bottom:0;
}
div.message.right .corner{
  background:url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/245657/bubble-cornerR.png") 0 0 no-repeat;
  left:auto;
  right:-5px;
}
.bubble span{
    color: #aab8c2;
    font-size: 11px;
    position: absolute;
    left: 0;
    bottom: -22px;
}
#sendmessage{
  height:60px;
  border-top:1px solid #e7ebee; 
  position:absolute;
  bottom:0;
  right:0px;
  width:290px;
  background:#fff;
  padding-bottm:50px;
}
#sendmessage input{
  border
}
#sendmessage input{
  background:#fff;
  margin:21px 0 0 21px;
  border:none;
  padding:0;
  font-size:14px;
  font-family:"Open Sans", sans-serif; 
  font-weight:400px;
  color:#aab8c2;
}
#sendmessage input:focus{
   outline: 0;
}
#sendmessage button{
  background:#fff url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/245657/send.png") 0 -41px no-repeat;
  width:30px;
  height:30px;
  position:absolute;
  right: 15px;
  top: 23px;
  border:none;
}
#sendmessage button:hover{
  cursor:pointer;
  background-position: 0 0 ;
}
#sendmessage button:focus{
   outline: 0;   
}

#close{
  position:absolute;
  top: 8px; 
  opacity:0.8;
  right: 10px;
  width:20px;
  height:20px;
  cursor:pointer;
}
#close:hover{
  opacity:1;
}
.cx, .cy{
  background:#fff;
  position:absolute;
  width:0px;
  top:15px;
  right:15px;
  height:3px;
  -webkit-transition: all 250ms ease-in-out;
     -moz-transition: all 250ms ease-in-out;
    -ms-transition: all 250ms ease-in-out;
     -o-transition: all 250ms ease-in-out;
      transition: all 250ms ease-in-out;
}
.cx.s1, .cy.s1{ 
  right:0;  
  width:20px; 
  -webkit-transition: all 100ms ease-out;
     -moz-transition: all 100ms ease-out;
    -ms-transition: all 100ms ease-out;
     -o-transition: all 100ms ease-out;
      transition: all 100ms ease-out;
}
.cy.s2{ 
  -ms-transform: rotate(50deg); 
  -webkit-transform: rotate(50deg); 
  transform: rotate(50deg);    
  -webkit-transition: all 100ms ease-out;
     -moz-transition: all 100ms ease-out;
    -ms-transition: all 100ms ease-out;
     -o-transition: all 100ms ease-out;
      transition: all 100ms ease-out;
}
.cy.s3{ 
  -ms-transform: rotate(45deg); 
  -webkit-transform: rotate(45deg); 
  transform: rotate(45deg);    
  -webkit-transition: all 100ms ease-out;
     -moz-transition: all 100ms ease-out;
    -ms-transition: all 100ms ease-out;
     -o-transition: all 100ms ease-out;
      transition: all 100ms ease-out;
}
.cx.s1{ 
  right:0;  
  width:20px; 
  -webkit-transition: all 100ms ease-out;
     -moz-transition: all 100ms ease-out;
    -ms-transition: all 100ms ease-out;
     -o-transition: all 100ms ease-out;
      transition: all 100ms ease-out;
}
.cx.s2{ 
  -ms-transform: rotate(140deg); 
  -webkit-transform: rotate(140deg); 
  transform: rotate(140deg);     
  -webkit-transition: all 100ms ease-out;
     -moz-transition: all 100ms ease-out;
    -ms-transition: all 100ease-out;
     -o-transition: all 100ms ease-out;
      transition: all 100ms ease-out;
}
.cx.s3{ 
  -ms-transform: rotate(135deg); 
  -webkit-transform: rotate(135deg); 
  transform: rotate(135deg);     
  -webkit-transition: all 100ease-out;
     -moz-transition: all 100ms ease-out;
    -ms-transition: all 100ms ease-out;
     -o-transition: all 100ms ease-out;
      transition: all 100ms ease-out;
}
#chatview, #sendmessage { 
overflow:hidden; 
border-radius:6px; 
}




.has-error label{color:#f25961!important}
.has-error .form-control{border-color:#f25961!important;color:#f25961!important}
.has-error .input-group-text{border-color:#f25961!important;background:#f25961!important;color:#fff!important}
.input-group label.error,.input-group label.success{width:100%;order:100}
.custom-control{position:relative}.custom-control.custom-checkbox,.custom-control.custom-radio{margin-bottom:0;cursor:pointer;margin-right:25px;display:inline-block}.custom-control.custom-checkbox .custom-control-input,.custom-control.custom-radio .custom-control-input{margin-right:10px}
.custom-control.custom-checkbox label.error,.custom-control.custom-checkbox label.success,.custom-control.custom-radio label.error,.custom-control.custom-radio label.success{position:absolute;width:100vh;top:23px;left:0}
.has-feedback{position:relative}
.form-control-feedback{position:absolute;top:50%;transform:translateY(-50%);right:20px}
.has-success .form-control-feedback{color:#31ce36}
.has-error .form-control-feedback{color:#f25961}
.input-group.has-icon{border-radius:.25rem;border:1px solid #ced4da}
.input-group.has-icon.has-success,.input-group.has-success{border:1px solid #31ce36!important;color:#31ce36}.input-group.has-error{border:1px solid #f25961!important;color:#f25961}
.input-group.has-icon.has-error{border:1px solid #f25961!important;color:#f25961}


