/* @override http://e.jonno.madewithlove.be:8002/stylesheets/mobile/iphone.css */

* {
	padding: 0;
	margin: 0;
}

html, body {
	
}

body {
	color: #666;
	font: 12px/18px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	/*background: #f0f0f0 url(/images/mobile/iphone/bg.png) repeat-x;*/
	-webkit-user-select: none;
	-webkit-text-size-adjust: none;
}


body[class="portrait"] #wrapper {
	min-width: 280px;
	min-height: 416px;
	background-repeat: no-repeat;
	width: 320px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

body[class="landscape"] #wrapper {
	min-width: 480px;
	min-height: 208px;
	background-repeat: no-repeat;
	width: 320px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

.left {
	float: left;
	width: 135px;
	padding-left: 15px;
}

.right {
	float: right;
	width: 135px;
	text-align: right;
	padding-right: 15px;
}

a:link {
	color: #666;
	font-weight: bold;
	text-decoration: none;
	font-size: 13px;
}

h2 {
	font-size: 14px;
	text-align: center;
	margin-bottom: 14px;
	font-weight: normal;
	font-style: normal;
	color: #424242;
	margin-top: 5px;
}

h2 img {
	position: relative;
	top: 2px;
	right: 9px;
}

hr {
	margin-left: 12px;
	margin-right: 12px;
	border-style: none;
	border-width: 0;
	margin-bottom: 14px;
	border-top: 1px solid #aeaeae;
	border-bottom: 1px solid #fff;
}

hr.grey {
	margin-left: 12px;
	margin-right: 12px;
	border-style: none;
	border-width: 0;
	margin-bottom: 14px;
	border-top: 1px solid #aeaeae;
	border-bottom: 0 none #fff;
}

#content {
	overflow: hidden;
}

.big {
	text-align: center;
	font-size: 18px;
	font-weight: bold;
	color: #3d3d3d;
	padding-top: 10px;
}

/* @group note */

#note #wrapper {
	background: url(/images/mobile/iphone/note_bg.png) no-repeat 0 60px;
}

#note h2 {
	text-align: left;
	padding-left: 13px;
	padding-right: 13px;
	font-weight: bold;
	margin: 0 0 11px;
}

#note h3 {
	padding-left: 13px;
	padding-right: 13px;
	font-style: italic;
	font-weight: normal;
	font-size: 13px;
}

#note form {
	
}

#note textarea {
	width: 294px;
	border-style: none;
	background-color: transparent;
	font-size: 14px;
	line-height: 24px;
	color: #424242;
	overflow: auto;
	margin: 29px 13px 13px;
	height: 194px;
	-webkit-appearance: textarea;
}

/* @end */

/* @group buttons */

.btn {
	width: 50px;
	height: 27px;
	display: block;
	list-style-type: none;
	border-style: none;
	border-width: 0;
}

.btn span {
	display: none;
}

.btn.btn-standard {
	background-image: url(/images/mobile/iphone/buttons/standard.png);
	width: 87px;
	float: left;
	margin-left: 10px;
}

.btn.btn-back {
	background-image: url(/images/mobile/iphone/buttons/back.png);
	width: 85px;
	float: left;
	margin-left: 10px;
}

.btn.btn-log_out {
	background-image: url(/images/mobile/iphone/buttons/log_out.png);
	width: 87px;
	float: right;
	margin-right: 10px;
}

.btn.btn-login {
	background-image: url(/images/mobile/iphone/buttons/login.png);
	width: 300px;
	margin-left: auto;
	margin-right: auto;
	height: 38px;
}

.btn.btn-exchange {
	background-image: url(/images/mobile/iphone/buttons/exchange.png);
	width: 300px;
	margin-left: auto;
	margin-right: auto;
	height: 37px;
}

.btn.btn-add_a_contact {
	width: 300px;
	height: 38px;
	background: url(/images/mobile/iphone/buttons/add_a_contact.png) no-repeat;
	margin: 0 auto;
}

.btn.btn-save_note {
	width: 304px;
	height: 43px;
	background: url(/images/mobile/iphone/buttons/save_note.png) no-repeat 0 -1px;
	margin: 0 auto;
}

.btn.btn-add_a_note {
	width: 304px;
	height: 43px;
	background: transparent url(/images/mobile/iphone/buttons/add_a_note.png) no-repeat 0 0;
	margin: 0 auto;
}

.btn.btn-authorize {
	background-image: url(/images/mobile/iphone/buttons/authorize.png);
	width: 300px;
	margin-left: auto;
	margin-right: auto;
	height: 38px;
}

/* @end */

/* @group form */

#form #wrapper {
	padding-top: 63px;
	min-height: 353px;
}

#form {
	background-image: none;
	background-color: #252525;
}

#form #header {
	height: auto;
	width: auto;
	padding-top: 0;
}

#form #header h1 {
	width: 87px;
	height: 88px;
	text-indent: -9999px;
	position: static;
	background-image: url(/images/mobile/iphone/logo.png);
	margin-left: auto;
	margin-right: auto;
}

#form #header h1.exchange {
	width: 174px;
	height: 120px;
	text-indent: -9999px;
	position: static;
	background-image: url(/images/mobile/iphone/card.png);
	margin: 15px auto 0;
}

#form h2 {
	margin-bottom: 7px;
	font-weight: normal;
	text-align: center;
	color: #fff;
	font-size: 14px;
	font-style: normal;
}

#form #content {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	overflow: visible;
}

#form form {
	background-color: #fff;
	border-top: 1px solid #000;
	padding-bottom: 12px;
}

#form form label {
	display: none;
}

#form form fieldset {
	background-color: #f6f6f6;
	border-style: none;
	padding: 14px 10px 1px;
	margin-bottom: 14px;
}

#form form fieldset p {
	margin-bottom: 13px;
	overflow: hidden;
}

#form form input {
	width: 270px;
	height: 35px;
	padding: 0 15px;
	margin: 0;
	border-style: none;
	border-width: 0;
	background-image: url(/images/mobile/iphone/input_bg.png);
	font-size: 14px;
}

#form form .link {
	font-size: 13px;
}

#form form .checkbox input {
	width: 14px;
	height: 14px;
	background-image: none;
	background-color: transparent;
	padding: 0;
	border: 1px solid #a1a1a1;
}

#form form .checkbox label {
	display: inline;
	font: bold 13px "Lucida Grande", Lucida, Verdana, sans-serif;
}

/* @end */

/* @group cards */

#card {
	list-style-type: none;
	margin-bottom: 12px;
	margin-left: 9px;
	margin-right: 9px;
}

#card li {
	background: url(/images/mobile/iphone/cards/li_bg.png) no-repeat right 0;
	padding-left: 0;
	margin-bottom: 5px;
}

#card li.active {
	background-image: url(/images/mobile/iphone/cards/li_bg-active.png);
}

#card li.active img {
	background-image: url(/images/mobile/iphone/cards/avatar_bg-active.png);
}

#card li a {
	display: block;
	font-size: 15px;
	height: 64px;
	position: relative;
	padding-left: 72px;
	line-height: 63px;
	color: #373737;
	text-decoration: none;
}

#card li img {
	padding: 13px 9px 13px 13px;
	background-image: url(/images/mobile/iphone/cards/avatar_bg.png);
	position: absolute;
	top: 0;
	left: 0;
}

/* @end */

/* @group info */

#info {
	margin-left: 9px;
	margin-right: 9px;
	overflow: hidden;
	margin-bottom: 11px;
}

#info .avatar {
	background: url(/images/mobile/iphone/info/avatar_bg.png) no-repeat right 0;
	float: left;
	width: 97px;
}

#info .avatar img {
	width: 70px;
	height: 70px;
	border: 3px solid #535353;
}

#info .text {
	background: #252626 url(/images/mobile/iphone/info/text-bot.png) no-repeat 0 bottom;
	float: right;
	width: 177px;
	color: #fff;
	padding: 0 14px 6px;
}

#info .text h3 {
	font-size: 24px;
	line-height: 28px;
	padding-left: 14px;
	padding-right: 14px;
	background: url(/images/mobile/iphone/info/text-top.png) no-repeat 0 0;
	padding-top: 6px;
	margin: 0 -14px 4px;
}

#info .text p {
	font-size: 11px;
	line-height: 15px;
	margin-bottom: 2px;
}

/* @end */

#header {
	height: 56px;
	position: relative;
	padding-top: 14px;
	overflow: hidden;
}

/* @group services */

#services {
	list-style-type: none;
	margin-left: 9px;
	overflow: hidden;
	padding-bottom: 8px;
}

#services li {
	float: left;
	width: 91px;
	height: 26px;
	background-image: url(/images/mobile/iphone/services/service_bg.png);
	margin-bottom: 6px;
	margin-right: 6px;
	padding-top: 3px;
	padding-left: 5px;
	font-weight: bold;
}

#services li img {
	position: relative;
	top: 4px;
}

#services li a {
	
}

/* @end */

#header h1 {
	width: 172px;
	height: 43px;
	text-indent: -9999px;
	position: absolute;
	left: 136px;
	top: 6px;
	background-image: url(/images/mobile/iphone/logo-small.png);
	background-repeat: no-repeat;
}

#header h1.middle {
	margin-top: 35px;
}

.oauth #header h1 {
    background-image: url(/images/mobile/iphone/logo-oauth.png);
}

/* @group public card stuff */

h3 {

	font-size: 14px;
/*	margin-bottom: 9px; */
	font-weight: normal;
	font-style: normal;
	color: white;
	margin-top: 7px;
}

.public_card
{
	padding: 0;
	margin: 0;
	z-index: 1;
}

.public_card a
{
	text-decoration: none;
}

div#bg {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	text-align: left;
	margin: 0 auto;
}


div#public_card_header
{
    background: url(/images/mobile/iphone/profile/background_public_header.png) repeat-x;
    width: 320px;
    height: 32px;
    margin: 0;
    margin-top: 10px;
    padding: 0;
}

body[class="landscape"] div#public_card_header
{
    width: 480px;
}

div#public_card_header img
{
    position: absolute;
	margin-left: 6px;
	margin-top: 6px;
}

div#public_card_header h3
{
    position: absolute;
	margin-left: 32px;
	margin-top: 6px;
}

div#userinfo
{
    background: #fff url(/images/mobile/iphone/profile/background_userinfo.png) repeat-x;
    min-height: 75px;
    height: auto;
    margin: 0px;
    padding: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    z-index: 8;
}




div#avatar
{
    background-image: url(/images/mobile/iphone/profile/background_photo.png);
    padding: 0px;
    margin-left: 9px;
    width: 76px;
    height: 76px;
    position: absolute;
}


div#avatar img
{
    position: absolute;
	margin: 3px;
	
}


div#balloon
{
	background: #252626 url(/images/mobile/iphone/profile/background_balloon.png) repeat-x;	
	background-size: 100%;
	width: 209px;
	height: auto;
	min-height: 56px;
	margin-left: 100px;
	margin-top: 0px;
	padding-top: 10px;
	padding-bottom: 10px;
	z-index: 5;
	-webkit-border-radius: 3px;
}

body[class="landscape"] div#balloon
{
	width: 360px;
	
}



div#balloontail
{
    	position: absolute;
	background: url(/images/mobile/iphone/profile/balloon_tail.png) no-repeat;
	width: 20px;
	height: 28px;
	margin-left: 90px;
	margin-top: 20px;
	z-index: 0;
}

div.infoelement
{
	/*overflow: hidden;*/
}

div.infoelement.large br
{
	height: 20px;
}

div.infoelement.large
{
    background: #f1f1f1 url(/images/mobile/iphone/profile/background_infoelement.png) repeat-x;
	width: 320px;
	height: auto;
	min-height: 14px;
	padding-top: 18px;
	padding-bottom: 18px;
	overflow: hidden;
}

body[class="landscape"] div.infoelement.large
{
    width: 480px;
}

div.infoelement.small
{
	float: left;
	background: url(/images/mobile/iphone/profile/background_smallinfo_sideborder.png) no-repeat;
	padding-right: 0;
	width: 160px;
	height: 50px;
}

div#pattern
{
	background: url(/images/mobile/iphone/profile/pattern.png) no-repeat;
	clear: both;
	width: 320px;
	height: 65px;
	z-index: 100;
}

body[class="landscape"] div#pattern
{
	width: 480px;
}

div#pattern img
{
	margin-top: 12px;
	margin-left: 10px;
}

body[class="landscape"] div#pattern img
{
	margin-left: 88px;
}


#form h2.name
{
	font-size: 18px;
	font-weight: bold;
	text-align: left;
	margin-left: 10px;
	margin-bottom: 0px;
}

h3.function
{
	font-size: 11px;
	font-weight: normal;
	text-align: left;
	margin-left: 10px;
	margin-top: 0px;
}

h4.contact
{
    position: absolute;
	font-size: 14px;
	font-weight: normal;
	color: #2e2e2e;
/*	margin-top: 18px;*/
	margin-left: 10px;
}

span.info
{
	font-size: 14px;
	font-weight: bold;
	color: #000;
	margin-left: 120px;
	padding-top: 18px;
}

span.info a
{
	color: #000;
}

div.address
{
	float: right;
	font-size: 14px;
	font-weight: bold;
	color: #000;
	width: 200px;
}

div.address a
{
	color: #000;
}

body[class="landscape"] div.address
{
	width: 360px;
}

div.info a
{
	color: #000;
}

span.infosmall
{
    position: absolute;
	font-size: 14px;
	font-weight: bold;
	color: #000;
	margin-top: 17px;
	margin-left: 40px;
}

span.infosmall a
{
	color: #000;
}

img.service_icon
{
    position: absolute;
	margin-left: 10px;
	margin-top: 18px;
}


/* @end */