@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;}

#navigation > .nav > li a{ padding:28px 16px 18px !important; font:400 12px/1.5em Verdana,Geneva,sans-serif;}

}

/* 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){

#navigation > .nav > li a {
   font: 300 9px/1.5em Verdana,Geneva,sans-serif;
    padding: 28px 9px !important;
}/*pampi 04-04-14*/

.submenu_nav ul li a {
    font: 300 9px/1.3em Verdana,Geneva,sans-serif;
    padding: 9px;
}/*pampi 04-04-14*/

.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;} comment by pampi*/ 
.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: 100%;
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;}

}


@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%;}

} 

@media only screen and (max-width: 429px) {

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%}

}
@media (max-width:765px){
#top-nav .container.upper{
	padding:0px;
	}
a#triggernav-sec , a.showtrig{
	display:none !important;
	}
a#triggernav{
	clear: none;
    float: right;
    /*margin: 27px 0 0;
    padding: 0 4px;*/
    position: absolute;
    right: 0px;
    top: 0px;
	display:block;
	}
#top-nav header#header a.showtrig{
	display:block !important;
	}
.stopnav{
	display:none;
	}
#top-nav header#header h1{
	width:auto;
	padding-left: 15px;
	}
#top-nav header#header .header_top {
	float: left;
	}
.header_top #navigation {
    float: left;
    width: 100% !important;
}
#navigation > .nav{width:100%;}
#header h1 img {
    width: auto;
}
#navigation > .nav > li {
    display: inline-block;
    float: left;
    width: 100%;
}
#navigation > .nav > li a {
   background: none repeat scroll 0 0 #CCCCCC !important;
    display: inline-block;
    font: 300 13px/1.5em Verdana,Geneva,sans-serif;
    margin-bottom: 0;
    padding: 7px 4% !important;
    width: 92%;
	border-bottom:none;
	border-top:1px solid #fff
}
/*#navigation > .nav > li a:hover , #navigation > .nav > li.current-menu-item a{
	background: none repeat scroll 0 0 #E92E6B !important;
    color: #FFFFFF !important;
	border-top:1px solid #fff
	}*/
.main_search .searchform {
    width: 100%;
}
.main_search .searchform input.se {
     width: 52%;
}
.searchform ul {
    background: url("/wp-content/themes/grandnews_child/images/sprite_forms.png") no-repeat scroll right 8px rgba(0, 0, 0, 0);
    width: 27%;
    z-index: 2;
}
.tabbig .imgwarp img{
	height: auto;
    max-width: 100%;
	}
ul#tabsmall {
    width: 100%;
}
#tabsmall li {
    border-bottom: 1px solid #DDDDDD;
    border-top: 1px solid #DDDDDD;
    float: left;
    line-height: 1.25;
    margin: 1px 5%;
    opacity: 0.8;
    position: relative;
    width: 90%;
    z-index: 999;
}
#tabsmall li a.sidnav {
    float: left;
    padding: 15px 3.5%;
    width: 92%;
}
}