:root{
  --body-bg: #00C6C6;
 --sidebar-mgs-bg: #00C6C6;
 --sidebar-mgs-bg-color:#fff;
 --secondary-color:#F4F4FF;
 --bg-primary: #00C6C6;
 --bg-primary-sec: #fff;
 --black: #666;
  
 }

/* button_drop 


*/

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  height: 100vh;
  background-color: var(--bg-primary) !important;
}

 a {
	text-decoration: none; 
}

.btn-primary {
	border: 1px solid var(--bg-primary) !important;
	background-color: var(--bg-primary) !important;
	padding: 10px 0 !important;
	margin: 17px 0 !important;
}
/* Sidebar */
.sidebar {
  width: 20%;
  background-color: var(--bg-primary);
  border-right: 1px solid var(--sidebar-mgs-bg);
  padding: 16px;
}

.sidebar-top-sec {
	width: 100%;
	height: 55px;
	background-color: var(--sidebar-mgs-bg);
}

.sidebar-top-sec .logo{
	width: 100px;
}
/* main-content */
.main-content {
 flex: 1;
 width: 68%;
 padding: 20px;
 background-color: #fff;
 margin: 70px 20px 40px 20px;
 border-radius: 10px;
 height: 90%; 
overflow: auto; 
}

.main-content .top-nav {  
 position: relative;
 width: 100%;
 padding-top: 20px;
 display: flex; 
 justify-content: space-between;
 border-bottom: 1px solid #999;
 padding-bottom: 15px;
 background-color: #fff;
 }

.main-content .top-nav2 {
	position: relative;
	padding-bottom: 15px;
	margin-bottom: 5px;
	background-color: #fff;
	border-bottom: 1px solid #999;
	top: 0;
	width: 100%;
}

.syncStatus {
	background: #fff;
	border-radius: 100%;
	padding: 2px; 
	width: 20px;
	height: 20px;
	border: 3px solid #fff;
}

.syncStatus-off {
	background: #ff0000;
}

.syncStatus-on {
	background: #8cc946;
}

.mail-fooster {
	display: flex;
	justify-content: flex-start;
}

.btn-file {
	margin: 10px 0;
}

.btn-file input[type="file"]{
	background: #999;
}
.mail-fooster button {
	border: none;
	border-radius: 15px;
	padding: 5px 15px;
	margin-right: 10px;
}

.main-content .top-nav .number a{
	color: var(--black);
}

.main-content .message-list {
	margin-top: 80px;
	
}

.chat-inbox-list, .chat-inbox {
 border-bottom: 1px solid #F4F4F4;
 padding: 15px;
 margin-bottom: 10px;

}

.chat-inbox {
	border-radius: 10px;
	box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
}

.main-content .chat-inbox .top-message{
 display: flex; 
 justify-content: space-between;
 height: 40px;	
 margin-bottom: 20px;
}

.main-content .chat-inbox-list{
 display: flex; 
 justify-content: space-between;
 height: 100px;	
}

.chat-inbox-list .picture {
    width: 45px;
	height: 45px;
	padding: 5px;
}

.chat-inbox .picture {
    width: 40px;
}

.chat-inbox .picture, .chat-inbox-list .picture {
    width: 45px;
 	background: var(--bg-primary);
	border-radius: 100%;
	border: none;   
}

.chat-inbox-list .message {
	width: 100%;
	height: 55px;
	overflow: hidden;
	padding: 5px 0;
	font-size: 14px;
}

.file-container {
	display: flex;
	justify-content: space-between;
}

.file-container .file-box {
	width: 40%;
	height: 55px;	
}

.message-list .message {
	margin-top: 4px;
}

 .chat-inbox .chat-inbox-content .chat-inbox-from,  .chat-inbox-list .chat-inbox-content .chat-inbox-from {
 display: flex; 
 justify-content: space-between;
}

.chat-inbox .chat-inbox-content .chat-inbox-from .time, .mailer-email ,
.chat-inbox-list .chat-inbox-content .chat-inbox-from .time, .mailer-email{
	font-size: 12px;
	color: #999;
}

.chat-inbox-from .time a i {
	margin: 0 2px 0 10px;
	font-size: 18px;
}

.chat-inbox-from .time a {
	color: #999;
}

.main-content .chat-inbox .chat-inbox-content .chat-inbox-from .mail-from .mailer-name {
	font-weight: 600;
}
 

.chat-inbox .chat-inbox-content, .chat-inbox-list .chat-inbox-content {
 width: 100%; 
 height: 65px; 
 padding: 5px;
}



.main-content .move { 
 display: flex; 
}

.main-content .move .link { 
 padding: 6px;
 margin-right: 5px;
 border: 1px solid #999;
 border-radius: 10px;
 cursor: pointer;
}

.content-top-menu {
 display: flex;
 justify-content: space-between;
 width: 80%;
 height: 55px;
 padding: 15px 10px;
 background-color: var(--sidebar-mgs-bg);
 border: 1px solid var(--sidebar-mgs-bg);
 position: fixed; top: 0; right: 0; 
 z-index: 1005;
 }
 
 #sidebar_btn {
	 display: none;
 }
 .content-top-menu .link a {
  color: var(--sidebar-mgs-bg-color);	 
 }
 
.menu-icon {
  font-size: 20px;
  cursor: pointer;
}

.search-bar {
  margin-top: 16px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 8px 40px 8px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.search-bar i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
  font-size: 16px;
  color: #999;
}

.chat-list {
  margin-top: 16px;
}

.chat-item {
  display: flex;
  justify-content: flex-start; 
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
  cursor: pointer;
}

.profile-image {
  background: var(--bg-primary);
  border-radius: 100%;
  width: 40px;
  height: 40px;
}
.profile-image img {

  border-radius: 50%;
  object-fit: cover;
}

.chat-info {
  margin-left: 10px;
  flex: 1;
}

.contact-name {
  font-weight: bold;
}

.contact-name .email {
  font-size: 12px;
  color: var(--black);
}

.last-message {
 display: flex;
 justify-content: space-between;
 margin-top: 7px;
 width: 100%;
 height: 20px;
 overflow: hidden;
}

.message-fooster {
 display: flex;
 justify-content: space-between;
 margin-top: 7px;
 width: 100%;
}

.timestamp { 
  font-size: 12px;
  color: #777;
}

.unread-badge {
  background-color: #25d366;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 16px;
  margin-left: 8px;
}

.chat-details {
  text-align: center;
}

.chat-details img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.chat-details h2 {
  margin-top: 16px;
  font-size: 20px;
}

.chat-details p {
  color: #777;
  line-height: 1.6;
}

  .right-panel {
    position: fixed;
    top: 0;
	margin-top: 45px;
    right: -600px; /* Start off-screen */
    width: 600px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    z-index: 2000;
  }
  .chat-btn {
	 position: fixed; 
	 border-radius: 10px;
	 border: none;
	 bottom: 20px; 
	 right: 20px; 
	 background-color: #fff;
	 padding: 10px 15px;
	 box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
     z-index: 1000;
 }
 
.right-panel .navbar {
	width: 100%;
	padding: 10px;
	display: flex;
	justify-content: space-between;
	background-color: #F0F0F0;
}

.right-panel .fooster {
	position: fixed; 
	bottom: 0;
	padding: 10px;
	display: flex;
	justify-content: space-between; 
}

.mr-2 { margin-right: 10px ;}

.right-panel .fooster button {
	 border-radius: 10px;
	 border: 1px solid #666;
	 background-color: #fff;
	 padding: 3px 6px;
}

.right-panel .fooster .f-btn {
	 border-radius: 10px;
	 border: 1px solid #666;
	 padding: 3px 6px; 
	font-size: 14px;
	float: right;
}

  .right-panel.open {
    right: 0; /* Slide in */
  }

/* sidebar menu */
  .sidebar {
    position: relative;
    top: 0;
	display: block;
    width: 20%;
    height: 100%; 
	background: var(--bg-primary);
    transition: right 0.3s ease-in-out;
    z-index: 1020;
  }

  .sidebar.open {
    	display: block; /* Slide in */
  }

  .sidebar.close {
    	display: none; /* Slide in */
  }
  
/* left menu */
  .left-panel {
    position: fixed;
    top: 0;
    left: -400px; /* Start off-screen */
    width: 20%;
    height: 100%; 
    transition: right 0.3s ease-in-out;
    z-index: 1000;
  }

  .left-panel.open {
    left: 0; /* Slide in */
  }

  .left-panel.close {
    left: -300px; /* Slide in */
  }
  
   .panel-content-left, .sidebar-nav {
	border: none;
	background-color: var(--bg-primary);
	height: 100vh;
    padding: 0px 15px 0 15px;
  }

   .panel-content-left ul li, .sidebar-nav ul li {
	display: block;   
    padding: 10px 10px 10px 20px;
	margin: 3px 0; 
  }

   .panel-content-left ul li a i, .sidebar-nav ul li a i{
	   margin-right: 5px;
   }
   
   .panel-content-left .top ul li a, .panel-content-left .bottom ul li a,
   .sidebar-nav .top ul li a, .sidebar-nav .bottom ul li a{
	  color: #002D2D; 
	  font-weight: 500;
	  
   }
   
   .panel-content-left ul li:hover, 
   .sidebar-nav ul li:hover {
    background-color: #007777; 
	color: #000 !important;
	border-radius: 20px;
	cursor: pointer;
  }
 
 .panel-content-left .bottom, .sidebar-nav .bottom {
	 position: absolute;
	 bottom: 0;
 }
/* left menu end here */  
  .panel-content {
    padding: 20px;
  }
 
 .overlay {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 2;
  cursor: pointer;
}

 .text{
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 21px;
  color: white;
  transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
}
	 
.icons .link{
   padding: 10px;
} 

/* button_drop */
/* Dropdown Button */
.dropbtns { 
  color: #999;
  padding: 10px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}



/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  right: 10px;
  background-color: #fff !important;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}

/* forms */
.login-page { background: var(--bg-primary); }

.container-form {
	background: #fff;
	border: 1px solid var(--bg-primary);
	border-radius: 10px;
	padding: 20px;
	margin: 50px 0 0 0;
}

.container-form h2{
	font-size: 18px;
	text-align: center;
	font-weight: 900;
	margin-bottom: 23px;
}

.container-form input[type=text], input[type=password]{
	padding: 10px !important;
	font-size: 14px !important;
	height: 40px !important;
}


/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
	
 .sidebar { 
  width: 60%;
  display: none;  
  }
  
  .main-content {
	  width: 90%;
  }
  
  .content-top-menu {
	 width: 100%; 
  }

 #sidebar_btn {
	 display: block;
 }  
 
.time .menu-link { display: none; }
 
  .container-form { padding: 10px; border: none; }
  .login-page { background: #fff !important; }
  
  
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
	  .sidebar { 
  width: 30%;  
  }
 .container-form { margin: 100px 0 0 0; } 
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
 .sidebar { 
  width: 30%;  
  }
 .container-form { margin: 100px 0 0 0; } 
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) { 

 .sidebar { 
  width: 20%;  
  }
 .container-form { margin: 100px 0 0 0; } 
 .main-content { height: 88%;}
 
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) { 

 .sidebar { 
  width: 20%;  
  }
  
}

/* table */

        .table-wrapper .table-link {
			display: flex;
			justify-content: space-between;
			margin-right: 5px;
		}
		
        .search-box {
            position: relative;
            width: 100%;
        }
        .search-box input {
            width: 100%;
            padding: 10px 40px 10px 10px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
        }
        .search-box .icon {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: #aaa;
        }
        @media (min-width: 600px) {
            .search-box {
                width: 300px;
            }
        }
        .table-wrapper {
            overflow-x: auto;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
		
         tr {
            border-bottom: 1px solid #ddd;
        }
        th, td {
            padding: 10px;
            text-align: left;
        }
        th {
            background-color: #f2f2f2;
        }
        @media (max-width: 600px) {
            table, thead, tbody, th, td, tr {
                display: block;
            }
            th {
                position: absolute;
                top: -9999px;
                left: -9999px;
            }
			
			table {
            border: 1px solid #ccc;
            }
            tr {
                border-bottom: 1px solid #ccc;
                margin-bottom: 10px;
            }
            td {
                border: none;
                border-bottom: 1px solid #eee;
                position: relative;
                padding-left: 50%;
            }
            td:before {
                content: attr(data-label);
                position: absolute;
                left: 10px;
                width: 35%;
                padding-right: 10px;
                white-space: nowrap;
                font-weight: bold;
            }
			
		.table-wrapper .table-link span{
         display: none;
		}
		
        }
/* table end here */		



