

/* ADMIN PANEL */
.admin-img
{
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--main-color)
}
.admin-img img
{
  width: 100%;
  height: 60px;
  object-fit: cover;
  object-position: top;
}


.nav-link
{
font-family: var(--font-family-bold) !important;
font-size: 1.1em !important;
}
.main-wrapper
{
  display: flex;
}
.sidebar
{
 background-color: var(--main-color);
 width: 200px;
 padding: 0px 15px;
 white-space: nowrap;
 height: 90vh;
font-size: 1.1em;
 z-index: 999;
}


.sidebar-body
{
 margin: 15px 0;
}
.sidebar ul
{
 list-style: none;
 padding: 0;
}
.sidebar a
{
 text-decoration: none;
 color: var(--white)
}


.sidebar ul li
{
 padding: 0px 5px;
 border-radius: 5px;
 margin: 10px 0;
}


.sidebar ul li:hover
{
 background-color: var(--white);
}

.sidebar ul li:hover > a
{
 color: var(--dark);
}

.sidebar ul li a i
{
 margin-right: 8px;
}
.main-content
{
 padding:10px;
 color: var(--dark);
 width: 100%;
 max-height: 90vh;
 overflow-y: auto;
 overflow-x: hidden;
}

.sidebar.show-hide
{
 width: 60px;
}
.sidebar.show-hide .link-text
{
 opacity: 0;
}

/* PROFILE */
.profile-thumb
{
  cursor: pointer;
}
.user-profile-img
{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  margin: 0 auto;
  border: 3px solid #fff;
}

input,
select,
textarea
{
  border-radius: 0 !important;
}

.user-profile-img img
{
  width: 100%;
  height: 50px;
  object-fit: cover;
  object-position: top;
}

.profile-nav
{
  background-color: var(--main-color);
  padding: 0px;
  border-radius: 10px;
  margin: 20px auto;
  position: absolute;
  right: 10px;
  width: 120px;
  translate: 0 50px;
  opacity: 0;
  transition: all .1s ease;
  z-index: 9999;
  box-shadow: 0 0 5px var(--gray-100);
  pointer-events: none;
}
.profile-nav a{
  color: var(--white);
}

.profile
{
  padding: 0 20px;
}
.profile-nav.toggle
{
  translate: 0 0px;
  opacity: 1; 
  pointer-events: auto;
}
.profile-nav::before
{
  content: "";
  display: block;
  position: absolute;
  width: 30px;
  height:  40px;
  border-radius: 5px;
  top: -10px;
  background-color: var(--main-color);
  rotate: 45deg;
  right: 15px;
  z-index: -1;

}

.profile-nav ul
{
  list-style: none;
  line-height: 2;
  padding: 0 15px;
  margin: 10px 0;
}
.profile-nav ul li a
{
  text-decoration: none;
  color: black;
}


/***************************************************************************
                         MEDIA QURIES
***************************************************************************/
@media screen and (max-width: 768px){
.sidebar-section
{
    position: fixed;
    top: 0;
    right: 400px;
    opacity: 0;
    z-index: 9999;
    pointer-events: none;
}

.toggle
{
    right: 0px;
    opacity: 1;
    pointer-events: auto;
}
#bar, #close, .nav-bar-opt
{
    display: block;
}
.sidebar
{
    position: fixed;
    z-index: 999;
    left: -400px;
    opacity: 1;
}
.sidebar.show-hide
{
    height: 100vh;
    width: 200px;
    left: 0;
    opacity: 1;

}
.sidebar.show-hide .link-text
{
    opacity: 1;
}

}
.search-table{
  display: none;
}
.search-table tr{
  cursor: pointer;
}
.search-table tr:hover{
  background-color: var(--bs-primary) !important;
  color: var(--white);
}
.dash-card{
  text-align: center;
}
.icon{
  font-size: 3em;
}


.user-profile-img1 img{
  width: 120px;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.user-profile-img1{
  width: 120px;
  position: relative;
  margin: 0 auto
}
.user-profile-img1 a{
  position: absolute;
  bottom: 0;
  right: 0;
  border-radius: 20px;
  display: inline-block;
}
#print{
  position: absolute;
  bottom: -70px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2em;
  background-color: var(--white);
  color: var(--mainColor);
  padding: 10px 20px;
  border-radius: 0px 0px 30px 30px ;
  border: 2px solid var(--dark);
}
.save-us-pdf{
  border: none;
  background-color: var(--bs-warning  );
  padding: 10px 15px;
  position: fixed;
  left: 10px;
  bottom: 10px;
}

