/*
The styles in this stylesheet only apply to resolutions 768px and up

CALCULATING DIMENSIONS:
----------------------
The layout is fluid. The sote wrapper (.col-full) has a fixed pixel max-width.
All subsequent dimensions are calculated based on that fixed pixel width, using the formula: target / context = result
Credit - http://www.alistapart.com/articles/fluidgrids/

-----
INDEX
-----

1. Global dropdown styles
2. Top Navigation
3. Main navigation dropdown menus
4. General layout related tweaks

*/
body  { padding: 0 1.618em; }

@media only screen and (max-width: 1100px)  {
	.business #loopedSlider a.flex-prev  { left: -20px; }
	.business #loopedSlider a.flex-prev:before, .business #loopedSlider a.flex-next:before  { font-size: 16px; }
	.business #loopedSlider a.flex-next  { right: -30px; }		
	
	#logo {
		float: left;
	}
	#header .ad_728-x-90 {
		width: 70%!important;
	}
	#header .ad_custom-size {
		width: 25%!important;
	}
	#navigation {
		margin-left: -20px;
		width: 104.3%;
	}
	.home .cat-single {
		width: 29%;
	}	
	.featured-news {
		margin: 10px -20px 0;
		width: 104.3%;
	}
	.featured-news .block {
		width: 23.5%;
	}	
	.cat-posts {
		width: 48.2%;
	}	
	.home .recent-posts li {
		width: 30.5%;
	}
	.subscribe-call a.subscribe-text {
		font-size: 30px;
		margin: 16px 0 0 20px;
	}
	.footer-nav-container {
		margin: 10px -20px;
	}
	.line {
		width: 100%;
		margin: 0;
	}
}
@media only screen and (max-width: 980px)  {
	#wp-admin-bar {
		overflow: hidden;
	}	
	#header .widget.gform_widget {
		display: none;
	}
	#header .social-search {
		width: 30%;
		margin-top: 2%;
	}
	#header .social-search a {
		display: none;
	}
	#header .searchform {
		width: 90%;
	}
	#header .nav-toggle {
		margin: 0 0 0.6em!important;
	}
	#navigation {
		margin-left: -20px;
		width: 100%;
	}
	.featured-news {
		margin: 10px 0 0;
		width: 100%;
	}
	.featured-news .block {
		width: 47%;
		padding-bottom: 5px;
		margin-bottom: 5px;
		border: none;
	}
	.cat-posts {
		width: 100%!important;
		float: none!important;
		border-right: none!important;
		padding-left: 0!important;
		padding-right: 0!important;
	}
	.two-col-left #main {
		width: 100%!important;
	}
	#sidebar {
		display: none!important;
	}
	.subscribe-call {
		margin-bottom: 10px;
	}	
	.subscribe-call a.subscribe-text {
		font-size: 20px;
		margin-left: 2%!important;
	}
	.subscribe-call a.button {
		float: right;
		margin: 8px 0 0 0;
		padding: 10px;
	}
	.mobile-fix {
		clear: both;
	}	
}

@media only screen and (max-width: 800px) {
	#navigation ul li:first-child, #navigation ul li:first-child a  { border-radius: 0!important; -moz-border-radius: 0!important; -webkit-border-radius: 0!important; }
	ul.nav, ul.nav ul  { border: none!important; }
	#navigation ul.nav > li { border-right: none!important; }
	body.boxed-layout  { padding: 0; }
	body.boxed-layout #top  { 
		margin-left: 1.5em; 
		margin-right: 1.5em;
		background: transparent;
		border: none;
 	}
 	body.boxed-layout #top select {
 		margin-top: 0.2em;
 	}
	body.boxed-layout #wrapper  { margin-left: 0; margin-right: 0; border: none; }
	.magazine #loopedSlider a.flex-next, .magazine #loopedSlider a.flex-prev  { bottom: auto; top: 20px; }
	
	#logo {
		width: 68%;
	}
	#header .social-search {
		padding: 2% 0 0 0;
	}	
	
	.slider {
		width: 68.5%;
	}	
	/*.wooslider .overlay-natural img {
		height: 240px!important;
	}*/
	.featured-single h5 a {
		width: 94.2%;
	}
	.home .cat-single {
		width: 29%;
	}
}

@media only screen and (max-width: 767px) {
  #navigation ul.nav > li {
    padding-left: 100px;
  }
  #navigation h3 {
    display: none;
  }
}

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

	#header .social-search {
		width: 26%;
	}
	.fix {
		clear: none;
	}
	#main .fix,
	#header .fix,
	.footer-nav-container .fix,
	.subscribe-call .fix {
		clear: both;
	}
	.slider {
		width: 100%;
	}
	.wooslider {
		height: auto!important;
	}
	.wooslider .overlay-natural .slide-excerpt p{
		padding: 0.1em 1em!important;
	}
	.wooslider .layout-text-left .slide-excerpt {
		width: 80%!important;
	}
	body .wooslider .overlay-natural.layout-text-left .slide-excerpt h2,
	body .wooslider .overlay-natural.layout-text-left .slide-excerpt a,
	body .wooslider .overlay-natural.layout-text-left .slide-excerpt p {
		font-size: 1em!important;
	}
	.featured-single {
		width: 49%!important;
	}
	.featured-single h5 a {
		font-size: 15px;
		
	}
	.home .cat-singles {
		width: 100%;
		margin: 5px 0 0;
	}
	.home .cat-single {
		width: 100%;
		min-height: 0;
		margin: 0 0 5px 0;
		border-bottom: 1px solid #CCC;
		border-right: none;
		padding: 0;
	}
	.home .cat-single h4 a {
		display: block;
	}
	.home .cat-main .featured {
		width: 100%;
		border: none;
		padding: 5px 0;
	}
	.home .cat-main ul.sub {
		width: 100%;
		list-style-position: inside;
	}
	.home .recent-posts li {
		width: 100%;
		border-bottom: 1px dotted #CCC;
	}	
	.featured-single img {
		height: auto!important;
	}
	.featured-news .block {
		width: 45.9%;
	}
	.cat-posts {
		width: 94.5%;
	}
	.subscribe-call img {
		display: none;
	}
	.subscribe-call a.subscribe-text {
		font-size: 15px;
		margin-left: 0;
	}
	#footer .col-left,
	#footer .col-right {
		margin-top: 50px;
	}
	.swipe li div.content h1 {
		font-size: 18px;
		margin-bottom: 0!important;
	}
	.swipe li div.content p {
		display: none;
	}
}

@media only screen and (max-width: 390px)  {
	.featured-news .block {
		width: 91%;
		text-align: center;	
	}
	.featured-single {
		width: 100%!important;
		margin-bottom: 5px;
	}
	.featured-single h5 a {
		width: 96.3%;
	}
	#header .social-search {
		width: 92%;
		border: none;
		background: none;
		margin-top: 0;
		padding-top: 0;
		margin-bottom: 10px;
	}
	.cat-posts img {
		max-width: 95%;
	}
	#header #logo {
		width: 100%;
	}	
	.swipe li div.content h1 {
		font-size: 14px;
		font-weight: bold;
	}
}
/* Tablet Portrait size and sizes above 768 (devices and browsers) */
@media only screen and (min-width: 768px) {
  /* 1. GLOBAL DROPDOWN STYLES (these are purely for the dropdown layout and you should only edit the width of the dropdowns) */
  ul.nav {
    position: relative;
    margin-bottom: 0;
    width: auto;
    margin-right: 30px;
  }
  ul.nav li {
    position: relative;
    float: left;
    zoom: 1;
    list-style: none;
  }
  ul.nav li a {
    display: block;
    padding-top: 1em!important;
    padding-bottom: 1em!important;
  }
  ul.nav li a:hover {
    text-decoration: none;
  }
  ul.nav li ul li a:hover {
    text-decoration: underline;
  }
  ul.nav ul {
    width: 12em;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    margin: 0;
    padding: 0.4em 0;
  }
  ul.nav ul li {
    float: none;
  }
  ul.nav ul li a {
    width: 100%;
    display: inline-block;
    padding: 0.7em 1em!important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 0.9em;
  }
  ul.nav ul ul {
    left: 100%;
    top: 0;
  }
  ul.nav li:hover > ul {
    visibility: visible;
  }
  /*#wrapper #navigation ul.rss  { top: 0; right: 0; float: right; border: none; margin-bottom: 0; padding: 0 10px 0 0; }
  	#wrapper #navigation ul.rss li  { margin: 0; display: inline; }
  	#wrapper #navigation ul.rss li a  { padding: 13px 5px; }*/
  /* 2. TOP NAVIGATION (Add top navigation presentational styles here) */
  #top {
    background: #000;
  }
  #top h3 {
    display: none;
  }
  #top {
    display: block!important;
  }
  #top ul.nav li a {
    color: #ddd;
    padding-top: 0.5em!important;
    padding-bottom: 0.5em!important;
    font-size: 1em;
  }
  #top ul.nav > li a:hover {
    background: #555;
    color: #ddd;
  }
  #top ul.nav > li:hover {
    background: #555;
    color: #ddd;
  }
  #top ul.nav ul {
    background: #555;
  }
  #top ul.nav ul li a {
    color: #ddd!important;
  }
  #top ul.nav li.current_page_item a,
  #top ul.nav li.current_page_parent a,
  #top ul.nav li.current-menu-ancestor a,
  #top ul.nav li.current-cat a,
  #top ul.nav li.current-menu-item a {
    color: #333;
  }
  /* 3. MAIN NAVIGATION DROPDOWN MENUS (Add main navigation presentational styles here) */
  #navigation .top-navigation {
    display: none !important;
  }
  .csstransforms3d.csstransitions #navigation,
  .csstransforms3d.csstransitions .show-nav #navigation,
  .csstransforms3d.csstransitions .show-nav #inner-wrapper {
    left: 0;
    -webkit-transform: translate3d(0%, 0, 0);
    -moz-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
  }
  .nav-toggle,
  .nav-close,
  .nav-home {
    display: none !important;
  }
  #navigation {
    position: relative;
    left: auto;
    width: 100%;
    border: 1px solid #d9d9d9;
    padding-top: 0;
    background: #ffffff;
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f5f5f5));
    background: -webkit-linear-gradient(#ffffff, #f5f5f5);
    background: -moz-linear-gradient(center top, #ffffff 0%, #f5f5f5 100%);
    background: -moz-gradient(center top, #ffffff 0%, #f5f5f5 100%);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.03);
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.03);
    -moz-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.03);
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    display: block !important;
  }
  #navigation h3 {
    display: none;
  }
  #navigation .cart-contents {
    position: static;
    height: auto;
    width: auto;
    text-indent: 0;
    display: inline-block;
    padding: 0;
    background: none;
    color: inherit;
    border-radius: 0 !important;
    padding: 1em;
  }
  #navigation .cart-contents:before {
    display: inline-block;
    position: relative;
    text-indent: 0;
    line-height: 1;
  }
  #navigation .cart-contents {
    margin-right: .5em;
  }
  #navigation .cart-contents:before {
    margin-right: .5em;
  }
  #navigation .menus {
    clear: none;
  }
  #navigation ul.rss {
    margin: 0;
  }
  #navigation ul.rss.cart-enabled {
    margin: 0;
  }
  #navigation ul.rss li a {
    background: none;
    color: #666;
    padding: 1em;
    margin: 0;
  }
  #navigation ul.rss li a:before {
    line-height: 3.2;
  }
  #navigation ul.rss li a:hover {
    color: #222;
  }
  #navigation ul {
    margin-bottom: 0;
  }
  #navigation ul ul {
    margin-left: 0;
  }
  #navigation ul li:first-child,
  #navigation ul li:first-child a {
    border-radius: 5px 0 0 5px;
    -moz-border-radius: 5px 0 0 5px;
    -webkit-border-radius: 5px 0 0 5px;
  }
  #navigation ul ul li:first-child,
  #navigation ul ul li:first-child a {
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
  }
  #navigation ul.nav > li {
    border-right: 1px solid #e6e6e6;
  }
  #navigation ul.nav > li a:hover {
    background: #f6f6f6;
  }
  #navigation ul.nav > li:hover {
    background: #f6f6f6;
  }
  #navigation ul.nav ul {
    background: #f6f6f6;
    border: 1px solid #e6e6e6;
    left: -1px;
  }
  #navigation ul.nav ul ul {
    top: -1px;
    left: 100%;
  }
  #top .nav li.parent > a {
    position: relative;
    padding-right: 2em;
  }
  #top .nav li.parent > a:after {
    content: "";
    display: block;
    border: .3em solid #ccc;
    border-color: #ccc transparent transparent transparent;
    position: absolute;
    top: 48%;
    right: .8751em;
  }
  #top .nav li ul li.parent a:after {
    border-color: transparent transparent transparent #ccc;
    right: .8751em;
    top: 46%;
  }
  #navigation .nav li ul li.parent a {
    padding-right: 0;
  }
  #navigation .nav li ul li.parent a:after {
    border-color: transparent transparent transparent #ccc;
    right: 0;
    top: 46%;
  }
  #navigation .nav li.parent > a {
    position: relative;
    padding-right: 2em;
  }
  #navigation .nav li.parent > a:after {
    content: "";
    display: block;
    border: 0.3em solid #ccc;
    border-color: #ccc transparent transparent transparent;
    position: absolute;
    top: 48%;
    right: .8751em;
  }
  #navigation .nav li ul li.parent a {
    padding-right: 0;
  }
  #navigation .nav li ul li.parent a:after {
    border-color: transparent transparent transparent #ccc;
    right: 0.8751em;
    top: 46%;
  }
  .full-width #navigation ul li:first-child,
  .full-width #navigation ul li:first-child a {
    border-radius: 0 !important;
  }
  /* 4. GENERAL LAYOUT RELATED TWEAKS */
  /* Header */
  #logo {
    float: left;
    max-width: 100%;
  }
  #topad {
    float: right;
    margin: 0;
  }
  #nav-container {
    margin-bottom: 3em;
  }
  /* Columns & Containers */
  .col-left {
    float: left;
  }
  .col-right {
    float: right;
  }
  .col-full,
  #wrapper {
    max-width: 960px;
    margin: 0 auto;
}
  }
  #wrapper #sidebar {
    margin-top: 0;
  }
  .magazine .block {
    float: left;
    width: 48%;
  }
  .magazine .block.last {
    float: right;
  }
 /* #wrapper {
    padding: 0 1em 2em;
  }*/
  #inner-wrapper {
    padding: 0;
  }
  /* Sliders */
  #loopedSlider .content {
    position: absolute;
    left: 0px;
    top: 20px;
    background: none;
  }
  #loopedSlider .content h2 {
    float: left;
    font-size: 26px;
  }
  #loopedSlider .content p {
    clear: both;
    float: left;
  }
  #loopedSlider .content p,
  #loopedSlider .content h2 {
    background: #000000;
    background: rgba(0, 0, 0, 0.7);
    max-width: 350px;
  }
  /* Sidebar */
  #main-sidebar-container {
    position: relative;
  }
  #main-sidebar-container #main {
    position: relative;
  }
  #main-sidebar-container #sidebar {
    display: inline;
  }
  #sidebar-alt {
    display: inline;
    margin: 0;
  }
  /* 	Widgets */
  #main .widget_woothemes_features .feature {
    float: left;
    width: 30%;
    margin-right: 5%;
  }
  #main .widget_woothemes_features .feature.last {
    margin-right: 0;
  }
  #main .widget_woothemes_testimonials .quote {
    float: left;
    width: 30%;
    margin-right: 5%;
  }
  #main .widget_woothemes_testimonials .quote.last {
    margin-right: 0;
  }
  /* Footer */
  #footer-widgets .block {
    margin-right: 3.8%;
    float: left;
  }
  /* 210 / 940 */
  #footer-widgets.col-1 .block {
    width: 100%;
    margin-right: 0;
  }
  #footer-widgets.col-2 .block {
    width: 48%;
  }
  #footer-widgets.col-3 .block {
    width: 30.75%;
  }
  #footer-widgets.col-4 .block {
    width: 22.05%;
  }
  #footer-widgets.col-2 .footer-widget-2,
  #footer-widgets.col-3 .footer-widget-3,
  #footer-widgets.col-4 .footer-widget-4 {
    margin-right: 0;
  }
  /* Column Widths */
  .one-col #main {
    float: none;
  }
  .two-col-left #main-sidebar-container #main,
  .two-col-right #main-sidebar-container #main {
    width: 64.89%;
  }
  /* 610 / 940 */
  .two-col-left #main-sidebar-container #sidebar,
  .two-col-right #main-sidebar-container #sidebar {
    width: 31.91%;
  }
  /* 300 / 940 */
  .three-col-left #main-sidebar-container #sidebar,
  .three-col-middle #main-sidebar-container #sidebar,
  .three-col-right #main-sidebar-container #sidebar {
    width: 39.47%;
  }
  /* 300 / 760 */
  .three-col-left #main-sidebar-container,
  .three-col-middle #main-sidebar-container,
  .three-col-right #main-sidebar-container {
    width: 80.85%;
  }
  /* 760 / 940 */
  .three-col-left #main-sidebar-container #main,
  .three-col-middle #main-sidebar-container #main,
  .three-col-right #main-sidebar-container #main {
    width: 57.89%;
  }
  /* 440 / 760 */
  #sidebar-alt {
    width: 17.02%;
  }
  /* 160 / 940 */
  /* Column Floating */
  .two-col-left #main-sidebar-container #main,
  .two-col-right #main-sidebar-container #sidebar,
  .three-col-left #main-sidebar-container,
  .three-col-left #main-sidebar-container #main,
  .three-col-middle #main-sidebar-container #main,
  .three-col-middle #sidebar-alt,
  .three-col-right #main-sidebar-container #sidebar,
  .three-col-right #sidebar-alt {
    float: left;
  }
  .two-col-left #main-sidebar-container #sidebar,
  .two-col-right #main-sidebar-container #main,
  .three-col-left #main-sidebar-container #sidebar,
  .three-col-left #sidebar-alt,
  .three-col-middle #main-sidebar-container,
  .three-col-middle #main-sidebar-container #sidebar,
  .three-col-right #main-sidebar-container,
  .three-col-right #main-sidebar-container #main {
    float: right;
  }
  /* Contact Page */
  .page-template-template-contact-php .location-twitter .col-left {
    float: left;
  }
  .page-template-template-contact-php .location-twitter #office-location {
    width: 48%;
    margin: 0 1em 0 0;
  }
  .page-template-template-contact-php .location-twitter .contact-social {
    float: left;
    width: 48%;
  }
  .page-template-template-contact-php .location-twitter .contact-social #twitter {
    margin: 0;
  }
  /* Subcribe & Connect */
  #main #connect .col-left {
    float: left;
  }
  #connect .col-right {
    float: right;
  }
  #main #connect .col-left,
  #connect .col-right {
    width: 48%;
  }
  #connect .related-posts {
    border-top: 0;
    border-left: 1px solid #e6e6e6;
    padding-top: 0;
    padding-left: 15px;
    margin-top: 0;
  }
  .ie8 .business #loopedSlider a.flex-prev {
    left: -20px;
  }
  .ie8 .business #loopedSlider a.flex-prev:before,
  .ie8 .business #loopedSlider a.flex-next:before {
    font-size: 16px;
  }
  .ie8 .business #loopedSlider a.flex-next {
    right: -30px;
  }
  /* Portfolio layout */
  body.single-portfolio.one-col #post-gallery,
  body.single-portfolio.one-col .post-embed {
    width: 57%;
  }
  body.single-portfolio.one-col-980 #post-gallery,
  body.single-portfolio.one-col-980 .post-embed {
    width: 57%;
  }
  body.single-portfolio.one-col-960 #post-gallery,
  body.single-portfolio.one-col-960 .post-embed {
    width: 57%;
  }
  body.single-portfolio.one-col-940 #post-gallery,
  body.single-portfolio.one-col-940 .post-embed {
    width: 55%;
  }
  body.single-portfolio.one-col-880 #post-gallery,
  body.single-portfolio.one-col-880 .post-embed {
    width: 55%;
  }
  body.single-portfolio.one-col-760 #post-gallery,
  body.single-portfolio.one-col-760 .post-embed {
    width: 45%;
  }
}
