body { background: #dddddd; }
.ui-mobile .type-home #mnm-home { background: #e5e5e5 url(../img/mnm-sitebg.png) top center repeat-x; }
.ui-mobile #mnm-homeheader { padding: 40px 10px 0; text-align: center;  margin: 0 auto; }
.ui-mobile #mnm-homeheader h1 { margin: 0 0 ; }
.ui-mobile #mnm-homeheader p { margin: .3em 0 0; line-height: 1.3; font-size: .9em; font-weight: bold; color: #666; }
.ui-mobile #mnm-version { text-indent: -99999px; background: url(../img/version.png) top right no-repeat; width: 119px; height: 122px; overflow: hidden; position: absolute; z-index: 50; top: 0; right: 0; margin: 0 !important;}
#mnm-homeheader img { width: 245px; }
.ui-header .mnm-home { top:0.65em; }
nav { margin: 0; }
p.intro {
	font-size: .96em;
	line-height: 1.3;
		border-top: 1px solid #FF8800;
		border-bottom: 0;
		background: none;
		margin: 1.5em 0;
		padding: 1.5em 15px 0;

}
p.intro strong {
	color: #FF8800;
}
.footer-docs {
	padding: 5px 0;
}
.footer-docs p {
	float: left;
	margin-left:15px;
	font-weight: normal;
	font-size: .9em;
}

.type-interior .content-secondary {
	border-right: 0;
	border-left: 0;
	margin: 10px -15px 0;
	background: #fff;
	border-top: 1px solid #ccc;
}
.type-home .ui-content {
	margin-top: 5px;
}
.type-interior .ui-content {
	padding-bottom: 0;
}

.content-secondary .ui-collapsible {
	padding: 0 15px 10px;

}
.content-secondary .ui-collapsible-content {
	padding: 0;
	background: none;
	border-bottom: none;
}
.content-secondary .ui-listview {
	margin: 0;
}

.ui-li-aside {
  max-width: 80px;
}
/* new API additions */

dt {  
	margin: 35px 0 15px 0; 
	background-color:#ddd; 
	font-weight:normal;
}
dt code { 
	display:inline-block; 
	font-weight:bold;
	color:#FF8800; 
	padding:3px 7px; 
	margin-right:10px; 
	background-color:#fff; 
}
dd { 
	margin-bottom:10px; 
}
dd .default { font-weight:bold; }
dd pre { 
	margin:0 0 0 0; 
}
dd code { font-weight: normal; }
dd pre code { 
	margin:0; 
	border:none; 
	font-weight:normal; 
	font-size:100%; 
	background-color:transparent; 
}
dd h4 { margin:15px 0 0 0; }
		
.localnav {
	margin:0 0 20px 0;
	overflow:hidden;
}
.localnav li {
	float:left;
}
.localnav .ui-btn-inner { 
	padding: .6em 10px; 
	font-size:80%; 
}


/* F bar theme - just for the docs overview headers */
.ui-bar-f {
	border: 1px solid 		#FF8800;
	background: 			#FFAA00;
	color: 					#fff;
	font-weight: bold;
	text-shadow: 0 -1px 1px #234403;	
	background-image: -webkit-gradient(linear, left top, left bottom, from(#FFAA00), to(#FF8800)); /* Saf4+, Chrome */
	background-image: -webkit-linear-gradient(top, #FFAA00, #FF8800); /* Chrome 10+, Saf5.1+ */
	background-image:    -moz-linear-gradient(top, #FFAA00, #FF8800); /* FF3.6 */
	background-image:     -ms-linear-gradient(top, #FFAA00, #FF8800); /* IE10 */
	background-image:      -o-linear-gradient(top, #FFAA00, #FF8800); /* Opera 11.10+ */
	background-image:         linear-gradient(top, #FFAA00, #FF8800);		
}
.ui-bar-f,
.ui-bar-f .ui-link-inherit {
	color: 					#fff;
}
.ui-bar-f .ui-link {
	color: 					#fff;
	font-weight: bold;
}

.ui-btn-up-d.red {
  background-image: -webkit-gradient(linear, left top, left bottom, from(#DC6060), to(#DA0000)); /* Saf4+, Chrome */
  background-image: -webkit-linear-gradient(top, #DC6060, #DA0000); /* Chrome 10+, Saf5.1+ */
  background-image:    -moz-linear-gradient(top, #DC6060, #DA0000); /* FF3.6 */
  background-image:     -ms-linear-gradient(top, #DC6060, #DA0000); /* IE10 */
  background-image:      -o-linear-gradient(top, #DC6060, #DA0000); /* Opera 11.10+ */
  background-image:         linear-gradient(top, #DC6060, #DA0000);
  border: 1px solid #DA6060 !important;
  color: #ffffff;
  text-shadow: none !important;
}

.ui-btn-hover-d.red {
  background-image: -webkit-gradient(linear, left top, left bottom, from(#FC6060), to(#FA0000)); /* Saf4+, Chrome */
  background-image: -webkit-linear-gradient(top, #FC6060, #FA0000); /* Chrome 10+, Saf5.1+ */
  background-image:    -moz-linear-gradient(top, #FC6060, #FA0000); /* FF3.6 */
  background-image:     -ms-linear-gradient(top, #FC6060, #FA0000); /* IE10 */
  background-image:      -o-linear-gradient(top, #FC6060, #FA0000); /* Opera 11.10+ */
  background-image:         linear-gradient(top, #FC6060, #FA0000);
  border: 1px solid #FA6060 !important;
  color: #ffffff;
  text-shadow: none !important;
}

p.configuration-text.hidden,
p.configuration-attachment.hidden {
  display: none;
}

.red {
  color: red;
}

/* docs site layout */

@media all and (min-width: 650px){
	
	.mnm-home {
		position: absolute;
		left: 10px;
		top: 0;
	}
	.type-home .ui-content {
		margin-top: 5px;
	}
	.ui-mobile #mnm-homeheader {
		max-width: 340px;
	}
	.ui-mobile .mnm-themeswitcher {
		float: right;
	}
	.type-home .ui-content,
	.type-interior .ui-content {
		padding: 0;
		background: url(../img/px-ccc.gif) 50% 0 repeat-y;
	}
	.type-interior .ui-content {
		background-position: 45%;
		overflow: hidden;
	}
	.content-secondary {
		text-align: left;
		float: left;
		width: 45%;
		background: none;
		border-top: 0;
	}
	.content-secondary,
	.type-interior .content-secondary {
		margin: 30px 0 20px 2%;
		--padding: 20px 4% 0 0;
			background: none;
					border-top: none;
	}
	.type-index .content-secondary {
		padding: 0;
	}
	.content-secondary .ui-collapsible {
		margin: 0;
		padding: 0;
	}
	.content-secondary .ui-collapsible-content {
		border: none;
	}
	.type-index .content-secondary .ui-listview {
		margin: 0;
	}

	.ui-mobile #mnm-homeheader {
		padding: 0;
	}
	.content-primary {
		width: 45%;
		float: right;
		margin-top: 30px;
		margin-right: 1%;
		padding-right: 1%;
	}
	.content-primary ul:first-child {
		margin-top: 0;
	}
	.content-secondary h2 {
		position: absolute;
		left: -9999px;
	}
	.type-interior .content-primary {
		padding: 1.5em 6% 3em 0;
		margin: 0;
	}
	/* fix up the collapsibles - expanded on desktop */
	.content-secondary .ui-collapsible-heading {
		display: none;
	}
	.content-secondary .ui-collapsible-contain {
		margin:0;
	}
	.content-secondary .ui-collapsible-content {
		display: block;
		margin: 0;
		padding: 0;
	}
	.type-interior  .content-secondary .ui-li-divider {
		padding-top: 1em;
		padding-bottom: 1em;
	}
	.type-interior .content-secondary {
		margin: 0;
		padding: 0;
	}
  

}
@media all and (min-width: 750px){
	.type-home .ui-content,
	.type-interior .ui-content {
		background-position: 39%;
	}
	.content-secondary {
		width: 34%;
	}
	.content-primary {
		width: 56%;
		padding-right: 1%;
	}	
	.type-interior .ui-content {
		background-position: 34%;
	}
}

@media all and (min-width: 1200px){
	.type-home .ui-content{
		background-position: 38.5%;
	}
	.type-interior .ui-content {
		background-position: 30%;
	}
	.content-secondary {
		width: 30%;
		padding-right:6%;
		margin: 30px 0 20px 5%;
	}
	.type-interior .content-secondary {
		margin: 0;
		padding: 0;
	}
	.content-primary {
		width: 50%;
		margin-right: 5%;
		padding-right: 3%;
	}
	.type-interior .content-primary {
		width: 60%;
	}

}
