@import url('https://cdn.jsdelivr.net/gh/alumuko/vanilla-datetimerange-picker@latest/dist/vanilla-datetimerange-picker.css');
@import url('https://fonts.googleapis.com/css2?family=Cookie&family=Explora&family=Quicksand:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #000000;
  --secondary: #252525;
  --light: #edf6f9;
  --dark: #1f2421;
  --danger: #f21b3f;
  --warning: #ff9914;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Quicksand', sans-serif;
}

body {
  background-color: #f5f5f9 !important;
}

button {
  font-weight: 700 !important;
}

a {
  text-decoration: none !important;
}

a:hover {
  color: var(--secondary) !important;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000 !important;
}

p {
  font-weight: 500 !important;
}

h11 {
  color: #f21b3f;
}

.text-light {
  color: #fff !important;
}

.menu .app-brand.demo {
  margin-top: 12px;
  justify-content: center;
  align-items: center;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}

/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks>* {
  display: block !important;
}

.demo-inline-spacing>* {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing>* {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg>* {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl>* {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}

.layout-demo-placeholder img {
  width: 900px;
}

.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

.bg-login {
  background-image: url(../img/illustrations/bg-login.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.text-small {
  font-size: .8em !important;
}

.notyf {
  z-index: 9999999999 !important;
}

.notyf__toast {
  z-index: 9999999 !important;
  border-radius: 8px !important;
}

.notyf__message {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1rem !important;
}

.notyf__wrapper {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.modal-content,
.alert,
.card {
  border-radius: 15px !important;
}

.container-loading {
  width: 100%;
  height: 100vh;
  position: absolute;
  z-index: 999999 !important;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, .5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
}

.logo {
  width: 350px;
}

.loader {
  width: 100%;
  height: 4px;
  border-radius: 30px;
  background-color: rgba(0, 0, 0, 0.2);
  position: relative;
}

.loader::before {
  content: '';
  position: absolute;
  background-color: var(--primary);
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  border-radius: 30px;
  animation: ani 1s ease-in-out infinite;
}

@keyframes ani {
  50% {
    width: 100%;
  }

  100% {
    width: 0;
    right: 0;
    left: unset;
  }
}

.icon-user {
  font-size: 4em;
  color: var(--primary);
}

.icon-user-table {
  font-size: 2.4em;
  color: var(--primary);
}

.custom-nav {
  font-size: .9em;
  color: #000;
  font-weight: 500;
}

.custom-nav-active {
  padding-bottom: .75em;
  border-bottom: 3px solid var(--primary);
  font-weight: 700;
}

.avatar {
  max-width: 50px;
  border-radius: 50%;
  margin-right: .8em;
}

.border-success {
  border-left: 3px solid #007f5f !important;
}

.border-danger {
  border-left: 3px solid var(--danger) !important;
}

.preview {
  text-align: center;
  overflow: hidden;
  width: 200px;
  height: 200px;
  margin: 10px;
  border: 1px solid var(--primary);
  border-radius: 10px;
}

.i-camera {
  padding: 6px;
  border: 1px solid #888888;
  background-color: #888888;
  border-radius: 50%;
  position: absolute;
  margin-top: -25px;
}

.picture-container {
  position: relative;
  cursor: pointer;
  text-align: center;
}

.picture>img,
.preview-img>img {
  display: block;
  max-width: 100%;
}

.picture {
  width: 150px;
  height: 150px;
  background-color: #999999;
  border: 4px solid #CCCCCC;
  color: #FFFFFF;
  border-radius: 50%;
  margin: 5px auto;
  overflow: hidden;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
}

.picture-sm {
  width: 80px !important;
  height: 80px !important;
}

.picture:hover {
  border-color: var(--primary);
}

.picture input[type="file"] {
  cursor: pointer;
  display: block;
  height: 100%;
  left: 0;
  opacity: 0 !important;
  position: absolute;
  top: 0;
  width: 100%;
}

.custom-tooltip .tooltip-inner {
  background-color: #404040 !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: .6em !important;
  border-radius: 8px !important;
  padding: 3px 6px !important;
}

.card-hover {
  border: #a0a0a0 1px solid !important;
  color: #000000 !important;
  transition: 250ms all;
}

.card-hover:hover {
  background-color: #fafafa;
  border: #000000 1px solid !important;
  transform: scale(1.01);
}

.card-border-top {
  border-top: 4px solid var(--danger);
}

/*
*   Media screen mobile
*/
@media only screen and (max-width: 600px) {
  .i-camera {
    padding: 6px !important;
    font-size: .98em !important;
  }
}

#modalAlert {
  display: none;
}

.modal-fade {
  position: absolute;
  z-index: 8;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: rgba(35, 35, 35, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.volunteer-header {
  position: relative;
}

.btn-volunteer {
  position: absolute;
  left: 0;
}