/** Layout
---------------------------------
*  Using a negative margin technique, adapted from ZEN. The page is loaded by this order:
*  
*  1. Header
*  2. Content
*  3. Navigation menus
*  4. Sidebar Left
*  5. Sideabr Right
*	
*/

#page {
	width: 100%; /* edit to change the width of the page */
	margin: 0 auto; /* remove 'auto' and the width to switch to a fluid width */
	padding: 0;
}

div.tabs {
	position: absolute;
	left: 0;
	top: 0;
	margin: -65px 0 0 0 !important;
}

div.tabs.not_positioned {
	position: relative;
	margin-top: 20px;
	clear: both;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/** LAYOUT RULES
---------------------------------
*  do not change if you're not sure you know what you're doing
*/

#main {
	margin: 0 auto;
	width: 1000px;
	min-height:400px;
}

.node-type-homepage #main_container, .no-sidebars #main_container {
	float: none;
}

#sidebar_container {
	position: absolute;
	top: 0;
}

#content {
  float: left;
  clear: both;
  width: 100%;
  margin-right: -100%;
  margin-top: 15px;
  padding: 0 0 20px;
}

.node-type-homepage #content, .no-sidebars #main_container {
	float: none;
	margin-right: 0;
}

.node-type-homepage .homepage_banner {
	-moz-box-sizing: border-box;
	-webkit-box-sizing:border-box;
	box-sizing: border-box;
    background: #444444;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjMwJSIgc3RvcC1jb2xvcj0iIzk5OTk5OSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjcwJSIgc3RvcC1jb2xvcj0iIzk5OTk5OSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(left,  rgba(0,0,0,1) 0%, rgba(153,153,153,1) 30%, rgba(153,153,153,1) 70%, rgba(0,0,0,1) 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0,0,0,1)), color-stop(30%,rgba(153,153,153,1)), color-stop(70%,rgba(153,153,153,1)), color-stop(100%,rgba(0,0,0,1)));
	background: -webkit-linear-gradient(left,  rgba(0,0,0,1) 0%,rgba(153,153,153,1) 30%,rgba(153,153,153,1) 70%,rgba(0,0,0,1) 100%);
	background: -o-linear-gradient(left,  rgba(0,0,0,1) 0%,rgba(153,153,153,1) 30%,rgba(153,153,153,1) 70%,rgba(0,0,0,1) 100%);
	background: -ms-linear-gradient(left,  rgba(0,0,0,1) 0%,rgba(153,153,153,1) 30%,rgba(153,153,153,1) 70%,rgba(0,0,0,1) 100%);
	background: linear-gradient(to right,  rgba(0,0,0,1) 0%,rgba(153,153,153,1) 30%,rgba(153,153,153,1) 70%,rgba(0,0,0,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#444444',GradientType=1 );
    padding: 10px 0;
    width: 100%;
	-webkit-box-shadow: inset 0px 1px 5px rgba(0, 0, 0, 0.25);
	-moz-box-shadow:    inset 0px 1px 5px rgba(0, 0, 0, 0.25);
	box-shadow:         inset 0px 1px 5px rgba(0, 0, 0, 0.25);
	border-bottom: 2px solid #999;
}

.node-type-homepage .homepage_block_container {
}

.node-type-homepage .homepage_block {
	margin-top: 20px;
	margin-bottom: 40px;
	width: 50%;
	float: left;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
}

.node-type-homepage .homepage_block.news {
	padding-right: 40px;
}

.node-type-homepage .homepage_block.social {
	padding-left: 40px;
}

.sidebar {
  float: left;
}
#sidebar-second,
#sidebar-second-bottom {
  float: right;
  padding-bottom:10px;
}
#footer {
  float: none;
  clear: both;
  margin-top: 60px;
}

#footer .as_footer_block {
	float: left;
	width: 230px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 20px;
}

#footer .as_footer_block ul {
	padding: 0;
}

#footer .as_footer_block ul li {
	list-style: none;
}

#footer .as_footer_block img.footer_logo {
	margin: -5px 0 10px 0;
}

#footer .as_footer_block h3 {
	padding-top: 0;
}

#footer a {
	color: #fff;
}

#footer a:hover {
	text-decoration: underline;
}

#footer .as_footer_block.as_footer_contact_block {
	width: 310px;
	margin-top: -40px;
	border-radius: 5px;
	background-color: #0090B3;
	box-shadow: 0 1px 3px rgba(0,0,0,.25);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.25);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.25);
	z-index: 300;
}

#footer .as_footer_block.as_footer_contact_block p {
	font-weight: bold;
}

#footer .as_footer_block.as_footer_contact_block h3.newsletter {
	border-top: 1px solid white;
    margin-bottom: 0;
    padding-top: 20px;
}

#footer .as_footer_block.as_footer_contact_block input {
	width: 100%;
}

#footer .as_footer_block.as_footer_contact_block .form-required {
	color: #fff;
}

#footer .as_footer_block.as_footer_contact_block #edit-firstName-wrapper,
#footer .as_footer_block.as_footer_contact_block #edit-lastName-wrapper {
	width: 45%;
	float: left;
}

#footer .as_footer_block.as_footer_contact_block #edit-lastName-wrapper {
	margin-left: 35px;
}

#footer .as_footer_block.as_footer_contact_block #edit-email-wrapper {
	clear: both;
}

#footer .as_footer_block.as_footer_contact_block input[type=submit] {
	font-size: 18px;
	text-align: center;
}

#footer .as_copy {
	clear: both;
	font-size: 12px;
	padding: 20px;
}

#footer .as_copy a {
	text-decoration: underline;
}

#footer_bar {
	color: #fff;
	padding: 5px 0;
	font-size: 16px;
	line-height: 24px;
	height: 25px;
}

#footer_bar .footer_tagline {
	float: left;
	width: auto;
}

#footer_bar .footer_tagline sup {
	font-size: 50%;
}

#footer_bar .footer_social, .social_buttons {
	float: right;
	width: auto;
}

#footer_bar .footer_phone {
	float: right;
	margin-right: 20px;
}

.footer_container {
	width: 1000px;
	margin: auto;
	padding-top: 20px;
}

#page #main {
	position: relative;
}

#main #content-area {
	margin-left: 240px;
}

.node-type-full-width-page #main #content-area,
.node-type-campaign-landing-page #main #content-area,
.node-type-landing-page #main #content-area,
.node-type-homepage #main #content-area,
.page-search #main #content-area {
	margin-left: 0;
}

/* Layout Helpers */

#header, #footer, .mission, .breadcrumb, .node {
  clear: both;
}

.breadcrumb {
   color:#666666;
   font-size:10px;
   padding:2px 1px 0; 
}

/** Sidebars width
---------------------------------
*  Changing the width of the sidebars is dead easy, just change the
*  values below corresponding to the sidebar you want to modify.
*  Make sure you keep negative values as negative values.
*  For example, if I want to increase the width of the left sidebar
*  to 300px, I would have to change each '190' to '300'.
*/

.center {
  margin-left: 240px;
  padding:0 10px 0 10px;
}

.node-type-homepage .center, .no-sidebars .center {
	margin-left: 0;
}

#sidebar-first {
  width: 220px;           /* LEFT value */
}

#sidebar-second,
#sidebar-second-bottom {
  width: 220px;           /* RIGHT value */
}

/* product pages don't have sidebars */
body.section-komodo-ide .center,
body.section-komodo-edit .center {
		margin-right: 0;
		padding: 0;
}


/** Content top
---------------------------------
*/

#content-top {
	width: 760px;
	float: right;
}

.block-nodeasblock + .breadcrumb {
		border-top: none;
		margin-top: -5px;
}

#content-top p {
		margin-bottom: 0;
		margin-top: 0;
}


/** Columns inner
---------------------------------
*  You can change the padding inside the columns without changing the
*  width of them by just usinbg the INNER div of each column
*/

.inner {
	padding: 0px;
}

#content-header {
		margin-top: 7px;
}

/** Navigation styles
---------------------------------
*  The navigation is loaded after the content, so we need to make space
*  for it, equal to its height, so if you change the height of the navigation,
*  remember to adapt the margin top of the content and sidebars.
*/

#navigation {
  float: left;
  margin-left: 0;
  margin-right: -100%;
  padding: 0;
  width: 100%;
}
.with-navigation #content,
.with-navigation .sidebar {
  
}
#navigation {
  height: 40px;            /* Navigation Height */
}


/* Positioning of elements */

.as_page_section {
		clear: both;
		line-height: 1.4em; /* needed for equal height lines with <code> spans */
}

.as_right {
		float: right;
		margin: 0 0 20px 15px;
}

.as_left {
		float: left;
		margin: 0 15px 20px 0 !important;
}

.node-type-blog .as_left {
	margin: 0 30px 20px 0 !important;
}

.as_smaller {
	font-size: smaller;
}

.as_product_screenshot {
		width: 350px; 
}

.as_feature_screenshot {
		-moz-box-shadow: 0 0 10px #666;
		-webkit-box-shadow: 0 0 10px #666;
		box-shadow: 0 0 10px #666;
		margin-left: 2px;
}

.as_product_screenshot_small {
		float: left;
		margin-left: 10px;
		margin-right: 1px;
		text-align: center;
		border: 1px solid #fff;
}

.as_product_screenshot_small a {
		border: 2px solid #666;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		border-radius: 5px;
}

.as_product_screenshot_small a:hover {
		border: 2px solid #007d9a;
}

.as_product_screenshot_small.as_first {
		margin-left: 0 !important;
}

.as_product_screenshot.as_fullwidth {
		width: 100%;
}

.as_product_screenshot.as_narrow {
	width: 200px;
}

.as_product_screenshot.as_narrow.as_fullwidth {
	width: 460px;
}

/* 6-column layout, with 720px full width = 100px with 24px sep. */

div.as_feature_column6 {
  width: 100px;
  float: left;
  margin-bottom: 15px;
  margin-left: 24px;
}

div.as_feature_column6.as_first {
  margin-left: 0 !important;
}

div.as_feature_column6.as_last {
  margin-left: 22px;  /* being picky to try to align right edge */
}

div.as_feature_column6 .as_feature_label {
  font-size: 90%;
  font-weight: bold;
}

.as_feature_img {
  padding: 5px;
  background-color: #f6f6f6;
  border: 1px solid #d6d6d6;
}

a:hover .as_feature_img {
  border-color: #C3AEB2;  /* grey with a tinge of the AS red for link hover */
}

.as_feature_toc {
  text-align: center;
  border: 1px solid #dddddd;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  background-color: #f5f5f5;
  padding: 15px 50px;
  margin-bottom: 40px;
}

.as_feature_toc td.as_feature_toc_title {
  color: #777;
  padding-bottom: 15px;
}

.as_feature_toc table {
  margin: 0;
  padding: 0;
  width: 100%;
}

.as_feature_toc tbody {
  border: none;
}

.as_feature_toc td {
  padding: 2px;
  width: 33%;
  text-align: left;
  border: none;
}

.as_page_section_title {
  font-size: 24px;
}

/* Campaign Landing Page layout */

body.node-type-campaign-landing-page #content-area .node-type-campaign_landing_page {
	width: 640px;
	float: left;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 10px 0 20px;
}

body.node-type-campaign-landing-page .campaign_cta {
	width: 330px;
	float: right;
	background-color: rgb(204, 204, 204);
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 10px 20px;
	border-radius: 20px 20px 20px 20px;
}

body.node-type-campaign-landing-page .campaign_cta input[type=text],
body.node-type-campaign-landing-page .campaign_cta select {
	width: 100%;
}

body.node-type-campaign-landing-page .campaign_cta input[type=submit] {
	width: 100%;
	padding: 20px;
	font-size: large;
	text-align: center;
}

body.node-type-campaign-landing-page .campaign_secondary_content {
	width: 330px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	float: right;
	clear: right;
	padding: 10px 20px;
	margin-top: 20px;
}

/* Landing Page layout */

.page_banner {
    color: #FFFFFF;
    padding: 15px 0 15px;
	background-color: #444444;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQwJSIgc3RvcC1jb2xvcj0iIzk5OTk5OSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjYwJSIgc3RvcC1jb2xvcj0iIzk5OTk5OSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(left,  rgba(0,0,0,1) 0%, rgba(153,153,153,1) 40%, rgba(153,153,153,1) 60%, rgba(0,0,0,1) 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0,0,0,1)), color-stop(40%,rgba(153,153,153,1)), color-stop(60%,rgba(153,153,153,1)), color-stop(100%,rgba(0,0,0,1)));
	background: -webkit-linear-gradient(left,  rgba(0,0,0,1) 0%,rgba(153,153,153,1) 40%,rgba(153,153,153,1) 60%,rgba(0,0,0,1) 100%);
	background: -o-linear-gradient(left,  rgba(0,0,0,1) 0%,rgba(153,153,153,1) 40%,rgba(153,153,153,1) 60%,rgba(0,0,0,1) 100%);
	background: -ms-linear-gradient(left,  rgba(0,0,0,1) 0%,rgba(153,153,153,1) 40%,rgba(153,153,153,1) 60%,rgba(0,0,0,1) 100%);
	background: linear-gradient(to right,  rgba(0,0,0,1) 0%,rgba(153,153,153,1) 40%,rgba(153,153,153,1) 60%,rgba(0,0,0,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#444444',GradientType=1 );
	margin-bottom: 20px;
}

.landing_page_banner.page_banner {
	padding: 20px 0 35px;
}

.page_banner_content {
	margin: auto;
    overflow: auto;
    width: 1000px;
	font-size: 18px;
	line-height: 1.3;
	text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
}

.landing_page_banner .page_banner_content {
	font-size: 22px;
}

.page_banner_content p {
	margin: 0;
}

.page_banner_content h1.title {
	float: left;
	font-size: 32px;
	line-height: 1.2;
	letter-spacing: 1px;
	padding: 0;
}

.landing_page_banner .page_banner_content h1.title {
	font-size: 64px;
}

.page_banner_content a {
	color: #fff !important;
	text-decoration: underline !important;
}

.page_banner_content h1.title a {
	text-decoration: none !important;
}

.page_banner_content .section_blurb {
	float: left;
	clear: left;
	width: 60%;
	font-size: 18px;
	margin-top: 10px;
	color: #fff;
	font-family: Helvetica, sans-serif;
}

.page_banner_content .section_blurb span.blog_attribution {
	display: block;
	font-size: small;
	margin-top: 5px;
}

.landing_page_banner .page_banner_content .section_blurb {
	font-size: 32px;
	margin-top: 20px;
}

.page_banner_content .cta {
	float: right;
	width: 33%;
	text-align: center;
	margin-top: 10px;
}

.landing_page_banner .page_banner_content .cta {
	margin-top: 20px;
}

.page_banner_content .awesome {
	text-decoration: none !important;
	width: 100%;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
	text-align: center;
	font-weight: normal;
}

.landing_page_banner .page_banner_content .awesome {
	padding: 20px;
}

.page_banner_content .awesome img {
	width: 75%;
}

.page_banner_content img.author_image {
	box-shadow: 0 1px 3px rgba(256,256,256,.25);
	border-radius: 2px;
	float: right;
	height: 80px;
}

.landing_page_menu {
	padding: 0 0 10px 0;
	font-size: 18px;
	line-height: normal;
}

.landing_page_menu a {
	border-right: 1px dotted black;
    margin-right: 6px;
    padding-right: 10px;
}

.landing_page_menu a:last-child {
	border-right: none;
	margin: 0;
	padding: 0;
}

.field-field-landing-page-block .field-item {
	float: left;
	border-radius: 2px;
	padding: 10px 0;
	margin-top: 20px;
	font-size: 18px;
	line-height: 1.1;
}

.field-field-landing-page-block .field-item:nth-child(1) {
	width: 323px;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
	margin-right: 10px;
	margin-left: 0;
	margin-bottom: 20px;
	background-color: #efefef;
	border-radius: 2px;
	box-shadow: 0 1px 3px rgba(0,0,0,.5);
	padding: 10px 20px;
	clear: both;
}

.field-field-landing-page-block .field-item:nth-child(1) li {
	padding-bottom: 15px;
}

.field-field-landing-page-block .field-item:nth-child(2) {
	width: 656px;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
	padding-left: 20px;
	margin-bottom: 20px;
	margin-left: 10px;
	margin-right: 0;
}

.field-field-landing-page-block .field-item:nth-child(3) {
	width: 656px;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
	margin-bottom: 20px;
	margin-right: 10px;
	margin-left: 0;
	clear: both;
}

.field-field-landing-page-block .field-item:nth-child(4) {
	width: 323px;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
	margin-bottom: 20px;
	margin-left: 10px;
	padding: 10px;
	margin-right: 0;
	clear: none;
	box-shadow: 0 1px 3px rgba(0,0,0,.25);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.25);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.25);
	background-color: #efefef;
}

.stackato-contact-form {
	width: 400px;
	background-color: rgb(204, 204, 204);
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 10px 20px;
	border-radius: 20px 20px 20px 20px;
}

.stackato-contact-form .form-text {
    width: 95%;
}
