@tailwind base;
@tailwind components;
@tailwind utilities;

/* no-prefix */
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* no-prefix */
body::-webkit-scrollbar {
  display: none;
}

/* no-prefix */
@media screen and (min-width: 1024px) {

  /* no-prefix */
  #wpbody {
    margin-left: -20px !important;
  }
}

/* no-prefix */
@media screen and (min-width: 768px) and (max-width: 1023px) {

  /* no-prefix */
  #wpbody {
    margin-left: -20px !important;
  }
}

/* no-prefix */
@media screen and (max-width: 767px) {

  /* no-prefix */
  #wpbody {
    margin-left: -10px !important;
  }
}

/* no-prefix */
.menu-top .toplevel_page_sticky-cta {
  background-color: #2563eb !important;
  color: #fff !important;
}

input[type=date],
input[type=datetime-local],
input[type=datetime],
input[type=email],
input[type=month],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=time],
input[type=url],
input[type=week] {
  background-color: #fff !important;
  border-width: 1px !important;
  border-radius: 7px !important;
  border: 1px solid #e2e8f0 !important;
  padding-top: 0.5rem !important;
  padding-right: 0.75rem !important;
  padding-bottom: 0.5rem !important;
  padding-left: 0.75rem !important;
  font-size: 1rem !important;
  line-height: 1.5rem !important;
  --tw-shadow: 0 0 #0000 !important;
}

input[type=radio]:checked::before {
  background-color: #ffffff !important;
}

input[type=checkbox],
input[type=radio] {
  color: #2563eb !important;
  margin: 2px 0px 0px 0px !important;
}

input[type=checkbox]:checked::before {
  content: none !important;
}

input[type=number] {
  -moz-appearance: textfield;
}

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input::-o-inner-spin-button,
input::-o-outer-spin-button {
  -o-appearance: none;
  margin: 0
}

.trix-button--icon-heading-1,
.trix-button--icon-quote,
.trix-button--icon-code,
.trix-button--icon-bullet-list,
.trix-button--icon-number-list,
.trix-button--icon-decrease-nesting-level,
.trix-button--icon-increase-nesting-level,
.trix-button--icon-attach,
.trix-button-group:not(:first-child) {
  display: none;
}

#sticky-submit {
  transition: opacity 0.5s;
  position: fixed;
  bottom: 50%;
  right: -40px;
  display: flex;
  align-items: center;
  transform-origin: center;
  z-index: 9999;
  border-top-width: 0 !important;
  transform: rotate(-90deg);
  white-space: nowrap;
}

@media (max-width: 960px) {
  #sticky-submit {
    display: none;
  }
}

.icon-option {
  display: flex;
  align-items: center;
}

.icon-option .icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.bottom-0 {
  bottom: 0;
}

.sticky-cta-arrow {
  display: inline-block;
  width: 10px;
  text-align: center;
}

.asc .sticky-cta-arrow::after {
  content: '\25B2';
}

.desc .sticky-cta-arrow::after {
  content: '\25BC';
}

/* no-prefix */
.tooltip {
  position: relative;
}

/* no-prefix */
[data-tooltip] {
  position: relative;
  cursor: pointer;
}

/* no-prefix */
[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  padding: 8px;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  white-space: nowrap;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}

/* no-prefix */
[data-tooltip]::after {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  pointer-events: none;
}

@media (min-width: 1024px) {
  #banner-bg-color {
    transform: translateX(-50%);
    margin-left: 50%;
  }
}

@media (max-width: 1023px) {
  #banner-bg-color {
    transform: none !important;
    margin-left: none !important;
    width: 100% !important;
  }
}