@media (max-width: 767px){
	#servizi{
		padding: 0px;
	}
}

/* Landscape */
@media screen
  and (orientation: landscape) {

	#servizi{
		padding: 0;
		height: 85vh!important;
		line-height: 18px;
	}
}

@media (max-width:479px){
	.nav-tabs li{
		width:33%
	}
	.nav-tabs li a{
		text-align:center
	}
	.nav-tabs li a i{
		display:block
	}
	.chi-siamo .tab-content .pull-left.media-object{
		background-color:#F6F6F6;
		display:block;
		float:inherit!important;
		margin-right:0;
		width:100%
	}

	#servizi{
		padding: 0;
	}

}

/* ----------- iPhone 5 and 5S ----------- */

/* Portrait */
@media only screen
  and (min-device-width: 320px)
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {

	.tab{
		margin-top: -10px;
	}

	.tab-content{
		padding: 4px!important;
	}

	.tab-content p{
		font-size: 0.91em!important;
	}

	#servizi{
		padding: 0;
	}
}

/* Landscape */
@media only screen
  and (min-device-width: 320px)
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {

	.tab{
		margin-top: -10px;
	}

	.tab-content{
		padding: 4px!important;
	}

	.tab-content p{
		font-size: 1em!important;
	}

	#servizi{
		padding: 0;
		height: 85vh!important;
		line-height: 18px;
	}
}

/* ----------- iPhone 6 ----------- */

/* Portrait */
@media only screen
  and (min-device-width: 375px)
  and (max-device-width: 667px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {

	.tab{
		margin-top: -10px;
	}

	.tab-content{
		padding-top: 10px!important;
	}

	.tab-content p{
		font-size: 1.1em!important;
		margin: 10px 20px 0 20px;
	}

	#servizi{
		padding: 0;
	}
}

/* Landscape */
@media only screen
  and (min-device-width: 375px)
  and (max-device-width: 667px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {

	.tab{
		margin-top: -10px;
	}

	.tab-content{
		padding-top: 10px!important;
	}

	.tab-content p{
		font-size: 1.1em!important;
		margin: 10px 20px 0 20px;
	}

	.wpb_wrapper p{
		font-size: 1.1em!important;
	}

	#servizi{
		padding: 0;
	}
}


/* ----------- iPhone 6+ ----------- */

/* Portrait */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 736px)
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) {

	.tab{
		margin-top: -10px;
	}

	.tab-content{
		padding-top: 10px!important;
	}

	.tab-content p{
		font-size: 1.2em!important;
		margin: 10px 20px 0 20px;
	}

	#servizi{
		padding: 0;
	}
}

/* Landscape */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 736px)
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) {

	.wpb_wrapper p{
		font-size: 1.2em!important;
	}

	.tab{
		margin-top: -10px;
	}

	.tab-content{
		padding-top: 10px!important;
	}

	.tab-content p{
		font-size: 1.2em!important;
		margin: 10px 20px 0 20px;
	}

	#servizi{
		padding: 0;
	}
}

/* ----------- iPhone 4 and 4S ----------- */

/* Portrait */
@media only screen
  and (min-device-width: 320px)
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 1.5)
  and (orientation: portrait) {

	.tab{
		margin-top: -10px;
	}

	.tab-content{
		padding: 1px!important;
	}

	.tab-content p{
		font-size: 0.90em!important;
		margin: 0;
	}

	.tab-content h3{
		font-size: 1.5em!important;
	}

	#servizi{
		padding: 0;
	}
}

/* Landscape */
@media only screen
  and (min-device-width: 480px)
  and (max-device-width: 320px)
  and (-webkit-min-device-pixel-ratio: 1.5)
  and (orientation: portrait) {

	.tab{
		margin-top: -10px;
	}

	.tab-content{
		padding: 4px!important;
	}

	.tab-content p{
		font-size: 0.92em!important;
		margin: 0 1px;
	}

	#servizi{
		padding: 0;
	}
}

/* ----------- Galaxy S3 ----------- */

/* Portrait */
@media screen
  and (device-width: 360px)
  and (device-height: 640px)
  and (-webkit-device-pixel-ratio: 2)
  and (orientation: portrait) {

	.wpb_wrapper p{
		font-size: 1.15em!important;
	}

	.tab{
		margin-top: -10px;
	}

	.tab-content{
		padding: 4px!important;
	}

	.tab-content p{
		font-size: 1.15em!important;
	}

	.tab-content h3{
		font-size: 1.6em!important;
	}

	#servizi{
		padding: 0;
	}
}

/* Landscape */
@media screen
  and (device-width: 640px)
  and (device-height: 360px)
  and (-webkit-device-pixel-ratio: 2)
  and (orientation: landscape) {

	.wpb_wrapper p{
		font-size: 1.2em!important;
	}

	.tab{
		margin-top: -10px;
	}

	.tab-content{
		padding: 4px!important;
	}

	.tab-content p{
		font-size: 1.2em!important;
		margin: 2px;
	}

	#servizi{
		padding: 0;
	}
}

/* ----------- Galaxy S4 - Galaxy S5 - Galaxy S7 HTC One ----------- */


/* Portrait */
@media screen
  and (device-width: 360px)
  and (device-height: 640px)
  and (-webkit-device-pixel-ratio: 3)
  and (orientation: portrait) {

	.wpb_wrapper p{
		font-size: 1.15em!important;
	}

	.tab{
		margin-top: -10px;
	}

	.tab-content{
		padding: 4px!important;
	}

	.tab-content p{
		font-size: 1.15em!important;
	}

	.tab-content h3{
		font-size: 1.6em!important;
	}

	#servizi{
		padding: 0;
	}
}

/* Landscape */
@media screen
  and (device-width: 640px)
  and (device-height: 360px)
  and (-webkit-device-pixel-ratio: 3)
  and (orientation: landscape) {

	.tab{
		margin-top: -10px;
	}

	.tab-content{
		padding: 4px!important;
	}

	.tab-content p{
		font-size: 1.2em!important;
		margin: 2px;
	}

	#servizi{
		padding: 0;
		height: 85vh!important;
	}
}

/* ----------- Galaxy S8 ----------- */


/* Portrait */
@media screen
  and (device-width: 360px)
  and (device-height: 740px)
  and (-webkit-device-pixel-ratio: 3)
  and (orientation: portrait) {

	.wpb_wrapper p{
		font-size: 1.25em!important;
	}

	.tab{
		margin-top: -10px;
	}

	.tab-content{
		padding: 4px 5px 0 5px!important;
	}

	.tab-content p{
		font-size: 1.25em!important;
	}

	.tab-content h3{
		font-size: 1.6em!important;
	}

	#tab-servizi {
		margin-top: -10px;
}

#servizi{
	padding: 0;
}
}

/* Landscape */
@media screen
  and (device-width: 740px)
  and (device-height: 360px)
  and (-webkit-device-pixel-ratio: 3)
  and (orientation: landscape) {

	.wpb_wrapper p{
		font-size: 1.2em!important;
	}

	.tab{
		margin-top: -10px;
	}

	.tab-content{
		padding: 4px!important;
	}

	.tab-content p{
		font-size: 1.2em!important;
		margin: 2px;
	}

	#servizi{
		padding: 0;
	}
}

/* ----------- Galaxy S2 ----------- */

/* Landscape */
@media
	screen and (device-width: 533px)
	and (device-height: 320px)
	and (orientation: landscape)
	and (-webkit-device-pixel-ratio: 1.5) {

	.tab{
		margin-top: -10px;
	}

	.tab-content{
		padding: 4px!important;
	}

	.tab-content p{
		font-size: 0.93em!important;
		margin: 0 1px;
	}

	#servizi{
		padding: 0;
	}
}
