/* #Theme Frame 
================================================== */

.container{ margin: 0px auto; padding: 0px 0px; max-width: 1170px;}

.row { max-width: 100%; margin: 0 auto; }
.row .row { width: auto; max-width: none; min-width: 0; margin: 0 -15px; }
.row .column, .row .columns{ -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

.column, .columns { float: left; min-height: 1px; padding: 0 15px; position: relative; }
.column.wrapper, .columns.wrapper{ padding: 0px; }

/* Base Grid */	

.row .one 		{ width: 8.333%; }
.row .two 		{ width: 16.667%; }
.row .three 	{ width: 25%; }
.row .four 		{ width: 33.333%; }
.row .five 		{ width: 41.667%; }
.row .six 		{ width: 50%; }
.row .seven 	{ width: 58.333%; }
.row .eight 	{ width: 66.667%; }
.row .nine 		{ width: 75%; }
.row .ten 		{ width: 83.333%; }
.row .eleven 	{ width: 91.667%; }
.row .twelve 	{ width: 100%; }

/* Column Layouts */

.row .one_half				{ width: 50%; }
.row .one_third				{ width: 33.333%;}
.row .one_fourth			{ width: 25%; }
.row .one_fifth				{ width: 20%;}
.row .one_sixth 			{ width: 16.667%;}

.row .two_third				{ width: 66.667%;}
.row .two_fourth 			{ width: 50%;}
.row .two_fifth 			{ width: 40%;}
.row .two_sixth 			{ width: 33.333%;}


.row .three_fourth			{ width: 75%;}
.row .three_fifth 			{ width: 60%;}
.row .three_sixth 			{ width: 50%;}

.row .four_fifth 			{ width: 80%;}
.row .four_sixth 			{ width: 66.667%;}

.row .content 	{ width: 100%; }

img{ max-width: 100%; height: auto; }
img { -ms-interpolation-mode: bicubic; }
object, embed { max-width: 100%; }


/* #Clearing
================================================== */

    /* Self Clearing Goodness */
    .container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }

    /* Use clearfix class on parent to clear nested columns,
    or wrap each row of columns in a <div class="row"> */
    .clearfix:before,
    .clearfix:after,
    .row:before,
    .row:after {
      content: '\0020';
      display: block;
      overflow: hidden;
      visibility: hidden;
      width: 0;
      height: 0; }
    .row:after,
    .clearfix:after {
      clear: both; }
    .row,
    .clearfix {
      zoom: 1; }

    /* You can also use a <br class="clear" /> to clear columns */
    .clear, .clr {
      clear: both;
      display: block;
      overflow: hidden;
      visibility: hidden;
      width: 0;
      height: 0;
    }

/* #Media Queries
================================================== */

@media only screen and (max-width: 1280px) {
	.top-text .bg-right{ padding: 9px 18px 10px 0px!important; }
	.flex-caption{ height:89%!important;}
	.logo-icon-l, .logo-icon-r{ width:80px;}

}

/* Smaller than standard 960 (devices and browsers) */
@media only screen and (min-width: 959px) {
	
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
  	
	.top-text .bg-right{ padding: 9px 18px 10px 0px; font-size:10px;}
	#searchform .bg-right{ width:80%}
	#searchform .bg-right input#s{ width:60%; font-size:12px}
	.logo-icon-l, .logo-icon-r{ display:none}
	
	.flex-caption{ left:19%!important; right:19%!important; height:86%!important;}
	.flex-caption .title-wrap{ margin:30px 0 25px!important;}
	
	#nav-wrap{ width:96%}
	.sf-menu li{ padding:16px 10px 17px 10px; }
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 900px) {
	body { -webkit-text-size-adjust: none; -ms-text-size-adjust: none;
		width: 100%; min-width: 0; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
		
	.container{ margin: 0px auto; max-width: 768px; }
	
	.row { width: auto; min-width: 0; margin-left: 0; margin-right: 0; }

	.row .column, .row .columns { width: 100%; float: none; }
	#maincontent .column, #maincontent .columns, #outerbeforefooter .column, #outerbeforefooter .columns, #outeraftercontent .column, #outeraftercontent .columns{ margin-bottom:30px;}

	.column:last-child, .columns:last-child { float: none; }
	[class*="column"] + [class*="column"]:last-child { float: none; }

	.column:before, .columns:before, .column:after, .columns:after { content: ""; display: table; }
	.column:after, .columns:after { clear: both; }
	
	
	
	/*============================================== HEADER SECTION ==============================================*/
	.top-text{ margin:20px auto 0; }
	#logo{text-align:center; float:none!important; display:block}
	#logo img{ float:none!important;}
	#logo .desc{ float:none!important; display:block; border:0px!important; margin:15px 0 0; padding:0px;}
	
	.logo-icon-l, .logo-icon-r{ display:none}
	
	#searchform{ margin:20px auto 30px;  float:none!important;}
	
	#navigation{text-align:center; clear:both; height:auto;}
	.nav-left{}
	#nav-wrap{  width:90%}
	.sf-menu a{background:transparent!important; border:0!important;}
	.sf-menu > li{border:0 !important; display:none;}
	nav{margin:0; float:none; }
	.js .tinynav { display: block; display: inline-block; margin:16px 0 0 -20px; width:70%}/* mobile dropdown */
    .js #topnav { display: none }

		
	/*============================================== SLIDER SECTION ==============================================*/
		.flex-caption, .flex-control-nav{ display:none}

	/*============================================== CONTENT SECTION ==============================================*/
	#content.positionright, #content.positionleft{background:transparent;}
	.padcontent{padding-right:0;}
	#content.positionright .padcontent{padding-left:0; padding-right:0}
	
	.highlight-content span{ margin-bottom:20px;}
	
	.sidebar{ margin-left:0px; padding:10px 0 0 0; background:none!important; min-height:inherit;}
	.sidebar .widget-container{ margin-bottom:40px;}
	
	.image .text{ padding-top:40%}

	/*============================================== BLOG SECTION ==============================================*/
	.postimg{ width:100%; float:none; margin-bottom:20px;}
	.entry-content{ overflow:inherit;}

	.wp-pagenavi{margin-bottom:30px;}
	.commentlist ol{ padding-left:35px;}

	/*============================================== Footer ==============================================*/
	#copyright, .sn{ float:none; text-align:center}	
	
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {

	
}
		

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
	
	
	.highlight-content .button{ margin-bottom:10px;}
	
	.post .header-wrapper{ padding-left:0px;}
	
	.padcontent{padding:0px!important;}
	
	blockquote{ margin:0px 0px 20px!important;}
	
	

}