/*
 Theme Name: DST Hello Elementor Child
 Template: hello-elementor
*/
/*body {
	max-width: 1920px;
	margin: 0 auto;
}*/

/*.GENERALS */
.gallery-imgs .swiper-slide-image {
	object-fit: cover;
}

.gallery-imgs .swiper-pagination {
	bottom: 15px !important;
}
.gallery-menu .swiper-slide-image {
    height: 300px; 
    width: 100%;
    object-fit: cover;
    object-position: center; 
}
/* HEADER */
/* stato base */
.header-logo img,
.header-menu-left,
.header-menu-right,
.header-menu-left a,
.header-menu-right a {
    transition: all 0.5s ease-in-out !important;
}
.header-menu-left {
    margin-right: -5px;
}
.header-menu-right {
    margin-left: -5px;
}
/* stato scroll attivo */
.header-active {
	transition: all 0.5s ease-in-out;
	background: rgba(115,150,195,0.3);
}
.header-active .header-logo img{
	width: 120px !important;
}
.header-active .header-menu-left,
.header-active .header-menu-right {
	width: 200px !important;
}
.header-active .header-menu-left a,
.header-active .header-menu-right a {
  font-size: 14px!important;
}
/* FORM */
.form-contact .form-fields-no-wrapper {
	margin-top: 15px;
	flex-direction: column;
}
.form-contact .form-fields-wrapper,
.form-contact .form-fields-no-wrapper,
.form-extra-info .form-fields-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}
.form-fields-wrapper .wpcf7-form-control-wrap {
    flex: 0 0 calc(50% - 7.5px);
}
.form-fields-no-wrapper .wpcf7-form-control-wrap {
    flex-grow: 1;
}
.form-fields-wrapper input,
.form-fields-no-wrapper textarea,
.form-fields-no-wrapper input{
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
	border-radius: 4px;
	background-color: rgba(248,243,232,0.7);
	color: #313f5c;
	border-color: #313f5c;
}
.form-contact .services-selection {
	display: flex;
	flex-direction: column;
	color: #313f5c;
}
.form-contact .services-selection label {
	margin-bottom: 10px;
}
.form-contact .services-selection .wpcf7-checkbox {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.form-contact .wpcf7-list-item{
	display: flex;
	margin: 0;
}
.form-contact .services-selection .wpcf7-list-item label input[type="checkbox"] {
	padding: 0;
}

.form-footer-wrapper {
    display: flex;
    align-items: center; 
    justify-content: space-between; 
    margin-top: 20px;
    gap: 20px;
	color: #313f5c;
}
.form-contact .services-selection input[type="checkbox"],
.form-footer-wrapper input[type="checkbox"] {
	appearance: none;
    -webkit-appearance: none;
    height: 18px;
    width: 18px;
    border: 1px solid #313f5c; 
    border-radius: 4px;
    background-color: rgba(248,243,232, 0.7);
	color: #313f5c;
    position: relative;
    cursor: pointer;
}
.form-contact .services-selection input[type="checkbox"]:checked:after,
.form-footer-wrapper input[type="checkbox"]:checked:after {
	content: '\2713';
    color: #313f5c;
	font-weight: 600;
    font-size: 14px;
    position: absolute;
	top: 8px;
    left: 8px;
    /*top: 50%;
    left: 50%;*/
    transform: translate(-50%, -50%);
}
.wpcf7-form-control .wpcf7-list-item label {
	display: flex;
	align-items: center;
	gap: 5px;
}
.wpcf7-form-control .wpcf7-list-item-label a {
	color: #7396c3;
}
.wpcf7-form-control .wpcf7-list-item-label a:hover {
	color: #313f5c;
}
.terms-container {
	flex: 1; 
    max-width: 70%;
}
.btn-submit {
	display: flex;
	flex-flow: row-reverse;
}
.btn-submit input {
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	color: #ffffff;
	font-size: 16px;
	background-color: #7396c3;
	border: 1px solid #ffffff;
	padding: 5px 20px;
	border-radius: 0;
}
.btn-submit input:hover {
	border-color: #7396c3;
	background-color: #ffffff;
	color: #7396c3;
}

/*tablet*/
@media (max-width: 1024px) {
	.header-active .header-logo img{
		width: 100px !important;
	}
	.header-active .header-menu-left,
	.header-active .header-menu-right {
		width: 180px !important;
	}
	.header-active .header-menu-left a,
	.header-active .header-menu-right a {
	  font-size: 14px!important;
	}
	.form-contact .form-fields-wrapper .wpcf7-form-control-wrap {
        flex: 0 0 100%;
    }
	.form-contact .form-footer-wrapper {
        flex-direction: column;
        align-items: flex-start; 
        gap: 15px;
    }
    
    .form-contact .terms-container {
        max-width: 100%;
    }

    .form-contact .btn-submit {
        width: 100%; 
		flex-flow: column
    }
	.form-contact .btn-submit input {
        width: 100%;
    }
	.form-contact .services-selection .wpcf7-checkbox {
		flex-direction: column;
	}
}
/*mobile*/
@media (max-width: 767px) {
	.header-active .header-logo img{
		width: 65px !important;
	}
	.header-active .header-menu-left,
	.header-active .header-menu-right {
		width: 120px !important;
	}
	.header-active .header-menu-left a,
	.header-active .header-menu-right a {
	  font-size: 11px!important;
	}
	.cnt-gallery-menu {
		background-color: #f8f3e880 !important;
	}
	.form-fields-wrapper .wpcf7-form-control-wrap {
        flex: 0 0 100%;
    }
	.form-footer-wrapper {
        flex-direction: column;
        align-items: flex-start; 
        gap: 15px;
    }
    .terms-container {
        max-width: 100%;
    }
    .btn-submit {
        width: 100%; 
		flex-flow: column
    }
	.btn-submit input {
        width: 100%;
    }
}
