/*
Theme Name: UDesign Child
Theme URI: https://d-themes.com/wordpress/udesign/envato-market/
Author: Andon
Author URI: https://1.envato.market/OdObz
Description: A slick, powerful and clean theme UDesign provides an intuitive set of options to help you setup your WordPress site quickly and effectively. Flexibility is key and it has been optimized for SEO and speed. It is also responsive &amp; mobile ready should you choose that option. The UDesign theme features include: unlimited colors, widgetized home page, over 600 fonts to choose from, WooCommerce Integration, it is also translation and multilingual ready, step by step documentation, exclusive UDesign support forum and a helpful community. Always up-to-date security and many new features are constantly added as the theme evolves.
Version: 1.0
Template: u-design
License: GNU General Public License v2 and ThemeForest license
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, responsive, one-column, two-columns, three-columns, four-columns, full-width-template, left-sidebar, right-sidebar, custom-menu, custom-background, custom-colors, custom-header, custom-logo, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready

*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

/****    
 * 
 * FONTS    
 * 
 * ****/
@font-face {
    font-family: 'Elephant';
    src: url('Elephant-Regular.woff2') format('woff2'),
        url('Elephant-Regular.woff') format('woff'),
        url('Elephant-Regular.ttf') format('truetype'),
        url('Elephant-Regular.svg#Elephant-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/**** 
 * 
 * Sovrascrittura variabili elementor 
 * 
 * ****/
.elementor-kit-3 {
    --e-global-color-primary: #0e3c7d;
    --e-global-color-secondary: #eaf4ff;
    --e-global-color-text: #343434;
    --e-global-color-success: #0e2e59;
    --e-global-color-2748207: #FFFFFF;
    --e-global-color-6ec56c7: #0B1F3B;
    --e-global-typography-primary-font-family: "Elephant";
    --e-global-typography-primary-font-weight: 400;
    --e-global-typography-primary-font-style: normal;
    --e-global-typography-primary-text-decoration: none;
    --e-global-typography-primary-letter-spacing: 0px;
    --e-global-typography-text-font-family: "Jost";
    --e-global-typography-text-font-weight: 400;
    --e-global-typography-text-font-style: normal;
    --e-global-typography-text-text-decoration: none;
    --e-global-typography-text-letter-spacing: 0px;
}

/*** 
 * 
 * TITOLI 
 * 
 * ***/


.must-be-elephant h1,
.must-be-elephant h2,
.must-be-elephant h3,
.must-be-elephant h4,
.must-be-elephant h5, 
.must-be-elephant h6, 
.must-be-elephant p,
.must-be-elephant-footer h4 {
	font-family: 'Elephant', 'Playfair Display', 'Times New Roman', serif !important;
	font-weight: 400 !important;
	letter-spacing: 0.03rem !important;
}

.privacy-policy-style h1.must-be-elephant,
.privacy-policy-style h2.must-be-elephant,
.privacy-policy-style h3.must-be-elephant,
.privacy-policy-style h4.must-be-elephant  {
    font-family: 'Elephant', 'Playfair Display', 'Times New Roman', serif !important;
	font-weight: 400 !important;
	letter-spacing: 0.03rem !important;
}

.privacy-policy-style h1.must-be-elephant {font-size: 4rem;}
.privacy-policy-style h2.must-be-elephant {font-size:3.5rem; margin-top: 5rem;}
.privacy-policy-style h3.must-be-elephant {font-size:2.5rem; }
.privacy-policy-style h4.must-be-elephant {font-size:2rem ;}


.smaller-custom h3 {
    font-size: 3rem;
}

.margin-h2 h2 {
	margin-bottom: 0.5rem;
}

@media only screen and (min-width: 991px) and (max-width: 1317px) {
    .smaller-custom h2 {
        font-size: 4.6rem;
    }
} 

/* .logo-hero {
	padding: 0;
} */


/******* 
 * 
 * BULLET PAGINATION 
 * 
 * *******/

/*caroselli*/
.slider-pagination.d-lg-none.d-xl-none.swiper-pagination-clickable.slider-pagination-bullets.swiper-pagination-horizontal {
    display: block !important;
    justify-content: center !important;
}

span.slider-pagination-bullet {
    border-radius: 0;
    width: 30px;
    height: 3px;
    border: none;
    opacity: 1;
}

span.slider-pagination-bullet.active {
    border-radius: 0;
    width: 30px;
    height: 6px;
    border: none;
    background: #0e2e5a !important;
}

/* Paginazione pagine archive *mobile* */
.archive-carosello .slider-pagination.swiper-pagination-clickable.slider-pagination-bullets.swiper-pagination-horizontal {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 80%;
    row-gap: 5px;
}

.archive-carosello .slider-pagination {
    bottom: -4rem;
}

/* Paginazione caroselli single-page */
.custom-pag-carosello .slider-pagination.d-lg-none.d-xl-none.swiper-pagination-clickable.slider-pagination-bullets.swiper-pagination-horizontal  {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center !important;
    align-items: center;
    gap: 5px;

    width: 80%;
    margin-inline: auto;
}

@media only screen and (max-width: 575px) {
    .custom-pag-carosello .slider-pagination.d-lg-none.d-xl-none.swiper-pagination-clickable.slider-pagination-bullets.swiper-pagination-horizontal {
        bottom: -4rem;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px){
    .custom-pag-carosello .slider-pagination.d-lg-none.d-xl-none.swiper-pagination-clickable.slider-pagination-bullets.swiper-pagination-horizontal {
        bottom: -6rem;
    }
}

@media only screen and (min-width: 768px){
    .custom-pag-carosello .slider-pagination.d-lg-none.d-xl-none.swiper-pagination-clickable.slider-pagination-bullets.swiper-pagination-horizontal {
        bottom: -95px;
    }
}

/*slider hero section*/
.elementor-element-3c422fc .swiper-pagination-bullet {
    border-radius: 0;
    width: 30px;
    height: 3px;
    border: none;
    opacity: 1;
}

.elementor-element-3c422fc .swiper-pagination-bullet.swiper-pagination-bullet-active {
    border-radius: 0;
    width: 30px;
    height: 6px;
    border: none;
    background: #0e2e5a !important;
}
.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 35px;
}


/**** 
 * 
 * FIX vari 
 * 
 * ****/

/* Oscuramento search placeholder */
.search-wrapper.hs-simple .form-control::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

.search-wrapper.hs-simple .form-control::-webkit-input-placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

.search-wrapper.hs-simple .form-control::-moz-placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

.search-wrapper.hs-simple .form-control:-ms-input-placeholder {
    color: transparent !important;
}
/* end/ */

@media only screen and (max-width: 991px) {
    .info-footer {
        width: 100%;
	}
}



header {
    z-index: 999;
}
body:not(.home) main#main.main {
	padding-top: 0;
}

.elementor-7321 .elementor-element.elementor-element-e289ea3.e-con{
    flex-grow: 1;
}

.elementor-7321 .elementor-element.elementor-element-986a63e.e-con {
    flex-grow: 1;
}


/**** 
 * 
 * Header 
 * 
 * ****/
li.menu-item.menu-item-type-post_type.menu-item-object-page.current-menu-item.page_item.current_page_item a {
    font-weight: 500;
}


/**** 
 * 
 * Contact Form 
 * 
 * ****/

/* submit button */
#contatto .contact-submit {
    text-align: right;
}

#contatto .contact-fields-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

#contatto .contact-fields-row input {
    width: 100%;
}

@media (max-width: 767px) {
    #contatto .contact-fields-row {
        grid-template-columns: 1fr;
    }
}

form:is(.sent,.invalid,.unaccepted,.spam,.failed,.aborted) .wpcf7-response-output {
    border: 1px solid var(--alpha-danger-color);
    background-color: var(--alpha-danger-color);
}

form:is(.sent) .wpcf7-response-output {
    border: 1px solid #68cF8a;
    background-color: #68cF8a;    
}

.contact-form-footer {
    padding: 0 !important;
    line-height: 1;
    font-size: 1.4rem;
    margin-top: 10px;
}


/***
 * 
 * Custom Post Type
 * 
 * ***/
nav.navigation.post-navigation a.post-nav-blog.a-icon-grid {
    display: none;
}

.read-more.serv-area-read-more a {
    padding: 13px;
    border-radius: 50% !important;
}

.read-more.cs-read-more a {
    padding: 10px 20px;
}

.read-more.articolo-read-more a {
    padding: 10px 20px;
}

img.wp-image-7209 {
    aspect-ratio: 1 !important;
}

.oscurato {display:none !important;}

