/* @center grid
********************************************************************************************
********************************************************************************************/

.centerrow {
width: 100%;
max-width: 1015px;/* 960px & 33px margin */
min-width: 755px;
margin: 0 auto;
overflow: hidden;
float:none;
}

.centeronecol, .centertwocol, .centerthreecol, .centerfourcol {
margin:0 1.1%;
float: left;
min-height: 1px;
margin-bottom:30px !important;
}

.centerrow .centeronecol {
width: 4.93%;
}

.centerrow .centertwocol {
width: 13.26%;
}

.centerrow .centerthreecol {
width: 26.7%;
}

.centerrow .centerfourcol {
width: 29.93%;
}


/* @the 1140px grid
********************************************************************************************
********************************************************************************************/

.container {
padding-left: 20px;
padding-right: 20px;
padding-top:0;
padding-bottom:0;
margin-top:0;
margin-bottom:0;
}

.container-topfix {
padding-left: 20px;
padding-right: 20px;
padding-top:0;
padding-bottom:20px;
}

.row {
width: 100%;
max-width: 960px;
min-width: 755px;
margin: 0 auto;
overflow: hidden;
padding:0;
}

.rowwide {
width: 104%;
max-width: 980px;
min-width: 755px;
margin: 0 auto;
overflow: hidden;
}

.inncol {
width: 93%;
margin: 0 auto;
overflow:hidden;
}

.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol, .twelvecol,
.footerthreecol {
margin:0 1.5%;
float: left;
min-height: 1px;
}

.row .onecol {
width: 4.85%;
}

.row .twocol {
width: 13.45%;
}

.row .threecol {
width:22.0%;
}

.row .footerthreecol {
width:22.5%;
margin:0 1.5% 0 1%;
}

.row .fourcol {
width:29.33%;
padding:0 2%;
margin:0;
overflow:hidden;
}

.row .fivecol {
width: 39.45%;
}

.row .sixcol {
width: 48%;
}

.row .sevencol {
width: 56.75%;
}

.row .eightcol {
width: 68%;
overflow:hidden;
}

.row .ninecol {
width: 75.9%;
}

.row .tencol {
width: 82.7%;
}

.row .elevencol {
width: 91.35%;
}

.row .twelvecol {
width: 90%;
margin:0 5%;
}

.first {
margin-left: 0px;
}

img, object, embed {
max-width: 100%;
}



img {
	height: auto;
}
	.flickwrap img{
	}
	
.ei-slider-large li img{
	width: 100%;
	max-width:none;
}

img.ad300 {
	max-width:300px;
}

.flexslider .slides li iframe {
	width: 100%;
}

/* Smaller screens */

@media only screen and (max-width: 1023px) {

	body {
	font-size: 0.8em;
	line-height: 1.5em;
	}
	
	ul.grid li{
	height:150px !important;
	}
	
	}


@media screen and (max-width: 830px) {

	#navigation {
	height:auto;}
	ul#social-menu{ margin:0 0 30px 0}
	
	
}


/* Mobile */



@media handheld, only screen and (max-width: 767px) {

	body {
	font-size: 16px;
	-webkit-text-size-adjust: none;
	}
	
	.row,.centerrow, body, .container {
	width: 100%;
	min-width: 0;
	margin-left: 0px;
	margin-right: 0px;
	padding-left: 0px;
	padding-right: 0px;
	}
	
	.row .onecol, .row .twocol, .row .threecol, .row .fourcol, .row .fivecol, .row .sixcol, .row .sevencol, .row .eightcol, .row .ninecol, .row .tencol, .row .elevencol, .row .twelvecol,
	.centerrow .centeronecol, .centerrow .centertwocol, .centerrow .centerthreecol, .centerrow .centerfourcol,
	.row .footerthreecol,
	#header,#headcontent,
	#content,#sidebar,.foliocontent,.folioinfo,
	.services,#homeblog li
	 {
	width: auto;
	float: none;
	margin-left: 0px;
	margin-right: 0px;
	padding-left: 20px;
	padding-right: 20px;
	}

#sidebar {
	background:none;
	padding-top:40px;}
	
#header h1{
	float:none;
	margin:0 auto;}

#header h1 img{
	float:none;
	margin:30px auto;
	display:block;}

  #navigation {
    clear: both;
	float:left;
	margin:0 auto 30px auto;
  }
  #navigation .nav {
    float: left;
  }
  #navigation>.nav>li {
    float: left;
	width:46%;
  }
  #navigation .nav li a {
    border: none!important;
	background:none;
  }
  
  a#homes {
	  display:none;
  }
  
  #navigation .nav li ul {
    border: none!important;
	overflow:hidden;
  }
  #navigation .nav li ul li {
    padding-left: 10px;
  }
  
  .nav > li > a,
  #navigation .nav li ul a {
	   font-size:10pt !important;
	   float:none;
  }
  
  #navigation .nav li ul li a{ padding:12px 5px}
  
  #navigation .nav li ul a:hover {
    text-decoration: underline;
  }
  #navigation ul {
	  margin:15px 0;
  }

  
ul.medpost li img {
	display:block;
	margin:10px auto 20px auto;
	clear:both;
	float:none;}
	
	.ei-title{
		bottom:0;
		padding:0;
	}
	
	
	.ei-slider-thumbs li a{
	text-indent: -9000px;}


ul.infolio li{
	text-align:center;}
	
.item_blog{
	text-align:left !important;}

ul#social-menu,ul#social-menu li {
	float: left; }
 

ul#serinfo {
	position: relative;
	z-index: 5;
	float: left;
	width:99%;
}

.item-big{ height:auto;}

.secmenu{ padding-left:20px; padding-right:20px;}

ul.secmenu>li{ margin:10px 25px 10px 0;}

.etabs{ display:none;}
.tabitem{ width:100%}

.flexslider .slides>li{ height:auto;}
.flexslider .slides img{ margin-bottom:0}
.slides li .stuff{ right:auto; left:0;  width:88%}
.flex-direction-nav{}
.flex-control-nav{}


#tabsmallss li{ width:18%}


.searchformhead{ float:none; margin:20px; overflow:hidden;}
.searchformhead input.s{ float:left; margin:0; width:95.4%}

.item_full{background: none; height:auto; margin-bottom:30px !important; padding-bottom:10px !important}

.item_full img{ margin:0 20px 10px 0}

h2{ font-size:16pt !important; line-height:20pt !important;}

.foliocontent{ padding-bottom:40px}

	ul.grid li{
	width:33.333% !important;
	}

#services{ background-image: none;}

.services,#homeblog li{ background-image: none; height:auto;}

#homeblog li h4{ margin-bottom:0;}

#homeblog li p,.services p,.item_blog h2{ height:auto;}

#copyright{ padding:0 20px; width:90%;}

}


@media only screen and (max-width: 639px) {
	
	ul.medpost li img {max-width:96%;}
	
	
	.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;}


	
.twins,.twins-small,.twins2col{ width:100%}

.slpost_small {
	min-height:inherit;
	height:auto;
}

	.slpost_small img,.slpost_small iframe {
		width:100%;
	height: auto;}
#content .flickr_badge_image{ height:40px;}

.headad{ display:none;}


} 



@media only screen and (max-width: 519px) {
	
.tabbig_small{ width:100% !important;}

ul#tabsmallss{ position:relative; width:108%; margin:20px 5% 0 5%}

#tabsmallss li{ width:29%; float:left; margin-right:3%;}

#tabsmallss li a.sidnav{ min-width:100%;}

#tabsmallss li img{ width:100%;}

.threepost{ width:79%; height:auto}

	ul.grid li{
	width:50% !important;
	height:120px !important;
	}
	
.medpost li.format-image a img,
.medpost li.format-video iframe{
	margin:0 0 30px -9%;
	max-width:577px; width:109%
	}

} 




@media only screen and (max-width: 319px) {

	
ul.medpost li img {
	margin:0 0 20px 0;
	clear:both;
	float:none;}


} 







/* ============================== */
/* ! Layout for desktop version   */
/* ============================== */

	body {
		
	}
	

/* ============================= */
/* ! Layout for mobile version   */
/* ============================= */

@media handheld, only screen and (max-width: 767px) {

	body {
		
	}

}


/* ========================================== */
/* ! Provide higher res assets for iPhone 4   */
/* ========================================== */

@media only screen and (-webkit-min-device-pixel-ratio: 2) { 

/*	.logo {
		background: url(logo2x.jpg) no-repeat;
		background-size: 212px 303px;
	}*/

}

