.img-height {
  height: 50svh;
}

.header {
  transition: var(--transition-all);
  height: 110px;
}

.header-top {
  height: 30px;
}

.header-bottom {
  height: 80px !important;
}

.header.fixed {
  box-shadow: var(--box-shadow-bottom);
}

.header.fixed {
  transform: translate3d(0, -30px, 0);
  transition: var(--transition-all);
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 10%) !important;
}

.header .dropdown-hover .dropdown-menu {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  transform: translateY(calc(-100% - 30px));
  transition: all 0.8s ease-in-out;
  opacity: 0.3;
  display: inline-block;
  padding-top: 110px;
  z-index: -1000;
  min-height: 60vh;
}

.header .dropdown-hover:hover > .dropdown-menu {
  transform: translateY(0);
  transition: all 0.8s ease-in-out;
  opacity: 1;
}

.arrow-down {
  -webkit-transition: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transition: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.header .dropdown-hover:hover .arrow-down {
  webkit-transform: rotateX(-180deg);
  transform: rotateX(-180deg);
}

.header .dropdown-hover .fade-in-element {
  opacity: 0;
  transition: var(--transition-all);
  transform: translateY(-150px);
}

.header .dropdown-hover:hover .fade-in-element {
  animation: fadein 0.6s ease-in-out 0.4s normal forwards 1;
}

.close.search {
  position: absolute;
  top: 160px;
  right: 20px;
  color: #000;
  z-index: 9999999;
  text-shadow: 0 0 #000;
  opacity: 1;
  font-size: 30px;
  cursor: pointer;
}

.box-shadow-none {
  box-shadow: none !important;
}

.b-w {
  border-color: #fff;
}

.hero {
  overflow: hidden;
  height: calc(100vh - var(--margin-top));
}

.hero img {
  width: 100% !important;
  object-fit: cover;
  height: 100%;
}

.carousel-caption {
  right: unset;
  max-width: 570px;
  left: min(140px, calc((0.07508) * 100vw + (-4.15534) * 1px)) !important;
  z-index: 1000;
  bottom: unset;
  padding-left: 12px;
  padding-right: 12px;
  top: 45%;
  transform: translateY(-50%);
}

.custom-caption {
  z-index: 1000;
  bottom: 0;
  position: absolute;
}

.carousel-indicators {
  position: absolute;
  bottom: 5vw;
  left: min(140px, calc((0.07508) * 100vw + (-4.15534) * 1px)) !important;
  z-index: 2;
  display: flex;
  justify-content: start;
  padding: 0;
  margin-right: 13vw;
  margin-bottom: 1rem;
  margin-left: 0;
  list-style: none;
}

.carousel-indicators button {
  width: 70px !important;
  height: 6px !important;
  border-radius: 0;
  background-color: var(--white) !important;
  opacity: 0.85 !important;
  border: 0 !important;
}

.carousel-indicators button.active {
  background-color: var(--primary) !important;
  opacity: 1 !important;
}

.mask {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
}

.hero-contact {
  background-image: url(/images/icons/skola-plivanja-swimway-hero-contact.svg);
  background-repeat: no-repeat;
  background-position: right -80px center;
  background-color: #fff !important;
}

.button {
  height: 45px;
  min-width: 180px;
  max-width: 180px;
  width: 100%;
  border: 1px solid;
  transition: var(--transition-all);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
  font-size: 16px;
  font-family: Rajdhani-Medium, sans-serif;
}

.button.smaller {
  height: 35px;
  max-width: 130px;
  min-width: 130px;
}

.button-primary {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.button-primary:hover {
  background-color: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.button-primary-to-white {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.button-primary-to-white:hover {
  background-color: var(--white);
  color: var(--text-primary);
  border-color: var(--white);
}

.button-secondary-to-white {
  background-color: var(--secondary);
  color: var(--text-white);
  border-color: var(--secondary);
}

.button-secondary-to-white:hover {
  background-color: var(--white);
  color: var(--secondary);
  border-color: var(--white);
}

.button-secondary {
  background-color: var(--secondary);
  color: var(--text-white);
  border-color: var(--secondary);
}

.button-secondary:hover {
  background-color: var(--white);
  color: var(--secondary);
  border-color: var(--white);
}

.card {
  border-radius: 0 !important;
}

.card-img-top {
  border-radius: 0 !important;
}

.img-blog-text {
  bottom: 0;
  left: 20px;
  border-top: 2px solid;
}

.blog-img-holder {
  border-radius: 0 !important;
}

.card.contact {
  border: 1px solid var(--border-gray-light);
  transition: var(--transition-all);
}

.form-control {
  border: 0 !important;
  min-height: 60px !important;
  border-bottom: 1px solid var(--border-gray) !important;
  border-radius: 0 !important;
}

.form-outline {
  border: 0 !important;
  border-radius: 0 !important;
}

.form-control:focus,
.form-control:hover {
  border-color: var(--primary) !important;
  box-shadow: none !important;
}

.modal-content {
  border-radius: 0;
}

.form-outline:focus,
.form-outline:hover {
  border-color: var(--primary) !important;
  box-shadow: none !important;
}

.form-outline .form-control {
  padding: 4.5px 12px 3.68px 0 !important;
}

select {
  padding: 4.5px 12px 3.68px 0 !important;
}

.form-outline .form-control ~ .form-notch div {
  border: 0 !important;
}

.form-notch * {
  box-shadow: none !important;
}

.breadcrumb-background.smaller {
  height: 80px !important;
  background-image: unset !important;
  background-color: unset !important;
}

.sticky-top {
  height: calc(100vh - 200px);
  overflow: auto;
}

.dropdown-toggle:after {
  display: none !important;
}
.header .dropdown-menu {
  position: fixed !important;
  top: var(--margin-top) !important;
  left: 0 !important;
  width: 100% !important;
  height: calc(100svh - var(--margin-top)) !important;

  display: block !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  box-shadow: 0 3px 6px #00000029 !important;
  z-index: 1055 !important;

  transform: translateY(-100%) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;

  transition: all 1s ease !important;
}

.header .dropdown-menu.show {
  transform: translateY(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  overflow-y: auto !important;
}

button.close {
  padding: 0;
  background-color: transparent;
  border: 0;
  -webkit-appearance: none;
}

.nav-close-button {
  width: 30px;
  height: 30px;
  padding: 9px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 30px;
  top: 30px;
  z-index: 11111111;
  outline: 0 !important;
}

.nav-close-button.absolute {
  position: absolute;
  right: 15px !important;
  top: 15px !important;
}

.nav-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.close-icon {
  width: 12px;
}

span.border {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) rotate(-90deg);
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.1);
}

.nav-circle circle {
  stroke-dasharray: 92;
  stroke-dashoffset: 92;
  stroke: var(--primary);
  stroke-width: 1px;
  transition: all 0.5s ease-in-out;
  fill: none;
}

.modal-header.filter .nav-circle circle {
  stroke: #fff;
}

.nav-close-button:hover .nav-circle circle {
  stroke-dashoffset: 0;
  transition: all 0.5s ease-in-out;
}

.arrow-down {
  -webkit-transition: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transition: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.header .dropdown-toggle.show .arrow-down {
  webkit-transform: rotateX(-180deg);
  transform: rotateX(-180deg);
}

.custom-ul li::before {
  content: "";
  background-image: url(/images/icons/skola-plivanja-swimway-square.svg);
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  display: inline-flex;
  background-repeat: no-repeat;
  background-size: cover;
  margin-right: 10px;
  filter: var(--filter-primary);
  position: absolute;
  left: 0;
  top: 8px;
}

.custom-ul li::marker {
  content: "";
}

.custom-ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 15px;
}

.custom-ul {
  padding-left: 0 !important;
}

.btn-check + label {
  position: relative;
}

.btn-check:checked + label {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}

.btn-check:checked + label::before {
  content: "";
  background-image: url(/images/icons/skola-plivanja-swimway-list-check.svg);
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  display: flex;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  right: 15px !important;
  top: 20px !important;
  z-index: 10;
}

.select-arrow:before {
  flex-shrink: 0;
  width: 1.25rem;
  height: 45px;
  margin-left: auto;
  display: flex;
  content: "";
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234f4f4f'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 01.708 0L8 10.293l5.646-5.647a.5.5 0 01.708.708l-6 6a.5.5 0 01-.708 0l-6-6a.5.5 0 010-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  background-position: center;
}

.carousel-caption.page-404 {
  color: #fff;
}

.nav-pills.menu-sidebar .nav-link.active,
.nav-pills.menu-sidebar .show > .nav-link {
  font-weight: unset !important;
}

@media (min-width: 992px) {
  .mobile-item .mobile-link {
    pointer-events: none;
  }

  .header .container-fluid {
    padding-left: 5vw !important;
    padding-right: 5vw !important;
  }
}

@media (min-width: 1400px) {
  .container.narrow {
    max-width: 950px;
  }

  .container.narrow.extra {
    max-width: 830px;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1450px;
  }
}

@media (max-width: 1200px) {
  .m-top {
    margin-top: var(--margin-top-mobile);
  }

  .m-top.fixed {
    margin-top: var(--margin-top-mobile-fixed);
  }

  .header-bottom {
    height: 72px !important;
  }

  #menu-button span,
  #menu-button span:after,
  #menu-button span:before {
    cursor: pointer;
    border-radius: 1px;
    height: 2px;
    width: 25px;
    background: var(--primary);
    position: absolute;
    left: 0;
    top: 50%;
    display: block;
    content: "";
  }

  .header-white #menu-button span,
  .header-white #menu-button span:after,
  .header-white #menu-button span:before,
  .header.fixed #menu-button span,
  .header.fixed #menu-button span:after,
  .header.fixed #menu-button span:before {
    background: var(--primary);
  }

  #menu-button span:before {
    top: -8px;
  }

  #menu-button span:after {
    top: 8px;
  }

  #menu-button span,
  #menu-button span:after,
  #menu-button span:before {
    transition: var(--transition-all);
  }

  #menu-button:not(.collapsed) span {
    background-color: transparent !important;
  }

  #menu-button:not(.collapsed) span:after,
  #menu-button:not(.collapsed) span:before {
    top: 0;
  }

  #menu-button:not(.collapsed) span:before {
    transform: rotate(135deg);
  }

  #menu-button:not(.collapsed) span:after {
    transform: rotate(-135deg);
  }

  .navbar-collapse.collapse.show {
    transform: translateY(0);
    transition: var(--transition-all);
  }

  .fixed .navbar-collapse {
    top: 102px;
    transition: var(--transition-all);
    height: calc(100vh - 72px);
  }

  .navbar-collapse {
    border-top: 1px solid var(--gray-light);
    position: fixed;
    top: 102px;
    left: 0;
    background-color: var(--white);
    width: 100vw;
    height: calc(100vh - 80px);
    transform: translateY(100vh);
    transition: var(--transition-all);
    display: flex !important;
  }

  .mobile-navigation-back-link,
  .mobile-navigation-gray-link,
  .mobile-navigation-item,
  .mobile-navigation-list-link {
    height: 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: var(--mdb-gutter-x, 1rem);
    padding-left: var(--mdb-gutter-x, 1rem);
    position: relative;
    border-bottom: 1px solid var(--gray-light);
  }

  .mobile-navigation-back-link .arrow,
  .mobile-navigation-item .arrow {
    width: unset !important;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: brightness(0) invert(0) !important;
  }

  .mobile-navigation.active {
    transform: translateX(0);
    transition: transform 0.3s ease-in-out;
  }

  .mobile-navigation {
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--white);
    width: 100vw;
    height: calc(100vh - 87px);
    transform: translateX(100vw);
    transition: transform 0.3s ease-in-out;
    z-index: 99;
  }

  .mobile-navigation-back-link {
    font-size: 1rem !important;
    margin-bottom: 0 !important;
    justify-content: flex-start !important;
  }

  .mobile-navigation-back-link,
  .mobile-navigation-gray-link,
  .mobile-navigation-item,
  .mobile-navigation-list-link {
    height: 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: var(--mdb-gutter-x, 1rem);
    padding-left: var(--mdb-gutter-x, 1rem);
    position: relative;
    border-bottom: 1px solid var(--gray-light);
    font-family: Teko-Light, sans-serif !important;
  }

  .mobile-navigation-back-link .arrow,
  .mobile-navigation-item .arrow {
    width: unset !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mobile-navigation-back-link .arrow {
    transform: scale(-1, 1);
    margin-right: 3px;
  }

  .mobile-navigation-content {
    overflow-y: scroll;
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 991px) {
  .header.fixed .header-bottom {
    box-shadow: 0 2px 4px 0 rgb(0 0 0 / 10%) !important;
  }

  .header.fixed {
    box-shadow: none !important;
  }

  .p-m-0 {
    padding: 0 !important;
  }

  .button.button-header {
    min-width: 30% !important;
    max-width: 30% !important;
  }
  .icon-2xl {
    width: 43px !important;
    height: 43px !important;
  }

  .text-align-last-center-mobile {
    text-align-last: center;
  }

  .border-bottom-0-m {
    border-bottom: 0 !important;
  }

  .about-text.hidden {
    max-height: 200px;
    overflow: hidden;
    transition: all 0.5s ease-in-out !important;
  }

  .about-text {
    max-height: 1135px;
    overflow: hidden;
    transition: all 0.5s ease-in-out !important;
  }

  .hero .container-fluid {
    padding: 0 !important;
  }

  .container,
  .container-fluid,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    padding-right: 1.35rem;
    padding-left: 1.35rem;
  }

  .header {
    height: 75.31px;
  }

  html {
    font-size: var(--font-text-mobile);
  }

  .m-top.fixed {
    margin-top: var(--margin-top-mobile-fixed);
    transition: var(--transition-margin);
  }

  .footer .mobile-item {
    width: 100% !important;
  }

  .footer .mobile-link {
    border-bottom: 1px solid var(--border-gray) !important;
  }

  .footer .mobile-link:not(:last-of-type) {
    border-bottom: 1px solid var(--border-gray) !important;
  }

  .footer .arrow-wrapper {
    width: 16px;
    position: relative;
  }

  .footer .arrow::before {
    left: 3px;
    transform: rotate(45deg);
    transition: all 0.3s ease-in-out;
  }

  .footer .arrow::after {
    right: 3px;
    transform: rotate(-45deg);
    transition: all 0.3s ease-in-out;
  }

  .footer .active .arrow-wrapper .arrow::after {
    transform: rotate(45deg);
  }

  .footer .active .arrow-wrapper .arrow::before {
    transform: rotate(-45deg);
  }

  .footer .arrow::after,
  .footer .arrow::before {
    display: block;
    position: absolute;
    top: 50%;
    width: 6px;
    height: 1px;
    background-color: #222;
    content: "";
  }

  .footer .mobile-list {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
  }

  .footer .mobile-list.visible {
    max-height: 1000px;
  }

  .carousel-caption {
    color: var(--text-primary);
    position: relative;
    left: 0 !important;
    right: 0;
    top: 0;
    bottom: 0;
    max-width: unset;
    transform: unset !important;
  }

  .hero {
    height: unset !important;
  }

  .carousel-caption.page-404 {
    background: var(--gray-light);
    color: var(--text-primary) !important;
    display: flex;
    justify-content: center;
  }

  .carousel-caption h2,
  .carousel-caption p {
    color: var(--text-primary) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center !important;
  }

  .carousel-indicators {
    bottom: 15px !important;
    left: 1rem !important;
    right: 1rem !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
  }

  .carousel-indicators button {
    background-color: var(--primary) !important;
    opacity: 0.6 !important;
  }

  .fs-xxl {
    font-size: 32px;
    line-height: 28px;
  }

  .fs-3xl {
    font-size: 33px !important;
    line-height: 41px !important;
  }

  .fs-3xl-custom {
    font-size: 30px !important;
    line-height: 44px !important;
  }

  .fs-sm-m {
    font-size: 16px !important;
    line-height: 24px;
  }

  .fs-md-m {
    font-size: 20px;
    line-height: 27px;
  }

  .fs-xsm-m {
    font-size: 14px;
    line-height: 19px;
  }

  .fs-xxsm-m {
    font-size: 13px;
    line-height: 18px;
  }

  .fs-4xl {
    font-size: 48px;
    line-height: 42px;
  }

  .text-align-last-mobile {
    text-align-last: center;
  }

  .mobile-fixed-nav {
    transition: var(--transition-all);
    transform: translateY(65px);
    z-index: 1000;
  }

  .mobile-fixed-nav.fixed {
    transform: translateY(0);
  }

  .footer-bottom {
    padding-bottom: 80px !important;
  }

  .abs-buttons {
    position: absolute;
    width: 100%;
    bottom: 0 !important;
    height: 80px;
  }

  .abs-buttons button {
    top: unset !important;
    position: absolute !important;
    transform: unset;
    width: 35px !important;
  }

  .abs-buttons .carousel-control-prev {
    left: 0 !important;
    height: 100% !important;
  }

  .abs-buttons .carousel-control-next {
    right: 0 !important;
    height: 100% !important;
  }

  .position-sticky-mobile {
    position: sticky;
    top: 71px;
    z-index: 1000;
    background: var(--primary);
  }

  #scrollspy1 {
    position: relative;
    height: 56px;
    overflow: hidden;
    transition: height 0.3s ease-in-out;
    top: 0 !important;
  }

  .menu-title {
    color: var(--white) !important;
    border-bottom: 1px solid #fff !important;
  }

  .menu-title {
    position: relative;
  }

  .menu-title img {
    filter: var(--filter-white) !important;
  }

  .menu-title::after {
    content: "";
    background-image: url(/images/icons/skola-plivanja-swimway-arrow-right.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 12px;
    height: 12px;
    margin-left: 5px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    filter: var(--filter-white) !important;
  }

  .menu-title.no-icon::after {
    display: none !important;
  }

  #scrollspy1.show-menu {
    height: auto;
    max-height: calc(100svh - 8px);
  }

  .nav-pills.menu-sidebar .nav-link {
    color: var(--white) !important;
    border-bottom: 1px solid #ffffff63 !important;
    border-radius: 0 !important;
    margin: 0 !important;
  }

  .bg-p-mobile {
    background-color: var(--primary);
  }

  .carousel-caption {
    background-color: var(--gray-light);
  }
}

@media (max-width: 576px) {
  .img-height {
    height: auto !important;
  }

  .carousel-caption h2,
  .carousel-caption p {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center !important;
  }

  .carousel-caption-2 p {
    color: var(--text-primary) !important;
  }

  .carousel-control-next,
  .carousel-control-prev {
    top: calc(53vw - 1px) !important;
    bottom: unset !important;
    background-color: var(--primary);
    padding: 0.25rem;
    opacity: 1;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-50%);
  }

  .carousel-control-next img,
  .carousel-control-prev img {
    width: 20px !important;
    height: auto !important;
  }

  .carousel-control-prev {
    left: 12px;
  }

  .carousel-control-next {
    right: 12px;
  }

  .carousel-caption.mobile .carousel-caption-1 {
    text-align: center !important;
    margin-top: -115px;
    color: var(--text-white) !important;
  }

  .carousel-caption {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center !important;
    bottom: 35vh;
    background-color: var(--gray-light);
  }
}

@media (max-width: 400px) {
  .button-cta {
    min-width: 31% !important;
    max-width: 31% !important;
  }
}

.form-control.is-valid,
.was-validated .form-control:valid {
  margin: 0 !important;
}

.text-container {
  max-height: 200px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.text-container.show {
  max-height: 2000px;
}

.gradient::before {
  content: "";
  height: 140px;
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  background: linear-gradient(
    to bottom,
    rgba(251, 250, 249, 0) 0%,
    rgba(251, 250, 249, 1) 70%
  );
  transition: height 0.3s ease-in-out;
  z-index: 1;
}

.show.gradient::before {
  height: 50px;
}

.show-btn {
  bottom: 10px;
  background-color: var(--tertiary-lighter) !important;
  height: 40px;
  border: none;
  position: absolute;
  width: 100%;
  z-index: 2;
}

.show-btn::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: url(/images/icons/skola-plivanja-swimway-strelica-dole.svg);
  filter: var(--filter-primary);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -45%);
}

.show-btn::after {
  transition: transform 0.3s ease-in-out;
  transform-origin: center center;
}

.show-btn.rotate::after {
  transform: rotateX(180deg);
}

.image-bottom-overlay {
  z-index: 1;
  background-image: linear-gradient(#0000, #00000061);
  position: absolute;
  inset: 0%;
}
.gallery-image {
  aspect-ratio: 1/1;
  overflow: hidden;
}
.gallery-image img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.content-text h3,.content-text h4 {
      font-family: Rajdhani-SemiBold, sans-serif;
}