/*
Theme Name:  Jampaa
Theme URI: https://www.jampaa.it/
Description:  Tema Jampaa
Author:  Jampaa
Author URI: https://www.jampaa.it/
Template:  hello-elementor
Version:  1.0
*/



/* Hero Image pagina 404 */

.error404 .hero-image {
    display: none;
}

.elementor-widget-container {
  word-break: break-word;
}


.gform_fields {
      position: relative;
      row-gap: 1rem!important;

    }
    label.gfield_label.gform-field-label {
      font-family: "DM Sans", Sans-serif!important;
      font-size: 18px;
      line-height: 1.2;
      font-weight: 500;
      color: #029439;

}

.gfield input[typr="text"],
.gfield input[type="email"] {
  font-size: 18px !important;
  padding: 5px 10px;
  margin-bottom: 0;
  margin-top: 0;
  border-bottom: 1px solid #5F7268;
  background-color: #FFFFFF;
  font-weight: 400;
  font-family: "DM Sans", Sans-serif!important;
  outline: none;
  border-radius: 0px;
  display: block;
  height: 100%;
}
 
.gfield input:placeholder {
  font-family: "DM Sans", Sans-serif!important;
  font-weight: 400;
    font-size: 18px !important;
}

input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 3px;
  position: relative;
  cursor: pointer;
  vertical-align: top;
}
/* input[type="checkbox"]:before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid #002A48;
  top: -3px;
  left: -2px;
  background-color: #FFFFFF;
  border-radius: 0;
}

input[type="checkbox"]:after {
  display: none;
  content: "\2713";
  position: absolute;
  font-size: .9rem;
  line-height: .9rem;
  top: -2px;
  left: 1px;
  color: #002A48;
  font-weight: 700;
}

input[type="checkbox"]:checked:before {
    background-color: #C3F42C;
  }

  input[type="checkbox"]:checked:after {
    display: block;
  }*/



input[type="submit"] {
  width: 100%!important;
  border: 1px solid #5F7268!important;
  padding: 20px!important;
  background-color: #5F7268!important;
  font-family: "Poppins", Sans-serif!important;
  color: #fff!important;
  cursor: pointer!important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  transition: all .2s linear;
  border-radius: 0px;
  position: relative;
  text-transform: uppercase!important;
}


input[type="submit"]:hover {
  background-color: #4C5D54!important;
  border-color: #4C5D54!important;
  transition: all .2s linear;
}
.gform-theme--framework .gfield--input-type-datepicker .ginput_container_date input {
  width:100%;
}
/*
.wpml-ls-legacy-list-horizontal a span {
    vertical-align: middle;
    width: 50px;
    display: block;
}
*/
/*
*   13.0 Gallery
*/
.standard-gallery-wrapper {
    display: flex;
    flex-flow: column;
    gap: 50px;
    margin: 50px 0;
}

.standard-gallery-wrapper .gallery-filters {
    display: flex !important;
    flex-flow: row;
    flex-wrap: wrap;
    gap: 10px;
}

.standard-gallery-wrapper .gallery-filters button:not(:hover):not(:active):not(.has-background),
.standard-gallery-wrapper .gallery-filters button,
.standard-gallery-wrapper .gallery-filters button:active,
.standard-gallery-wrapper .gallery-filters button:focus,
.standard-gallery-wrapper .gallery-filters button:visited {
    margin: 0;
    background: transparent;
    color: #5F7268;
    border: 1px solid #5F7268!important;
    padding: 15px 30px!important;
}
@media only screen and (max-width:1024px){
    .standard-gallery-wrapper .gallery-filters button:not(:hover):not(:active):not(.has-background),
    .standard-gallery-wrapper .gallery-filters button,
    .standard-gallery-wrapper .gallery-filters button:active,
    .standard-gallery-wrapper .gallery-filters button:focus,
    .standard-gallery-wrapper .gallery-filters button:visited {
        padding: 10px 15px!important;
    }
}
.standard-gallery-wrapper .gallery-filters button.active:not(:hover):not(:active):not(.has-background),
.standard-gallery-wrapper .gallery-filters button.active,
.standard-gallery-wrapper .gallery-filters button:hover {
    background: #5F7268;
    color: #ffffff;
    border: 1px solid #5F7268!important;

}

.standard-gallery-wrapper .standard-gallery-wrapper-category:not(:last-of-type) {
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(138, 147, 167, 0.3);
}

.standard-gallery-wrapper .standard-gallery-wrapper-category img {
    cursor: pointer;
}

.standard-gallery-wrapper .standard-gallery-wrapper-category.swiper-horizontal .swiper-slide {
    max-width: 480px;
    margin: 0 30px 0 0;
}

.standard-gallery-wrapper.gallery-container-image .standard-gallery-wrapper-category.swiper-horizontal .swiper-slide {
    max-height: 380px;
}

.standard-gallery-wrapper .standard-gallery-wrapper-category .swiper-slide h3 {
    margin: 10px 0;
}

.standard-gallery-wrapper hr {
    background: #8A93A7;
    opacity: 0.3;
    width: 100%;
}

.standard-gallery-wrapper-category.image {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: minmax(40px, 1fr);
    gap: 15px;
}

.standard-gallery-wrapper-category.image h2 {
    grid-column: 1/-1;
}

.standard-gallery-wrapper-category.image .single-image {
    position: relative;
    max-height: 300px;
    border-radius: 0px;
    overflow: hidden;
}

.standard-gallery-wrapper-category.image .single-image span.panorama-widget {
    position: absolute;
    z-index: 1;
    right: 1.5rem;
    top: 1.5rem;
    width: 4rem;
    height: 4rem;
    background-color: #5F7268;
    padding: 0.8rem;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.standard-gallery-wrapper-category.image .single-image span.panorama-widget:hover {
    background-color: var(--link-color-hover);
}

.standard-gallery-wrapper-category.image .single-image span.panorama-widget svg {
    fill: #ffffff;
}

.standard-gallery-wrapper-category.image .single-image:nth-of-type(1n+16) {
    display: none;
}

.standard-gallery-wrapper-category.image .single-image figure {
    margin: 0;
    height: 100%;
    width: 100%;
	border-radius: 20px;
}

.standard-gallery-wrapper-category.image .single-image figure img {
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
    max-height: -webkit-fill-available;
}

.standard-gallery-wrapper-category.image span.description {
    position: absolute;
    right: 12px;
    left: auto;
    bottom: 12px;
    top: auto;
    z-index: 1;
    background: #5F7268;
    color: #ffffff;
    padding: 10px 12px;
    margin-left: 12px;
    border-radius: 0px;
    cursor: pointer;
    font-size: 15px;
    line-height: 15px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    /*max-height: calc(100% - 25px);*/
    overflow-y: scroll;
}

.standard-gallery-wrapper-category.image span.description>i {
    font-size: 18px;
}

.standard-gallery-wrapper-category.image span.description.active>i {
    display: none;
}

.standard-gallery-wrapper-category.image span.description:not(.active)>span.text {
    display: none;
}


.standard-gallery-wrapper-category.image figure.cta img {
    filter: blur(5px);
    -webkit-filter: blur(5px);
    z-index: 2;
}

.standard-gallery-wrapper-category.image figure figcaption {
    display: none;
}

.standard-gallery-wrapper-category.image .overlay-cta {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    z-index: 3;
    cursor: pointer;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    
}
.standard-gallery-wrapper-category.image .overlay-cta .fa-play-circle {
    font-size: 40px;
    line-height: 1;
}
.standard-gallery-wrapper-category.image .overlay-cta span {
    margin: auto;
    width: auto;
    padding: 10px 20px;
    text-align: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    background: #5F7268;
    text-transform: uppercase;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.standard-gallery-wrapper-category.image .overlay-cta:hover span {
    background: var(--link-color-hover);
}

.standard-gallery-wrapper-category.image .overlay-cta.overlay-cta-play {
    color: #fff;
    font-size: 7rem;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
}

.lead-generation-slide {
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding: 0 40px;

    background-image: url('/wp-content/uploads/2021/11/last-image-gallery-message.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.lead-generation-content-description {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 100px 50px;
}

.lead-generation-content-description .lead-generation-icon {
    font-size: 80px;
    margin-bottom: 40px;
    text-align: center;
}

.standard-gallery-wrapper-category.image figure.cta .overlay-cta a.btn::after {
    display: none !important;
    visibility: hidden !important;
}

.standard-gallery-wrapper .standard-gallery-wrapper-category.swiper-horizontal .swiper-slide iframe {
    height: 300px !important;
    margin-bottom: 10px;
}

.rll-youtube-player .play {
    width: 100% !important;
}

.swiper-slide .video-rate i {
    font-size: 20px !important;
}

.swiper-slide>.video-title {
    font-weight: bold !important;
    font-size: 24px !important;
    line-height: 31px !important;
    color: #484B5C !important;
}

.standard-gallery-wrapper-category.enable-slide .swiper-button-prev,
.standard-gallery-wrapper-category.enable-slide .swiper-button-next {
    position: absolute;
    top: 50%;
    background: #fff;
    z-index: 1;
    margin: 0 !important;
}

.standard-gallery-wrapper-category.enable-slide .swiper-button-next {
    right: 0;
}

.standard-gallery-wrapper-category.enable-slide .swiper-button-prev {
    left: 0;
}

.standard-gallery-wrapper .standard-gallery-wrapper-category {
    overflow: hidden;
    position: relative;
}

.standard-gallery-wrapper .standard-gallery-wrapper-category.swiper-horizontal .swiper-slide {
    max-width: 480px;
    margin: 0 30px 0 0;
}

.standard-gallery-wrapper .standard-gallery-wrapper-category.swiper-horizontal .swiper-slide iframe {
    height: 300px !important;
    margin-bottom: 10px;
}

.standard-gallery-wrapper.gallery-container-image .standard-gallery-wrapper-category.swiper-horizontal .swiper-slide {
    max-height: 380px;
}

@media (max-width: 767px) {
    .standard-gallery-wrapper-category.image {
        gap: 10px !important;
        grid-template-columns: repeat(2, 1fr);
    }
    .standard-gallery-wrapper {
        margin: 0px 0;
    }
    .standard-gallery-wrapper-category.image span.description {
        -webkit-transition: none;
        -moz-transition: none;
        -ms-transition: none;
        -o-transition: none;
        transition: none;
        right: 5px;
        bottom: 5px;
    }

    .standard-gallery-wrapper-category.image span.description.active {
        width: 100%;
        height: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        margin: 0;
        border-radius: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .standard-gallery-wrapper .standard-gallery-wrapper-category.swiper-container-horizontal .swiper-slide {
        max-width: 290px;
        max-height: unset;
    }
}
@media (max-width: 480px) {
    .standard-gallery-wrapper-category.image {
        gap: 10px !important;
        grid-template-columns: repeat(1, 1fr);
    }
}
.overlay-cta {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    z-index: 3;
    cursor: pointer;
}

.gallery-container-wrapper-category.image figure.cta .overlay-cta a.btn {
    margin: auto !important;
    width: fit-content !important;
}

.lead-generation-slide {
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding: 0 4rem;

    background-image: url('/wp-content/uploads/2021/11/last-image-gallery-message.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.lead-generation-content-description {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10rem 5rem;
}

.lead-generation-content-description .lead-generation-icon {
    font-size: 8rem;
    margin-bottom: 4rem;
    text-align: center;
}

.gallery-container-wrapper-category.image figure.cta .overlay-cta a.btn::after {
    /* margin-left: 0.5rem; */
    display: none !important;
    visibility: hidden !important;
}

.gallery-container-wrapper .gallery-container-wrapper-category.swiper-container-horizontal .swiper-slide iframe {
    height: 30rem !important;
    margin-bottom: 1rem;
}

.rll-youtube-player .play {
    width: 100% !important;
}

body button.pswp__button {
    border: none !important;
    margin: 0 !important;
    background: transparent !important;
}

body button.pswp__button.pswp__button--close,
body button.pswp__button.pswp__button--zoom {
    margin: 0 20px 0 0 !important;
}

body .pswp__custom-caption {
    background-color: rgba(255, 255, 255, .9);
    width: 100%;
    max-width: 500px;
    padding: 2px 10px;
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    color: #000;
    font-size: 14px;
    border-radius: 0px;
}

.pswp__360-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pswp__360-image-container iframe {
    background: #444;
    width: 100%;
    height: 100%;
    max-width: calc(100vw - 20rem);
    max-height: 100vh;
    pointer-events: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none !important;
}

.pswp__video-container {
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pswp__video-container video {
    width: 100%;
    height: 100%;
    /*max-width: calc(100vw - 20rem);*/
    max-width: calc(100vw - 100px);
    max-height: 100vh;
    pointer-events: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.rotate-device {
    position: fixed;
    background-color: #000000;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 4rem;
    color: #fff;
}

.rotate-device.show {
    display: flex;
}

.rotate-device .phone {
    height: 5rem;
    width: 10rem;
    border: 0.3rem solid white;
    border-radius: 1rem;
    animation: rotate-device 4s ease-in-out infinite;
}

.rotate-device a,
.rotate-device a:active,
.rotate-device a:focus,
.rotate-device a:visited,
.rotate-device a:hover {
    color: #fff;
    letter-spacing: normal;
    padding: 10px 30px;
}

@keyframes rotate-device {
    0% {
        transform: rotate(-90deg)
    }

    70% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(-90deg)
    }
}
