/* width */
::-webkit-scrollbar {
  width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: #d1d3d4; 
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #939598; 
}

/* home page */
body.home, .bg-green {
	background: #00264C;
}
.side {
    margin-right: 350px;
}
#wrapper #content-wrapper {
    padding-bottom: 60px;
}
footer.sticky-footer {
    height: 60px;
}
.green {
	color: #006635;
}
.btn-green {
    color: #fff;
    background-color: #003366;
    border-color: #003366;
    display: inline-block;
    border: none;
}
.btn-green:hover {
    color: #fff;
    background-color: #6086AC;
    border-color:#6086AC;
}




.dropbtn {
  background-color: #3498DB;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropbtn:hover, .dropbtn:focus {
  background-color: #2980B9;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {background-color: #ddd;}

.show {display: block;}

.form-popup {
  display: none;
  position: fixed;
  bottom: 0;
  right: 15px;
  border: 3px solid #f1f1f1;
  z-index: 9;
}

/* Add styles to the form container */
.form-container {
  max-width: 600px;
  padding: 10px;
  background-color: white;
}

/* Full-width input fields */
.form-container input[type=text], .form-container input[type=password] {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  border: none;
  background: #f1f1f1;
}

/* When the inputs get focus, do something */
.form-container input[type=text]:focus, .form-container input[type=password]:focus {
  background-color: #ddd;
  outline: none;
}

/* Set a style for the submit/login button */
.form-container .btn {
  background-color: #4CAF50;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom:10px;
  opacity: 0.8;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
  background-color: red;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
  opacity: 1;
}


/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%;
    /*overflow: auto !important;*/
    /*background-color: rgb(0,0,0);*/
    /*background-color: rgba(0,0,0,0.4);*/
}
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 35% !important;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}
.close {
    color: #aaaaaa;
    float: right;
    text-align: right;
    font-size: 28px;
    font-weight: bold;
}
.close1 {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.close:hover, .close:focus, .close1:hover, .close1:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}





.navbar-brand img.logo {
	width: 55px;
}
ul.navbar-nav, footer a {
    color: #fff;
}
.home .header {
	object-fit: cover;
	background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: 50% 70%;
    background-image: url('../image/banner.jpeg');
}
.home .header .container {
    height: 65vh;
    min-height: 300px;
    padding: 70px 0 0;
}
.card-login.mt-5.flr {
	float: right;
    width: 25rem;
}
.align-right {
	text-align: right;
	float: right;
}
.contact img.logo {
	height: 150px;
}
.contact .row {
	color: #fff;
}
.contact h4.title {
	font-size: 18px;
}
.contact .body .text i {
	width: 12%;
	display: inline-block;
	margin: 4px 0 0;
	vertical-align: top;
}
.contact .body .text span {
	width: 85%;
	display: inline-block;
}
footer.sticky-footer {
	background-color: #d1d3d4;
}
footer.sticky-footer .copyright, footer.sticky-footer .copyright a {
	color: #000;
}
footer.sticky-footer .copyright span {
	color: #898989;
}
.bold {
	font-weight: 700;
}
/* navbar side */
.sidebar {
	background-color: #ededed;
}
.sidebar .nav-item .nav-link:active, .sidebar .nav-item .nav-link:focus, .sidebar .nav-item .nav-link:hover {
	color: #fff !important;
    background: #003366;
}
.navbar-nav .nav-link, .sidebar .nav-item .nav-link {
    color: #939598;
}
.nav-item.active{
    color: #fff !important;
}
.sidebar .nav-item .dropdown-menu {
	background: #0000;
    border: none;
}
.sidebar .user-info {
	padding: 1rem;
    background: #d1d3d4;
    color: #939598;
}
.sidebar .user-info img.user {
	width: 50px;
	display: inline-block;
    vertical-align: top;
    
}
.sidebar .user-info .text {
	display: inline-block;
    width: 133px;
    padding: 0 0 0 10px;
}
.sidebar .user-info .text .user {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* sidebar */
.menu-sidebar2 {
    width: 300px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    /*background: #4DB6AC;*/
    background: #fff;
    overflow-y: auto;
    height: 100vh;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
    z-index: 1000;
}
.menu-sidebar2 .logo {
    height: 90px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #009688;
    padding: 0 35px;
    box-shadow: 0px 4px 10px #40888888
}
a.logout {
    color: #939598;
    font-size: 14px;
    /*font-weight: 700;*/
}
/* right sidebar */
.menu-sidebar2.right {
    width: 350px;
    left: auto;
    right: 0;
    color: #939598;
    /*background: #ededed;*/
    /*box-shadow: 0 0 10px 0 grey;*/
    z-index: 999;
    /*border-left: 3px solid #d1d3d4;*/
    height:100%;
}
.menu-sidebar2.right.chat {
    overflow-y: hidden;
}
.pg-content .menu-sidebar2.right, .pg-screen-detail .menu-sidebar2.right {
    overflow-y: auto;
}
.menu-sidebar2.right .img-logo {
    padding: 150px 20px 0;
    text-align: center;
}
.menu-sidebar2.right .img-logo img {
    width: 65%;
}
.menu-sidebar2 .content {
    /*margin-top: -20px;*/
    /*padding: 0 30px;*/
    text-align: center;
}
.menu-sidebar2 .content h4 {
    /*padding: 0 0 10px;*/
    font-weight: 600;
    /*color: #939598;*/
    
    margin-bottom: 0rem;
    padding: 1rem;
    background: #d1d3d4;
    color: #fff;
}
.menu-sidebar2 .content span {
    font-size: 14px;
    word-break: break-word;
}

/* Chat */
.chat {
    background: white;
    position: fixed;
    width: 85%;
    top: 0;
    right: 0;
}
.chat-room {
    background: #d1d3d4;
    width: 100%;
    height: 60%;
}
.chat-room-title h4 {
    text-align: center;
    color: #fff;
    padding: 13.5px;
    margin-bottom: 0rem;
    height: 55.6px;
}
/*.list-group-flush{*/
/*    display:block;*/
/*    max-height:50%;*/
    /*width : 30%;*/
    /*border-bottom: 1px solid grey;*/
/*    overflow-y: scroll;*/
/*}*/
.chat-list {
    height: calc(100vh - 215px);
    width : 40%;
    /*border-bottom: 1px solid grey;*/
    overflow-y: scroll;
}
.chat-list .chat-name {
	margin-left: 0.5rem;
}
.chat-list .chat-item {
    padding: 8px;
}
.chat-list .chat-item img.chat-profile {
	width: 40px;
	/*display: inline-block;*/
    /*vertical-align: top;*/
    /*margin-top: 4px;*/
}
.chat-box {
    /*width: 55%;*/
    /*height: 100%;*/
    /*float: right;*/
    /*border-bottom: 1px solid grey;*/
    overflow-y: scroll;
}
.chat-box .header {
    padding: 8px;
    border-top: 3px solid #d1d3d4;
    border-bottom: 3px solid #d1d3d4;
}
.chat-box img.chat-profile {
    width: 50px;
}
.chat-box span.chat-name {
    color: grey;
    margin-left: 0.5rem;
    font-size: 1.5rem;
    min-width: 168px;
    display: inline-block;
}
.chat-box .chat-content {
    background-image: url("../images/whatsapp-bg.png");
    background-repeat: repeat;
    /*background-size: auto;*/
    padding: 0px 10px 15px 10px;
    height: calc(100vh - 290px);
    min-height:300px;
    overflow-y: scroll;
}
.chat-list .list-group-item-action:hover, .shat-list .list-group-item-action:focus {
    color: #fff;
    background-color: #a7a9ac;
    border: 1px solid #a7a9ac;
}
img.search-profile, img.attach-doc, img.vertical-dot {
    height: 24px;
    margin: 0 0px 0 5px;
    cursor: pointer;
}
/*img.search-profile, img.attach-doc, img.vertical-dot {*/
/*    height: 24px;*/
/*    padding: 0 10px;*/
/*    cursor: pointer;*/
/*}*/
/*img.search-profile, img.attach-doc {*/
/*    height: 24px;*/
/*    width: 24px;*/
/*    cursor: pointer;*/
/*}*/
/*img.vertical-dot {*/
/*    height: 24px;*/
    /*width: 24px;*/
/*    padding: 0 10px;*/
/*    cursor: pointer;*/
/*}*/
/* chat bubble */
.chat-bubble {
    display: inline-block;
    position: relative;
	width: calc(100% - 20px);
	height: auto;
	background-color: #ffffe0;
}
.chat-bubble:after {
    margin-top: 40px;
}
/* chat bubble contents */
/*span.sender-name {*/
/*    margin: 0px 0px 10px 0px;*/
/*    color: #ff0000;*/
    
/*}*/
.chat-content .sender{
    font-size: 14px;
}
.contact .body {
    color: #fff;
}
.chat-content .body {
    font-size: 14px;
    color: #262626;
}
.chat-content .time {
   text-align: right; 
   font-size: 11px;
   color: rgba(0,0,0,0.45);
}
.chat-content .message-in {
  width: 60%;
  background: #fff;
  margin: 10px 25px auto 10px;
  border-radius: 8px;
  color: #495057;
  padding: 10px;
  font-family: arial;
  position: relative;
}
.chat-content .arrow-in:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 10px solid transparent;
  border-right: 10px solid #fff;
  border-top: 10px solid #fff;
  border-bottom: 10px solid transparent;
  left: -10px;
  top: 0px;
}
.chat-content .message-out {
  width: 60%;
  background: #dcf8c6;
  margin: 10px 10px auto 40%;
  border-radius: 5px;
  color: #495057;
  padding: 10px;
  font-family: arial;
  position: relative;
}
.chat-content .arrow-out:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 10px solid #dcf8c6;
  border-right: 10px solid transparent;
  border-top: 10px solid #dcf8c6;
  border-bottom: 10px solid transparent;
  right: -10px;
  top: 0px;
}
.chat-content .date-in {
    width: fit-content;
    background: #E1F3FB;
    margin: 10px auto;
    border-radius: 6px;
    color: rgba(69,90,100,.95);
    padding: 10px;
    position: relative; 
    font-size: 12.5px;
    text-transform: uppercase;
}




/* table fixed scroll */
.scroll thead, .scroll tbody tr {
    display: table;
    width: 50%;
    table-layout: fixed;
    border-collapse: collapse;
}
.scroll tbody {
    display: block;
    overflow: auto;
    height: 150px;
}
/* Customer Order Content */
.customer-content {
    max-height: calc(100vh - 10px);
    overflow-y: scroll;
}
.order-content {
    height: calc(100vh - 116px);
    overflow-y: scroll;
}

.table th, .table tr {
    font-size: 14px;
}

tr:nth-child(even) {background-color: #f2f2f2;}

#order_details .card-body {
    font-size: 14px;
}

/* mobile responsive */
@media (min-width: 992px) {
	.contact .col-lg-3 {
	    -webkit-box-flex: 0;
	    -ms-flex: 0 0 25%;
	    flex: 0 0 28%;
	    max-width: 27%;
	}
}
@media (min-width: 1440px) {
	.home .header .container {
        height: 55vh;
	}
}
