/*
Theme Name:     Hello Elementor Childtheme
Description:    Hello Elementor Child Theme
Theme URI:      https://studiomateweb.it
Author:         Studio Mate
Author URI:     https://www.studiomateweb.it/
Version:        1.0
Template:       hello-elementor
*/
html,
body {
    overflow-x: hidden;
}

.elementor-menu-toggle {
    color: #000 !important;
}

#main-menu-custom nav.elementor-nav-menu--dropdown.elementor-nav-menu__container {
    position: fixed;
    left: 0;
    top: 63px;
    right: 0;
    bottom: 0;
    z-index: 11;
    margin-top: 0;
}

.elementor-slide-heading {
    margin-bottom: 50px;
    margin-right: 70px;
}

.elementor-element.elementor-widget-e_image_hover_effects .eihe-box .eihe-caption .eihe-title-cover {
    margin-bottom: -10px !important;
}

#main-menu-custom .elementor-nav-menu {
    /* margin-top: 50px; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    min-width: 90%;
}

#main-menu-custom .elementor-nav-menu--dropdown li {
    padding: 10px 20px;
}

#main-menu-custom .elementor-item {
    text-align: right !important;
    display: block;
    font-weight: 500;
    font-family: "Recta", sans-serif;
    font-size: 30px;
    line-height: 35px;
    color: #000;
}

#main-menu-custom .elementor-item:hover {
    color: #F27439;
}

#content .page-header {
    display: none;
}

.elementor-element.elementor-widget-e_image_hover_effects .eihe-box .eihe-caption .eihe-title-cover .eihe-title {
    font-size: 30px !important;
}

.elementor-element .elementor-main-swiper {
    position: relative;
}

.elementor-swiper-button:hover {
    cursor: pointer;
}

.elementor-swiper-button-next {
    position: absolute;
    top: 50%;
    right: 30px;
    z-index: 99;
    transform: translateY(-50%);
}

.elementor-swiper-button-prev {
    position: absolute;
    top: 50%;
    left: 30px;
    z-index: 99;
    transform: translateY(-50%);

}

.eihe-caption {
    /*background: linear-gradient(360deg, rgba(128, 128, 128, 1) 0%, rgba(238, 238, 238, 1) 100%) !important;*/
    background: #fff !important;
}

body.overflow-hidden,
html.overflow-hidden {
    overflow: hidden !important;
}



@media(min-width: 401px) and (max-width: 500px) {

    .border-bottom-custom h1:after,
    .border-bottom-custom h2:after {
        content: "";
        width: 25%;
        height: 1px;
        background: #000;
        position: absolute;
        bottom: 10px;
        right: 0;
    }
}

@media(min-width: 501px) and (max-width: 600px) {

    .border-bottom-custom h1:after,
    .border-bottom-custom h2:after {
        content: "";
        width: 40%;
        height: 1px;
        background: #000;
        position: absolute;
        bottom: 10px;
        right: 0;
    }
}

@media (min-width: 601px) and (max-width: 991px) {

    .border-bottom-custom h1:after,
    .border-bottom-custom h2:after {
        content: "";
        width: 50%;
        height: 1px;
        background: #000;
        position: absolute;
        bottom: 10px;
        right: 0;
    }
}

@media(min-width: 992px) and (max-width: 1199px) {

    .border-bottom-custom h1:after,
    .border-bottom-custom h2:after {
        content: "";
        width: 67%;
        height: 1px;
        background: #000;
        position: absolute;
        bottom: 10px;
        right: 0;
    }
}

@media(min-width: 1200px) {

    .border-bottom-custom h1:after,
    .border-bottom-custom h2:after {
        content: "";
        width: 73%;
        height: 1px;
        background: #000;
        position: absolute;
        bottom: 10px;
        right: 0;
    }
}



@media(max-width: 767px) {
    #main-menu-custom nav.elementor-nav-menu--dropdown.elementor-nav-menu__container {

        top: 95px;

    }

    .mobile250,
    .mobile250 .swiper-slide {
        max-height: 250px !important;
    }

    .elementor-slide-heading {
        margin-bottom: 20px;
        margin-right: 20px;
        font-size: 20px;
    }


    .elementor-swiper-button-next,
    .elementor-swiper-button-prev {
        z-index: 6;
    }

    .elementor-element .eihe-box .eihe-caption {
        opacity: 1 !important;
        bottom: -1px !important;
    }

    #submenu .elementor-menu-toggle__icon--open svg {
        width: 130px;

    }

    #submenu .elementor-menu-toggle__icon--close svg {
        width: 130px;

    }

    #submenu .elementor-menu-toggle {
        background: #fff;
        display: block;
        float: right;
        text-align: right;
        margin-right: 20px;
    }

    #submenu .elementor-nav-menu--dropdown a {
        display: block;
        text-align: right;
        color: #000;
    }

    #submenu .elementor-nav-menu--dropdown a:hover {
        display: block;
        text-align: right;
        color: #F27439;
    }

    .elementor-menu-toggle {
        display: block !important;
        float: right !important;
        margin: 0 !important;
        text-align: right;
    }

    #main-menu-custom .elementor-item {
        text-align: right !important;
        top: 40%;
        display: block;
        font-weight: 500;
        font-family: "Recta", sans-serif;
        font-size: 25px;
        line-height: 40px;
        color: #000;
    }

    #main-menu-custom .elementor-nav-menu--dropdown li {
        padding: 0px 0px;
    }

    .elementor-element.elementor-widget-e_image_hover_effects .eihe-box .eihe-caption .eihe-title-cover .eihe-title {
        font-size: 30px !important;
    }

    .elementor-2 .elementor-element.elementor-element-e320c41 .elementor-slide-heading {
        margin-bottom: 20px !important;
        margin-right: 20px !important;
        font-size: 20px;
    }
}

.dialog-type-lightbox {
    background-color: #fff !important;
}

.elementor-lightbox .dialog-lightbox-close-button,
.elementor-lightbox .elementor-swiper-button,
.elementor-slideshow__header,
.elementor-slideshow__footer {
    color: #000 !important;
}

.elementor-element.elementor-widget-e_image_hover_effects .eihe-box .eihe-caption {
    top: auto !important
}

.elementor-2 .elementor-element.elementor-element-8c7e051 .eihe-box .eihe-caption {

    text-align: right;
    float: right;
    display: block;
}

span.elementor-slideshow__counter.swiper-pagination-fraction,
.elementor-slideshow__share-menu,
.elementor-slideshow__header {
    display: none !important;
    opacity: 0 !important;

}

.elementor-slideshow__footer {
    opacity: 1;
    background: #fff9;
    color: #000 !important;
    padding: 0 !important;
}

.elementor-lightbox .elementor-lightbox-item {
    padding: 0 !important;
}

.elementor-slideshow--ui-hidden .elementor-slideshow__footer {
    opacity: 1 !important;
}

/*GAIA*/
.elementor-2 .elementor-element.elementor-element-e320c41 .elementor-slide-heading {
    margin-bottom: 50px;
    margin-right: 70px;
}

.elementor-element.elementor-element-e320c41 .elementor-slide-heading {
    margin-bottom: 50px;
    margin-right: 70px;
}


.elementor-lightbox .elementor-lightbox-image,
.elementor-lightbox .elementor-video-container {
    box-shadow: none;
}

.elementor-lightbox .elementor-lightbox-item {
    padding: 0 !important;
}

.swiper-container-custom {
    width: 100%;
    height: 100%;
}

.swiper-container-custom .swiper-slide {
    /* set the desired height for all the images */
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto !important;

}

.swiper-container-custom .swiper-slide img {
    display: block;
    width: auto;
    min-height: 100% !important;
    object-fit: cover;
    max-height: 500px;
}

.swiper-container-custom.single .swiper-slide img {
    max-height: 230px;
}

.fancybox-caption {
    opacity: 0!important;
    transition: opacity 0.5s;
}

.fancybox-caption.show {
    opacity: 1!important;
}



@media (max-width: 767px) {
    .swiper-container-custom .swiper-slide img {

        max-height: 400px !important;
    }
}

.elementor-swiper-button.elementor-swiper-button-prev.elementor-lightbox-prevent-close i {
    display: none;
}

.elementor-swiper-button.elementor-swiper-button-next.elementor-lightbox-prevent-close i {
    display: none;
}

/* Override default arrow styles */
/* Customize the "prev" arrow */

.elementor-swiper-button.elementor-swiper-button-prev.elementor-lightbox-prevent-close:before {
    content: "";
    background-image: url(https://www.pedantic-sammet.217-112-80-130.plesk.page/wp-content/uploads/2023/03/arrow-2.svg);
    width: 30px;
    height: 30px;
    background-size: cover;
}

/* Customize the "next" arrow */
.elementor-swiper-button.elementor-swiper-button-next.elementor-lightbox-prevent-close:before {
    content: "";
    background-image: url(https://www.pedantic-sammet.217-112-80-130.plesk.page/wp-content/uploads/2023/03/arrow-1.svg);
    width: 30px;
    height: 30px;
    background-size: cover;
}

a.dialog-close-button.dialog-lightbox-close-button i {
    display: none;
}

a.dialog-close-button.dialog-lightbox-close-button:before {
    content: "";
    background-image: url(https://www.pedantic-sammet.217-112-80-130.plesk.page/wp-content/uploads/2023/02/Mulas-X-small.svg );
    width: 30px;
    height: 30px;
    background-size: cover;
}

.elementor-slideshow__description {
    font-size: 15px;
    font-weight: 300;
}

.swiper-slide.elementor-lightbox-item {
    animation: fadeIn 0.5s !important;
    -webkit-animation: fadeIn 0.5s !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fancybox-infobar,
.fancybox-button--zoom,
.fancybox-button--play,
.fancybox-button--thumbs {
    display: none !important;
}

.fancybox-toolbar,
.fancybox-navigation .fancybox-button {
    opacity: 1 !important;
    visibility: visible !important;
} 
.fancybox-bg{
    background: #fff !important;
    opacity: 1 !important;
}
.fancybox-button{
    background: transparent !important;
}

.fancybox-button svg path {
    fill: #000 !important ;
    stroke-width: 0;
}

.fancybox-toolbar {
    right: 30px !important;
    top: 30px !important;
}

.fancybox-toolbar .fancybox-button{
    width: 50px;
    height: 50px;
    padding: 5px;
}
.fancybox-navigation .fancybox-button--arrow_left {
    left: 30px ;
}
.fancybox-navigation .fancybox-button--arrow_right {
    right: 30px ;
}

.fancybox-caption {
    padding: 30px 0;
    background: #fff !important;
    color: #54595F !important;
    font-style: italic;
}

.fancybox-slide--image .fancybox-content {
    transform: none!important;
    width: 100vw!important;
    height: 100vh!important;
}

.fancybox-image {
    height: 90vh!important;
    width: auto!important;
    margin: 5vh auto!important;
    padding: 0!important;
    display: block;
    position: relative!important;
}

.fancybox-container .fancybox-caption--separate {
    padding: 0rem;
    padding-bottom: 0.5rem;
}


@media(max-width: 500px) {

    .border-bottom-custom h1:after,
    .border-bottom-custom h2:after {
        width: 0;
    }

    .fancybox-navigation .fancybox-button--arrow_left{
        left: -10px  !important;
    }
    
    .fancybox-navigation .fancybox-button--arrow_right {
        right: -10px !important;
    }

    .fancybox-slide--image .fancybox-content {

        transform: none!important;
        width: 100vw!important;
        height: 100vh!important;
        display: flex;
        align-items: center;
    }

    .fancybox-image {
        height: auto!important;
        width: 80vw!important;
        margin: 0 auto!important;
        padding: 0!important;
        display: block;
        position: relative!important;
        margin-top: -30px!important;
    }

    .fancybox-toolbar .fancybox-button{
        width: 30px;
        height: 30px;
        padding: 5px;
    }

    .fancybox-container .fancybox-navigation .fancybox-button {
        top: auto;
        bottom: 0;
    }

    .fancybox-navigation .fancybox-button svg {
        height: 60%;
    }

}