/*  GENERAL STYLES   
-----------------------------------------------------------*/
* {padding: 0; margin: 0;}
ul {list-style: none;}
img {border:0;}
html {text-align: center; background: #e3deca;}
body {text-align: left; font: normal 11px Arial; margin: 0 auto; width: 875px; position: relative;}
a {outline:none;}
div.notice { clear:left; background: #e3deca; padding: 1em 2em; margin-bottom:2em; float:left;}
div.dialog { width: 25em; padding: 2em 4em; margin: 4em auto 0 auto; border: 1px solid #ccc; border-right-color: #999; border-bottom-color: #999; }
h1.dialog { font-size: 100%; color: #f00; line-height: 1.5em; margin-bottom: 1em; }
.shadow {
  -moz-box-shadow: 2px 2px 2px #999;
  -webkit-box-shadow: 2px 2px 2px #999;
  box-shadow: 2px 2px 2px #999;
}
span.displayblock { display:none; }

/*  TOP MOST NAV   
-----------------------------------------------------------*/
#nav-top {float:right; text-align: right; margin: 12px 12px 4px 0;}
#nav-top li {float:left; font-size: 10px; border-left: 1px solid #b1b0ab; padding: 0 4px;}
#nav-top li.first {border:0;}
#nav-top li.userStuff {font-size: 11px; font-weight: bold; }
#nav-top li.userStuff span.ui-icon {float: right; position: relative; top: -3px; }
#nav-top li a:link {color: #999;text-decoration: none;}
#nav-top li a:visited {color: #999;text-decoration: none;}
#nav-top li a:hover {color: #000;text-decoration: none;}
#nav-top ul li ul { position: absolute; top: 26px; right: 20px; min-width: 150px; background: #fff; border: 1px solid #b1b0ab; z-index: 99;}
#nav-top ul li ul li { float: none; border: 0; line-height: 17px; text-align: left; padding-left: 12px !important; }
#nav-top ul li ul li a { display: block; padding: 3px 0; color: #36C !important; font-size: 12px; font-weight: normal; }
#nav-top ul li ul li a:hover { text-decoration: underline; }

/*  BRANDING - aka, the header   
-----------------------------------------------------------*/
#branding {background: url(../images/branding.jpg) top left no-repeat; height: 130px; clear: both;}
#branding h1 {text-indent: -2000px;}
#branding p {text-indent: -2000px;}
a.home {display:block; width: 280px; height: 80px;position: absolute;margin: 20px 0 0 32px;text-indent: -2000px;}

/*  MAIN NAV - css rollovers with bg images   
-----------------------------------------------------------*/
#nav-main {background: url(../images/nav-bg.jpg) top left no-repeat;  height: 25px; width: 875px; padding-left:8px; }
#nav-main ul {float:left; margin: 0px 0 0 0px;}
#nav-main ul li {float:left; margin-left: 1px;  } #nav-main ul li:first-child {margin:0;}  #nav-main ul li#about {margin:0;}
#nav-main ul li a {display: block;  height: 24px; margin-top: 1px; } 
#nav-main ul li a span {display: none;}

#nav-main ul li#about a:link		{background: url(../images/about_i.gif) top left  no-repeat; width: 103px; }
#nav-main ul li#about a:visited		{background: url(../images/about_i.gif) top left  no-repeat; width: 103px; }
#nav-main ul li#about a:hover		{background: url(../images/about_o.gif) top left  no-repeat; width: 103px; }
#nav-main ul li#about a.current		{background: url(../images/about_o.gif) top left  no-repeat; width: 103px; }

#nav-main ul li#stories a:link  	{background: url(../images/stories_i.gif) top left  no-repeat;  width: 115px; }
#nav-main ul li#stories a:visited  	{background: url(../images/stories_i.gif) top left  no-repeat;  width: 115px; }
#nav-main ul li#stories a:hover  	{background: url(../images/stories_o.gif) top left  no-repeat;  width: 115px; }
#nav-main ul li#stories a.current  	{background: url(../images/stories_o.gif) top left  no-repeat;  width: 115px; }

#nav-main ul li#grants a:link  		{background: url(../images/grants_i.gif) top left  no-repeat; width: 111px; }
#nav-main ul li#grants a:visited  		{background: url(../images/grants_i.gif) top left  no-repeat; width: 111px; }
#nav-main ul li#grants a:hover  	{background: url(../images/grants_o.gif) top left  no-repeat; width: 111px; }
#nav-main ul li#grants a.current  	{background: url(../images/grants_o.gif) top left  no-repeat; width: 111px; }

#nav-main ul li#membership a:link  	{background: url(../images/membership_i.gif) top left  no-repeat;  width: 138px; }
#nav-main ul li#membership a:visited  	{background: url(../images/membership_i.gif) top left  no-repeat;  width: 138px; }
#nav-main ul li#membership a:hover  {background: url(../images/membership_o.gif) top left  no-repeat;  width: 138px; }
#nav-main ul li#membership a.current  {background: url(../images/membership_o.gif) top left  no-repeat;  width: 138px; }

#nav-main ul li#happen  a:link 		{background: url(../images/happen_i.gif) top left  no-repeat;  width: 163px; }
#nav-main ul li#happen  a:visited 		{background: url(../images/happen_i.gif) top left  no-repeat;  width: 163px; }
#nav-main ul li#happen  a:hover 	{background: url(../images/happen_o.gif) top left  no-repeat;  width: 163px; }
#nav-main ul li#happen  a.current 	{background: url(../images/happen_o.gif) top left  no-repeat;  width: 163px; }

#nav-main ul li#blog  a:link  		{background: url(../images/blog_i.gif) top left  no-repeat; width: 97px; }
#nav-main ul li#blog  a:visited  		{background: url(../images/blog_i.gif) top left  no-repeat; width: 97px; }
#nav-main ul li#blog  a:hover  		{background: url(../images/blog_o.gif) top left  no-repeat; width: 97px; }
#nav-main ul li#blog  a.current  		{background: url(../images/blog_o.gif) top left  no-repeat; width: 97px; }

#nav-main ul li#articles  a:link  		{background: url(../images/articles_i.gif) top left  no-repeat; width: 97px; }
#nav-main ul li#articles  a:visited  		{background: url(../images/articles_i.gif) top left  no-repeat; width: 97px; }
#nav-main ul li#articles  a:hover  		{background: url(../images/articles_o.gif) top left  no-repeat; width: 97px; }
#nav-main ul li#articles  a.current  		{background: url(../images/articles_o.gif) top left  no-repeat; width: 97px; }

#nav-main ul li#contact  a:link  	{background: url(../images/contact_i.gif) top left  no-repeat;  width: 122px; }
#nav-main ul li#contact  a:visited  	{background: url(../images/contact_i.gif) top left  no-repeat;  width: 122px; }
#nav-main ul li#contact  a:hover  	{background: url(../images/contact_o.gif) top left  no-repeat;  width: 122px; }
#nav-main ul li#contact  a.current  	{background: url(../images/contact_o.gif) top left  no-repeat;  width: 122px; }

#nav-main ul li#backyard_collectives  a:link  	{background: url(../images/byc_i.gif) top left  no-repeat;  width: 163px; }
#nav-main ul li#backyard_collectives  a:visited  	{background: url(../images/byc_i.gif) top left  no-repeat;  width: 163px; }
#nav-main ul li#backyard_collectives  a:hover  	{background: url(../images/byc_o.gif) top left  no-repeat;  width: 163px; }
#nav-main ul li#backyard_collectives  a.current  	{background: url(../images/byc_o.gif) top left  no-repeat;  width: 163px; }

/*  CONTENT WRAPPER - the full width of the body...   
-----------------------------------------------------------*/
#content {background: url(../images/content-bg2-bottom.gif) bottom left no-repeat; padding-bottom: 1.5em; display:table;}
#content a, #content a:visited { color: #660000; }
#contentwrap {background: url(../images/content-bg2.gif) repeat-y; display: table; width: 875px;}

/*  SPLASH
-----------------------------------------------------------*/
#page-home #nav-main {background: url(../images/nav-home-bg.jpg) top left no-repeat;  }
#page-home #content {background: url(../images/content-home-bg.jpg) top left  repeat-y ; padding:0;}
#page-home #content #splash {padding: 0 0 0 7px; width: 857px; border-right: 1px solid #c6c6c6; }

/*  SUBNAV - left column   
-----------------------------------------------------------*/
#nav-sub {float: left;  width: 166px;  z-index:1000;}
#nav-sub ul {text-align: right; margin: 0 20px;}
#nav-sub ul li {line-height: 2; font-size: 11px;}
#nav-sub ul li a:link 		{color: #999;text-decoration: none;}
#nav-sub ul li a:visited 	{color: #999;text-decoration: none;}
#nav-sub ul li a:hover 		{color: #000;text-decoration: none;}
#nav-sub ul li a.current    {color: #000;}
#nav-sub ul li.imgholder {padding-top: 2em;}
#nav-sub ul.blogLinks li.imgholder {padding-top: 0;}
#nav-sub ul li.imgholder img {position: relative; right: -14px;}
#nav-sub ul.socialLinks {padding-bottom: 0; margin-top: 20px; margin-bottom: 5px;}
#nav-sub ul.byc {padding-top: 5px;}

/*  MAIN CONTENT    
-----------------------------------------------------------*/
#content-main {margin: 0 184px 0 186px; min-height: 400px; padding: 0 6px; width: 493px; }
#content-main h2 {color: #660000; font-size: 12px; margin: 0 0 1.5em 0;}
#content-main h3, #nav-sub h3 {color: #000; font: bold 10px Arial; text-transform: uppercase; margin-bottom: 4px;}
#content-main h3 span {text-transform: none; font-weight: normal;}
#content-main p {line-height: 1.5; margin: 0 0 1.5em 0; }
#content-main img.illustration {float: left; margin: 0 1em 1em 0;}
#content-main ol { padding-left:1.5em;}
#content-main ol li { margin-bottom:1.5em;}
#content-main ul { padding: 0 0 12px 12px; }
#content-main ul li { list-style: disc; margin-bottom:6px; }
.caption { float: right; color: #996; padding-right: 12px; font-size: 0.9em;}

/*  SIDE BAR   
-----------------------------------------------------------*/
#side-bar {float: right; margin-right: 11px; background: url(../images/side-bar-bg.jpg) top center no-repeat; width: 160px;  }
#side-bar img {display: block; margin: auto;}
#side-bar #support-link {margin: 60px 0  20px 0;}
#side-bar #articles-teaser { margin: 50px 0 20px 0; padding: 0 8px;}
#side-bar #video-teaser {text-align: center; padding: 9px 0; margin: 5px;}
#side-bar #video-teaser img {border: 1px solid #c8c8c8;}
#side-bar #video-teaser h3 {margin: 10px;}
#side-bar #video-teaser a {padding: 3px;}
#side-bar #video-teaser a:link 		{color: #670003;text-decoration: none;}
#side-bar #video-teaser a:visited 	{color: #670003;text-decoration: none;}
#side-bar #video-teaser a:hover 	{color: #670003;text-decoration: none; background: #b7bc89;}

/*  BREADCRUMB TRAIL   
-----------------------------------------------------------*/
#content-main  #breadcrumb {font-size: 11px; }
#content-main p#breadcrumb  {margin:0 0 2em 0; padding-top: 1em; }
#content-main p#breadcrumb span {color: #999; text-decoration: underline; }
#content-main #breadcrumb a:link 		{color: #999;text-decoration: none;}
#content-main #breadcrumb a:visited 	{color: #999;text-decoration: none;}
#content-main #breadcrumb a:hover		{color: #000;text-decoration: none;}

/*  FOOTER   
-----------------------------------------------------------*/
#footer {background: url(../images/footer.jpg) top left no-repeat; text-align: center; padding-top: 5px; height: 121px; clear: both;}
#footer li {display: inline; border-left: 1px solid #b1b0ab;} #footer li.firstchild-hack-ie {border:0;}
#footer li a { font-size: 11px; padding: 0 12px 0 12px;}
#footer ul li a:link 		{color: #b1b0ab;text-decoration: none;}
#footer ul li a:visited 	{color: #b1b0ab;text-decoration: none;}
#footer ul li a:hover 		{color: #7b7660;text-decoration: underline;}

/*  YOU ARE HERE!  SUB NAV
-----------------------------------------------------------*/
#page-grant-criteria #grant-criteria a:link {color: #000; font-weight: bold;}

/*  SUCCESS STORIES
-----------------------------------------------------------*/
table.stories { width: 98%; }
table.stories td.thumb { width: 130px; }
table.stories td { padding: 8px; border-bottom: 1px solid #ececec; }
table.stories td.last { border-bottom: none; }
table.stories td h3 { margin-bottom: 12px; }

/* new stories implementation */
#stories-list div.story { display: block; padding: 12px; /*border-bottom: 1px solid #ececec;*/ height: 130px;}
#stories-list div.last { border-bottom: none; }
#stories-list div.thumb { float: left; width: 130px; height: 130px; margin-right: 8px;}

/* detail page */
.story {font:normal 12px Arial; color:#000;}
.story-clear { clear:both; }
.story-org { padding: 10px 0; }
.story-org a {font:normal 12px Arial; color:#660000;}
.story-org a:hover {background-color:#b7bc89;}
.clear {clear: both; height: 0px;}

/*  LEGACY 
-----------------------------------------------------------*/
#legacy_teaser {position:absolute;left:631px;top:74px;}
table.testimonials tr {vertical-align:top;}
table.testimonials td.image {padding:0 0.8em 1em 0;}
table.testimonials p {line-height:1em;}
table.testimonials span.testimonial {font:normal 12px Arial;font-style:italic;}
table.testimonials span.name {color:#000;font:bold 10px Arial;text-transform:uppercase;margin-bottom:4px;}
table.testimonials span.website { position: relative; left: 3px; }

/* MEMBERSHIP
-----------------------------------------------------------*/
table.membership { width: 98%; font: normal 11px Arial; border-collapse: collapse;}
table.membership td { border-bottom: 1px solid #ececec; padding: 10px;}
table.membership td.last { border-bottom: none; }
table.membership td.company { font-weight: bold; width: 180px; }
table.membership a.weblink { font-weight: normal; }
table.membership a, #content-main table.membership a:visited {color:#999966;}
table.membership a:hover {color:#660000;}
img.popup { padding: 4px 0 0 4px; }
#member_states { position: relative; top: -40px; float: right;}
#member_states p {margin: 0;}
#member_states select {width: 150px;}
div.pinnacleMembers {
  width: 510px;
  height: 343px;
  background: url('/images/shadow_pm_all_logos.gif') no-repeat;
  position: relative;
  left: -10px;
}
div.pinnacleMembers p {
  width: 270px;
  padding: 0 0 0 215px !important;
  margin: 0 !important;
  line-height: 1;
  display: inline-block;
  position: relative;
  top: -1em;
}

/* GRANTS-HISTORY
-----------------------------------------------------------*/
table.grants { font: normal 11px Arial; }
table.grants td { padding: 4px; }
table.grants td.awardtext { text-align: right; color: #670003; font-weight: bold; border-bottom: 1px solid #ececec;}
table.grants td.grand-total { font-weight: bold; font-size: 12px;  border-bottom: 1px solid #ececec;}
table.grants td.total { text-align: right;}
span.year { color: #670003; }
p.awardSummary { font-size: 140%; font-weight: bold; }
div.grant div.summary { margin: 0; }
div.grant div.blurb { line-height: 1.5em; margin-top: 0.4em; }
div.grant span.amount { font-weight: bold; float:right; }
div.with-image { min-height: 150px; }

/*  FORMS
-----------------------------------------------------------*/
#nav-sub ul.address {text-align:left;}
#nav-sub ul.address li {line-height:1em;font:normal 11px Arial;}
#nav-sub ul.address li.sub-title {padding: 8px 0 3px 0;border-bottom:1px solid #333;}
#contact_form table {margin-top: 18px; width: 100%; font:normal 11px Arial;}
#contact_form table td { padding: 4px; }
#contact_form label { float: left; }
#contact_form input.text, #contact_form textarea { background-color: #fafafa; border: 1px solid #ccc; font-size: 11px; padding: 4px; width: 125px; margin-bottom: 6px; }
#contact_form textarea { width: 420px; }
#contact_form select { position: relative; top: -3px; width: 136px; padding: 1px; background-color: #fafafa; border: 1px solid #ccc;}
#contact_form input[type="submit"] { padding: 2px; width: 75px; margin-right: 16px;}

#loginform { padding: 12px 16px; width: 212px; }
#loginform label { display: block; font-weight: bold; margin: 0 0 0.2em; padding: 0; }
#loginform input[type="text"], #loginform input[type="password"] { margin: 0 0 1em; padding: 0; height: 1.6em; width: 200px;}
#loginform .ui-button { left: 144px; }

/* Generic Images
-----------------------------------------------------------*/
.image-left { float: left; padding-right: 8px; }
.image-right { float: right; padding-left: 8px; }

/* Articles Module
-----------------------------------------------------------*/
#content-main div.article h2 { margin: 2em 0 0 0; padding: 0;}
#content-main div.article h2 span { font:normal 10px Arial; }
#content-main div.article h3 { margin: 0 0 0.5em 0; padding: 0;}
div.vcard {color: #660000; font-size: 12px; margin: 0 0 1.5em 0;}
#content ul.meta li { list-style: none; position: relative; left: -12px;}
#content a.commentsLink {text-decoration: none;}
div#blogSearch { padding: 0.5em 18px 0px 0px; text-align: right;}
input.blogSearchButton { margin-top: 4px; }
input#blog_search { width: 118px; }
div#blogRss { padding: 1.75em 14px 20px 0px; text-align: right; }
#content-main h2.entry-title { margin-bottom: 0.4em; }
#content-main h2.entry-title a { font-size: 120%; text-decoration: none; }
#content-main h1.blogHeader { text-indent:-2000em; background-image:url(/images/alliance_blog.gif); background-repeat: no-repeat; margin-bottom: 0.6em;}
p.blogBack { text-align: right; margin: 2em 18px 0px 0px; }
p.blogBack img { position: relative; top: 4px; }
div.entry-content img { padding-right: 8px;}
div.articleDivider { border-top: 1px solid #ccc; height: 1px; margin-bottom: 1em;}

/* rounded corners */
.rtop, .rbottom{display:block; }
.rtop *, .rbottom *{display: block; height: 1px; overflow: hidden}
.r1{margin: 0 5px;}
.r2{margin: 0 3px;}
.r3{margin: 0 2px;}
.r4{margin: 0 1px; height: 2px; }
.rcontent{text-align:left;padding:0.2em 1em;}
.rwrapper{margin-bottom:1.5em;}
.smallRound .rcontent{padding:0;text-align:center;height:0.5em;}
.smallRound .rcontent span {position:relative;top:-0.35em;font-size:95%;}

#supportslides{
	float:left;
	background: #fff;
	border: 1px solid #ccc;
	width: 200px;
	height: 200px;
	margin-bottom: 1em;
	padding: 0.5em 2em;
}

ul.supportlist { float:right; width: 230px; margin-bottom: 1em;}
div.nexterDefinition {margin-bottom:1.5em;}
div.nexterDefinition div.rcontent { padding:0.2em 1.6em;}
div.nexterDefinition div.rcontent p {margin-bottom:0.5em !important;}
div.nexterDefinition div.rcontent ol {margin-bottom:0.5em;}
div.nexterDefinition div.rcontent ol li {list-style:lower-roman;margin-left:18px;}
h2.nexter {color: #000 !important;margin-top:0.5em !important;}
h2.nexter span {font-weight:normal;font-size:90%;}
img.profilePhoto { float:left; margin: 0 5em 1em 0;}
img.granteeLogo { float:left; margin: 0 2em 1em 0;}
div.grantee h3 {font-weight:bold;font-size:110%;}
div#nexterProfile p { margin-bottom: 1.3em;}
div.nexterProfiles ul {height:53px;}
dl.nexterData { line-height: 1.5em; height: 140px; }
dl.nexterData dt { float: left; font-weight: bold; padding-left: 0.4em; margin-right: 0.4em;}
div#nexterProfile h2 {color: #00679A;}
img.withBorder { border:1px solid #ccc;}
form#friendFinder {padding-top: 1em; float:left;}
form#friendFinder input[type='text'] {width:100px;margin:0 0.8em 0 0.4em;font-size:90%;padding:0px 1px;}
p.nexterResult a {text-decoration:none;}
ul.profiles{clear:left;}
ul.profiles li {margin: 0.75em; float:left;}
ul.profiles li img.profile {float:none; margin-left:6px;width:48px;height:48px;}
ul.profiles li span { display: block; width: 60px; height: 2.4em; font-size: 80%; text-align: center; padding-top: 4px;}
a.all {font-size:80%;font-weight:normal;padding: 0 0.1em 0.2em 0.2em;}
div.nexterprofile {padding:0.6em 0.2em 0 0.2em; overflow: auto;}
div.nexterprofile img.profile { margin-bottom: 0.6em; }
div.facebookLogin { position:absolute; left: 175px; padding: 0 0 0 16px; border-left: 1px solid #ececec; height: 70px;}
div.facebookLogin h4 {color: #4a830b;font-weight:normal;font-size:90%;padding: 0.5em 0;}
div.clear { clear: both; }
div.share { padding: 1.2em 0; }
div.share img { margin-right: 0.2em;}
li.fb_login { padding-top: 0.8em; }

/* comment wall */
div#commentWall {margin-bottom: 2em;clear:both;}
div#commentWall h2 {display:inline;}
div#commentWall h3 {margin-bottom:0.4em;}
div#commentWall input[type='submit'] {margin: 1em 0;}
div#commentWall p {margin-bottom: 1em;*margin-bottom:0.7em;}
div#commentWall div.commentDetails {font-size:85%; margin-bottom:0.3em;}
div#commentWall div.commentDetails form {float:right;padding-right: 4em;}
div#commentWall div.actions {padding-right: 3.4em; height: 3em;}
div#commentWall ul { float: right;}
div#commentWall ul li { float: left; margin-right: 0.4em; padding: 1px 3px; font-size: 90%;}
div#commentWall ul li.selected { background: #26609a;  color: #fff;}

/* friend form */
h2.friendform{color: #CC6600; font-size: 110%; font-weight: bold;}
label.friendlabel{padding-top: 8px;font-weight: bold; font-size: 105%;}

/* session & user forms */
.userTypeForm fieldset {padding: 0 1.2em 1em 1.2em;}
.userTypeForm legend {color:#00679A;font-weight:bold;font-size:110%; padding:1em 0 0.4em 0;}
.userTypeForm input[type="text"], .userTypeForm input[type="password"] {padding:2px;margin-top:0.2em;width:310px;}
label#resolution span {font-weight:normal;font-size:95%;color:#333;}

/* notices */
div#notice {margin-bottom:1em;}
div#notice p{width:80%;margin-bottom:0;color:#c1ffff;}
div#notice a{color:#c1ffff;}
div#notice p#noticeClose{float:right;width:10%;}

/* widget styles */
img.profile {float:left;margin-right:0.4em;display:block;}
img.thumb {width:48px;height:48px;}
span.welcome {font-weight:bold;}
p.actionUpdateTitle {color: #666;margin-bottom:0.2em !important;}
p.actionUpdateTitle span {color:#006697; font-weight:bold; padding-left: 1em;}
dl.details {padding:1.2em; float: left; width: 200px; background: #e3deca; margin-bottom:1em;}
dl.details dt {font-weight:bold; clear: left; margin-right:0.4em;}
dl.details dd {display:block; margin: 0 0.4em 0.4em 0; }
dl.details dd.last {margin-bottom: 0;}
img.granteeMedium {float:left;margin: 0 10px 1em 0;}
div.granteeBlurb { clear: left; }
dl#actionDetails { margin-right: 14px; }
img.alertImage { margin-bottom: 1.4em ; }
#userSlides li, #userSlidesfriends li{ list-style-type: none; display: inline;}

/* grantees page */
#content-main ul#granteeNav { margin: 1.8em 0; padding: 0; }
#content-main ul#granteeNav li { display:inline; list-style-type:none; padding: 0 3px 0 0; }

/* backyard collectives */
div.backyardBlurb {
  width: 510px;
  height: 294px;
  background: url('/images/shadow_frame_byclogo.gif');
  position: relative;
  left: -10px;
  margin-bottom: 1.4em;
}
div.backyardBlurb h2 { padding: 2.4em 0 1em 28px; margin: 0 !important; }
div.backyardBlurb p { margin: 0; padding: 0 0 0 28px; width: 240px !important; line-height: 1;}
div.backyardUpcoming { float: left; width: 240px; line-height: 1.8em; }
div.twtr-widget { float: right; margin-right: 3px; }

/* tipsy */
.tipsy { font-size: 10px; position: relative; padding: 5px; z-index: 100000; }
.tipsy-inner { background-color: #000; color: #FFF; max-width: 200px; padding: 5px 8px 4px 8px; text-align: left; }

/* Rounded corners */
.tipsy-inner { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }

/* Uncomment for shadow */
/* .tipsy-inner { box-shadow: 0 0 5px #000000; -webkit-box-shadow: 0 0 5px #000000; -moz-box-shadow: 0 0 5px #000000; } */

.tipsy-arrow { position: absolute; width: 0; height: 0; border: 5px solid transparent; }
  
/* Rules to colour arrows */
.tipsy-arrow-n { border-bottom-color: #000; }
.tipsy-arrow-s { border-top-color: #000; }
.tipsy-arrow-e { border-left-color: #000; }
.tipsy-arrow-w { border-right-color: #000; }

.tipsy-n .tipsy-arrow, .tipsy-nw .tipsy-arrow, .tipsy-ne .tipsy-arrow { top: 0; border-top: none; }
.tipsy-s .tipsy-arrow, .tipsy-sw .tipsy-arrow, .tipsy-se .tipsy-arrow { bottom: 0; border-bottom: none; }
.tipsy-n .tipsy-arrow, .tipsy-s .tipsy-arrow { left: 50%; margin-left: -5px; }
.tipsy-nw .tipsy-arrow, .tipsy-sw .tipsy-arrow { left: 10px; }
.tipsy-ne .tipsy-arrow, .tipsy-se .tipsy-arrow { right: 10px; }
.tipsy-e .tipsy-arrow, .tipsy-w .tipsy-arrow { top: 50%; margin-top: -5px; }
.tipsy-e .tipsy-arrow { right: 0; border-right: none; }
.tipsy-w .tipsy-arrow { left: 0; border-left: none; }

/* ui-customizations( keep near bottom) */
span.fieldWithErrors input { border: 1px solid #600 !important; }
#content-main #tabs h3 { margin-bottom: 1em; }
#content-main #tabs a { color: inherit; }
#content-main #tabs ul { padding: .2em .2em 0; }
#content-main #tabs ul li { list-style: none; line-height: 1.25; }
#content-main #tabs div.update { text-align: right; padding: 0.2em 0.2em 0;}
#content-main #tabs label { display: block; font-weight: bold; margin-bottom: 0.2em; }
#content-main #tabs input, #content-main textarea { margin-bottom: 1em ; }
.ui-tabs-nav { height: 2.4em; padding: 0.2em 0.2em 0; margin: 0; }
#profileForm .ui-button { left: 400px; }
input#grantee { height: 20px; }
table.mceEditor, table.mceEditor iframe { width: 450px !important; }
img.twtr-profile-img { width: 0 !important; display: none; }
div.twtr-widget-profile h3, div.twtr-widget-profile h4 { margin: 0 0 0 0 !important; }

