/* ========================================================================
   Fonts
 ========================================================================== */

/* ========================================================================
   BS Base
 ========================================================================== */

:root {
  --swiper-theme-color: var(--bs-primary);
  --swiper-navigation-size: 2rem;
  --swiper-navigation-sides-offset: 1.5rem;
}

h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1 {
  font-weight: bold;
}

.lead {
  font-weight: normal;
}

.display-1 {
  font-weight: bold;
}

.display-2 {
  font-weight: bold;
}

.display-3 {
  font-weight: bold;
}

.display-4 {
  font-weight: bold;
}

.display-5 {
  font-weight: bold;
}

.display-6 {
  font-weight: bold;
}

/* ========================================================================
   BS Container
 ========================================================================== */

.container,
.container-fluid,
.container-xxl,
.container-xl,
.container-lg,
.container-md,
.container-sm {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 0;
}

@media (min-width: 1200px) {
  .container,
  .container-fluid,
  .container-xxl,
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm {
    --bs-gutter-x: 3rem;
    --bs-gutter-y: 0;
  }
}

/* ========================================================================
   BS Table
 ========================================================================== */

/* ========================================================================
   BS Form
 ========================================================================== */

.text-bg-secondary .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: var(--bs-border-width) solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.text-bg-secondary .form-control:focus {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffca80;
}

.text-bg-secondary .form-control:disabled {
  background-color: rgba(0, 0, 0, 0.1);
}

.text-bg-secondary .form-select {
  background-color: rgba(255, 255, 255, 0.1);
  border: var(--bs-border-width) solid var(--bs-border-color);
}

.text-bg-secondary .form-select:disabled {
  background-color: rgba(0, 0, 0, 0.1);
}

.text-bg-secondary .form-check-input {
  background-color: rgba(255, 255, 255, 0.1);
  border: var(--bs-border-width) solid rgba(255, 255, 255, 0.2);
}

.text-bg-secondary .form-check-input:checked {
  background-color: #ff9500;
  border-color: #ff9500;
}

.text-bg-secondary .form-check-input[type="checkbox"]:indeterminate {
  background-color: #ff9500;
  border-color: #ff9500;
}

.text-bg-secondary .form-floating > label {
  border: var(--bs-border-width) solid rgba(0, 0, 0, 0);
}

.text-bg-secondary
  .form-floating
  > .form-control:not(:-moz-placeholder-shown)
  ~ label {
  color: rgba(255, 255, 255, 0.65);
}

.text-bg-secondary .form-floating > .form-control:focus ~ label,
.text-bg-secondary
  .form-floating
  > .form-control:not(:placeholder-shown)
  ~ label,
.text-bg-secondary .form-floating > .form-control-plaintext ~ label,
.text-bg-secondary .form-floating > .form-select ~ label {
  color: rgba(255, 255, 255, 0.65);
}

.text-bg-secondary
  .form-floating
  > .form-control:not(:-moz-placeholder-shown)
  ~ label::after {
  background-color: transparent;
}

.text-bg-secondary .form-floating > .form-control:focus ~ label::after,
.text-bg-secondary
  .form-floating
  > .form-control:not(:placeholder-shown)
  ~ label::after,
.text-bg-secondary .form-floating > .form-control-plaintext ~ label::after,
.text-bg-secondary .form-floating > .form-select ~ label::after {
  background-color: transparent;
}

.text-bg-secondary .form-floating > .form-control:-webkit-autofill ~ label {
  color: rgba(255, 255, 255, 0.65);
}

.text-bg-secondary .form-floating > :disabled ~ label,
.text-bg-secondary .form-floating > .form-control:disabled ~ label {
  color: rgba(255, 255, 255, 0.65);
}

.text-bg-secondary .form-floating > :disabled ~ label::after,
.text-bg-secondary .form-floating > .form-control:disabled ~ label::after {
  background-color: transparent;
}

/* ========================================================================
   BS Button
 ========================================================================== */

/* ========================================================================
   BS Collapse
 ========================================================================== */

/* ========================================================================
   BS Dropdown
 ========================================================================== */

/* ========================================================================
   BS Button group
 ========================================================================== */

/* ========================================================================
   BS Nav
 ========================================================================== */

/* ========================================================================
   BS Navbar
 ========================================================================== */

/* ========================================================================
   BS Card
 ========================================================================== */

/* ========================================================================
   BS Accordion
 ========================================================================== */

/* ========================================================================
   BS Pagination
 ========================================================================== */

/* ========================================================================
   BS Babge
 ========================================================================== */

/* ========================================================================
   BS Allert
 ========================================================================== */

/* ========================================================================
   BS Progress
 ========================================================================== */

/* ========================================================================
   BS List group
 ========================================================================== */

/* ========================================================================
   BS Close
 ========================================================================== */

/* ========================================================================
   BS Toast
 ========================================================================== */
.modal {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
/* ========================================================================
   BS Modal
 ========================================================================== */

/* ========================================================================
   BS Tooltip
 ========================================================================== */

/* ========================================================================
   BS Popover
 ========================================================================== */

/* ========================================================================
   BS Carousel
 ========================================================================== */

/* ========================================================================
   BS Spinner
 ========================================================================== */

/* ========================================================================
   BS Off-canvas
 ========================================================================== */

/* ========================================================================
   TM Toolbar
 ========================================================================== */

.tm-toolbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  display: none;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  z-index: 1010;
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-out;
  transform: translate(0, -100%);
}

@media (prefers-reduced-motion: reduce) {
  .tm-toolbar {
    transition: none;
  }
}

.tm-toolbar.show {
  transform: none;
  display: block;
}

.tm-toolbar .nav-pills {
  --bs-nav-pills-border-radius: 500px;
  --bs-nav-pills-link-active-color: #fff;
  --bs-nav-pills-link-active-bg: #ff9500;
}

.tm-toolbar .nav-pills .nav-link {
  color: var(--bs-body-color);
  border-radius: var(--bs-nav-pills-border-radius);
}

.tm-toolbar .nav-pills .nav-link:hover,
.tm-toolbar .nav-pills .nav-link:focus {
  color: var(--bs-nav-link-hover-color);
}

.tm-toolbar .nav-pills .nav-link.active,
.tm-toolbar .nav-pills .show > .nav-link {
  color: var(--bs-body-color);
  background-color: var(--bs-secondary-bg);
}

/* ========================================================================
   TM Header
 ========================================================================== */

/* ========================================================================
   TM Section
 ========================================================================== */

.tm-section {
  position: relative;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.tm-section-cover-img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
}

@media (min-width: 1400px) {
  .tm-section-cover-img {
    border-radius: 0 1.5rem 1.5rem 0;
  }
}

.tm-section-cover-text {
  position: relative;
  z-index: 1;
}

.tm-section-hero {
  border-radius: 0 0 1.5rem 1.5rem;
  padding-top: 1.2rem;
  padding-bottom: 1.5rem;
}

@media (min-width: 1200px) {
  .tm-section-hero {
    height: calc(100vh - 3rem);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    margin-top: 1.5rem;
    border-radius: 1.5rem;
    max-width: calc(100% - 3rem);
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

.tm-section-hero-img {
  height: auto;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 1200px) {
  .tm-section-hero-img {
    height: calc(100vh - 6rem);
    width: auto;
    max-width: 100%;
  }
}

.tm-section-background {
  max-width: 1400px;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (min-width: 1400px) {
  .tm-section-background {
    border-radius: 1.5rem;
  }
}

/* ========================================================================
   TM Button
 ========================================================================== */

.tm-floatin-button {
  height: calc(3.5rem + calc(var(--bs-border-width) * 2));
  font-size: 1.1rem;
}

/* ========================================================================
   TM Section Swiper
 ========================================================================== */

.tm-section-swiper .swiper {
  padding-bottom: 46px;
}

.tm-section-swiper .swiper-wrapper {
  align-items: stretch !important;
}

.tm-section-swiper .swiper-slide {
  height: auto !important;
}

@media (min-width: 576px) {
  .tm-section-swiper .swiper::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 1rem;
    background: linear-gradient(to right, #ffffff, 40%, transparent);
    z-index: 10;
  }

  .tm-section-swiper .swiper::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1rem;
    background: linear-gradient(to left, #ffffff, 40%, transparent);
    z-index: 10;
  }
}

@media (min-width: 1200px) {
  .tm-section-swiper .swiper::before {
    width: 1.5rem;
  }

  .tm-section-swiper .swiper::after {
    width: 1.5rem;
  }
}

.tm-section-swiper .swiper-button-next,
.tm-section-swiper .swiper-button-prev {
  top: auto;
  bottom: 0;
  margin: 0;
  height: 26px;
  color: var(--bs-body-color);
  z-index: 20;
}

.tm-section-swiper .swiper-button-next:hover,
.tm-section-swiper .swiper-button-prev:hover {
  color: var(--bs-primary);
}

.tm-section-swiper .swiper-button-next.swiper-button-disabled,
.tm-section-swiper .swiper-button-prev.swiper-button-disabled {
  opacity: 0;
}

.tm-section-swiper .swiper-button-prev {
  left: 15px;
}

.tm-section-swiper .swiper-button-next {
  right: 15px;
}

.tm-section-swiper .swiper-button-next:after,
.tm-section-swiper .swiper-button-prev:after {
  font-family: bootstrap-icons !important;
  font-size: 26px;
  font-style: normal;
  font-weight: 400 !important;
  font-variant: normal;
  text-transform: none;
  line-height: 26px;
  vertical-align: -0.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.tm-section-swiper .swiper-button-prev:after,
.tm-section-swiper .swiper-rtl .swiper-button-next:after {
  content: "\f12f";
}

.tm-section-swiper .swiper-button-next:after,
.tm-section-swiper .swiper-rtl .swiper-button-prev:after {
  content: "\f138";
}

.tm-section-swiper .swiper-horizontal > .swiper-pagination-bullets,
.tm-section-swiper .swiper-pagination-bullets.swiper-pagination-horizontal,
.tm-section-swiper .swiper-pagination-custom,
.swiper-pagination-fraction {
  top: auto;
  bottom: 9px;
}

/* ========================================================================
   TM Footer
 ========================================================================== */

.tm-footer {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

/* ========================================================================
   TM Contacts
 ========================================================================== */

.tm-section-background .leaflet-container {
  height: 400px;
}

@media (min-width: 1400px) {
  .tm-section-background .leaflet-container {
    border-radius: 1.5rem;
    height: 600px;
  }
}

.tm-section-background .leaflet-top .leaflet-control {
  margin-top: 20px;
}

.tm-section-background .leaflet-bottom .leaflet-control {
  margin-bottom: 20px;
}

.tm-section-background .leaflet-left .leaflet-control {
  margin-left: 20px;
}

.tm-section-background .leaflet-right .leaflet-control {
  margin-right: 20px;
}

.tm-section-background .leaflet-marker-icon {
  margin-left: -25px !important;
  margin-top: -60px !important;
  width: 50px !important;
  height: 60px !important;
}

.tm-section-background .leaflet-marker-icon-custom {
  width: 50px;
  height: 50px;
  color: #fff;
  text-align: center;
  line-height: 50px;
  position: relative;
  font-size: 1.2rem;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.tm-section-background .leaflet-marker-icon-custom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #4c9cd1, #126fc6);
  background-color: #126fc6;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50% 50% 0 50%;
  transform: rotate(45deg);
}

.tm-section-background .leaflet-popup {
  margin-bottom: 40px;
}

.tm-section-background .leaflet-tooltip-bottom {
  margin-top: 12px;
}

.tm-section-background .leaflet-tooltip-top {
  margin-top: -12px;
}

.tm-section-background .leaflet-tooltip-bottom:before,
.tm-section-background .leaflet-tooltip-top:before {
  left: 50%;
  margin-left: -2px;
}

.tm-section-background .leaflet-tooltip-top:before {
  bottom: 0;
  margin-bottom: -12px;
}

.tm-section-background .leaflet-tooltip-bottom:before {
  top: 0;
  margin-top: -12px;
  margin-left: -6px;
}

.tm-section-background .leaflet-tooltip-left {
  margin-top: -20px;
  margin-left: -14px;
}

.tm-section-background .leaflet-tooltip-right {
  margin-top: -20px;
  margin-left: 14px;
}

.tm-section-background .leaflet-tooltip-left:before,
.tm-section-background .leaflet-tooltip-right:before {
  top: 50%;
  margin-top: -6px;
}

.tm-section-background .leaflet-tooltip-left:before {
  right: 0;
  margin-right: -12px;
}

.tm-section-background .leaflet-tooltip-right:before {
  left: 0;
  margin-left: -12px;
}

@media (min-width: 992px) {
  .tm-quiz {
    min-height: 500px;
  }
}
