/*-----------------------------------------
| 			Style for Offcanvas			  |
------------------------------------------*/
html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

body {
  padding-top: 0;
  font-size: 12px;
}

@media (max-width: 991.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 43px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #343a40;
    transition: visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
  }
   
  .offcanvas-collapse.open {
    visibility: visible;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-underline .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 14px;
  color: #6c757d;
}

.nav-underline .nav-link:hover {
  color: #007bff;
}

.nav-underline .active {
  font-weight: 500;
  color: #343a40;
}

.text-white-50 { color: rgba(255, 255, 255, .5); }

.bg-purple { background-color: #6f42c1; }

.lh-100 { line-height: 1; }
.lh-125 { line-height: 1.25; }
.lh-150 { line-height: 1.5; }

@media (max-width: 767.98px) {
  
/*   #sm-logout {
    top: 2rem;
  } */
  .navbar-toggler-icon{
	  font-size: 12px;
	  align: center;
	  margin:auto;
  }
  div.navbar-toggler{
	  align: center;
	  float: none;
	  display: block;
	  border: 0;
	  padding: 0;
	  margin: auto;
	  border-radius: 0;
  }
  .navbar-toggler .feather{
	  width:16px;
	  height:16px;
  }
  .navbar-brand{
	  align: cneter;
	  border: 0;
	  text-align: center;
  }
/*   #sm-logout{
	  display:block;
	  width: 200px;
	  align: center;
  } */
/*   #signout-ul{
	  align: center;
	  top: 40px;
  } */
  
 ul.navbar-nav li.nav-item div#three-dots{
	position: absolute;
	padding: 0;
	margin: 0;
	width: 250px;
	height: 220px;
	overflow: hidden;
	background-position: right top;
	background-attachment: fixed;
	background-size: auto;
	top: 40px;
	right: -5%;
  }
  

}

.navbar-brand{
	  text-align:center;
	  background-color: #367fa9;
  }

ul#top-notification .nav-item:hover{
	background-color: #000;
}
#top-notification li.nav-item a.nav-link{
	margin: 0;
	padding-left:0;
	padding-right:0;
}
#top-notification li.nav-item a.nav-link .feather{
  font-size: 12px;
  width: 16px;
  height: 16px;
}
#top-nav{
	background-color:#3c8dbc;
	
}
nav#top-nav .navbar-brand{
	font-size:20px;
	color:#fff;
}
nav#top-nav a{
	font-size:14px;
	color:#fff;
}
sm-logoutsm-logout{
	align:right;
}

/*-----------------------------------------
| 			Style for Offcanvas End		  |
------------------------------------------*/

/*-----------------------------------------
| 			Style for Sidebar			  |
------------------------------------------*/

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 48px 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
  .sidebar {
    top: 5rem;
  }
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: hidden; /* Scrollable contents if viewport is shorter than content. */
}
.sidebar-sticky:hover {
  overflow:auto;
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}

.sidebar .nav-link {
  font-weight: 500;
  color: #f8f9fa!important;
}
.sidebar .nav-link:hover {
		background-color: #000;
}
.sidebar .nav-link:active {
		background-color: #000;
}
.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #999;
}

.sidebar .nav-link.active {
  color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;

}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}


/*-----------------------------------------
| 			Custom Styling		  |
------------------------------------------*/
.w-10{
	width: 10% !important;
}
.w-15{
	width: 15% !important;
}
.w-85{
	width: 85% !important;
}
.w-90{
	width: 90% !important;
}

#recived-message{
	height: 270px;
	width: 370px;
	overflow-x: hidden;
	overflow-y: hidden;
}
#recived-message:hover{
	height: 270px;
	width: 370px;
	overflow-x:hidden;
	overflow-y: scroll;
}

 ul.navbar-nav li.nav-item div#message-dots{
	position: absolute;
	padding: 0;
	margin: 0;
	width: 250px;
	font-size: 12px;
	height: 220px;
	overflow: hidden;
	background-position: right top;
	background-attachment: fixed;
	background-size: auto;
	top: 40px;
	right: 0;
  }

#recived-notification{
	height: 270px;
	width: 270px;
	overflow-x: hidden;
	overflow-y: hidden;
}
#recived-notification:hover{
	height: 270px;
	width: 270px;
	overflow-x:hidden;
	overflow-y: scroll;
}

 ul.navbar-nav li.nav-item div#notification-dots{
	position: absolute;
	padding: 0;
	margin: 0;
	width: 230px;
	font-size: 12px;
	height: 220px;
	overflow: hidden;
	background-position: right top;
	background-attachment: fixed;
	background-size: auto;
	top: 40px;
	right: 0;
  }


/* for scrollbar */
/* width */
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 10px;
	background-color: #999;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    background: red; 
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #b30000;	
}

#profile-image{
	height: 200px;
}
#sidebar-image{
	height: 45px;
}
#topnav-image{
	height: 25px;
}
#card-image{
	height: 100px;
}
#cardmobile-image{
	height: 50px;
}
#mobsidebar-image{
	height: 45px;
}

/*-----------------------------------------
| 			Style for Message   		   |
------------------------------------------*/

img{ max-width:100%;}
.inbox_people {
  background: #f8f8f8 none repeat scroll 0 0;
  float: left;
  overflow: hidden;
  width: 40%; border-right:1px solid #c4c4c4;
}
.inbox_msg {
  border: 1px solid #c4c4c4;
  clear: both;
  overflow: hidden;
}
.top_spac{ margin: 20px 0 0;}


.recent_heading {float: left; width:40%;}
.srch_bar {
  display: inline-block;
  text-align: right;
  width: 60%; padding:0
}
.headind_srch{ padding:10px 29px 10px 20px; overflow:hidden; border-bottom:1px solid #c4c4c4;}

.recent_heading h4 {
  color: #05728f;
  font-size: 21px;
  margin: auto;
}
.srch_bar input{ border:1px solid #cdcdcd; border-width:0 0 1px 0; width:80%; padding:2px 0 4px 6px; background:none;}
.srch_bar .input-group-addon button {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
  padding: 0;
  color: #707070;
  font-size: 18px;
}
.srch_bar .input-group-addon { margin: 0 0 0 -37px;}

.chat_ib h5{ font-size:15px; color:#464646; margin:0 0 8px 0;}
.chat_ib h5 span{ font-size:13px; float:right;}
.chat_ib p{ font-size:14px; color:#989898; margin:auto}
.chat_img {
  float: left;
  width: 11%;
}
.chat_ib {
  float: left;
  padding: 0 0 0 15px;
  width: 88%;
}

.chat_people{ overflow:hidden; clear:both;}
.chat_list {
  border-bottom: 1px solid #c4c4c4;
  margin: 0;
  padding: 18px 16px 10px;
}
.inbox_chat { height: 550px; overflow-y: scroll;}

.active_chat{ background:#ebebeb;}

.incoming_msg_img {
  display: inline-block;
  width: 6%;
}
.received_msg {
  display: inline-block;
  padding: 0 0 0 10px;
  vertical-align: top;
  width: 92%;
 }
 .received_withd_msg p {
  background: #ebebeb none repeat scroll 0 0;
  border-radius: 3px;
  color: #646464;
  font-size: 14px;
  margin: 0;
  padding: 5px 10px 5px 12px;
  width: 100%;
}
.time_date {
  color: #747474;
  display: block;
  font-size: 12px;
  margin: 8px 0 0;
}
.received_withd_msg { width: 57%;}
.mesgs {
  float: left;
  padding: 30px 15px 0 25px;
  width: 60%;
}

 .sent_msg p {
  background: #05728f none repeat scroll 0 0;
  border-radius: 3px;
  font-size: 14px;
  margin: 0; color:#fff;
  padding: 5px 10px 5px 12px;
  width:100%;
}
.outgoing_msg{ overflow:hidden; margin:26px 0 26px;}
.sent_msg {
  float: right;
  width: 46%;
}
.input_msg_write input {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
  color: #4c4c4c;
  font-size: 15px;
  min-height: 48px;
  width: 100%;
}

.type_msg {position: relative;}
.msg_send_btn {
  background: #05728f none repeat scroll 0 0;
  border: medium none;
  border-radius: 100%;
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  height: 43px;
  position: absolute;
  right: 0;
  top: 3px;
  width: 43px;
}
.messaging { padding: 0 0 50px 0;}
.msg_history {
  height: 516px;
  overflow-y: auto;
}
