/* 3-column widths
----------------------------------------------- */

#bd .yui-gb .yui-u.first {
   width: 20.3%;
}

#bd .yui-gb .yui-u.middle {
   width: 47.0%;
}

#bd .yui-gb .yui-u.last {
   width: 23.8%;
}

/* base styles
----------------------------------------------- */

a:link, a:visited {
   text-decoration: none;
}

a:hover {
   text-decoration: underline;
}

a:link, a:visited {
   color: #005195
}

a:hover {
   color: #6799CC
}

strong {
   font-weight: bold;
}

em {
   font-style: italic;
}


#primary-content p, 
#primary-content li, 
#primary-content table {
   margin-bottom: 1.0em;
   padding-right: 2.0em;
}

#primary-content p {
   line-height: 1.35em;
}

#primary-content h2 {
   margin-bottom: 0.5em;
   padding-right: 2.0em;
}

#primary-content h3 {
   margin-bottom: 0.25em;
   padding-right: 2.0em;
}

#primary-content h4 {
   margin-bottom: 1em;
}

#secondary-content p {
   padding-right: 2.0em;
   font-style: italic;
}

#secondary-content cite {
   display: block;
   margin-bottom: 1.0em;
}

#donate-button {
   text-align: right;
}

#secondary-nav { 
   margin-top: 0.4em;
   margin-left: 0.4em;
}

#secondary-nav li { 
   padding-top: 0.4em;
   padding-bottom: 0.4em;
}



/* text sizes
----------------------------------------------- */

h1 {
   font-size: 3.5em;
}

h2 {
   font-size: 1.6em;
}

h3 {
   font-size: 1.1em;
   font-weight: bold;
}

#ft {
   font-size: 0.7em;
}

#secondary-nav li {
   font-family: Helvetica, Arial, sans-serif;
   font-size: 1.1em;
   font-weight: bold;
}

#search-box { 
   color: #6799CC;   
   margin-bottom: 1em;
}

#search-box input {
    -moz-border-radius: 0.9em;
    -webkit-border-radius: 0.9em;
    border: #CCC 0.1em solid;
    padding: 0 0 0 0.5em;
    width: 10.3em;
    height: 1.5em;
}

#search-box input.sub {
    width: 1.8em;
    height: 1.7em;
    margin-left: 0.25em;
    padding: 0;
    border: #D0B88C 0.1em solid;
    color: #FFF;
    background-color: #D0B88C;
    font-weight: bold;
}

#search-box label {
    font-weight: bold;
}

/* default colours and navigation stripe 
----------------------------------------------- */

body {
   background-color: #F0E7D9;
   padding-bottom: 1.0em;
}

html {
   background-color: #F0E7D9;
}

#bd {
   margin-top: 2.0em;
}

h2, h3, h4, 
#secondary-nav li a, 
#secondary-nav li a:visited {
   color: #6799CC;
}

h3 a:link, 
h3 a:visited {
   color: #6799CC;
} 

#custom-doc {
   background-color: #BAC8D5;
   border: 4px solid #D6D8D7;
   padding: 4px;
}

#container {
   background-color: #FFF;
   padding: 4px;
}

#secondary-nav li a {
   display:block;
   padding-left: 1em;   
   text-decoration: none;
}

#secondary-nav li {   
   background: transparent url(http://youthaliyah.org/images/19.gif) repeat-x;
}

#secondary-nav li a:hover, #secondary-nav li.selected a {   
   background: transparent url(http://youthaliyah.org/images/6.gif) 0 0.15em no-repeat;
}

#secondary-nav li.selected a:hover {   
   cursor: default;
}

#secondary-nav {   
   background: transparent url(http://youthaliyah.org/images/19.gif) bottom left repeat-x;
}



#gallery-link {
   display: block;
   color: #6799CC;
   font-weight: bold;
   text-decoration: none;
   margin-top: 1em;
   margin-bottom: 1em;
   padding-left: 1em;
   background: transparent url(http://youthaliyah.org/images/6.gif) 0 0.15em no-repeat;   
}

#gallery-link:hover {
   text-decoration: underline;      
}

#primary-content {
   background: transparent url(http://youthaliyah.org/images/20.gif) repeat-y;
  padding-left: 1.5em;
}

#primary-content-container {
   background: transparent url(http://youthaliyah.org/images/20.gif) top right repeat-y;
   padding-right: 1.5em;
   min-height: 30.0em;
}

#ft {
   padding-top: 1em;
}

#ft, #ft a:link, #ft a:visited, #ft a:hover  {
   color: #AAA;
}

#primary-content .event-summary p {
   margin-top: 0;
   margin-bottom: 0;
   padding-top: 0;
   padding-bottom: 0;
}

#primary-content .event-summary {
  margin-bottom: 1em;
}

#primary-content .event-summary h4 {
   font-weight: bold;
}

#primary-content .project-excerpt p {
   margin-top: 0;
   margin-bottom: 0;
   padding-top: 0;
   padding-bottom: 0;
}

#primary-content .project-excerpt {
  margin-bottom: 1em;
}

#s-projects #primary-content strong,
#s-about #primary-content strong,
#s-events #primary-content strong,
#s-contact #primary-content strong {
   color: #6799CC;
}

#primary-content .search-result {  
   padding-bottom: 0.01em; 
   padding-top: 0.5em; 
   background: transparent url(http://youthaliyah.org/images/19.gif) bottom left repeat-x;
}


#primary-content .search-result p {  
   margin-bottom: 0.5em; 
}

#primary-content p.letter-date {  
   text-align: right;
}

#primary-content .event-archived p.event-archived-date {
   margin-bottom: 0;
}

/* accessibility page */

#theme-switcher, #fsize-switcher {
   margin-top: 1em;
}

#theme-switcher li a {
   display: block;
   width: 9em;
   padding: 5px;
   border-width: 1px;
   border-style: solid;
}

#hd {
   background: transparent url(http://youthaliyah.org/images/157.gif) 0 0 no-repeat;
   overflow: hidden;
}

#primary-content img.embed-right {
  float: right;
  margin-left: 1em;
  margin-bottom: 1em;
  padding-top: 1em;
}


#primary-content img.notop-embed-right {
  float: right;
  margin-left: 1em;
  margin-bottom: 1em;
  padding-top: 0em;
}