/***comon***/
/* 
@media (min-width: 576px) {
  .container {
    max-width: 100vw;
  }
} */

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

a{
  color: var(--brand-primary) !important;
}

.mg-top-50 {
  margin-top: 50px;
}

.no-margin{
  margin: 0 !important
}

.no-padding{
  padding: 0 !important
}

.color-primary{
  color: var(--brand-primary);
}
.color-grey-1{
  color: var(--text-muted);
}

.color-grey-2{
  color: var(--text-secondary);
}

.color-grey-3{
  color: var(--border-medium);
}

.table-striped tbody tr:nth-of-type(odd){
  background: #f5f5fa;
}

.table-sm td, .table-sm th{
  padding: 8px 10px;
  position: relative;
}

.table th{
  border: none;
}

.table-responsive, .user-form{
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  padding: 10px 0px;
}

.user-form{
  padding: 30px;
}

.dashboard{
  display: flex;
  flex-direction: row;
  /* justify-content: space-around; */
}
.dashboard-card{
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  /* color: #666; */
  /* background-color: #f8f9fa; */
  border-radius: 20px;
  padding: 20px;
  margin-right: 20px;
}
.dashboard-card .title{
  font-size: 0.8rem;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-top:4px;
}
.dashboard-card .numbers{
  font-size: 2.5rem;
  font-weight: 700;
}

/***common***/

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

body {
  font-size: .875rem;
  color: #1A202C !important;
}

.feather {
  width: 20px;
  height: 20px;
  vertical-align: text-bottom;
}

.main-container{
  width: calc(100vw - 220px);
  margin-left: 220px;
  padding: 0 30px;
}

.dashboard-container{
  height: 100vh;
  position: fixed;
  right: 0px;
  top: 0px;
  width: 320px;
  background: #fff;
  border-left: 1px solid #fafafa;
}

/*
 * Sidebar
 */

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

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

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

.sidebar .nav-link {
  font-weight: 400;
  color: #666;
}

.sidebar .nav-link:hover {
  font-weight: 500;
  color: #333;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #999;
}

.sidebar .nav-link.active {
  color: var(--brand-primary) !important;
  border: 1px solid var(--border-light);
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
}

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

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

/*
 * Content
 */

/* Space for fixed navbar */
/*[role="main"] {
  padding-top: 133px; 
}
*/

@media (min-width: 768px) {
  [role="main"] {
    padding-top: 15px; /* Space for fixed navbar */
  }
}

.page-head{
  margin: 20px 0px;
}
.page-head h3, .page-head h4{
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 4px;
  color: var(--brand-primary);
}

.page-head h4{
  font-size: 1.6rem;
}
.page-head p{
  color: var(--text-muted);
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

/* Common */
.clickable{
  text-decoration: none;
}

.highlight{
  color: #0F9D58 !important;
}

.pagination-info{
  display: flex;
  justify-content: flex-end;
  margin: 10px;
}

.pagination-links{
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.pagination-links .active > a{
  color: white !important;
}

.mob-close-menu{
  display: none;
}


@media (max-width: 768px){

  .main-container{
    width: 100%;
    padding: 0px;
    margin: 0px;
  }

  .mob-close-menu{
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 9999;
  }

  .mob-nav{
    background: #f1f1f1;
  }

  .main-container>.container{
    padding: 0px;
  }

  .dashboard{
    flex-direction: row;
    justify-content: space-between;
  }

  .dashboard-card{
    padding: 15px;
    margin-right: 0px;
    align-items: center;
  }
  .user-form{
    padding: 15px 0px;
  }

  .dashboard-card .numbers{
    font-size: 1.5rem;
  }

  .dashboard-card .title{
    font-size: 0.6rem;
  }

  .dashboard-wrapper.user-form{
    margin: 0 15px;
    margin-top: -22px;
    background: #fff;
  }

  .dashboard-wrapper .user-form{
    margin: 0 15px;
  }

  .page-head{
    padding: 25px;
    margin: 0px;
    background: #f1f1f1;
  }
  .page-head h3, .page-head h4{
    font-size: 1.6rem;
  }

  .page-head h4{
    font-size: 1.2rem;
  }

  .page-head p {
    font-size: 0.8rem;
  }

  .sidebar-sticky{
    padding: 30px;
  }

  .mob-menu{
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    height: 100%;
    z-index: 9999999;
    visibility: hidden;
  }

  .mob-menu.active{
    visibility: visible;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .table-responsive{
    margin: 0px 15px;
    width: calc(100vw - 30px);
  }

  .user-form.add-admin-users{
    margin: 0px 15px;
    padding: 20px;
  }

  .table-responsive.admin-users, .user-form.add-admin-users, .live-updates{
    margin-top: -20px !important;
    background: #fff;
  }

  .add-admin-user-btn-wrapper{
    padding-left:15px;
  }

  .live-updates{
    padding-left: 15px!important;
    padding-right: 15px!important;
    margin: 0px 15px;
    padding-bottom: 20px !important;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 6px;
  }

  .live-updates .buttonDiv button{
    width: 50%;
  }

  .recent-updates .page-head{
    background: #fff;
    padding: 0px 25px;
  }

  .recent-updates .recent-updates-items{
    padding: 0 15px;
  }

  .search-wrapper{
    border: 1px solid rgba(0,0,0,0.08);
    padding: 20px 12px;
    margin: -22px 15px 0 15px !important;
    border-radius: 6px;
    background: #fff;
  }

  input.search-input{
    height: 40px;
    font-size: 14px;
  }

  .btn.search-btn{
    height: 40px;
    width: 80px;
  }

  .user-details-wrapper, .add-user-wrapper, .chat-wrapper, .all-trials ,.trial-filters{
    margin: -16px 15px 0 15px !important;
    background: #fff;
  }

  .user-details-registration{
    margin: 0 15px;
    padding: 15px;
  }

  .heading-labels{
    font-size: 1.2rem;
  }

  .add-user-wrapper{
    padding: 15px;
    margin-bottom: 30px !important;
  }

  .add-user-wrapper .form-group{
    margin-left: 0!important;
  }

  .chat-list{
    width: 100% !important;
    border-right: none !important;
  }

  .all-trials .col-md-4{
    padding: 0px;
    margin-bottom: 15px;
  }

  .trial-filters{
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 6px;
    padding: 15px;
  }

  .all-trial-users{
    padding:15px;
  }

  .slideInUp {
    -webkit-animation-name: slideInUp;
    animation-name: slideInUp;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  @-webkit-keyframes slideInUp {
    0% {
      -webkit-transform: translateY(100%);
      transform: translateY(100%);
      visibility: visible;
      }
    100% {
      -webkit-transform: translateY(0);
      transform: translateY(0);
      }
    }
    @keyframes slideInUp {
    0% {
      -webkit-transform: translateY(100%);
      transform: translateY(100%);
      visibility: visible;
    }
    100% {
      -webkit-transform: translateY(0);
      transform: translateY(0);
    }
  }


  .slideOutDown {
    -webkit-animation-name: slideOutDown;
    animation-name: slideOutDown;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
    @-webkit-keyframes slideOutDown {
      0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
      }
      100% {
        visibility: hidden;
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
      }
    }
    @keyframes slideOutDown {
      0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
      }
    100% {
      visibility: hidden;
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
      }
    }

}

@media (min-width: 576px){
  .container {
      max-width: 100%;
  }

  .page-head, .mob-nav {
    background: #ffffff;
  }

  .main-container{
    padding: 0px 20px;
  }


}
