/* 
Theme Name: Villa 32 Ostuni
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.dialog-close-button {
	display: none !important;
}

a {
    color: var(--e-global-color-primary);
}

.joinchat {
    bottom: 100px;
    right: 35px;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - 1rem));
    }
}

.marquee-content span{
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: 80px;
    font-weight: 400;
    color: var(--e-global-color-text);
    line-height: 1.1em;
}

.marquee-s .marquee-content span{
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 40px;
}

.marquee-content img{
    width: 40px;
    margin-bottom: 10px;
}

.marquee-s .marquee-content img{
    width: 20px;
    margin-bottom: 10px;
}

.marquee {
    display: flex;
    overflow: hidden;
    gap: 1rem;
    position: relative;
    user-select: none;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.scroll {
    animation: scroll 10s linear infinite;
}

.elementor-widget-text-editor p:last-child {
  margin-bottom: 0 !important;
}

.btn-icon .elementor-button-content-wrapper {
    transition: all linear .1s;
}

.btn-icon .elementor-button-content-wrapper:hover {
    gap: 20px !important;
}

.carosello-foto .offset-both {
    padding-inline-start: 300px !important;
    padding-inline-end: 300px !important;
}

.carosello-foto .swiper-slide {
    transition: all linear .2s;
}

.carosello-foto .swiper-slide-prev, .carosello-foto .swiper-slide-next {
    padding: 0 100px;
}

.elementor-161 .im-scroll {
    background-color: var(--e-global-color-primary) !important;
}

header img {
    transition: all linear .1s;
}

header .im-scroll img {
    width: 40px !important;
}

header .e-con-inner {
    transition: all linear .1s;
}

header .im-scroll > .e-con-inner {
    padding: 15px 0;
}

.fis-img .e-n-accordion-item-title-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.fis-img img {
    width: 80px;
}

.list-no-padding ul {
    list-style-position: inside;
    padding-left: 0;
}

.elementor-form .elementor-field-type-submit .elementor-button-icon svg * {
    fill: var(--e-global-color-primary) !important;
}

.elementor-form .elementor-field-type-submit .elementor-button-icon {
    transition: all linear .1s;
}

.elementor-form .elementor-field-type-submit:hover .elementor-button-icon {
    margin-left: 10px;
}

.elementor-widget-html {
    line-height: 0;
}

.mappa-contatti {
    height: 100%;
}

.mappa-contatti iframe {
    width: 100%;
    height: 100%;
}

.icon-color-primary svg *, .icon-color-primary svg rect {
    fill: var(--e-global-color-primary) !important;
}

nav a {
    display: inline-block !important;
    line-height: 1.2 !important;
}

nav a:after {
    content: '';
    width: 0;
    height: 2px;
    background: white !important;
    display: block;
    transition: all linear .1s;
}

nav a:hover:after {
    width: 100%;
}

nav .current-menu-item a:after {
    width: 100%;
}

.elementor-field-type-acceptance .elementor-field-option {
    display: flex !important;
    gap: 10px !important;
}

li.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media(max-width:1024px){
    .carosello-foto .swiper-slide-prev, .carosello-foto .swiper-slide-next {
        padding: 0 50px;
    }
    .carosello-foto .offset-both {
        padding-inline-start: 150px !important;
        padding-inline-end: 150px !important;
    }
}

@media (max-width:767px){
    .mappa-contatti iframe {
        height: 50vh;
    }
    
    .carosello-foto .swiper-slide-prev, .carosello-foto .swiper-slide-next {
        padding: 0 20px;
    }

    .carosello-foto .offset-both {
        padding-inline-start: 50px !important;
        padding-inline-end: 50px !important;
    }

    .progress-wrap {
        bottom: 24px !important;
    }
    
    .progress-wrap.btn-right-side {
        right: 24px !important;
    }

    .joinchat {
        bottom: 84px;
        right: 9px;
    }
	
	.marquee-content span{
		font-size: 60px;
	}
}