/* Flash notification */

.flash-notify {
  margin: 39px 0 0 0;
  padding: 20px 20px;
  color: #fff;
  font-weight: 500;
  border-radius: 10px;
  min-width: 100%;
  box-shadow: var(--box-shadow);
}

.noty-wrap {
  align-items: center;
}

.flash-notify button {
  border: none;
  background-color: transparent;
  color: #fff;
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
}

.flash-notify button:hover {
  opacity: 0.8;
}

.flash-notify button:focus,
.flash-notify button:active {
  outline: none;
}

.flash-notify .noty-wrap i.fad {
  font-size: 2.5rem;
  --fa-primary-color: #fff !important;
  --fa-secondary-color: #fff !important;
  --fa-secondary-opacity: 0.4 !important;
}

.flash-notify span:first-child {
  display: flex;
}

.flash-notify span:last-child {
  text-align: center;
  font-size: 1.1rem;
}

.flash-notify a {
  color: #fff !important;
  text-decoration: underline;
}

.flash-notify a:hover {
  text-decoration: none;
}

.notice-notify {
  background-color: var(--blue-color);
}

.success-notify {
  background-color: var(--green-color);
}

.alert-notify,
.error-notify {
  background-color: var(--red-color);
}

/* Header */
#main-content header {
  top: 0px;
  height: 60px;
  padding: 0 300px 0 0;
  background-color: var(--light-gray-color);
  z-index: 1100;
  border-bottom: 1px solid #dfe1e6;
}

#main-content header .full-width-container {
  padding: 0px 30px 0px 30px;
}

.hide-on-scroll {
  top: -62px !important;
}

.expand-header {
  padding-right: 45px !important;
}

/* Hamburger menu */
header .ham-wrap {
  display: none;
  cursor: pointer;
  padding: 30px 15px;
}

header .hamburger span,
#demo .hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin-bottom: 3px;
  background: var(--dark-blue-color);

  &:last-child {
    margin-bottom: 0;
  }
}

#user-top-menu {
  flex: 1;
}

#user-top-menu .auth-buttons {
  display: none;
}

#user-top-menu .auth-skeleton {
  height: 35px;
  margin-bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(35, 47, 62, 0.08) 0%,
    rgba(35, 47, 62, 0.18) 20%,
    rgba(35, 47, 62, 0.28) 40%,
    rgba(35, 47, 62, 0.18) 60%,
    rgba(35, 47, 62, 0.08) 100%
  );
  background-size: 200% 100%;
}

#user-top-menu .button-blue {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

#user-top-menu a:hover {
  color: #4285f4;
}

#user-top-menu i {
  color: #2ecc71;
  font-size: 22px;
}

#user-top-menu i.max {
  top: -5px;
}

#user-top-menu i.max:after {
  content: "Max";
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 13px;
  position: absolute;
  top: 21px;
  left: -1px;
}

#user-top-menu .gravatar-wrap {
  border-radius: 9999px;
  border: 2px solid #fff;
}

header #user-top-menu .gravatar-wrap {
  cursor: pointer;
}

header #user-top-menu .gravatar-wrap:hover {
  border-color: var(--blue-color);
}

#user-top-menu .profile-picture {
  height: 32px;
  width: 32px;
}

#user-top-menu .light {
  bottom: 1px;
  right: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: var(--dark-blue-color);
  border: 1px solid #fff;
}

#user-top-menu .red-light {
  background-color: #e74c3c;
}

#user-top-menu .green-light {
  background-color: var(--green-color);
}

#user-top-menu .yellow-light {
  background-color: #f1c40f;
}

#user-top-menu .orange-light {
  background-color: #f39c12;
}

#user-top-menu .src-bar {
  border-radius: 9999px;
  background-color: var(--green-color);
}

#user-top-menu .src-bar .prog {
  width: 0%;
  height: 8px;
  background-color: #e74c3c;
}

#user-top-menu .no-plan-bar {
  background-color: #dfe1e6;
}

#user-top-menu .header-plan {
  color: var(--dark-blue-color);
}

/* User dropdown */
.user-plan-name, .user-team-name {
  font-size: 12px;
}

.dropdown-container .tippy-box {
  border-radius: 10px;
  min-width: 150px;
}

.dropdown-container .tippy-content a {
  color: var(--blue-color);
}

.dropdown-container .tippy-content a:hover {
  background-color: var(--light-gray-color);
}

.user-mail {
  font-size: 16px;
}

.user-plan-name {
  border-bottom: 1px solid #dfe1e6;
}

/* Register - Log in */
#user-top-menu a.button:hover {
  color: #fff !important;
}

@media (min-width: 2048px) {
  #main-content header {
    padding-right: 500px !important;
  }
}

@media (min-width: 1281px) and (max-width: 2047px) {
  .expand-header {
    padding-right: 345px !important;
  }
}

@media (min-width: 0px) and (max-width: 1280px) {
  #main-content header {
    padding-right: 240px !important;
  }
  .expand-header {
    padding-right: 10px !important;
  }
}

@media (min-width: 0px) and (max-width: 759px) {
  #main-content header {
    padding-right: 0 !important;
  }
  #main-content header .full-width-container {
    padding: 0px 12px 0px 0px;
  }
  #main-content .ham-wrap {
    display: block;
  }
}
