/* ==|== media queries ======================================================
   EXAMPLE Media Query for Responsive Design.
   This example overrides the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media screen and (max-width: 699px) {
  /* Style adjustments for viewports that meet the condition */

html {-webkit-text-size-adjust:none;-ms-text-size-adjust:none;}
body {background:#fff;}
	
	/*hides*/
	 .footer-menu,
	.single-newsletter .top-nav,
	.search .top-nav,
	.parent-pageid-74 #advanced_sidebar_menu-2 .widget-wrap select,
	.page-id-74 #advanced_sidebar_menu-2 .widget-wrap select,
	.parent-pageid-76 #advanced_sidebar_menu-2 .widget-wrap select,
	.page-id-76 #advanced_sidebar_menu-2 .widget-wrap select,
	.page-id-86 #advanced_sidebar_menu-2 .widget-wrap select,
	.page-id-93 div.form,
	.templateProduct .sidebar .top-nav,
	.templateCart .sidebar .top-nav{display:none !important;}
	
	/*stretch*/
	#page-container,
	#page-wrap,
	#page,
	header,
	.logo-tag,
	header.top-head .logo-tag h1,
	header.top-head .logo-tag h2,
	.sidebar,
	.sidebar .top-nav,
	#content,
	#banner-wrap,
	#banner,
	#banner .slide,
	#banner-nav,
	.entry-content,
	.callouts,
	.callouts .right,
	.callouts .newsletter,
	.callouts .books,
	footer,
	.page-btm{
	width:100% !important;
	border:0 !important;
	margin:0 !important;
	height:auto !important;
	text-align:left;
	padding:0 !important;
	float:left !important;
	clear:both !important;}
	
	/*no margin*/
	/*{margin:0;}*/
	
	/*no padding*/
	/*{clear:left;width:100%;}*/
	
/*overflow hides*/
#page-container,
#page-wrap,
#page,
#content {overflow:hidden !important;}

/* Responsive Tables 
	Based on http://mobifreaks.com/user-interface/responsive-and-seo-friendly-data-tables/
*/
.table,
.row,
.column,
.column:before{
	display:block;	/* Converts a table, table row, table column and table column:before into a block element */
}
.table,
.row .column:last-child{
	border-bottom:none;
}
.table-head{
	position:absolute;	/* Hides table head but not using display none */
	top:-1000em;
	left:-1000em;
}
.row{
	border:1px solid #eeeeee;
	border-top:2px solid #dddddd;
	border-bottom:2px solid #dddddd;
	margin:20px 0;
}
.row .column:nth-child(1){ /* first column of the row */
	border-left:none;
}
.row .column:last-child{ /* last column of the row */
	border-right:none;
}
.row:last-child .column,
.column{ /* Column in the last row and column */
	border-bottom:1px solid #eeeeee;
}
.column:before{ /* prints the value of data-label attribute before the column data */
	font-weight:bold;
	padding-right:20px;
	font-size:12px;
	content:" "attr(data-label)" //";	/* call the attribute value of data-label and adds a string // */
}

.entry-content table td.hyphenate{padding: 10px 5px;
	-ms-word-break: break-word;
     word-break: break-word;
     word-break: break-word;
	-webkit-hyphens: auto;
   	-moz-hyphens: auto;
    hyphens: auto;}

.entry-content table td, .entry-content table th{padding: 10px 5px;}

/*logo*/
header.top-head .logo-tag {height:70px !important;}
.home header.top-head .logo-tag {height:auto !important}
header.top-head .logo-tag h1 {width:80%;margin:0 auto;border-top:5px solid #d59400 !important;}
header.top-head .logo-tag h1 a {background-size:40% 40%;margin:4% 5% 0;}	
.home header.top-head .logo-tag h1 a {background-size:75% 75%;margin:5% 5% 0;}	
header.top-head .logo-tag h2 {display:none;}
.home header.top-head .logo-tag h2 {display:block;margin:-10px 5%  10px !important;width:80% !important;}

/* Top Nav, incl. 'Newsletter' & 'Our Books' */
.sidebar .top-nav {margin:5px 0 0 5% !important;width:95%;}
.top-nav ul {width:89%;margin-bottom:0;border:5px solid #BDBDBD;background:#CECECE;overflow:auto;}
.top-nav ul li{float:right;display:block;width:45%;}
.top-nav li:first-child {float:left;}
.top-nav ul li a,
.top-nav ul li a:hover {width:80%;height:43px;border:0;background:none;padding-top:15px;padding-right:20%;padding-right:0;}
.top-nav ul li:first-child a {height:53px;padding-top:5px;border-right:0;padding-left:10%;width:90%;padding-right:0;}
	
/*Main nav*/
#access .menu {width:43%;margin:0 0 0 5%;}
#access .menu ul li {display:none;}
.top-head .menu select,
#access .menu ul li.twitter {display:block;float:left;}
#access .menu ul li.twitter  {float:right}
.top-head .menu select {background:none;padding:0 0 0 25px;height:35px;width:70%;color:#fff;border:0;font:17px/18px 'Oswald',sans-serif;}
.sidebar.top-head {position:relative;}
.header-search form {width:100%;}
.header-search {position:relative;top:-45px;right:3.5%;width:41%;}
.home .header-search {position: relative;top:-128px;}
.header-search input.search-text {width:60%;}
.header-search input.search-button {border-radius:0;float:right;}

/* Sub Nav */

ul.sidebar {margin: -40px 0 0 5% !important;width: 92% !important;}
ul.sidebar .arrow{display:none;}
ul.sidebar li{float:left;width:100% !important;border-bottom:1px solid #fff;}
.advanced-sidebar-menu li:last-child {margin-bottom:10px;}
.advanced-sidebar-menu li a{
	padding:6px 0;
	text-indent:10px;
	margin:0;
	border:0;
	background: none;
	float:left;
	width:100%;
	display:block;
	font-size: 13px;
	text-shadow: none;
	line-height: 14px;
	background:#eee;
	text-align:left;
	border-bottom:1px solid white;
	}
.advanced-sidebar-menu .grandchild-sidebar-menu li{display:none;margin:0;}
.single-newsletter .sidebar .advanced-sidebar-menu .page-item-86 a, .advanced-sidebar-menu a:hover, .advanced-sidebar-menu .current_page_item a{
	background: #eee;
	border-bottom: 1px solid white;
	color: #B97700;
	text-shadow: none;
}
.advanced-sidebar-menu .grandchild-sidebar-menu{background: none;}
#advanced_sidebar_menu-2 .widget-wrap select{float:left;display:block;width:100%;margin:10px auto 0;padding: 25px 0 0;}
.advanced-sidebar-menu .current_page_ancestor.current_page_parent a{color: #B97700;text-shadow: none;}
/*Content*/
.page .sidebar .top-nav{display: none;}
.home.page .sidebar .top-nav{display:block;}
.entry-content{margin: 0 5% 5px 5% !important;width: 90% !important;border-top: 5px solid #082C50;}
.entry-content img{width: 100%;height:auto;}
.entry-content img.alignright, .entry-content img.alignleft{max-width: 75px;height: auto;}
.entry-content img.alignright{padding: 15px 0 15px 15px;}
.entry-content img.alignleft{padding: 15px 15px 15px 0;}
h1.entry-title{margin-top:10px;}

div.did-you-know{margin: 0 0 20px;}

/* Front Page */
	/* Front Page Slides */
	
	.home div.sidebar{max-height: 90px;}
	#banner .slide img {width:100% !important; height: auto !important;}
	
	#content .banner-text h2.line-one,
	#content .banner-text h2.line-two,
	#content .banner-text a {
		left:20px !important;
		right:auto !important; 
		top:20px !important;
		font-size:16px;
		line-height:16px;
		text-indent:5px;
		height:auto !important;
		padding:6px 0 !important;
		width:200px;
		background:#fff;
		color:#00346b}
	#content .banner-text h2.line-two {top:46px !important;left:40px !important}
	#content .banner-text a {top:73px!important;left:60px !important;background:#00346b;color:#fff;font-size:15px;}
	/* Banner Nav */
	#banner-wrap{height: 325px !important;margin:0 0 0 5% !important;width:92% !important;}
	ul#banner-nav{bottom:0;margin: 0 auto;}
	#banner-nav a{
		float:left;
		margin: 0;
		padding: 5px 0 0;
		height:125px;
		width:92%;
		line-height:15px;
		background: #cecece;
		border: 5px solid #bdbdbd;
		}
	#banner-nav a:hover{
		background: #cecece;
		border: 5px solid #bdbdbd;
		}
	#banner-nav a span.title {font-size:20px;line-height:22px;}
	ul#banner-nav li{
		float:left;
		width:33%;
		margin:0;
		vertical-align:top;}
	ul#banner-nav li:first-child {margin: 0;}
	#banner-nav li a, #banner-nav li a:hover{
		background: #cecece;
		border: 5px solid #bdbdbd;
		background-image:none;}
	#banner-nav li.activeSlide a {
		background: #d59400;
		border:solid 5px #b97700;}
		
	#content .slide.two .banner-text h2.line-one{top: 90px !important;}
	#content .slide.two .banner-text h2.line-two{top: 115px !important;}
	#content .slide.two .banner-text a.link{top: 143px !important;}
			
	#content .slide.three .banner-text h2.line-one{top: 95px !important;}
	#content .slide.three .banner-text h2.line-two{top: 120px !important;}
	#content .slide.three .banner-text a.link{top: 148px !important;}
	
	.home #content article{margin-top: auto;}
	
	.services-chart{float:none;}
	
	.home .services-chart{width:125px; height:auto; float:right;}
	.home .services-chart ul li{display:none;}
	.home .services-chart ul{background-size: 125px auto; background-position: 0 0;height:115px;margin-top: 40px;}
	
	
	/* Callouts */
	.callouts div.meeting,
	.callouts .right{width:90%;height: auto;}
	.callouts div.meeting{margin-bottom: 10px !important;text-align:left;}
	.callouts div.meeting span {padding-top: 0;margin: 5px 0;}
	.callouts .newsletter{width:90% !important;padding: 5px 10px !important;margin-bottom: 10px !important;border: 5px solid #BDBDBD !important;}
	.callouts .books{width:90% !important;padding: 5px 10px !important;margin-bottom: 10px !important;border: 5px solid #B97700 !important;}

/* Planning Team */
.bio img{height: 150px; width:auto; padding: 0 10px 10px 0;}

.position {
font-size: 14px;
padding: 5px 10px 5px 5px;
margin: 5px 0 10px 110px;
display:block;
}

.page-id-45 #content h2 {line-height: 24px;}
.page-id-45 #content h2 span{line-height: 10px !important;}

/* References */

.tpc-map{width: 100%; height: auto;padding-bottom:340px;background-size: 100% auto;background-position: 0 160px;}
#content .map-tag-line h2{font-size: 26px;width:95%;top:150px;left:0;}
#content .map-tag-line h3{font-size: 26px;width:95%;top:195px;left:15px;}

#testimonials .ref {
width: 100%;
padding: 0;
margin: 0;
background: none;
}

#testimonials .carousel-wrap ul{
	height: auto;
}

#content .entry-content #testimonials ul li{width: 100%;height: auto;float:none;padding:0;display: block;}
#content .entry-content #testimonials span{margin: 15px 0 25px;}
#content .entry-content #testimonials p, #content .entry-content #testimonials br{margin: 0 0 25px;}

/* Financial Management */
.page-id-59 .services-chart{width:125px; height:auto;}
.page-id-59 .services-chart ul li{display:none;}
.page-id-59 .services-chart ul{background-size: 125px auto; background-position: 0 0;height:115px;}

/* Cash Flow Management */
.pie-chart{margin: 0;padding:0;}

/* Insurance Planning */

.insurance-planning{
	float: left;
	width: 28%;
	margin: 0 2px 20px;
	border: 5px solid #B97700;
}

/* Corporate Reorganization */

.corporate-reorganization{width: 100% !important; height: auto;}

#content .entry-content .insurance-planning ul li{padding: 0 5px;font-size: 12px;}
.insurance-planning h3{font-size: 16px;padding: 8px 2px;}

/* Footer */
.footer-top{overflow: auto;padding: 25px 5% 0; width: 90%;margin-top:0;}
.footer-top .latest-news,
.footer-top #twitter-block{
	width: 50%; float: left; padding-bottom:10px;
	}
.footer-top #twitter-block a{white-space: pre-line !important;}
.footer-top h3, .footer-top .entry-content span{display: block;}

.footer-btm{overflow: auto;padding: 25px 5% 0; width: 90%;text-align:center;}
.footer-btm .copyright{float: none;width: 100%;font-size: 14px;line-height: 18px;padding: 0;}
.footer-btm .site-credit{float: none; width: 100%;text-align:center;}
.footer-btm .site-credit a {font-size: 10px;}
.home .footer-btm span#share{display: block; margin: 15px auto 0;}

/* Office Locations */
.location{height: auto;}
.google-map{
	display: none;
	width: 90%;
	float: none;}
	
/* Search Results */
.search-results #content,
.search-no-results #content{width: 90% !important; margin: 0 5% !important;}
.search footer#footer{margin-top: 25px !important;}

/* Forms */
form.visual-form-builder{width: 94%;}

/* Cart */

.templateProduct div.sidebar,
.templateCart div.sidebar{height: 10px !important;}

.templateProduct #content h1#product-title{margin-top: 0 !important;}
.templateProduct #product-gallery {
	float: right;
	width: 120px;
	margin-right: 15px;
	}
.templateProduct #content .entry-content #sharing{display:none;}
.templateProduct .description{width: 48%;}
.templateProduct .cart-actions{margin: 25px 0 0;}
.templateProduct .btn{border-radius: 0;}
.templateCart .entry-content table{width: auto;}
.templateCart .entry-content table td{width: auto;}
.templateCart .entry-content table th{width: auto;}
.templateCart .product-title-c a{font-size:12px;}
.templateCart .items td.price-c {font-size: 14px;}
.templateCart .items td.price-c{width: 0;display:none;}
.templateCart .items td.thumbnail-c{padding: 10px 10px 10px 0;width:0;padding:0;display:none;}
.templateCart .items td.thumbnail-c img{display: none;}
.templateCart .items td.subtotal{padding-left: 20px;}
.templateCart .items td.money-c, .templateCart .items th.money-h, .templateCart .items td.subtotal{padding-right: 0;}
.templateCart .items td{padding: 10px 2px;}
.templateCart table th.empty, .templateCart table th:nth-child(3), .bottom-summary td:first-child, .templateCart table tr.item td:nth-child(6) {width:0;display:none !important;}
.templateProduct #advanced_sidebar_menu-2 {display:none}
.remove-from-cart img{width: auto !important;}

#addresses .gright{float: none; width: 100%;}

#active-wrapper img{width: 120px !important; height: auto !important;padding: 0 15px;}
.single-post .type-post .entry-meta.top{
	float: none;
	margin: 5px 0 0;
}
.single-post .type-post .share-this.top{
	float: none;
	margin: 10px 0;
}

.single-post .sidebar .top-nav{
	display: none !important;
}

}

/*MOBILE LANDSCAPE*/
@media screen and (max-device-width: 699px) and (orientation:landscape) {
	.entry-content table td, .entry-content table th{padding: 10px 5px;}
}/*MOBILE LANDSCAPE Ends*/
