/*****************************************
- Safire - 
An iPhone web app interface development framework developed for the RemindsYou application [ http://remindsyou.com ]
Based on Joe Hewitt's iUI --> [ http://code.google.com/p/iui/ ]
With additional code based on Sam Stephenson's prototype --> [ http://prototypejs.org ]

For more information visit [http://code.google.com/p/safire/]
Questions? visit [http://code.rememberthisguy.com/safire/]
***********************************/
h2 {
  -webkit-border-bottom-left-radius:5px 5px;
  -webkit-border-bottom-right-radius:5px 5px;
  -webkit-border-top-left-radius:5px 5px;
  -webkit-border-top-right-radius:5px 5px;
  -webkit-box-shadow:#000000 2px 2px 4px;
  background-color:#999999;
  color:white;
  font-family:'Trebuchet MS', 'lucida grande', 'lucida sans unicode', tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size:14px;
  font-weight:bolder;
  display:block;
  padding:4px 20px 4px 20px;
  text-shadow:#444444 4px 4px 4px;
}
pre {
  font-size:10px;
  color:#999999;
  margin: 20px 0px 10px 50px;
  width: 500px;
  white-space:normal;
  line-height:1.25em;
}
.shot {
  border:1px solid black;
  margin:10px 10px;
  }
.copy {
  color:#999999;
  font-size:10px;
  }


/**********************
****Generic Styles****
********************/
body {
    margin: 0;
	padding: 0px;
    font-family: Helvetica;
    background: #FFFFFF;
    color: #000000;
    overflow-x: hidden;
    -webkit-user-select: none;
    -webkit-text-size-adjust: none;
}

a[selected="true"], a:active {
    background-color: #194fdb;
    background-repeat: no-repeat;
    background-position: right center, left top;
    color: #FFFFFF !important;
}

a[selected="progress"] {
    background: #194fdb url(../images/arrow_loading.gif) no-repeat 99% 50% !important;
    color: #FFFFFF !important;
}

br{
	clear: both;
}

body > div > img{
	position: relative;
	display: block;
}

input {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 90%;
    margin: 8px auto;
    padding: 6px 6px 6px 10px;
    font-size: 16px;
    font-weight: normal;
}

textarea {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	width: 90%;
	margin: 8px auto;
	padding: 6px 6px 6px 44px;
	font-size: 16px;
	font-weight: normal;
}

.stage-mat-right{
	position: absolute;
	left: 100%;
}

.stage-mat-left{
	position: absolute;
	left: -200%;
	width: 320px;
}

.stage-mat{
	text-align: center;
	margin: 20px 20px;
}

.stage-mat-left-vis{
	position: absolute;
	right: 100%;
}

img.loading{
	margin: 25% auto;
}


/**********************
****Toolbar Styles****
********************/
.toolbar{
	width: 100%;
	height: 50px;
  	padding: 5px 0;
  	line-height: 50px;
  	background-color: #3b5998;
  	text-align: center;
  	vertical-align: center;
  	box-sizing: border-box;
  	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
}

.toolbar > h1 {
    position: absolute;
    overflow: hidden;
	top: 0px;
    left: 50%;
    margin: 1px 0 5px -75px;
    height: 45px;
    font-size: 20px;
    width: 150px;
    font-weight: bold;
   /* text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0; Uncomment if you want to use the iPhone background head*/ 
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #FFFFFF;
}

.toolbar > h1 > a{
	color: #FFFFFF;
	text-decoration: none;
}

a[selected="button"] {
    position: absolute;
    overflow: hidden;
    top: 8px;
    right: 6px;
    margin: 0;
    border-width: 0 5px;
    padding: 0 3px;
    width: auto;
    height: 30px;
    line-height: 30px;
    font-family: inherit;
    font-size: 12px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
    text-overflow: ellipsis;
    text-decoration: none;
    white-space: nowrap;
    background: none !important;
    -webkit-border-image: url(../images/buttons/topbutton.png) 0 5 0 5;
	text-decoration: none;
}

.leftButton {
    left: 6px;
    right: auto;
}

#backButton {
    display: none;
    left: 6px;
	top: 8px;
    right: auto;
    padding: 0;
    max-width: 40px;
	max-height: 30px;
	line-height: 30px;
    font-family: inherit;
    font-size: 12px;
    font-weight: bold;
	color: #FFFFFF;
	text-overflow: ellipsis;
	overflow: hidden;
    text-decoration: none;
	text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0;
    border-width: 0 5px 0 10px;
    -webkit-border-image: url(../images/buttons/backButton.png) 0 5 0 10;
}

body[orient="landscape"] > .toolbar > h1 {
    margin-left: -125px;
    width: 250px;
}


/********************************************
****Mobile Safari CSS Transitions Styles****
*******************************************/
/* Will be used in next release of Safire */

*[fade="in"] {
	-webkit-transition-property: opacity;
	-webkit-transition-duration: 2s;
	-webkit-transition-timing-function: linear;
	opacity: 100%;
}

*[fade="out"] {
	-webkit-transition-property: opacity;
	-webkit-transition-duration: 2s;
	-webkit-transition-timing-function: linear;
	opacity: 0%;
}

*[slide="left"] {
	-webkit-transition-property: left;
	-webkit-transition-duration: 2s;
	-webkit-transition-timing-function: linear;
	left: 0%;
}

*[slide="right"] {
	-webkit-transition-property: left;
	-webkit-transition-duration: 2s;
	-webkit-transition-timing-function: linear;
	left: 0%;
}

*[slide="down"] {
	-webkit-transition-property: top;
	-webkit-transition-duration: 2s;
	-webkit-transition-timing-function: linear;
	top: 0%;
}

*[slide="up"] {
	-webkit-transition-property: top;
	-webkit-transition-duration: 2s;
	-webkit-transition-timing-function: linear;
	top: 0%;
}


/**********************
******Tab Styles******
*********************/

#nav{
	padding: 0px;
	margin: 0 0 5px 0;
	width: 100%;
}

#nav > div{
	border-top: 1px solid #919191;
	border-left: 1px solid #919191;
	border-bottom: 1px solid #919191;
	background-color: #EAEAEA;
	padding: 3px 0 3px 0;
	text-align: center;
	margin: 0 0 0 0;
}

#nav > div#selected{
	border-top: 5px solid rgba(162,181,205,0.3);
	border-bottom: none;
	margin-top: -5px;
	background-color: #FFFFFF;
	padding-bottom: 5px;
}

#nav > div#selected > a{
	color: #333333;
}
	
#nav > div > a{
	margin: 0 auto;
	text-decoration: none;
	color: #5B5B5B;
	font-size: 14px;
	z-index: 1000000;
}

#nav div.tabs{
	width: 25%; /* Change this if you have more or less than 4 tabs  width: (100 / n); Make sure you change .tab-div[n] as well */
	position: absolute;
}

#nav > div.tab-div2{
	left: 25%;
}

#nav > div.tab-div3{
	left: 50%;
}

#nav > div.tab-div4{
	left: 75%;
}

/********************
***SubNav Styles****
*******************/

#sub-nav{
	font-size: 12px;
	margin-top: 3px;
	padding: 8px !important;
	background-color: #E0EEEE;
}

#sub-nav a.sub-nav{
	color: #191970;
	margin-left: 8px;
	text-decoration: none;
	padding: 5px 10px 5px 10px;
}

#sub-nav a.sub-nav#selected {
  	-webkit-border-image: url(../images/buttons/tabSel.png) 0 5;
  	text-shadow: none;
  	padding: 5px 10px 5px 10px;
}

/*************************
***iPhone Icon Styles****
************************/

ul.iphone-icons{
	list-style: none;
	margin: 10px 0 0 0 ;
	padding: 0px;
}

ul.iphone-icons > li{
	position: relative;
	float: left;
	margin-left: 20px;
	margin-bottom: 20px;
	width: 55px;
	height: 55px;
	text-align: center;
}

ul.iphone-icons > li > a{
	text-decoration: none !important;
	margin: 0 auto;
}

ul.iphone-icons > li > a > img{
	border: 0px !important;
	margin: 0 auto;
}

ul.iphone-icons > li > a > span{
	clear: left;
	font-size: 12px;
	color: #104E8B;
	text-shadow: rgba(0, 0, 0, 0.4) 0px 1px 7px;
}


/****************************
******List Item Styles******
***************************/
ul.list-items{
	margin: 0px;
	padding: 0px;
}

ul.list-items > li{
	position: relative;
    margin: 0;
    border-bottom: 1px solid #E0E0E0;
    padding: 8px 0 8px 10px;
    font-size: 18px;
    font-weight: bold;
    list-style: none;
	text-align: left;
}

ul.list-items > li.group{
	position: relative;
    top: -1px;
    margin-bottom: -2px;
    border-top: 1px solid #7d7d7d;
    border-bottom: 1px solid #999999;
    padding: 1px 10px;
    background: url(../images/listGroup.png) repeat-x;
    font-size: 17px;
    font-weight: bold;
    text-shadow: rgba(0, 0, 0, 0.4) 0 1px 0;
    color: #FFFFFF;
}

ul.list-items > li.group:first-child {
	top: 0;
	border-top: none;
}

ul.list-items > li > a{
	display: block;
    margin: -8px 0 -8px -10px;
    padding: 8px 25px 8px 10px;
    text-decoration: none;
    color: inherit;
    background: url(../images/listArrow.png) no-repeat right center;
}

/*styles for meta-data*/

ul.list-items > li > a.ext-link{
	font-weight: 0;
}

ul.list-items > li > a.ext-link > span.meta-title{
	font-size: 16px !important;
	color: blue !important;
	clear: right;
}

ul.list-items > li > a.ext-link > span.meta-data-content{
	font-size: 12px !important;
	line-height: 12px !important;
	color: #333333;
}

ul.list-items > li > a.ext-link > span.meta-data-one{
	color: #008000;
	font-size: 10px !important;
}

ul.list-items > li > a.ext-link > span.meta-data-two{
	color: #FFA500;
	font-size: 10px !important;	
	margin-left: 10px;
}

ul.list-items > li > a.ext-link > br{
	clear: both;
}


/*styles for add more entries link*/

ul.list-items > li.add{
	border: none;
}

ul.list-items > li.add > a.append-entries{
	box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-size: 18px;
    color: cornflowerblue;
    background-color: #FFFFFF;
    background-image: none;
	text-decoration: none;
	clear: right;
}

ul.list-items > li.add > a > span{
	clear: left;
	font-size: 13px;
	color: #333333;
}


/*styles for google ads*/

ul.list-items > li.google-ad {
	padding: 0px;
}

/*****************************
***iPhone Rectangle Styles***
****************************/
ul.roundrect {	   
	padding: 0;	   
	margin: 0px auto 17px auto; 
	font-size:17px;
	font-family: Helvetica;
	font-weight:bold;
	color:black;
	width: 300px;
	background-color: white;       
	border-width: 1px;		 
	border-style:solid ;
	border-color:rgb(217,217,217);
	
	-webkit-border-radius: 8px;
}


ul.roundrect > li{	
	list-style-type: none;	
	border-top-width:1px;	
	border-top-style:solid;
	border-top-color:rgb(217,217,217);
	padding-top:10px;		  
	padding-right:10px;		 
	padding-bottom:14px;	
	padding-left:10px;	
	text-align: left;
}


ul.roundrect > li:first-child {
	border-top:0;    
}


ul.roundrect > li > a {
	display: block;   
	padding-top: 8px;
	padding-right: 8px;
	padding-bottom: 12px;
	padding-left: 8px;
	margin-top: -8px;
	margin-right: -8px;
	margin-bottom: -12px;
	margin-left: -8px;	 
	text-decoration: none;
	color:black;
}

.secondary{
	font-weight:normal;
	float:right;
	margin-right:10px;	  
}

.secondary-link {
	font-weight:normal;		
	float:right;		  
	margin-right:10px;	  
	color: #324F85;
}

/****************************
***iPhone Overlay Styles****
***************************/
div.overlay[id]{
	position: absolute;
	top: 0pt;
	left: 0pt;
	width: 100%;
	height: 100%;
	z-index: 5000;
	background-color: rgba(51, 51, 51, .8);
}

div.overlay > .lightbox{
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 100%;
	margin: 0 auto;
	text-align: center;
	border: 2px solid black;
	color: #ffffff;
	z-index: 9999;
	background-color: rgba(0, 0, 0, .98);
}


div.overlay > .lightbox > form > label{
	font-size: 20px !important;
}

div.overlay .lightbox a{
	text-decoration: none;
	color: #FFFFFF;
	margin: 10px;
}

.submit-button {
    -webkit-border-image: url(../images/buttons/greenButton.png) 0 12 0 12;
    color: #FFFFFF;
	display: block;
    border-width: 0 12px;
    padding: 10px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
	width: 75%;
	margin: 0 auto !important;
	text-decoration: none;
}

.cancel-button {
    -webkit-border-image: url(../images/buttons/redButton.png) 0 12 0 12;
    color: #FFFFFF;
	display: block;
    border-width: 0 12px;
    padding: 10px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
	width: 75%;
	margin: 0 auto !important;
}