/* ========================================================================
   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
 ========================================================================== */

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

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

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

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

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

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

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

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

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

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

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

.pagination {
  --bs-pagination-padding-x: 0.25rem;
  --bs-pagination-padding-y: 0;
  --bs-pagination-font-size: 1rem;
  --bs-pagination-color: var(--bs-link-color);
  --bs-pagination-bg: var(--bs-body-bg);
  --bs-pagination-border-width: var(--bs-border-width);
  --bs-pagination-border-color: var(--bs-border-color);
  --bs-pagination-border-radius: 0.5rem;
  --bs-pagination-hover-color: var(--bs-link-hover-color);
  --bs-pagination-hover-bg: var(--bs-tertiary-bg);
  --bs-pagination-hover-border-color: var(--bs-border-color);
  --bs-pagination-focus-color: var(--bs-link-hover-color);
  --bs-pagination-focus-bg: var(--bs-secondary-bg);
  --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(255, 121, 2, 0.25);
  --bs-pagination-active-color: #fff;
  --bs-pagination-active-bg: var(--bs-secondary);
  --bs-pagination-active-border-color: var(--bs-secondary);
  --bs-pagination-disabled-color: var(--bs-secondary-color);
  --bs-pagination-disabled-bg: var(--bs-secondary-bg);
  --bs-pagination-disabled-border-color: var(--bs-border-color);
}

.page-link {
  width: 2.5rem;
  height: 2.5rem;
  text-align: center;
  line-height: 2.5rem;
  border-radius: var(--bs-pagination-border-radius);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pagination-lg {
  --bs-pagination-padding-x: 0.25rem;
  --bs-pagination-padding-y: 0;
  --bs-pagination-font-size: 1.25rem;
  --bs-pagination-border-radius: 0.75rem;
  width: 3rem;
  height: 3rem;
  line-height: 3rem;
}

.pagination-sm {
  --bs-pagination-padding-x: 0.25rem;
  --bs-pagination-padding-y: 0;
  --bs-pagination-font-size: 0.875rem;
  --bs-pagination-border-radius: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1.5rem;
}

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

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

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

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

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

/* ========================================================================
   BS Toast
 ========================================================================== */

/* ========================================================================
   BS Modal
 ========================================================================== */

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

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

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

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

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

/* ========================================================================
   TM Topbar
 ========================================================================== */

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

.tm-header {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

@media (min-width: 768px) {
  .tm-header {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }
}

.tm-logo {
  display: inline-block;
  max-width: 100%;
}

.tm-header-nav .nav-link {
  color: var(--bs-body-color);
  font-size: 1.2rem;
  padding-left: 0 !important;
  padding-right: 2rem !important;
}

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

.tm-header-nav .nav-link.active,
.tm-header-nav .show > .nav-link {
  color: var(--bs-nav-link-color);
}

.tm-header-nav .nav-link.disabled,
.tm-header-nav .nav-link:disabled {
  color: var(--bs-nav-link-disabled-color);
}

.tm-header-nav .dropdown-menu {
  padding: 0 0.5rem;
}

.tm-header-nav .dropdown-item {
  padding: 0.5rem var(--bs-dropdown-item-padding-x);
  margin: 0.5rem 0;
  border-radius: var(--bs-dropdown-border-radius);
}

.tm-header-icon,
.tm-footer-icon {
  display: inline-block;
  font-size: 1.1rem;
  line-height: 2.8rem;
  color: var(--bs-secondary);
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 100%;
  text-align: center;
  box-sizing: border-box;
}

/* ========================================================================
   TM Mobile nav
 ========================================================================== */

.tm-mobile-nav .nav-link {
  color: var(--bs-body-color);
  font-size: 1rem;
  padding-left: 0 !important;
  padding-right: 2rem !important;
}

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

.tm-mobile-nav .nav-link.active,
.tm-mobile-nav .show > .nav-link {
  color: var(--bs-nav-link-color);
}

.tm-mobile-nav .nav-link.disabled,
.tm-mobile-nav .nav-link:disabled {
  color: var(--bs-nav-link-disabled-color);
}

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

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

.tm-section-hero {
  max-width: 1400px;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 1.5rem 1.5rem 0 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

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

.tm-section-hero::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -1.5rem;
  right: 0;
  height: 1.5rem;
  background: var(--bs-secondary);
  z-index: 1;
}

@media (min-width: 1400px) {
  .tm-section-hero::before {
    display: none;
  }
}

.tm-section-hero::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -1.5rem;
  right: 0;
  height: 1.5rem;
  background: var(--bs-body-bg);
  border-radius: 1.5rem 1.5rem 0 0;
  z-index: 2;
}

@media (min-width: 1400px) {
  .tm-section-hero::after {
    display: none;
  }
}

.tm-section-hero-overlay {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 1.5rem 1.5rem 0 0;
  background-color: rgba(0, 82, 88, 0.5);
  background: linear-gradient(
    to top,
    rgba(0, 82, 88, 1),
    50%,
    rgba(0, 82, 88, 0.5)
  );
}

@media (min-width: 768px) {
  .tm-section-hero-overlay {
    background: linear-gradient(to right, rgba(0, 82, 88, 1), 50%, transparent);
  }
}

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

.tm-section-hero-content {
  position: relative;
  z-index: 1;
  text-shadow: 0.1rem 0.1rem 0.2rem rgba(0, 0, 0, 0.2);
}

.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: calc(var(--bs-gutter-x) * 0.5);
    background: linear-gradient(to right, var(--bs-body-bg), 50%, transparent);
    z-index: 10;
  }

  .tm-section-swiper .swiper::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: calc(var(--bs-gutter-x) * 0.5);
    background: linear-gradient(to left, var(--bs-body-bg), 50%, transparent);
    z-index: 10;
  }
}

.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: 50px;
  padding-bottom: 70px;
}

@media (max-width: 991px) {
  .tm-footer {
    padding-bottom: 120px;
  }
}

.tm-toolbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  z-index: 1000;
}

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

.leaflet-container {
  border-radius: 1rem;
}

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

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

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

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

@media (min-width: 768px) {
  .leaflet-container {
    height: 100% !important;
  }
}

.tm-contact-icon {
  display: inline-block;
  font-size: 2rem;
  line-height: 4.5rem;
  color: var(--bs-primary);
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 1rem;
  text-align: center;
  box-sizing: border-box;
}

/* ========================================================================
   TM Articles
 ========================================================================== */

.tm-article-detail img {
  max-width: 100%;
  height: auto;
}

/* ========================================================================
   TM Features
 ========================================================================== */

.tm-features-icon {
  width: 4rem;
  height: 4rem;
}
