@font-face {
  font-family: "Aspekta";
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
  src: url("font/AspektaVF.woff2") format("woff2");
}

.container-large {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 44px;
  box-sizing: border-box;
}

body,
html {
  background-color: #e6e6e6;
}

body,
html,
li,
a,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: "Aspekta", sans-serif !important;
  color: #20388a;
}

h1 {
  font-size: 10vw;
  letter-spacing: -0.047em;
  font-weight: 600;
  line-height: 0.9;
}

h2 {
  font-size: 49px;
  font-weight: 550;
  line-height: 1.15;
}

h3 {
  font-size: 29px;
  font-weight: 600;
  line-height: 1.1;
}

h3.big {
  font-size: 50px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -1px;
}

h4 {
  font-weight: 550;
  font-size: 28px;
  line-height: 1.2;
}

h5 {
  font-weight: 550;
  font-size: 20px;
  line-height: 1.15;
}

p {
  margin-top: 0;
  font-size: 17px;
}

p.lead {
  font-size: 21px;
  line-height: 1.3;
}

.hero p {
  max-width: 850px;
  margin-top: 44px;
  font-weight: 450;
  font-size: 28px;
}

.white h1,
.white h2,
.white h3,
.white h4,
.white h5,
.white h6,
.white p {
  color: white;
}

.toptitle p {
  opacity: 0.54;
  border-bottom: 1px solid;
  padding-bottom: 8px;
  margin-bottom: 34px;
}

a:hover {
  text-decoration: none;
}

a.btn {
  display: inline-flex;
  justify-content: space-between;
  text-transform: none;
  font-size: 16px !important;
  font-weight: 550 !important;
  border-radius: 35px !important;
  padding: 12px 22px;
  height: auto;
  width: auto;
  max-width: max-content;
  line-height: 1;
  min-width: 180px;
  align-items: center;
  margin-top: 26px;
}

a.btn-outline {
  border: 1px solid #20388a;
  background: transparent;
  color: #20388a;
  transition: all 0.3s ease;
}

.btn-with-icon svg {
  width: 25px;
  margin-left: 22px;
}

.white .btn-outline {
  border-color: white;
  color: white;
}

a.btn:hover {
  background-color: #d3ad48;
}

.btn-row a.btn {
  margin-right: 12px;
}

.section-divider {
  padding-top: 124px;
  width: 100%;
}

.medium-section-divider {
  padding-top: 68px;
  width: 100%;
}

.small-section-divider {
  padding-top: 34px;
  width: 100%;
}

.blue-bg {
  background-color: #20388a;
}

.noborder {
  border: none !important;
}

#masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
}

#ct-menu {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-left: 0;
  margin-bottom: 0;
}

#ct-menu li a {
  color: white;
  font-weight: 550;
  padding: 0 10px;
  transition: all 0.27s ease-in-out;
}

#ct-menu li a:hover {
  color: #d3ad48 !important;
}

#masthead .social {
  border-left: 1px solid white;
  padding-left: 16px;
  margin-left: 16px;
  display: flex;
  gap: 8px;
}

#masthead .social svg {
  width: 26px;
}

#masthead .nav-right-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#header-wrap {
  position: fixed;
  width: 100%;
  transition: all 0.3s ease-in-out;
  z-index: 9999;
}

#header-wrap.scrolled {
  background-color: white;
}

#header-wrap.scrolled #ct-menu li a {
  color: #20388a;
}

#header-wrap.scrolled .social {
  border-color: #20388a;
}

#header-wrap.scrolled .social svg g {
  fill: #20388a;
}

#hero {
  min-height: clamp(750px, 75vh, 750px);
  padding-top: clamp(140px, 11vh, 11vh);
  padding-bottom: 5vh;
  box-sizing: border-box;
  background-image: url(/wp-content/themes/italcase/images/hero1.jpg);
  background-size: cover;
  background-attachment: fixed;
  border-bottom-right-radius: 180px;
}

@media (max-width: 780px) {
  #hero {
    background-attachment: scroll;
  }
}

#hero h1 {
  margin-bottom: 24px;
}

#hero p {
  font-size: 21px;
  max-width: 700px;
  line-height: 1.3;
}

#hero .btn-outline {
  font-size: 19px !important;
  opacity: 0;
}

#intro h2 span.underline {
  position: relative;
  z-index: 1;
}

#intro h2 span.underline .bg {
  content: "";
  position: absolute;
  bottom: 15%;
  left: 0;
  width: 0;
  height: 8px;
  background-color: #d3ad48;
  z-index: -1;
  transform: rotate(-1.3deg);
}

#cosa-facciamo {
  position: relative;
}

.cosa-facciamo-image img {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 45%;
}

.cosa-facciamo-inside {
}

.cosa-facciamo-inside > div {
  padding-top: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid #20388a;
  transition: all 0.27s ease-in-out;
  opacity: 0;
}

.cosa-facciamo-inside > div:hover {
  background-color: #d3ad48;
  padding-left: 24px;
}

.cosa-facciamo-inside h4 {
  margin: 0;
  max-width: 950px;
}

.cosa-facciamo-inside .number {
  font-size: 21px;
  line-height: 34px;
  margin-right: 16px;
}

.home-cerca > div {
  background-color: #20388a;
  border-radius: 28px;
  margin-top: -100px;
  padding: 44px;
  position: relative;
}

.home-vendi > div,
.home-valuta > div {
  background-color: transparent;
  border: 2px solid #20388a;
  border-radius: 28px;
  margin-top: 24px;
  padding: 44px;
  position: relative;
}

.home-cerca > div,
.home-vendi > div,
.home-valuta > div {
  transition: all 0.3s ease-in-out;
}

.home-cerca > div:hover,
.home-vendi > div:hover,
.home-valuta > div:hover {
  transform: scale(1.02);
}

.home-cerca > div > div.d-flex {
  border-bottom: 1px solid rgb(255 255 255 / 26%);
  margin-bottom: 24px;
  padding-bottom: 16px;
}

.home-vendi > div.d-flex,
.home-valuta > div.d-flex {
  margin-bottom: 0;
  height: 100%;
}

.home-cerca h3,
.home-vendi h3,
.home-valuta h3 {
  margin-bottom: 0;
}

.home-cerca svg {
  width: 60px;
  color: white;
}

.home-vendi svg,
.home-valuta svg {
  width: 60px;
}

.home-vendi .w-100,
.home-valuta .w-100 {
  border-top: 1px solid #20388a;
  margin-top: 16px;
  padding-top: 24px;
}

#servizi a:hover {
  text-decoration: none;
}

#featured-carousel .uk-slider-items > div {
  width: 350px;
}

.card {
  background-color: white;
  overflow: hidden;
  border-radius: 8px;
}

#featured-carousel .card {
  height: 100%;
}

#featured-carousel .card h5 {
  border-bottom: 1px solid rgb(32 56 138 / 19%);
  padding-bottom: 12px;
  min-height: 59px;
}

#featured-carousel .card .caption p {
  font-size: 13px;
  opacity: 0.64;
  display: flex;
  align-items: center;
}

#featured-carousel .card .price h3 {
  margin: 0;
}

#featured-carousel .card .indirizzo {
  min-height: 39px;
}

#featured-carousel .card svg {
  width: 24px;
  color: #20388a;
  margin-right: 4px;
}

#featured-carousel .card svg:not(:first-child) {
  margin-left: 12px;
}

#featured-carousel .card strong {
  position: relative;
  top: 1px;
}

#featured-carousel .card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.carousel .navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 44px;
}

.carousel .navigation div {
  display: flex;
  align-items: center;
}

.carousel .navigation .btn {
  margin-top: 0;
}

.carousel .navigation a:last-child {
  margin-left: 12px;
}

.carousel .navigation .uk-icon {
  border-radius: 50%;
  border: 1px solid #20388a;
  color: #20388a;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-box-row {
  border-top: 1px solid rgba(255, 255, 255, 0.54);
  border-bottom: 1px solid rgba(255, 255, 255, 0.54);
}

.grid-box {
  padding-left: 80px;
  padding-right: 80px;
  padding-top: 80px;
  padding-bottom: 80px;
  border-right: 1px solid rgba(255, 255, 255, 0.54);
  border-bottom: 1px solid rgba(255, 255, 255, 0.54);
  display: flex;
  align-items: center;
  flex-direction: column;
  transition: all 0.3s ease-in-out;
}

.grid-box:hover {
  background-color: #d3ad48;
}

.grid-box.border-right {
  border-right: 1px solid rgba(255, 255, 255, 0.54) !important;
}

.grid-box p {
  max-width: 470px;
}

.grid-box > div {
}

.big-banner svg,
.single-listing-hero svg {
  width: 45px;
  background-color: white;
  border-radius: 50%;
  padding: 10px;
  margin-left: 44px;
  position: relative;
  top: 3px;
}

.big-banner h2,
.big-banner h3,
.big-banner h4 {
  margin: 0;
}

.storia-box {
  padding: 56px 40px;
  background-color: #20388a;
  border-radius: 10px;
  color: white;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  opacity: 0;
}

.storia-box h2 {
  font-weight: 700;
  margin-bottom: 180px;
  font-size: 55px;
}

.storia-box .bg {
  color: transparent;
  -webkit-text-stroke: 1px white;
  font-size: 180px;
  font-weight: 800;
  position: absolute;
  left: -5%;
  top: calc(-5% - 56px);
}

#storia .col-lg-6:nth-child(4) > div {
  background-color: #2a45a2;
  position: relative;
  top: 34px;
}

#storia .col-lg-6:nth-child(5) > div {
  background-color: #3c5dcd;
}

#storia .col-lg-6:nth-child(6) > div {
  background-color: #4a6ee9;
  position: relative;
  top: 34px;
}

.offset-right {
  padding-left: 44px;
}
.carousel.offset-right .navigation {
  padding-right: 44px;
}
.grid-box {
  padding-left: 44px;
  padding-right: 44px;
}

#news {
  background-color: #20398a14;
  overflow: hidden;
}

#home-news-carousel .caption .data {
  font-size: 15px;
  opacity: 0.74;
}

#home-news-carousel .caption h4 {
  font-weight: 500;
  font-size: 40px;
  line-height: 1.17;
  margin: 0;
}

#home-news-carousel .news-box-left > a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

#home-news-carousel .news-box-right img {
  max-width: 65%;
  margin-left: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

#news .bottom {
  padding-top: 34px;
  padding-bottom: 34px;
}

#news .bottom a.btn {
  margin: 0;
}

#news .fullwidth-separator {
  background-color: #20388a !important;
}

#news-single .card {
  height: 100%;
}

#news-single .card-container {
  margin-bottom: 24px;
}

#news-single .card h5 {
  border-bottom: 1px solid;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

#news-single .card a > img {
  max-height: 350px;
  object-fit: cover;
}

#news-single .card .excerpt p {
  opacity: 0.74;
  font-size: 14px;
}

#news-single .card .price svg {
  width: 30px;
  color: #20388a;
}

#news-single .card .price h3 {
  margin: 0;
  font-size: 22px;
}

#servizi-hero,
#ricerca-hero,
.single-listing-hero {
  padding-top: 11vh;
  overflow: hidden;
}

#servizi-hero h4 {
  margin-top: 0;
}

#servizi-hero h1,
#ricerca-hero h1 {
  font-size: 6.7vw;
}

.servizi-hero-top {
  display: flex;
  align-items: baseline;
  padding-bottom: 0 !important;
}

.servizi-hero-bottom {
  display: flex;
  align-items: baseline;
}

#servizi-hero .arrows,
#ricerca-hero .arrows {
  flex-grow: 1;
  justify-content: flex-end;
  align-items: center;
  padding-right: 34px;
  bottom: 0.3vw;
}

#servizi-hero .arrows img,
#ricerca-hero .arrows img {
  height: 75px;
}

#servizi-hero h1,
#ricerca-hero h1 {
  margin: 0;
}

#ricerca-hero {
  overflow: hidden;
}

#ricerca-hero h1 {
  display: flex;
}

#ricerca-hero h1 span {
  padding-left: 1vw;
  padding-right: 1vw;
}

#ricerca-hero .toptitle p {
  margin-bottom: 12px;
}

#servizi-hero svg,
#ricerca-hero svg {
  color: white;
}

.servizi-hero-top,
.servizi-hero-bottom {
  padding-top: 34px;
  padding-bottom: 44px;
}

#servizi-hero .servizi-hero-bottom .arrows,
#ricerca-hero .servizi-hero-bottom .arrows {
  justify-content: flex-start;
  padding-left: 34px;
  padding-right: 0;
}

#ricerca-hero .servizi-hero-bottom .arrows {
  align-items: flex-end;
  margin-bottom: 7px;
}

#advanced_search input.btn {
  display: inline-flex;
  justify-content: space-between;
  text-transform: none;
  font-size: 16px !important;
  border-radius: 35px !important;
  padding: 14px 22px;
  height: auto;
  width: auto;
  max-width: max-content;
  line-height: 1;
  min-width: 180px;
  align-items: center;
  margin-top: 26px;
  font-family: "Aspekta", sans-serif;
  background-color: transparent;
}

#servizi-hero h1 span,
#ricerca-hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1px white;
}

#servizi-hero .p-6,
#ricerca-hero .p-6 {
  padding-left: 44px;
  padding-right: 44px;
}

#servizi-hero .border-right,
#ricerca-hero .border-right {
  border-right: 1px solid white;
}

.servizi-experience {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-direction: column;
  margin-top: 260px;
  margin-bottom: 220px;
}

.servizi-experience h4 {
  max-width: 750px;
}

.servizi-experience .bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  font-size: 14vw;
  font-weight: 800;
  height: 0;
  line-height: 0;
  opacity: 0.24;
}

#team .uk-slider-items > div {
  width: 30%;
}

#team .uk-slider-items img {
  border-radius: 10px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.servizi-cerca > div {
  margin-top: 0;
}

#cosa-facciamo-hero {
  padding-top: 11vh;
}

#cosa-facciamo-hero h1 {
  font-size: 15vw;
  letter-spacing: -0.035em;
}

.fullwidth-separator {
  height: 1px;
  width: calc(100vw + 110px);
  background-color: white;
  margin-left: -55px;
}

#vendi .cosa-facciamo-inside h4 {
  max-width: 750px;
}

.wpcf7,
.wpcf7 form {
  width: 100%;
  max-width: 550px;
}

.wpcf7 form label,
.wpcf7 form .wpcf7-form-control-wrap {
  width: 100%;
}

.wpcf7 form .wpcf7-form-control-wrap {
  display: inline-block;
}

.wpcf7 form input:not([type="submit"]),
.wpcf7 form textarea {
  border-radius: 4px;
  padding: 12px 22px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  font-family: "Aspekta", sans-serif !important;
  color: #20388a;
  outline: none;
  border: 1px solid rgb(255 255 255 / 57%);
  background-color: rgb(255 255 255 / 9%);
  font-size: 15px !important;
}

.white .wpcf7 form input:not([type="submit"]),
.white .wpcf7 form textarea,
.white .wpcf7 form.sent .wpcf7-response-output {
  color: white;
}

.wpcf7 label {
  text-transform: uppercase;
  font-size: 12px;
  opacity: 0.84;
  margin-bottom: 8px;
}

.wpcf7 textarea {
  height: 220px;
}

.wpcf7 input[type="submit"] {
  display: block;
  justify-content: space-between;
  text-transform: none;
  font-size: 15px !important;
  border-radius: 35px !important;
  padding: 15px 32px;
  height: auto;
  width: auto;
  max-width: max-content;
  line-height: 1;
  min-width: 180px;
  align-items: center;
  color: white;
  background: transparent;
  box-shadow: none;
  border: 1px solid rgb(255 255 255 / 57%);
  margin: 32px auto 0 auto;
}

.wpcf7 ::placeholder {
  color: rgb(255 255 255 / 57%);
  font-size: 15px;
}

.form-on-white .wpcf7 form input:not([type="submit"]),
.form-on-white .wpcf7 form textarea {
  border-color: #20388a;
  color: #20388a;
}

.form-on-white .wpcf7 ::placeholder {
  color: #20388a;
}

.form-on-white .wpcf7 input[type="submit"] {
  border-color: #20388a;
  color: #20388a;
}

.wpcf7-acceptance > span {
  margin: 0;
}

.wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
}

.wpcf7-acceptance label input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
  position: relative;
  top: 2px;
}

.white .wpcf7-acceptance label a {
  color: white !important;
}

#news-hero:not(.single #news-hero),
#contatti-hero {
  padding-top: 11vh;
  padding-bottom: 160px;
  margin-bottom: -80px;
}

#news-hero h1 {
  margin-top: 0;
  font-size: 6.7vw;
  line-height: 1;
}

#news-grid {
  background: linear-gradient(to bottom, #20388a 280px, #e6e6e6 280px);
}

#news-grid .card {
  height: 100%;
}

#news-grid .card-container {
  margin-bottom: 24px;
}

#news-grid .card h5 {
  border-bottom: 1px solid rgb(32 56 138 / 19%);
  padding-bottom: 12px;
  min-height: 59px;
}

#news-grid .card .caption p {
  font-size: 13px;
  opacity: 0.64;
}

#news-grid .card .price h3 {
  margin: 0;
}

#news-grid .card .indirizzo {
  min-height: 39px;
}

#news-grid .card svg {
  width: 30px;
  color: #20388a;
}

#news-grid .card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.single-news-hero h1 {
  font-size: 80px;
  font-weight: 600;
}

#torna-alle-news {
  border-bottom: 1px solid white;
}

.badge p,
.single-listing-hero h6.snipe > span {
  margin: 0;
  margin-bottom: 16px;
  border: 1px solid;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 400;
  border-radius: 35px;
  padding: 12px 8px;
  min-width: 160px;
}

#cosa-facciamo-hero {
  overflow: hidden;
}

form#advanced_search {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  max-width: 1100px;
}

form#advanced_search .altezza {
  padding: 8px 12px;
  border: 1px solid white;
}

form#advanced_search .altezza > label,
form#advanced_search .altezza .customSelect {
  display: none !important;
}

form#advanced_search .altezza select {
  text-transform: uppercase;
  font-size: 13px !important;
  padding: 0;
  height: auto !important;
  position: relative !important;
  opacity: 1 !important;
  width: fit-content !important;
  background-color: transparent !important;
  border: none !important;
  color: white !important;
}

form#advanced_search .altezza input[type="text"] {
  text-transform: uppercase;
  font-size: 14px !important;
  padding: 0;
  height: auto !important;
  position: relative !important;
  opacity: 1 !important;
  width: fit-content !important;
  background-color: transparent !important;
  border: none !important;
  color: white !important;
  min-width: 200px;
}

form#advanced_search .altezza input[type="text"]::placeholder {
  color: white !important;
  opacity: 1 !important;
}

form#advanced_search .altezza select option {
  color: white !important;
  background-color: #20388a !important;
}

#listings-results .listing {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #20388a;
  padding-top: 44px;
  padding-bottom: 44px;
}

#listings-results .listing.first {
  margin-top: 44px;
  border-top: 1px solid #20388a;
}

#listings-results .sortby .ct_orderby {
  display: inline-block;
  border: 1px solid #20388a;
  border-radius: 35px;
  padding: 4px 16px;
  font-size: 14px;
}

#listings-results .listing figure {
  width: 60%;
  margin-bottom: 0;
}

#listings-results .listing figure a {
  height: 100%;
  display: block;
  border-radius: 10px;
  overflow: hidden;
}

#listings-results .listing figure a img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}

#listings-results .listing .grid-listing-info {
  width: 40%;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#listings-results .listing .grid-listing-info > div {
  width: 450px;
  max-width: 90%;
}

#listings-results .listing .grid-listing-info .snipe {
  display: inline-block;
  border: 1px solid;
  border-radius: 35px;
  padding: 8px 24px;
  opacity: 0.74;
  text-transform: uppercase;
  font-size: 11px;
}

#listings-results .listing .grid-listing-info h5 {
  margin-top: 8px;
  border-bottom: 1px solid;
  padding-bottom: 12px;
  margin-bottom: 8px;
}

#listings-results .listing .grid-listing-info p.location {
  font-size: 15px;
  opacity: 0.74;
}

#listings-results .listing .grid-listing-info .excerpt,
#listings-results .listing .grid-listing-info .excerpt p {
  opacity: 0.74;
  font-size: 14px;
}

#listings-results .listing .grid-listing-info .price {
  font-size: 28px;
  font-weight: 600;
}

#listings-results .listing .grid-listing-info strong {
  position: relative;
  top: 2px;
  font-size: 14px;
  margin-left: 6px;
  opacity: 0.74;
}

#listings-results .listing .grid-listing-info .camere svg:not(:first-child) {
  margin-left: 12px;
}

#listings-results .listing .grid-listing-info svg {
  opacity: 0.74;
}

.single-listing-hero {
  overflow: hidden;
}

.single-listing-hero h6.snipe {
  margin: 0;
  margin-bottom: 24px;
}

.single-listing-hero h6.snipe > span {
  display: inline-block;
  border: 1px solid white;
  text-align: center;
  margin: 0;
}

.single-listing-hero h2 {
  margin-top: 0;
}

.single-listing-hero h4 {
  margin: 0;
}

.single-listing-hero .bottom {
  padding-top: 24px;
  padding-bottom: 24px;
}

.single-listing-main .uk-slider-items > div img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}

.single-listing-main .uk-thumbnav-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}

.single-listing-main .uk-thumbnav {
  width: fit-content;
  display: flex;
  flex-wrap: nowrap;
  padding-top: 16px;
  padding-bottom: 8px;
}

.single-listing-main .uk-thumbnav li {
  width: 140px;
  height: 80px;
  overflow: hidden;
}

.single-listing-main .uk-thumbnav li a {
  border-radius: 6px;
  overflow: hidden;
  display: inline-block;
  width: 100%;
  height: 100%;
}

.single-listing-main .uk-thumbnav li img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.single-listing-main .uk-thumbnav-container::-webkit-scrollbar {
  height: 8px;
}

.single-listing-main .uk-thumbnav-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.single-listing-main .uk-thumbnav-container::-webkit-scrollbar-thumb {
  background: #20388a;
  border-radius: 4px;
}

.single-listing-main .uk-thumbnav-container::-webkit-scrollbar-thumb:hover {
  background: #1a2f73;
}

.listings-template-default .uk-lightbox-close {
  position: relative;
  top: 80px;
  right: 24px;
}

.info hr {
  border-top: 1px solid #1f3889;
}

.info p {
  margin-bottom: 0;
}

.info ul {
  padding: 0;
  margin: 0;
}

.info ul li.row {
  display: flex;
  flex-wrap: nowrap;
  margin: 0;
}

.info ul li.row > span {
  width: fit-content;
  padding: 0;
}

.info ul li.row > span.left {
  padding-right: 6px;
  position: relative;
  display: inline-block;
}

.info ul li.row > span.left:after {
  content: ": ";
  position: relative;
  right: 0;
}

.info ul li.row > span.right {
  font-weight: 600;
}

.info p,
.info li span {
  text-transform: uppercase;
  font-size: 14px;
  opacity: 0.74;
  margin-bottom: 4px;
}

.info p svg {
  margin-right: 6px;
  width: 20px;
}

.info .rooms p strong {
  position: relative;
  top: 2px;
}

.info .rooms {
  margin-bottom: 6px;
}

#box-contatti,
#box-mutuo {
  padding: 40px;
  border-radius: 4px;
  border-top-right-radius: 60px;
}

#box-mutuo {
  margin-top: 24px;
}

#box-contatti a.btn {
  width: 100%;
  max-width: 100%;
  justify-content: center;
}

#box-mutuo input[type="text"] {
  border-radius: 4px;
  padding: 12px 22px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  font-family: "Aspekta", sans-serif !important;
  color: #fff;
  outline: none;
  border: 1px solid rgb(255 255 255 / 57%);
  background-color: rgb(255 255 255 / 9%);
  font-size: 15px !important;
  margin-bottom: 20px;
}

#box-mutuo input[type="submit"],
#box-mutuo input.btn {
  text-transform: none;
  font-size: 15px !important;
  border-radius: 35px !important;
  padding: 15px 32px;
  height: auto;
  width: auto;
  max-width: max-content;
  line-height: 1;
  min-width: 110px;
  align-items: center;
  color: white;
  background: transparent;
  box-shadow: none;
  border: 1px solid rgb(255 255 255 / 57%);
  font-family: "Aspekta", sans-serif !important;
}

#box-mutuo input#mcPayment {
  margin-top: 34px;
}

.page-id-3163 #single-header {
  padding-top: 200px;
  background: transparent !important;
}

#contatti-hero {
  padding-bottom: 0;
}

#contatti-hero .border-tb {
  border-top: 1px solid white;
  border-bottom: 1px solid white;
}

#contatti-hero h1 {
  padding-top: 54px;
  padding-bottom: 64px;
  margin-bottom: 0;
  padding-left: 22px;
  padding-right: 22px;
  text-align: center;
}

#contatti-hero .grid-row > div {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid white;
  padding: 34px 0;
}

#contatti-hero h5,
#contatti-hero h3,
#contatti-hero h2,
#contatti-hero h4 {
  margin: 0;
}

#contatti-hero .grid-row .col-md-6 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#contatti-hero .grid-row .col-md-6 > div {
  padding-top: 34px;
  padding-bottom: 34px;
  padding-left: 22px;
  padding-right: 22px;
}

#contatti-hero .grid-row .contatti-grid-right {
  border-left: 1px solid white;
  padding-top: 0;
  padding-bottom: 0;
}

#contatti-hero .grid-row .contatti-grid-right > div {
  width: 100%;
  text-align: center;
  height: 50%;
  display: flex;
  justify-content: center;
}

#contatti-hero .grid-row .contatti-grid-right > div a {
  display: flex;
  align-items: center;
  justify-content: center;
}

#contatti-hero .grid-row .contatti-grid-right > div:first-child {
  border-bottom: 1px solid white;
}

#contatti-hero .orari {
  border-bottom: 1px solid white;
}

#contatti-hero .orari > div {
  padding-bottom: 32px;
  padding-top: 32px;
  display: flex;
  gap: 24px;
  justify-content: center;
}

.page-template-template-contact .home-cerca > div {
  margin-top: 0;
}

.page-id-47838 h1,
.page-id-47831 h1 {
  font-size: 8vw;
  padding-top: 140px;
}

#footer {
  padding-top: 44px;
  padding-bottom: 6px;
}

.home #footer {
  margin-top: 0;
}

.footer-left {
  width: fit-content;
}

.footer-right {
  flex-grow: 1;
  width: fit-content;
  display: flex;
  justify-content: flex-end;
  gap: 34px;
}

#footer p,
#footer a {
  font-size: 16px;
  margin-bottom: 12px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid white;
  padding-top: 16px;
  margin-top: 24px;
}

.nav-right-container-mobile {
  display: none !important;
}

@media (min-width: 1919px) {
  .offset-right {
    padding-left: calc((100vw - 1920px) / 2 + 34px);
  }
  .carousel.offset-right .navigation {
    padding-right: calc((100vw - 1920px) / 2 + 34px);
  }
}

@media (max-width: 1200px) {
  h2 {
    font-size: 41px;
  }
  h3 {
    font-size: 25px;
  }
  h4 {
    font-size: 25px;
  }
  .cosa-facciamo-image img {
    display: none;
  }
  .grid-box h2 {
    font-size: 35px;
  }
  #home-news-carousel .caption h4 {
    font-size: 31px;
  }
  #servizi-hero .arrows img,
  #ricerca-hero .arrows img {
    height: 36px;
  }
  .servizi-experience {
    margin-top: 180px;
    margin-bottom: 140px;
  }
  .section-divider {
    padding-top: 80px;
  }
  #listings-results .listing .grid-listing-info,
  #listings-results .listing figure {
    width: 100%;
  }
  .single-listing-main .right:not(.info .right) {
    margin-top: 32px;
  }
  #hero {
    background-attachment: scroll;
  }
  .hero p {
    font-size: 23px;
    margin-top: 34px;
  }
  .nav-right-container-desktop {
    display: none !important;
  }
  .nav-right-container-mobile {
    display: flex !important;
  }
  #header-wrap
    .nav-right-container-mobile
    svg:not(#header-wrap.scrolled .nav-right-container-mobile svg) {
    stroke: white;
  }
  .navbar-toggler-icon {
    width: 30px;
    height: 30px;
  }
  .navbar-collapse {
    position: absolute;
    top: 64px;
    background-color: white;
    width: 100%;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 400px;
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .nav-right-container-mobile #ct-menu {
    flex-direction: column;
    justify-content: center;
  }
  .nav-right-container-mobile #ct-menu li a {
    font-size: 21px;
    padding-top: 4px;
    padding-bottom: 4px;
    display: inline-block;
    font-weight: 550;
    color: #20388a;
  }
  .nav-right-container-mobile .social {
    padding-left: 0 !important;
    margin-left: 0 !important;
    border-top: 1px solid;
    border-left: 0 !important;
    padding-top: 16px;
    margin-top: 16px;
    svg {
      stroke: #20388a !important;
      * {
        fill: #20388a !important;
      }
    }
  }
  #team .uk-slider-items > div {
    width: 40%;
  }
}

@media (max-width: 980px) {
  .grid-box {
    border: none;
  }
  #storia .col-lg-6:nth-child(4) > div,
  #storia .col-lg-6:nth-child(6) > div {
    top: 0;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 75px;
  }
  h2 {
    font-size: 30px;
  }
  h4 {
    font-size: 23px;
  }
  .cosa-facciamo-inside > div {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  h3.big {
    font-size: 42px;
  }
  .home-cerca > div {
    padding: 32px;
  }
  .home-cerca svg,
  .home-vendi svg,
  .home-valuta svg {
    width: 40px;
  }
  .home-vendi {
    margin-bottom: 24px;
  }
  #news .uk-slider-items > .row {
    flex-direction: column-reverse;
  }
  #home-news-carousel .news-box-right img {
    max-width: 100%;
    margin-bottom: 24px;
  }
  #home-news-carousel .news-box-left {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  #servizi-hero .border-right,
  #ricerca-hero .border-right {
    border: none;
  }
  .grid-box {
    align-items: flex-start;
    padding-top: 34px;
    padding-bottom: 34px;
  }
  #contatti-hero .grid-row .contatti-grid-right {
    border-left: none;
    border-right: none;
  }
  .footer-right {
    width: 100%;
    justify-content: flex-start;
    margin-top: 34px;
  }
  #masthead > a > img {
    max-width: 160px;
  }
  .container-large {
    padding: 0 34px;
  }
  .servizi-experience {
    margin-top: 120px;
    margin-bottom: 80px;
  }
}

@media (min-width: 768px) {
  .grid-box:nth-child(3) {
    border-right: none;
  }
}

@media (max-width: 500px) {
  h3.big {
    font-size: 37px;
  }
  #hero .btn-outline {
    font-size: 17px !important;
  }
  #hero .btn-row,
  .carousel .navigation {
    flex-wrap: wrap;
  }
  .carousel .navigation {
    gap: 12px;
    flex-direction: column-reverse;
    align-items: flex-start;
  }
  .big-banner svg,
  .single-listing-hero svg {
    margin-left: 24px;
  }
  #servizi-hero .p-6,
  #ricerca-hero .p-6 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #ricerca-hero h1 {
    flex-wrap: wrap;
  }
  #listings-results .listing .grid-listing-info {
    padding: 24px 0;
  }
  .servizi-hero-bottom {
  }
  #team .uk-slider-items > div {
    width: 55%;
  }
  .cosa-facciamo-inside > div {
    align-items: flex-start !important;
  }
  .cosa-facciamo-inside .number {
    line-height: 27px;
  }
  #servizi-hero h1,
  #ricerca-hero h1 {
    font-size: 39px;
  }
  #servizi-hero .arrows,
  #ricerca-hero .arrows {
    display: none !important;
  }
  .servizi-hero-bottom {
    padding-top: 8px;
  }
  .servizi-hero-top {
    padding-left: 0;
  }
  .servizi-experience h4 {
    margin-top: 0;
  }
  #contatti-hero .orari > div {
    flex-wrap: wrap;
  }
  #contatti-hero h2 {
    text-align: center;
  }
}
