/*
Theme Name:   Phlox Child
Theme URI:    http://phlox.pro/
Description:  Phlox is a modern, lightweight and customizable theme perfect for almost any type of website including, blog, portfolio, business, agency, news & magazine, food & restaurant, travel, and photography as well as WooCommerce storefront. What makes the Phlox unbeatable is being fast, truly responsive, translation ready, RTL layout, built with SEO in mind, professional portfolio features, 30 exclusive widgets and elements, 19 demo sites for one-click import, WooCommerce Ready, WPML ready, 100% GDPR compliance, reliable with regular updates, and also integrated with Elementor, Visual Composer and SiteOrigin page builders. Phlox is architect from scratch by the team behind the famous "Master Slider" project, so relax and be assured that you are supported by a good company. Phlox is the only theme that you have ever need to use and look no further. Start exploring the demos: http://demo.phlox.pro/default/
Author:       Arkys Agency
Author URI:   https://arkys.agency/
Template:     phlox
Version:      2.15.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  phlox-child
*/

.aux-content-top-margin .aux-primary {
    padding-top: 0px !important;
}
.hidden{
	display: none;
}

/* --------------------
 * TYPO 
 * -------------------- */
.h1 {
	color: var( --e-global-color-primary );
	font-family: var( --e-global-typography-df0904a-font-family ), Sans-serif;
	font-size: var( --e-global-typography-df0904a-font-size );
	font-weight: var( --e-global-typography-df0904a-font-weight );
	line-height: var( --e-global-typography-df0904a-line-height );
	letter-spacing: var( --e-global-typography-df0904a-letter-spacing );
	word-spacing: var( --e-global-typography-df0904a-word-spacing );
}
.h3 {
	color: var( --e-global-color-primary );
	font-family: var( --e-global-typography-40d821b-font-family ), Sans-serif;
	font-size: var( --e-global-typography-40d821b-font-size );
	font-weight: var( --e-global-typography-40d821b-font-weight );
	line-height: var( --e-global-typography-40d821b-line-height );
	letter-spacing: var( --e-global-typography-40d821b-letter-spacing );
	word-spacing: var( --e-global-typography-40d821b-word-spacing );
}

/* --------------------
 * FORM 
 * -------------------- */
body {	
	--cf-horizontal-gap: 1em;
	--cf-vertical-gap: 0.5em;
	
	--cf-field--padding-top: 0.4em;
	--cf-field--padding-right: 1.2em;
	--cf-field--padding-bottom: 0.4em;
	--cf-field--padding-left: 1.2em;
	--cf-field--border-radius: 5px;
	--cf-field--background-color: ;
	--cf-field--border-width: 1px;
	--cf-field--border-style: solid;
	--cf-field--border-color: var(--e-global-color-c42173c);
	--cf-field--border-color-hover: var(--e-global-color-a11f68c);
	
	--cf-list_item-horizzontal-gap: .8em;
	--cf-list_item-vertical-gap: .1em;
	
	--cf-check_radio--border-color: var(--e-global-color-c42173c);
	--cf-check_radio--border-color--hover: var(--e-global-color-a11f68c);
	
	--cf-label--padding-top: 0.2em;
	--cf-label--padding-right: 1.2em;
	--cf-label--padding-bottom: 0.2em;
	--cf-label--padding-left: 1.2em;
}
@media screen and (max-width: 768px) {
	body {		
		--cf-field--padding-top: 0.8em;
		--cf-field--padding-bottom: 0.8em;
	}
}


/* --------------------
 * FORM 
 * -------------------- */
 .wpcf7-form .elementor-form-fields-wrapper {
	margin-left: calc( var(--cf-horizontal-gap) / -2 );
   margin-right: calc( var(--cf-horizontal-gap) / -2 );
}
.wpcf7-form .elementor-column {
   padding-left: calc( var(--cf-horizontal-gap) / 2 );
   padding-right: calc( var(--cf-horizontal-gap) / 2 );
}
.wpcf7-form .elementor-column:not(:last-child) {
   margin-bottom: var(--cf-vertical-gap);
}
/* ----- LABEL ----- */
   .wpcf7-form label.wpcf7-label-wrap {
	   position: absolute;
	   top: 0;
	   left: 0;
	   padding: var(--cf-label--padding-top) var(--cf-label--padding-right) var(--cf-label--padding-bottom) var(--cf-label--padding-left);
	   transform: translateY(0em);
	   transition: all 150ms linear;
	   height: 100%;
	   display: flex;
	   align-items: center;
	   z-index: 2;
	   margin-bottom: 0;
	   font-size: inherit;
   }
   .wpcf7-form span.wpcf7-field-wrap:focus-within > label.wpcf7-label-wrap,
   .wpcf7-form span.wpcf7-form-control-wrap:has( input:not(:placeholder-shown), textarea:not(:placeholder-shown), select:not(:placeholder-shown) ) + label {
	   transform: translateY(-72%) translateX( calc( var(--cf-field--border-radius) - var(--cf-field--padding-left)));
	   height: fit-content;
	   width: fit-content;
	   font-size: 84%;
   }
   .wpcf7-form span.wpcf7-field-wrap:is(.wpcf7-file, .wpcf7-quiz):focus-within > label.wpcf7-label-wrap,
   .wpcf7-form span.wpcf7-form-control-wrap:has( input:not(:placeholder-shown), textarea:not(:placeholder-shown), select:not(:placeholder-shown) ) + label {
	   transform: translateY(-72%) translateX( calc( var(--cf-field--border-radius) - var(--cf-field--padding-left)));
   }

   /* ----- FIELDS ----- */
	.wpcf7-form p {
		margin-bottom: 0;
		width: 100%;
	}
	.wpcf7-form br {
		display: none; 
	}
	.wpcf7-form label {
		font-size: inherit; 
		margin-bottom: 0;
	}
   .wpcf7-form .elementor-field-group {
	   align-items: flex-start;
   }
   .wpcf7-form span.wpcf7-field-wrap {
	   position: relative;
	   display: block;
	   width: 100%;
   }
   .wpcf7-form span.wpcf7-field-wrap > *,
   .wpcf7-form span.wpcf7-field-wrap > * > * {
	   width: 100%;
   }
   .wpcf7-form input::placeholder,
   .wpcf7-form .wpcf7-textarea::placeholder,
   .wpcf7-form .wpcf7-select::placeholder {
	   opacity: 0;
   }
	.wpcf7-form .wpcf7-form-control {
		margin-bottom: 0 !important;
	}
   .wpcf7-form .wpcf7-form-control:not(.wpcf7-acceptance, .wpcf7-file, .wpcf7-checkbox, .wpcf7-radio, .wpcf7-submit),
   input[type="number"],
   select,
   input[type="text"],
   input[type="search"] {
	   padding: var(--cf-field--padding-top) var(--cf-field--padding-right) var(--cf-field--padding-bottom) var(--cf-field--padding-left);
	   border-radius: var(--cf-field--border-radius);
	   background-color: var(--cf-field--background-color);
	   border: 0;
	   border: var(--cf-field--border-width) var(--cf-field--border-style) var(--cf-field--border-color);
	   margin-top: 0;
   }
   .wpcf7-form .wpcf7-form-control:is(.wpcf7-acceptance, .wpcf7-file, .wpcf7-checkbox, .wpcf7-radio) {
	   padding: var(--cf-field--padding-top) 0 var(--cf-field--padding-bottom) 0;
   }
   .wpcf7-form .wpcf7-form-control:not(.wpcf7-acceptance, .wpcf7-file, .wpcf7-select, .wpcf7-checkbox, .wpcf7-radio, .wpcf7-date, .wpcf7-submit),
   input[type="number"],
   input[type="text"],
   input[type="search"] {
	   font-family: var( --e-global-typography-text-font-family ), Sans-serif;
		 font-size: var( --e-global-typography-text-font-size );
		 font-weight: var( --e-global-typography-text-font-weight );
		 line-height: var( --e-global-typography-text-line-height );
		 letter-spacing: var( --e-global-typography-text-letter-spacing );
		 word-spacing: var( --e-global-typography-text-word-spacing );
   }
   .wpcf7-form .wpcf7-form-control:hover,
   input:hover,
   select:hover {
	   border-color: var(--cf-field--border-color-hover) !important;
   }
   .wpcf7-form .wpcf7-form-control:focus,
   input:focus,
   select:focus {
	   outline: none;
	   /*border-bottom: 0;
	   margin-top: var(--cf-field--border-width);*/
   }

   /* ---- textarea ---- */
   .wpcf7-form .wpcf7-field-textarea label.wpcf7-label-wrap {
	   padding: calc( var(--cf-field--padding-top) * 2 ) var(--cf-field--padding-right) var(--cf-field--padding-bottom) var(--cf-field--padding-left);
	   align-items: flex-start;
   }
   
   /* ---- select ---- */
   .wpcf7-form .wpcf7-select {
	   padding: calc(var(--cf-field--padding-top) * 1.5) var(--cf-field--padding-right) calc(var(--cf-field--padding-bottom) * 1.5) var(--cf-field--padding-left) !important;
   }
   .wpcf7-form .wpcf7-select[multiple="multiple"] {
	   padding: calc(var(--cf-field--padding-top) * 1.5) 0 calc(var(--cf-field--padding-bottom) * 1.5) 0 !important;
   }
   .wpcf7-form .wpcf7-select option {
	   padding: var(--cf-field--padding-top) var(--cf-field--padding-right) var(--cf-field--padding-bottom) var(--cf-field--padding-left);
   }
   .wpcf7-form .wpcf7-select option:is(:checked) {
	   background-color: var( --e-global-color-secondary );
   }

   /* ---- date ---- */
   .wpcf7-form .wpcf7-date {
	   font-family: var( --e-global-typography-text-font-family ), Sans-serif;
		 font-size: var( --e-global-typography-text-font-size );
		 font-weight: var( --e-global-typography-text-font-weight );
		 line-height: var( --e-global-typography-text-line-height );
		 letter-spacing: var( --e-global-typography-text-letter-spacing );
		 word-spacing: var( --e-global-typography-text-word-spacing );
   }

   /* ---- checkboxes | radio | list-item ---- */
   .wpcf7-form .wpcf7-checkbox,
   .wpcf7-form .wpcf7-radio {
	   margin: 0;
	   display: flex;
	   flex-wrap: wrap;
   }
   .wpcf7-form .elementor-field-group:not(.wpcf7-field-acceptance) .wpcf7-list-item {
	   margin-left: var(--cf-list_item-horizzontal-gap);
   }
   .wpcf7-form .elementor-field-group.wpcf7-field-acceptance .wpcf7-list-item {
	   margin-left: 0;
   }
   input[type="checkbox"],
   input[type="radio"] {
	   border: 2px solid var(--cf-check_radio--border-color) !important;
	}
   input[type="checkbox"]:hover,
   input[type="radio"]:hover {
	   border-color: var(--cf-check_radio--border-color--hover) !important;
	}

	   /* --- row --- */
	   .wpcf7-form .wpcf7-list-row-direction .wpcf7-checkbox,
	   .wpcf7-form .wpcf7-list-row-direction .wpcf7-radio {
		   flex-direction: row;
	   }
	   .wpcf7-form .wpcf7-list-row-direction .wpcf7-list-item {
		   margin-top: var(--cf-list_item-vertical-gap);
	   }
	   
	   /* --- column --- */
	   .wpcf7-form .wpcf7-list-column-direction .wpcf7-checkbox,
	   .wpcf7-form .wpcf7-list-column-direction .wpcf7-radio {
		   flex-direction: column;
	   }
	   .wpcf7-form .wpcf7-list-column-direction .wpcf7-list-item:not(.first) {
		   margin-top: var(--cf-list_item-vertical-gap);
	   }
	   .wpcf7-form .wpcf7-list-column-direction .wpcf7-list-item.first {
		   margin-left: var(--cf-list_item-horizzontal-gap);
	   }

	   /* --- acceptance --- */
	   .wpcf7-form .wpcf7-field-acceptance {
			margin-bottom: calc(var(--cf-vertical-gap) / 1.5) !important;
			margin-top: calc(var(--cf-vertical-gap) / -2) !important;
	   }


   /* ----- MESSAGES ----- */
   .wpcf7-not-valid-tip {
	   position: absolute;
	   right: 0;
	   left: unset;
	   bottom: calc( -1 * 100% - 2px);
	   width: fit-content !important;
	   font-family: var( --e-global-typography-secondary-font-family ), Sans-serif;
	   font-size: var( --e-global-typography-secondary-font-size );
	   font-weight: var( --e-global-typography-secondary-font-weight );
	   line-height: var( --e-global-typography-secondary-line-height );
	   letter-spacing: var( --e-global-typography-secondary-letter-spacing );
	   word-spacing: var( --e-global-typography-secondary-word-spacing );
   }
	.wpcf7-submit{
		background-color: var(--e-global-color-accent) !important;
	}
	.wpcf7-submit:hover{
		background-color: var(--e-global-color-8e0f5c2) !important;
	}
	.wpcf7-submit:disabled {
    opacity: .35 ;
	}

	.wpcf7-submit:disabled:hover {
    opacity: .35 ;
    background-color: var(--e-global-color-accent) !important;
	}	



/* --------------------
 * WIDGETS
 * -------------------- */

/* ----- IMG Elementor ----- */
.elementor-widget-image:not(.elementor-widget-theme-site-logo, .no-shadow) img:not([src$=".svg"]), .shadow {
	box-shadow: 0px 8px 20px -6px rgba(0, 0, 0, 0.29);
}

/* ----- MAPPA DEL SITO ----- CATEGORY LIST ----- */
.elementor-sitemap-section .elementor-sitemap-title:before {
	content: "";
	display: block;
	widows
}
.elementor-sitemap-section .elementor-sitemap-item,
.wp-block-categories-list .cat-item {
	margin-bottom: 1.5em;
}
.elementor-sitemap-section .elementor-sitemap-item .children,
.wp-block-categories-list .cat-item .children {
	margin: 0.6em 0 0.6em 2em;
}
.elementor-sitemap-section .elementor-sitemap-item a,
.wp-block-categories-list .cat-item a {
	padding-top: 10px;
	padding-bottom: 10px;
	color: var( --e-global-color-1f534cc );
}
.elementor-sitemap-section .elementor-sitemap-item a,
.wp-block-categories-list .cat-item {
	position: relative;
}
.elementor-sitemap-section .elementor-sitemap-item a:after,
.wp-block-categories-list .cat-item:not(:has(ul)):after {
	background-color: var( --e-global-color-accent );
	left: 0;
	content: "";
	bottom: 0;
	z-index: 2;
	display: block;
	position: absolute;
	transition: .3s;
	transition-timing-function: cubic-bezier(.58,.3,.005,1);
	height: 2px;
	opacity: 1;
	width: 100%;
	transform: scale(1);
}
.wp-block-categories-list .cat-item:not(:has(ul)):after {
	bottom: -10px;
}
.elementor-sitemap-section .elementor-sitemap-item a:not(:hover):after,
.wp-block-categories-list .cat-item:not(:hover):after {
	height: 0;
	opacity: 0;
	width: 0;
	left: 50%;
}

.wp-block-categories-list .cat-item {
	
}

/* ----- AUX SEARCH FORM ----- */
.aux-search-section {
	--aux-search--submit--width: 130px;
}
.aux-search-section.aux-search-elementor-element form {
	flex-wrap: nowrap;
	flex-direction: row !important;
}
.aux-search-section.aux-search-elementor-element form .aux-search-input-form {
	width: calc( 100% - var(--aux-search--submit--width) );
}
.aux-search-section.aux-search-elementor-element form .aux-search-input-form input {
	border-radius: var(--cf-field--border-radius) 0 0 var(--cf-field--border-radius);
}
.aux-search-section.aux-search-elementor-element form input[type="submit"] {
	width: var(--aux-search--submit--width);
	padding: 10px 20px;
	background-color: var(--e-global-color-1f534cc) !important;
	margin: 0 !important;
	border-radius: 0 var(--cf-field--border-radius) var(--cf-field--border-radius) 0;
}

/* ----- BREADCRUMB ----- */
p.aux-breadcrumbs {
	margin: 0 0 0 -20px !important;
}

/*-------- BUTTO-TOP --------*/
.aux-goto-top-btn .aux-arrow-nav.aux-outline {
    width: 60px;
    height: 60px;
	box-shadow: 0 0 0 1px #3C6892 inset;
}

.aux-goto-top-btn .aux-svg-arrow{
	transform: scale(1.8);
    top: 40%;
    left: 45%;
}
.aux-goto-top-btn .aux-outline:hover .aux-hover-arrow{
	transform: scale(1.8) !important;
    top: 40%;
    left: 45%;
}

/*--------  FORM --------*/
.wpcf7-form .wpcf7-not-valid-tip{
    display: block;
    position: relative;
    margin-top: 10px !important;
    padding-bottom: 0px !important;
}
.wpcf7-form .wpcf7-field-wrap{
    margin-bottom: 10px;
}
.wpcf7-form .wpcf7-label-wrap{
    height: 46px !important;
}
.wpcf7-form span{
    padding-bottom: 10px;
}
.wpcf7-form span a{
    color: #003685;
}
.wpcf7-form .elementor-field-group .elementor-field-group:has(.wpcf7-field-wrap span.wpcf7cf-hidden){
	display:none; 
}
.wpcf7-form .campo-condizionale .wpcf7-form-control {
	width: 100%;
}
.wpcf7-form .campo-ruolo .wpcf7-field-wrap{
	margin-bottom: 20px !important;
}

.wpcf7-form .campo-condizionale p .wpcf7-field-wrap{
	margin-bottom: 0px !important;
}


/* --------------------
 * COOKIE (Complianz)
 * -------------------- */

	/* ----- BANNER ----- */
	.cmplz-cookiebanner {
		
	}

		/* ---- Header banner ---- */
		.cmplz-cookiebanner .cmplz-header {
			
		}
		.cmplz-cookiebanner .cmplz-title {
			
		}
		.cmplz-cookiebanner .cmplz-title.h5 {
			
		}
		.cmplz-cookiebanner .cmplz-logo {
			
		}
		.cmplz-cookiebanner .cmplz-logo img {
			
		}

		/* ---- body banner ---- */
		.cmplz-cookiebanner .cmplz-message {
			
		}

		/* ---- footer banner ---- */
		.cmplz-cookiebanner .cmplz-links {
			
		}

		/* ---- category banner ---- */
		.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header {
			
		}
		.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-description {
			
		}
		.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-category-title,
		.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active {
			
		}
		.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-icon.cmplz-open svg {
			
		}

	/* ----- COMPLIANZ BUTTONS ----- */
	.cmplz-btn.elementor-button {
		
	}

/* ---- Manage consens button ---- */
#cmplz-manage-consent .cmplz-manage-consent {
	font-size: 17px !important;
	left: 40px !important;
	right: auto !important;
	border-width: 1px 1px 0px 1px !important;
	border-style: solid !important;
	border-color: #3C6892 !important; 
}
