#main { padding-top: 50px; }

p, ul {
	font-size: 18px
}

ul{
	padding:0
}

.page-header.wpb_column.vc_column_container:before, 
.page-header.wpb_column.vc_column_container:after {
  content: " ";
  display: block;
  height: 70px;
  width: 70px;
  position: absolute;
  top: -39px;
  left: -200%;
  border-style: solid;
  border-width: 17.5px 17.5px 0 0;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transform-origin: top left;
  -moz-transform-origin: top left;
  transform-origin: top left;
  opacity: 0;
  z-index: -1;
	-webkit-transition: all .9s ease-out .2s;
	-moz-transition: all .9s ease-out .2s;
	transition: all .9s ease-out .2s;
}

	.loaded .page-header.wpb_column.vc_column_container:before {
		left: -20px;
		opacity: 0.6;
		-webkit-transition-delay: .4s;
		-moz-transition-delay: .4s;
		transition-delay: .4s;
	}

		.loaded .page-header.wpb_column.vc_column_container:after { left: -2.5px; opacity: 0.2; }

	.page-header > .vc_column-inner > .wpb_wrapper:after {
		content: " ";
		display: block;
		height: 70px;
		width: 70px;
		position: absolute;
		bottom: 10px;
		right: -200%;
		opacity: 0;
		border-style: solid;
		border-width: 17.5px 17.5px 0 0;
		-webkit-transform: scaleX(-1) rotate(45deg);
		-moz-transform: scaleX(-1) rotate(45deg);
		transform: scaleX(-1) rotate(45deg);
		-webkit-transform-origin: top left;
		-moz-transform-origin: top left;
		transform-origin: top left;
		z-index: -1;
		-webkit-transition: all .9s ease-out .3s;
		-moz-transition: all .9s ease-out .3s;
		transition: all .9s ease-out .3s;
	}
	
		.loaded .page-header > .vc_column-inner > .wpb_wrapper:after {
			opacity: 0.4;
			right: -82px;
		}
		
	.orange .page-header.wpb_column.vc_column_container:before,
	.orange .page-header.wpb_column.vc_column_container:after,
	.orange .page-header > .vc_column-inner > .wpb_wrapper:after { border-color: #ee7736; }
	
	.yellow .page-header.wpb_column.vc_column_container:before,
	.yellow .page-header.wpb_column.vc_column_container:after,
	.yellow .page-header > .vc_column-inner > .wpb_wrapper:after { border-color: #e7b125; }
	
	.blue .page-header.wpb_column.vc_column_container:before,
	.blue .page-header.wpb_column.vc_column_container:after,
	.blue .page-header > .vc_column-inner > .wpb_wrapper:after { border-color: #4e799f; }
	
	.green .page-header.wpb_column.vc_column_container:before,
	.green .page-header.wpb_column.vc_column_container:after,
	.green .page-header > .vc_column-inner > .wpb_wrapper:after { border-color: #4fab84; }
	
	.red .page-header.wpb_column.vc_column_container:before,
	.red .page-header.wpb_column.vc_column_container:after,
	.red .page-header > .vc_column-inner > .wpb_wrapper:after { border-color: #ca2e4b; }

	h1.vc_custom_heading {
		margin-top: 0;
		margin-bottom: 5px;
		line-height: .9em;
		font-family: "Myriad Pro", sans-serif;
		font-weight: 400;
		text-transform: uppercase;
	}
	
	h1.vc_custom_heading + .wpb_text_column p:first-child {
		margin-top: 0;
	}
	

/* FRECCE */
.imm-arrow {
	display: block;
	height: 45px;
	width: 45px;
	border-style: solid;
	border-width: 15px 15px 0 0; 
}

/* TITOLI */
h2 { 
	line-height: 1;
	margin-top: 0;
	text-transform: uppercase;
}

h2:before {
    content: " ";
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    position: relative;
    top: 0.03em;
    margin-right: 0.25em;
    background-color: currentColor;
}

h2[style*="text-align: right"]:before {
	content: none;
}

h2[style*="text-align: right"]:after {
    content: " ";
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    position: relative;
    top: 0.03em;
    margin-left: 0.25em;
    background-color: currentColor;
}


	
/* FORM */
.wpcf7 .flex-col-grid {
    padding: 0 1em;
}

.wpcf7 input:not([type='checkbox']):not([type='submit']), .wpcf7 textarea, .wpcf7 select {
	display: block;
    color: #424242;
    border: 1px solid #afafaf;
    padding: 4px;
    font-size: 14px;
    opacity: 0.75;
    -webkit-transition: opacity .3s linear, box-shadow .3s linear;
    -moz-transition: opacity .3s linear, box-shadow .3s linear;
    transition: opacity .3s linear, box-shadow .3s linear;
}

.wpcf7 select {
    background-color: #fff;
    padding: 3px 4px;
}

	.wpcf7 input:not([type='checkbox']):not([type='submit']):focus, .wpcf7 textarea:focus, .wpcf7 select:focus {
		opacity: 1;
		box-shadow: 0px 0px 5px #999999;
	}
	
	.wpcf7-form.submitting button.wpcf7-submit.arrow-btn {
		pointer-events: none;
		color: #FFFFFF00;
		background-image: url(https://wwwimmaginificiocod5810.zapwp.com/q:u/r:0/wp:0/w:1/u:https://www.immaginificio.com/wp-content/themes/immaginificio/img/loading.gif);
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
	}
	
		.wpcf7-form.submitting button.wpcf7-submit.arrow-btn:before, .wpcf7-form.submitting button.wpcf7-submit.arrow-btn:after {
			opacity: 0;
		}

/* WIDGET CALL TO ACTION */

.vc_general.vc_cta3.vc_cta3-style-classic:not(.vc_cta3-color-classic).grey .vc_cta3-content-header h2	{ color: #424242; }
.vc_general.vc_cta3.vc_cta3-style-classic:not(.vc_cta3-color-classic).orange .vc_cta3-content-header h2	{ color: #ee7736; }
.vc_general.vc_cta3.vc_cta3-style-classic:not(.vc_cta3-color-classic).yellow .vc_cta3-content-header h2	{ color: #e7b125; }
.vc_general.vc_cta3.vc_cta3-style-classic:not(.vc_cta3-color-classic).blue .vc_cta3-content-header h2	{ color: #4e799f; }
.vc_general.vc_cta3.vc_cta3-style-classic:not(.vc_cta3-color-classic).green .vc_cta3-content-header h2	{ color: #4fab84; }
.vc_general.vc_cta3.vc_cta3-style-classic:not(.vc_cta3-color-classic).red .vc_cta3-content-header h2	{ color: #ca2e4b; }

/* PULSANTE "CLICCAMI" */

.wpb_wrapper .orange .lp-button span, body .wpb_wrapper .orange .lp-button:before, body .wpb_wrapper .orange .lp-button:after { background-color: rgba(238, 119, 54, .8); }
.wpb_wrapper .yellow .lp-button span, body .wpb_wrapper .yellow .lp-button:before, body .wpb_wrapper .yellow .lp-button:after { background-color: rgba(231, 177, 37, .8); }
.wpb_wrapper .blue .lp-button span, body .wpb_wrapper .blue .lp-button:before, body .wpb_wrapper .blue .lp-button:after { background-color: rgba(78, 121, 159, .8); }
.wpb_wrapper .green .lp-button span, body .wpb_wrapper .green .lp-button:before, body .wpb_wrapper .green .lp-button:after { background-color: rgba(79, 171, 132, .8); }
.wpb_wrapper .red .lp-button span, body .wpb_wrapper .red .lp-button:before, body .wpb_wrapper .red .lp-button:after { background-color: rgba(202, 46, 75, .8); }

.wpb_wrapper .orange .lp-button:hover span, body .wpb_wrapper .orange .lp-button:hover:before, body .wpb_wrapper .orange .lp-button:hover:after { background-color: #ee7736; }
.wpb_wrapper .yellow .lp-button:hover span, body .wpb_wrapper .yellow .lp-button:hover:before, body .wpb_wrapper .yellow .lp-button:hover:after { background-color: #e7b125; }
.wpb_wrapper .blue .lp-button:hover span, body .wpb_wrapper .blue .lp-button:hover:before, body .wpb_wrapper .blue .lp-button:hover:after { background-color: #4e799f; }
.wpb_wrapper .green .lp-button:hover span, body .wpb_wrapper .green .lp-button:hover:before, body .wpb_wrapper .green .lp-button:hover:after { background-color: #4fab84; }
.wpb_wrapper .red .lp-button:hover span, body .wpb_wrapper .red .lp-button:hover:before, body .wpb_wrapper .red .lp-button:hover:after { background-color: #ca2e4b; }


.lp-btn-wrapper {
    height: 80px;
    font-size: 20px;
}

body .lp-button  {
    height: 100%;
    padding-top: 3px;
    font-family: "ImmaginiFont", sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}


body .lp-button span {
    transition: color 1s linear 1s, transform 1s linear .5s; 
    display: inline-block;
	width: auto;
	line-height: 80px;
    height: 100%;
	position: relative;
	vertical-align: top;
	color: transparent;
    padding: 3px 15px 0 15px;
    -webkit-transform: scaleX(0); 
    -moz-transform: scaleX(0); 
    transform: scaleX(0); 
}

body.loaded .lp-button span { 
	-webkit-transform: scaleX(1); 
    -moz-transform: scaleX(1); 
    transform: scaleX(1);  
	color: #fff;
}


/*body .lp-button:before,
body .lp-button:after {
    content: " ";
    display: inline-block;
    height:100%;
    width:40px;
    top:0;
    position: relative;
}

body.loaded .lp-button:before {
	left: calc(50% - 39px);
	border-radius: 40px 0 0 40px;
	transition: left 1s linear .5s;
}

body.loaded .wpb_column.animated .lp-button:before {
    left: 0;
}

body.loaded .lp-button:after {
	right: calc(50% - 39px);
	border-radius: 0 40px 40px 0;
	transition: right 1s linear .5s;
}

body.loaded .wpb_column.animated .lp-button:after {
	right: 0;
}*/


	body .wpb_gallery_slides.wpb_flexslider.flexslider_fade.flexslider {
		margin-bottom: 0;
		border: none;
		box-shadow: none;
		overflow: visible !important;
		border-radius: 0;
	}
		
		body .wpb_gallery, body .wpb_gallery a 							 { color: #424242; }
		body .wpb_gallery.orange, body .wpb_gallery.orange a { color: #ee7736; }
		body .wpb_gallery.yellow, body .wpb_gallery.yellow a { color: #e7b125; }
		body .wpb_gallery.blue, body .wpb_gallery.blue a		 { color: #4e799f; }
		body .wpb_gallery.green, body .wpb_gallery.green a	 { color: #4fab84; }
		body .wpb_gallery.red, body .wpb_gallery.red a			 { color: #ca2e4b; }
		body .wpb_gallery.transparent, body .wpb_gallery.transparent a { color: transparent; }
		
		body .wpb_gallery .wpb_flexslider .flex-control-nav {
			height: 25px;
			padding: 7px 0;
			position: absolute;
			top: auto;
			bottom: 0;
			margin: 0;
		}
		
			body .wpb_gallery .wpb_flexslider .flex-control-nav.flex-control-paging li a {
				border-radius: 0;
				background: currentColor;
				opacity: .5;
				box-shadow: none;
				-webkit-transition: all .3s ease;
				-o-transition: all .3s ease;
				transition: all .3s ease;
			}
			
				body .wpb_gallery .wpb_flexslider .flex-control-nav.flex-control-paging li a.flex-active,
				body .wpb_gallery .wpb_flexslider .flex-control-nav.flex-control-paging li a:hover {
					background: currentColor;
					opacity: 1;
				}
		
		body .wpb_gallery .wpb_flexslider .flex-direction-nav a {
			text-shadow: none;
			margin: -23.5px 0 0;
			height: 47px;
			width: 47px;
			color: currentColor;
		}
		
			body .wpb_gallery .wpb_flexslider .flex-direction-nav a.flex-prev:before {
				content: " ";
				height: 30px;
				width: 30px;
				border-width: 10px 0 0 10px;
				border-style: solid;
				border-color: currentColor;
				transform: rotate(-45deg);
				transform-origin: right center;
				margin-left: 2px;
				margin-bottom: 20px;
				margin-top: -2px;
			}
			
			body .wpb_gallery .wpb_flexslider .flex-direction-nav a.flex-next:before {
				content: " ";
				height: 30px;
				width: 30px;
				border-width: 0 10px 10px 0;
				border-style: solid;
				border-color: currentColor;
				transform: rotate(-45deg);
				transform-origin: right center;
				margin-right: 11px;
				margin-bottom: 20px;
				margin-top: -2px;
			}

/* PRIVACY E PULSANTE INVIO */
.wpcf7-submit.arrow-btn{
    position: relative;
    background-color: transparent;
	display: block;
	margin: 15px auto 0;
	right: 0;
	border: none;
	padding-top: 8px;
	padding-right: 36px;
    font-family: "ImmaginiFont", sans-serif;
    font-size: 50px;
    line-height: 28px;
    font-weight: 700;
    text-transform: uppercase;
    color: #424242;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    transition: all 0.2s linear;
    -webkit-transform-origin: right center;
    -moz-transform-origin: right center;
    transform-origin: right center;
    opacity: .8;
    cursor: pointer;
}

	.wpcf7-submit.arrow-btn:hover {
		right: -10px;
		opacity: 1;
	}

		.wpcf7-submit.arrow-btn:before {
			right: 13px;
		}

		.wpcf7-submit.arrow-btn:after {
			right: 5px;
			opacity: .60;
		}

		.wpcf7-submit.arrow-btn:before, .wpcf7-submit.arrow-btn:after,
		.wpcf7 .ajax-loader:before, .wpcf7 .ajax-loader:after{
			content: " ";
			position: absolute;
			display: block;
			top: 5px;
			height: 26px;
			width: 26px;
			border-style: solid;
			border-color: #424242;
			border-width: 8px 8px 0 0;
			-webkit-transform: rotate(45deg);
			-moz-transform: rotate(45deg);
			transform: rotate(45deg);
			-webkit-transition: all 0.3s linear;
			-moz-transition: all 0.3s linear;
			transition: all 0.3s linear;
		}
		
		span.wpcf7-not-valid-tip { color: #ca2e4b; }
		
		div.wpcf7-response-output:not(.wpcf7-spam-blocked):not(.wpcf7-mail-sent-ok) { border-color: #ca2e4b; }

		div.wpcf7-spam-blocked { border-color: #ef7736; }
		div.wpcf7-mail-sent-ok { border-color: #4fab84; }		
		
		.wpcf7 .wpcf7-submit + .ajax-loader {
			display: none;
			position: absolute;
			right: 0;
			top: 0;
			width: 130px;
			height: 100%;
			padding: 5px 0;
			overflow: hidden;
			z-index: 1;
			visibility: visible;
			background: none;
			margin: 0;
		}
		
			.wpcf7 .wpcf7-submit + .ajax-loader:after { 
				-webkit-animation: swipeA 1s infinite linear; 
				-moz-animation: swipeA 1s infinite linear; 
				animation: swipeA 1s infinite linear; 
			}
			
			.wpcf7 .wpcf7-submit + .ajax-loader:before { 
				-webkit-animation: swipeB 0.75s infinite linear;
				-moz-animation: swipeB 0.75s infinite linear;
				animation: swipeB 0.75s infinite linear;
			}
			
			.wpcf7.sending .ajax-loader {
				display: block;
			}
			
			.wpcf7.sending .wpcf7-submit {
				-webkit-transform: scale(0, 1);
				-moz-transform: scale(0, 1);
				transform: scale(0, 1);
			}
			

@media only screen and (min-width: 768px) {
	body .lp-button {
		font-size: 40px;
	}	
}

@media only screen and (min-width: 910px) {
	.wpcf7-submit.arrow-btn {
		display: inline-block;
		margin: auto;
	}
}

@media only screen and (min-width: 1100px) {
	
}

@media only screen and (min-width: 1200px) {
	
}


/* landing 2.0 */

h2 {
    margin: 30px 0 15px;
}

.wpcf7 .form-group {
    margin: 0;
}

.wpcf7 .form-group p {
	width: 100%;
    margin-top: 0;
}

.wpcf7 .form-group label {
    white-space: normal;
}

.defined-block-text{
	height: 350px;
	overflow: auto;
	border: 1px solid #000;
	padding: 10px;
}

.defined-block-text::-webkit-scrollbar {
  width: 16px;
}

.defined-block-text::-webkit-scrollbar-track {
	border-radius: 8px;
}
 
.defined-block-text::-webkit-scrollbar-thumb {
	height: 56px;
    border-radius: 8px;
    border: 4px solid transparent;
    background-clip: content-box;
    background-color: #4e4e4e;
}

.defined-block-text::-webkit-scrollbar-thumb:hover {
  background: #909090;
  border: 4px solid transparent;
  background-clip: content-box;
}

.wpcf7 input:not([type=checkbox]):not([type=submit]), .wpcf7 textarea{
	font-size: 18px;
	line-height: 2.5;
}

.wpcf7 select{
	font-size: 18px;
    height: 55px;
    line-height: 2.5;
    -webkit-appearance: menulist-button;
    -moz-appearance: none;

}

.wpcf7 form.wpcf7-form.invalid .wpcf7-validates-as-required.wpcf7-not-valid {
    border-color: #ca2e4b;
}

@media only screen and (min-width: 768px) {
	.flexible-container{
		display: flex;
		gap: 30px
	}
	
	.flexible-item{
		flex-grow: 1;
	}	
}
