/* cross-platform css for fabb templateset */
/* Copyright 2009 Fund for the City of New York */
/* License: http://fred.fcny.org/fcny-ossl.txt */

  body { margin: 0px 0px; background-color: #FFFFFF; color: #005281; }
  a { color: #005281; }
  a.active, h3.active, p.active { color: #005281; }
  table.table th { border-color: #FFF858; }
  table.table td { border-color: #FFF858; }
  input.button { color: white; background-color: #005281; }


  table.month td { background-color: #FFFFFF; background-image: url(<?=$site->local->wwwuri?>/calendar-day-bg.gif); }
  table.month td.activeday { background-color:#FFF858; }
  table.month td.istoday { background-color: #005281; }
  #CalendarDetails h3 { color: #005281; }
  /* Color by Numbers */
.color1 { color: #005281; }
.bgcolor1 { background-color: #005281; color: white; }
.bgcolor1 a { color: white; }
.color2 { color:#599EC5; }
.bgcolor2 { background-color: #599EC5; color: white; }
.bgcolor2 a { color: white; }
.color3 { color: #E5EDF2; }
.bgcolor3 { background-color: #E5EDF2; color: white; }
.bgcolor3 a { color: white; }
.color4 { color: #FFF858; }
.bgcolor4 { background-color: #FFF858; color: white; }
.bgcolor4 a { color: white; }
.color5 { color: #FFFFFF; }
.bgcolor5 { background-color: #FFFFFF; color: white; }
.bgcolor5 a { color: white; }
.color6 { color: #FFFFFF; }
.bgcolor6 { background-color: #FFFFFF; color: white; }
.bgcolor6 a { color: white; }
.coloractive { color: #005281; }
.bgactive { background-color: #005281; color: white; }
.bgactive a { color: white; }
.colorprivate { color: #005281; }
.bgprivate { background-color: #005281; color: white; }
.bgprivate a { color: white; }
#SectionNav a { color: <?=h($site->local->nav_color)?>; }

/* tags */
body { font-family: Verdana,sans-serif; font-size: 12px; margin: 0px; padding: 0px; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
a:hover img {text-decoration: none; }
a img { border-style: none; }
a.private img { border: 2px solid #999; }
h1, h2, h3, h4, p, form { margin: 0px; padding: 0px; }
h1, h2, h3, h4 { font-weight: normal; margin-bottom: 0.5em; }
h1 { margin-bottom: 1em; }
table { font-size: inherit; }

/* classes */
img.icon { float: left; margin: 0 1em 1em 0; }
h3.active, p.active { font-weight: bold; }
td.icon { vertical-align: top; }
td.icon img.icon { margin: 0.1em 0.2em 0 0; }
div.sidebar, table.sidebar { clear: right; float: right; margin: 0 2em 4em 1em; width: 160px; }

/* utility */
p.editor { font-family: Verdana, sans-serif; font-size: 0.7em; margin: 0 0 0 0; font-weight: bold; }
p.editor a { color: #666; text-decoration: none; }
p.editor a:hover { color: #006699; }

p.whitespace { height: 1px; clear: both; }
div.indent { margin: 0em 0.5em 1em 1em; } 
div.left, table.left, img.left { float: left; margin-right: 2em; }
div.right, table.right, img.right { float: right; margin-left: 2em; }
div.sortable p { padding: 3px 6px; border: 1px solid #ccc; width: 240px; margin: 2px; }
table.table { border-collapse: collapse; }
table.table th { padding: 3px 6px; text-align: left; border: 1px solid #999; border-style: none solid none solid; }
table.table td { padding: 3px 6px; text-align: left; vertical-align: top; border: 1px solid #999; border-style: none solid none solid; }
span.continuation { margin: 0 0 0 1em; }
span.continuation a { font-weight: normal; }

/* form styles */
table.form td { padding: 0.4em 0.2em; }
table.form td.label { padding-top: 7px; }
input[type=checkbox] { border: 0; }
input[type=radiobutton] { border: 0; }
input.tempvalue { color: #667; }
textarea { border: 1px solid #999; padding: 0.4em; margin-bottom: 0.2em; max-width: 500px; }
textarea.markup { max-width: none; }

/* chrome styles */
#Canvas { background-color: #FFFFFF; position: relative; width: 1000px; margin: 0px 0px; }
#CanvasInner { padding: 70px 18px 80px 0px; min-height: 364px; height: auto !important; height: 364px; }
#CanvasInner a { color: #005281; }
#CanvasInner a.active { color: #005281; }
#CanvasInner a.private { color: #005281; }
#CanvasInner p.editor a { color: #FFF858; }

#CardContents td {width: 300px; }

#Logo { position: absolute; top: 0px; left: 0px; }

#Object { float: right; width: 550px; padding-right: 280px; font-size: 10pt; line-height: 16px; min-height: 400px; height:auto !important; height: 365px; }
#Object h1 { font-size: 16pt; }
#Object p { margin-bottom: 1em; }
#Object a { font-weight: bold; }
#Object h4 a { font-weight: normal; }
#Object .right {float: right; }
#Object .left {float: left; }
#Object .BlueBar { width: 90%; height: 53px; display: block; margin-left: auto; margin-right: auto;}
#MediaViews { float: right; margin: 37px 0 0 30px; width: 326px; }
#MediaViews div.viewer div.slide img.preview { max-width: 330px; width: auto !important; width: 330px; }
#MediaViews p.slidenav { margin: 0 0 0.4em; text-align: right; }
#MediaViews p.slidenav img { position: relative; top:4px; }
#Object p.editor { margin: 0; }
#Object p.editor a { color: #005281; }

#FormBody {text-align: center; width: 830px; padding-right: 0px; font-size: 10pt; line-height: 16px; min-height: 400px; height:auto !important; height: 365px; }
#Notecards {float: right; text-align: center; width: 830px; padding-right: 0px; font-size: 10pt; line-height: 16px; min-height: 400px; height:auto !important; height: 365px; }
#Notecards h1 { font-size: 22pt; line-height: 100%}

#Notecards .BlueBar { width: 90%; height: 53px; display: block; margin-left: auto; margin-right: auto;}

#SiteNav { position: absolute; top: 0px; left: 140px; }
#SiteNav div.topmenu { background-color: #005281; float: left; margin: 0 0 0 3px; font-size: 11pt; font-variant: small-caps;  font-weight: bold; }
#SiteNav div.topmenu a {color: #FFF858; padding: 8px 14px; font-weight: bold; display: block;}
#SiteNav div.topmenu a:hover { text-decoration: none; color: white;}
#SiteNav div.first{  margin: 0;}
#SiteNav div.last { position: absolute; left: 657px; width: 134px; }
#SiteNav div.banner_text { clear: both; padding: 3px 0 3px 0; text-align: center; }
#SiteNav div.banner_text h3{margin: 5px;  display: inline; font-size: 14pt; font-weight: bold;}
#SiteNav {border: 2px solid #FFF858; border-top: none;}
#SiteNav div.banner_text {background-color: #E5EDF2; color:#005281;}

#SectionNav { padding: 7px 0px; margin-top: 55px; float: left; width: 129px; margin-bottom: 24px; font-size: 13px; }
#SectionNav p.first { margin-left: .5em; font-weight: bold; }
#SectionNav a.active { color: #599EC5; font-weight: bold; }
#SectionNav a.private { font-weight: normal; }
#SectionNav a.private.active { font-weight: bold; }
#SectionNav div.navbox {font-weight: bold; font-size: 8pt; padding: 6px 4px; color: #005281; background-color: #E5EDF2; margin: 7px; border-top: 1px solid #599EC5; border-left: 1px solid #599EC5; border-bottom: 1px solid #FFF858; border-right: 1px solid #FFF858;}
#SectionNav div.navbox a{text-decoration: none; font-size: 11px;}
#SectionNav div.navbox a:hover{color: #599EC5;}
#SectionNav div.navbox img{display: block; margin-top: 5px; margin-left: auto; margin-right: auto; padding: 0px 0px; }
#SectionNav div.navbox li {text-indent: -6px; padding-left: 0px; margin-left: 6px; padding-right: 0px; margin-right: 0px }
#SectionNav {border: 2px solid #FFF858; background-color: #005281; border-bottom: none; border-left: none; color: #FFF858; }
#SectionNav a.private { color: #005281; }

#SectionNav div.NavPhoto img{border-color: #599EC5;}
#SectionNav div.footer{font-size: 8pt;}
#SectionNav div.NavPhoto{text-align: center;}
#SectionNav div.NavPhoto img{border: 2px solid;}
#SectionNav div.bullet{margin-left:1em;text-indent:-1em;margin-bottom: .2em}

#SectionNav p.editor { margin-left: 8px; }

#EditControls { margin-top: 1em; float: left; clear: left; width: 104px; }
#EditControls p { margin: 1em 0; }

#Goline { float: right; }

#Portal { position: absolute; bottom: 12px; left: 12px; }
#Portal input { font-size: 11px; padding: 3px 5px 5px 5px; margin: 0 0 6px 0; -moz-border-radius: 4px; -webkit-border-radius: 4px; }
#Portal input.button { padding: 2px 0px 3px 0px; margin: 0; }

#User { clear: both; margin: 12px; text-align: right; }


/* homepage styles */
#Banner { position: absolute; top: 12px; left: 12px; }
#Homepage { position: relative; top: 120px; }
#HomeInner { position: absolute; top: 0px; right: 12px; }
#Photos { }
/*div.square_frame { width: 128px; height: 128px; }*/
/*div.square_frame img.mask { width: 130px; height: 150px; }*/
div.square_frame { width: 155px; height: 155px; }
div.square_frame img.mask {  }
#Tagline { text-align: right; color:#2C3172; font-family:Times,serif; font-size:2em; font-style:italic; margin-top:20px; text-align:right; }
#Homeflash { margin-top: -120px; }

/* contents */
#Contents {}
#Contents table.item { margin-bottom: 1.5em; }
#Contents table.item td { vertical-align: top; }
#Contents table.item td.thumbnail { padding-right: 1em; }
#Contents table.item td.description h3 { font-size: 15px; margin: 0 0 0.2em 0; }
#Contents table.item td.description h4 { font-size: 13px; margin: 0 0 0.2em 0; }
#Contents table.item td.description p { margin: 0; }


/* view styles */
table.imagetable td { padding-right: 1em; vertical-align: top; }
table.imagetable img { display: block; margin-bottom: 0.2em; }
table.imagetable td.icon img { float: left; margin-right: 0.2em; }

/* Log Styles */
div.daygroup { }
div.daygroup h4 { font-size: 14px; font-style: normal; margin-bottom: 6px; }
div.entry { margin-bottom: 30px; }
div.entry h3.title { text-transform: none; font-weight: bold; margin: 0px 0px 3px 0px; }
div.entry h3.title a { text-decoration: none; }
div.entry h3.title a:hover { text-decoration: underline; }
div.entry p.file { color: #667 margin: 0; }
div.entry p.show { color: #667; margin: 0; }
div.entry p.link { color: #667; margin: 0; }
div.entry div.image { margin-bottom: 6px; }
div.entry div.audio { margin-left: 0px; }
div.entry div.video { margin-left: -5px; }
div.entry div.content { margin: 0px 0px -10px 0px; }
div.entry div.content p { margin: 0px 0px 10px 0px; }

/* Directory Styles */

/* Threads Styles */
#Messagelist { margin: 1em 2em; }
div.message { padding: 1em 0em; border-color: #999; border-style: solid none none none; }
div.thread {  }
div.thread h3 {  } 
#addMessage textarea { width: 360px; height: 180px; }

/* Calendar Styles */
#Calendar { float: left; }
  table.month { border-collapse: collapse; font-size: 11px; font-family: Rockwell, Arial, sans-serif; cursor: default; }
  table.month tr.weekdays { display: none; }
  table.month td { background-image: url( /www-fabb/calendar-day-bg.gif ); background-color: #def; text-align: center; vertical-align: middle; width: 27px; border: 4px solid #fff;  color: #fff; padding: 0px; border-width: 0px 4px 4px 0px; }
  table.month td.day { padding: 5px 0px 4px 0px; }
  table.month td.activeday { background-color: #667; cursor: pointer; }
  table.month td.istoday { background-color: #000; }
  table.month img { }
  
#CalendarDetails { float: right; width: 288px; }
#CalendarDetails h2 { font-weight: bold; font-size: 14px; }
#CalendarDetails h3 { text-transform: none; font-weight: bold; font-size: 12px; margin: 0; }
#CalendarDetails h3 a { text-decoration: none; }
#CalendarDetails p { margin-bottom: 6px; }
#CalendarDetails div.daydetail { display: none; }
#CalendarDetails div.eventdetail { margin: 0px 0px 18px 0px; }
#CalendarNav { margin: 0px 0px 14px 0px; }
#CalendarNavForm {}

/* Audio/Video Styles */
div.audio { padding: 2px 4px; width: 240px; margin: 0px 0px 9px -9px; }
div.audio table { height: 36px; }
div.audio td { padding: 0px 0.4em 0px 0px; }
div.audio td.audioicon { width: 32px; height: 32px; background-image: url( /www-core/audioicon.png ); background-repeat: no-repeat; }
div.audio td.playbutton { width: 32px; height: 32px; background-image: url( /www-core/play.png ); background-repeat: no-repeat; text-indent: -100em; overflow: hidden; }
div.audio td.pausebutton { width: 32px; height: 32px; background-image: url( /www-core/pause.png ); background-repeat: no-repeat; text-indent: -100em; overflow: hidden; }
div.audio td.stopbutton { width: 32px; height: 32px; background-image: url( /www-core/stop.png ); background-repeat: no-repeat; text-indent: -100em; overflow: hidden; }
div.video { border: 1px none #ccc; padding: 2px 4px; width: 320px; margin: 0px 0px 9px -9px; }

/* Slideshow Styles */
div.slideshow { text-align: center; }
div.slideshow div.slide { display: none; }
div.slideshow div.controls { display: none; }


/* m_table styles */
  div.m_container { min-width: 480px; overflow: auto; }
  table.m { font-size: inherit; font-family: Verdana; }
  table.m th { text-align: left; font-weight: normal; font-size: 0.8em; padding: 0px 0.8em 0px 0.8em; }
  table.m td { font-size: 0.8em; padding: 5px 0.4em 2px 0.2em; }
  /* row styles */
  table.m tr.header { color: white; background-color: #006699; }
  table.m tr.header th { padding: 0.2em 0.4em; }
  table.m tr.odd { background-color: #ffffff; }
  table.m tr.even { background-color: #F6F6F6; }
  /* selectors */
  table.m tr.columnselect { height: 3px; background-color: #eee; }
  table.m tr.columnselect td { padding: 2px 0.4em 1px 0.2em; }
  table.m td.rowselect { width: 3px; background-color: #eee; }
  table.m td.selector { font-size: smaller; vertical-align: middle; text-align: center; border: 3px #fff; border-style: none solid solid none; }
  table.m td.selector.selected { background-color: #FFE380; }
  /* cell selection styles */
  table.m tbody td.colselected { background-color: #E6F6FF; }
  table.m tbody td.rowselected { background-color: #E6F6FF; }
  table.m tbody td.colselected.rowselected { background-color: #BFE9FF; }
  /* sorters */
  table.m th.sorted { background-color: #00456B; }
  table.m th.down:after { content: "+"; }
  table.m th.up:after { content: "-"; }
  /* form widgets */
  table.m textarea { width: 100%; height: 24px; border: 1px solid #660; padding: 2px 4px; font-family: inherit; font-size: 11pt; }
  table.m img.icon { max-height: 19px; width: auto; margin: 0; }
  div.m { margin: 6px 24px; }
  #m_exportPopup { position: absolute; background-color: #fff; padding: 6px 8px; border: 1px solid #999; }
  #m_exportPopup table { border-collapse: collapse; }
  #m_exportPopup td { padding: 2px 4px; border: 1px solid #ccc; }
  #m_exportPopup p { margin: 0.4em 0 0.4em 0; }

