html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
/* Desktop side banner ads. Hidden by default and only displayed on wide desktop screens. */
:root {
  --dm-side-ad-width: 160px;
  --dm-side-ad-gap: 24px;
  --dm-side-ad-content-max-width: 1320px;
}

.dm-side-ads {
  display: none;
}

@media (min-width: 1720px) {
  .dm-side-ads {
    display: flex;
    position: fixed;
    top: 96px;
    width: var(--dm-side-ad-width);
    max-height: calc(100vh - 120px);
    flex-direction: column;
    gap: 14px;
    z-index: 1020;
    pointer-events: none;
  }

  .dm-side-ads-left {
    left: calc((100vw - var(--dm-side-ad-content-max-width)) / 2 - var(--dm-side-ad-width) - var(--dm-side-ad-gap));
  }

  .dm-side-ads-right {
    right: calc((100vw - var(--dm-side-ad-content-max-width)) / 2 - var(--dm-side-ad-width) - var(--dm-side-ad-gap));
  }

  .dm-side-ad {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    text-decoration: none;
    pointer-events: auto;
  }

  .dm-side-ad:hover,
  .dm-side-ad:focus {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
  }

  .dm-side-ad img {
    display: block;
    width: 100%;
    height: auto;
  }

  .dm-ad-label {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-transform: uppercase;
  }
}

@media (max-width: 1719.98px) {
  .dm-side-ads {
    display: none !important;
  }
}
