<?php header("Content-type: text/css");
require_once( '../../../../wp-load.php' ); 
global $options; 
foreach ($options as $value) 
	{
	if (isset($value['id']) && get_option( $value['id'] ) != FALSE ) 
		{
	            	$$value['id'] = get_option( $value['id'] ); 
		} 
		elseif(isset($value['id']))
			{
			$$value['id']="";
			}
	} 
if(isset($scribbler_page_bgcolor))
	{
	?>#page {	<?php print_option("background-color:", $scribbler_page_bgcolor,";"); ?>}<?php
	}
?>
body  {<?php print_option("background-color:", load_option("Body_bgcolor") ,";"); ?> <?php print_option("background-image:url(",load_option("Body_bgimage"),");"); ?> <?php print_option("background-repeat:", load_option("Body_bgimage_repeat") ,";"); ?> <?php print_option("background-position:",  load_option("Body_bgimage_y")." ".load_option("Body_bgimage_x") ,";"); ?><?php if(load_option("Body_bgimage_fix")=="on") { echo "background-attachment:fixed"; } ?> }
body  {<?php print_option("color:", $scribbler_Body_fontcolor ,";"); ?> <?php print_option("font-family:", $scribbler_Body_font ,", arial;"); ?><?php print_option("font-size:", $scribbler_Body_fontsize ,"px;"); ?>}
body a  {<?php print_option("color:", $scribbler_Body_acolor ,";"); ?> <?php print_option("text-decoration:", $scribbler_Body_adecoration ,"underline;"); ?>}
body a:hover {<?php print_option("color:", $scribbler_Body_ahcolor ,";"); ?>}
body a:visited {<?php print_option("color:", $scribbler_Body_avcolor ,";"); ?>}
body h1, body a h1, body h1 a, .tagline {<?php print_option("font-family:", load_option("Body_h1_font") ,", arial;"); ?> <?php print_option("font-size:", load_option("Body_h1_fontsize"),"px;"); ?> <?php print_option("color:", load_option("Body_h1_fontcolor") ," ;"); ?> <?php print_option("line-height:", load_option("Body_h1_fontsize"),"px;", load_option("Body_h1_fontsize")+6); ?>}
body h2, body a h2, body h2 a {<?php print_option("font-family:", load_option("Body_h2_font") ,", arial;"); ?> <?php print_option("font-size:", load_option("Body_h2_fontsize"),"px;"); ?> <?php print_option("color:", load_option("Body_h2_fontcolor") ," ;"); ?> <?php print_option("line-height:", load_option("Body_h2_fontsize"),"px;", load_option("Body_h2_fontsize")+6); ?>}
body h3, body a h3, body h3 a, .date-j, .date-m {<?php print_option("font-family:", load_option("Body_h3_font") ,", arial;"); ?> <?php print_option("font-size:", load_option("Body_h3_fontsize"),"px;"); ?> <?php print_option("color:", load_option("Body_h3_fontcolor") ," ;"); ?> <?php print_option("line-height:", load_option("Body_h3_fontsize"),"px;", load_option("Body_h3_fontsize")+6); ?>}
body h4, body a h4, body h4 a {<?php print_option("font-family:", load_option("Body_h4_font") ,", arial;"); ?> <?php print_option("font-size:", load_option("Body_h4_fontsize"),"px;"); ?> <?php print_option("color:", load_option("Body_h4_fontcolor") ," ;"); ?> <?php print_option("line-height:", load_option("Body_h4_fontsize"),"px;", load_option("Body_h4_fontsize")+6); ?>} 
body h5, body a h5, body h5 a {<?php print_option("font-family:", load_option("Body_h5_font") ,", arial;"); ?> <?php print_option("font-size:", load_option("Body_h5_fontsize"),"px;"); ?> <?php print_option("color:", load_option("Body_h5_fontcolor") ," ;"); ?> <?php print_option("line-height:", load_option("Body_h5_fontsize"),"px;", load_option("Body_h5_fontsize")+6); ?>}
body h6, body a h6, body h6 a {<?php print_option("font-family:", load_option("Body_h6_font") ,", arial;"); ?> <?php print_option("font-size:", load_option("Body_h6_fontsize"),"px;"); ?> <?php print_option("color:", load_option("Body_h6_fontcolor") ," ;"); ?> <?php print_option("line-height:", load_option("Body_h6_fontsize"),"px;", load_option("Body_h6_fontsize")+6); ?>}

#head_line h1, #head_line a h1, #head_line h1 a {<?php print_option("font-family:", load_option("hl_h1_font") ,", arial;"); ?> <?php print_option("font-size:", load_option("hl_h1_fontsize"),"px;"); ?> <?php print_option("color:", load_option("hl_h1_fontcolor") ," ;"); ?> <?php print_option("line-height:", load_option("hl_h1_fontsize"),"px;", load_option("hl_h1_fontsize")+6); ?>}
#head_line h2, #head_line h2 a, #head_line a h2 {<?php print_option("font-family:", load_option("hl_h2_font") ,", arial;"); ?> <?php print_option("font-size:", load_option("hl_h2_fontsize"),"px;"); ?> <?php print_option("color:", load_option("hl_h2_fontcolor") ," ;"); ?> <?php print_option("line-height:", load_option("hl_h2_fontsize"),"px;", load_option("hl_h2_fontsize")+6); ?>}
#headline { <?php print_option("background-color:", $scribbler_Navigation_bgcolor ,";"); ?> <?php print_option("background-image:url(",$scribbler_Navigation_bgimage,");"); ?> <?php print_option("background-repeat:", $scribbler_Navigation_bgimage_repeat ,";"); ?> <?php print_option("background-position:",  $scribbler_Navigation_bgimage_y." ".$scribbler_Navigation_bgimage_x ,";"); ?> }




#brand img {<?php print_option("margin-top:",$scribbler_custom_logo_top,"px;"); ?><?php print_option("margin-bottom:",$scribbler_custom_logo_bottom,"px;"); ?>}

header .main-menu {<?php print_option("font-family:",$scribbler_menu_font,";"); ?> <?php print_option("font-size:",$scribbler_menu_fontsize,"px;"); ?>}
header.main-menu  .current-menu-item, .main-menu .current-menu-parent, .current-page-ancestor {}
header .main-menu  a,  ul#responsive_menu a, .main-menu a:visited {<?php print_option(" color:", $scribbler_menu_acolor,"; "); ?>  } 
header .main-menu a:hover {<?php print_option("color: ", $scribbler_menu_ahcolor, " ;"); ?>}
header .main-menu ul.sub-menu a {<?php print_option("font-size: ",$scribbler_menu_sub_fontsize, "px ;"); ?> <?php print_option("font-family: ",$scribbler_submenu_font, " !important; "); ?>}
header .main-menu  ul.sub-menu, ul#responsive_menu {<?php print_option("background-color:", $scribbler_menu_bgsubcolor," ; "); ?> <?php print_option("line-height:",$scribbler_menu_line_height,"px; "); ?> }
ul.sub-menu::before {<?php print_option("border-bottom-color:",$scribbler_menu_bgsubcolor,";"); ?>}
header .main-menu  ul.sub-menu li a,  ul#responsive_menu li a {<?php print_option("color:", $scribbler_menu_asubcolor," ; "); ?> }	
header .main-menu  ul.sub-menu li a:hover {<?php print_option("color:", $scribbler_menu_ahsubcolor," ; "); ?> }
header #menu > li:hover {<?php print_option("background-color:",$scribbler_menu_topbghcolor, ";"); ?>}
header ul.sub-menu li:hover {<?php print_option("background-color:",$scribbler_menu_bghsubcolor," !important;"); ?>}
 
#head_line {<?php print_option("background-color:", $scribbler_Service_bgcolor ,";"); ?> <?php print_option("background-image:url(",$scribbler_Service_bgimage,");"); ?> <?php print_option("background-repeat:", $scribbler_Service_bgimage_repeat ,";"); ?> <?php print_option("background-position:",  $scribbler_Service_bgimage_y." ".$scribbler_Service_bgimage_x ,";"); ?> }



#content  {<?php print_option("color:", $scribbler_Main_fontcolor ,";"); ?> <?php print_option("font-family:", $scribbler_Main_font ,";"); ?><?php print_option("font-size:", $scribbler_Main_fontsize ,"px;"); ?>}
#content a  {<?php print_option("color:", $scribbler_Main_acolor ,";"); ?> <?php print_option("text-decoration:", $scribbler_Main_adecoration ,"underline;"); ?>}
#content a:hover {<?php print_option("color:", $scribbler_Main_ahcolor ,";"); ?>}
#content a:visited {<?php print_option("color:", $scribbler_Main_avcolor ,";"); ?>}
#content h1, #content a h1  {<?php // print_option("background-color:",$scribbler_Main_h1_bgfontcolor, ";"); ?><?php print_option("font-family:", $scribbler_Main_h1_font ,";"); ?> <?php print_option("font-size:", $scribbler_Main_h1_fontsize,"px;"); ?> <?php print_option("color:", $scribbler_Main_h1_fontcolor ,";"); ?> <?php print_option("line-height:", $scribbler_Main_h1_fontsize,"px;", $scribbler_Main_h1_fontsize+6); ?>}
#content h1 strong {<?php //  print_option("background-color:",$scribbler_Main_h1_firstwordbg,";"); ?><?php // print_option('color:',$scribbler_Main_h1_firstword,';'); ?>}
#content h2, #content a h2 {<?php print_option("font-family:", $scribbler_Main_h2_font ,";"); ?> <?php print_option("font-size:", $scribbler_Main_h2_fontsize,"px;"); ?> <?php print_option("color:", $scribbler_Main_h2_fontcolor ,";"); ?> <?php print_option("line-height:", $scribbler_Main_h2_fontsize,"px;", $scribbler_Main_h2_fontsize+6); ?>}

#content h3, #content a h3 { <?php print_option("font-family:", $scribbler_Main_h3_font ,";"); ?> <?php print_option("font-size:", $scribbler_Main_h3_fontsize,"px;"); ?> <?php print_option("color:", $scribbler_Main_h3_fontcolor ,";"); ?> <?php print_option("line-height:", $scribbler_Main_h3_fontsize,"px;", $scribbler_Main_h3_fontsize+6); ?>}
#content h4, #content a h4 {<?php print_option("font-family:", $scribbler_Main_h4_font ,";"); ?> <?php print_option("font-size:", $scribbler_Main_h4_fontsize,"px;"); ?> <?php print_option("color:", $scribbler_Main_h4_fontcolor ,";"); ?> <?php print_option("line-height:", $scribbler_Main_h4_fontsize,"px;", $scribbler_Main_h4_fontsize+6); ?>} 
#content h5, #content a h5 {<?php print_option("font-family:", $scribbler_Main_h5_font ,";"); ?> <?php print_option("font-size:", $scribbler_Main_h5_fontsize,"px;"); ?> <?php print_option("color:", $scribbler_Main_h5_fontcolor ,";"); ?> <?php print_option("line-height:", $scribbler_Main_h5_fontsize,"px;", $scribbler_Main_h5_fontsize+6); ?>}
#content h6, #content a h6 {<?php print_option("font-family:", $scribbler_Main_h6_font ,";"); ?> <?php print_option("font-size:", $scribbler_Main_h6_fontsize,"px;"); ?> <?php print_option("color:", $scribbler_Main_h6_fontcolor ,";"); ?> <?php print_option("line-height:", $scribbler_Main_h6_fontsize,"px;", $scribbler_Main_h6_fontsize+6); ?>}

#footer {<?php print_option("background-color:", $scribbler_Footer_bgcolor ,";"); ?> <?php print_option("background-image:url(",$scribbler_Footer_bgimage,");"); ?> <?php print_option("background-repeat:", $scribbler_Footer_bgimage_repeat ,";"); ?> <?php print_option("background-position:",  $scribbler_Footer_bgimage_y." ".$scribbler_Footer_bgimage_x ,";"); ?> }
#footer, #footer p, #footer * {<?php print_option("color:", $scribbler_Footer_fontcolor ,";"); ?> <?php print_option("font-family:", $scribbler_Footer_font ,";"); ?><?php print_option("font-size:", $scribbler_Footer_fontsize ,"px;"); ?>}
#footer a  {<?php print_option("color:", $scribbler_Footer_acolor ,";"); ?> <?php print_option("text-decoration:", $scribbler_Footer_adecoration ,"underline;"); ?>}
#footer a:hover {<?php print_option("color:", $scribbler_Footer_ahcolor ,";"); ?>}
#footer a:visited {<?php print_option("color:", $scribbler_Footer_avcolor ,";"); ?>}
#footer h2, #footer a h2 {<?php print_option("font-family:", $scribbler_Footer_h2_font ,";"); ?> <?php print_option("font-size:", $scribbler_Footer_h2_fontsize,"px;"); ?> <?php print_option("color:", $scribbler_Footer_h2_fontcolor ,";"); ?> <?php print_option("line-height:", $scribbler_Footer_h2_fontsize ,"px;", $scribbler_Footer_h2_fontsize+6); ?>}
#footer h3, #footer a h3 {<?php print_option("font-family:", $scribbler_Footer_h3_font ,";"); ?> <?php print_option("font-size:", $scribbler_Footer_h3_fontsize,"px;"); ?> <?php print_option("color:", $scribbler_Footer_h3_fontcolor ,";"); ?> <?php print_option("line-height:", $scribbler_Footer_h3_fontsize ,"px;", $scribbler_Footer_h3_fontsize+6); ?>}
#footer h4, #footer a h4 {<?php print_option("font-family:", $scribbler_Footer_h4_font ,";"); ?> <?php print_option("font-size:", $scribbler_Footer_h4_fontsize,"px;"); ?> <?php print_option("color:", $scribbler_Footer_h4_fontcolor ,";"); ?> <?php print_option("line-height:", $scribbler_Footer_h4_fontsize ,"px;", $scribbler_Footer_h4_fontsize+6); ?>} 
#footer h5, #footer a h5 {<?php print_option("font-family:", $scribbler_Footer_h5_font ,";"); ?> <?php print_option("font-size:", $scribbler_Footer_h5_fontsize,"px;"); ?> <?php print_option("color:", $scribbler_Footer_h5_fontcolor ,";"); ?> <?php print_option("line-height:", $scribbler_Footer_h5_fontsize ,"px;", $scribbler_Footer_h5_fontsize+6); ?>}
#footer h6, #footer a h6 {<?php print_option("font-family:", $scribbler_Footer_h6_font ,";"); ?> <?php print_option("font-size:", $scribbler_Footer_h6_fontsize,"px;"); ?> <?php print_option("color:", $scribbler_Footer_h6_fontcolor ,";"); ?> <?php print_option("line-height:", $scribbler_Footer_h6_fontsize ,"px;", $scribbler_Footer_h6_fontsize+6); ?>}
#footer h3.widget-title {<?php print_option("color:",$scribbler_Footer_titlecolor," !important; "); ?> <?php print_option("background-color:",$scribbler_Footer_titlebg," !important; "); ?>}
 

 
 

<?php
foreach ($options as $value) 
	{
	if (isset($value['id']) && get_option( $value['id'] ) != FALSE ) 
		{
	          	if(isset($value['cssgoal']) AND isset($value['csskey']))
			{
			echo $value['cssgoal']." {".$value['csskey'].": ".get_option($value['id'])." !important; }\n";
			}
		} 

	}
?>


<?php 
 if(load_option("responsive")=="on") { 
?>	

/*
**
** RESPONSIVE DESIGNS
**
*/


	
/* <980px */
@media only screen and (max-width: 1039px) 
{  
	/* .main-inner {width:90%; margin:0px auto; padding-left:3%; padding-right:3%;} */
	.main-inner  {padding-left:0px; padding-right:0px;}
}

/* Tablet   */
@media only screen and (min-width: 768px) and (max-width: 979px) 
{


	#brand {float:none; position:static; margin:0px auto; text-align:center; margin:0; padding:0; padding-bottom:20px; width:100%; }
	#brand img {margin:0px auto; margin-left:auto !important; padding-top:30px;}
	#menu {text-align:center; margin-top:0; margin-bottom:12px;}
	#navleft {width:100%; float:none; max-width:100%;}

	#page-sidebar-right, #page-sidebar-left, #page-sidebar-no-sidebar, .footer-inner {width:96%; margin:0px 2%;}
	#page-sidebar-right, #page-sidebar-left, #page-sidebar-no-sidebar {padding-top:20px;}
	.sidebar_top, .sidebar_body, .sidebar_bottom {background-image:none !important;}


	#navleft, #navright {width:auto; text-align:center;}
	#navleft .menu-main-container {padding-right:0px; margin-right:0px;}
	#navright {/* float:left !important; width:auto !important; */}
	ul#menu > li > a, ul#menu_2 > li > a { /* font-size:11px; */ line-height:83px;}
	ul#menu > li >  span {display:none;}
	.alert span{line-height:140%;}
	.inner, #page {/* max-width:750px !important; */ width:100% !important;}
	.main-inner {width:90% !important; margin:0px auto;}
	.inner, .head-nav, .headline-breadcrumbs {width:100% !important;}
	#first-sidebar-left, .first-sidebar-left, #first-sidebar-right, .first-sidebar-right, #page-sidebar-left-right-content, #page-sidebar-right-content, #contact_left, #contact_right, #big-sidebar-left, #big-sidebar-right, #page-sidebar-left-left-content, #page-sidebar-right-right-content, #page-sidebar-left-content {  display:block; width:100%;}	
 	#page-sidebar-left-right-content, #page-sidebar-right-content {width:100%;  } 
	#head_sector {/* background-image:none !important; */}
	.head_sector img, head_sector div { /* height:auto !important;*/}
	#nivo-slider {max-width:740px !important;  }
	.slider-shadow-Type-1, .slider-shadow-Type-2, .slider-shadow-Type-3, .slider-shadow-Type-4, .slider-shadow-Type-5, .slider-shadow-Type-6, .slider-shadow-Type-7, .slider-shadow-Type-8, .slider-shadow-Type-9, .slider-shadow-Type-10, .slider-shadow-Type-11, .slider-shadow-Type-12, .slider-shadow-Type-13, .slider-shadow-Type-14, .slider-shadow-Type-15{background-image:none !important;} 
	.underfooter_custom, .underfooter_menu {float:none !important; width:100% !important;display:block;text-align:left !important;}
	.anythingslider, .anythingslider .panel {width:740px !important;}
	.anythingslider .panel img {width:100% !important; height:auto !important;}
	ul#cycle-nav-2 img {width:60px !important; height:30px !important;}
	.slideshow_roundabout ul {width:740px !important;}
	ul#responsive_menu , .toggle-responsive-menu {display:none ;}
	#navline {height:auto;}
	#navright {display:inline;/* width:490px; */ float:right;}
	#sidebar-left-top, .sidebar-left-top, #sidebar-left-bottom, .sidebar-left-bottom, #sidebar-right-top, #sidebar-right-bottom, .sidebar-right-top, .sidebar-right-bottom {display:none;}
	#sidebar-left-body, .sidebar-left-body, #sidebar-right-body, .sidebar-right-body {background:none !important;}
	ul#menu li.menu-item {border-bottom:2px solid transparent;}
	.main-inner img {max-width:100% !important; height:auto !important;}
	#content, .sidebar {width:100% !important; float:none; margin:0px !important; padding:0px !important; border:none !important; height: auto !important;}
	#sidebar-body {padding:0px !important;}
	.slideshow_default > .inner {max-width:650px !important;}
	#content { padding-bottom: 10px !important;margin-bottom: 20px !important;}
}

/*  Tablet Portrait  */
@media only screen and (max-width: 767px) 
{

	.pricing_table, .icon_menu {background:none !important; padding-bottom:0px;}
	#page-sidebar-right, #page-sidebar-left, #page-sidebar-no-sidebar, .footer-inner {width:96%; margin:0px 2%;}
	#page-sidebar-right, #page-sidebar-left, #page-sidebar-no-sidebar {padding-top:20px;}
	.sidebar_top, .sidebar_body, .sidebar_bottom {background-image:none !important;}

	#brand {float:none; width:100%; display:block; text-align:center;	padding:0; margin:0;}
	#brand img {float:none; margin:0px auto; margin-left:0px !important; }


	#navleft, #navright {width:auto;}
	a.carousel-nav-next {right:0px !important;}
	a.carousel-nav-prev {}
	.alert span{line-height:140%;}
	#nivo-slider {max-width:760px !important;}
	.inner, #page {max-width:767px !important;}
	.inner, .head-nav, .headline-breadcrumbs {width:100% !important;}
	#first-sidebar-left, .first-sidebar-left, #first-sidebar-right, .first-sidebar-right, #page-sidebar-left-right-content, #page-sidebar-right-content, #contact_left, #contact_right, #big-sidebar-left, #big-sidebar-right, #page-sidebar-left-left-content, #page-sidebar-right-right-content, #page-sidebar-left-content {  display:block; width:100%;}	
 	#page-sidebar-left-right-content, #page-sidebar-right-content {width:100%;  } 
	#head_sector {/*background-image:none !important;*/}
	.slideshow_roundabout ul {width:740px !important;}
	.anythingslider, .anythingslider .panel {width:740px !important;}
	.anythingslider .panel img {width:100% !important; height:auto !important;}
	.head_sector img, head_sector div {max-width:767px !important; height:auto !important;}
	.slider-shadow-Type-1, .slider-shadow-Type-2, .slider-shadow-Type-3, .slider-shadow-Type-4, .slider-shadow-Type-5, .slider-shadow-Type-6, .slider-shadow-Type-7, .slider-shadow-Type-8, .slider-shadow-Type-9, .slider-shadow-Type-10, .slider-shadow-Type-11, .slider-shadow-Type-12, .slider-shadow-Type-13, .slider-shadow-Type-14, .slider-shadow-Type-15{background-image:none !important;} 
	.underfooter_custom, .underfooter_menu {float:none !important; width:100% !important;display:block;text-align:left !important;}
	#navline {height:auto;}
	#navright {display:inline; float:right;}
	#sidebar-left-top, .sidebar-left-top, #sidebar-left-bottom, .sidebar-left-bottom, #sidebar-right-top, #sidebar-right-bottom, .sidebar-right-top, .sidebar-right-bottom {display:none;}
	#sidebar-left-body, .sidebar-left-body, #sidebar-right-body, .sidebar-right-body {background:none !important;}
	ul#menu li.menu-item {border-bottom:2px solid transparent;}
	.main-inner img {max-width:100% !important; height:auto !important;} 
	ul#responsive_menu , .toggle-responsive-menu {display:none ;}
	#content, .sidebar {width:100% !important; float:none; margin:0px !important; padding:0px !important;}
	#sidebar-body {padding:0px !important;}
	#content { padding-bottom: 10px !important;margin-bottom: 20px !important;}
}

/* Mobile Landscape */
@media only screen and (min-width: 480px) and (max-width: 768px) 
{ 

	#page {width:100% !important; padding:0px !important;}
	.pricing_table, .icon_menu {background:none !important; padding-bottom:0px;}
	.single_team_contact_container {width:90%; margin:0px 5%;}

	.group-itemlist-2 > div, .group-itemlist-2 > div:nth-child(2n), .group-itemlist-3 > div, .group-itemlist-3 > div:nth-child(3n), .group-itemlist-4 > div, .group-itemlist-4 > div:nth-child(4n), .group-itemlist-4 > div:nth-child(4n) + div, .group-itemlist-2 > div:nth-child(2n) + div, .group-itemlist-3 > div:nth-child(3n) + div, .group-itemlist-2 > li, .group-itemlist-2 > li:nth-child(2n), .group-itemlist-3 > li, .group-itemlist-3 > li:nth-child(3n), .group-itemlist-4 > li, .group-itemlist-4 > li:nth-child(4n)
	{	margin-right:0;	width:100%;	float:none;}

	#page-sidebar-right, #page-sidebar-left, #page-sidebar-no-sidebar, .footer-inner {width:96%; margin:0px 2%;}
	#page-sidebar-right, #page-sidebar-left, #page-sidebar-no-sidebar {padding-top:20px;}
	.sidebar_top, .sidebar_body, .sidebar_bottom {background-image:none !important;}

	.footer-inner > div:after {position:static; display:none; }
	.footer-inner > div {margin-bottom:30px;}
	#footer ul > li > a {display:inline-block;}
	#footer .ContactsWidget p {display:inline-block;}
	#nav > .inner {width:100% !important;}

	#brand {float:none; position:static; margin:0; padding:0; text-align:center}
	#brand img { padding-top:20px; padding-bottom:20px; margin-left:auto !important;}

	#content, .sidebar {border:none !important;height:auto !important;}
	.sidebar {height:auto !important;}
	a.carousel-nav-next {right:0px !important;}
	a.carousel-nav-prev {}
	.alert span{line-height:140%;}
	#menu {margin-top:0px !important; text-align:center;}
	nivo-slider {max-width:450px !important;}
	.inner, #page {max-width:767px !important;}
	.inner, .head-nav, .headline-breadcrumbs, .anythingslider, .anythingslider .panel , .slideshow_roundabout ul {width:90% !important; margin:0px auto;}
	#first-sidebar-left, .first-sidebar-left, #first-sidebar-right, .first-sidebar-right, #page-sidebar-left-right-content, #page-sidebar-right-content, #contact_left, #contact_right, #big-sidebar-left, #big-sidebar-right, #page-sidebar-left-left-content, #page-sidebar-right-right-content, #page-sidebar-left-content {  display:block; width:100%;}	
 	#page-sidebar-left-right-content, #page-sidebar-right-content {width:100%;  } 
	#head_sector {/* background-image:none !important; */}
	.slideshow_roundabout ul {width:480px !important;}
	.slider-shadow-Type-1, .slider-shadow-Type-2, .slider-shadow-Type-3, .slider-shadow-Type-4, .slider-shadow-Type-5, .slider-shadow-Type-6, .slider-shadow-Type-7, .slider-shadow-Type-8, .slider-shadow-Type-9, .slider-shadow-Type-10, .slider-shadow-Type-11, .slider-shadow-Type-12, .slider-shadow-Type-13, .slider-shadow-Type-14, .slider-shadow-Type-15{background-image:none !important;} 
	.underfooter_custom, .underfooter_menu {float:none !important; width:100% !important;display:block;text-align:left !important;} 
	.anythingslider .panel img {width:100% !important; height:auto !important;} 
	ul#cycle-nav-2 img {width:60px !important; height:30px !important;} 
	#navline {height:auto;}
	#navright {display:inline;   text-align:right !important; }
	#sidebar-left-top, .sidebar-left-top, #sidebar-left-bottom, .sidebar-left-bottom, #sidebar-right-top, #sidebar-right-bottom, .sidebar-right-top, .sidebar-right-bottom {display:none;}
	#sidebar-left-body, .sidebar-left-body, #sidebar-right-body, .sidebar-right-body {background:none !important;}
	.main-inner img {max-width:100% !important; height:auto !important; float:left; }
	.group img {width:100%;}
	.main-inner {padding-left:3% !important; padding-right:3% !important;}
	.footer-widget, .sc_column, .portfolio-lists-item-shortcode, .shortcode_posts {width:50% !important; float:left;}
	.footer-widget {margin-left:0px !important; margin-right:0px !important;}
	.sc_column, .portfolio-lists-item-shortcode, .shortcode_posts {margin-right:0px !important;}
	.sidebar, #content {width:100% !important; float:none;}
	#sidebar-body {padding:0px !important;}
	#outer_brand {position:relative; width:90%; margin:0px auto;}
	#top_bar {padding-left:210px; overflow:hidden;}
	#navright {  }
	#navright > nav {float:none !important; position:relative;}
	#magic-line {display:none !important;}
	.mean-container .mean-nav > ul > li > a {width:100%; }
	#navleft {width:100%; text-align:center; float:none;}
	ul#menu >  li, ul#menu li > a {font-size:12px; line-height:40px; height:40px; padding:5px; }
	ul#menu > li ul.sub-menu li, ul#menu > li ul.sub-menu li a {font-size:12px; height:34px; line-height:34px; padding:5px;  z-index:9999999999999999;} 
	ul#menu > li ul.sub-menu li {padding:0px;}
	ul#menu li span {display:none !important;}
	ul#menu li:hover .sub-menu {top:52px;}
	.footer-widget, .sc_column, .portfolio-lists-item-shortcode, .shortcode_posts, .one_half, .one_half_last, .one_third, .one_third_last, .two_third, .two_third_last, .one_fourth, .one_fourth_last, .three_fourth, .three_fourth_last  {width:100% !important;}
	#content { padding-bottom: 10px !important;margin-bottom: 20px !important;}


	#footer {text-align:center;}
	.portfolio-single .one_fourth {width:22% !important; margin-right:4% !important; }
	.portfolio-single .one_fourth_last {width:22% !important; margin-right:0% !important;}






}
/* Mobile Portrait  */
@media only screen and (max-width: 479px) 
{
	.pricing_table, .icon_menu {background:none !important; padding-bottom:0px;}
	#footer {text-align:center;}
	.single_team_contact_container {width:90%; margin:0px 5%;}
	#page-sidebar-right, #page-sidebar-left, #page-sidebar-no-sidebar, .footer-inner {width:96%; margin:0px 2%;}
	#page-sidebar-right, #page-sidebar-left, #page-sidebar-no-sidebar {padding-top:20px;}
	.sidebar_top, .sidebar_body, .sidebar_bottom {background-image:none !important;}

	.blogentry_aside {display:none;}
	.blogentry_right {padding:0;}

	.group-itemlist-2 > div, .group-itemlist-2 > div:nth-child(2n), .group-itemlist-3 > div, .group-itemlist-3 > div:nth-child(3n), .group-itemlist-4 > div, .group-itemlist-4 > div:nth-child(4n), .group-itemlist-4 > div:nth-child(4n) + div, .group-itemlist-2 > div:nth-child(2n) + div, .group-itemlist-3 > div:nth-child(3n) + div, .group-itemlist-2 > li, .group-itemlist-2 > li:nth-child(2n), .group-itemlist-3 > li, .group-itemlist-3 > li:nth-child(3n), .group-itemlist-4 > li, .group-itemlist-4 > li:nth-child(4n)
	{	margin-right:0;	width:100%;	float:none;}

	.mean-container .mean-nav ul li a {float:none !important;}
	.mean-container .mean-nav ul li a span {display:none;}
	.footer-inner > div:after {position:static; display:none; }
	.footer-inner > div {margin-bottom:30px;}
	#footer ul > li > a {display:inline-block;}
	#footer .ContactsWidget p {display:inline-block;}
	#nav > .inner {width:100% !important;}

	a.carousel-nav-next {right:0px !important;}
	a.carousel-nav-prev {}
	.alert span{line-height:140%;}
	#page {max-width:439px !important; margin:0px auto;}
	#nivo-slider {max-width:300px !important;   }
	.inner  {max-width:479px !important;}
	.inner, .head-nav, .headline-breadcrumbs, .anythingslider, .anythingslider .panel , .slideshow_roundabout ul {width:100% !important;}
	#first-sidebar-left, .first-sidebar-left, #first-sidebar-right, .first-sidebar-right, #page-sidebar-left-right-content, #page-sidebar-right-content, #contact_left, #contact_right, #big-sidebar-left, #big-sidebar-right, #page-sidebar-left-left-content, #page-sidebar-right-right-content, #page-sidebar-left-content {  display:block; width:100%;}	
 	#page-sidebar-left-right-content, #page-sidebar-right-content {width:100%;  } 
	#head_sector {background-image:none !important;}
	.slider-shadow-Type-1, .slider-shadow-Type-2, .slider-shadow-Type-3, .slider-shadow-Type-4, .slider-shadow-Type-5, .slider-shadow-Type-6, .slider-shadow-Type-7, .slider-shadow-Type-8, .slider-shadow-Type-9, .slider-shadow-Type-10, .slider-shadow-Type-11, .slider-shadow-Type-12, .slider-shadow-Type-13, .slider-shadow-Type-14, .slider-shadow-Type-15{background-image:none !important;} 
	.underfooter_custom, .underfooter_menu {float:none !important; width:100% !important;display:block;text-align:left !important;} 
	.anythingslider .panel img {width:100% !important; height:auto !important;}
	.head_sector img, head_sector div {width:439px; max-width:439px !important; height:auto !important;}
	ul#cycle-nav-2 img {width:60px !important; height:30px !important;} 
	#navline {height:auto;} 
	#sidebar-left-top, .sidebar-left-top, #sidebar-left-bottom, .sidebar-left-bottom, #sidebar-right-top, #sidebar-right-bottom, .sidebar-right-top, .sidebar-right-bottom {display:none;}
	#sidebar-left-body, .sidebar-left-body, #sidebar-right-body, .sidebar-right-body {background:none !important;}
	.main-inner img {max-width:100% !important; height:auto !important;}
	.footer-widget, .sc_column, .portfolio-lists-item-shortcode, .shortcode_posts, .one_half, .one_half_last, .one_third, .one_third_last, .two_third, .two_third_last, .one_fourth, .one_fourth_last, .three_fourth, .three_fourth_last  {width:100% !important;}
	.footer-widget {margin-left:0px !important; margin-right:0px !important;}
	.sc_column, .portfolio-lists-item-shortcode, .shortcode_posts {margin-right:0px !important;} 
	ul#menu { }
	#brand, .menu-mainmenu-container {width:100%; float:none;} 
	#brand img, #brand a {display:block; max-width:100% !important; margin:0px auto !important; text-align:center;} 
	#brand img {padding-top:20px; padding-bottom:20px;}
	#social-header {float:none !important; }
	#social-header a {margin-left:10px; text-align:left !important;}
	.head-nav {text-align:left !important;} 
	#navright {float:none !important; text-align:left !important;}
	#navright > nav {float:none !important;}
	ul#responsive_menu  {position:absolute; z-index:999999999;   clear:both !important; max-height:300px; overflow-y:auto; width:300px !important;  max-width:479px;}
	ul#responsive_menu li a {text-align:left; display:block;}
	ul#responsive_menu li ul {margin-left:11px;}
	ul#responsive_menu li ul li ul {margin-left:11px;}
	.toggle-responsive-menu {display:block !important; text-align:center;}
	.slideshow_roundabout ul {width:150px !important;} 
	.footer-inner > div {float:none; width:100% !important; margin-right:0px !important; margin-bottom:30px;}
	.sidebar, #content {width:100% !important; float:none;}
	#sidebar-body {padding:0px !important;}
	input#s {min-width:10px !important; width:auto !important;}
	#content { padding-bottom: 10px !important;margin-bottom: 20px !important;}
}
<?php 
	}
if(load_option("extra_css"))
	{
echo stripslashes(load_option("extra_css"));  
	}
?>


