.osiguranje {
  position: fixed;
  bottom: 8rem;
  right: 0;
  z-index: 9999;
  pointer-events: none;
}

.osiguranje-inner {
  display: flex;
  transform: translateX(calc(100% - 30px));
  transition: transform 0.3s ease-in-out;
}

.osiguranje.active .osiguranje-inner {
  transform: translateX(0);
}

.osiguranje-tab {
  /*background-color: #007bff;*/
  color: white;
  padding: 0.3rem;
  cursor: pointer;
  font-weight: bold;
  border-radius: 0 8px 8px 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-orientation: mixed;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 11rem;
  width: 30px;
  flex-shrink: 0;
  position: relative;
  z-index: 1000;
  pointer-events: auto;
}

.osiguranje-box {
  background: #f8f9fa;
  padding: 1rem;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  min-width: 200px;
  pointer-events: auto;
}

.badge {
    font-weight: 600;
    width: 8rem;
}

.price-line {
    display: flex;
    align-items: center;
    position: relative;
    text-align: center;
}

.price-line::after {
    content: "";
    display: block;
    height: 1px;
    background-color: #ccc;
    width: 77%;
    margin: 0 2px 0 auto;
}

.list_tours_tabs ul li {
    border-bottom: 0;
}

.pagination {
    margin-top: 1rem;
}

#toTop {
    right: initial;
    left: 1rem;
}

#search_bar_container {
    padding: 5px;
    background: initial;
    background-color: initial;
}

#search_bar_container .container {
    padding: initial;
}

.icon_search:before {
    transform: rotate(180deg) scaleX(-1);
}

.nav-submit-button {
    border-radius: 8px;
    width: 50px;
    margin-top: 5px;
    background: 
    linear-gradient(to right, #029AA7 0%, #029AA7 30%, #85D5CF 100%), /*color*/
    url(../img/search-bt.png) no-repeat center center;
    background-size: cover, auto;
}

.search-wrapper {
    /*background-color: #02737D; color*/
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px!important;
    border-radius: 13px;
    width: 100%;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.55);
}

.search-inner {
    background-color: #FFFFFF;
    border-radius: 8px;
    width: 100%;
    height: 48.3px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16pt;
    color: #3C3C3C;
    border: none;
    outline: none;
}

.search-button {
    /*background: linear-gradient(30deg, #029AA7 30%, #85D5CF 100%); /*color*/
    width: 50px;
    height: 48px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.search-button i {
    color: #FFFFFF;
    font-size: 30px;
}

.top-10 {
    /*background-color: #029AA7; color*/
    padding-top: 2rem;
    padding-bottom: 0.4rem;
}

.new-offers-bg {
    padding-top: 4rem;
    padding-bottom: 2.4rem;
}

.text-white {
    color: white!important;
}

.main_title p {
    font-size: 1rem!important;
}

.main_title h2 {
    text-transform: initial!important;
    margin-bottom: 0.8rem!important;
}

.box-help {
    /*background-color: #3290C3; color*/
    text-align: center;
    font-size: 1rem;
    border-radius: 5px;
    padding: 2rem 3rem;
}
.box-help-contact {
    /*background-color: #004674; color*/
    border-radius: 20px;
    padding: 0.5rem;
}
.hr {
    background-color: white;
    height: 1px;
    width: 100%;
    opacity: 0.3;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.box-special {
    /*background-color: #C1D5A4; color*/
    margin-top: -1.3rem;
    border-radius: 20px;
    width: 100%;
    height: auto;
    padding: 0.7rem;
}
.box-special h4 {
    text-align: center;
    font-weight: bold;
    position: relative;
    top: 2rem;
    font-size: 1.5rem;
}

.ad-partner {
    text-align: center;
    background-color: #3290C3;
}

.social-logo-color {
    color: #2D4D69;
}

.footer-newsletter-full {
    width: 100%;
    /*background: #ffe9e9; color*/
    padding: 4rem 0;
}
@media (min-width: 769px) {
    .footer-newsletter-full .container {
        display: flex;
        justify-content: center;
    }
    .newsletter-container {
        padding-right: 1rem;
        width: 60rem;
    }
    .newsletter-form-input {
        display: flex;
        flex-direction: row;
    }
    .newsletter-form button {
        margin-left: 5px;
    }
    .newsletter-form {
        margin-left: 20px;
    }
}

.newsletter-container {
    /*background-color: #c4d92e; color*/
    display: flex;
    align-items: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-label {
    /*background-color: #004a7c; color*/
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    position: relative;
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    min-width: 210px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(0 0, 80% 0, 100% 50%, 80% 100%, 0 100%);
    height: 7rem;
}

.newsletter-form {
    display: flex;
    align-items: center;
    width: 100%;
    background: #0000002e;
    padding: 5px;
    border-radius: 10px;
}

.newsletter-form input[type="email"] {
    padding: 12px 20px;
    font-size: 1em;
    border: none;
    border-radius: 8px;
    outline: none;
    width: 100%;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

.newsletter-form button {
    /*background: linear-gradient(to right, #0f73b6, #38bdf8);*/
    padding: 12px 20px;
    font-size: 1em;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
    width: 13rem;
}

@media (max-width: 768px) {
    .background-wrapper {
        margin-bottom: 2rem!important;
    }
    .badge-hero, .btn-pill-osiguranje {
        font-size: 0.5rem!important;
    }
    .badge.oglas {
        width: 8rem;
    }
    .newsletter-form-input {
        padding: 0 0.5rem;
    }
    .newsletter-container {
        flex-direction: column;
    }

    .newsletter-label {
        text-align: center;
        clip-path: none;
        border-radius: 8px 8px 0 0;
        flex: none;
        width: 100%;
    }

    .newsletter-form {
        border-radius: 0 0 8px 8px;
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button {
        width: 100%;
        margin: 0.5rem 0;
    }

    .featured-ads-label {
        flex-direction: column;
    }
}

.featured-ads-wrapper {
    /*background-color: #029AA7; color*/
    border-radius: 10px;
}

.featured-ads-label {
    display: flex;
    align-items: baseline;
    margin: 1rem 0;
}

/* header */

nav {
    margin-top: 0!important;
}

.navbar-custom {
  /*background-color: #02737D; color*/
  height: 64px;
  box-shadow: 0px 2px 6px rgb(66 66 66 / 70%);
  padding-right: 1.5rem !important;
}
.logo-header-v2 {
  width: 197px;
  height: 64px;
  object-fit: contain;
}
.navbar-nav .nav-link {
  color: #fff;
  font-size: 14px;
  padding: 0 12px;
}
.navbar-nav .nav-link.active {
  font-weight: 700;
}
.call-box {
  /*background-color: #025060; color*/
  border-radius: 30px;
  padding: 5px 17px 5px 8px;
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
}
.call-box .phone-number {
  font-weight: 700;
  font-size: 12px;
}
.icon-btn-header-v2 {
 /* background-color: #025060; color*/
  width: 40px;
  height: 40px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
}
.icon-btn-bg-none-header-v2 {
  width: 60px;
  height: 40px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
}
.icon-btn-header-v2 img {
  width: 20px;
  height: 20px;
}
.dropdown-menu {
  /*background-color: #025060; color*/
}
.dropdown-menu .dropdown-item {
  color: white;
}
.dropdown-menu .dropdown-item:hover {
  background-color: #02737D; /*color*/
}
.mega-menu {
  /*background-color: #025060; color*/
  border-radius: 0;
}
.mega-menu .dropdown-item {
  color: #ffffff;
  padding: 5px 0;
}
.mega-menu .dropdown-item:hover {
  background-color: #02737D; /*color*/
  color: #ffffff;
  padding-left: 10px;
}
.mega-menu h6 {
  font-weight: 700;
}
.header-account {
  width: 4.6rem;
}
.icon-btn-header-v2.dropdown-toggle::after {
  display: none !important;
}
.icon-down-open-mini {
  font-size: 1.5rem;
}
.header-account .icon-user-1 {
  background-color: white; /*color*/
  border-radius: 100%;
  padding: 0.4rem;
  /*color: #02737d;*/
}
.pipeline {
  /*background-color: #029AA7; color*/
  width: 1pt;
  height: 2rem;
}

/* Responsive dodatak */
@media (max-width: 991.98px) {
  .navbar-custom {
    height: auto;
    padding: 0.5rem 1rem;
  }

  .logo-header-v2 {
    width: 150px;
    height: auto;
  }

  .pipeline {
    display: none;
  }

  .navbar-nav {
    margin-top: 1rem;
  }

  .dropdown-menu {
    position: absolute;
    right: 0;
    left: auto;
    z-index: 1050;
  }

  .mega-menu {
    box-shadow: none;
    border: none;
    padding: 0;
  }

  .mega-menu .dropdown-item:hover {
    padding-left: 5px;
  }

  .call-box,
  .icon-btn-header-v2,
  .icon-btn-bg-none-header-v2,
  .header-account {
    margin-top: 1rem;
  }

  .icon-btn-bg-none-header-v2 {
    width: 30px;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }

   #navbarMobile {
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: auto;
  }

  .mega-menu {
    position: relative;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    padding: 0;
  }

  .dropdown-menu {
    position: relative;
    font-size: 14px!important;
    border-radius: 0.375rem !important;
  }

  .mega-menu .dropdown-item {
    padding: 0!important;
  }
}

.navbar-toggler {
    border-color: #ffffff8f;
}

.navbar-toggler-icon {
    filter: invert(1) brightness(2);
}

/* header end */

/* DRŽAVE PILL */

.rounded-pill-country {
    border-radius: 20px;
}

.pill-country {
    background-color: white;
    border: 1px solid #818483;
    color: #818483;
    font-size: 1rem;
    padding: 3px 21px 3px 4px;
    text-align: center;
    display: flex;
    align-items: center;
}
.pill-country:hover {
    cursor: pointer;
    background-color: #CCD8E4;
    color: #5F6773;
}

.pill-country img {
    width: 1.5rem;
    height: 1.5rem;
}

.pill-click-country {
    background-color: #CCD8E4;
    color: #5F6773;
}

.destination-pill {
    background-color: #286292;
    color: white;
    font-size: 1rem;
    padding: 3px 21px;
    text-align: center;
}
.destination-pill:hover {
    cursor: pointer;
    background-color: #397BAF;
    color: white;
}

/* DRŽAVE PILL KRAJ */

/* OGLAS: PILL DATE */

.pill-date {
    font-weight: 500;
    font-size: 1rem;
    padding: 5px 20px;
    text-align: center;
    border-radius: 20px;
    width: 22rem;
}

/* OGLAS: PILL DATE */

.click-ponude {
    -moz-box-shadow: 0 0 3px #ccc;
    -webkit-box-shadow: 0 0 3px #ccc;
    box-shadow: 0 0 3px #ccc;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    margin: 1rem;
}

.badge-hero {
    display: inline-block;
    padding: 5px 20px;
    margin: 4px 0;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    text-align: center;
    width: 100%;
}

.badge-hero a {
    color: white;
}

.background-wrapper {
    position: relative;
    background-image: url('/static/banners/badge-bg-2.jpg');
    background-size: cover;
    background-position: center;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.floating-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    width: 100%;
}

.floating-pill {
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    color: white;
    font-size: 0.8rem;
    background-color: rgba(255, 255, 255, 0);
    border: 2px solid white;
    backdrop-filter: none;
    mix-blend-mode: screen;
    flex: 1 1 auto;
    min-width: 120px;
    max-width: 200px;
    text-wrap: nowrap;
}

.floating-pill:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-pill-osiguranje {
    background: linear-gradient(30deg, #7453FA 30%, #2D8FC2 100%) !important;
    border-radius: 20px!important;
    padding: 5px 2rem!important;
    font-size: 0.8rem;
}

.btn-pill-osiguranje:hover {
    filter: brightness(0.85);
}