@media screen and (max-width: 1026px) { 
.container {
width:auto;
margin: 0 0;
padding:0 20px;
}

#header h1{ max-width:200px;}

#header h1 img{ width:100%;}

.headad img{ margin:0;}

ul#serinfo-nav>li{padding: 10px 3.6% 9px;}


.flickwrap img,
#footer .flickwrap img{width: 55px;}

.ad300 img,
img.attachment-widgetcol,
img.attachment-coin{ width:100%;}

.widgetcol{ width:46.2%}

.widgetcol_small,
.tabbig{ height:auto;}

.tabbig iframe{ height:360px;}

}

/* Smaller screens */

@media screen and (max-width: 1000px){

.imgwrap img,
.tab img,
img.main-single,
.imgwrap img:hover{ width:100% !important;}

.shadow-inset2,
a.sliderlink{
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}
	
}


@media screen and (max-width: 970px){

#clientsbox li{ width:24%;}

li.services{ width:27%}

.resmode-No{ display:none; visibility:hidden;}

.section .container{padding:40px 0 !important;}


#header{
	padding:0;
	float:left;
	margin:0;
}

#header a img.logo{margin:0 0 30px 0;}

.flexfull_wrap{ max-height: 580px !important}

.widgetcol{ width:46.2%}

.disres{ position:relative !important; top:auto; width:100% !important;}

a.trigger{ display:none;}

}

/* Mobile */

@media screen and (max-width: 770px){

.flexslider .slides li a img,
.tabitem iframe, .tabitem a img{ width:100%;}

.tab{width:20%;}

ul#serinfo-nav>li{padding: 10px 2% 9px;}

.tab span.ribbon{ top:auto;}

#navigation > .nav > li { width:auto;}

#navigation > .nav > li a{ padding: 20px 14px;}
.nav .sf-sub-indicator{ right:2px}

.nav>li>a>span.walker{ display:none;}

.tabbig iframe{ height:260px;}


img.alignleft,
img.alignright,
img.aligncenter,
.wp-caption,
.wp-caption img{ width:100%; margin:5px 0 30px 0; padding:0;}

}

@media handheld, only screen and (max-width: 740px) {

body {
font-size: 14px;
-webkit-text-size-adjust: none;
}

body {
width: 100%;
min-width: 0;
margin-left: 0px;
margin-right: 0px;
padding-left: 0;
padding-right: 0;
margin-top:0;
}


#header,#content, #sidebar,#footer .threecol,
.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol, .twelvecol,.fifthcol,
#footer .fourcol,
.slidercol,.seccol,.widgetcol,
#core,#content,#leftsidebar,#rightsidebar
 {
width: auto;
float: none !important;
margin-left: 0;
margin-right: 0;
}

#sec-navigation{ float:left; width:100%; clear:both;}

img#logo{ float: none; display:block;}

#sidebar{
	padding-left:0;
	padding-right:0;
	margin-top:40px;
}

#core{
	margin:0 0 0 0;
}

#core_bg{ display:none;}

.stuff h1,.stuff h2{ font-size:45px; border:none;}

.flex-control-nav{ bottom:25px;}

#copyright{ padding:0 0;}

#copyright .fr{ float:left !important;}

.pagination{ margin-bottom:40px; height:35px;}

.resmode-No{ display:none; visibility:hidden;}


img.headimg,
img.singleimg,
.wp-caption img,
.postslider img{width:100%;}

.tabbig{ width:100%; height:auto;}

ul#tabsmall{
	position:relative;
	top:auto;
	right:auto;
	width:105%;
}

ul#tabsmall li{
	float:left;
	margin:0 5% 0 0;
	padding:0 0;
	width:45%;
	height:70px;
	border-bottom:none;
}

ul#tabsmall li a{
	overflow:hidden;
	/*height:30px;*/
}

.arr,
.tabbig .meta,
#tabsmall li i{ display:none;}

.inpost > h1{ font-size:16px !important;}

#rightsidebar{ padding:20px 3% 0 3%;}

#top-nav{ max-height: none; height:auto;}
    
    .ricerca{
        
        width: 100%;
    }
    
    

}


@media only screen and (max-width: 639px) {

.scrollTo_top{ visibility:hidden; display:none}

.tmnf-sc-quote.left,
.tmnf-sc-quote.right{ width:100%; float:none; margin-left:0; margin-right:0}


.contact-form .forms textarea,
.contact-form .forms input.txt{ width:100%; float:none; margin-left:0; margin-right:0; padding-left:0; padding-right:0}

.contact-form .forms label{ margin-bottom:10px}

.contact-form .forms .buttons .submit,
.contact-form .forms input#sendCopy{ margin-left:0;}



#header a img.logo{ display:block; float:none; margin:0 auto 30px auto;}

a#triggernav,
a#triggernav-sec{ display:block}

#navigation,
#sec-nav{ display:none; margin-bottom:40px;}

#sec-nav{ width:200px}
#sec-nav>li{ width:100%}
#sec-nav>li>ul{ width:100%}

.nav{ width:100%}

.nav li ul{ width:100%; border:none;}

#navigation>.nav>li {
	width:100%;
	float:none;
} 

.nav{ width:100%}

.nav li ul{ width:100%; border:none;}

.nav>li>a{ background:none !important;}

.tab{ width:45.5%;}

iframe{width:100%; max-height:350px}

#top-nav  ul.social-menu{ position:relative; float:left; right: auto; margin: 8px 0 5px 0 !important}

#top-nav  ul.social-menu li{ width:30px !important;}

.aboutus{ width:100%; padding:0 0;}

.widgetflexslider span.ribbon{ display:none;}

.related li{ width:100%; margin-right:0;}

.related li a img{ width:100%;}

.related li span.ribbon{ display:none;}

#header h1{ max-width:100%; width:100%;}

#header h1 img{ width:100%;}
    
    .ricerca{
        
        width: 100%;
    }
    
    #triggernav{
        width:90% !important;
    }
    
    ul.sub-menu{
        box-shadow: 0px 6px 10px rgba(0,0,0,0.3);

    }
    
    .nav li ul li a{
        background-color: #f3f3f3 !important;
    }
    
    .ricerca{
        margin-top:30px;
        width: 100%;
    }
    
    ul.sopraMenu li{
        float:none;
    }
    
    ul.sopraMenu li a{
       background:#f3f3f3 !important;
    }
    
    ul.sopraMenu li ul li{
        margin:0px !important;
    }
    
    .logo{
        background: url('../images/logoFenealsmall.png')no-repeat !important;
    }
    
    #header h1{
        margin:10px 0px!important;
    }
    
    #sopraMenu, #sottoMenu{
        width: 100% ;
    }

} 

@media only screen and (max-width: 429px) {
    
#header2,#top-nav{display:none} 

iframe{max-height:250px}
.tabitem iframe{max-height:250px}

.imgwrap{ background-image:none !important;}

.tab span.ribbon{ display:none;}

.comment-form-author, .comment-form-email, .comment-form-url{ width:100%;}

#respond textarea{ width:90%;}

.ratingblock{ width:84%}
    
    #triggernav{
        width:90% !important;
    }
    
    ul.sub-menu{
        box-shadow: 0px 6px 10px rgba(0,0,0,0.3);

    }
    
    .nav li ul li a{
        background-color: #f3f3f3 !important;
    }
    
    .ricerca{
        margin-top:30px;
        width: 100%;
    }
    
    ul.sopraMenu li{
        float:none;
    }
    
    ul.sopraMenu li a{
       background:#f3f3f3 !important;
    }
    
    ul.sopraMenu li ul li{
        margin:0px !important;
    }
    
    .logo{
        background: url('../images/logoFenealsmall.png')no-repeat !important;
    }
    
    #header h1{
        margin:10px 0px!important;
    }
    
    #sopraMenu, #sottoMenu{
        width: 100% ;
    }
    #mobileNav {display:block}

    
#header a,
.menu a
{
	background: center center no-repeat transparent;
	background-image: url( data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADhJREFUeNpi/P//PwOtARMDHQBdLGFBYtMq3BiHT3DRPU4YR4NrNAmPJuHRJDyahEeT8Ii3BCDAAF0WBj5Er5idAAAAAElFTkSuQmCC );

	display: block;
	width: 40px;
	height: 40px;
	position: absolute;
	top: 0;
	left: 10px;
}
#header a.friends,
.menu a.friends
{
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAVNJREFUeNq01jFLAzEYxvH2UBCxiIiDUhzcdXCyIk5ufgUXLR37JdxcXBxcuwmOOtml0EKpo04iWIpIQREVEVFLjf9AhoC9e3O5uxd+lMLdPU1yedO8UiqXdQWO122ghi4+8IwGqiiId+uRCHbxqsLrFHNRz5ACSnhTch1EPScQpnIH0w7TWcGiz5rouS45rtkMVnxCJrAQ4yUq+oT8YhAjZOAT8oWHGCE9nxC9H64cA15w4xOiW0HbfErVNhvUa8c3cecQcoZv3xA9z+fCNbe4SNq7jvEUMaUnuE/au7SjkHbSR1G637ULh73Kn+gn7cIBttELGckQh9Jo8iMOrSksYx2b2MKk8FuvUUcHl/9GbiWuooYu3pVf/eARLZQxbp8na2YR0659e+HLmM/geN+z98lSRv8hZu2QQkYh+kzKjZkvHdPahymH6DNp5Cucev0JMAAkKj0NEoYBJwAAAABJRU5ErkJggg==);
}
#header a.right,
.menu a.right
{
	left: auto;
	right: 10px;
}

#header
{
	background: #555;
           	font-size: 16px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	line-height: 40px;
	height: 40px;
	padding: 10 50px;
        margin-top:20px;
}
.bodyFeneal {display:none}
}
#logoMobile {position: absolute;right:10px;top:10px}