/* Mobile Joomla! Pro 1.2.13 | mobilejoomla.com/license.html */
/* MJ iPhone styles */
.content .container {
	padding: 10px;
	margin: 10px;
	background-color: white;
	line-height: 120%;
	border: 1px solid #888888;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}

.content h5 {
	font-size: 1.2em;
}

.content h1, .contentheading {
	font-size: 150%;
	line-height: 130%;
	margin-bottom: 0.3em;
}

.profile .content * {
	max-width: 300px;
	overflow: hidden;
}

.landscape .content * {
	max-width: 450px;
}

.contentheading {
	font-size: 18px;
	font-weight: bold;
}

a {
	color: #7a8faa;
}

/* jqtouch does not define br for mozilla */
ul {
	-moz-border-radius: 6px;
}

ul ul {
	margin: 15px 2px 17px 2px;
}

ul li a.mainlevel:hover, ul li a.mainlevel:active,
ul.vmenu li a:hover, ul.vmenu li a:active
{
	-moz-background-clip: border;
	-moz-background-inline-policy: continuous;
	-moz-background-origin: padding;
	background: #194FDB url('../jqtouch-src/themes/apple/img/selection.png') repeat-x scroll 0 0;
	color: #FFFFFF;
}

/* By default all ul li a links get blue bg effect */
ul li a:hover,
ul li a:active {
	-moz-background-clip: border;
	-moz-background-inline-policy: continuous;
	-moz-background-origin: padding;
	background: #194FDB url('../jqtouch-src/themes/apple/img/selection.png') repeat-x scroll 0 0;
	color: #FFFFFF;
}



a img {
	border: none;
}

p {
	margin-bottom: 1em;
}

.createdate {
	font-size: 10px;
	text-align: right;
	color: #999;
}

.buttonheading {
	float: right;
}

.contentpagetitle {
	text-decoration: none;
	font-size: 20px;
	line-height: 100%;
}

p.jfooter {
	margin: 10px;
	font-size: 12px;
	line-height: 120%;
	color: #333;
}

/* fixed to jQtouch */

body {
	-webkit-perspective: none;
	-webkit-transform-style: flat;
	min-height: 420px;
}
body > * {
	position: static;
	-webkit-transform: none;
	background: inherit;
	display: block;
	left: auto;
	width: auto;
	min-height: 0 !important;
}
body > script, body > style {
	display: none !important;
}

body {
	background: rgb(197, 204, 211) url('../jqtouch-src/themes/apple/img/pinstripes.png') repeat;
}

.toolbar {
	padding: 0;
}

.home.active, .button.active, .back.active, .cancel.active, .add.active {
	color: #999;
}

.back.active {
	-webkit-border-image: url('../jqtouch-src/themes/apple/img/backButton.png') 0 8px 0 14px;
}

h3, div.h3 {
	margin: 15px 10px 5px;
	padding-right: 10px;
	padding-left: 10px;
	color: #4D5466;
	font-size: 16px;
	font-weight: bold;
	text-shadow: white 0 1px;
}

/* Override default blue toolbar gradient */
.grayToolbar {
	background: #c6c7cb url('../grayToolbar.png') repeat-x 0 0;
	height: 44px;
	border: 0;
	border-bottom: 1px solid #3a3d44;
	-webkit-border-radius: 0;
}

/* Remove excess padding from ul elements (jqtouch vs. mobile_iphone layout) */
#mj_iphone_header ul,
#mj_iphone_header2 ul,
#mj_iphone_footer ul,
#mj_iphone_footer2 ul,
.content ul {
	margin: 15px 2px 17px;
}

div.search ul li {
	padding: 5px 10px;
}

div.search ul li input[type="text"] {
	width: 100%;
	height: 29px;
	background: transparent;
	border:0;
}

div.search table {
	width:100%;
}

div.search td.button {
	width: 55px;
}

div.search td.text {
	padding: 0 10px;
	margin-right: 10px;
	border: 1px solid rgba(95, 97, 96, 0.7); /* #5f6160; */
	-webkit-border-radius: 15px;
		-webkit-box-shadow: inset 1px 1px 3px rgba(95, 97, 96, 0.7); /* #5f6160 */
	background:white;
}

div.search input.button, div.search button.button {
	/*border-width: 0 5px;*/
	border: 1px solid #223e6d;
	-webkit-border-radius: 5px;
	-webkit-box-shadow: inset 1px 1px 2px rgba(34, 62, 109, 0.5); /* #223e6d */
	padding: 0 6px;
	width: 55px;
	height: 31px;
	line-height: 31px;
	font-family: inherit;
	font-size: 12px;
	font-weight: bold;
	color: #fff;
	text-shadow: rgba(0, 0, 0, 0.5) 0 -1px 0;
	text-overflow: ellipsis;
	text-decoration: none;
	white-space: nowrap;
	/*background: none;*/
	background: #194FDB url('../jqtouch-src/themes/apple/img/selection.png') repeat-x scroll 0 0;
/*	-webkit-border-image: url(../jqtouch-src/themes/apple/img/blueButton.png) 0 5 0 5;*/
}

/* Fix checkbox position in login form
 * TODO: check if this needs to be done for all checkboxes inside list items */
#form-login-remember .toggle {
	margin-top: -3px;
}

.loginButton {
	width: 100%;
	background-color: transparent; /* TODO: check if necessary in iPhone */
}

/* Login link */
.login-link {
	margin: 10px;
}


input[type=submit].whiteButton:hover {
	color: white;
	background: black;
}


.buttonWrapper, .loginButtonWrapper {
	padding-left: 10px;
	padding-right: 10px;
	margin-bottom: 17px;
}

form ul li input[type="text"]::-webkit-input-placeholder,
form ul li input[type="password"]::-webkit-input-placeholder {
	color: black;
	font-weight: bold;
}

div.search ul li input[type="text"]::-webkit-input-placeholder {
	color: #a3a3a3;
	font-weight: normal;
}

form ul li label {
	color: black;
	font-weight: bold;
}

p.textview {
	padding: 10px;
	margin: 10px;
	background-color: white;
	line-height: 120%;
	border: 1px solid #888888;
	-webkit-border-radius: 6px;
	overflow: hidden; /* fix floats */
}

ul li.searchresult h3 {
	padding: 0;
	margin: 0;
	display: inline;
}

ul li.searchresult p {
	padding: 0;
	margin: 0;
	text-overflow: hidden;
}

ul li.searchresult p.section {
	font-weight: normal;
	display: inline;
}

ul li.searchresult a {
	white-space: normal;
}

ul li.searchresult a.searchresult:hover h3, ul li.searchresult a.searchresult:active h3 {
	color: white;
	text-shadow: none;
}

ul li.searchresult a.searchresult:hover, ul li.searchresult a.searchresult:active {
	-moz-background-clip: border;
	-moz-background-inline-policy: continuous;
	-moz-background-origin: padding;
	background: #194FDB url('../jqtouch-src/themes/apple/img/selection.png') repeat-x scroll 0 0;
	color: #FFFFFF;
}

div.searchresultsnav {
	margin-top: 10px;
	margin-bottom: 10px;
	text-align: center;
}

div.searchresultsnav .pagenav {
	padding-left:5px;
}

/* Don't display error header */
dt.error {
	display:none;
}

dd.error li {
	background: red;
	color: white;
}

dd.message li {
	background: #ffe;
	color: black;
}

.markup-chooser {
		padding: 10px;
}

div.pagination {
	text-align: center;
}
div.pagination ul li {
	display: inline;
	border-top: 0;
	padding: 10px 0;
}
div.pagination ul a, div.pagination ul span {
	display: inline;
	margin: 0;
	padding: 0 15px 1px;
	-webkit-border-radius: 0;
	border-radius: 0;
}
div.pagination ul span {
	color: #999;
}

p {
	color: #333;
}

.image-left {
	float:left;
}
.image-right {
	float:right;
}

body > div.current {
	padding: 0 !important;
	border: none !important;
}

img, video {
	max-width: 100%;
	height: auto;
}
iframe, svg {
	max-width: 100%;
}
.mjwideimg {
	display: block;
	width: 100%;
	text-align: center;
}

.toolbar > h1 {
	width: 200px;
	margin-left: -100px;
}
