/*
Template: thefox
Theme Name: RIC 22
Description: RegoleInCloud - TheFox Child Theme [1.50]
Version: 0.1.0
*/

body {
	font-family: lft-etica, Roboto, sans-serif;
}

:root {
	--color-accent: #2179C0;
	--color-primary: #2A4F9F;
	--color-titles: #15274D;
	--color-dark: #182C41;
	--color-lights: #21C2F7;
	--color-bg: #EBECED;
	--color-muted: #737D94;

	--col-ric-yellow: #f9b232;
	--col-ric-blue: #2a4a9d;

	--col-ts-01: #71bfed;
	--col-ts-02: #199ed9;
	--col-ts-03: #1e62ab;
	--col-ts-04: #144391;
	--col-ts-05: #c00b6c;
	--col-ts-06: #e82f72;
	--col-ts-07: #ec694b;
	--col-ts-08: #f8b334;
}

p {
	line-height: 1.45;
}

h1, h2, h3 {
	font-weight: 600;
}


/* FIX */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 65px;
}
[id] {
	scroll-margin-top: 65px;
}


/* testata */
@media only screen and (max-width: 479px) {
	#header_container {
		max-height: 84px!important;
		height:84px;
	}
}


header > .wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}
.header__aux-menu {
	display: flex;
	gap: 16px;
	align-items: center;
	flex-wrap: nowrap;
	width: auto;
	flex: 1 1 auto;
	justify-content: flex-end;
}
.header__aux-menu > li {
	text-transform: uppercase;
	text-align: center;
	flex-basis: 9em;
}
.header__aux-menu > li > a {
	padding: .2em 24px;
	display: block;
	white-space: nowrap;
	line-height: 1.2;
	color: #fff;
}
.header__aux-menu > li.topbar__btn > a {
	border: 3px solid #fff;
	border-color: currentColor;
}
.header__aux-menu > li.btn--signup > a {
	color: var(--col-ts-02);
}
.header__aux-menu > li.btn--login > a {
	color: var(--col-ric-yellow);
}
.header__aux-menu > li > a:hover {
	color: #fff;
}


.header_bottom_nav {
	position: relative;
	padding-bottom: 8px;
}
.mt_menu.sticky_header::after,
.header_bottom_nav::after {
	content: '';
	display: block!important;
	height: 8px;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	visibility: visible;
	width: auto;
}
.ts-rainbow,
.mt_menu.sticky_header::after,
.header_bottom_nav::after {
	background: none transparent no-repeat 50% 50%;
	background-image: linear-gradient(to right,
	 var(--col-ts-01)  0%, var(--col-ts-01) 10%,
	 var(--col-ts-02) 10%, var(--col-ts-02) 23%,
	 var(--col-ts-03) 23%, var(--col-ts-03) 36%,
	 var(--col-ts-04) 36%, var(--col-ts-04) 50%,
	 var(--col-ts-05) 50%, var(--col-ts-05) 64%,
	 var(--col-ts-06) 64%, var(--col-ts-06) 77%,
	 var(--col-ts-07) 77%, var(--col-ts-07) 90%,
	 var(--col-ts-08) 90%, var(--col-ts-08) 100%
	);
}
:root {
	--bg-ts-rainbow: linear-gradient(to right,
	 var(--col-ts-01)  0%, var(--col-ts-01) 10%,
	 var(--col-ts-02) 10%, var(--col-ts-02) 23%,
	 var(--col-ts-03) 23%, var(--col-ts-03) 36%,
	 var(--col-ts-04) 36%, var(--col-ts-04) 50%,
	 var(--col-ts-05) 50%, var(--col-ts-05) 64%,
	 var(--col-ts-06) 64%, var(--col-ts-06) 77%,
	 var(--col-ts-07) 77%, var(--col-ts-07) 90%,
	 var(--col-ts-08) 90%, var(--col-ts-08) 100%
	);
}
.mt_menu.sticky_header::after {
	top: 100%;
}


/* titolo di pagina */
.page_title_ctn {
	color: #fff;
	background: #2A4F9F no-repeat 50% 50%;
	background-image: linear-gradient(to right, transparent 10%, rgba(0,0,0,0.5) 50%, transparent 90%);
	padding: 43px 0;
}
.page_title_ctn > .wrapper {
	margin: -13px auto;
}
.page_title_ctn h1 {
	font-size: 36px;
	line-height: 1.15;
	font-weight: 300;
	font-family: lft-etica, sans-serif;
	color: inherit!important;

	text-transform: uppercase;
}
.page_title_ctn #crumbs span,
.page_title_ctn a {
	color: inherit!important;
}
.page_title_ctn .table_wrapper > h1 {
	max-width: 420px;
	float: left;
}

/* breadcrumbs fuori dal titolo */
#top_bg > #breadcrumbs {
	position: static;
	margin-top: auto;
	padding: 16px 0;
}
#posts > #breadcrumbs {
	right: auto;
	top: 0;
	margin: 0;
	padding: 16px 0;
}
#posts > #breadcrumbs > #crumbs,
#top_bg > #breadcrumbs > #crumbs {
	font-size: 12px;
}
#top_bg > #breadcrumbs + .section > .section_wrapper > .business_posts {
	padding-top: 0;
}
#top_bg > #breadcrumbs + .section > .section_wrapper > .business_sidebar {
	padding-top: 35px;
}

#breadcrumbs #crumbs a {
	color: #2179C0;
}
#crumbs > span {
	margin-right: .5em;
}



/* contenuti */
.con-sfondo .wpb_wrapper > * {
	color: inherit;
}
.entry-content ul {
	list-style: initial;
	padding-left: 1em;
}

.def_section h3 {
	color: var(--col-ts-02);
}

.page-intro {
	font-size: 1.5em;
}
.page-subtitle {
	font-size: 1.1em;
	line-height: 1.2;
	font-weight: 600;
	color: var(--col-ts-02);
}
.page-title.vc_custom_heading + .page-subtitle {
	margin-top: -1em;
}

.page-title,
.primary-title {
	font-size: 2rem;
	position: relative;
}
.primary-title::after {
	content: '';
	display: block;
	height: 0;
	width: 50%;
	min-width: 12em;
	max-width: 100%;
	border-bottom: 3px solid var(--col-ts-03);
	margin: .15em 0;
	opacity: .6;
}

@media screen and ( min-width: 1035px ) {
	.vc_span6.page-intro > .vc_column-inner > .wpb_wrapper {
		padding-right: 30px;
	}	
}



/* fascia CTA in home */
.rd_cta_2 {
	border: 0 none !important;
	padding: 0;
}
.rd_cta_2 > .promo_text {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0 none !important;
	font-size: 1.5rem;
	font-weight: 300;
	padding: 15px 0;
}
.rd_cta_2 .promo_text_ctn {
	width: auto;
}
.rd_cta_2 .promo_btn {
	margin: 15px 25px;
	color: inherit;
	border: 3px solid;
	border-radius: 0;
	font-weight: 400;
	font-size: 1rem;
}
.rd_cta_2 .promo_title {
	color: inherit;
	font-weight: 600;
	line-height: 1.15;
	font-size: 1.4rem;
}
.rd_cta_2 .promo_text {
	line-height: 1.0;
}
.rd_cta_2 .cta_mt {
	font-size: .7em;
}
.rd_cta_2 .promo_text p {
	line-height: 1.1;
	margin: .1em 0;
}
@media screen and ( max-width:479px ) {
	.rd_cta_2 > .promo_text {
		display: block;
		text-align: center;
	}
}
@media screen and ( min-width: 1215px ) {
	.rd_cta_2 > .promo_text {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		padding: 20px 0;
	}
}

/* CTA con VC row */
.tf_btn_pos > .rd_normal_bt {
	border:  3px solid #fff;
	border-radius: 2px!important;
}
.vc_row-cta .vc_custom_heading {
	margin-bottom: .25em;
}
@media screen and ( max-width: 767px ) {
	.vc_row-cta .wpb_column {
		text-align: center;
	}
	.vc_row-cta .wpb_column:not(:last-child) {
		margin-bottom: 16px;
	}
	.vc_row-cta .vc_custom_heading {
		text-align: center!important;
	}
}

/* Footer */

.footer-logo {
	padding-right: 35px;
	margin-bottom: 25px;
}
#footer {
	color: #000;
}
#footer p {
	line-height: 1.45;
}
#footer h2 {
	text-transform: uppercase;
	font-size: 1em;
	font-weight: 800;
	margin: 0 0 .2em;
	color: #000!important;
}
#footer a {
	color: #000;
	line-height: 1.5;
}
ì
#footer strong {
	font-weight: 800;	
	color: #000;
}
#footer .menu-item,
.textwidget li {
	margin-bottom: .25em;
}
#footer .menu-item a {
	padding: 0;
	color: #000;
}
#footer .menu-item a:before {
	content: none;
}
.footer_type_1 .widget_nav_menu {
	margin-bottom: 40px;
}
#sidebar .thefox_social_widget_icons div a,
#footer .thefox_social_widget_icons div a {
	background-color: transparent!important;
	padding: 0;
	color: #000!important;
	font-size: 1.7em;
}

#footer .menu-footer-policy {
	font-size: 0.9em;
}
#footer .menu-footer-policy li {
	float: left;
	margin-right: 4px;
	line-height: 1.5;
}
#footer .icon-footer-indirizzo {
	font-size: .9em;
	line-height: 1.5em;
}

#footer .textwidget > p {
	color: #000;
	font-weight: 300;
}
#footer .textwidget i.fas {
	font-size: 1.2em;
	width: 1.5em;
	display: inline-block;
	margin-left: -1.7em;
	text-align: center;
}

#footer .btn-footer {
	background-color: #182c41;
	padding: 5px 10px;
	color: #fff !important;
	margin-top: 0px!important;
	display: inline-block;
}

#footer .btn-footer a {
	color: #fff !important;
}



/* Pulsanti */
.rd_stroke_bt.border-color {
	border-color:#2179C0!important;
}
.rd_stroke_bt.border-color-white {
	border-color:#fff!important;
}
.medium_rd_bt {
	padding: 14px 18px 15px!important;
}




/* Carousel "funzionalità" */
.nm_carousel-item {
	font-size: .85em;
	padding: 0 20px;
}
.nm_carousel-item h5 {
	min-height: 2.4em;
}
.nm_carousel-item .wpb_single_image.wpb_content_element {
	margin-bottom: 16px;
}


/* Header & logo */
#header_container header {
	min-height: 48px;
}
div#logo_img {
	line-height: 48px;
	max-height: 48px;
}
#logo_img img {
	max-height: 32px;
}


/* Icona Menù "panino" */
header > .wrapper > #nav_button {
	display: block!important;
	float: left;
	width: 36px;
	color: #fff;

	margin: 3px 24px 3px 0;
	height: 40px;
}
header > .wrapper > #nav_button::before {
	font-family: "FontAwesome";
	display: block;
	content: "\f0c9";
	padding: 8px 0 0 0px;
	text-align: center;
	margin-left: -1px;

	color: inherit;
	font-size: 36px;	
}

/* Icona Menù sticky header */
.menu_slide.sticky_header > .wrapper {
	display: flex;
}
.sticky_header > .wrapper > #nav_button_alt {
	order: -1;
	width: 36px;
	margin-right: 15px;
	color: #fff;
}
.sticky_header > .wrapper > #nav_button_alt::before {
	color: inherit;
	font-size: 32px;
}

/* Menù "primario" header */
.header_bottom_nav nav {
	float: none;
	margin:auto;
	display: flex;
	justify-content: center;
	height: 100%;
}
.header_bottom_nav nav > ul {
	float: none;
}
.header_bottom_nav.nav_type_17 {
	min-height: auto;
	border-top: 0 none!important;
}
ul.main-menu > li > a {
	padding: 8px 16px;
	margin: 0;
	border: 0;
}
.nav_type_17 .main-menu > li.current-menu-item > a,
.nav_type_17 .main-menu > li > a:active,
.nav_type_17 .main-menu > li > a:hover {
	border: 0!important;
	background: #eee;
	color: #000;
}
@media only screen and (min-width: 768px) and (max-width: 1035px) {
	.header_bottom_nav nav > #nav_button {
		display: none!important;
	}
}
@media (min-width: 1036px) {
	header > .wrapper > #nav_button {
		display: none!important;
	}
}


/* Menù mobile come Select */
.header_bottom_nav > .wrapper {
	height: 100%;
}
.menu-select {
	display: flex;
	align-items: center;
}
.menu-select > label {
	margin-right: .6em;
	font-size: .9em;
	font-weight: 300;
}
.menu-select > select {
	padding: 5px 10px;
	font-weight: 300;
	font-size: 1.3em;
	line-height: 1.25;
	font-family: inherit;
	color: inherit;
	border: 1px solid #ddd;
	cursor: pointer;
}
.menu-select > select > option {
	font-weight: 300;
	background-color: #f5f5f5;
}
@media (min-width:1036px) {
	#header_container nav > .menu-select {
		display: none;
	}
}
@media (max-width:1035px) {
	.header_bottom_nav {
		min-height: auto!important;
	}
}
.mt_menu .menu-select {
	background-color: inherit;
	color: #fff;
	margin: 0 0 0 auto;
}
.mt_menu .menu-select > select {
	background-color: inherit;
	color: inherit;
}
.mt_menu .menu-select > select > option {
	color: #15274D;
}

@media only screen and (max-width: 480px) {
	.mt_menu > .wrapper {
		flex-wrap: wrap;
		justify-content: center;
	}
	.mt_menu #logo_img {
		line-height: 36px;
		max-height: 36px;
		margin: 4px;
	}
	.mt_menu #nav_button_alt {
		position: absolute;
		left: 0;
		top: 0;
	}
	.mt_menu .menu-select {
		margin: 6px auto;
		flex-basis: 100%;
		justify-content: center;
	}
	.mt_menu .menu-select > select {
		padding: 3px 6px;
		font-size: 1.2em;
	}
}



/* Menù "primario" a scorrimento, a comparsa da sinistra (non più da dx) */
.menu_slide.slided_body {
	transform: translateX(269px);
}
div#mobile-menu {
	transform: translateX(-100%);
	right: auto;
	left: 0;
}


#header_container nav > .menu li > a:not([href]) {
	cursor: default;
}



/* Woocommerce */
.woocommerce a.button {
	border-radius: 0!important;
}

.woocommerce-tabs li.active {
	margin-bottom: -1px;
}



/* Form "Incorniciati" */
.form-outline.wpb_row > .wpb_column,
.form-outline.wpb_column > .vc_column-inner,
.single-post-form {
	padding: 2em 25px;
	border: 2px solid #2179C0;
	clear: both;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 0.9em;
}
.form-outline__title,
.single-post-form > h3:first-child,
.form-outline .wpb_wrapper > h4:first-child,
.form-outline .wpb_wrapper > h3:first-child {
	text-align: center;
	color: #15274D;
	padding: .2em .6em;
	font-size: 2.2em;
	background: #fff;
	margin: -1.75em auto 1em;
	width: fit-content;
}
#single-post-form {
	margin: 3em 4%;
}



/* Hubspot */

.hbspt-form {
	font-size: 16px;
}

[class^="form-columns-"] > div:first-child,
[class^="form-columns-"] > div {
	margin-top: 0;
	margin-bottom: 10px;
}
/* [reset] */
.hbspt-form form div {
	margin-top: auto;
}
.hbspt-form fieldset {
	margin-bottom: 16px;
}
.single-post-form .hbspt-form fieldset {
	max-width: none;
}

.hbspt-form fieldset[class^="form-columns-"] {
	margin-left: -8px;
	margin-right: -8px;
}
.hbspt-form fieldset[class^="form-columns-"] > div {
	padding-left: 8px;
	padding-right: 8px;
}
.hbspt-form fieldset[class^="form-columns-"] > .hs-form-field .input {
	margin-right: 0!important;
	display: flex;
}
.hbspt-form fieldset[class^="form-columns-"] > .hs-form-field .input > input,
.hbspt-form fieldset[class^="form-columns-"] > .hs-form-field .input > select,
.hbspt-form fieldset[class^="form-columns-"] > .hs-form-field .input > textarea {
	flex: 1 1 100%;
	max-width: calc(100% - 1.2em);
	font-size: .85em;
}

.form-outline .hbspt-form fieldset[class^="form-columns-"] {
	margin-left: auto;
	margin-right: auto;
	max-width: 560px;
}

.hbspt-form input[type="text"],
.hbspt-form input[type="email"],
.hbspt-form input[type="tel"],
.hbspt-form input[type="password"],
.hbspt-form input[type="file"],
.hbspt-form select.hs-input,
.hbspt-form textarea {
	margin-top: initial;
	box-sizing: content-box;

	background: #E9EDF5;
	border: 0 none;
	border-radius: 0;
	padding: .6em;
	box-shadow: none;
	-webkit-appearance: initial;
	height: 1.5em;
	color: inherit;
}
.hbspt-form input[type="radio"],
.hbspt-form input[type="checkbox"],
.hbspt-form textarea {
	height: auto;
}

.hs-error-msg {
	font-size: .8em;
	opacity: .8;
}
.hs-form-field > label {
	font-size: .9em;
	margin: 0 0 .3em;
	display: inline-block;
	opacity: .8;
}
input.hs-button {
	color: #fff;
	background-color: #2A4F9F;
	font-weight: 500;
}
input.hs-button.primary {
	padding-left: 1.3em; 
	padding-right: 1.3em; 
}
.hs_submit .actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.hbspt-form .inputs-list {
	margin-left: 0
}
.hbspt-form .inputs-list > li {
	list-style: none;
}
.hs-form-booleancheckbox-display {
	display: flex;
}
.hs-form-booleancheckbox-display > input[type="checkbox"] + span {
	margin-left: .75em;
}
.legal-consent-container,
.hs_ok_terze_parti .hs-form-booleancheckbox > label {
	/* font-size: .85em; */
	line-height: 1.2;
	color: #555;
}
/*.form-columns-1 > div.hs_ok_terze_parti {
	margin-top: 24px;
}*/
.hbspt-form div.hs-fieldtype-booleancheckbox {
	margin-bottom: 1.5em;
}

/* Portfolio, Prodotto */
/* fascia titolo */
.pg_title {
	text-align: center;
	padding: 40px 0!important;
	min-height: 350px;
	display: flex;
}
.pg_title > .wrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.pg_title h1 {
	font-size: 3.6em;
	margin: 0 auto .2em;
}
.pg_title h1:after {
	content: '';
	display: block;
	height: 0;
	width: 100%;
	min-width: 400px;
	border-top: 3px solid var(--color-accent);
	margin: .1em auto 0;
}
.pg_title__byline,
.pf_byline {
	font-size: 1.5em;
	margin-bottom: -.1em;
}
.pf_cats {
	font-size: 1.3em;
	font-weight: 700;
}
.pf_tags {
	font-size: 1.3em;	
}
.pg_title__subtitle {
	font-size: 1.25em;
}
.pg_title__action-btn {
	margin: 1.6em 0 0;
	font-size: .9em;
	line-height: 1.1;
	text-transform: uppercase;
	padding: .7em 1em;
	background: var(--color-accent);
	align-self: center;
	flex: 0 0 auto;
	display: inline-block;
}
@media screen and ( max-width:1035px ) {
	.pg_title {
		font-size: .9em;
	}
}
@media screen and ( max-width:767px ) {
	.pg_title {
		font-size: .75em;
		min-height: 300px;
	}
}
@media screen and ( max-width:480px ) {
	.pg_title {
		font-size: .67em;
		min-height: 0;
	}
	.pg_title h1 {
		font-size: 3em;
	}
	.pg_title h1:after {
		min-width: 0;
	}
}


/* Testimonial Portfolio */
.rd_tm_8 .tm_text,
.rd_tm_10 .tm_text {
	color: inherit!important;
	line-height: 1.2;
	font-size: 1.3em;
	font-weight: 300;
	font-style: normal;
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
}
.rd_tm_8 .tm_info,
.rd_tm_10 .tm_info {
	font-size: 1.5em;
	font-weight: 300;
	color: inherit!important;
}
.rd_tm_10 .tm_image {
	width: 158px;
	height: 158px;
	margin-left: -79px;
	padding: 0;
	border: 4px solid #fff!important;
	top: 25px;
}
.rd_tm_10 .tm_image img {
	padding: 0;
}
.rd_tm_8 .tm_author,
.rd_tm_10 .tm_author {
	color: inherit!important;
	font-size: 1.2em;
	font-weight: 700;
}
.rd_tm_8 .tm_info,
.rd_tm_8 .tm_author {
	text-transform: none;
	letter-spacing: normal;
	margin-bottom: .4em;
}
.rd_tm_8 .tm_nav {
	margin-top: 10px;
	height: 25px;
}



.sb_widget h3 {
	padding-left: 0;
}



/* apri-chiudi categorie prodotti: disattivato */
#sidebar .cat-item .children,
.wpb_widgetised_column .cat-item .children {
	display: block!important;
}


#sidebar .cat-item .children a,
.wpb_widgetised_column .cat-item .children a,
#sidebar .cat-item a,
.wpb_widgetised_column .cat-item a {
	font-weight: normal!important;
	text-transform: none;
	letter-spacing: normal;
	padding: .3em 0;
}

.cat-item > a:active {
	color: #0b9caf;
}

#sidebar .cat-item .children a,
.wpb_widgetised_column .cat-item .children a {
	padding: .25em 0 .25em 24px!important;
}

#sidebar .cat-item.current-cat > a,
.wpb_widgetised_column .cat-item.current-cat > a {
	color: #0b9caf!important;
	font-weight: 600!important;
}

#sidebar .cat-item.current-cat-parent > a,
.wpb_widgetised_column .cat-item.current-cat-parent > a {
	font-weight: 600!important;
}

#sidebar .cat-item,
.wpb_widgetised_column .cat-item,
#sidebar .cat-item .children,
.wpb_widgetised_column .cat-item .children {
	border-top: 0 none!important;
}



/* Single Product */

.single-product-extra-content {
	clear: both;
	margin: 2em 0;
	float: left; width: 100%; /* per uniformità col tema */
}
.woocommerce-tabs:after,
.single-product-extra-content:after {
	content: '';
	display: table;
	clear: both;
}
.single-product-extra-content #single-post-form {
	max-width: 768px;
	margin: auto;
	margin-top: 2em;
}

.rd_woo_short_description .tf_btn_pos {
	margin: 2em auto;
}


/* Categoria prodotti: sidebar in alto, su mobile */
@media only screen and (max-width: 767px) {
	.tax-product_cat #top_bg > .section > .wrapper {
		display: flex;
		flex-direction: column;
	}	
	.tax-product_cat #top_bg > .section > .wrapper > #posts {
		padding-top: 2em;
		max-width: 360px;
		margin: auto;
	}
	.tax-product_cat #top_bg > .section > .wrapper > #sidebar {
		order: -1;
		padding: 2em 2% 0;
		border-bottom: 2px solid var(--color-bg)
	}	
}

/* Pricetable fix */
.rd_pt_10 > .pricetable .pricetable-column.pricetable-standard.pricetable-last {
	border-right: 1px solid;
}