/*============================
=        Scrollbars         =
============================*/
.box::-webkit-scrollbar {
  width: 10px;
  background-color: #f5f5f5;
  border-radius: 5px;
}

.box::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
  border-radius: 5px;
}

.box::-webkit-scrollbar-thumb {
  background-color: #00ab9b;
  border: 2px solid #00ab9b;
  border-radius: 5px;
}

::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #00ab9b;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/*============================
=      Notification UI      =
============================*/
.notification, .notification-mobile, .notification-mobile-partner {
  position: relative;
}

.notification {
  padding-top: 30px;
  display: inline-block;
}

.notification-mobile, 
.notification-mobile-partner {
  display: none;
}

.notification-mobile .fa-bell {
  color: #fff;
}

.number {
  height: 24px;
  width: 24px;
  background-color: #d63031;
  border-radius: 20px;
  color: white;
  text-align: center;
  position: absolute;
  top: -9px;
  left: 19px;
  border: 2px solid transparent;
  line-height: 20px;
}

.number:empty {
  display: none;
}

.fas {
  font-size: 25pt;
  padding-bottom: 10px;
  color: black;
  margin: 0 40px;
}

.fas:hover {
  color: #d63031;
}

.icons {
  display: inline;
  float: right;
}

/*============================
=      Notification Box     =
============================*/
.notBtn {
  transition: 0.5s;
  cursor: pointer;
  padding-right: 12px;
  z-index: 0;
}

.notBtn:hover > .box {
  height: 60vh;
}

.box {
  width: 250px;
  height: 0;
  border-radius: 8px;
  transition: 0.5s;
  position: absolute;
  overflow-y: scroll;
  padding: 0;
  left: 18px;
  margin-top: 16px;
  background-color: #f4f4f4;
  box-shadow: 10px 10px 23px 0px rgba(0, 0, 0, 0.1);
  cursor: context-menu;
  z-index: 999;
}

/*============================
=        Message Box        =
============================*/
.content {
  padding: 20px;
  color: black;
  text-align: left;
}

.gry {
  background-color: #f4f4f4;
}

.top {
  color: black;
  padding: 10px;
}

.display {
  position: relative;
}

.cont {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #f4f4f4;
}

.cont:empty {
  display: none;
}

.stick, .cent {
  text-align: center;
  display: block;
}

.stick {
  font-size: 50pt;
  padding: 70px 0 0 80px;
}

.stick:hover {
  color: black;
}

/*============================
=      Message Sections     =
============================*/
.sec {
  padding: 25px 10px;
  background-color: #fff;
  transition: 0.5s;
  border-bottom: 1px solid #000;
}

.sec:hover {
  background-color: #bfbfbf;
}

.new {
  border-bottom: 1px solid #00ab9b;
  background: #ddd;
}

.profCont {
  padding-left: 15px;
}

.profile {
  clip-path: circle(50% at 50% 50%);
  width: 75px;
  float: left;
}

.txt {
  vertical-align: top;
  font-size: 1.25rem;
  padding: 4px 8px;
  color: #000;
}

.sub {
  font-size: 1rem;
  color: grey;
}

/*============================
=      Driver Inbox UI      =
============================*/
.drv_aside {
  padding: 0;
}

.drv_aside h5 {
  font-size: 1.1em;
  padding: 16px 12px;
  background: #00ab9b;
  color: #fff;
}

.drv_aside ul li {
  padding: 8px 10px;
  background: #fff;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
  transition: 0.3s;
}

.drv_aside ul li:hover {
  background-color: #00ab9b;
  color: #fff;
}

.drv_aside .new {
  background: #eae6e6;
  color: #5d4f4f;
}

.drv__inbox {
  position: relative;
  top: 40px;
  padding: 0 42px;
  font-size: 0.9em;
  line-height: 2em;
}

.drv_inbox_list {
  max-height: 310px;
  overflow: scroll;
  width: 100%;
  display: inline-block;
}

.drv_mailbody {
  padding: 0 16px;
}

.drv_mailbody h5 {
  padding: 16px;
  background: #00ab9b;
  color: #fff;
  font-size: 1.1em;
}

.drv_mailbody .mitem {
  padding: 8px;
}

/*============================
=       Target Dropdown     =
============================*/
.select_target {
  position: absolute;
  top: 10px;
  z-index: 999;
}

.select_target ul {
  list-style: none;
  padding-left: 0;
}

.select_target ul li {
  padding: 8px;
  cursor: pointer;
  border-bottom: 1px solid #ccc;
}

/*============================
=        Lists Reset        =
============================*/
ul {
  padding-left: 0;
}

ul li {
  list-style: none;
}

/*============================
=      Media Queries        =
============================*/
@media (max-width: 767.98px) {
  .notification-mobile {
    display: block;
    position: absolute;
    right: 25px;
    top: 22px;
  }

  .notification-mobile-partner {
    display: block;
    position: absolute;
    right: 60px;
    top: 19px;
  }

  .box {
    margin-top: 24px;
    width: 260px;
    max-height: 360px;
    left: -219px !important;
    top: 8px;
  }

  .number {
    left: 15px;
  }

  .drv_mailbody {
    padding: 0;
  }

  .desktop-notification {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .notBtn {
    padding-right: 2px;
  }
}
