/* Google Fonts Import Link */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.sidebar {
  /* special begin*/
  /*background: #1166a0;*/
  /*  background: rgb(34,119,177);
  background: -moz-linear-gradient(0deg, rgba(34,119,177,1) 0%, rgba(26,91,136,1) 50%, rgba(20,71,106,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(34,119,177,1) 0%, rgba(26,91,136,1) 50%, rgba(20,71,106,1) 100%);
  background: linear-gradient(0deg, rgba(34,119,177,1) 0%, rgba(26,91,136,1) 50%, rgba(20,71,106,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2277b1",endColorstr="#1166a0",GradientType=1);

  /* special end */
  opacity: 1 !important;
  position: fixed;
  top: 50px;
  left: 0;
  height: calc(100% - 50px);
  width: 260px;
  z-index: 100;
  transition: all 0.5s ease;
}

.sidebar.close-sidebar {
  width: 78px;
}

.sidebar .logo-details {
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
}
.sidebar .logo-details i {
  font-size: 30px;
  color: #fff;
  height: 50px;
  min-width: 78px;
  text-align: center;
  line-height: 50px;
}
.sidebar .logo-details img {
  height: 30px;
  width: 30px;
  min-width: 78px;
  object-fit: contain;
  text-align: center;
}
.sidebar .logo-details .logo_name {
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  transition: 0.3s ease;
  transition-delay: 0.1s;
}
.sidebar.close-sidebar .logo-details .logo_name {
  transition-delay: 0s;
  opacity: 0;
  pointer-events: none;
}

.sidebar .nav-links {
  height: 100%;
  padding: 20px 0 150px 0;
  overflow: auto;
}
.sidebar.close-sidebar .nav-links {
  overflow: visible;
}
.sidebar .nav-links::-webkit-scrollbar {
  display: none;
}
.sidebar .nav-links li {
  position: relative;
  list-style: none;
  transition: all 0.4s ease;
  margin-left: 10px;
  margin-right: 10px;
  border-radius: 16px;
  margin-bottom: 10px;
}
.sidebar .nav-links li:hover {
  background: #1d1b31;
  border-radius: 16px;
}
.sidebar .nav-links li .icon-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar.close-sidebar .nav-links li .icon-link {
  display: block;
}
.sidebar .nav-links li i {
  height: 50px;
  min-width: 58px;
  text-align: center;
  line-height: 50px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.sidebar .nav-links li.showMenu i.arrow {
  transform: rotate(-180deg);
}
.sidebar.close-sidebar .nav-links i.arrow {
  display: none;
}
.sidebar .nav-links li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  border-radius: 16px;
}

.sidebar .nav-links li .active i {
  color: #1166a0;
}
.sidebar .nav-links li .active .link_name {
  color: #1166a0;
}

.sidebar .nav-links li .active {
  background: #ffffff;
  border-radius: 16px;
}

.sidebar .nav-links li.parent-active > .icon-link {
  background: #ffffff;
  border-radius: 16px;
}

.sidebar .nav-links li.parent-active > .icon-link i {
  color: #1166a0;
}

.sidebar .nav-links li.parent-active > .icon-link .link_name {
  color: #1166a0;
}

/* showMenu açıkken parent active stilini kaldır */
.sidebar .nav-links li.showMenu.parent-active > .icon-link {
  background: transparent;
}

.sidebar .nav-links li.showMenu.parent-active > .icon-link i {
  color: #fff;
}

.sidebar .nav-links li.showMenu.parent-active > .icon-link .link_name {
  color: #fff;
}

.sidebar .nav-links li a .link_name {
  font-size: 18px;
  font-weight: 400;
  color: #1166a0;
  transition: all 0.4s ease;
}

.sidebar .nav-links li a .link_name {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  transition: all 0.4s ease;
}
.sidebar.close-sidebar .nav-links li a .link_name {
  opacity: 0;
  pointer-events: none;
}
.sidebar .nav-links li .sub-menu {
  padding: 6px 6px 14px 39px;
  margin-top: -10px;
  background: #1d1b31;
  display: none;
}
.sidebar .nav-links li.showMenu .sub-menu {
  display: block;
  border-radius: 15px;
}
.sidebar .nav-links li .sub-menu a {
  color: #fff;
  font-size: 15px;
  padding: 8px 8px;
  white-space: nowrap;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.sidebar .nav-links li .sub-menu a.active {
  color: #ffffff;
  background: #207fd1;
  border-radius: 4px;
  opacity: 1;
}

.sidebar .nav-links li .sub-menu a:hover {
  opacity: 1;
}
.sidebar.close-sidebar .nav-links li .sub-menu {
  position: absolute;
  left: 100%;
  top: -10px;
  margin-top: 0;
  padding: 10px 20px;
  border-radius: 6px;
  opacity: 0;
  display: block;
  pointer-events: none;
  transition: 0s;
}
.sidebar.close-sidebar .nav-links li:hover .sub-menu {
  top: 0;
  opacity: 1;
  pointer-events: auto;
  transition: all 0.4s ease;
}
.sidebar .nav-links li .sub-menu .link_name {
  display: none;
}
.sidebar.close-sidebar .nav-links li .sub-menu .link_name {
  opacity: 1;
  display: block;
  font-size: 18px;
  font-weight: 200;
}
.sidebar .nav-links li .sub-menu.blank {
  /*  opacity: 1;
  pointer-events: auto;*/
  padding: 3px 20px 6px 16px;
  opacity: 0;
  pointer-events: none;
}
.sidebar .nav-links li:hover .sub-menu.blank {
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.2s ease;
}
.sidebar .profile-details {
  position: fixed;
  bottom: 0;
  width: 260px;
  margin-right: -10px;
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #1d1b31;
  padding: 12px 0;
  transition: all 0.5s ease;
}
.sidebar.close-sidebar .profile-details {
  background: none;
}
.sidebar.close-sidebar .profile-details {
  width: 78px;
}
.sidebar .profile-details .profile-content {
  display: flex;
  margin-left: 27px;
  margin-right: 10px;
  font-size: 24px;
}
.sidebar .profile-details img {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 14px 0 12px;
  background: #1d1b31;
  transition: all 0.5s ease;
}
.sidebar.close-sidebar .profile-details img {
  padding: 10px;
}
.sidebar .profile-details .profile_name,
.sidebar .profile-details .job {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}
.sidebar.close-sidebar .profile-details i,
.sidebar.close-sidebar .profile-details .profile_name,
.sidebar.close-sidebar .profile-details .job {
  display: none;
}
.sidebar .profile-details .job {
  font-size: 12px;
}

.home-section {
  position: relative;
  /*
  background: #f2f2f2;
  */
  height: 100%;
  min-height: calc(100vh - 50px);
  left: 260px;
  width: calc(100% - 260px);
  transition: all 0.5s ease;
}
.sidebar.close-sidebar ~ .home-section {
  left: 78px;
  width: calc(100% - 78px);
}
.home-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.home-section .home-content .fa-bars,
.home-section .home-content .text {
  color: #11101d;
  font-size: 35px;
}
.home-section .home-content .fa-bars {
  cursor: pointer;
  margin-right: 10px;
}
.home-section .home-content .text {
  font-size: 26px;
  font-weight: 600;
}

@media screen and (max-width: 980px) {
  .sidebar {
    top: 100px;
    height: calc(100% - 100px);
    width: 0;
  }
  .sidebar.close-sidebar {
    width: 78px;
  }
  .sidebar .profile-details {
    width: 0;
  }
  .sidebar.close-sidebar .profile-details {
    background: none;
  }
  .sidebar.close-sidebar .profile-details {
    width: 0;
  }
  .sidebar .logo-details .logo_name {
    opacity: 0;
    display: none;
  }
  .sidebar .logo-details i,
  .sidebar .logo-details img {
    opacity: 0;
    display: none;
  }
  .sidebar .profile-details {
    opacity: 0;
    display: none;
  }
  .sidebar.close-sidebar .profile-details {
    opacity: 1;
    display: block;
  }
  .sidebar.close-sidebar .logo-details i,
  .sidebar.close-sidebar .logo-details img {
    opacity: 1;
    display: block;
  }
  .home-section {
    left: 0;
    width: calc(100% - 0px);
  }
  .sidebar.close-sidebar ~ .home-section {
    left: 78px;
    width: calc(100% - 78px);
  }
}
