/* 
    wrapper css Studio Legale Dadone
*/

p.custom_p_ferrero{
	font-size: 2.0rem;
	line-height: 30pt;
}

p.custom_service{
	font-size: 1.6rem;
}

.content-box{
margin-top: 24px;
}

ul.dadone{
    font-size: 18px;
    line-height: 3em;
}

.map-icon-label .map-icon {
	font-size: 24px;
	color: #FFFFFF;
	line-height: 48px;
	text-align: center;
	white-space: nowrap;
}

.custom-caption{
	background-color: gainsboro;
	padding: 10px;
}

.custom-caption-title{
	background-color: #FFFFFF;
}

.carousel-caption-slide {
    position: absolute;
	top: 75%;
	left: 20px;
}
.carousel-caption-slide-1 {
    position: absolute;
	top: 60%;
	left: 20px;
}

.carousel-caption-slide h1 {
    font-size: 50px;
    line-height: 60px;
}

text-contact{
	font-size: 200px !important;
}
	/*
@media(max-width:768px) {

	.carousel-caption-slide h1 {
		font-size: 150%;
		line-height: 1.5;
	}
	
	

  }
*/
  /* 
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/


  @media (min-width: 736px) and (max-width: 1024px) and (orientation: landscape) {
  
	.carousel, .item, .active {
		top:10%;
		height:400px;
	}
	.carousel-inner {
		height:100%;
	}
	.carousel-caption-slide {
		position: absolute;
		top: 65%;
		left: 20px;
	}
	.carousel-caption-slide-1 h1{
		padding: 5px;
		font-size: 16px;
		line-height: 10px;
	}
	.carousel-caption-slide-1 h2{
		font-size: 12px;
		line-height: 10px;
	}

	.carousel-caption-slide-1 {
		position: absolute;
		top: 55%;
		left: 20px;
	}
	
	
  }
  
  /* 
	##Device = Low Resolution Tablets, Mobiles (Landscape)
	##Screen = B/w 481px to 767px
  */
  
  @media (min-width: 481px) and (max-width: 735px)  and (orientation: landscape) {
	
	.carousel, .item, .active {
		top:20%;
		height:200px;
	}
	.carousel-inner {
		height:100%;
	}
	.carousel-caption-slide {
		position: absolute;
		top: 40%;
		left: 20px;
	}
	.carousel-caption-slide h1 {
		font-size: 12px;
		line-height: 10px;
	}
	.carousel-caption-slide-1 h1{
		padding: 5px;
		font-size: 16px;
		line-height: 10px;
	}
	.carousel-caption-slide-1 h2{
		font-size: 12px;
		line-height: 10px;
	}

	.carousel-caption-slide-1 {
		position: absolute;
		top: 20%;
		left: 20px;
	}
	
  }
  
  /* 
	##Device = Most of the Smartphones Mobiles (Portrait)
	##Screen = B/w 320px to 479px
  */
  
  @media (min-width: 320px) and (max-width: 374px) and (orientation: Portrait) {
	.navbar-pasific .navbar-brand{
		font-size: 20px;
	}

	.carousel .carousel-inner .carousel-img {
		background-repeat:no-repeat;
		background-size:180%;
	}

	.carousel, .item, .active {
		top:10%;
		height:200px;
	}
	.carousel-inner {
		height:100%;
	}
	.carousel-caption-slide {
		position: absolute;
		top: 40%;
		left: 20px;
	}
	.carousel-caption-slide h1 {
		font-size: 12px;
		line-height: 10px;
	}
	.carousel-caption-slide-1 h1{
		padding: 5px;
		font-size: 16px;
		line-height: 10px;
	}
	.carousel-caption-slide-1 h2{
		font-size: 12px;
		line-height: 10px;
	}

	.carousel-caption-slide-1 {
		position: absolute;
		top: 20%;
		left: 20px;
	}

	.logo-text{
		font-size: 15px !important;
	}
	.logo-brain{
		padding-top:5px;
		width: 10%;
	}

	p.custom_p_ferrero{
		font-size: 100%;
	}

	p.custom_service{
		font-size: 100% !important;
	}

	.text-service{
		font-size: 120% !important;
	}
	
	.text-banner h1{
		font-size: 150% !important;
	}
	.text-banner h3{
		font-size: 150% !important;
	}

	text-contact{
		font-size: 50% !important;
	}
	
  }

  @media (min-width: 375px) and (max-width: 413px)  and (orientation: Portrait){
	.navbar-pasific .navbar-brand{
		font-size: 20px;
	}

	.carousel .carousel-inner .carousel-img {
		background-repeat:no-repeat;
		background-size:180%;
	}

	.carousel, .item, .active {
		top:8%;
		height:200px;
	}
	.carousel-inner {
		height:100%;
	}
	.carousel-caption-slide {
		position: absolute;
		top: 40%;
		left: 20px;
	}
	.carousel-caption-slide h1 {
		font-size: 12px;
		line-height: 10px;
	}
	.carousel-caption-slide-1 h1{
		padding: 5px;
		font-size: 16px;
		line-height: 10px;
	}
	.carousel-caption-slide-1 h2{
		font-size: 12px;
		line-height: 10px;
	}

	.carousel-caption-slide-1 {
		position: absolute;
		top: 0%;
		left: 40px;
	}

	p.custom_p_ferrero{
		font-size: 100%;
	}

	p.custom_service{
		font-size: 100% !important;
	}

	.text-service{
		font-size: 120% !important;
	}

	.text-banner h1{
		font-size: 150% !important;
	}
	.text-banner h3{
		font-size: 150% !important;
	}
	
	
  }

  @media (min-width: 414px) and (max-width: 767px) and (orientation: Portrait){
	.navbar-pasific .navbar-brand{
		font-size: 20px;
	}

	.carousel .carousel-inner .carousel-img {
		background-repeat:no-repeat;
		background-size:180%;
	}

	.carousel, .item, .active {
		top:11%;
		height:200px;
	}
	.carousel-inner {
		height:100%;
	}
	.carousel-caption-slide {
		position: absolute;
		top: 40%;
		left: 20px;
	}
	.carousel-caption-slide h1 {
		font-size: 12px;
		line-height: 10px;
	}
	.carousel-caption-slide-1 h1{
		padding: 5px;
		font-size: 16px;
		line-height: 10px;
	}
	.carousel-caption-slide-1 h2{
		font-size: 12px;
		line-height: 10px;
	}

	.carousel-caption-slide-1 {
		position: absolute;
		top: 20%;
		left: 20px;
	}
	p.custom_p_ferrero{
		font-size: 100%;
	}

	p.custom_service{
		font-size: 100% !important;
	}

	.text-service{
		font-size: 120% !important;
	}
	
	
  }