/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.light-style .menu .app-brand.demo {
  height: 64px;
}

.dark-style .menu .app-brand.demo {
  height: 64px;
}

.dark-style .app-brand-link {
  .logo-default {
    /* filter: invert(100%); */
    filter: brightness(150%);
  }
}

.app-brand-logo.demo svg {
  /* width: 38px; */
  /* height: 20px; */
  width: 50px;
  height: 50px;
}

.app-brand-text.demo {
  font-size: 1.25rem;
  letter-spacing: 0.15px;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.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: 1.25rem !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;
}

.popover.credits-popover-compact .popover-header {
  padding: 0.35rem 0.6rem 0.1rem !important;
  margin-bottom: 0 !important;
  line-height: 1.05 !important;
  min-height: auto !important;
  border-bottom: 0 !important;
}

.popover.credits-popover-compact .popover-body {
  padding: 0.05rem 0.6rem 0.4rem !important;
  margin-top: 0 !important;
  line-height: 1.05 !important;
  min-height: auto !important;
}

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

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

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 300px;
    position: relative;
  }

  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*

/* Dropdown events going out of small screens */
@media (max-width: 576px) {
  #dropdown-events .btn-dropdown-events .text-truncate {
    width: 300px;
    position: relative;
  }

  #dropdown-events .btn-dropdown-events .text-truncate::after {
    position: absolute;
    top: 45%;
    /* right: 0.65rem; */
    right: 0.35rem;
  }
}

/*

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

.layout-demo-wrapper {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1.25rem;
}

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

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

/* Customização dos inputs do offcanvas */
#offcanvasTime .form-time {
  border: none;
  outline: none;
  box-shadow: none;
}

#offcanvasTime .form-control {
  height: 70px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #f09d06;
  background-color: #000000;
}

#offcanvasTime .form-control.input-time-lead {
  height: 70px;
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  background-color: #72e128;
}

#offcanvasTime .form-control.input-time {
  height: 70px;
  font-size: 2rem;
  font-weight: bold;
  color: #000000;
  background-color: #f09d06;
}

#offcanvasTime .form-floating>label {
  font-size: 1rem;
}

#offcanvasTime #btnCronometro {
  height: 70px;
  font-size: 2rem;
  font-weight: bold;
}

#dt-table .text-instagram {
  color: #e1306c !important;
}

#dt-table .text-whatsapp {
  color: #25d366 !important;
}

/* Event settings posters/regulation cards */
.poster-card {
  width: 120px;
  cursor: move;
  user-select: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.poster-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.regulation-embed {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: #fff;
}

.poster-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(30, 41, 59, 0.16);
}

.poster-remove-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.poster-remove-btn:hover {
  background: #dc3545;
  color: #fff;
}

/* Template customizer: move floating toggle icon higher */
html #template-customizer .template-customizer-open-btn {
  top: 70px !important;
}

@media (max-width: 991.98px) {
  html #template-customizer .template-customizer-open-btn {
    top: 70px !important;
  }
}

body.customizer-hide #template-customizer {
  display: none !important;
}

.poster-dragging {
  opacity: 0.45;
  transform: scale(0.98);
}

.poster-drop-target {
  outline: 2px dashed #28c76f;
  outline-offset: 2px;
  background: #f4fff8;
}

/* Ropers modal */
.country-select {
  font-size: 0.8rem;
}

/* Menu Hover Delay - COMENTADO (usado apenas com showDropdownOnHover: true)
   Descomente se voltar a usar hover nos menus

.menu-horizontal .menu-item.open {
  position: relative;
}

.menu-horizontal .menu-item:hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: auto;
}

.menu-horizontal .menu-sub {
  transition: opacity 0.15s ease-in-out, visibility 0s linear 0.15s;
}

.menu-horizontal .menu-item.open>.menu-sub {
  transition-delay: 0s, 0s;
  opacity: 1;
  visibility: visible;
}

.menu-horizontal .menu-item.open>.menu-sub::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  pointer-events: auto;
}
*/