@media (max-width: 768px) {
  .columns.is-reversed-mobile {
    flex-direction: column-reverse;
    display: flex;
  }
}

@media screen and (min-width: 1700px) {
  .container {
    max-width: 1536px;
    width: 1536px;
  }

  .navbar > .container {
    max-width: 1536px;
  }
}

@media screen and (min-width: 1472px) {
  .navbar-item,
  .navbar-link {
    font-size: 16px;
  }

  .navbar .navbar-item {
    margin: 0.2rem 0.75rem;
  }

  .navbar-submenu-title {
    margin: 0.2rem 0.75rem 0.8rem !important;
  }
}

@media screen and (max-width: 1470px) {
  .max-height-80-touch {
    height: calc(85% - 225px) !important;
  }

  #coupon-discount-block {
    font-size: 16px;
  }
}

@media screen and (min-width: 1280px) and (max-width: 1472px) {
  footer > .columns {
    max-width: 100%;
  }

  .project-box .img-box {
    height: calc(100% - 185px);
  }
  .navbar > .container {
    max-width: 1152px;
    width: 1152px;
  }
}
@media screen and (min-width: 1088px) and (max-width: 1279px) {
  .is-full-img .box-img.bordered-img {
    width: 100% !important;
  }
}

@media screen and (min-width: 1088px) and (max-width: 1472px) {
  .navbar .navbar-item {
    margin: 0.2rem 0.4rem;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1472px) {
  .category-box.card {
    padding: 1rem;
  }

  .post-list-item .title {
    font-size: 1.2rem;
  }
}

@media screen and (min-width: 1280px) {
  .is-medium.is-full-img + .is-medium.is-full-img {
    margin-top: -6rem;
  }
}

@media screen and (min-width: 1408px) {
  .title {
    font-size: 62px;
  }
}

@media screen and (max-width: 1279px) {
  #home-slider .slider {
    height: auto;
  }

  #home-slider .slider-container {
    height: auto;
  }

  #home-slider .slider-navigation-next {
    right: 0;
  }

  #home-slider .slider-navigation-previous {
    left: 0;
  }

  #home-slider .slider-navigation-next,
  #home-slider .slider-navigation-previous {
    width: 35px;
    height: 35px;
    top: 60%;
    background: white;
    border: white;
  }

  .is-full-img .box-img {
    position: relative !important;
    width: calc(100% + 3rem) !important;
    margin: 0 0 2rem -1.5rem !important;
    top: 0 !important;
    /* height: 350px !important; */
    height: auto !important;
  }

  .is-full-img .has-figcaption {
    margin-bottom: 5rem !important;
  }

  .has-line::after,
  .has-line::before {
    left: 50% !important;
  }

  .promo-card-text {
    width: 100%;
    height: 120px;
  }

  .promo-card:hover > .promo-card-text {
    height: 145px;
  }

  #coupon-discount-block {
    transform: none;
  }

  #coupon-image {
    display: none;
  }

  .coupon-section:first-child {
    margin-top: 0;
  }

  .box-content.paddingY-large {
    padding-top: 0;
    padding-bottom: 0;
  }
}

@media screen and (min-width: 1088px) {
  .container > .navbar .navbar-menu,
  .navbar > .container .navbar-menu {
    margin-right: -0.4rem;
  }

  .section.is-medium {
    padding: 6rem 1.5rem;
  }

  .topbar .navbar-item:last-of-type {
    padding-right: 0;
  }

  .topbar.is-fixed-top .icon {
    display: none;
  }

  .topbar.is-fixed-top .navbar-item {
    padding: 0.4rem;
  }

  .topbar .navbar-item:last-of-type {
    padding-right: 0;
  }

  .topbar.is-fixed-top .navbar-item a {
    padding: 0.35rem 0.5rem;
  }

  .topbar.is-fixed-top .navbar-item:last-of-type a {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    margin-top: 0.15rem;
  }

  .navbar.is-fixed-top {
    top: 46.9px;
  }

  .topbar .navbar-item:first-child {
    margin-right: auto;
    margin-left: -1.55rem;
  }

  .topbar .navbar-item:first-child > a {
    display: inline-flex;
  }

  .separator {
    margin-left: 0.3rem;
    padding-left: 0.3rem;
    border-left: 2px solid var(--beige);
  }
  .container > .navbar .navbar-brand,
  .navbar > .container .navbar-brand {
    margin-left: 0;
  }

  .hero.is-medium .hero-body {
    padding-top: 14rem;
  }

  .hero.is-small .hero-body {
    padding-top: 200px;
    padding-bottom: 10px;
  }

  #bannerDesktop {
    display: block;
  }

  #bannerMobile {
    display: none;
  }

  .topbar .navbar-item a:hover {
    background: rgba(0, 0, 0, 0.15);
  }

  .topbar .navbar-item:last-of-type a:hover {
    border-color: transparent;
    background: #1884b9;
  }

  .topbar .navbar-item:last-of-type a:hover .st0 {
    fill: var(--yellow);
  }
}

@media screen and (min-width: 1088px) and (max-width: 1280px) {
  .is-full-img .box-img {
    height: 550px !important;
  }

  .section.is-flex-desktop {
    flex-direction: column;
  }

  .project-box .img-box {
    height: calc(100% - 225px);
  }

  .topbar > .container,
  .navbar > .container {
    width: 100%;
    padding: 0 16px;
  }

  .topbar .navbar-item {
    padding: 0.4rem;
  }

  .navbar-item img.logo {
    width: 100px;
  }

  .topbar .navbar-item {
    font-size: 14px;
  }

  .navbar-item,
  .navbar-link,
  .navbar-submenu-title {
    font-size: 15px;
  }

  .navbar-submenu a {
    font-size: 14px;
  }

  .topbar .navbar-item a {
    padding: 0.5rem 1rem;
  }

  .hero.is-small .hero-body {
    padding-top: 180px;
    padding-bottom: 10px;
  }
}

@media screen and (max-width: 1087px) {
  .topbar .navbar-item a.is-primary img {
    margin-right: 0px;
  }
  .navbar.is-fixed-top {
    top: 0px;
  }
  body.is-navbar-open {
    height: 100vh;
    overflow: hidden;
  }

  .is-home .navbar .navbar-submenu .navbar-item,
  .navbar .navbar-item {
    color: #fff !important;
  }

  .hero.is-primary .navbar.is-fixed a.navbar-item.is-active,
  .navbar-submenu-title {
    color: #fff !important;
  }

  .navbar-submenu-title {
    border-bottom: 1px solid rgba(246, 239, 237, 0.4);
  }

  .navbar.is-fixed-top .navbar-item {
    color: #fff !important;
  }

  .navbar {
    padding-bottom: 0.375rem;
    padding-top: 0.375rem;
  }

  .navbar-menu.is-active .navbar-item {
    font-size: 18px;
    font-weight: 400;
    display: flex;
    align-items: center;
  }

  .navbar-menu.is-active .navbar-item .button::before {
    background-color: transparent;
  }

  .navbar-menu.is-active {
    background-color: var(--blue) !important;
    min-height: calc(100vh - 111px);
    max-height: 0 !important;
    overflow-y: scroll;
    overflow-x: hidden;
  }

  .navbar-menu.is-active .navbar-end {
    height: fit-content;
    flex-direction: column;
    display: flex;
    padding-bottom: 100px;
    align-items: flex-start;
  }

  .lang-selector {
    margin: 10px;
    margin-bottom: 100px;
  }

  .lang-selector a {
    width: 50px !important;
  }

  .dropdown-content,
  .navbar-submenu {
    background-color: transparent;
    box-shadow: none !important;
  }

  .dropdown-menu {
    display: block;
    left: auto;
    top: auto;
    position: relative;
  }

  .dropdown {
    display: block;
  }

  .navbar-submenu .navbar-item {
    font-size: 16px !important;
  }

  .navbar-menu.is-active .navbar-end li.is-flex {
    flex-direction: column;
  }

  .navbar-menu.is-active .navbar-end li.is-flex .navbar-submenu {
    border: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  .navbar-menu.is-active .navbar-end li.is-flex .navbar-submenu li {
    display: block;
  }

  .navbar > .container {
    flex-direction: column;
  }

  .navbar-brand {
    width: 100%;
  }

  .topbar > .container {
    justify-content: space-around;
    width: 100%;
  }

  .topbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100vw;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 31;
  }

  .topbar .navbar-item {
    width: 25%;
    line-height: 1.6;
    padding: 0;
    font-size: 10px;
  }

  .topbar-it .navbar-item {
    /*width: 20% !important;*/
  }

  .topbar .navbar-item:last-of-type {
    background: var(--light-blue);
  }

  .topbar .navbar-item a {
    flex-direction: column;
    text-transform: capitalize;
    border: none;
    padding: 1rem 1rem 0.75rem;
  }

  .topbar .navbar-item:last-of-type a {
    padding: 1rem 1rem 0.75rem;
    margin-top: 0;
  }

  .topbar .icon {
    margin-right: 0;
    margin-bottom: 5px;
  }

  .navbar-burger {
    color: var(--blue);
    width: 60px;
    height: 60px;
    margin-left: 0;
  }

  a.navbar-item:hover {
    background-color: #052134;
  }

  .is-home .navbar-burger,
  .is-navbar-open .navbar-burger {
    color: #fff;
  }

  .is-home .is-fixed-top .navbar-burger {
    color: var(--blue);
  }

  .navbar.is-fixed-top .account-item svg path,
  .navbar.is-fixed-top .cart-item svg path {
    fill: var(--blue);
    stroke: var(--blue);
  }

  .navbar-burger span {
    width: 20px;
    height: 2px;
    left: calc(50% - 15px);
  }

  .navbar-burger span:nth-child(1) {
    top: calc(50% - 8px);
  }

  .navbar-burger span:nth-child(3) {
    top: calc(50% + 6px);
  }

  .navbar-burger.is-active span:nth-child(3) {
    top: calc(50% + 2px);
  }

  .navbar-burger:hover {
    background: transparent;
  }

  .navbar-item img.logo {
    width: 120px;
  }

  .navbar-brand {
    padding-left: 15px;
    align-items: center;
  }

  .title.is-1 {
    font-size: 50px;
  }

  .title.is-2 {
    font-size: 36px;
  }

  /* POOLZIP */

  #poolzip-main-section {
    padding-top: 0 !important;
  }

  .section {
    padding: 1.5rem 1.5rem;
  }

  .no-hero-padding {
    padding-top: 5rem;
  }

  .hero.is-home .subtitle {
    font-size: 26px;
  }

  .hero-body {
    padding: 9rem 1.5rem 2rem;
  }

  .hero .subtitle {
    font-size: 20px;
  }

  .hero.is-fullheight {
    min-height: calc(100vh - 54px);
  }

  .box-content {
    padding: 0;
  }

  .page-content {
    padding-top: 4rem;
  }

  .box-content .box-description {
    padding-left: 0;
  }

  .project-box {
    margin: 0 -1.5rem;
    padding: 6rem 2rem 2rem;
  }

  .section.is-flex-touch {
    flex-direction: column;
  }

  .is-full-img-right .has-line::before,
  .is-full-img-right .has-line::after,
  .is-full-img-right .box-img-54.has-line::before,
  .is-full-img-right .box-img-54.has-line::after,
  .is-full-img .box-img-54.has-line::before,
  .is-full-img .box-img-54.has-line::after,
  .has-line-16.has-line::before,
  .has-line-16.has-line::after {
    left: 50%;
  }

  .contact-form-01 {
    margin: 0 -1.5rem;
  }

  .project-box .img-box {
    width: calc(100% + 4rem);
    height: 350px;
    margin: 1rem -2rem 0;
  }

  .footer {
    padding: 3rem 0 54px 0;
  }

  .footer ul {
    margin-bottom: 0;
  }

  .footer .top,
  .footer .bottom {
    padding: 0 1rem 1rem;
  }

  .footer .bottom {
    margin-top: 30px;
  }

  .footer .bottom .has-text-right {
    text-align: left !important;
  }

  .footer .bottom .columns {
    flex-flow: column;
  }

  .contact-form-02,
  .contact-form-03 {
    padding: 1.5rem;
  }

  .check-group {
    display: block;
  }
  .modal-product-content {
    padding: 2rem;
  }
  .modal-product-content .title {
    margin-top: 0;
  }
  .modal-product-content .order-1 {
    order: 1 !important;
  }
  .modal-product-content .order-2 {
    order: 2 !important;
  }
  .modal-product-content .columns {
    display: flex;
    flex-direction: column;
  }

  .modal-product-content p {
    margin-bottom: 0;
  }

  .fancybox-container {
    height: calc(100% - 145px);
    top: 72px;
  }

  .fancybox-navigation .fancybox-button {
    width: 40px;
    height: 40px;
    top: 50px;
    padding: 0;
  }

  .fancybox-navigation .fancybox-button div {
    padding: 0;
  }

  .hero.is-medium .hero-body {
    padding-top: 9rem;
  }

  .hero.is-small .hero-body {
    padding-top: 9rem;
  }

  .img_hover {
    height: 200px;
  }

  .img_hover.big {
    height: 300px;
  }

  .title {
    font-size: calc(34px + 2vw);
  }

  #bannerDesktop {
    display: none;
  }

  #bannerMobile {
    display: block;
  }

  .fb_dialog_content iframe {
    bottom: 90px !important;
    right: 0 !important;
  }

  .fb_iframe_widget iframe {
    bottom: 90px !important;
    left: 0 !important;
  }

  .fb_reset {
    position: fixed;
    z-index: 2;
  }

  ._94vf {
    max-width: 100vw;
  }

  .box-img.bordered-img {
    margin-top: 20px !important;
    margin-left: 0 !important;
    width: calc(100% - 20px) !important;
  }

/*   .topbar {
    background: var(--light-blue);
  }

  .topbar .navbar-item {
    width: 100%;
    display: flex;
  }

  .topbar .navbar-item a.is-primary {
    padding: 0;
    background: transparent;
    display: flex;
    flex-direction: row;
    height: 54px;
    margin: 0 auto;
    font-size: 16px;
    text-transform: uppercase;
  }

  .topbar .navbar-item a.is-primary img {
    margin-right: 0.5rem;
  } */

  nav .dropdown-content {
    padding-top: 0;
  }

  .promo-img {
    padding-left: 0;
  }

  .promo-text {
    margin-top: 0;
  }
}

@media screen and (min-width: 769px) {
  .hero.is-medium .hero-body {
    padding-bottom: 2.5rem;
  }

  .has-line .hero-body {
    padding-bottom: 2.5rem !important;
  }

  nav .dropdown-content {
    display: flex;
  }
}

@media screen and (min-width: 769px) and (max-width: 1088px) {
  .hero.is-small .hero-body {
    padding-top: 125px;
    padding-bottom: 10px;
  }
}

@media screen and (max-width: 768px) {
  .title.is-56 {
    font-size: 38px;
  }

  .title.is-1 {
    font-size: 38px;
  }

  .bannerContent {
    left: 24px;
    padding: 1rem;
  }

  .bannerContent h3 {
    font-size: 16px !important;
  }

  .bannerContent p {
    font-size: 12px !important;
  }

  .button-orange-negative {
    font-size: 11px;
    padding: 8px 40px 8px 10px;
  }

  nav .dropdown-menu {
    padding-top: 0;
  }

  .promo {
    width: calc(100% - 40px);
  }

  .promo-card {
    height: 220px;
  }

  /* .progetto-img {
    margin: 0px !important;
    width: 100% !important;
    margin-bottom: 21px !important;
  } */
}

@media screen and (max-width: 576px) {
  .promo {
    margin-bottom: 140px;
  }
  .promo .promo-card-text {
    height: 100px;
    bottom: -100px;
  }
  .promo.promo-card-pergole .promo-card:hover > .promo-card-text {
    height: 100px;
    bottom: -105px;
  }

  .promo.promo-card-pergole {
    margin-bottom: 140px;
  }

  .pergole {
    padding-top: 50px;
  }
}

@media screen and (max-width: 992px) {
  .mb-tablet-1 {
    margin-bottom: 0.5rem !important;
  }
}
