
/* -----------------------------------
IPAD PORTRAIT
------------------------------------ */

@media only screen and (max-width: 1000px) {
    
    #header, #content, #footer,#slider-container,#footer-credits{    
        width: 96%;        
    }
   
    .top
    {
        width:100%;
    }
    .bg-slider
    {
        display:none;
    }
  
    #Slider
    {
        width:100%;
        height:auto;        
    }
    #Menulinks li a {
  
  padding: 13px 6px 16px;
}


    .imgresponsive
    {
        width:100%;
    }

    .header-right {
  
  
}
 .header-left {
  
  
}
 #header ul.menu > li > a {
  padding: 0 0px;
} 
 #header ul.menu > li  {
 
}
}

@media only screen and (max-width: 769px)
{

 
    .prima-riga
    {
        font-size:22px;
    }
   .seconda-riga
    {
        font-size:18px;
    }
    .album { 
        width:49%!important;
    }
    .newsfiscali h2 {

  
  width: 98%;
  margin-bottom:20px;
}
.newsfiscali .item-news {
  
  width: 33%;
}
.inner-body #header-wrapper {
    height:auto;
}
 .header-left, .header-right {
  
  width: 100%;
  float:none;
}
 .boxcampoform{
    width: 100%!important;
	}

  
    #header ul.menu {
        float:none;
        text-align:center;
} 
#header ul.menu > li {
  display: inline-block;
  float:none; 
}
    .logo
    {
      
    }

    .item-portfolio {
    
    width: 49%;
    margin-bottom:10px;
}
}


@media only screen and (max-width: 675px)
{
    .box,#areaClienti,.ultime-blog
    {
        width:100%;
    }
   
    .newsfiscali
    {
        width:96%;
    }
    .prima-riga
    {
        font-size:16px!important;
    }
   .seconda-riga
    {
        font-size:14px!important;
    }
    .nivo-caption
    {
        display:none!important;
    }


      .paginainterna .area-clienti {
    width: 100%;
}

   
}

@media only screen and (max-width: 550px)
{
    .logo-footer
    {
        width:100%;
        border:none;
    }
    #footer .imglogo {
display:none;
}
    .inner-body #header-wrapper {
 overflow:hidden;
}
    .paginainterna,.page-laterale
{
    width:100%; 
    margin:0 0 10px 0;
    padding:0;

}
.newsfiscali .item-news {
  
  width: 98%;
}
.socialnetwork {
   
    top: 130px;
}
    .col-1, .col-2 { 
        width:100%;
       margin:0 10px 0 0;
    }
    .search { display:none}
    .header-right
    {
        background-color:#72815D;
        margin:0 auto;
        overflow:hidden;
        position:relative;
    }
    
    #Menu {
       background-color: #313F49;
    clear: both;
    float: none;
    overflow: hidden;
    width: 100%;
    }
   .menuresponsive{
		display:block;
		float:left;		
		padding:9px 6px;
        margin:2px 0 0;
	}
	.menuresponsive img{float:left;margin-left:0px;}
	.menuresponsive span{
		color: #fff;
		font-family: 'Old Standard TT',Georgia;
		font-size: 14px;
        text-transform:uppercase;
		font-weight: bold;
		letter-spacing: 0px;
		float:left;
		margin-left:4px;
		margin-top:-2px;
	}

	ul.menu{display:none;width:100%;padding:0px!important; background-color:#313F49; border:none!important; }
	ul.menu > li{
	text-align:left;
	float:left;
	width:100%;
	padding:5px 0px!important;
	border-top:1px solid #515f69;
    height:auto;
	}
    ul.menu > li.hasSubMenu {
    background-image: url("images/down.png");
    background-position: 98% 18px;
    background-repeat: no-repeat;
}
ul.menu li ul{
	display:none; 
	top:auto; 
	float:left;	
	z-index:906;
	position:relative!important;  
	padding:5px 1%;
	left:auto;
	background:none;
    width:100%;
    text-align:left;
}


ul.menu > li > a{
	float:left;
    color:#fff!important;
	padding:0px 0 0 5px!important;
    line-height:30px!important;border-bottom:none!important;
	}
ul.menu ul li{
	padding:2px 5px;	
      
	}
#header ul.menu > li:hover a,
#header ul.menu > li > a:hover,
#header ul.menu > li > a.current,
#header ul.menu > li > a.active,
#header ul.menu > li > a.actives{
	color:#fff;
	text-decoration:none;
    border-bottom:none;
	}
.input-search, .input-search-blog, .inputsearch, .inputsearchblog {
 
  width: 75%;
}


}
@media only screen and (max-width: 500px) {
   
  .item-news .title {
  float: left;
 
}  .album { 
        width:100%!important;
    }
    #footer-wrapper { position:relative;height:auto}
    #content-wrapper { padding-bottom:10px;}
    .imagelogo { display:none}
    #footer-wrapper { background-image:none; }
    .logo { padding:30px 0 0 0;}
}

@media only screen and (max-width: 320px) {
   .logo h1 {
  margin-top: 0;
  padding-top: 5px;
}
}