@charset "UTF-8";

/* Black */
@font-face {
  font-family: "Lato";
  src: url("/template/font/lato-black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Lato";
  src: url("/template/font/lato-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Lato";
  src: url("/template/font/lato-medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Lato";
  src: url("/template/font/lato-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Lato";
  src: url("/template/font/lato-light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Lato";
  src: url("/template/font/lato-thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

/* 1920px */
body {
  background: #fff;
  font-family: "Lato", sans-serif;
  color: #505050;
  font-size: 15px;
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
  padding: 0;
}

p.buttons > a {
  margin: 0 5px;
}

@media only screen and (max-width: 768px) {
  p.buttons > a {
    margin: 0 0 10px 0;
    width: 100%;
    display: inline-block;
  }

  p.buttons > a:last-child {
    margin: 0;
  }
}

p.quote {
  color: #111;
  font-size: 1.95em;
  line-height: 1.4em;
  font-weight: 400;
}

p strong {
  font-weight: 500;
}

p strong a {
  font-weight: 500 !important;
}

p a:not(.button-alt) {
  cursor: pointer;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #111;
  -webkit-transition: border 0.25s ease;
  -moz-transition: border 0.25s ease;
  -o-transition: border 0.25s ease;
}

p a:not(.button-alt):hover {
  border-bottom: 1px solid transparent;
}

a {
  color: #314284;
  font-weight: 400;
}

small {
  font-size: 0.7627em;
}

strong {
  color: #111;
  font-weight: 600;
}

section#detail .contact .form button,
.gravitas-filter .advanced .button-wrapper button,
a.button {
  cursor: pointer;
  position: relative;
  top: 0;
  display: inline-block;
  background: #314284;
  font-weight: 500;
  color: #fff;
  font-size: 1.067em;
  letter-spacing: 0.015em;
  text-decoration: none;
  padding: 12px 24px;
  -webkit-transition: top ease 0.25s;
  transition: top ease 0.25s;
  border-radius: 2rem;
  text-decoration: none;
}

.gravitas-filter .advanced.hidden {
  display: none;
}

section#detail .contact .form button::before,
.gravitas-filter .advanced .button-wrapper button::before,
a.button.variant-1::before {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, #747ea6, transparent 75%);
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  border-radius: 2rem;
  z-index: 1;
}

section#detail .contact .form button::after,
.gravitas-filter .advanced .button-wrapper button::after,
a.button.variant-1::after {
  content: "";
  position: absolute;
  background: #314284;
  left: 4px;
  top: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border-radius: 2rem;
  z-index: 2;
}

section#detail .contact .form button span,
.gravitas-filter .advanced .button-wrapper button span,
a.button span {
  position: relative;
  z-index: 3;
}

a.button.variant-2 {
  background-color: transparent;
}

a.button.variant-2::before {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, #747ea6, white 75%);
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  border-radius: 2rem;
  z-index: 1;
}

a.button.variant-2::after {
  content: "";
  position: absolute;
  background: #314284;
  left: 4px;
  top: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border-radius: 2rem;
  z-index: 2;
}

a.button span {
  position: relative;
  z-index: 3;
}

a.button.variant-3::before {
  content: "";
  position: absolute;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.4), transparent 75%);
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  border-radius: 2rem;
  z-index: 1;
}

a.button.variant-4 {
  background-color: #e9e9e9;
  color: #314284;
}

a.button.variant-5 {
  background: linear-gradient(#c4c4c4, #fbfbfb);
  color: #314284;
}

a.button.variant-6 {
  border: 2px solid #314284;
  background: white;
  color: #314284;
}

a.button.variant-7 {
  background: white;
  color: #314284;
}

a.button.variant-8 {
  background: #ffffff30;
  backdrop-filter: blur(2px);
  border: 2px solid white;
  color: white;
}

a.button:hover {
  top: -5px;
}

a.button-alt {
  cursor: pointer;
  border-radius: 2rem;
  color: #111;
  display: block;
  font-size: 0.9967em;
  font-weight: 500;
  text-align: center;
  padding: 20px 0;
  text-decoration: none;
  border: 1px solid #111;
  -webkit-transition:
    background 0.25s ease,
    border 0.25s ease;
  -moz-transition:
    background 0.25s ease,
    border 0.25s ease;
  -o-transition:
    background 0.25s ease,
    border 0.25s ease;
}

a.button-alt:hover {
  text-decoration: underline;
}

button,
input,
select,
textarea {
  outline: none;
}

h1 {
  color: #111;
  font-size: 3.8518em;
  font-weight: 700;
}

h1.withsub {
  margin-bottom: 30px !important;
}

h1.line {
  margin-bottom: 5rem !important;
}

h1.line:after {
  content: "";
  position: absolute;
  left: calc(50% - 25px);
  display: inline-block;
  width: 100%;
  border-bottom: 3px solid #314284;
  margin-top: 100px;
  width: 50px;
}

h2 {
  color: #111;
  font-size: 3.3704em;
  line-height: 1.2em;
  font-weight: 600;
}

h2.withsub {
  margin-bottom: 30px !important;
}

h2.line {
  margin-bottom: 5rem !important;
}

h2.line:after {
  content: "";
  position: absolute;
  left: calc(50% - 25px);
  display: inline-block;
  width: 100%;
  border-bottom: 3px solid #314284;
  margin-top: 70px;
  width: 50px;
}

h1 .alt,
h2 .alt {
  color: #989898;
}

section#detail .free h2,
.hypo h2 {
  text-transform: uppercase;
  color: #989898;
  font-size: 2.1667em;
  font-weight: 400;
}

h3 {
  color: #111;
  font-size: 1.5408em;
  font-weight: 600;
}

h4 {
  color: #111;
  font-size: 1.3482em;
  font-weight: 500;
}

@media screen and (max-width: 1200px) {
  h1 {
    font-size: 3.5555em;
  }

  h2 {
    font-size: 3.1111em;
  }

  h3 {
    font-size: 1.4222em;
  }

  h4 {
    font-size: 1.2445em;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.3em;
  }

  h2 {
    font-size: 2em;
  }

  h3 {
    font-size: 1.0667em;
  }

  h4 {
    font-size: 0.9334em;
  }
}

p.subhead {
  line-height: 1.75em;
}

.text-center {
  text-align: center;
}

.breadcrumb {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: inline-block;
  width: 100%;
  text-align: left;
  margin-bottom: 30px;
}

.breadcrumb li {
  display: inline-block;
}

.breadcrumb li a {
  font-size: 0.7627em;
  color: #777;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.breadcrumb li a:hover {
  border-bottom: 1px solid #777;
}

.breadcrumb li.home a {
  font-size: 0.9967em;
  position: relative;
  top: 1px;
}

.breadcrumb li.home a:hover {
  border-bottom: 1px solid transparent;
}

.breadcrumb li.home:before {
  content: "";
}

.breadcrumb li:before {
  color: #777;
  font-size: 0.4815em;
  padding: 0 15px;
  font-family: "Font Awesome 5 Pro";
  font-weight: 300;
  content: "\f054";
}

.breadcrumb li:first-child:before {
  padding: 0;
}

@media only screen and (max-width: 768px) {
  .breadcrumb {
    display: none;
  }
}

section {
  overflow: hidden;
  padding: 5rem 0;
}
@media only screen and (max-width: 768px) {
  section {
    padding: 2rem 0;
  }
}


section h1,
section h2,
section h3 {
  margin: 0;
  margin-bottom: 2.5rem;
}

header {
  position: fixed;
  z-index: 9;
  background: transparent;
  border-bottom: 1px solid #d9cfe6;
  height: 90px;
  width: 100%;
  padding: 0 50px;
  top: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

header a.logo {
  float: left;
  display: block;
  height: 90px;
  width: 240px;
  padding: 20px 0;
  background: url("../img/gravitas-logo-horizontal-white.svg") no-repeat left
    center;
  background-size: 100% auto;
}

header a.search {
  display: none;
}

header a.right {
  float: right;
  margin: 22px 0 22px 40px;
  padding: 12px 18px;
}

header nav {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

header ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

header .mobile-row {
  display: none !important;
}

header ul li {
  float: left;
}

header ul li a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  -webkit-transition: border 0.25s ease;
  -moz-transition: border 0.25s ease;
  -o-transition: border 0.25s ease;
}

header nav.is-open ul.nav__dropdown.show a {
  color: #314284;
}

header nav.is-open ul.nav__dropdown.show .dropdown li a {
  color: #fff;
  font-size: 0.9em;
}

header ul li a.active {
  border-bottom: 1px solid #314284;
}

header ul li a:hover {
  border-bottom: 1px solid #314284;
}

header ul li ul {
  display: none;
  background: linear-gradient(#31428490, #31428490);
  backdrop-filter: blur(9px);
  border-radius: 1rem;
  height: auto;
  margin-top: -10px;
  padding: 5px 0;
}

header.detail ul li ul ,
header.small ul li ul {
  background: #314284;
  color: black;
}

header ul li ul li {
  margin: 0 !important;
  height: 40px;
  line-height: 40px;
  display: block;
  width: 100%;
  text-align: center !important;
}

header ul li ul li a {
  white-space: pre;
  color: #fff;
}

header ul li ul li a:hover {
  border-color: #fff;
}

header ul li ul:after {
  right: 50%;
  top: -4px;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: transparent;
  border-bottom-color: #314284;
  border-width: 5px;
  margin-top: -5px;
  display: none;
}

header ul li.dropdown {
  position: relative;
  padding-right: 25px;
  position: relative !important;
}

header ul li.dropdown a:hover {
  border-bottom: none;
}

header ul li.dropdown:before {
  color: #fff;
  display: inline-block;
  position: absolute;
  top: 2px;
  right: 0;
  width: 0;
  height: 0;
  margin-right: 0.75rem;
  margin-left: 0;
  vertical-align: middle;
  content: "\f078";
  font-family: "Font Awesome 5 Pro";
}

header nav.is-open ul.nav__dropdown.show li.dropdown:before {
  color: #314284;
}

header.detail ul li.dropdown:before,
header.small ul li.dropdown:before {
  color: black;
}

header ul li:hover ul {
  z-index: 2;
  display: block;
  width: auto;
  position: absolute;
  top: 30px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  padding: 2px 20px;
}

header ul li.btn {
  display: none;
}

@media only screen and (max-width: 768px) {
  header ul li.btn {
    display: block;
  }
}

header ul li.search a {
  color: #314284;
  font-size: 0.9967em;
}

header ul li.search a:hover {
  border: none;
}

header ul.opened li a,
header ul.opened li ul a {
  color: #fff !important;
}

header ul.menu {
  font-size: 1.04em;
  padding: 33px 0;
  float: left;
}

header ul.menu li {
  margin-left: 30px;
  text-align: right;
  padding-bottom: 4px;
}

header ul.favs {
  height: 90px;
  line-height: 90px;
  float: right;
  margin-left: 20px;
}

header ul.favs li {
  margin-left: 30px;
  float: right;
}

header ul.favs li a {
  font-size: 0.8185em;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

header ul.favs li a i.fal {
  margin-right: 4px;
}

header ul.favs li a:hover {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

header ul.social {
  height: 90px;
  line-height: 90px;
  float: right;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: 30px;
}

header ul.social li {
  width: 28px;
  height: 28px;
}

header ul.social li a {
  font-size: 1.1267em;
  background-color: white;
  padding: 3px;
  color: black;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  transition:
    300ms background-color ease,
    300ms color ease;
}

header ul.social li a:hover {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  background-color: #314284;
  color: white;
}

header ul.social li.lang {
  padding: 3px 0;
}

header ul.social li.lang a img {
  height: 24px;
  width: 24px;
}

header nav.priority-nav-has-dropdown .nav__dropdown-toggle {
  height: 90px;
  border: none;
  background: transparent;
  cursor: pointer;
}

header nav.priority-nav-has-dropdown .nav__dropdown-toggle:before {
  color: #fff;
  font-size: 0.963em;
  padding: 0 15px;
  font-family: "Font Awesome 5 Pro";
  font-weight: 300;
  content: "\f0c9";
}

header.detail nav.priority-nav-has-dropdown .nav__dropdown-toggle:before,
header.small nav.priority-nav-has-dropdown .nav__dropdown-toggle:before {
  color: #000;
}

header nav.is-open ul.nav__dropdown.show {
  background: #fff;
  padding: 20px 50px;
  position: fixed;
  left: 0;
  top: 90px;
  width: 100%;
}

header nav.is-open ul.nav__dropdown.show > li {
  margin-left: 30px;
  padding-bottom: 6px;
}

header nav.is-open ul.nav__dropdown.show > li:first-child {
  margin: 0;
}

header nav.is-empty .nav__dropdown-toggle {
  float: right;
}

header.white a.logo {
  background: url("../img/logo-white.svg") no-repeat left center;
  background-size: 100% auto;
}

header.white ul li a {
  color: #fff;
}

header.noline {
  border: none;
  top: 0px;
}

header.small,
header.detail {
  background: #fff;
  border-bottom: 1px solid #d9cfe6;
  top: 0;
  padding: 0 20px;
}

header.small a.logo,
header.detail a.logo {
  background: url("../img/gravitas-logo-horizontal-black.svg") no-repeat left
    center;
  background-size: 100% auto;
  width: 240px;
}

header.detail a.search,
header.small a.search {
  margin: 5px 0;
}

header.detail ul li a,
header.small ul li a {
  color: #000;
}

header.detail ul li.search a,
header.small ul li.search a {
  color: #314284;
}

header.detail ul li.dropdown ul li a,
header.small ul li.dropdown ul li a {
  color: #fff;
}

header a.button {
  border: 1px solid white;
  font-size: 1rem;
  color: white;
  padding: 8px 12px;
  height: fit-content;
  width: fit-content;
  background-color: transparent;
  margin: 30px 0 22px 18px;
}

header.detail a.button,
header.small a.button {
  border: 1px solid #000;
  color: #000;
  background-color: transparent;
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
  header {
    padding: 0 30px;
  }

  header nav.is-open ul.nav__dropdown.show {
    padding: 20px 30px;
  }
}

@media only screen and (max-width: 992px) {
  header a.search {
    display: block;
    float: right;
    border-radius: 50%;
    height: 50px;
    width: 50px;
    line-height: 50px;
    text-align: center;
    margin: 20px 0;
    -webkit-box-ordinal-group: 5;
    -ms-flex-order: 4;
    order: 4;
  }

  header a.right {
    display: none;
  }

  header ul.menu {
    display: none;
    clear: both;
    left: -15px;
    margin: 0;
    width: calc(100% + 30px);
    background: #fff;
    position: relative;
    overflow: auto;
    height: auto;
    text-align: center;
  }

  header ul.menu li {
    display: block;
    width: 100%;
    margin: 0;
    text-align: center;
    padding: 0;
  }

  header ul.menu li.search {
    display: none;
  }

  header ul.menu li.dropdown a {
    width: calc(100% - 40px);
    margin: 0 20px;
    display: block;
  }

  header ul.menu li.dropdown a:hover {
    border-bottom: none;
  }

  header ul.menu li.dropdown:before {
    top: 27px;
    right: 15px;
  }

  header ul.menu li ul {
    top: 0;
    left: 0;
    position: relative;
    height: auto;
    -webkit-transform: none;
    transform: none;
    overflow: auto;
    margin: 0 15px;
    padding: 5px 0;
  }

  header ul.menu > li:nth-last-child(-n + 2) {
    display: none;
  }

  header ul.social li {
    margin: 0 15px 0 0;
  }

  header.small {
    height: 60px;
  }

  header.small nav.priority-nav-has-dropdown .nav__dropdown-toggle {
    height: 60px;
  }

  header.small nav.is-open ul.nav__dropdown.show {
    top: 60px;
  }

  header.small ul.favs,
  header.small ul.social {
    height: 60px;
    line-height: 60px;
  }
}

@media only screen and (max-width: 992px) {
  header a.logo {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }

  header ul.menu {
    line-height: 60px;
  }

  header ul.favs {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    margin-right: 20px;
  }

  header ul.social {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    margin-left: auto;
  }

  header nav {
    -webkit-box-ordinal-group: 6;
    -ms-flex-order: 5;
    order: 5;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
  }

  header.small a.logo {
    height: 60px;
    padding: 10px 0;
    width: 136px;
  }

  header.white ul li a {
    color: #000;
  }

  header.white ul li.dropdown ul li > a {
    color: #fff;
  }

  header nav:not(:has(~ a.search)):not(:has(~ .social)):not(:has(.favs)) {
    margin-left: auto;
  }
  header.small a.search:not(:has(~ .social)):not(:has(~ .favs)) {
    margin-left: auto;
  }
}

@media only screen and (max-width: 768px) {
  header {
    padding: 0 15px;
  }

  header a.logo {
    padding: 10px 0;
    width: 136px;
    background: url("../img/gravitas-logo-horizontal-white.svg") no-repeat left
      center;
    background-size: 100% auto;
  }

  header ul.menu {
    width: calc(100% + 30px);
  }

  header ul.social li {
    margin: 0;
  }

  header ul li a{
    font-size: 1.1em;
  }

  header ul.social li:not(.lang) {
    display: none;
  }

  header nav.is-open ul.nav__dropdown.show {
    padding: 20px;
  }

  header nav.is-open ul.nav__dropdown.show > li {
    padding: 10px 0;
    width: 100%;
    margin: 0;
  }

  header nav.is-open ul.nav__dropdown.show > li.dropdown:before {
    display: none;
  }

  header nav.is-open ul.nav__dropdown.show > li.dropdown > a::after {
    color: #314284;
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 0.75rem;
    margin-left: .5rem;
    content: "\f078";
    font-family: "Font Awesome 5 Pro";
    rotate: 270deg;
    transform-origin: 6px 11px;
    font-weight: 900;
    transition: rotate 0.25s ease;
  }

  header nav.is-open ul.nav__dropdown.show > li.dropdown:hover > a::after {
    rotate: 360deg;
  }

  header ul li ul li {
    text-align: left !important;
    height: auto;
    line-height: 2;
  }

  header nav.is-open ul.nav__dropdown.show .dropdown li a {
    color: #808080;
    text-align: left;
  }

  header nav.is-open ul.nav__dropdown.show > li.dropdown ul {
    background: white;
    left: 0;
    -webkit-transform: none;
    transform: none;
    width: 100%;
    top: 20px;
    padding: 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 0;
  }

  header .mobile-row {
    display: flex !important;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
  }

  header .mobile-row .social-column {
    display: flex;
    gap: 10px;
  }

  header .mobile-row .social-column a {
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(208deg, #314284 55%, #31428480);
    color: white !important;
    font-size: 1.04em;
    width: 34px;
    height: 34px;
    border-radius: 50%;
  }

  header .mobile-row .button {
    margin: 0;
    background: linear-gradient(208deg, #314284 55%, #31428480);
    color: white !important;
    border: none !important;
  }

  header.small ul.favs,
  header.small ul.social {
    height: 60px;
    line-height: 60px;
  }
}

section#carousel {
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}

section#carousel h1 {
  margin-bottom: 0;
}

section#carousel a.down {
  position: absolute;
  color: #fff;
  z-index: 5;
  font-size: 1.1555em;
  bottom: 20px;
  left: calc(50% - 11px);
  -webkit-transition: bottom 0.25s ease;
  -moz-transition: bottom 0.25s ease;
  -o-transition: bottom 0.25s ease;
}

section#carousel a.down:hover {
  bottom: 10px;
}

section#carousel .gradient-overlay {
  background: rgb(13, 13, 17);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgb(13, 13, 17)),
    to(rgba(13, 13, 17, 0))
  );
  background: linear-gradient(
    180deg,
    rgb(13, 13, 17) 0%,
    rgba(13, 13, 17, 0) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0d0d11", endColorstr="#0d0d11", GradientType=1);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 1;
}

section#carousel .color-overlay {
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 1;
}

section#carousel .search {
  width: 100%;
  margin: 3rem 0 4rem 0;
}

section#carousel .search .row {
  overflow: hidden;
}

section#carousel .search .row .selectize-input {
  border-radius: 2px;
  min-height: 60px;
}

section#carousel .search .row .cena input,
section#carousel .search .row .fulltext input {
  height: 60px;
  line-height: 60px;
  border: 1px solid #d0d0d0;
  padding-left: 20px;
  font-size: 0.8185em;
  width: 100%;
  border-radius: 2px;
  font-family: "Lato", sans-serif;
}

section#carousel .search .row .separator {
  clear: both;
  display: block;
  height: 30px;
}

section#carousel .search .row button {
  cursor: pointer;
  height: 60px;
  line-height: 60px;
  width: 100%;
  float: right;
  background: #314284;
  font-family: "Lato", sans-serif;
  font-weight: 500;
  font-size: 0.8667em;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 2px;
}

section#carousel .search .row button i {
  font-size: 1.1555em;
  position: relative;
  top: 3px;
}

section#carousel .avatar {
  margin: 0 auto;
  height: 150px;
  width: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 30px;
}

section#carousel .avatar img {
  width: 100%;
}

section#carousel .icons {
  text-align: center;
  margin: 30px 0;
}

section#carousel .icons span {
  margin: 0 20px;
}

section#carousel .icons span a {
  text-decoration: none;
  color: #111;
}

section#carousel .icons span a:hover {
  text-decoration: underline;
}

section#carousel .icons span  {
    color: white;
}
section#carousel .icons span i {
  color: #fff;
  margin-right: 8px;
  font-size: 0.9533em;
}

section#carousel .subhead {
  max-width: 60%;
  margin: 0 auto;
}

section#carousel .filter {
  text-align: center;
  margin-top: -1rem;
  overflow: hidden;
}

section#carousel .filter .tags {
  float: left;
  overflow: hidden;
  width: 100%;
  text-align: left;
  margin-bottom: 3rem;
}

section#carousel .filter .tags span {
  background: #f5f5f5;
  border-radius: 2px;
  padding: 8px 14px;
  font-size: 0.6259em;
  display: inline-block;
}

section#carousel .filter .tags span a {
  border: none;
  margin: 0 0 0 15px;
  float: right;
}

section#carousel .filter .tags span a i {
  font-size: 0.8185em;
  color: #314284;
  position: relative;
  top: 1px;
}

section#carousel .filter .predaj-prenajom {
  float: right;
  font-size: 0.6259em;
}

section#carousel .filter .predaj-prenajom a {
  margin: 0 0 0 20px;
}

section#carousel .filter .sort {
  float: left;
  font-size: 0.6259em;
}

section#carousel .filter .sort a {
  margin: 0 20px 0 0;
  font-size: 0.6259em;
  font-weight: 500;
  text-transform: uppercase;
}

section#carousel .filter a {
  margin: 0 20px;
  display: inline-block;
  color: #505050;
  border-color: #505050;
  text-decoration: none;
  border-bottom: 1px solid #505050;
  font-size: 0.6259em;
  font-weight: 500;
  text-transform: uppercase;
}

section#carousel .filter a.active {
  color: #111;
  font-weight: 500;
  border-color: #314284;
}

section#carousel .filter a.active:hover {
  border-color: #314284;
}

section#carousel .filter a:hover {
  border-color: transparent;
}

section#carousel.map #search {
  display: block !important;
  padding: 4rem 0 0 0 !important;
}

section#carousel:not(.theme) #search {
  display: none;
  position: relative;
  top: 0;
  left: 0;
  -webkit-transform: none;
  transform: none;
  padding: 0 0 6rem 0;
}

section#carousel:not(.theme) #search .switch a.active:after {
  top: 34px;
  border-bottom: 6px solid #d9cfe6;
}

section#carousel:not(.theme) #search .search-wrapper .location-wrapper {
  border: 1px solid #d9cfe6;
  -webkit-border-top-left-radius: 2px;
  -webkit-border-bottom-left-radius: 2px;
  -moz-border-radius-topleft: 2px;
  -moz-border-radius-bottomleft: 2px;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}

section#carousel:not(.theme) #search .search-wrapper .type-wrapper {
  border: 1px solid #d9cfe6;
  border-left: none;
  -webkit-border-top-right-radius: 2px;
  -webkit-border-bottom-right-radius: 2px;
  -moz-border-radius-topright: 2px;
  -moz-border-radius-bottomright: 2px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

section#carousel:not(.theme) #search .search-wrapper.more form {
  overflow: auto;
}

section#carousel:not(.theme) #search .search-wrapper.more .location-wrapper {
  border-bottom-left-radius: 0;
}

section#carousel:not(.theme) #search .search-wrapper.more .type-wrapper {
  border-bottom-right-radius: 0;
}

section#carousel:not(.theme) #search .search-wrapper.more .cenado-wrapper,
section#carousel:not(.theme) #search .search-wrapper.more .cenaod-wrapper,
section#carousel:not(.theme) #search .search-wrapper.more .fulltext-wrapper {
  border-top: none;
  border-right: 1px solid #d9cfe6;
  border-left: 1px solid #d9cfe6;
  border-bottom: 1px solid #d9cfe6;
}

section#carousel:not(.theme) #search .search-wrapper.more .cenado-wrapper,
section#carousel:not(.theme) #search .search-wrapper.more .cenaod-wrapper {
  border-left: none;
}

section#carousel:not(.theme) #search .search-wrapper.more button {
  margin: 10px 0 5px 0 !important;
  width: 100% !important;
}

section#carousel:not(.theme) #search .links {
  margin-top: 15px;
}

section#carousel.text {
  margin-top: calc(90px + 5rem);
}

section#carousel.text h1 {
  max-width: 840px;
  margin: 0 auto;
}

section#carousel.text .description {
  display: block;
  margin: 3rem 0;
}

section#carousel.text .description p {
  max-width: 66%;
  margin: 0 auto;
}

section#carousel.text .description p a {
  display: inline-block;
  margin-top: 15px;
}

section#carousel.blog .icons {
  margin: 30px 0 0 0;
}

section#carousel.photos #search,
section#carousel.single-photo #search {
  padding: 6rem 0;
}

section#carousel.photos {
  margin-top: 90px;
}

@media screen and (max-width: 986px) {
  section#carousel.photos {
    margin-top: 60px;
  }
}

section#carousel.photos.main-carousel {
  --video-height: calc(80vh - 90px);
  height: var(--video-height);
  max-height: var(--video-height);
  overflow: hidden;
  position: relative;
  margin-top: 90px;
}

section#carousel.desktop.main-media {
  position: relative;
  margin-top: 90px;
}

section#carousel.photos.main-carousel .gallery-carousel,
section#carousel.photos.main-carousel .popup-gallery {
  height: 100%;
}

section#carousel.photos.main-carousel .gallery-carousel a,
section#carousel.photos.main-carousel .gallery-carousel .video-slide {
  display: block;
  height: 100%;
  width: 100%;
  position: relative;
}

section#carousel.photos.main-carousel .gallery-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

section#carousel.photos.main-carousel .video-slide iframe {
  width: 100%;
  height: 100%;
  display: block;
}

section#carousel.photos.main-carousel .gallery-carousel,
section#carousel.photos.main-carousel .slick-list,
section#carousel.photos.main-carousel .gallery-carousel div,
section#carousel.photos.main-carousel .gallery-carousel a {
  height: 100% !important;
}

section#carousel.photos.main-carousel .video-slide iframe {
  width: 100dvw;
  height: var(--video-height);
}

section#carousel.photos.main-carousel .gallery-carousel a img,
section#carousel.photos.main-carousel .gallery-carousel a video {
  height: var(--video-height);
  width: 100dvw;
  object-fit: cover;
}

@media (max-width: 768px) {
  section#carousel.photos.main-carousel .video-slide iframe {
    width: 100dvw;
    height: 30vh;
  }

  section#carousel.photos.main-carousel .gallery-carousel a img,
  section#carousel.photos.main-carousel .gallery-carousel a video {
    height: 30vh;
    width: 100dvh;
    object-fit: cover;
    object-position: center;
  }

  section#carousel.photos.main-carousel {
    height: 30vh;
    max-height: 30vh;
    min-height: unset;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
  }
}

.mfp-video {
  max-width: 100%;
  height: auto;
  max-height: 80vh;
  aspect-ratio: 16/9;
  margin: auto;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

section#carousel.single-photo.main-carousel video {
  display: none;
}

.thumbnail-carousel {
  position: relative;
  height: 100px;
  margin-top: 20px;
  padding: 0 0rem;
}

.thumbnail-carousel .gallery-carousel {
  height: 100px;
}

.thumbnail-carousel .gallery-carousel a {
  display: inline-block;
  height: 100px;
  margin-right: 5px;
  border-radius: 12px;
  overflow: hidden;
}

.thumbnail-carousel .gallery-carousel a img {
  height: 100px;
  width: auto;
  object-fit: cover;
  border-radius: 12px;
}

.thumbnail-carousel .gallery-carousel .slick-track {
  display: flex;
  align-items: center;
}

.thumbnail-carousel .gallery-carousel .slick-slide {
  height: 100px;
  margin: 0 5px;
}

@media screen and (max-width: 528px) {
  .thumbnail-carousel {
    display: none;
  }
}

/* Hide desktop on mobile, hide mobile on desktop */
section#carousel.desktop {
  display: block;
}

section#carousel.mobil {
  display: none;
}

@media screen and (max-width: 998px) {
  section#carousel.photos.main-carousel,
  section#carousel.desktop.main-media {
    margin-top: 60px;
  }
}

section#carousel .popup-gallery a {
  text-decoration: none;
}

section#carousel .video-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #00000010;
  z-index: 999;
  pointer-events: none;
}

section#carousel.mobil .video-loading {
  height: 100vh;
}

section#carousel .video-loading i {
  font-size: 1.7333em;
  margin-top: 1rem;
}

/* Mobile styles */
@media screen and (max-width: 528px) {
  section#carousel.desktop.main-media {
    display: none;
  }

  section#carousel.mobil {
    display: block;
    margin-top: 60px;
  }

  section#carousel.mobil.photos {
    height: auto;
    max-height: none;
    overflow: hidden;
  }

  section#carousel.mobil .gallery-carousel,
  section#carousel.mobil .gallery-carousel .slick-list {
    height: auto;
    width: 100% !important;
    overflow: hidden;
  }

  section#carousel.mobil .gallery-carousel .slick-track {
    display: flex !important;
    width: 100% !important;
  }

  section#carousel.mobil .gallery-carousel .slick-slide {
    flex: 0 0 100%;
    width: 100% !important;
    margin: 0;
    position: relative;
  }

  section#carousel.mobil .gallery-carousel .slick-slide > div {
    width: 100%;
  }

  section#carousel.mobil .gallery-carousel a {
    width: 100%;
    display: block;
  }

  section#carousel.mobil .gallery-carousel a img {
    height: 30vh;
    width: 100%;
    object-fit: cover;
    display: block;
  }

  section#carousel.mobil .gallery-carousel a video {
    height: calc(100vh - 60px);
    width: 100%;
    object-fit: cover;
  }

  section#carousel.mobil.single-photo {
    height: 250px;
  }

  section#carousel.mobil.single-photo .popup-gallery > a {
    height: 250px;
    display: block;
  }

  section#carousel.mobil.single-photo .popup-gallery > a img {
    height: 250px;
    width: 100%;
    object-fit: cover;
  }
}

section#carousel.single-photo {
  margin-top: 45px;
}

section#carousel.single-photo .popup-gallery > a {
  height: 400px;
  overflow: hidden;
  width: 100%;
  position: relative;
  display: block;
}

section#carousel.single-photo .popup-gallery > a img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 100%;
  border-radius: 2rem;
}

section#carousel.theme {
  position: relative;
  background: #3e3e3e url("../img/theme-gravitas.webp");
  background-size: cover;
  background-position: 50% 10%;
  height: 100vh;
  min-height: 600px;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

section#carousel.blank.subpage{
    margin-top: 3rem;
}
@media screen and (max-width: 992px) {
    section#carousel.blank.subpage{
        margin-top: 3rem;
    }
}

section#carousel.theme.subpage:not(.detail) {
  height: 40vh;
  min-height: 0;
}

section#carousel.theme.detail {
  background: #111;
}

section#carousel.theme.detail .detail-hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

section#carousel.theme.detail .detail-hero-slider > .gallery-carousel {
  position: relative;
}

section#carousel.theme.detail .detail-hero-slider > .gallery-carousel,
section#carousel.theme.detail .detail-hero-slider > .gallery-carousel .slick-list,
section#carousel.theme.detail .detail-hero-slider > .gallery-carousel .slick-track,
section#carousel.theme.detail .detail-hero-slider > .gallery-carousel .slick-slide,
section#carousel.theme.detail .detail-hero-slider > .gallery-carousel .slick-slide > div {
  height: 100% !important;
}

section#carousel.theme.detail .detail-hero-slider > .gallery-carousel,
section#carousel.theme.detail .detail-hero-slider > .gallery-carousel .slick-list {
  width: 100% !important;
  max-width: 100vw;
  overflow: hidden;
}

section#carousel.theme.detail .detail-hero-slider > .gallery-carousel .slick-track {
  display: flex !important;
  width: 100% !important;
  max-width: 100vw;
}

section#carousel.theme.detail .detail-hero-slider > .gallery-carousel .slick-slide {
  flex: 0 0 100%;
  width: 100vw !important;
  max-width: 100vw;
}

section#carousel.theme.detail .detail-hero-slider > .gallery-carousel a {
  display: block;
  height: 100%;
  width: 100%;
}

section#carousel.theme.detail .detail-hero-slider > .gallery-carousel img,
section#carousel.theme.detail .detail-hero-slider > .gallery-carousel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

section#carousel.theme.detail .gallery-carousel button {
  visibility: visible;
  background: rgba(255, 255, 255, 0.9);
}

section#carousel.theme.detail .gallery-carousel button.slick-prev,
section#carousel.theme.detail .gallery-carousel button.slick-next {
  z-index: 3;
}

section#carousel.theme.detail .color-overlay {
  z-index: 1;
}

section#carousel.theme.detail .pagename-wrapper {
  pointer-events: none;
  z-index: 3;
}

section#carousel.theme.detail .pagename-wrapper .buttons-wrapper {
  position: absolute;
  bottom: 2rem;
  left: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 12px;
  flex-wrap: wrap;
  pointer-events: auto;
}

section#carousel.theme.subpage .pagename-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding-top: 90px;
}

@media screen and (max-width: 992px) {
  section#carousel.theme.subpage .pagename-wrapper {
    padding-top: 60px;
  }
}

section#carousel.theme.subpage .pagename-wrapper h1 {
  font-weight: 100;
  color: white;
  font-size: 4.9111em;
  text-transform: uppercase;
  text-align: center;
}

@media screen and (max-width: 1200px) {
  section#carousel.theme.subpage .pagename-wrapper h1 {
    font-size: 4em;
  }
}

@media screen and (max-width: 768px) {
  section#carousel.theme.subpage .pagename-wrapper h1 {
    font-size: 1.5em;
  }
}

section#carousel.theme.subpage .pagename-wrapper h1:has(+.buttons-wrapper) {
  margin-bottom: 3rem;
}

section#carousel.theme.subpage .pagename-wrapper h1 +.buttons-wrapper {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
    section#carousel.theme.subpage .pagename-wrapper h1 +.buttons-wrapper {
        gap: .5rem;
    }
}

section#carousel.theme.subpage .pagename-wrapper p {
  font-weight: 400;
  color: white;
}

section#carousel.theme.video {
  position: relative;
  background: #000;
  height: 100vh;
  min-height: 600px;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

section#carousel.theme.video .button-alt {
  color: #fff;
  border-color: #fff;
}

section#carousel.theme.video .switch a {
  color: #ccc !important;
}

section#carousel.theme.video .switch a.active,
section#carousel.theme.video .switch a:hover {
  color: #fff !important;
}

section#carousel.theme.video .links a {
  color: #fff !important;
}

section#carousel.theme.video video {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 0;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 992px) {
  section#carousel .search .row button {
    margin-top: 30px;
  }

  section#carousel .filter .sort {
    width: 100%;
    margin-bottom: 20px;
    text-align: left;
  }

  section#carousel .filter .sort a {
    margin: 10px;
  }

  section#carousel .filter .predaj-prenajom {
    width: 100%;
    text-align: left;
  }

  section#carousel .filter .predaj-prenajom a {
    margin: 10px;
  }

  section#carousel .icons {
    margin: 30px 0 0 0;
  }

  section#carousel .icons span {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 1rem;
  }

  section#carousel:not(.theme) #search .search-wrapper button {
    margin: 5px 0 0 0;
    width: 100%;
  }

  section#carousel.search .search .row button {
    margin: 0;
  }

  section#carousel.single-photo {
    height: 330px;
  }

  section#carousel.single-photo .popup-gallery > a {
    height: 330px;
  }

  section#carousel.single-photo .popup-gallery > a img {
    max-width: inherit;
  }
}

@media only screen and (max-width: 768px) {
  section#carousel .search .row .cena {
    margin-top: 30px;
  }

  section#carousel .filter .tags {
    margin-bottom: 30px;
  }

  section#carousel .filter .tags span {
    width: 100%;
    margin-bottom: 3px;
  }

  section#carousel .filter .tags span:last-child {
    margin: 0;
  }

  section#carousel .filter a {
    margin: 0 20px 20px 20px;
  }

  section#carousel #search {
    width: 100%;
    margin: 0;
  }

  section#carousel #search .search-wrapper .location-wrapper {
    border-radius: 0;
    -webkit-border-top-left-radius: 2px;
    -webkit-border-top-right-radius: 2px;
    -moz-border-radius-topleft: 2px;
    -moz-border-radius-topright: 2px;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    border-bottom-left-radius: 0 !important;
  }

  section#carousel #search .search-wrapper .type-wrapper {
    border-left: 1px solid #d9cfe6 !important;
    border-top: none !important;
    border-radius: 0;
    -webkit-border-bottom-right-radius: 2px;
    -webkit-border-bottom-left-radius: 2px;
    -moz-border-radius-bottomright: 2px;
    -moz-border-radius-bottomleft: 2px;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
    border-top-right-radius: 0 !important;
  }

  section#carousel #search .search-wrapper button {
    margin: 0 5px 5px 5px;
  }

  section#carousel #search .search-wrapper.more form {
    width: 100% !important;
  }

  section#carousel #search .search-wrapper.more .location-wrapper {
    border-right: 1px solid #d9cfe6;
  }

  section#carousel #search .search-wrapper.more .type-wrapper {
    border-left: 1px solid #d9cfe6 !important;
    border-top: none;
    border-bottom-left-radius: 0 !important;
  }

  section#carousel #search .search-wrapper.more .fulltext-wrapper {
    border-bottom: 1px solid #d9cfe6;
  }

  section#carousel #search .search-wrapper.more .cenaod-wrapper {
    border-left: 1px solid #d9cfe6 !important;
    border-bottom-left-radius: 2px;
  }

  section#carousel #search .search-wrapper.more .cenado-wrapper {
    border-bottom-right-radius: 2px;
  }

  section#carousel.photos.mobil {
    display: block;
    margin-bottom: 3rem;
  }

  section#carousel.develo-photos {
    display: none;
  }

  section#carousel.single-photo {
    height: 250px;
  }

  section#carousel.single-photo .popup-gallery > a {
    height: 250px;
  }

  section#carousel.single-photo .popup-gallery > a img {
    max-width: inherit;
  }

  section#carousel.single-photo.desktop {
    display: none;
  }

  section#carousel.search .search .row .type-wrapper {
    margin-top: 30px;
  }

  section#carousel.search .search .row button {
    margin: 0;
  }
}

section#search {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

section#search h1 {
  color: #ffffff;
  margin-bottom: 30px;
}

section#search .switch {
  overflow-y: hidden;
}

section#search .switch a {
  position: relative;
  margin-right: 30px;
  color: #aaa;
  text-decoration: none;
  display: inline-block;
  padding: 0 0 15px 0;
  font-size: 0.7627em;
}

section#search .switch a:hover {
  cursor: pointer;
  color: #000;
}

section#search .switch a.active {
  font-weight: 500;
  color: #000;
}

section#search .switch a.active:after {
  content: "";
  position: absolute;
  left: calc(50% - 6px);
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #fff;
  clear: both;
}

section#search .switch a:last-child {
  margin: 0;
}

section#search .search-wrapper {
  overflow: hidden;
  background: #fff;
  border-radius: 2px;
  padding: 5px 0;
}

section#search .search-wrapper .location-wrapper {
  height: 58px;
  overflow-y: hidden;
  float: left;
  width: calc(45% - 40px);
  border-right: 1px solid #e2e2e2;
}

section#search .search-wrapper .location-wrapper .selectize-input {
  -webkit-border-bottom-left-radius: 2px;
  -webkit-border-top-left-radius: 2px;
  -moz-border-radius-bottomleft: 2px;
  -moz-border-radius-topleft: 2px;
  border-bottom-left-radius: 2px;
  border-top-left-radius: 2px;
}

section#search .search-wrapper .type-wrapper {
  height: 58px;
  overflow-y: hidden;
  float: left;
  width: calc(45% - 40px);
}

section#search .search-wrapper .selectize-input {
  border: none;
}

section#search .search-wrapper .fulltext-wrapper {
  float: left;
  width: calc(45% - 40px);
  border-right: 1px solid #e2e2e2;
}

section#search .search-wrapper .cenado-wrapper,
section#search .search-wrapper .cenaod-wrapper {
  float: left;
  width: calc(30% - 20px);
  border-right: 1px solid #e2e2e2;
}

section#search .search-wrapper .cenado-wrapper {
  border-right: none;
}

section#search .search-wrapper .cenado-wrapper,
section#search .search-wrapper .cenaod-wrapper,
section#search .search-wrapper .fulltext-wrapper {
  display: none;
}

section#search .search-wrapper .cenado-wrapper input,
section#search .search-wrapper .cenaod-wrapper input,
section#search .search-wrapper .fulltext-wrapper input {
  font-family: "Lato", sans-serif;
  border: none;
  height: 58px;
  width: 100%;
  padding-left: 20px;
  font-size: 0.8185em;
}

section#search .search-wrapper button {
  cursor: pointer;
  height: 58px;
  line-height: 58px;
  width: 16%;
  float: right;
  background: #314284;
  font-family: "Lato", sans-serif;
  font-weight: 500;
  font-size: 0.8667em;
  color: #fff;
  text-decoration: none;
  margin-right: 5px;
  border: none;
  border-radius: 2px;
}

section#search .search-wrapper button i {
  margin-right: 10px;
}

section#search .search-wrapper.more .location-wrapper,
section#search .search-wrapper.more .type-wrapper {
  width: 50%;
}

section#search .search-wrapper.more .fulltext-wrapper {
  display: inline-block;
  border-top: 1px solid #d9cfe6;
  width: 50%;
}

section#search .search-wrapper.more .cenado-wrapper,
section#search .search-wrapper.more .cenaod-wrapper {
  display: inline-block;
  border-top: 1px solid #d9cfe6;
  width: 25%;
}

section#search .search-wrapper.more button {
  width: calc(100% - 10px);
  margin-top: 5px;
}

section#search .links {
  margin-top: 30px;
}

section#search .links a {
  display: inline-block;
  white-space: pre;
  color: #000 !important;
  font-size: 0.7627em !important;
  text-decoration: none;
  -webkit-transition: border 0.25s ease;
  -moz-transition: border 0.25s ease;
  -o-transition: border 0.25s ease;
  border-bottom: 1px solid transparent;
  cursor: pointer;
}

section#search .links a i.fal {
  margin-right: 10px;
}

section#search .links a:nth-child(2) {
  margin-left: 30px;
}

section#search .links a:hover {
  border-bottom: 1px solid #777;
}

@media only screen and (max-width: 992px) {
  section#search .search-wrapper .location-wrapper,
  section#search .search-wrapper .type-wrapper {
    width: 50%;
  }

  section#search .search-wrapper button {
    width: calc(100% - 10px);
    margin: 5px 5px 0 5px;
  }

  section#search .search-wrapper.more button {
    width: calc(100% - 10px) !important;
    margin: 0 0 0 5px !important;
    margin-top: 5px !important;
    float: none;
  }
}

@media only screen and (max-width: 768px) {
  section#search {
    top: 50%;
    width: calc(100% - 30px);
    overflow: hidden;
  }

  section#search .switch {
    overflow-x: auto;
    white-space: nowrap;
    text-align: center;
    padding: 0 20px;
  }

  section#search .switch a {
    margin-right: 20px;
  }

  section#search .search-wrapper {
    padding: 0;
  }

  section#search .search-wrapper .location-wrapper {
    height: auto;
    min-height: 58px;
    overflow-y: auto;
    width: 100%;
    border: none;
    border-bottom: 1px solid #e2e2e2;
  }

  section#search .search-wrapper .type-wrapper {
    border-left: none !important;
    height: auto;
    min-height: 58px;
    overflow-y: auto;
    width: 100%;
  }

  section#search .search-wrapper button {
    width: calc(100% - 10px);
    margin: 0 5px;
  }

  section#search .search-wrapper.more .fulltext-wrapper,
  section#search .search-wrapper.more .location-wrapper,
  section#search .search-wrapper.more .type-wrapper {
    width: 100%;
  }

  section#search .search-wrapper.more .cenado-wrapper,
  section#search .search-wrapper.more .cenaod-wrapper {
    width: 50%;
  }

  section#search .search-wrapper.more button {
    margin: 5px 0 5px 5px !important;
  }

  section#search .search-more-wrapper .fulltext-wrapper {
    width: 100%;
    border: none;
    border-bottom: 1px solid #e2e2e2;
  }

  section#search .search-more-wrapper .cenado-wrapper,
  section#search .search-more-wrapper .cenaod-wrapper {
    width: calc(50% - 1px);
  }

  section#search .links {
    text-align: center;
  }

  section#search .links a {
    margin-left: 0 !important;
    margin: 0 20px 10px 20px;
  }
}

.selectize-control.plugin-drag_drop.multi
  > .selectize-input
  > div.ui-sortable-placeholder {
  visibility: visible !important;
  background: #f2f2f2 !important;
  background: rgba(0, 0, 0, 0.06) !important;
  border: 0 none !important;
  -webkit-box-shadow: inset 0 0 12px 4px #fff;
  box-shadow: inset 0 0 12px 4px #fff;
}

.selectize-control.plugin-drag_drop .ui-sortable-placeholder:after {
  content: "!";
  visibility: hidden;
}

.selectize-control.plugin-drag_drop .ui-sortable-helper {
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.selectize-dropdown-header {
  position: relative;
  padding: 5px 8px;
  border-bottom: 1px solid #d0d0d0;
  background: #f8f8f8;
  border-radius: 3px 3px 0 0;
}

.selectize-dropdown-header-close {
  position: absolute;
  right: 8px;
  top: 50%;
  color: #303030;
  opacity: 0.4;
  margin-top: -12px;
  line-height: 20px;
  font-size: 0.963em !important;
}

.selectize-dropdown-header-close:hover {
  color: #000000;
}

.selectize-dropdown.plugin-fgroup_columns .optgroup {
  border-right: 1px solid #f2f2f2;
  border-top: 0 none;
  float: left;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.selectize-dropdown.plugin-optgroup_columns .optgroup:last-child {
  border-right: 0 none;
}

.selectize-dropdown.plugin-optgroup_columns .optgroup:before {
  display: none;
}

.selectize-dropdown.plugin-optgroup_columns .optgroup-header {
  border-top: 0 none;
}

.selectize-control.plugin-remove_button [data-value] {
  position: relative;
  padding-right: 24px !important;
}

.selectize-control.plugin-remove_button [data-value] .remove {
  z-index: 1;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 17px;
  text-align: center;
  font-weight: bold;
  font-size: 0.5778em;
  color: inherit;
  text-decoration: none;
  vertical-align: middle;
  display: inline-block;
  padding: 2px 0 0 0;
  border-left: 1px solid #d0d0d0;

  border-radius: 0 2px 2px 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

section#testimonials.referencie .ref-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

section#testimonials.referencie .ref-card {
  width: 100%;
  min-width: 0;
}

.selectize-control.plugin-remove_button [data-value] .remove:hover {
  background: rgba(0, 0, 0, 0.05);
}

.selectize-control.plugin-remove_button [data-value].active .remove {
  border-left-color: #cacaca;
}

.selectize-control.plugin-remove_button .disabled [data-value] .remove:hover {
  background: none;
}

.selectize-control.plugin-remove_button .disabled [data-value] .remove {
  border-left-color: #ffffff;
}

.selectize-control.plugin-remove_button .remove-single {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.1074em;
}

.selectize-control {
  position: relative;
}

.selectize-dropdown,
.selectize-input,
.selectize-input input {
  color: #303030;
  font-family: inherit;
  font-size: 0.8185em;
  line-height: 18px;
  -webkit-font-smoothing: inherit;
}

.selectize-control.single .selectize-input.input-active,
.selectize-input {
  background: #fff;
  cursor: text;
  display: inline-block;
}

.selectize-input {
  border: 1px solid #d0d0d0;
  padding: 20px;
  display: inline-block;
  width: 100%;
  position: relative;
  z-index: 1;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.selectize-control.multi .selectize-input.has-items {
  padding: 6px 8px 3px;
}

.selectize-input.full {
  background-color: #fff;
}

.selectize-input.disabled,
.selectize-input.disabled * {
  cursor: default !important;
}

.selectize-input > * {
  vertical-align: baseline;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline;
}

.selectize-control.multi .selectize-input > div {
  cursor: pointer;
  margin: 0 3px 3px 0;
  padding: 2px 6px;
  background: #f2f2f2;
  color: #505050;
  border: 0 solid #d0d0d0;
}

.selectize-control.multi .selectize-input > div.active {
  background: #e8e8e8;
  color: #303030;
  border: 0 solid #cacaca;
}

.selectize-control.multi .selectize-input.disabled > div,
.selectize-control.multi .selectize-input.disabled > div.active {
  color: #7d7d7d;
  background: #ffffff;
  border: 0 solid #ffffff;
}

.selectize-input > input {
  display: inline-block !important;
  padding: 0 !important;
  min-height: 0 !important;
  max-height: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  text-indent: 0 !important;
  border: 0 none !important;
  background: none !important;
  line-height: inherit !important;
  -webkit-user-select: auto !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.selectize-input > input::-ms-clear {
  display: none;
}

.selectize-input > input:focus {
  outline: none !important;
}

.selectize-input:after {
  content: " ";
  display: block;
  clear: left;
}

.selectize-input.dropdown-active:before {
  content: " ";
  display: block;
  position: absolute;
  background: #f0f0f0;
  height: 1px;
  bottom: 0;
  left: 0;
  right: 0;
}

.selectize-dropdown {
  border: 1px solid #d9cfe6;
  position: absolute;
  z-index: 10;
  background: #fff;
  font-size: 0.7627em;
  margin: -1px 0 0 0;
  border-top: 0 none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-border-bottom-left-radius: 2px;
  -webkit-border-bottom-right-radius: 2px;
  -moz-border-radius-bottomleft: 2px;
  -moz-border-radius-bottomright: 2px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.selectize-dropdown [data-selectable] {
  cursor: pointer;
  overflow: hidden;
}

.selectize-dropdown [data-selectable] .highlight {
  background: #f5f5f5;
  border-radius: 1px;
}

.selectize-dropdown .optgroup-header,
.selectize-dropdown .option {
  padding: 5px 8px;
}

.selectize-dropdown .option,
.selectize-dropdown [data-disabled],
.selectize-dropdown [data-disabled] [data-selectable].option {
  cursor: inherit;
  opacity: 0.5;
}

.selectize-dropdown [data-selectable].option {
  opacity: 1;
}

.selectize-dropdown .optgroup:first-child .optgroup-header {
  border-top: 0 none;
}

.selectize-dropdown .optgroup-header {
  color: #314284;
  background: #fff;
  cursor: default;
  margin: 10px 0 0 0;
}

.selectize-dropdown .active {
  cursor: pointer;
  background-color: #f5f5f5;
  color: #111;
}

.selectize-dropdown .active.create {
  color: #111;
}

.selectize-dropdown .create {
  color: rgba(48, 48, 48, 0.5);
}

.selectize-dropdown-content {
  padding: 0 10px 10px 10px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 200px;
  -webkit-overflow-scrolling: touch;
}

.selectize-control.single .selectize-input,
.selectize-control.single .selectize-input input {
  cursor: pointer;
}

.selectize-control.single .selectize-input.input-active,
.selectize-control.single .selectize-input.input-active input {
  cursor: text;
}

.selectize-control.single .selectize-input:after {
  content: " ";
  display: block;
  position: absolute;
  top: 50%;
  right: 15px;
  margin-top: -3px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 5px 0 5px;
  border-color: #808080 transparent transparent transparent;
}

.selectize-control.single .selectize-input.dropdown-active:after {
  margin-top: -4px;
  border-width: 0 5px 5px 5px;
  border-color: transparent transparent #808080 transparent;
}

.selectize-control.rtl.single .selectize-input:after {
  left: 15px;
  right: auto;
}

.selectize-control.rtl .selectize-input > input {
  margin: 0 4px 0 -2px !important;
}

.selectize-control .selectize-input.disabled {
  opacity: 0.5;
  background-color: #fafafa;
}

section#welcome {
  padding-bottom: 0;
}

section#welcome p.subhead {
  margin: 0 auto;
  max-width: 80%;
}

#content {
  overflow: hidden;
}
section#content .section-header {
  overflow: hidden;
  margin-bottom: 10px;
}
section#content .section-header h4 {
  float: left;
  display: block;
  margin: 0;
  height: 58px;
  line-height: 58px;
}
section#content .section-header h4 img {
  height: 44px;
  float: left;
  margin: 7px 10px 7px 0;
}
section#content .section-header a.button-alt {
  float: right;
}
section#content .referencia {
  background: #f5f5f5;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  margin-bottom: 2rem;
  border-radius: 2rem;
  overflow: hidden;
}
section#content .referencia:last-child {
  margin: 0;
}
section#content .referencia .image-wrapper {
  background-position: 50% !important;
  background-size: cover !important;
}
section#content .referencia .text-wrapper {
  padding: 0 40px 30px 40px;
}
section#content .referencia .text-wrapper h4 a {
  text-decoration: none;
}
section#content .referencia .text-wrapper h4 a:hover {
  text-decoration: underline;
}
section#content .referencia .text-wrapper > p {
  margin-bottom: 10px;
}
section#content .referencia .text-wrapper > p:last-child {
  margin: 0;
}
section#content .referencia .text-wrapper .agent-wrapper a {
  font-family: "LatoWebBold";
  font-weight: 600;
  text-transform: uppercase;
}
section#content .referencia .text-wrapper .agent-wrapper a:hover {
  text-decoration: none;
}
section#content .referencia .text-wrapper .agent-wrapper .photo-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin-right: 15px;
  float: left;
  overflow: hidden;
}
section#content .referencia .text-wrapper .agent-wrapper .photo-wrapper img {
  width: 100%;
  height: auto;
}
section#content .referencia .text-wrapper .agent-wrapper p {
  line-height: 22px;
  padding: 5px 0;
  font-size: 14px;
}
section#content .referencia .text-wrapper .agent-wrapper p strong {
  font-size: 13px;
  text-transform: uppercase;
}
section#content.withbg {
  background: #000;
}
section#content.withbg h1, section#content.withbg h2, section#content.withbg h3, section#content.withbg h4, section#content.withbg p {
  color: #fff;
}
section#content.withbg .button-alt {
  color: #fff;
  border-color: #fff;
}
section#content img {
  max-width: 100%;
  display: inline-block;
  height: auto;
}
section#content .video {
  margin: 15px 0;
}
section#content .photo {
  max-height: 400px;
  overflow: hidden;
}
section#content .photo img {
  width: 100%;
}
section#content .newsletter {
  background: #f5f5f5;
  margin: 0 -15px;
  padding: 30px;
  border-radius: 2px;
}
section#content .newsletter form fieldset {
  text-align: center;
}
section#content .newsletter form fieldset button {
  margin-top: 20px;
}
section#content ul {
  margin: 20px 0;
  padding: 0 0 0 16px;
}
section#content ul li {
  line-height: 40px;
}
section#content #map {
  height: 700px;
}
section#content #map > div {
  z-index: 1;
}
section#content .search-result-legend {
  text-align: center;
}
section#content .search-result-legend label {
  display: inline-block;
  height: 30px;
  line-height: 30px;
  margin: 20px 30px 0 0;
}
section#content .search-result-legend label img {
  height: 30px;
  float: left;
}
section#content .search-result-legend label span {
  float: left;
  margin-left: 10px;
}
section#content .search-result-legend label:last-child {
  margin: 20px 0 0 0;
}
section#content.newsletter {
  padding: 0;
}
section#content.features {
  padding: 8rem 0 3rem 0;
}
section#content.features .item {
  text-align: center;
}
section#content.features .item i {
  font-size: 36px;
  color: #242E4C;
  display: block;
  margin: 0 auto;
  margin-bottom: 30px;
}
section#content.blogpost .blogpost-wrapper {
  width: 100%;
  margin: 0 auto;
}
section#content.blogpost .blogpost-wrapper h2, section#content.blogpost .blogpost-wrapper h3 {
  font-weight: 400;
}
section#content.blogpost .blogpost-wrapper p {
  margin: 3rem 0;
  line-height: 1.8em;
}
section#content.blogpost .blogpost-wrapper p:first-child {
  margin-top: 0;
}
section#content.blogpost .blogpost-wrapper img {
    width: 100%;
    margin: 3rem 0;
}
section#content.blogpost .blogpost-wrapper blockquote {
  color: #242E4C;
  font-size: 1.7333em;
  margin: 5rem 0;
}
section#content.blogpost .blogpost-wrapper ul {
  margin: 3rem 0;
  padding: 0;
  list-style-position: inside;
}
section#content.blogpost .blogpost-wrapper ul li {
  height: 40px;
  line-height: 40px;
}
section#content.blogpost .author {
  margin: 10rem 0 5rem 0;
  overflow: auto;
  text-align: center;
}
section#content.blogpost .author .agent {
  width: 66%;
  border: 1px solid #d9cfe6;
  border-radius: 2px;
  padding: 40px;
  display: inline-block;
  overflow: auto;
  float: inherit;
  text-align: left;
}
section#content.blogpost .author .agent .avatar {
  float: left;
  margin-right: 40px;
  width: 140px;
  height: 140px;
  overflow: hidden;
  border-radius: 50%;
}
section#content.blogpost .author .agent .avatar img {
  width: 100%;
}
section#content.blogpost .author .agent .text {
  float: left;
}
section#content.blogpost .author .agent .text h3 {
  margin: 0 0 20px 0;
}
section#content.blogpost .author .agent .text .icons {
  margin: 20px 0 30px 0;
}
section#content.blogpost .author .agent .text .icons span {
  margin-right: 20px;
}
section#content.blogpost .author .agent .text .icons span a {
  text-decoration: none;
  color: #242E4C;
}
section#content.blogpost .author .agent .text .icons span i {
  color: #242E4C;
  margin-right: 8px;
  font-size: 0.9533em;
}

@media only screen and (max-width: 1200px) {
  section#content.blogpost .author .agent {
    text-align: center;
  }
  section#content.blogpost .author .agent .avatar {
    display: inline-block;
    margin: 0 0 20px 0;
  }
  section#content.blogpost .author .agent .avatar, section#content.blogpost .author .agent .text {
    float: inherit;
  }
}
@media only screen and (max-width: 992px) {
  section#content .referencia {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  section#content .referencia .image-wrapper {
    height: 400px;
  }
  section#content.features {
    padding: 8rem 0 0 0;
    margin-bottom: -3rem;
  }
  section#content.features .item {
    margin-bottom: 3rem;
  }
}
@media only screen and (max-width: 768px) {
  section#content.blogpost .blogpost-wrapper {
    width: 100%;
    padding: 0 15px;
  }
  section#content.blogpost .blogpost-wrapper img {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  section#content.blogpost .author {
    margin: 5rem 0 0 0;
  }
  section#content.blogpost .author .agent {
    width: 100%;
  }
  section#content.blogpost .author .agent .icons span {
    display: block;
    margin-bottom: 20px;
  }
  section#content.blogpost .author .agent .icons span:last-child {
    margin: 0;
  }
}
section#offers .offers-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

section#offers .offers-wrapper .offer {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 5;
  gap: 0;
}

section#offers .offers-wrapper .offer .image-wrapper {
  width: 100%;
  height: auto;
  aspect-ratio: 6/4;
  background: #dbdbdb url("/template/img/gravitas-logo-horizontal-black.svg");
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
}

section#offers .offers-wrapper .offer .image-wrapper .badge {
  display: flex;
  align-items: center;
  position: absolute;
  left: 1rem;
  top: 1rem;
  background: #00000090;
  text-transform: uppercase;
  color: white;
  padding: 2px 12px;
  width: fit-content;
  border-radius: 1rem;
}
section#offers .offers-wrapper .offer .image-wrapper .badge .badge-status {
  display: block;
  width: 12px;
  height: 12px;
  margin-right: 5px;
  background: white;
  border-radius: 50%;
}
section#offers
  .offers-wrapper
  .offer
  .image-wrapper
  .badge
  .badge-status.var-1 {
  background: #ffb700;
}
section#offers
  .offers-wrapper
  .offer
  .image-wrapper
  .badge
  .badge-status.var-2 {
  background: #b7ff00;
}
section#offers
  .offers-wrapper
  .offer
  .image-wrapper
  .badge
  .badge-status.var-3 {
  background: #00ffb7;
}
section#offers
  .offers-wrapper
  .offer
  .image-wrapper
  .badge
  .badge-status.var-4 {
  background: #ff00b7;
}

section#offers .offers-wrapper .offer .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section#offers .offers-wrapper .offer .content-wrapper {
  padding: 1rem 0;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
}

section#offers .offers-wrapper .offer .content-wrapper a {
  text-decoration: none;
}

section#offers .offers-wrapper .offer .content-wrapper .title {
  font-size: 1.1074em;
  color: #000;
}

section#offers .offers-wrapper .offer .content-wrapper .icons {
  padding: 0.5rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

section#offers .offers-wrapper .offer .content-wrapper .icons .item {
  padding-inline: 7px;
  border-left: 1px solid #989898;
  font-size: 0.9149em;
}

section#offers
  .offers-wrapper
  .offer
  .content-wrapper
  .icons
  .item:first-child {
  padding-left: 0;
  border-left: none;
}

section#offers .offers-wrapper .offer .content-wrapper .icons .item:last-child {
  padding-right: 0;
}

section#offers .offers-wrapper .offer .content-wrapper .price {
  color: #314284;
  font-weight: 800;
  font-size: 1.4445em;
}

section#offers .offers-wrapper .offer .content-wrapper .subprice {
  color: #000;
  font-weight: 400;
  font-size: 0.8667em;
}

@media screen and (max-width: 768px) {
  section#offers .offers-wrapper{
    grid-template-columns: 1fr;
  }
  section#offers .offers-wrapper .offer .content-wrapper .title {
    font-size: 1rem;
  }
  section#offers .offers-wrapper .offer .content-wrapper .price{
    font-size: 1.2rem
  }
  section#offers .offers-wrapper .offer .content-wrapper .icons .item{
    font-size: 1.2133em;
  }
  section#offers .offers-wrapper .offer .content-wrapper .subprice{
    margin-top: 5px;
    font-size: 0.9533em;
  }
}

section#testimonials {
  padding: 6rem 0 4.5rem 0;
  background: #f5f5f5;
}

section#testimonials.referencie {
  background: transparent;
}

section#testimonials .item {
  text-align: center;
}

section#testimonials .item p {
  color: #111;
  margin: 0 auto;
  width: 100%;
  max-width: 700px;
  font-size: 0.8185em;
  line-height: 28px;
  font-weight: 400;
  margin-bottom: 2rem;
}

section#testimonials .item small {
  font-size: 0.8667em;
  color: #314284;
}

section#testimonials .item.line {
  margin-bottom: 5rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid #d9cfe6;
}

section#testimonials .item.line:last-child {
  border: none;
}

.blog-share {
  text-align: center;
  margin: 5rem 0 0 0;
}

.blog-share a {
  margin-right: 10px;
  display: inline-block;
}

.blog-share a:last-child {
  margin: 0;
}

.blog-share .facebook-share {
  background: #314284;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  height: 60px;
  line-height: 60px;
  padding: 0 20px;
  border-radius: 2rem;
}

.blog-share .facebook-share .fab {
  font-size: 0.963em;
  position: relative;
  top: 2px;
  margin-right: 15px;
}

.blog-share .twitter-share {
  background: #314284;
  color: #fff;
  text-decoration: none;
  height: 60px;
  line-height: 60px;
  padding: 0 20px;
  font-weight: 500;
  border-radius: 2rem;
}

.blog-share .twitter-share .fab {
  font-size: 0.963em;
  position: relative;
  top: 2px;
  margin-right: 15px;
}

@media only screen and (max-width: 544px) {
  .blog-share a {
    width: 100%;
    margin: 10px 0;
  }
}

section#blog {
  overflow: hidden;
}

section#blog .articles-wrapper {
  overflow: hidden;
}

section#blog .articles-wrapper .article {
  overflow: hidden;
  margin-bottom: 5rem;
}

section#blog .articles-wrapper .article .photo {
  min-height: 300px;
}

section#blog .articles-wrapper .article .text {
  margin: 0;
  padding: 0 60px 20px 60px;
}

section#blog .articles-wrapper .article .text h3 {
  margin: 0 0 36px 0;
}

section#blog .articles-wrapper .article .text h3 a {
  color: #111;
  text-decoration: none;
  font-weight: 400;
}

section#blog .articles-wrapper .article .text h3 a:hover {
  text-decoration: underline;
}

section#blog .articles-wrapper .article .text .icons {
  margin: 30px 0 35px 0;
}

section#blog .articles-wrapper .article .text .icons span {
  margin-right: 20px;
}

section#blog .articles-wrapper .article .text .icons span a {
  text-decoration: none;
  color: #505050;
}

section#blog .articles-wrapper .article .text .icons span i {
  color: #314284;
  margin-right: 8px;
  font-size: 0.9533em;
}

section#blog .articles-wrapper .article .text p {
  margin-bottom: 30px;
  line-height: 28px;
}

section#blog .articles-wrapper .article .text p a {
  font-weight: 500;
}

section#blog .articles-wrapper .article .text p:last-child {
  margin: 0;
}

section#blog .articles-wrapper .article .photo {
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100%;
}

section#blog .articles-wrapper .article .photo img {
  width: 100%;
}

section#blog .articles-wrapper .article:last-child {
  margin: 0;
}

section#blog .articles-wrapper .article.photo-right .photo {
  float: right;
}

@media only screen and (max-width: 992px) {
  section#blog .articles-wrapper .article .text {
    padding: 10px 30px;
  }
}

@media only screen and (max-width: 768px) {
  section#blog .articles-wrapper .article {
    display: block;
    max-height: 9999px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  section#blog .articles-wrapper .article .text {
    clear: both;
    text-align: center;
    padding: 20px 20px 0 20px;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }

  section#blog .articles-wrapper .article .text .icons {
    margin: 30px 0;
  }

  section#blog .articles-wrapper .article .photo {
    max-width: 80%;
    margin: 0 auto;
    float: none !important;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }

  section#blog .buttons {
    padding: 0 30px;
  }
}

section#vlog .articles-wrapper {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 20px;
  padding: 1rem;
}

section#vlog .articles-wrapper .article h3 {
  margin-bottom: 0.5rem;
  text-align: center;
}

section#vlog .articles-wrapper .article .icons {
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

section#vlog .articles-wrapper .article .icons i {
  color: #314284;
  margin-right: 8px;
  font-size: 0.9533em;
}

section#vlog .articles-wrapper .article {
  grid-column: span 6;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  margin-bottom: 3rem;
}

section#vlog .articles-wrapper .article.vertical {
  grid-column: span 6;
}

section#vlog .articles-wrapper .article iframe {
  aspect-ratio: 16/9;
  height: auto;
}

section#vlog .articles-wrapper .article.vertical iframe {
  aspect-ratio: 9/16;
  height: auto;
  max-height: 60vh;
  width: auto;
  margin: auto;
}

@media screen and (max-width: 998px) {
  section#vlog .articles-wrapper {
    grid-template-columns: 1fr;
  }
  section#vlog .articles-wrapper .article {
    grid-column: span 1 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  section#vlog .articles-wrapper .article iframe {
    margin: auto;
  }
  section#vlog .articles-wrapper .article .icons {
    justify-content: center;
  }

  section#vlog .articles-wrapper .article h3 {
    text-align: center;
  }
}

section#offerform .form h2 {
  margin: 0 0 3rem 0;
}

section#offerform .form .checkbox {
  margin: 20px 0 10px 0;
  display: inline-block;
  width: 100%;
}

section#offerform .rk {
  overflow: hidden;
}

section#offerform .rk .contact {
  padding: 66px 0;
}

section#offerform .rk .contact h4 {
  margin: 0 0 15px 0;
}

section#offerform .rk .contact address {
  margin-bottom: 15px;
  line-height: 28px;
  font-style: normal;
}

section#offerform .rk .map {
  height: 300px;
  padding: 0;
  background: #f5f5f5;
}

section#offerform .contacts {
  padding: 8rem 0;
}

section#offerform .contacts .icons {
  overflow: hidden;
}

section#offerform .contacts .icons .item {
  text-align: center;
}

section#offerform .contacts .icons .item i.fal {
  font-size: 1.7333em;
  color: #314284;
  display: block;
  margin: 0 auto;
  margin-bottom: 30px;
}

section#offerform .contacts .icons .item a {
  color: #111;
  font-size: 0.9967em;
  font-weight: 500;
}

@media only screen and (max-width: 768px) {
  section#offerform .rk .contact {
    padding: 0 0 6rem 0;
    text-align: center;
  }

  section#offerform .form {
    padding: 3rem;
  }

  section#offerform .form form fieldset button {
    width: calc(100% - 30px);
  }

  section#offerform .contacts .item {
    margin-bottom: 5rem;
  }

  section#offerform .contacts .item:last-child {
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 544px) {
  section#offerform .form {
    padding: 1rem;
  }
}

section#agents .agents-wrapper {
  overflow: auto;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

section#agents .agents-wrapper .agent .image-wrapper {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 2px;
}

section#agents .agents-wrapper .agent .image-wrapper p.name {
  position: absolute;
  z-index: 2;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.0833em;
  bottom: 30px;
  left: 8%;
  width: 84%;
  text-align: center;
  -webkit-transition: all 0.33s ease;
  transition: all 0.33s ease;
}

section#agents .agents-wrapper .agent .image-wrapper p.mail,
section#agents .agents-wrapper .agent .image-wrapper p.phone {
  width: 100%;
  position: absolute;
  bottom: -30px;
  z-index: 2;
  width: 100%;
  text-align: center;
  color: #fff;
  -webkit-transition: all 0.33s ease;
  transition: all 0.33s ease;
}

section#agents .agents-wrapper .agent .image-wrapper p.mail a,
section#agents .agents-wrapper .agent .image-wrapper p.phone a {
  color: #fff;
}

section#agents .agents-wrapper .agent .image-wrapper p.mail a:hover,
section#agents .agents-wrapper .agent .image-wrapper p.phone a:hover {
  text-decoration: underline;
}

section#agents .agents-wrapper .agent .image-wrapper p.mail i.fal,
section#agents .agents-wrapper .agent .image-wrapper p.phone i.fal {
  margin-right: 8px;
}

section#agents .agents-wrapper .agent .image-wrapper .shadow {
  position: absolute;
  opacity: 0.75;
  width: 100%;
  bottom: 0;
  z-index: 1;
  height: 66%;
  display: block;
  background: rgb(0, 0, 0);
  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(rgb(0, 0, 0)),
    to(rgba(0, 0, 0, 0))
  );
  background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#000000", GradientType=1);
}

section#agents .agents-wrapper .agent .image-wrapper img {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  object-fit: cover;
  object-position: top;
}

section#agents .agents-wrapper .agent:hover .image-wrapper img {
  height: calc(100% + 20px);
  width: calc(100% + 20px);
}

section#agents .agents-wrapper .agent:hover .image-wrapper p.title {
  bottom: 70px;
}

section#agents .agents-wrapper .agent:hover .image-wrapper p.name {
  bottom: 110px;
}

section#agents .agents-wrapper .agent:hover .image-wrapper p.mail {
  bottom: 70px;
  display: block;
}

section#agents .agents-wrapper .agent:hover .image-wrapper p.phone {
  bottom: 30px;
  display: block;
}

section#agents .agents-grid {
  overflow: auto;
  margin: 0 0 5rem 0;
}

section#agents .agents-grid .agent {
  overflow: hidden;
  margin-bottom: 5rem;
}

section#agents .agents-grid .agent .text {
  margin: 0;
  padding: 20px 60px;
}

section#agents .agents-grid .agent .text h3 {
  margin: 0 0 20px 0;
}

section#agents .agents-grid .agent .text .stars {
  margin: 20px 0;
  color: #314284;
  font-size: 1.0833em;
}

section#agents .agents-grid .agent .text .flags {
  margin: 0 0 30px 0;
}

section#agents .agents-grid .agent .text .flags img {
  margin-right: 5px;
  height: 10px;
  width: 15px;
}

section#agents .agents-grid .agent .text .flags img:last-child {
  margin: 0;
}

section#agents .agents-grid .agent .text .icons {
  margin: 35px 0 40px 0;
}

section#agents .agents-grid .agent .text .icons span {
  margin-right: 30px;
}

section#agents .agents-grid .agent .text .icons span a {
  text-decoration: none;
  color: #111;
}

section#agents .agents-grid .agent .text .icons span i {
  color: #314284;
  margin-right: 8px;
  font-size: 1.3em;
  position: relative;
  top: 3px;
}

section#agents .agents-grid .agent .text .icons span.phone i {
  margin-right: 11px;
}

section#agents .agents-grid .agent .text p a {
  font-weight: 500;
}

section#agents .agents-grid .agent .text p:last-child {
  margin: 0;
}

section#agents .agents-grid .agent .photo {
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100%;
}

section#agents .agents-grid .agent .photo img {
  width: 100%;
}

section#agents .agents-grid .agent:last-child {
  margin: 0;
}

section#agents .agents-grid .agent.photo-right .photo {
  float: right;
}

section#agents.dopyt {
  padding-top: 0;
}

section#agents.kontakt {
  padding-top: 0;
}

@media only screen and (max-width: 992px) {
  section#agents {
    padding: 5rem 10%;
  }

  section#agents .agents-grid {
    margin: 5rem 0;
  }

  section#agents .agents-grid .agent .text {
    padding: 10px 30px;
  }

  section#agents .agents-grid .agent .text span {
    display: block;
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 768px) {
  section#agents {
    padding: 5rem 15px;
  }

  section#agents .agents-grid {
    margin: 0;
  }

  section#agents .agents-grid .agent {
    display: block;
    max-height: 9999px;
  }

  section#agents .agents-grid .agent .text {
    clear: both;
    text-align: center;
    padding: 20px 20px 0 20px;
  }

  section#agents .agents-grid .agent .text .icons {
    margin: 30px 0;
  }

  section#agents .agents-grid .agent .photo {
    max-width: 80%;
    margin: 0 auto;
    float: none !important;
  }
}

section#sticky-header {
  background: #f5f5f5;
  border-bottom: 1px solid #d9cfe6;
  padding: 0 20px;
  position: fixed;
  top: 90px;
  z-index: 6;
  width: 100%;
}

section#sticky-header h4 {
  float: left;
    font-size: 21px;
}

section#sticky-header .icons {
  float: right;
  height: 83px;
  line-height: 83px;
}

section#sticky-header .icons span {
  display: inline-block;
  margin: 0 40px 0 0;
  color: #111;
  font-size: 18px;
}

section#sticky-header .icons span i.fal {
  display: inline-block;
  color: #314284;
  font-size: 1.3em;
  margin-right: 15px;
  position: relative;
  top: 2px;
}

section#sticky-header .icons .address {
  display: none;
}

section#sticky-header .icons.develo.icons span:last-child {
  margin: 0;
}

section#sticky-header .price {
  float: right;
  margin-top: 22px;
  display: inline-block;
  background: #314284;
  -webkit-border-top-right-radius: 2px;
  -webkit-border-bottom-right-radius: 2px;
  -moz-border-radius-topright: 2px;
  -moz-border-radius-bottomright: 2px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  margin-left: 20px;
  position: relative;
  padding: 0 15px 0 15px;
  height: 40px;
  line-height: 40px;
}

section#sticky-header .price strong {
  display: inline-block;
  height: 40px;
  line-height: 40px;
  color: #fff;
  font-weight: 500;
}

section#sticky-header .price:before {
  content: "";
  position: absolute;
  display: block;
  left: -20px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-right: 20px solid #314284;
}

section#sticky-header .price:after {
  content: "";
  background: white;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  display: block;
  position: absolute;
  left: -7px;
  top: 18px;
}

section#sticky-bottom {
  display: none;
  position: fixed;
  z-index: 2;
  bottom: 0;
  width: 100%;
  background: #fff;
  text-align: center;
  padding: 15px 0;
  -webkit-box-shadow: 0px -3px 20px rgba(50, 50, 50, 0.15);
  box-shadow: 0px -3px 20px rgba(50, 50, 50, 0.15);
}

section#sticky-bottom a {
  border: 1px solid #314284;
  width: calc(40% - 15px);
  padding: 12px;
}

section#sticky-bottom a:first-child {
  background: transparent;
  color: #314284;
  width: calc(60% - 15px);
}

section#carousel .gallery-carousel {
  height: 400px;
}

section#carousel .gallery-carousel a {
  display: block;
  height: 400px;
  margin: 0 5px;
}

section#carousel .gallery-carousel a img {
  height: 100%;
  width: auto;
  border-radius: 0.5rem;
}

section#carousel .gallery-carousel button,
.thumbnail-carousel .gallery-carousel button {
  visibility: hidden;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  background: #fff;
  line-height: 50px;
  border: none;
}

section#carousel .gallery-carousel button.slick-prev,
.thumbnail-carousel .gallery-carousel button.slick-prev {
  position: absolute;
  z-index: 1;
  left: 20px;
  top: calc(50% - 25px);
}

section#carousel .gallery-carousel button.slick-prev:after,
.thumbnail-carousel .gallery-carousel button.slick-prev:after {
  color: #314284;
  font-size: 1.3em;
  font-family: "Font Awesome 5 Pro";
  content: "\f30a";
}

section#carousel .gallery-carousel button.slick-next,
.thumbnail-carousel .gallery-carousel button.slick-next {
  position: absolute;
  z-index: 1;
  right: 20px;
  top: calc(50% - 25px);
}

section#carousel .gallery-carousel button.slick-next:after,
.thumbnail-carousel .gallery-carousel button.slick-next:after {
  color: #314284;
  font-size: 1.3em;
  font-family: "Font Awesome 5 Pro";
  content: "\f30b";
}

section#carousel .gallery-carousel button:hover,
.thumbnail-carousel .gallery-carousel button:hover {
  cursor: pointer;
}

section#carousel .gallery-carousel:hover button,
.thumbnail-carousel .gallery-carousel:hover button {
  visibility: inherit;
}

section#carousel.develo-photos {
  height: 80px;
  margin-top: 10px;
}

section#carousel.develo-photos .gallery-carousel {
  height: 80px;
}

section#carousel.develo-photos .gallery-carousel a {
  height: 80px;
}

section#detail {
  overflow: hidden;
}

section#detail strong {
  font-weight: 500;
}

@media screen and (max-width: 768px) {
    section#detail .gravitas-head h1,
    section#detail .gravitas-head p {
        text-align: left;
    }
    section#detail .gravitas-desc.width-75 p {
        max-width: 100%;
    }
    section#detail .subhead .icons {
        justify-content: flex-start !important;
    }
}

section#detail .tags {
  text-align: center;
  overflow: hidden;
}

section#detail .tags span {
  background: #10ad68;
  color: #fff;
  padding: 4px 8px;
  margin-right: 5px;
  font-size: 0.6067em;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.02em;
}

section#detail .tags span:last-child {
  margin-right: 0;
}

section#detail .subhead {
  text-align: center;
  margin: 2rem 0;
  font-size: 15px;
}

section#detail .subhead .icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 0.5rem;
}

section#detail .subhead .icons .icons-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 2.5rem;
  row-gap: 0.5rem;
  border-right: 1px solid #d9cfe6;
  padding-right: 1.5rem;
  margin-right: 1.5rem;
}

section#detail .subhead .icons .icons-group:last-child {
  border: none;
  padding-right: 0;
  margin-right: 0;
}

section#detail .subhead .icons span {
  display: inline-block;
  color: #111;
}

section#detail .subhead .icons span i.fal {
  display: inline-block;
  color: #314284;
  font-size: 1.3em;
  margin-right: 15px;
  position: relative;
  top: 2px;
}

@media screen and (max-width: 768px) {
  section#detail .subhead .icons,
  section#detail .subhead .icons .icons-group {
    border: none;
    align-items: flex-start;
  }
}

section#detail .subhead .price {
  display: inline-block;
  background: #314284;
  -webkit-border-top-right-radius: 2px;
  -webkit-border-bottom-right-radius: 2px;
  -moz-border-radius-topright: 2px;
  -moz-border-radius-bottomright: 2px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  margin-left: 20px;
  position: relative;
  padding: 0 20px;
  height: 50px;
  line-height: 50px;
}

section#detail .subhead .price strong {
  display: inline-block;
  height: 50px;
  line-height: 50px;
  color: #fff;
  font-size: 1.1527em;
}

section#detail .subhead .price:before {
  content: "";
  position: absolute;
  display: block;
  left: -25px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  border-right: 25px solid #314284;
}

section#detail .subhead .price:after {
  content: "";
  background: white;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  display: block;
  position: absolute;
  left: -7px;
  top: 21px;
}

section#detail .description {
  margin: 5rem 0;
}

section#detail .description p {
  margin: 0 auto;
  max-width: 75%;
  text-align: center;
}

section#detail .description p a {
  display: inline-block;
  margin-top: 15px;
}

section#detail .share {
  margin-bottom: 3rem;
  text-align: center;
}

section#detail .share .social {
  display: inline-block;
  margin: 0 0 30px 0;
  width: 100%;
}

section#detail .share .social i.fab {
  position: relative;
  top: 2px;
  display: inline-block;
  font-size: 1.3em;
  margin-left: 20px;
}

section#detail .share .favorite,
section#detail .share .mail,
section#detail .share .print,
section#detail .share .see {
  display: inline-block;
  margin: 0 30px 30px 0;
}

section#detail .share .favorite a,
section#detail .share .mail a,
section#detail .share .print a,
section#detail .share .see a {
  cursor: pointer;
  text-decoration: none;
}

section#detail .share .favorite a i.fal,
section#detail .share .mail a i.fal,
section#detail .share .print a i.fal,
section#detail .share .see a i.fal {
  position: relative;
  top: 3px;
  display: inline-block;
  font-size: 1.3em;
  margin-right: 14px;
}

section#detail .share .favorite a:hover,
section#detail .share .mail a:hover,
section#detail .share .print a:hover,
section#detail .share .see a:hover {
  text-decoration: underline;
}

section#detail .share .favorite {
  margin-right: 0;
}

section#detail .buttons {
  border: 1px solid #314284;
  overflow: auto;
  padding: 30px;
  border-radius: 2px;
}

section#detail .buttons .button {
  text-align: center;
}

section#detail .buttons .button a {
  text-decoration: none;
}

section#detail .buttons .button a i.fal {
  font-size: 0.9967em;
  margin-right: 15px;
}

section#detail .free {
  padding: 5rem 0 0 0;
}

section#detail .free table i.fal {
  font-size: 1.1527em;
}

section#detail .free table i.fal.yes {
  color: #314284;
}

section#detail .free table i.fal.no {
  color: #777;
}

section#detail .free p.link {
  display: block;
  text-align: center;
  margin-top: 30px;
}

@media screen and (min-width: 768px) {
  section#detail .video.half {
    width: 50%;
    margin: auto;
  }
}

section#detail .table-wrapper {
  border-radius: 1rem;
  border: 1px solid #314284;
  overflow: hidden;
}

section#detail .table {
  clear: both;
  overflow: hidden;
  padding: 5rem 0;
}

section#detail .table h2{
    text-transform: uppercase;
    color: #989898;
    font-size: 2.6em;
    font-weight: 400;
}

section#detail .table .items-wrapper {
  overflow: hidden;
  margin-bottom: 30px;
}

section#detail .table .items-wrapper .item {
  overflow: hidden;
  height: 50px;
  line-height: 50px;
  padding: 0 50px;
  font-size: 15px;
}

section#detail .table .items-wrapper .item label {
  float: left;
  font-weight: 400;
}

section#detail .table .items-wrapper .item strong {
  float: right;
  color: #314284;
  font-weight: 700;
}

section#detail .table .items-wrapper .item i.fal {
  font-size: 1.1527em;
}

section#detail .table .items-wrapper .item i.fal.yes {
  color: #314284;
  font-weight: 700;
}

section#detail .table .items-wrapper .item i.fal.no {
  color: #777;
}

section#detail .table .items-wrapper .item.hidden {
  display: none;
}

section#detail .table p.podrobne {
  margin-top: 10px;
  padding-bottom: 3px;
}

section#detail .table p.podrobne a {
  cursor: pointer;
  color: #111;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #111;
  padding-bottom: 2px;
  -webkit-transition: border 0.25s ease;
  -moz-transition: border 0.25s ease;
  -o-transition: border 0.25s ease;
  text-transform: uppercase;
}

section#detail .table p.podrobne a:hover {
  border-bottom: 1px solid transparent;
}

section#detail .map {
  height: 200px;
  background: #fff;
  border-radius: 2px;
  padding: 0;
  text-align: center;
  position: relative;
  margin-top: 5rem;
}

section#detail .map a.button {
  position: absolute;
  z-index: 2;
  left: calc(50% - 88px);
  top: calc(50% - 22px);
  -webkit-transition: top ease 0.25s;
  transition: top ease 0.25s;
}

section#detail .map a.button:hover {
  top: calc(50% - 27px);
}

section#detail .map .olMapViewport {
  opacity: 0.5;
}

section#detail .map .olMapViewport .olControlAttribution,
section#detail .map .olMapViewport .olControlPanZoom {
  display: none;
}

section#detail .map.open {
  height: 300px;
}

section#detail .map.open .olMapViewport {
  opacity: 1;
}

section#detail .map.open .olMapViewport .olControlAttribution,
section#detail .map.open .olMapViewport .olControlPanZoom {
  display: block;
}

section#detail .contact {
  margin: 6rem 0 0 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 5rem;
}

section#detail .contact .agents-wrapper {
  grid-column: span 5;
}

section#detail .contact .agent {
  background-color: #fafafa;
  border: 1px solid #d9cfe6;
  border-radius: 1.5rem;
  display: block;
  overflow: auto;
  text-align: left;
  display: flex;
  gap: 2rem;
  flex-direction: column;
  height: 100%;
}

section#detail .contact .agent .text {
  padding: 0rem 1.5rem;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}

section#detail .contact .agent-cta {
  padding: 1rem 1rem 1rem 1rem;
  background: linear-gradient(32deg, #394264, #7385CA);
  color: white;
  flex-grow: 1;
  font-size: 1.7333em;
  display: flex;
  justify-content: center;
  align-items: center;
}

section#detail .contact .agent-cta a {
  color: white;
  text-decoration: none;
  border: none;
  font-size: 0.8667em;
}

section#detail .contact .agent-cta a span {
  font-weight: 700;
}

section#detail .contact .agent .avatar {
  display: inline-block;
  padding-inline: 0;
  width: 100%;
  overflow: hidden;
  margin: auto;
  margin-top: 0;
  padding-top: 2rem;
  padding-inline: 25%;
  display: flex;
}

section#detail .contact .agent .avatar img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 100%;
  border: 1px solid #314284;
  height: auto;
  object-fit: cover;
  margin: auto;
  max-width: 175px;
}

section#detail .contact .agent .text h3 {
  margin: 0 0 20px 0;
  font-size: 1.7333em;
}

section#detail .contact .agent .text .flags {
  margin: 0 0 30px 0;
}

section#detail .contact .agent .text .flags img {
  margin-right: 5px;
  height: 10px;
  width: 15px;
}

section#detail .contact .agent .text .flags img:last-child {
  margin: 0;
}

section#detail .contact .agent .text .icons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

section#detail .contact .agent .text .icons span {
  width: 100%;
  display: block;
  font-size: 1.1267em;
}

section#detail .contact .agent .text .icons span a {
  text-decoration: none;
  color: #808080;
}

section#detail .contact .agent .text .icons span i {
  color: #314284;
  margin-right: 12px;
  font-size: 0.7em;
}

section#detail .contact .form {
  grid-column: span 7;
  background-color: #fafafa;
  border: 1px solid #d9cfe6;
  border-radius: 1.5rem;
  padding: 1.75rem;
}

section#offerform .form {
  background-color: #fafafa;
  border: 1px solid #d9cfe6;
  border-radius: 1.5rem;
  padding: 3rem;
}

section#offerform .form h2,
section#detail .contact .form h2 {
  color: #989898;
  margin-bottom: 30px;
  font-size: 2.08em;
  font-weight: 400;
}

section#detail .contact .form h2{
    margin-bottom: 0.9rem;
}

#obhliadka-popup fieldset {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

#obhliadka-popup fieldset > * {
  grid-column: span 2;
}

#obhliadka-popup fieldset .fullwidth {
  grid-column: span 6;
}

#obhliadka-popup fieldset .halfwidth {
  grid-column: span 3;
}

@media screen and (max-width: 768px) {
  #obhliadka-popup fieldset {
    grid-template-columns: 1fr;
  }
  #obhliadka-popup fieldset > * {
    grid-column: span 1;
  }

  #obhliadka-popup fieldset .fullwidth {
    grid-column: span 1;
  }

  #obhliadka-popup fieldset .halfwidth {
    grid-column: span 1;
  }
}

section#offerform .form form fieldset,
section#detail .contact .form form fieldset {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

section#offerform .form form fieldset > *,
section#detail .contact .form form fieldset > * {
  grid-column: span 2;
}

section#offerform .form form fieldset > :nth-child(1),
section#offerform .form form fieldset > :nth-child(2),
section#detail .contact .form form fieldset > :nth-child(1),
section#detail .contact .form form fieldset > :nth-child(2) {
  grid-column: span 1;
}

section#offerform .form button,
section#detail .contact .form button {
  width: 100%;
  margin-top: 5px;
}

section#offerform .form p.checkbox,
section#detail .contact .form p.checkbox {
  display: inline-block;
  overflow: hidden;
  margin: 0px 0px 0 0px;
}

section#offerform .form p.checkbox .styled-checkbox + label:before,
section#detail .contact .form .styled-checkbox + label:before {
  margin-bottom: 5px;
}

section#offerform .form p#recaptcha2,
section#detail .contact .form p#recaptcha2 {
  text-align: center;
  margin: 0px 0 0 0;
}

section#offerform .form p#recaptcha2 > div,
section#detail .contact .form p#recaptcha2 > div {
  display: inline-block;
}

section#offerform .form a.reserve,
section#detail .contact .form a.reserve {
  text-align: center;
  display: inline-block;
  width: calc(100% - 30px);
  margin: 50px 15px 15px 15px;
  text-decoration: none;
}

section#detail .contact .form a.reserve i.fal {
  margin-right: 12px;
  font-size: 1.1527em;
  position: relative;
  top: 2px;
}

section#detail .contact .form a.reserve:hover {
  text-decoration: underline;
}

@media screen and (max-width: 998px) {
  section#detail .contact {
    grid-template-columns: 1fr;
    row-gap: 4rem;
  }
  section#detail .contact .agents-wrapper {
    grid-column: span 1;
  }
  section#detail .contact .form {
    grid-column: span 1;
  }
  section#detail .contact .form{
    padding-inline: 1rem;
  }
  section#detail .contact .form h2{
      text-align: center;
  }
}

@media only screen and (min-width: 1440px) {
  section#sticky-header .icons .address {
    display: inline-block;
  }
}

@media only screen and (max-width: 1200px) {
  section#detail .share .social {
    display: block;
    width: 100%;
    margin-bottom: 3rem;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
  section#sticky-header .icons .address,
  section#sticky-header .icons .date {
    display: none;
  }
}

@media only screen and (max-width: 992px) {
  section#sticky-header {
    top: 60px;
  }

  section#sticky-header h4 {
    width: 100%;
    text-align: center;
  }

  section#sticky-header .icons,
  section#sticky-header .price {
    display: none;
  }

  section#carousel .gallery-carousel {
    height: 250px;
  }

  section#carousel .gallery-carousel a {
    height: 250px;
  }

  section#carousel.develo-photos {
    height: 50px;
  }

  section#carousel.develo-photos .gallery-carousel {
    height: 50px;
  }

  section#carousel.develo-photos .gallery-carousel a {
    height: 50px;
  }

  section#detail {
    padding: 3rem 0;
  }

  section#detail .icons {
    width: 100%;
  }

  section#detail .subhead .price {
    margin-top: 40px;
  }

  section#detail .share .favorite,
  section#detail .share .mail,
  section#detail .share .print,
  section#detail .share .see {
    display: block;
    width: 100%;
    margin-bottom: 20px;
  }

  section#detail .buttons .button {
    margin: 10px 0;
  }

  section#detail .contact .agent .icons span {
    display: block;
    margin-bottom: 10px;
  }
  section#detail .contact .agent .text .icons span i {
    margin-right: 7px;
    font-size: 0.8em;
  }

  section#detail .contact .agent .icons span:last-child {
    margin: 0;
  }

  section#detail .contact .form p.checkbox {
    max-width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  section#sticky-bottom {
    display: block !important;
  }

  section#sticky-header {
    display: none !important;
  }

  section#carousel .gallery-carousel button {
    display: none;
  }

  section#detail {
    padding: 3rem 0 3rem 0;
  }

  section#detail .breadcrumb {
    margin-top: 30px;
  }

  section#detail .contact .photo {
    text-align: center;
    float: none;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 30px;
  }

  section#detail .contact .agent .text {
    float: none;
  }
}

@media only screen and (max-width: 544px) {
  section#detail .contact .form form fieldset {
    grid-template-columns: 1fr;
  }

  section#detail .contact .form form fieldset > * {
    grid-column: span 1;
  }

  section#detail .subhead .icons span {
    display: block;
    margin: 0 0 0 0;
    text-align: left;
  }

  section#detail .contact .agent,
  section#detail .contact .form,
  section#detail .contact .photo {
    width: 100%;
    margin: 15px 0 0 0;
  }
}

.mfp-content > div {
  border-radius: 1.5rem;
}

.mfp-content h4 {
  margin: 10px 0;
  margin-bottom: 24px;
}

.mfp-content form fieldset p.checkbox {
  display: inline-block;
  overflow: hidden;
  margin: 0 15px;
}

.mfp-content form fieldset p#recaptcha2 {
  margin: 30px 15px 20px 15px;
}

.mfp-content form fieldset button {
  margin: 10px 0 20px 15px;
}
form fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

form fieldset .form-group {
  position: relative;
  padding: 0;
}

form fieldset .form-group select {
  width: 100%;
  display: inline-block;
  border: none;
  background: #eeeeee;
  height: 60px;
  font-family: "Lato", sans-serif;
  color: #666666;
  font-size: 0.8185em;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 8px;
  text-indent: 12px;
  outline: none;
}

form fieldset .form-group select:hover,
form fieldset .form-group select:focus {
  background: #e5e5e5;
}

form fieldset .form-group label {
  display: block;
  width: 100%;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 6px;
  cursor: default;
  text-transform: uppercase;
}

form fieldset .form-group input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: none;
  background-color: #eeeeee;
  padding: 0 15px;
  height: 40px;
  outline: none !important;
  font-family: "Lato", sans-serif;
  color: #111;
  border-radius: 8px;
  -webkit-transition: background 0.2s ease-in-out;
  transition: background 0.2s ease-in-out;
}

form fieldset .form-group input:focus,
form fieldset .form-group input:hover {
  background: #e5e5e5;
}

form fieldset .form-group input::-webkit-input-placeholder {
  color: #999;
  font-size: 0.8185em;
  font-family: "Lato", sans-serif;
  font-weight: 400;
}

form fieldset .form-group input:-moz-placeholder {
  color: #999;
  font-size: 0.8185em;
  font-family: "Lato", sans-serif;
  font-weight: 400;
}

form fieldset .form-group input::-moz-placeholder {
  color: #999;
  font-size: 0.8185em;
  font-family: "Lato", sans-serif;
  font-weight: 400;
}

form fieldset .form-group input:-ms-input-placeholder {
  color: #999;
  font-size: 0.8185em;
  font-family: "Lato", sans-serif;
  font-weight: 400;
}

form fieldset .form-text {
  margin-bottom: 0px;
  padding: 0;
}

form fieldset .form-text label {
  display: block;
  width: 100%;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 6px;
  cursor: default;
  text-transform: uppercase;
}

form fieldset .form-text textarea {
  background: #eeeeee;
  width: 100%;
  box-sizing: border-box;
  min-height: 120px;
  border: none;
  resize: none;
  font-size: 0.8185em;
  font-family: "Lato", sans-serif;
  color: #111;
  border-radius: 8px;
  padding: 15px;
  -webkit-transition: background 0.15s ease-in-out;
  transition: background 0.15s ease-in-out;
}

form fieldset .form-text textarea:focus,
form fieldset .form-text textarea:hover {
  background: #e5e5e5;
  outline: none;
}

form fieldset .form-text textarea::-webkit-input-placeholder {
  color: #999;
  font-size: 0.8185em;
  font-family: "Lato", sans-serif;
  font-weight: 400;
}

form fieldset .form-text textarea:-moz-placeholder {
  color: #999;
  font-size: 0.8185em;
  font-family: "Lato", sans-serif;
  font-weight: 400;
}

form fieldset .form-text textarea::-moz-placeholder {
  color: #999;
  font-size: 0.8185em;
  font-family: "Lato", sans-serif;
  font-weight: 400;
}

form fieldset .form-text textarea:-ms-input-placeholder {
  color: #999;
  font-size: 0.8185em;
  font-family: "Lato", sans-serif;
  font-weight: 400;
}

form fieldset button {
  margin-top: 30px;
  cursor: pointer;
  padding: 15px 40px;
  background: #314284;
  font-family: "Lato", sans-serif;
  font-weight: 500;
  font-size: 0.8667em;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 8px;
}

form fieldset button i {
  margin-right: 15px;
}

form fieldset .g-recaptcha {
  text-align: center;
  margin: 30px 0 0 0;
}

form fieldset .g-recaptcha > div {
  display: inline-block;
}

form fieldset .styled-checkbox {
  position: absolute;
  opacity: 0;
}

form fieldset .styled-checkbox + label {
  position: relative;
  cursor: pointer;
  padding: 0;
  font-weight: 400;
  font-size: 0.8667em;
  letter-spacing: normal;
  text-transform: none;
  color: rgba(0, 0, 0, 0.6);
}

form fieldset .styled-checkbox + label:before {
  content: "";
  margin-right: 15px;
  display: inline-block;
  vertical-align: text-top;
  width: 20px;
  height: 20px;
  background: #eeeeee;
  border: 1px solid #d9cfe6;
  border-radius: 4px;
  margin-top: 1px;
}

form fieldset .styled-checkbox:hover + label:before {
  background: #314284;
}

form fieldset .styled-checkbox:focus + label:before {
  -webkit-box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

form fieldset .styled-checkbox:checked + label:before {
  background: #314284;
}

form fieldset .styled-checkbox:disabled + label {
  color: #b8b8b8;
  cursor: auto;
}

form fieldset .styled-checkbox:disabled + label:before {
  -webkit-box-shadow: none;
  box-shadow: none;
  background: #ddd;
}

form fieldset .styled-checkbox:checked + label:after {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  background: white;
  width: 2px;
  height: 2px;
  -webkit-box-shadow:
    2px 0 0 white,
    4px 0 0 white,
    4px -2px 0 white,
    4px -4px 0 white,
    4px -6px 0 white,
    4px -8px 0 white;
  box-shadow:
    2px 0 0 white,
    4px 0 0 white,
    4px -2px 0 white,
    4px -4px 0 white,
    4px -6px 0 white,
    4px -8px 0 white;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
  overflow-x: auto;
}

table thead {
  background: #314284;
  height: 40px;
  line-height: 40px;
}

table thead th {
  text-align: center;
  font-weight: 500;
  font-size: 0.7627em;
}

table thead th a {
  color: #fff;
  text-decoration: none;
}

table thead th a.active {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

table tbody tr {
  border-bottom: 1px solid #d9cfe6;
}

table tbody tr td {
  text-align: center;
  padding: 14px;
}

table tbody tr td img {
  height: 30px;
  margin: 10px 0 4px 0;
}

table tbody tr:last-child {
  border: none;
}

/* ============================================================
   uvod.tpl — page-specific styles
   ============================================================ */

/* ---------- #carousel / #slogan ---------- */
#slogan {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 3;
  position: relative;
  color: white;
  text-align: center;
  padding-inline: 15px;
}

#slogan h1 {
  font-weight: 300 !important;
  color: #fff !important;
  margin: 0 auto;
  font-size: 5.2em;
  text-transform: uppercase;
}

#slogan h1 .bold {
  font-weight: 700;
}

#slogan p {
  color: white;
  max-width: 80ch;
  font-size: 1.4112em;
  padding: 0 2rem;
}

#slogan .buttons-wrapper {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

@media screen and (max-width: 1200px) {
  #slogan h1 {
    font-size: 3.2em !important;
  }
  #slogan p {
    font-size: 0.8667em;
  }
}

@media screen and (max-width: 768px) {
  #slogan h1 {
    font-size: 2.5em !important;
  }
  #slogan p {
    font-size: 0.75rem;
    padding: 0;
  }
  #slogan .button {
    font-size: 0.7rem;
  }
}

a:has(#google-rating) {
  text-decoration: none;
}

#google-rating {
  background: #ffffff30;
  backdrop-filter: blur(2px);
  color: white;
  display: flex;
  gap: 1.5rem;
  bottom: 3rem;
  right: 3rem;
  z-index: 3;
  position: absolute;
  border-radius: 4rem;
  padding: 0.5rem 2rem 0.5rem 1rem;
  align-items: center;
}

#google-rating .rating-number {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1rem;
}

#google-rating .rating-number img {
  width: 50px;
}

#google-rating p {
  font-size: 1rem;
  text-align: left;
  padding: 0;
}

#google-rating .profiles {
  position: relative;
  width: 180px;
  height: 80px;
}

#google-rating .profiles .profile {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid white;
  border-radius: 50%;
  z-index: 3;
  background-size: cover;
  background-position: center;
}

#google-rating .profiles .profile:nth-child(2) {
  left: 50px;
  z-index: 2;
}

#google-rating .profiles .profile:nth-child(3) {
  left: 100px;
  z-index: 1;
}

#google-rating .rating {
  font-size: 2.6em;
}

@media (max-width: 998px) {
  #google-rating {
    position: relative;
    left: 0;
    bottom: 0;
    margin-top: 3rem;
    width: calc(100% - 2rem);
    margin-inline: 1rem;
    gap: 10px;
    justify-content: space-between;
    max-width: 350px;
  }
  #google-rating .rating-number {
    gap: 10px;
  }
  #google-rating .rating-number .rating {
    font-size: 2rem !important;
  }
  #google-rating .rating-number img {
    width: 30px;
  }
  #google-rating .profiles {
    position: relative;
    width: 70px;
    height: 30px;
  }
  #google-rating .profiles .profile {
    width: 30px;
    height: 30px;
  }
  #google-rating .profiles .profile:nth-child(2) {
    left: 20px;
  }
  #google-rating .profiles .profile:nth-child(3) {
    left: 40px;
  }
}

/* ---------- #pevne-miesto ---------- */
#pevne-miesto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 4rem;
    row-gap: 2.5rem;
}

@media screen and (min-width: 1000px) {
    #pevne-miesto {
        scroll-margin-top: 28px;
    }
}

#pevne-miesto h2 {
  margin-bottom: 0;
  font-size: 2.7733em;
  font-weight: 400;
}

#pevne-miesto .tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

#pevne-miesto .tiles .tile {
  background-color: #314284;
  color: #fff;
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  padding: 1rem 2rem;
}

#pevne-miesto .tiles .alt {
  background-color: #fff;
  color: #314284;
}

#pevne-miesto .tiles .tile .num {
  font-size: 2.6em;
  font-weight: 700;
}

#pevne-miesto .tiles .tile span:last-child {
  font-size: 1.1em;
}

#pevne-miesto .tiles .tile span span {
  font-size: 1em;
  font-weight: 800;
}

#pevne-miesto .banner-certificates {
  background-color: #314284;
  padding: 4rem 2rem;
  border-radius: 2rem;
  position: relative;
}

#pevne-miesto .banner-certificates h3 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

#pevne-miesto .banner-certificates img.certificate {
  max-width: 50%;
}

#pevne-miesto .banner-certificates .symbol {
  display: block;
  position: absolute;
  right: 1rem;
  bottom: 0;
}

#pevne-miesto .banner-certificates ::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0%;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  filter: blur(1px);
  z-index: 0;
}

#pevne-miesto .banner-certificates ::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  height: 80%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  filter: blur(1px);
  z-index: 0;
}

@media (max-width: 1020px) {
  #pevne-miesto {
    column-gap: 2rem;
    row-gap: 2rem;
  }
  #pevne-miesto .tiles .tile .num {
    font-size: 2.0667em;
  }
  #pevne-miesto .tiles .tile span:last-child {
    font-size: 1.0133em;
  }
  #pevne-miesto .tiles .tile {
    padding: 1rem 1.25rem;
  }
  #pevne-miesto .banner-certificates {
    padding: 2.5rem 1.5rem;
  }
  #pevne-miesto .banner-certificates img.certificate {
    max-width: 70%;
  }
}

@media (max-width: 768px) {
  #pevne-miesto {
    grid-template-columns: 1fr;
    row-gap: 2rem;
    padding-top: 1rem;
    padding-bottom: 2rem;
  }
  #pevne-miesto h2 {
    font-size: 1.5em
  }
  #pevne-miesto .tiles {
    grid-template-columns: 1fr 1fr;
  }
  #pevne-miesto .banner-certificates {
    padding: 2rem 1.5rem;
  }
  #pevne-miesto .banner-certificates h3 {
    font-size: 1.25rem;
  }
  #pevne-miesto .banner-certificates img.certificate {
    max-width: 50%;
  }
}

/* ---------- #scrolling-gravitas ---------- */
#scrolling-gravitas {
  overflow: hidden;
  width: 100%;
  padding: 0;
}

.gravitas-track {
  display: flex;
  width: max-content;
  animation: gravitas-scroll 128s linear infinite;
}

.gravitas-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 1.5rem;
  font-size: 5.2em;
  font-weight: 500;
  text-transform: uppercase;
  color: #bebebe;
  white-space: nowrap;
  flex-shrink: 0;
}

.gravitas-inner img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

@keyframes gravitas-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 768px) {
  .gravitas-inner {
    font-size: 2.6em;
  }
  .gravitas-inner img {
    width: 40px;
    height: 40px;
  }
}

/* ---------- #obhliadky ---------- */
#obhliadky .head {
  display: flex;
  align-items: center;
  gap: 2rem;
}

#obhliadky .head p {
  margin: 0;
  max-width: 60ch;
  font-size: 1.4926em;
}

@media screen and (max-width: 768px) {
    #obhliadky .head p {
        font-size: 1em;
    }
}

#obhliadky .head .button {
  margin-left: auto;
  white-space: nowrap;
  flex-shrink: 0;
}

#obhliadky .items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

#obhliadky .item {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: -3px 4px 14px rgba(0, 0, 0, 0.1);
  border: 1px solid transparent;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  cursor: pointer;
}

#obhliadky .item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(49, 66, 132, 0.14);
  border-color: rgba(49, 66, 132, 0.18);
}

#obhliadky .item .icon-wrap {
  background: #f0f1f4;
  border-radius: 0.75rem;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.82em;
  color: #314284;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    color 0.25s ease;
}

#obhliadky .item:hover .icon-wrap {
  background: #314284;
  color: #fff;
  transform: scale(1.12);
}

#obhliadky .item h3 {
  font-size: 1.3626em;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
  transition: color 0.25s ease;
}

#obhliadky .item:hover h3 {
  color: #314284;
}

#obhliadky .item p {
  font-size: 0.7222em;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

@media (max-width: 1020px) {
  #obhliadky .items {
    grid-template-columns: repeat(2, 1fr);
  }
  #obhliadky .item p{
    font-size: 0.9em;
  }
  #obhliadky .item h3{
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  #obhliadky .head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  #obhliadky .head .button {
    margin-left: 0;
  }
  #obhliadky .items {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  #obhliadky .item {
    padding: 1.5rem 1.25rem;
  }
}

.gravitas-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.2em;
}

.gravitas-label::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #314284;
  border-radius: 2px;
}

.gravitas-label span {
  font-weight: 600;
  color: #314284;
}

.gravitas-label h1 {
  font-weight: 600;
  color: #314284;
  font-size: inherit;
  margin-bottom: 0;
}

.gravitas-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.gravitas-head.fullwidth {
  grid-template-columns: 1fr;
}

.gravitas-title h1,
.gravitas-title h2 {
  font-size: 2.4267em;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
  font-weight: 400;
}

.gravitas-title h2 strong {
  font-weight: 900;
  display: block;
}

.gravitas-desc p {
  color: #444;
  line-height: 1.3;
  margin: 0;
  font-size: 1.0833em;
}
.gravitas-desc.width-75 p{
    max-width: 75%;
    margin: auto;
}

.gravitas-desc p.hidden {
  display: none;
}

@media (max-width: 998px) {
  .gravitas-head {
    grid-template-columns: 1fr;
  }
  .gravitas-title h2 {
    font-size: 2.1667em;
  }
}

@media (max-width: 768px) {
  .gravitas-title h1,
  .gravitas-title h2 {
    font-size: 1.8em;
  }
}

.gravitas-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  column-gap: 1rem;
  row-gap: 1rem;
}

.gravitas-types .button {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-color: black !important;
  color: black !important;
  border-width: 1px !important;
  text-align: center;
}


.gravitas-types .button.active,
.gravitas-filter .filter-header .button.active {
  background: #314284 !important;
  color: white !important;
  border-color: #314284 !important;
}

@media (max-width: 768px) {
  .gravitas-types {
    grid-template-columns: repeat(2, 1fr);
  }
  .gravitas-types .button:nth-child(5) {
    grid-column: span 2;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
}

.gravitas-filter {
  border: 2px solid #314284;
  padding: 1.5rem;
  border-radius: 1rem;
  margin-top: 2rem;
}

.gravitas-filter .filter-header {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.gravitas-filter .filter-header .button {
  border-width: 1px;
  font-weight: 400;
}

.gravitas-filter .filter-header .button.config {
  margin-left: auto;
  background-color: #314284;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.gravitas-filter .filter-header .button.config i {
  font-size: 1.1267em;
}

@media screen and (max-width: 768px) {
    .gravitas-filter .filter-header .button.config{
        width: 100%;
        justify-content: center;
    }
    .gravitas-filter .advanced .button-wrapper button {
        width: 100%;
    }
    .gravitas-filter .advanced .button-wrapper button {
        background: transparent;
        color: #314284;
        border: 2px solid #314284;
    }
     .gravitas-filter .advanced .button-wrapper button::after,
     .gravitas-filter .advanced .button-wrapper button::before {
        content: none;
     }
}

.gravitas-filter .advanced {
  padding: 2rem 0;
}

.gravitas-filter .advanced form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.gravitas-filter .advanced form > div {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 240px;
}

.gravitas-filter .advanced form > div:has(select) {
  max-width: 340px;
}

.gravitas-filter .advanced form > div label {
  margin-bottom: 1rem;
  color: #989898;
}

.gravitas-filter .advanced .input-icon-wrapper {
  position: relative;
}

.gravitas-filter .advanced input,
.gravitas-filter .advanced select {
  border: 1px solid #314284;
  color: #949494;
  border-radius: 999px;
  padding: 1rem 1.5rem;
  font-size: 0.95em;
  outline: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
  min-width: 0;
  width: 100%;
  text-align: left;
}

.gravitas-filter .advanced input {
  max-width: 240px;
}

.gravitas-filter .advanced select {
  max-width: 340px;
}

.gravitas-filter .advanced .button-wrapper {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.gravitas-filter .advanced .input-icon-wrapper input,
.gravitas-filter .advanced .input-icon-wrapper select {
  padding-left: 3.75rem;
}

.gravitas-filter .advanced button {
  max-width: 250px;
  width: 100%;
  border: none;
}

.gravitas-filter .advanced .input-icon-wrapper .icon {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: #949494;
  font-size: 1.3867em;
}

.gravitas-filter .advanced input[type="text"]::placeholder {
  color: #949494;
}

.gravitas-filter .advanced select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px; /* space for the custom arrow */
  background: url("/template/img/arrow.svg") no-repeat right 20px center;
  background-size: 15px;
}

@media screen and (max-width: 768px) {
  .gravitas-filter .advanced form > div,
  .gravitas-filter .advanced form > div:has(select),
  .gravitas-filter .advanced input,
  .gravitas-filter .advanced select,
  .gravitas-filter .advanced button {
    max-width: 100%;
  }
}

/* ---------- #projekty-slider ---------- */
#projekty-slider {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 520px;
  overflow: hidden;
  background: #0d1526;
}

.ps-slides {
  position: absolute;
  inset: 0;
}

.ps-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.ps-slide.active {
  opacity: 1;
}

.ps-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 18, 50, 0.35) 0%,
    rgba(10, 18, 50, 0.6) 100%
  );
  z-index: 1;
}

.ps-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 2rem 2.5rem;
}

.ps-title {
  color: white;
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: 700;
  margin: 0 0 auto 0;
  text-align: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.ps-card {
  position: absolute;
  right: clamp(1rem, 5vw, 6rem);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.ps-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
  margin-top: 0.35rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.ps-card-body {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  max-width: 240px;
  color: white;
}

.ps-name-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 0.4rem;
}

.ps-card-name {
  color: inherit;
}

.ps-name-wrapper i {
  margin-right: 0.5rem;
  color: #314284;
}

.ps-card-name {
  display: block;
  font-size: 0.95em;
  font-weight: 700;
}

.ps-card-address {
  font-size: 0.9em;
  line-height: 1.5;
  opacity: 0.85;
  margin: 0 0 1rem 0;
}

.ps-card-btn {
  font-size: 0.6933em !important;
  padding: 0.5rem 1rem !important;
  white-space: nowrap;
}

.ps-desc {
  color: white;
  text-align: center;
  font-size: clamp(0.9em, 2vw, 1.1em);
  line-height: 1.7;
  margin: auto 0 1.5rem 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.ps-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ps-btn {
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.8667em;
  padding: 0.5rem 1.75em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.ps-btn:hover {
  background: #000000bf;
  border: 1px solid transparent;
}

.ps-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.ps-dot {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition:
    background 0.3s ease,
    width 0.3s ease;
  border: none;
  padding: 0;
}

.ps-dot.active {
  background: white;
  width: 40px;
}

@media (max-width: 768px) {
  #projekty-slider {
    height: 100svh;
  }
  .ps-card {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin: auto 0 10px 0;
    width: 100%;
    justify-content: center;
  }
  .ps-card-dot {
    display: none;
  }
  .ps-card-body {
    max-width: 100%;
    width: 100%;
  }
  .ps-content {
    padding: 2.5rem 1.25rem 2rem;
  }
  .ps-title {
    margin-bottom: 0;
  }
  .ps-desc {
    font-size: 0.8233em;
    margin: 1.5rem 0;
  }
}

/* ---------- #top-ponuka ---------- */

#top-ponuka {
  overflow: visible;
  padding-inline: 3rem;
}

@media screen and (max-width: 768px) {
    #top-ponuka {
        padding-inline: 1rem;
    }
}

.tp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.tp-grid .tp-text { 
    font-size: 1.0833em;
}

.tp-grid .tp-text h2 {
  font-size: 1.56em
}

.tp-grid .tp-image {
  width: 100%;
  position: relative;
}

.tp-grid .tp-image img {
  border-radius: 2rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (max-width: 768px) {
    .tp-grid .tp-image img{
        border-radius: 1rem;
    }
}

.tp-grid .tp-image .tp-image-badge {
  position: absolute;
  right: 1rem;
  top: 1rem;
  transform: translate(50%, -50%);
  background: linear-gradient(235deg, #314284 50%, #7D87AB 100%);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 1.75rem;
  border-radius: 1rem;
  box-shadow: 3px 3px 4px #00000020;
  font-size: 1.2133em;
}
.tp-grid .tp-image .tp-image-badge.white{
    background: #F9FAFB;
    color: #000;
}
.tp-grid .tp-image .tp-image-badge.white .number {
    color: #314284;
} 

.tp-grid .tp-image .tp-image-badge.left {
  left: 1rem;
  right: auto;
  transform: translate(-50%, -50%);
}

.tp-grid .tp-image .tp-image-badge span.number {
  font-size: 1.1267em;
  color: #fff;
  font-weight: 900;
}

.tp-grid .tp-checkpoints ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 1rem;
}

.tp-grid .tp-checkpoints ul li {
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.tp-grid .tp-checkpoints ul li::before {
  content: "✓";
  color: #314284;
  margin-right: 0.5rem;
}

.tp-grid .tp-image .tp-image-badge p {
  font-size: 0.6933em;
}

.tp-grid .tp-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem 0;
}

.tp-grid .tp-features .tp-feature-item .feature-icon {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.tp-grid .tp-features .tp-feature-item .feature-icon i {
    color: #314284;
}

.tp-grid .tp-features .tp-feature-item .feature-icon h3 {
  font-size: 0.8667em;
  margin-bottom: 0;
}

.tp-grid .tp-features .tp-feature-item p {
  margin-left: 2.25rem;
  font-size: 0.7713em;
}

@media screen and (max-width: 998px) {
  .tp-grid {
    grid-template-columns: 1fr;
  }
  .tp-grid .tp-text h2{
    font-size: 1.4em;
    margin-bottom: 10px;
  }
  .tp-grid .tp-features .tp-feature-item p{
    margin-left: 1.8rem
  }
  .tp-text  .mobile-extra{
    display: block;
    margin-bottom: 1rem;
    font-size: 1.2em;
    font-weight: 600;
    color: black;
  }
}

.tp-list {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.tp-list.fullwidth {
  max-width: 100%;
font-weight: 27px;
}

.tp-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tp-list li.gradient-bg {
  background: linear-gradient(190deg, #314284 0%, #314284a0 100%);
  color: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 0.8185em;
  font-weight: 500;
  line-height: 1.4;
}

.tp-list li {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 0.8185em;
}

.tp-list li i {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  background: #314284;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  color: white;
}

.tp-list li span.num {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  background: #314284;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8185em;
  color: white;
}
.tp-quote {
  background: linear-gradient(190deg, #314284 0%, #314284a0 100%);
  border-radius: 20px;
  padding: 24px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tp-quote-inner {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  max-width: 320px;
  min-width: 50%;
}

.tp-quote-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.tp-quote-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tp-quote-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.6259em;
}

.tp-quote-title {
  font-size: 1.1555em;
  font-weight: 500;
  color: #111;
}

.tp-quote-dots {
  font-size: 0.8667em;
  color: #999;
  letter-spacing: 1px;
  line-height: 1;
}

.tp-quote-body {
  font-size: 1.6851em;
  font-weight: 600;
  color: #111;
}
.tp-3d {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media screen and (max-width: 768px) {
  .tp-3d {
    grid-template-columns: 1fr;
  }
  .tp-quote-inner{
    font-size: 1.2rem;
  }
  .tp-list li.gradient-bg{
    font-size: 1.5167em;
  }
  .tp-list li {
    font-size: 0.8em;
  }
}

.tp-cards {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 0.75rem;
  height: 420px;
  transition: grid-template-columns 0.4s ease;
}

.tp-cards:has(.tp-card:hover) {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.tp-cards:has(.tp-card:nth-child(1):hover) {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

.tp-cards:has(.tp-card:nth-child(2):hover) {
  grid-template-columns: 1fr 2fr 1fr 1fr;
}

.tp-cards:has(.tp-card:nth-child(3):hover) {
  grid-template-columns: 1fr 1fr 2fr 1fr;
}

.tp-cards:has(.tp-card:nth-child(4):hover) {
  grid-template-columns: 1fr 1fr 1fr 2fr;
}

.tp-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  cursor: pointer;
}

.tp-card-img {
  position: absolute;
  inset: 0;
  background-size: cover, 50% !important;
  background-position: center, center !important;
  background-repeat: no-repeat, no-repeat !important;
  transition: transform 0.5s ease;
}

.tp-card:hover .tp-card-img {
  transform: scale(1.04);
}
/* 
.tp-card:hover .tp-card-overlay {
  opacity: 0;
}

.tp-cards:not(:has(.tp-card:hover)) .tp-card:nth-child(1) .tp-card-overlay {
  opacity: 0;
} */

.tp-cards .tp-card:hover .tp-card-overlay {
  opacity: 0;
}

.tp-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 30, 70, 0.88) 0%,
    rgba(20, 30, 70, 0.4) 55%,
    rgba(20, 30, 70, 0.15) 100%
  );
  transition: opacity 0.35s ease;
}

.tp-card-content {
  position: relative;
  z-index: 2;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: white;
}

.tp-tag {
  font-size: 0.8768em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
  background-color: #00000030;
  border-radius: 10px;
  width: fit-content;
  padding: 4px 8px;
}

.tp-card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  overflow: hidden;
    width: 100%;
}
.tp-card-bottom div {
    width: 100%;
}
.tp-card-content h3 {
  font-size: 1.4926em;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  color: white;
  text-wrap: nowrap;
  overflow: hidden;
  width: 90%;
  text-overflow: ellipsis;
}

.tp-price {
  font-size: 1.6851em;
  display: block;
  opacity: 0.9;
}

.tp-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #314284;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.tp-cards:not(:has(.tp-card:hover)) .tp-card:first-child .tp-arrow {
  opacity: 1;
  transform: scale(1);
}

.tp-cards:has(.tp-card:hover) .tp-card:hover .tp-arrow {
  opacity: 1;
  transform: scale(1);
}

.tp-card:hover .tp-arrow {
  transform: scale(1) translateX(2px);
}

.tp-cards:not(:has(.tp-card:hover)) .tp-card:hover h3 {
  text-wrap: nowrap;
  overflow: hidden;
}   

.tp-footer {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

@media (max-width: 998px) {
  .tp-cards,
  .tp-cards:has(.tp-card:hover),
  .tp-cards:has(.tp-card:nth-child(1):hover),
  .tp-cards:has(.tp-card:nth-child(2):hover),
  .tp-cards:has(.tp-card:nth-child(3):hover),
  .tp-cards:has(.tp-card:nth-child(4):hover) {
    grid-template-columns: 1fr;
    height: auto;
  }
  .tp-card {
    height: 260px;
  }
  .tp-arrow {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---------- #gravitas-banner ---------- */
#gravitas-banner {
  position: relative;
  width: 100%;
  /* background: #314284; */
  background: url("/template/img/gravitas-bg-form.jpg") bottom right / cover no-repeat;
  padding: 5rem 3rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 2;
  justify-content: center;
}

@media screen and (max-width: 768px) {
    #gravitas-banner {
        background-position: 40% center;
    }
}

/* 
#gravitas-banner:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/template/img/gravitas-form-bg.jpg") center center / cover repeat;
  z-index: 0;
  opacity: 0.3;
  transform: scale(1, -1)  
}

#gravitas-banner:after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/template/img/gravitas-form-bg-noise.jpg") center center / cover repeat;
  z-index: 1;
  opacity: 0.06;
  filter: blur(64px);
} */

.kb-bg-text svg{
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 100%;
  z-index: 2;
  transform: translateX(-50%);
  letter-spacing: 0.1em;
  fill: rgba(255, 255, 255, 0.06);
  max-height: 40%
}

.kb-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
  max-width: 1000px;
}

.kb-heading {
  gap: 1rem;
  color: white;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 3.8037em;
  font-weight: 200;
}

.kb-heading .alt {
  font-weight: 900;
  color: white;
}

.kb-heading strong {
  font-size: clamp(1.6em, 4.5vw, 2.6em);
  font-weight: 900;
}



.kb-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

#gravitas-banner .kb-form input[type="text"],
#gravitas-banner .kb-form input[type="tel"] {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  color: white;
  font-size: 0.8667em;
  outline: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
  min-width: 0;
  flex: 1 1 160px;
  max-width: 240px;
  text-align: center;
}

#gravitas-banner .kb-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

#gravitas-banner .kb-form input:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.kb-submit {
  background: rgba(255, 255, 255, 0.88);
  color: #1e2d6b;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 2rem;
  font-size: 0.8667em;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
  flex-shrink: 0;
}

.kb-submit:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

#gravitas-banner.cta h2 {
  margin-bottom: 0;
}

#gravitas-banner .select {
  width: 100%;
  padding: 0;
  text-align: center;
}

#gravitas-banner #nacenenie h4,
#gravitas-banner #nacenenie label {
  color: white;
}
#gravitas-banner #nacenenie a.button-alt {
  color: white;
  border-color: white;
}

#gravitas-banner .select .valuation-select-wrap {
  width: 100%;
}

#gravitas-banner .select .items-wrapper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  margin: 1rem 0 0;
  overflow: visible;
}

#gravitas-banner .select .items-wrapper .item {
  float: none;
  display: block;
  border: 0;
  background: transparent;
  cursor: pointer;
}

#gravitas-banner .select .items-wrapper .item > a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 144px;
  border-radius: 1.25rem;
  padding: 1.4rem 1rem 1.2rem;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

#gravitas-banner .select .items-wrapper .item > a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    transparent 60%
  );
  pointer-events: none;
}

#gravitas-banner .select .items-wrapper .item > a i {
  font-size: 2rem;
  color: #fff;
  margin: 0 0 0.9rem;
}

#gravitas-banner .select .items-wrapper .item > a p {
  margin: 0;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.84rem;
  font-weight: 700;
}

#gravitas-banner .select .items-wrapper .item > a:hover,
#gravitas-banner .select .items-wrapper .item > a:focus-visible,
#gravitas-banner .select .items-wrapper .item.active > a,
#gravitas-banner .select .items-wrapper .item > a.active {
  transform: translateY(-3px);
  border-color: rgba(167, 188, 255, 0.65);
  background: linear-gradient(
    135deg,
    rgba(116, 126, 166, 0.3) 0%,
    rgba(49, 66, 132, 0.26) 100%
  );
  box-shadow:
    0 16px 30px rgba(11, 16, 38, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

#gravitas-banner .select .items-wrapper .item > a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .kb-heading {
    margin-bottom: 1rem;
    font-size: 1.7333em;
  }
  #gravitas-banner.cta h2{
    margin-bottom: 1rem;
    font-size: 2.1667em;
  }
  .kb-inner {
    gap: 0.5rem;
  }
  #gravitas-banner {
    padding: 4rem 1.5rem;
  }
  .kb-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .kb-form > :nth-child(1):not(.fill-width),
  .kb-form > :nth-child(2):not(.fill-width) {
    grid-column: span 1;
  }

  .kb-form > * {
    grid-column: 1 / span 2;
  }
  .kb-form > .kb-submit {
    grid-column: 1 / span 2;
    justify-self: center;
  }
  #gravitas-banner .kb-form input[type="text"],
  #gravitas-banner .kb-form input[type="tel"] {
    max-width: 100%;
    flex: 1 1 auto;
  }
  .kb-submit {
    align-self: center;
    padding: 0.75rem 3rem;
  }

  #gravitas-banner .select .items-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  #gravitas-banner .select .items-wrapper .item > a {
    min-height: 128px;
    padding: 1.2rem 0.8rem 1rem;
  }
}

@media (max-width: 480px) {
  #gravitas-banner .select .items-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ---------- #tim-sekcia ---------- */
#tim-sekcia {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem 3rem;
  align-items: start;
}

.ts-heading {
  grid-column: 1;
  grid-row: 1;
}

.ts-heading h2 {
  font-size: 2.4267em;
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0;
}
@media screen and (max-width: 768px) {
  .ts-heading h2 {
    font-size: 1.7em;
  }
}

.ts-desc {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding-top: 0.25rem;
  font-size: 1.0833em;
}

.ts-desc p {
  margin: 0;
  line-height: 1.65;
  color: #333;
}

.ts-desc .button i {
  margin-left: 10px;
}

.ts-image {
  grid-column: 1 / span 2;
  grid-row: 2;
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
}

.ts-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.ts-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 2rem 1.75rem;
  background: linear-gradient(
    to top,
    rgba(10, 18, 50, 0.82) 0%,
    transparent 100%
  );
}

.ts-image-caption p {
  color: white;
  margin: 0;
  font-size: 1.3em;
  line-height: 1.65;
  max-width: 60ch;
}

@media (max-width: 768px) {
  #tim-sekcia {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .ts-heading {
    grid-column: 1;
    grid-row: 1;
  }
  .ts-desc {
    grid-column: 1;
    grid-row: 2;
  }
  .ts-image {
    grid-column: 1;
    grid-row: 3;
    height: 400px;
aspect-ratio: auto !important;
        background-size: cover !important;
        background-position: center !important;
}
}

/* ---------- #referencie ---------- */
.ref-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.ref-title h2 {
  font-size: 2.4267em;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0 0 0.4rem 0;
}

.ref-title p {
  margin: 0;
  color: #444;
  font-size: 1.0833em;
  max-width: 36ch;
  line-height: 1.3;
}

@media screen and (max-width: 768px) {
 .ref-title h2 {
     font-size: 1.6em;
 }
 .ref-title p {
    font-size: 1.5167em;
 }
}

.ref-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
  padding-top: 0.25rem;
}

.ref-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: white;
  color: #314284;
  font-size: 0.8667em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.ref-btn.active,
.ref-btn:hover {
  background: #314284;
  color: white;
  border-color: #314284;
}

.ref-track-wrap {
  overflow: hidden;
}

.ref-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.45s ease;
  padding-bottom: 1rem;
}

.ref-card {
  position: relative;
  display: flex;
  gap: 1rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 1.25rem;
  padding: 1rem 1.25rem;
  width: 90%;
  min-width: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.ref-card-img {
  width: 250px;
  aspect-ratio: 1/1;
  border-radius: 0.85rem;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.ref-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  min-width: 0;
}

.ref-google {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  font-size: 0.65em;
  color: #777;
  line-height: 1.3;
}

@media screen and (max-width: 768px) {
.ref-google {
    position: absolute;
    top: 2.5rem;
    right: 1.5rem;
}
}

.ref-google img {
  width: 24px;
  height: 24px;
}

.ref-google strong {
  color: #333;
}

.ref-card-body h3 {
  font-size: 1.5408em;
  font-weight: 700;
  margin: 0;
}

.ref-stars {
  color: #f5a623;
  font-size: 2.08em;
  letter-spacing: 0.05em;
  line-height: 1;
}

.ref-card-body p {
  margin: 0;
  font-size: 1em;
  line-height: 1.65;
  color: #444;
  padding-bottom: 2rem;
}

@media screen and (max-width: 786px) {
  .ref-card-body p {
    font-size: 0.9em;
  }
}

.ref-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  height: 12px;
}

.ref-dots .ref-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.ref-dots .ref-dot.active {
  width: 12px;
  height: 12px;
  background: white;
  border: 4px solid #314284;
}

@media (max-width: 998px) {
  .ref-card {
    width: 100%;
    flex-direction: column;
    padding: 1rem;
  }
  .ref-card-img {
    width: 100%;
    /* height: 160px; */
  }
  .ref-google {
    margin-left: 0;
  }
  .ref-head .ref-controls {
    display: none;
  }
  .ref-dots {
    display: flex;
  }
}

table tbody tr:hover {
  cursor: pointer;
  background: #f5f5f5;
}

table.responsive {
  min-width: 1px;
}

@media only screen and (min-width: 1200px) {
  table.responsive td.lg,
  table.responsive th.lg {
    display: table-cell !important;
  }
}

@media only screen and (min-width: 992px) {
  table.responsive td.md,
  table.responsive th.md {
    display: table-cell !important;
  }
}

@media only screen and (min-width: 768px) {
  table.responsive td.sm,
  table.responsive th.sm {
    display: table-cell !important;
  }
}

@media only screen and (min-width: 544px) {
  table.responsive td.xs,
  table.responsive th.xs {
    display: table-cell !important;
  }
}

table.responsive td.lg,
table.responsive td.md,
table.responsive td.sm,
table.responsive td.xs,
table.responsive th.lg,
table.responsive th.md,
table.responsive th.sm,
table.responsive th.xs {
  display: none;
}

section#bottom {
  background: #fff;
  padding-top: 6rem;
  padding-bottom: 0;
  text-align: center;
}

section#bottom .wrapper {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #d9cfe6;
  display: grid;
  grid-template-columns: auto 1fr;
}

section#bottom .wrapper .logo {
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 100%;
  min-width: 400px;
}

section#bottom .wrapper .logo img {
  height: 100px;
  margin-bottom: 10px;
}

section#bottom .wrapper .logo p {
  width: 30ch;
  font-size: 0.4815em;
  text-align: start;
}

@media screen and (max-width: 768px) {
    section#bottom .wrapper .logo p {
        font-size: 0.8rem;
    }
}

section#bottom .wrapper .icons {
  display: flex;
  margin-top: 2rem;
}

section#bottom .wrapper .icons .social {
  display: flex;
  gap: 0.75rem;
}

section#bottom .wrapper .icons .social a {
  display: flex;
  background-color: #7580ac;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
}

section#bottom .wrapper .icons .social a i {
  color: white;
  font-size: 0.8667em;
}

section#bottom .wrapper .icons img {
  height: 30px;
  margin-left: 3rem;
}

section#bottom .links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
  gap: 3rem;
}

@media screen and (max-width: 768px) {
  section#bottom .links {
    grid-template-columns: repeat(2, 1fr);
    font-size: 1.2133em;
}
}

section#bottom .submenu {
  padding-bottom: 5px;
}

section#bottom .submenu h3 {
  margin-top: 0px;
  margin-bottom: 0.75rem;
  font-size: 0.8667em;
  text-align: left;
}

section#bottom .submenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

section#bottom .submenu ul li a {
  text-decoration: none;
  color: #555;
  display: block;
  margin-bottom: 0.5rem;
}

@media screen and (max-width: 998px) {
  section#bottom .wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  section#bottom .wrapper .icons {
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 2rem;
    margin-bottom: 3rem;
    margin-top: 1.5rem;
  }

  section#bottom .wrapper .icons img {
    margin-left: 0;
  }

  section#bottom nav {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
  }
  section#bottom .wrapper .logo {
    min-width: 0;
  }
}

@media only screen and (max-width: 768px) {
  section#bottom .submenu .item {
    margin-bottom: 5rem;
  }

  section#bottom .submenu .item:last-child {
    margin: 0;
  }
}

footer {
  padding-top: 2rem;
  text-align: center;
}

footer .container > a {
  display: inline-block;
  margin: 30px 0 0 0;
}

footer .container p {
  font-size: 0.7627em;
  line-height: 1.75em;
}

footer .container p.social {
  margin: 0 0 20px 0;
}

footer .container p.social a {
  border: none !important;
  display: inline-block;
  margin: 0 10px;
  font-size: 0.963em;
}

footer .container p.bo {
  margin-top: 40px;
}

footer .container p.bo a {
  border-bottom: none;
}

.mfp-content button:not(.mfp-close) {
  background: #314284;
  font-weight: 500;
  color: #fff;
  font-size: 0.8233em;
  letter-spacing: 0.015em;
  text-decoration: none;
  padding: 12px 24px;
  -webkit-transition: top ease 0.25s;
  transition: top ease 0.25s;
  border-radius: 2px;
  margin-top: 30px;
}

.mfp-content button:not(.mfp-close).close {
  background: #ccc;
  color: #222;
  float: right;
}

#termin1,
#termin2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin: 20px 0;
}

#termin1 .mtr-row:first-child,
#termin2 .mtr-row:first-child {
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
}

.mtr-datepicker .mtr-content,
.mtr-datepicker .mtr-content .mtr-values .mtr-default-value,
.mtr-datepicker .mtr-content .mtr-values .mtr-default-value-name,
.mtr-datepicker .mtr-content .mtr-values .mtr-default-value.has-name {
  background: #111 !important;
}

.mtr-datepicker .mtr-input-slider .mtr-content .mtr-input {
  color: #fff;
}

.mtr-datepicker .mtr-content .mtr-input,
.mtr-datepicker .mtr-content input,
.mtr-datepicker .mtr-content input,
.mtr-datepicker .mtr-content input .mtr-values .mtr-default-value,
.mtr-datepicker .mtr-content input .mtr-values .mtr-default-value-name,
.mtr-datepicker .mtr-content input .mtr-values .mtr-default-value.has-name,
.mtr-datepicker .mtr-content.mtr-active,
.mtr-datepicker .mtr-content.mtr-active .mtr-values .mtr-default-value,
.mtr-datepicker .mtr-content.mtr-active .mtr-values .mtr-default-value-name,
.mtr-datepicker .mtr-content.mtr-active .mtr-values .mtr-default-value.has-name,
.mtr-datepicker .mtr-content:hover,
.mtr-datepicker .mtr-content:hover,
.mtr-datepicker .mtr-content:hover .mtr-values .mtr-default-value,
.mtr-datepicker .mtr-content:hover .mtr-values .mtr-default-value-name,
.mtr-datepicker .mtr-content:hover .mtr-values .mtr-default-value.has-name {
  background: #314284 !important;
}

.olControlAttribution.olControlNoSelect {
  bottom: 0;
}

.markerContent {
  height: 530px;
  width: 240px;
  overflow: hidden;
}

.hypo {
  margin: 5rem 0;
  overflow: auto;
}

.hypo .form {
  overflow: auto;
  padding: 3rem;
  background: #232f60;
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
}

.hypo .form::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0%;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  filter: blur(1px);
  z-index: 0;
  pointer-events: none;
}

.hypo .form::after {
  content: "";
  position: absolute;
  left: -20%;
  top: -10%;
  height: 80%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  filter: blur(1px);
  z-index: 0;
  pointer-events: none;
}

.hypo .form a.logo {
  float: left !important;
  margin: 10px 0 20px 0;
}

.hypo .form a.logo img {
  height: 40px;
}

.hypo .form p.sum {
  height: 30px;
  line-height: 30px !important;
  float: right !important;
  width: 220px !important;
  text-align: left !important;
  margin: 0px !important;
}

.hypo .form p.sum small {
  float: right;
  height: 30px;
  line-height: 26px;
  font-size: 0.8667em;
  color: #fff;
}

.hypo .form p.sum input[type="text"] {
  background: transparent;
  font-size: 1.3em;
  font-weight: 500;
  float: right;
  height: 30px;
  line-height: 30px;
  border: none;
  text-align: right;
  width: 120px;
  padding: 0 10px;
}

.hypo .form p.sum input[type="text"]:disabled {
  color: #fff;
}

.hypo .form .line {
  margin-bottom: 20px;
  float: left;
  width: 100%;
  height: 30px;
  line-height: 30px;
}

.hypo .form .line label {
  color: #fff;
  font-weight: 500;
  float: left;
  display: block;
  width: 150px;
  margin-bottom: 5px;
  margin-right: 30px;
}

.hypo .form .line input[type="range"] {
  width: calc(100% - 380px);
  margin: 13px 0;
  float: left;
  background: transparent;
}

.hypo .form .line.final {
  margin: 10px 0 0 0;
  display: flex;
  height: 60px;
}

.hypo .form .line.final label {
  margin: 3px 0;
  width: 150px;
  float: left;
  line-height: 18px;
  text-align: left;
  margin-right: 30px;
}

.hypo .form .line.final p.sum {
  float: left !important;
  text-align: left !important;
  margin: 4px 0 !important;
  width: 160px !important;
}

.hypo .form .line.final a.button {
  margin-left: auto;
  height: fit-content;
}

.hypo .form .line.final p.sum strong {
  float: left;
  font-size: 2.1667em;
  font-weight: bold;
  margin-right: 10px;
  color: #fff !important;
}

.hypo .form .line.final p.sum small {
  float: left;
  line-height: 16px;
}

@media screen and (max-width: 768px) {
  .hypo .form .line.final {
    flex-direction: column;
    height: auto !important;
  }
  .hypo .form .line.final a.button {
    margin: 10px auto 0 auto;
  }
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  margin: 8.5px 0;
}

input[type="range"]:focus {
  outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 3px;
  cursor: pointer;
  -webkit-box-shadow:
    0px 0px 0px rgba(0, 0, 0, 0),
    0px 0px 0px rgba(13, 13, 13, 0);
  box-shadow:
    0px 0px 0px rgba(0, 0, 0, 0),
    0px 0px 0px rgba(13, 13, 13, 0);
  background: #cfcfcf;
  border-radius: 0px;
  border: 0px solid #010101;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-box-shadow:
    0px 0px 1.9px #000000,
    0px 0px 0px #0d0d0d;
  box-shadow:
    0px 0px 1.9px #000000,
    0px 0px 0px #0d0d0d;
  border: 0px solid #000000;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -8.5px;
}

input[type="range"]:focus::-webkit-slider-runnable-track {
  background: #314284;
}

input[type="range"]::-moz-range-track {
  width: 100%;
  height: 3px;
  cursor: pointer;
  box-shadow:
    0px 0px 0px rgba(0, 0, 0, 0),
    0px 0px 0px rgba(13, 13, 13, 0);
  background: #314284;
  border-radius: 50%;
  border: 0px solid #010101;
}

input[type="range"]::-moz-range-thumb {
  box-shadow:
    0px 0px 1.9px #000000,
    0px 0px 0px #0d0d0d;
  border: 0px solid #000000;
  height: 20px;
  width: 10px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}

input[type="range"]::-ms-track {
  width: 100%;
  height: 3px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

input[type="range"]::-ms-fill-lower {
  background: #314284;
  border: 0px solid #010101;
  border-radius: 50%;
  box-shadow:
    0px 0px 0px rgba(0, 0, 0, 0),
    0px 0px 0px rgba(13, 13, 13, 0);
}

input[type="range"]::-ms-fill-upper {
  background: #314284;
  border: 0px solid #010101;
  border-radius: 50%;
  box-shadow:
    0px 0px 0px rgba(0, 0, 0, 0),
    0px 0px 0px rgba(13, 13, 13, 0);
}

input[type="range"]::-ms-thumb {
  box-shadow:
    0px 0px 1.9px #000000,
    0px 0px 0px #0d0d0d;
  border: 0px solid #000000;
  height: 20px;
  width: 10px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  height: 3px;
}

input[type="range"]:focus::-ms-fill-lower {
  background: #314284;
}

input[type="range"]:focus::-ms-fill-upper {
  background: #314284;
}

@media (max-width: 1200px) {
  .hypo .form .line {
    height: 60px !important;
  }

  .hypo .form .line label {
    width: 100% !important;
    margin: 0 !important;
  }

  .hypo .form .line input[type="range"] {
    width: calc(100% - 180px) !important;
    margin-left: -10px;
  }

  .hypo .form .line.final label {
    width: 140px !important;
  }

  .hypo .form .line.final p.sum {
    width: initial !important;
    float: right !important;
    text-align: right !important;
    margin-right: 0 !important;
  }

  .hypo .form .line.final p.sum small {
    float: right !important;
  }
}

@media screen and (max-width: 768px) {
  .hypo .form .line input[type="range"] {
    width: calc(100% - 90px) !important;
  }
}


#OpenLayers_Map_2_OpenLayers_Container {
  height: 100%;
  width: 100%;
}

#map #pop_FrameDecorationDiv_0,
#map #pop_FrameDecorationDiv_1,
#map #pop_FrameDecorationDiv_2,
#map #pop_FrameDecorationDiv_3,
#map #pop_FrameDecorationDiv_4,
#map #pop_close {
  display: none !important;
}

#map .markerContent {
  width: 320px !important;
  height: 287px !important;
  background: #fff;
  overflow: hidden;
}

#map .image-wrapper {
  width: 100%;
  height: 160px;
}

#map .image-wrapper .tags {
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 15px;
  text-align: left;
}

#map .image-wrapper .tags span {
  background: #10ad68;
  color: #fff;
  padding: 4px 8px;
  margin-right: 5px;
  font-size: 0.6067em;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.02em;
}

#map .image-wrapper .tags span:last-child {
  margin: 0;
}

#map .text-wrapper {
  padding: 15px;
}

#map .text-wrapper p.title {
  height: 40px;
  overflow: hidden;
  line-height: 20px;
}

#map .text-wrapper p.title a {
  border-color: transparent;
  font-weight: 500;
}

#map .text-wrapper p.title a:hover {
  border: none;
}

#map .text-wrapper p.icons {
  margin: 8px 0;
}

#map .text-wrapper p.icons span {
  margin-right: 15px;
}

#map .text-wrapper p.icons span small {
  font-weight: 500;
  color: #111;
  margin-left: 7px;
  font-size: 0.6259em !important;
  position: relative;
  top: -1px;
}

#map .text-wrapper p.icons span:last-child {
  margin: 0;
}

#map .text-wrapper p.cena {
  font-size: 0.6741em;
}

section#nacenenie {
  padding: 0 0 5rem 0;
  z-index: 2;
}

section#nacenenie .line {
  margin-bottom: 10px;
}

section#nacenenie .button {
  padding: 16px 40px;
  margin-top: 30px;
}

section#nacenenie input[type="text"] {
  font-family: "Lato", sans-serif;
  border: none;
  height: 58px;
  width: 100%;
  padding-left: 20px;
  font-size: 0.8185em;
  border: 1px solid #d0d0d0;
}

@media screen and (max-width: 768px) {
  section#nacenenie input[type="text"] {
    font-size: 1.0833em;
  }
  form fieldset{
    font-size: 1.0833em;
  }
}

section#nacenenie .checkbox {
  display: inline-block;
  margin: 0 20px;
}

@media only screen and (max-width: 768px) {
  section#nacenenie .checkbox {
    margin: 0 20px 20px 20px;
  }
}

section#image-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

section#image-grid .item {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

section#image-grid .item.right .img-wrapper {
  order: 2;
}

section#image-grid .item .content p,
section#image-grid .item .content ul li {
  line-height: 1.65em;
}

@media screen and (max-width: 768px) {
    section#image-grid .item .content p, section#image-grid .item .content ul li {
        font-size: 1.04em;
    }
}

section#image-grid .item .content .hidden{
  display: none;
}

section#image-grid .item.img-sm,
section#image-grid .item.img-md {
  grid-template-columns: repeat(12, 1fr);
}

section#image-grid .item.img-sm .img-wrapper {
  grid-column: span 4;
}

section#image-grid .item.img-sm > div:not(.img-wrapper) {
  grid-column: span 8;
}

section#image-grid .item.img-md .img-wrapper {
  grid-column: span 6;
}

section#image-grid .item.img-md.center .img-wrapper {
  grid-column: 4 / 10;
}

section#image-grid .item.img-md > div:not(.img-wrapper) {
  grid-column: span 6;
}

section#image-grid .item.img-full {
  grid-template-columns: 1fr;
}

section#image-grid .item .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

section#image-grid .item > div:not(.img-wrapper) {
  width: 100%;
  padding: 10px 32px;
}

section#image-grid .item > div.center:not(.img-wrapper) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 768px) {
  section#image-grid .item {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  section#image-grid .item .img-wrapper {
    margin-top: 3rem;
    order: 2;
  }

  section#image-grid .item > div.center:not(.img-wrapper) {
    text-align: center;
  }
}

.links-buttons-wrapper {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem 0;
}

.links-buttons-wrapper a {
  text-decoration: none;
}

.links-buttons-wrapper .item {
  background-color: #1a2a44;
  width: 100%;
  padding: 2rem 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  background-size: cover !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

.links-buttons-wrapper .item:hover {
  transform: scale(1.05);
}

.links-buttons-wrapper .item .color-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.links-buttons-wrapper .item h2 {
  margin: 0;
  z-index: 1;
}

@media screen and (max-width: 998px) {
  .links-buttons-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }

  .links-buttons-wrapper .item {
    padding: 1rem 2rem;
  }
}

.features-list ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 900px;
  margin: auto;
}

.features-list ul li {
  background-color: #293041;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease-in-out;
  line-height: 1.4em;
  position: relative;
}

.features-list ul li:has(i) {
  padding-left: 3rem;
}

.features-list ul li i {
  position: absolute;
  left: 1rem;
  font-size: 1.3rem;
}

.features-list ul li strong {
  color: white;
}

.features-list ul li:hover {
  transform: scale(1.05);
}

.features-list ul :last-child:nth-child(odd) {
  grid-column: span 2;
}

@media screen and (max-width: 768px) {
  .features-list ul {
    grid-template-columns: 1fr;
  }

  .features-list ul :last-child:nth-child(odd) {
    grid-column: auto;
  }
}

#items-grid {
  padding-top: 5rem;
  padding-bottom: 0;
}
#items-grid h2 {
  font-size: 3.3704em;
}
#items-grid .values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
#items-grid .value-item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  text-align: center;
  padding: 2rem 1rem;
}
#items-grid .value-item i {
  font-size: 2.5rem;
}
#items-grid .value-item h3 {
  margin: 1rem 0;
  margin-bottom: 2rem;
}
#items-grid .value-item p {
  margin: 0;
}
@media (max-width: 768px) {
  #items-grid .values-grid {
    grid-template-columns: 1fr;
  }
}

footer .links {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
}

footer .links ul {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin: 0;
}

footer .links ul li a {
  color: black;
  text-decoration: none;
}

@media screen and (max-width: 998px) {
  footer .links p {
    display: none;
  }
  footer .links ul {
    justify-content: space-between;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  footer .links ul {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }
}

#footer-gravitas {
  --footer-logo-bleed: clamp(0.75rem, 2vw, 2rem);
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  line-height: 0;
  margin-top: 4rem;
  margin-bottom: 0;
}

#footer-gravitas svg.logo-word {
  display: block;
  vertical-align: bottom;
  width: calc(100% + (var(--footer-logo-bleed) * 2));
  min-width: calc(100% + (var(--footer-logo-bleed) * 2));
  height: auto;
  margin-inline: calc(var(--footer-logo-bleed) * -1);
  margin-bottom: -0.4em; /* nudges it flush to the page bottom */
}

#footer-gravitas svg path {
  fill: #e2e2e2;
}

#nacenenie-header,
#kontakt-pobocky {
  padding-inline: 2rem;
}

#kontakt-pobocky .ks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

#kontakt-pobocky .ks-grid .ks-item {
  position: relative;
  height: 450px;
  -webkit-perspective: 1200px;
  perspective: 1200px;
}

#kontakt-pobocky .ks-grid .ks-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

#kontakt-pobocky .ks-grid .ks-item .ks-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  gap: 0.75rem;
}

#kontakt-pobocky .ks-grid .ks-front::after,
#kontakt-pobocky .ks-grid .ks-back::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 1) 30%,
    rgba(255, 255, 255, 0.5) 70%,
    transparent 84%
  )
}

#kontakt-pobocky .ks-grid .ks-inner {
  position: relative;
  width: 100%;
  height: 100%;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: -webkit-transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
  transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
  will-change: transform;
}

#kontakt-pobocky .ks-grid .ks-item.hours .ks-inner {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

#kontakt-pobocky .ks-grid .ks-front,
#kontakt-pobocky .ks-grid .ks-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 2rem;
  border: 1px solid #989898;
  overflow: hidden;
  transition: visibility 0s linear 0s;
}

#kontakt-pobocky .ks-grid .ks-back {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  visibility: hidden;
  transition-delay: 0.2s; /* fix: firefox, safari */
  pointer-events: none;
}

#kontakt-pobocky .ks-grid .ks-item.hours .ks-back {
  visibility: visible;
  transition-delay: 0s;
  pointer-events: auto;
}

#kontakt-pobocky .ks-grid .ks-item.hours .ks-front {
  visibility: hidden;
  transition-delay: 0.2s; /* fix: firefox, safari */
  pointer-events: none;
}

/* ---- Back face content ---- */
#kontakt-pobocky .ks-grid .ks-back .ks-back-content {
  position: relative;
  z-index: 2;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  justify-content: space-between;
}

#kontakt-pobocky .ks-grid .ks-back .ks-hours-panel {
  background: linear-gradient(135deg, #314284bf 55%, #31428490);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  color: white;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#kontakt-pobocky .ks-grid .ks-back .ks-hours-panel h3 {
  color: white;
  font-size: 1.7333em;
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 1.25rem;
}

#kontakt-pobocky .ks-grid .ks-back .ks-hours-panel .hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

#kontakt-pobocky .ks-grid .ks-back .ks-hours-panel .hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 1.04em;
  color: white;
  font-weight: 100;
}

#kontakt-pobocky .ks-grid .ks-back .ks-hours-panel .hours-list li .day {
  font-weight: 700;
}

#kontakt-pobocky .ks-grid .ks-back .ks-hours-panel .ks-hours-note {
  font-size: 0.6067em;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
  margin: 0;
  margin-top: 1rem;
  display: flex;
  gap: .5rem;
  text-transform: uppercase;
}

#kontakt-pobocky .ks-grid .ks-back .ks-hours-panel .ks-hours-note i {
  margin-right: 0.35rem;
  font-size: 2rem;
}

#kontakt-pobocky .ks-grid .ks-back .ks-contact-person {
  flex-shrink: 0;
  padding-top: 0.75rem;
  font-size: 0.8667em;
  color: #314284;
  line-height: 1.5;
}

#kontakt-pobocky .ks-grid .ks-back .ks-contact-person strong {
  color: #314284;
  display: block;
  font-weight: 900;
  margin-bottom: 0.1rem;
}

#kontakt-pobocky .ks-heading h1 {
    font-size: 2em;
  font-weight: 400;
}

@media screen and (max-width: 768px) {
    #kontakt-pobocky .ks-heading h1 {
        font-size: 1.8em;
    }
}

#kontakt-pobocky .ks-heading h2 {
  font-size: 3.3704em;
  font-weight: 400;
}

#kontakt-pobocky .ks-grid .ks-item .ks-content h3 {
  margin-bottom: 0;
  font-size: 1.6em;
  color: #000;
}

#kontakt-pobocky .ks-grid .ks-item .ks-content ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#kontakt-pobocky .ks-grid .ks-item .ks-content ul li {
  margin-bottom: .5rem;
  font-size: 1.2em;
  color: #888888;
  font-weight: 400;
}

#kontakt-pobocky .ks-grid .ks-item .ks-content ul li i {
  color: #314284;
  margin-right: 1rem;
  margin-bottom: 0;
width: 24px
}

#kontakt-pobocky .ks-grid .ks-item .ks-content .buttons-wrapper {
  width: 100%;
  display: flex;
  gap: 1rem;
}

#kontakt-pobocky .ks-grid .ks-item .ks-content .buttons-wrapper a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  font-size: 1.5889em;
}

@media screen and (max-width: 768px) {
    #kontakt-pobocky .ks-grid .ks-item {
        height: 400px;
    }
    #kontakt-pobocky .ks-grid .ks-back .ks-back-content {
        padding: 1rem 1.25rem;
    }
    #kontakt-pobocky .ks-grid .ks-back .ks-hours-panel {
        padding: 1rem 1.5rem;
    }
    #kontakt-pobocky .ks-grid .ks-back .ks-hours-panel h3 {
        font-size: 1.1267em;
        margin-bottom: 0.75rem;
    }
    #kontakt-pobocky .ks-grid .ks-back .ks-hours-panel .hours-list li {
        font-size: 0.9533em;
    }
    #kontakt-pobocky .ks-grid .ks-back .ks-hours-panel .ks-hours-note {
        font-size: 0.7367em;
        margin-top: 0.5rem;
    }
    #kontakt-pobocky .ks-grid .ks-back .ks-hours-panel .ks-hours-note i {
        font-size: 1rem;
    }
    #kontakt-pobocky .ks-grid .ks-back .ks-contact-person {
        font-size: 0.8667em;
        padding-top: 0.5rem;
    }
}

@media screen and (max-width: 1320px) {
  #kontakt-pobocky .ks-grid {
    gap: 2rem;
  }
  #kontakt-pobocky .ks-grid .ks-back .ks-hours-panel h3 {
    font-size: 1.7333em;
  }
  #kontakt-pobocky .ks-grid .ks-back .ks-hours-panel .hours-list li {
    font-size: 1.17em;
  }
  #kontakt-pobocky .ks-grid .ks-back .ks-contact-person {
    font-size: 0.8667em;
  }
}
@media screen and (max-width: 998px) {
  #kontakt-pobocky .ks-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  #kontakt-pobocky .ks-grid .ks-item .ks-content .buttons-wrapper a {
  font-size: 0.8667em;
}
}

#gravitas-blog .gb-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  gap: 4rem;
}

@media screen and (max-width: 768px) {
    #gravitas-blog .gb-heading {
        gap: 1rem;
    }
}

#gravitas-blog .gb-heading h2 {
    font-weight: 400;
    margin-bottom: 0;
    font-size: 2.4267em;
}

#gravitas-blog .gb-heading p {
  color: #444;
  line-height: 1.3;
  margin: 0;
    font-size: 1.0833em;
}

@media screen and (max-width: 998px) {
  #gravitas-blog{
    padding-inline: 1.5rem;
  }
  #gravitas-blog .gb-heading{
    text-align: center;
  }
  #gravitas-blog .gb-heading h2 {
    margin-bottom: .5rem;
    font-size: 2.1667em;
}
  #gravitas-blog .gb-heading {
    flex-direction: column;
  }
}

#gravitas-blog .gb-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2rem;
  width: 100%;
}

#gravitas-blog .gb-wrapper .gb-item {
  width: 100%;
  overflow: hidden;
  grid-row: span 4;
  display: grid;
  grid-template-rows: subgrid;
  margin-bottom: 2rem;
}

#gravitas-blog .gb-wrapper .gb-item img {
  width: 100%;
  border-radius: 1rem;
  margin-bottom: 0.75rem;
  height: 200px;
  object-fit: cover;
}

#gravitas-blog .gb-wrapper .gb-item .gb-content {
  display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
}

#gravitas-blog .gb-wrapper .gb-item .gb-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5em;
  font-weight: 400;
  margin-top: 0.5rem;
}

#gravitas-blog .gb-wrapper .gb-item .gb-content p {
  margin-bottom: 1rem;
  font-size: 1.1074em;
}

#gravitas-blog .gb-wrapper .gb-item .gb-content .gb-tag {
  background: #efefef;
  border: 1px solid #dedede;
  color: black;
  padding: 2px 12px;
  width: fit-content;
  border-radius: 1rem;
}

#gravitas-blog .gb-wrapper .gb-item .gb-content .button {
  padding: 0;
  background-color: transparent;
  font-size: 1.1074em;
}

@media screen and (max-width: 998px) {
  #gravitas-blog .gb-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  #gravitas-blog .gb-wrapper {
    grid-template-columns: 1fr;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  min-height: 140px;
  text-decoration: none;
}

.service-item i {
  font-size: 1.7333em;
  color: #314284;
  margin-bottom: 14px;
  transition: color 0.2s ease;
}

.service-item h3 {
  font-family: "Lato", sans-serif;
  font-size: 1.2133em;
  font-weight: 500;
  color: #111;
  margin: 0;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.service-item.active,
.service-item:hover {
  background: #314284;
}

.service-item.active i,
.service-item:hover i,
.service-item.active h3,
.service-item:hover h3 {
  color: #fff;
}

@media (max-width: 998px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

#agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

#agents-grid .agent-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  background: #fff;
  display: flex;
  flex-direction: column;
}

#agents-grid .agent-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  min-height: 500px;
}

#agents-grid .agent-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: top;
}

#agents-grid .agent-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95), transparent);
  pointer-events: none;
}

#agents-grid .agent-info {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#agents-grid .agent-info h3 {
  font-size: 1.4445em;
  font-weight: 600;
  color: #111;
  margin: 0;
}

#agents-grid .agent-role {
  font-size: 1.0592em;
  color: #888;
  margin: 0;
}

#agents-grid .agent-info hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 8px 0;
}

#agents-grid .agent-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.0592em;
  color: #444;
  text-decoration: none;
}

#agents-grid .agent-contact i {
  color: #314284;
  font-size: 0.6741em;
  width: 16px;
}

#agents-grid .agent-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.9149em !important;
}

#agents-grid .agent-buttons a {
  text-align: center;
  flex-grow: 1;
}

@media screen and (max-width: 998px) {
  #agents-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #agents-grid .agent-image {
    min-height: 220px;
  }
}

@media screen and (max-width: 768px) {
  #agents-grid {
    grid-template-columns: 1fr;
  }
}

#agent-detail {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}

#agent-detail .left {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid #e0e0e0;
  box-shadow: 4px 4px 4px #0000001a;
  height: 100%;
  max-height: 80vh;
}

#agent-detail .left .image-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  position: relative;
}

#agent-detail .left .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: top;
}

#agent-detail .left .image-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(0deg, white, transparent);
  height: 40px;
}

#agent-detail .left .quote {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  padding: 20px 24px;
}

#agent-detail .left .quote p {
  font-size: 1.3482em;
  color: #314284;
  margin-top: auto;
  line-height: 1.6;
  width: 100%;
  margin: 0;
  font-style: italic;
}

#agent-detail .right {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

#agent-detail .right .contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#agent-detail .right .contacts a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3963em;
  color: #314284;
  text-decoration: none;
  transition: color 0.2s ease;
}

#agent-detail .right .contacts a:hover {
  color: #314284;
}

#agent-detail .right .contacts a i {
  color: #314284;
  font-size: 1em;
  width: 22px;
}

#agent-detail .right .socials {
  display: flex;
  gap: 10px;
}

#agent-detail .right .socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #7580ac;
  color: #fff;
  font-size: 0.8185em;
  text-decoration: none;
  transition: background 0.2s ease;
}

#agent-detail .right .socials a:hover {
  background: #253370;
}

#agent-detail .right .bio p {
  font-size: 1.1267em;
  color: #444;
  line-height: 1.7;
  margin: 0 0 12px;
}

#agent-detail .right .buttons {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 998px) {
  #agent-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  #agents-grid .agent-info h3{
    font-size: 1.4733em;
  }
  #agents-grid .agent-role{
     font-size: 1.7333em;
  }
  #agents-grid .agent-contact{
    font-size: 1.7333em;
  }
}

@media (max-width: 768px) {
  #agent-detail .right .buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}

.offers-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 2rem;
}

.offers-pagination #prev-page,
.offers-pagination #next-page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  color: #314284;
  font-size: 0.8185em;
  flex-shrink: 0;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.offers-pagination #prev-page:hover,
.offers-pagination #next-page:hover {
  background: #314284;
  border-color: #314284;
  color: #fff;
}

.offers-pagination #next-page {
  background: #314284;
  border-color: #314284;
  color: #fff;
}

.offers-pagination #next-page:hover {
  background: #253370;
  border-color: #253370;
}

.offers-pagination .pages-wrapper {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  padding: 6px 16px;
  height: 44px;
  box-sizing: border-box;
}

.offers-pagination .pages-wrapper a,
.offers-pagination .pages-wrapper span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.6741em;
  color: #444;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.offers-pagination .pages-wrapper span {
  color: #999;
  cursor: default;
  width: 20px;
}

.offers-pagination .pages-wrapper a:hover {
  background: #f0f0f0;
  color: #111;
}

.offers-pagination .pages-wrapper a.active {
  background: #314284;
  color: #fff;
}

@media (max-width: 768px) {
  .offers-pagination .pages-wrapper a:not(:first-child):not(:last-child) {
    display: none;
  }
}

.video-slider-section {
  overflow: hidden;
  padding: 40px 0;
}

.video-slider-track {
  overflow: hidden;
}

.video-slider-inner {
  display: flex;
  align-items: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.video-slide {
  flex-shrink: 0;
  width: 60%;
  margin: 0 2%;
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.5s ease;
  opacity: 0.4;
  transform: scale(0.92);
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
}

.video-slide.active {
  opacity: 1;
  transform: scale(1);
  cursor: default;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #e8e8e8;
  border-radius: 16px;
  overflow: hidden;
  pointer-events: none;
}

.video-slide.active .video-wrapper {
  pointer-events: all;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.video-slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.video-slider-dots .dot.active {
  background: #314284;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .video-slide {
    width: 88%;
    margin: 0 6%;
    opacity: 1;
    transform: scale(1);
  }

  .video-slide:not(.active) {
    display: none;
  }
}

.gravitas-detail.video{
  margin-top: 4rem;
  border-radius: 2rem;
  overflow: hidden;
}


section#faq-accordion {
  padding: 5rem 0;
  background: #f5f5f5;
}

section#faq-accordion .faq-accordion-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

section#faq-accordion .faq-accordion-header .tag {
  color: #314284;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

section#faq-accordion .faq-accordion-header h2 {
  font-size: 48px;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

section#faq-accordion .faq-accordion-list {
  width: 100%;
}

section#faq-accordion details {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

section#faq-accordion details:first-of-type {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

section#faq-accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  padding: 1.5rem 0;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
  color: #000;
  user-select: none;
  -webkit-user-select: none;
}

section#faq-accordion summary::-webkit-details-marker {
  display: none;
}

section#faq-accordion summary::after {
  content: "+";
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #314284;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

section#faq-accordion details[open] > summary::after {
  transform: rotate(45deg) translateX(-1px);
  background: #314284;
  border-color: #314284;
  color: #fff;
}

section#faq-accordion .faq-accordion-body {
  padding: 0 0 1.75rem 0;
}

section#faq-accordion .faq-accordion-body p {
  font-size: 16px;
  color: #4c4e56;
  line-height: 1.75;
  margin: 0;
  max-width: 900px;
}

@media only screen and (max-width: 768px) {
  section#faq-accordion .faq-accordion-header h2 {
	font-size: 1.7333em;
  }

  section#faq-accordion summary {
	font-size: 17px;
  }
}

@media only screen and (max-width: 544px) {
  section#faq-accordion {
	padding: 3rem 0;
  }

  section#faq-accordion .faq-accordion-header h2 {
	font-size: 1.3867em;
  }

  section#faq-accordion summary {
	font-size: 15px;
	padding: 1.25rem 0;
  }

  section#faq-accordion summary::after {
	width: 28px;
	height: 28px;
	font-size: 19px;
  }

  section#faq-accordion .faq-accordion-body p {
	font-size: 15px;
  }
}

section.custom-select-section {
    overflow: visible;
}

.gravitas-filter .advanced .custom-select-native {
    display: none;
}

.gravitas-filter .advanced .custom-select-input {
    cursor: pointer;
    max-width: 100%;
}

.gravitas-filter .advanced .custom-select-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e0ee;
    border-radius: 1rem;
    box-shadow: 0 15px 35px rgba(17, 17, 17, 0.12);
    padding: 0.5rem;
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
    text-align: left;
}

.gravitas-filter .advanced .custom-select-dropdown.open {
    display: block;
}

.gravitas-filter .advanced .custom-select-option {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.gravitas-filter .advanced .custom-select-option:hover,
.gravitas-filter .advanced .custom-select-option.active {
    background: #f5f4fa;
}

.gravitas-filter .advanced .custom-select-option-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0eef8;
    color: #314284;
    font-size: 0.95em;
}

.gravitas-filter .advanced .custom-select-option-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.gravitas-filter .advanced .custom-select-option-name {
    color: #111;
    font-weight: 500;
    font-size: 0.95em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gravitas-filter .advanced .custom-select-option-desc {
    color: #989898;
    font-size: 0.78em;
}

.gravitas-filter .advanced .custom-select-empty {
    padding: 1rem 0.75rem;
    color: #989898;
    font-size: 0.85em;
    text-align: center;
}