/*
 Theme Name:   Arco Spedizioni
 Description:  Tema Arco Spedizioni
 Author:       Purelab
 Author URI:   https://www.purelab.it/
 Template:     understrap
 Version:      0.5.6
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  arcotheme-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
*/

/* .page-id-35367 section.overlay:nth-of-type(1)::after,
.page-id-35377 section.overlay:nth-of-type(1)::after,
.page-id-35379 section.overlay:nth-of-type(1)::after,
.page-id-35384 section.overlay:nth-of-type(1)::after,
.page-id-35386 section.overlay:nth-of-type(1)::after,
.page-id-35388 section.overlay:nth-of-type(1)::after,
.page-id-35382 section.overlay:nth-of-type(1)::after,
.page-id-35390 section.overlay:nth-of-type(1)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 72%);
}

.page-id-35367 .shape,
.page-id-35377 .shape,
.page-id-35379 .shape,
.page-id-35384 .shape,
.page-id-35386 .shape,
.page-id-35388 .shape,
.page-id-35382 .shape,
.page-id-35390 .shape {
    z-index: 1;
} */

@media screen and (min-width: 992px) {
	.container-overflow {
		/* container width / 2 - cont width * 2/12 */
		/* max-width: calc( ( 1140px / 2 ) - ( 1140px * 2 / 12 ) );  */
		max-width: 380px;
		/* container width * 2/12 */
		/* margin-left: calc( ( 1140px * 2 / 12 ) / 2 ); */
		margin-left: 95px;
	}

	.col-gradient {
		position: relative;
	}

	.col-gradient:before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: linear-gradient(
			90deg,
			rgba(241, 243, 244, 0) 55%,
			rgba(241, 243, 244, 1) 100%
		);
	}
}

/* @media screen and (min-width: 1600px) {
      .container-sistema-it .row--max-height,
      .container-sistema-it img {
          max-height: 600px;
      }
  } */

/* .container-sistema-it img {
      height: 100%;
  } */

/* ------------ theme color palette ------------ */
mark.has-primary-color {
	padding: 0;
	color: #4eabdd;
}

mark.has-secondary-color {
	padding: 0;
	color: #151b42;
}

.has-primary-color {
	color: #4eabdd;
}

.has-secondary-color {
	color: #151b42;
}

.is-style-shape-grey {
	background-color: rgba(209, 214, 217, 0.3);
}

.is-style-shape-grey .container {
	padding-top: 40px;
	padding-bottom: 40px;
}

.page-template-template-philosophy section.overlay:nth-of-type(1) {
	display: flex;
	align-items: center;
}

section.page-header-section.overlay::after,
.page-template-template-philosophy section.overlay:nth-of-type(1)::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0.45) 0%,
		rgba(0, 0, 0, 0.1) 100%
	);
}

section.page-header-section .page-header-section_shape {
	z-index: 2;
}

.page-template-template-philosophy .shape {
	z-index: 1;
}

.page-template-template-philosophy .main-content {
	padding-top: 40px;
	padding-bottom: 40px;
}

.is-style-card {
	border-radius: 0.375rem;
	overflow: hidden;
	box-shadow: 0 7px 1rem rgba(22, 28, 45, 0.5);
	transition: all 0.3s ease-in-out;
	height: 100%;
}

.is-style-card > .wp-block-group__inner-container {
	height: 100%;
	display: flex;
	justify-content: space-between;
	flex-direction: column;
}

.is-style-card:hover {
	transform: translate3d(0, -5px, 0);
}

.is-style-card p:last-child {
	margin-bottom: 0;
}

.is-style-card-footer {
	position: relative;
	padding: 1.5rem;
	background-color: #151b42;
}

.is-style-card-footer p {
	margin-bottom: 0;
	color: #fff;
}

.is-style-card-footer figure {
	position: absolute;
	top: 0;
	right: 1.5rem;
	transform: translateY(-50%);
	background-color: #fff;
	border-radius: 50%;
	height: 44px;
	width: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 7px 1rem rgba(22, 28, 45, 0.5);
}

/* CF7 */
.wpcf7-acceptance > .wpcf7-list-item {
	margin: 0 0 0.75rem 0;
}

.wpcf7-acceptance .wpcf7-list-item-label {
	user-select: none;
}

.wpcf7-acceptance label:hover {
	cursor: pointer;
}

.wpcf7-acceptance input[type="checkbox"],
.wpcf7-acceptance input[type="radio"] {
	margin-right: 0.5rem;
}

label .wpcf7-form-control-wrap {
	width: 100%;
	display: block;
}

.wpcf7 .wpcf7-form label {
	user-select: none;
}

.wpcf7 .wpcf7-form label * {
	user-select: auto;
}

.wpcf7 .wpcf7-form label:hover {
	cursor: pointer;
}

.wpcf7 select.white-select,
.wpcft select.white-select:focus {
	background-color: #fff !important;
	color: #595f64 !important;
	border: 1px solid #d1d6d9 !important;
}

.wpcf7 input[type="date"],
.wpcf7 input[type="datetime-local"],
.wpcf7 input[type="datetime"],
.wpcf7 input[type="email"],
.wpcf7 input[type="month"],
.wpcf7 input[type="number"],
.wpcf7 input[type="range"],
.wpcf7 input[type="search"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="text"],
.wpcf7 input[type="time"],
.wpcf7 input[type="url"],
.wpcf7 input[type="week"],
.wpcf7 textarea {
	color: #595f64 !important;
}

.wpcf7 select.white-select option {
	color: #595f64;
}

.wpcf7 select.white-select option[value=""] {
	color: #d0d0d0;
}

.wpcf7 select.white-select.required.empty-value {
	color: #d1d6d9 !important;
}

/* CF7 autocomplete */
/*the container must be positioned relative:*/
.autocomplete {
	position: relative;
	display: inline-block;
}

.autocomplete-items {
	position: absolute;
	border: 1px solid var(--input-border-color, #d1d6d9);
	border-bottom: none;
	border-top: none;
	z-index: 99;
	/*position the autocomplete items to be the same width as the container:*/
	top: 100%;
	left: 0;
	right: 0;
}

.wpcf7-form-control-wrap .autocomplete-items {
	width: 100%;
}

.wpcf7-form-control.autocomplete-input.autocomplete-input_focus.autocomplete-show {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.autocomplete-items .autocomplete-item {
	font-size: 14px;
	padding: 5px 0px 5px 18px;
	cursor: pointer;
	background-color: var(--bs-body-bg, #fff);
	border-bottom: 1px solid var(--input-border-color, #d1d6d9);
}

/*when hovering an item:*/
.autocomplete-items .autocomplete-item:hover {
	background-color: #e9e9e9;
	color: inherit;
}

.autocomplete-items .autocomplete-item.autocomplete-active,
.autocomplete-items .autocomplete-item.autocomplete-active:hover {
	background-color: #4eabdd;
	color: #ffffff;
}

.autocomplete-items .autocomplete-item * {
	pointer-events: none;
}

.autocomplete-items {
	max-height: 300px;
	overflow-y: auto;
}

@media (max-width: 576px) {
	.is-style-img-letter {
		max-width: 30%;
	}
}
.is-style-shape-blue {
	background-color: #141a44;
}
.is-style-shape-blue .container {
	padding-top: 40px;
	padding-bottom: 40px;
}

.card-text-slider,
#blogSlider {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
	opacity: 0;
	transition: opacity 0.35s ease;
}

#blogSlider>div {
    grid-row: 1 / -1;
    grid-column: 1 / -1;
}

.card-text-slider > div {
	grid-row: 1 / -1;
	grid-column: 1 / -1;
}

.card-img-slider {
	opacity: 0;
	transition: opacity 0.35s ease;
}

.card-img-slider.flickity-enabled,
.card-text-slider.flickity-enabled,
#blogSlider.flickity-enabled {
	opacity: 1;
}

.card-img-slider.flickity-enabled {
	transition: opacity 0.35s ease 0.5s;
}
