:root {
  --dark: #394149;
  --dark--darker: #323438;
  --dark--lighter: #4a5155;
  --light: #eff0f1;
  --light--darker: #e5e5e7;
  --grey--medium: #8799ad;
  --grey--dark: #5d6874;
  --grey--light: #b0bac4;
  --accent: #3191ff;
  --accent--secondary: #fff;
  --primary: #3191ff;
  --danger: #eb4f35;
  --success: #36b196;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
}
html {
  overscroll-behavior: none !important;
}
body {
  font-family: 'Nunito', sans-serif !important;
  scrollbar-width: thin;
  overscroll-behavior: none;
}
a:hover {
  text-decoration: none;
  color: inherit;
  opacity: 0.8;
}

/*  ###############################################################################################
    Dashboard Addins */
/*  ###############################################################################################
    Sidebar & Navigation */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--dark);
  color: var(--light);
  height: 100vh;
  width: 100%;
  padding: 0;
  margin: 0;
  transform: translateY(-102%);
  transition: all 0.25s ease-in-out;
  box-shadow: 1px 0 5px hsla(0, 0%, 0%, 0.35);
  overflow-y: auto;
}
.sidebar-open {
  transform: translateY(0);
}
.sidebar-toggle {
  cursor: pointer;
  font-size: 1.5rem;
}
.sidebar-close {
  position: absolute;
  top: 16px;
  right: 10px;
  opacity: 0.65;
  font-size: 1.25rem;
}
.sidebar-header {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: start;
  padding-left: 0.5rem;
  background: var(--dark--darker);
  border-bottom: 1px solid var(--dark--darker);
  /* background: var(--primary); */
  transition: all 0.25s ease-in-out;
}
.sidebar-header__brand {
  font-size: 1.5rem;
  margin-left: 1rem;
}
.sidebar-header__logo {
  width: 36px;
  height: 36px;
}
ul.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0;
}
ul.sidebar-nav li.sidebar-div {
  padding: 0 0.5rem 0 1.25rem;
  margin-top: 1.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  display: block;
  letter-spacing: 1px;
}
ul.sidebar-nav a.sidebar-link {
  color: var(--grey--medium);
  display: flex;
  align-items: center;
  padding: 0.125rem 0.5rem 0.125rem 0.85rem;
}
ul.sidebar-nav a.sidebar-link i {
  font-size: 1.2rem;
  margin-right: 0.5rem;
  transition: font-size 0.25s ease-in-out;
}
ul.sidebar-nav a.sidebar-link .badge {
  margin-left: auto;
}
ul.sidebar-nav a.sidebar-link:hover {
  text-decoration: none;
  color: var(--white);
  opacity: 1;
}
ul.sidebar-nav a.sidebar-link.active {
  color: var(--white);
  background: var(--dark--lighter);
  box-shadow: 4px 0px var(--accent) inset;
}

.sidebar-user {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0.5rem 1.25rem 1.25rem;
  margin-bottom: -1.5rem;
}
.sidebar-user__top {
  display: flex;
  align-items: center;
}
.sidebar-user__avatar {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--dark--lighter);
  margin-right: auto;
  transition: all 0.25s ease-in-out;
  pointer-events: none;
}
.sidebar-user a {
  color: var(--grey--medium);
}
.sidebar-user a:hover {
  color: var(--white);
}
.sidebar-user i {
  font-size: 1.2rem;
}
.sidebar-user__bottom {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  margin-top: 0.5rem;
  color: var(--grey--medium);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sidebar-user__bottom span {
  color: var(--white);
  font-size: 1rem;
  text-transform: none;
  letter-spacing: unset;
}

.sidebar-copyright {
  position: static;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--grey--dark);
}
@media (min-height: 720px) {
  .sidebar-copyright {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1rem;
  }
}

/*  ###############################################################################################
    Content */
.content {
  padding: 0;
  margin: 0;
  min-height: 100vh;
}
.content-header {
  height: 60px;
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 1rem 0 0;
  background: var(--white);
  border-bottom: 1px solid var(--light--darker);
  z-index: 100;
}
.content-header a {
  margin-left: 1rem;
  color: var(--grey--medium);
}
.content-header a:hover {
  color: var(--dark);
}
.content-wrapper {
  padding: calc(60px + 0.5rem) 1rem 0 1rem;
}
.content-hero {
  margin: -0.5rem -1rem 2rem -1rem;
  background: var(--white);
  padding: 1rem;
  border-bottom: 1px solid var(--light--darker);
}

/*  ###############################################################################################
    MD */
@media (min-width: 768px) {
  .sidebar {
    width: 60px;
    transform: translateX(0);
  }
  .sidebar.sidebar-open {
    padding-top: 0;
    width: 250px;
  }
  .sidebar-header {
    padding: 0;
    justify-content: center;
  }
  .sidebar-header__brand {
    display: none;
  }
  .sidebar.sidebar-open .sidebar-header {
    justify-content: start;
    padding-left: 1rem;
  }
  .sidebar.sidebar-open .sidebar-header__brand {
    display: inline;
  }
  .content {
    margin-left: 60px;
  }
  .content-header {
    width: calc(100% - 60px);
  }
  .content-header.sidebar-open {
    width: 100%;
  }
  ul.sidebar-nav {
    margin: 2.5rem 0 0 0;
  }
  ul.sidebar-nav li.sidebar-div span {
    display: none;
  }
  ul.sidebar-nav a.sidebar-link i {
    font-size: 1.5rem;
  }
  ul.sidebar-nav a.sidebar-link span {
    display: none;
  }
  .sidebar-open ul.sidebar-nav {
    margin: 2.5rem 0;
  }
  .sidebar-open ul.sidebar-nav li.sidebar-div span {
    display: block;
  }
  .sidebar-open ul.sidebar-nav a.sidebar-link i {
    font-size: 1.2rem;
  }
  .sidebar-open ul.sidebar-nav a.sidebar-link span {
    display: inline;
  }
  .sidebar-user {
    padding-left: 0.5rem;
  }
  .sidebar-user__avatar {
    border: 2px solid var(--dark--lighter);
    width: 2.75rem;
    height: 2.75rem;
  }
  .sidebar-user__top a:not(.dropdown-item) {
    display: none;
  }
  .sidebar-user__bottom {
    display: none;
  }
  .sidebar-copyright {
    display: none;
  }
  .sidebar-open .sidebar-user {
    padding-left: 1.25rem;
  }
  .sidebar-open .sidebar-user__avatar {
    border: 4px solid var(--dark--lighter);
    width: 3.5rem;
    height: 3.5rem;
    pointer-events: none;
  }
  .sidebar-open .sidebar-user__top a:not(.dropdown-item) {
    display: block;
  }
  .sidebar-open .sidebar-user__bottom {
    display: flex;
  }
  .sidebar-open .sidebar-copyright {
    display: block;
  }
}

/*  ###############################################################################################
    XL */
@media (min-width: 1200px) {
  .sidebar {
    width: 250px;
  }
  .sidebar-toggle {
    display: none;
  }
  .sidebar-header {
    padding-left: 1.25rem;
    justify-content: start;
  }
  .sidebar-header__brand {
    display: inline;
    justify-content: start;
  }
  .content {
    margin-left: 250px;
  }
  .content-header {
    width: calc(100% - 250px);
  }
  ul.sidebar-nav {
    margin: 2.5rem 0;
  }
  ul.sidebar-nav li.sidebar-div span {
    display: block;
  }
  ul.sidebar-nav a.sidebar-link i {
    font-size: 1.2rem;
  }
  ul.sidebar-nav a.sidebar-link span {
    display: inline;
  }
  .sidebar-user {
    padding-left: 1.25rem;
  }
  .sidebar-user__avatar {
    border: 4px solid var(--dark--lighter);
    width: 3.5rem;
    height: 3.5rem;
    pointer-events: none;
  }
  .sidebar-user__top a:not(.dropdown-item) {
    display: block;
  }
  .sidebar-user__bottom {
    display: flex;
  }
  .sidebar-copyright {
    display: block;
  }
}

.footer {
  height: 3.75rem;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
}
.footer > div {
  width: 100%;
  margin: 0;
  height: 3.7rem;
}
@media (min-width: 768px) {
  .footer {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 30%,
      rgba(0, 40, 100, 0.12) 100%
    ) !important;
    border: 0;
  }
  .footer > div {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff);
    height: 3.7rem;
  }
}

/*  ###############################################################################################
    Core Rework */
.card {
  border-radius: 6px;
}
.header {
  background: transparent;
  border: 0;
}
.loader-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
  cursor: default;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}
.modal-content .loader-wrapper {
  border-radius: inherit;
}
.card .loader-wrapper {
  border-radius: 6px;
}
@media (max-width: 768px) {
  .cut-mobile {
    max-width: 87vw !important;
    overflow: auto;
  }
}
.font-bold {
  font-weight: bold;
}

.alert {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175) !important;
}
.alert button::before {
  display: none;
}

.bg-accent {
  background: #eef6ff;
}

/*  ###############################################################################################
    Gradient Buttons */
.badge-primary {
  background: linear-gradient(110deg, #2c97de, #0484d9);
}
.btn-primary {
  background: linear-gradient(110deg, #2c97de, #0484d9);
  border-color: #2c97de !important;
}
.btn-outline-primary:hover {
  background: linear-gradient(110deg, #2c97de, #0484d9);
}
.badge-danger {
  background: linear-gradient(110deg, #cd201f, #ba0100);
  width: 0.9rem;
  height: 0.9rem;
}
.btn-danger {
  background: linear-gradient(110deg, #cd201f, #ba0100);
  border-color: #cd201f;
}
.btn-outline-danger:hover {
  background: linear-gradient(110deg, #cd201f, #ba0100);
}
.btn-link:hover {
  text-decoration: none;
  color: #000;
}

/*  ###############################################################################################
    Login Page */
.login-splash {
  background: rgba(44, 151, 222, 0.75);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 600;
}
.login-headline {
  font-size: 1.75rem;
  color: var(--light);
  text-transform: uppercase;
  font-weight: bolder;
  letter-spacing: 5px;
  margin-bottom: 1rem;
  position: absolute;
  left: 50%;
  top: 15%;
  transform: translate(-20vw);
}
.login-splash-text {
  font-weight: 600;
  font-size: 1.5rem;
  max-width: 25rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -25vh);
  text-align: justify;
}

.register-form input[type='text'],
.register-form input[type='password'],
.register-form i {
  background: rgba(44, 151, 222, 0.9);
  color: var(--white);
}

.register-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/*  ###############################################################################################
    Event Card */
.card-event {
  position: relative;
  width: 100%;
  padding: 2rem;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 40, 100, 0.12);
  border-radius: 8px;
}
.card-event-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  border-top-left-radius: inherit;
  border-bottom-left-radius: inherit;
  background: var(--primary);
  clip-path: polygon(0 0, 100% 0, 75% 100%, 0% 100%);
}
.card-event-body {
  display: flex;
  display: -ms-flexbox;
}
.card-small {
  width: 40%;
}
.card-big {
  width: 60%;
}
.card-event-body .bold {
  font-weight: 800;
  font-size: 2.5rem;
  opacity: 0.5;
}

/*  ###############################################################################################
    Todo List */
ul.todo-list {
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}
li.todo-list-item {
  width: 100%;
  margin: 0;
  padding: 0.5rem;
  padding-left: 1rem;
}
li.todo-list-item.active {
  background: rgba(44, 151, 222, 0.1);
}
li.todo-list-item:not(:last-of-type) {
  border-bottom: 1px solid rgba(134, 142, 150, 0.15);
}
a.todo-list-item {
  width: 100%;
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
}
li.todo-list-item .todo-list-item__description {
  margin-left: 1rem;
  display: flex;
  flex-direction: column;
}
.todo-list-item__description .title {
  font-weight: 600;
}
.todo-list-item__description .subtitle {
  color: var(--secondary);
  font-size: small;
}

/*  ###############################################################################################
    Helper Classes & Addons */
.be-pointer {
  cursor: pointer;
}
.be-pointer-disabled {
  cursor: not-allowed;
}
.striked {
  text-decoration: line-through;
}
.flip-180 {
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);

  transform: rotate(180deg);
  transition: all 300ms ease-in-out;
}
.translucent-05 {
  opacity: 0.5;
}
.main-backdrop {
  position: absolute;
  z-index: -50;
  width: 100%;
  height: 400px;
  background: linear-gradient(
    110deg,
    rgba(44, 151, 222, 0.5) 0%,
    rgba(238, 238, 238, 0) 90%
  );
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%);
}
.main-backdrop.flip {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 80%);
  background: linear-gradient(
    310deg,
    rgba(44, 151, 222, 0.5) 0%,
    rgba(238, 238, 238, 0) 90%
  );
}
.o-none {
  overflow-x: hidden;
}
.content-dim {
  filter: blur(4px);
}
.page-dim {
  display: none;
  position: fixed;
  top: -1%;
  left: -1%;
  right: 0;
  bottom: 0;
  width: 102%;
  height: 102vh;
  z-index: 999;
  background: rgba(0, 0, 0, 0.65);
}
.shadow-sm {
  box-shadow: 0 1px 5px hsla(0, 0%, 0%, 0.075);
}
.shadow-md {
  box-shadow: 0 3px 10px hsla(0, 0%, 0%, 0.25);
}
.shadow-xl {
  box-shadow: 0 1rem 2rem hsla(0, 0%, 0%, 0.3);
}

/*  ###############################################################################################
    Dropdown Reqrite for Sidebar */
.dropdown-menu {
  box-shadow: 0px 2px 15px hsla(0, 0%, 0%, 0.5);
}
.dropdown-menu * {
  margin: 0;
  padding-left: 0.5rem;
}
.dropdown-menu a:hover {
  background: var(--dark--lighter);
}
.dropdown-menu.bg-dark .dropdown-header {
  color: var(--light);
}

/*  ###############################################################################################
    Header Searchbar */
.header-search {
  position: relative;
  margin: 0 1rem;
  max-width: 25rem;
  margin-right: auto;
}
.header-search input {
  border: 0;
  height: 2rem;
  border-radius: 20px;
  font-weight: bolder;
  background: var(--light);
}
.header-search input:focus {
  border: 0;
  box-shadow: none;
}
.header-search input::placeholder {
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  font-weight: normal;
}
.header-search input:focus::placeholder,
.header-search input:focus i {
  opacity: 1;
}
@media (min-width: 1200px) {
  .header-search {
    margin: 0 auto 0 1rem;
  }
}
.input-icon.header-search {
  width: 100%;
}
.input-icon.header-search i {
  padding: 0.35rem;
  opacity: 0.6;
  position: absolute;
  left: 5px;
}

#globalSearchOut {
  position: absolute;
  top: 2rem;
  left: 1rem;
  width: calc(100% - 2rem);
}
#globalSearchOut a {
  color: var(--dark);
}
#globalSearchOut a:hover {
  opacity: 1;
  font-weight: bolder;
  background: #eef6ff;
}
