/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
	.px-sm-50 {padding-left: 50px;padding-right: 50px;}

	.item-metodo {padding-right: 60px;}
	.item-metodo:last-of-type {padding-right: 0;}
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.bg-image img {
		display: none;
	}
	.box-caption.sx {
		left: 15px;
	}
	.box-caption.dx {
		right: 15px;
	}
	.header-fisso .box-caption {
		width: 48%;
	}
	.t-big h2 {
		font-size: 48px;
	}
	.swiper-home {
	  position: absolute;
	  top: 0;
	  left: 0;
	  width: 100%;
	  height: 100%;
	  z-index: 0;
	}
	.testata-slider {padding: 100px 0;}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	section {
		padding: 50px 0;
	}
	.box-caption.sx {
		left: 0;
	}
	.box-caption.dx {
		right: 0;
	}
	.header-fisso .box-caption {
		width: 50%;
	}
	
}

@media (min-width: 1400px) {

	.container,
	.container-sm,
	.container-md,
	.container-lg,
	.container-xl,
	.container-xxl {
		max-width: 1350px;
	}
}

@media (min-width: 1920px) {
	.site-wrap {
		width: 1920px;
		max-width: 100%;
		margin: 0 auto;
	}

}

@media (max-width: 1499.98px) {
	.list-cat li.h1 {
		font-size: 30px;
	}
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
	section {
		padding: 30px 0;
	}
	.list-cat li.h1 {
		font-size: 25px;
	}
	.title-section h2, .title-section h3 {
		font-size: 30px;
		font-weight: 900;
		letter-spacing: 1.5px;
		line-height: 40px;
	}

	.subtitle h4 {
		font-size: 21px;
		letter-spacing: 1px;
	}

	.title-section h4 {font-size: 28px;}
	.p-big, .p-big p {font-size: 18px;}

	ol, ul, dl, p {font-size: 16px;}
	.content h3 {font-size: 25px;}
	.p-bigger, .p-bigger p {font-size: 22px;}
	.p-medium, .p-medium p {font-size: 19px;}

	}


/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
	.carousel-caption .container-fluid{
		max-width: 720px;
	}
	.header-fisso {
		min-height: auto;
	}
	.header-fisso .box-caption {
		width: 100%;
		position: relative;
		top: auto;
		transform: none;
		margin: 0 15px 30px 15px;
	}
	.carousel-item {
		height: auto;
		min-height: 400px;
	}
	.servizi h2 {
		font-size: 100px;
	}
	.servizi h3 {
		font-size: 27px;
	}
	.swiper-home .swiper-slide {min-height: 500px;}
	.box-border .icon-big {
	    right: 20px;
	    top: -35px;
	    transform: rotate(-90deg);
	}
	.bg-image-mobile {max-height: 400px;}

}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
	header .navbar {
		margin: 10px auto;
	}
	.claim a {font-size: 14px;}
	.header-fisso h1,
	.carousel-caption h1,
	.swiper-home h1 {
		font-size: 27px;
	}
	.header-fisso h3,
	.carousel-caption h3,
	.swiper-home h3 {
		font-size: 18x;
	}
	.title-section h4 {font-size: 25px; }
	.box-border .title-section {left: 50%;transform: translateX(-50%);width: calc(100% - 30px);text-align: center;}
	.p-medium, .p-medium p {font-size: 16px;}

}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
	.carousel-caption {
		top: 30px;
		-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
	}
	.navbar {
		padding: 0;
	}
	.navbar-brand img {
		max-width: 100%;
	}
	
	
	.carousel-item {
		height: auto;
		min-height: 330px;
	}

	.title-section h2, .title-section h3 {
        font-size: 25px;
        letter-spacing: 1px;
        line-height: 32px;
    }
    .subtitle h4 {font-size: 18px;}
    .title-section h4 {font-size: 22px;}
    .list-double ul, .list-double ol {columns: 1;column-gap: 0;}
    .box-border {padding: 70px 20px 30px;}
    .btn-round, .p-big, .p-big p {font-size: 16px;}
    .content h3 {font-size: 20px;}
    .p-bigger, .p-bigger p {font-size: 19px;}

	.box-border .icon-small {
	    height: 35px;
	    width: 35px;
	    font-size: 21px;
	    right: auto;
	    top: auto;
	    bottom: -50px;
	    left: 50%;
	    transform: translateX(-50%) rotate(90deg);
	}
	.form-testata { padding: 70px 15px;	}


}
@media (max-width: 480.98px) {
	.carousel-item {
		height: auto;
		min-height: 450px;
	}
}

@media (max-width: 375.98px) {
	/*.header-fisso h1,
	.carousel-caption h1, {
		font-size: 30px;
	}
	.header-fisso h3,
	.carousel-caption h3 {
		font-size: 20px;
	}*/
	.header-fisso .box-caption,
	.carousel-caption {
		margin-bottom: 15px;
	}
	.header-fisso .box-caption form {
		padding: 15px 0;
	}
	.servizi h2 {
		font-size: 80px;
	}
	.servizi h3 {
		font-size: 28px;
	}
	.box-brochure, .box-brochure p {
		font-size: 18px;
	}
	.box-brochure {
		padding-left: 70px;
	}
	.box-brochure::before {
		width: 40px;
	}
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
	/* Bump up size of carousel content */
/*  .carousel-caption p {
    font-size: 38px;
    line-height: 1.2;
  }*/
}