body { background: #181512; font-family: "Trebuchet MS", sans-serif; font-size: 12px; color: #333333; border-top: #6E8110 5px solid; }
#wrapper { margin: 0 auto; width: 944px; border-left: 0px; 
  background: #ffffff; }

#header { background: #181512; height: 140px; border-bottom: 1px solid #747474; }
  #header h1 { padding-top: 24px; margin-left: 20px; float: left; }
  #header .top_section { height: 97px; position: relative; }
  #language_options { position: absolute; right: 12px; top: 0px; height: 32px; }
  #language_options a { display: block; float: left; width: 78px; height: 32px; font-size: 1.33em;
    text-align: center; color: #ffffff; font-weight: normal; text-decoration: none; line-height: 24px;
    background: url('/images/hosted/matapihi/maori.gif') no-repeat; margin-left: 8px;  }
  #english {  margin-right: 7px; }
  #language_options a.active { background: url('/images/hosted/matapihi/english.gif') no-repeat; }
  #search_box { width: 408px; height: 41px; margin-left: 16px; 
    background: url('/images/hosted/matapihi/search_back.gif') no-repeat;  float: left; margin-top: 20px;
    padding-top: 10px; }
  #search { line-height: 24px; padding: 2px; font-size: 1.2em; margin-left: 12px; width: 290px; }
  #search_submit { font-size: 1.333em; line-height: 17px; padding: 2px 0px 5px; border: 0px; width: 83px;
    background: url('/images/hosted/matapihi/search.gif') no-repeat; font-weight: bold; cursor: pointer; }
  #search_submit:hover { background: url('/images/hosted/matapihi/search_over.gif') no-repeat; }
  #search_submit:active { background: url('/images/hosted/matapihi/search_click.gif') no-repeat; }
  #quicklinks { margin: 0px 18px; border-top: 1px solid #3a3e14; }
  #quicklinks li { float: left;  height: 42px; line-height: 42px;
    font-size: 1.25em; }
  #quicklinks span, #quicklinks a { border-right: 2px solid #c6c5c4; vertical-align: middle; 
    line-height: auto; padding: 0px 6px; color: #ffffff; text-decoration: none; }
  #quicklinks a:hover, #language_options a:hover { text-decoration: underline; }
  #quicklinks li.last a, #quicklinks li.last span { border-right: 0px; }
  #quicklinks span { color: #ffe900; text-decoration: underline; }

  /* Content */
  
  #content_header { border-bottom: 1px solid #d6d9cb; padding-bottom: 14px; }
    #content_header p { font-size: 1.166em; color: #4e571b; width: 380px; }
    #announcements { float: right; width: 321px;
      background: #ededed url('/images/hosted/matapihi/announcements_bottom.gif') bottom left no-repeat; }
    #announcements h3 { height: 36px; line-height: 36px; color: #ffffff; font-size: 1.5em; padding-left: 12px;
      background: url('/images/hosted/matapihi/announcements_h3.gif') top left repeat-x; font-weight: normal; }
    #announcements ul { border-left: 1px solid #dfdfdf; border-right: 1px solid #dfdfdf; 
      padding: 8px 12px; margin-bottom: 5px; }
    #announcements ul li { background: url('/images/hosted/matapihi/green_bullet.gif') 0px 5px no-repeat;
      padding-left: 12px; }
    #announcements ul li a { color: #333333; text-decoration: none; font-size: 1.083em; line-height: 18px; }
    #announcements ul li a:hover { color: #000000; }
    #result_column h2 { font-size: 2.75em; margin-top: 8px; color: #4b590a; }
    #result_column h2 span { font-size: 0.4545em; vertical-align: middle; padding-bottom: 4px; border-left: 1px solid #B3B3B3; padding-left: 8px; }
    #result_column .image_row_wrapper { background: transparent; }
    #result_column .image_row { margin-top: 32px; }
    #result_column .image_row span { display: -moz-inline-box; display: inline-block; vertical-align: bottom; width: 177px; margin-bottom: 24px; }
    #result_column .image_row span.last { width: 169px; }
    #result_column .image_row span span.inner { display: table; margin: 0px auto; vertical-align: bottom; text-align: center; display: -moz-inline-block; }
    #result_column .image_row span.first span.inner { margin: 0px; }
    #result_column .image_row span.last span.inner { margin: 0px 0px 0px auto; }
    * html #result_column .image_row span { text-align: center; }
    #result_column .image_row span img, #result_column .image_row li a { display: block; text-align: center; margin: 0px auto; }
    #result_column .image_row span img { margin-bottom: 12px; border: 3px solid #acc314; }
    #result_column .image_row span img:hover { border: 3px solid #ffcf00; }
    #result_column .image_row span a { color: #4b590a; font-size: 1.166em; }
    
    #content { width: 540px; }
    #content h2 { margin-bottom: 18px; }
    #content h3 { font-size: 1.58em; color: #4B590A; margin-top: 32px; margin-bottom: 12px; }
    #content ul, #content ol { margin-bottom: 32px; font-size: 1.083em; }
    #content ol { list-style-type: decimal; margin-left: 18px; }
    #content ul { list-style-type: disc; margin-left: 18px; }
    #content li, #content li a { color: #695600; }
    #content li { margin-bottom: 4px; }
    #content li a { text-decoration: underline; }
    #content li a:hover { color: #000000; }
    
    #content p { color: #4B590A; font-size: 1.083em; margin-bottom: 18px; }
    #content p a { color: #695600; font-size: 1em; }
    #content p a:hover { color: #000000; }

    #image_results { position: relative; z-index: 2; margin-left: -14px; }
    #image_results li { color: #000000; float: left; width: 120px; margin-left: 10px; height: 260px; text-align: center; position: relative; }
    #image_results li div { position: absolute; bottom: 12px; }
    #image_results li span { display: block; margin: 2px 0px 4px; color: #333333; }
    #image_results li a { color: #36530E; }

    .image_row_wrapper { float: left; width: 714px; }

    .result { min-height: 102px; margin-bottom: 20px; clear: right; padding-top: 12px; }
    .result img { float: right; border: 1px solid #333333; margin-left: 12px; }
    .result h3 { margin: 0px 0px 14px; }
    .result p { margin-bottom: 12px; }
    .result p.contributor { margin-top:-10px; font-weight: bold; }
    .result a {  max-width: 445px; color: #36530E; }
    .result h3 a { font-size: 1.4em; color: #36530E; font-weight: bold; }
    
/* Search results stuff*/
  #column_wrapper { width : 944px; background: #9eb919; }

  #facet_column { float: left; width: 180px; margin-left: -205px; margin-top: -22px; }
    #facet_column ul li a { background: #EDEDED; }
    #facet_column ul li a:hover strong { color: #000000; }
    #facet_column ul li.active { color: #eeeeee; }
    #facet_column ul li a { color: #333333; text-decoration: none; display: block; border-bottom: 1px solid #BBB8B2; padding: 11px 8px; }
    #facet_column ul li strong { font-size: 1.4em; font-weight: bold; display: block; color: #4e571b; }
    #facet_column ul li.active a { color: #eeeeee; background: url('/images/hosted/matapihi/active_facet.gif') top left repeat-x;
    border-bottom: 1px solid #7f9013; }
    #facet_column ul li.active strong { color: #eeeeee; }
    #logo_box { padding: 19px 0px; background: url('/images/hosted/matapihi/picture_back.gif') repeat-x; }
    #logo_box img { display: block; margin: 0px auto; }
    #facet_gradient { height: 187px; background: url('/images/hosted/matapihi/facet_gradient.gif') repeat-x; }

    #filter_column { float: right; width: 174px; margin-right: -199px;  margin-top: -22px; }
      #filter_column h4 { height: 35px; line-height: 35px; padding-left: 8px; font-size: 1.3em; font-weight: bold; color: #eeeeee;
        background: url(/images/hosted/matapihi/filter_green_header.gif) repeat-x scroll left top; }
      #filter_column ul { background: #e9e9e9; }
      #filter_column p { background: #e9e9e9; padding: 12px 32px 12px 12px;font-size: 1em; }

    #current_filters li { border-top: 1px solid #cbcbcb; }
    #current_filters li a { display: block; padding: 12px 32px 12px 12px; color: #333333; text-decoration: none;
      background: url('/images/hosted/matapihi/delete.gif') 97% 50% no-repeat; }
    #current_filters li a:hover { color: #476F0F; background: #ffffff url('/images/hosted/matapihi/delete_active.gif') 97% 50% no-repeat;; }

    #filter_options { padding: 12px; line-height: 1.5em; font-size: 1.2em; font-weight: bold; }
    #filter_options ul { margin-bottom: 18px; font-size: 0.85em; font-weight: normal; padding-left: 6px; text-indent: -6px;}
    #filter_options ul li { color: ;}
    #filter_options ul li.more a { font-weight: bold; color: #333333; }
    #filter_options ul li a { color: #4b590a; }
    
    .credits_row_wrapper { }
    .credit_row { height: 160px; border: 1px solid #D6D9CB; margin-bottom: 10px; }
    .credit_row img { float: right; margin-top: 20px; margin-right: 8px; }
    .credit_row .details { float: left; margin-left: 10px; margin-top: 10px; }
    .credits_description { width: 600px; margin-top: 5px; margin-bottom: 10px; }

  #result_column { background: #ffffff; border-left: 1px solid #a0a0a0; border-right: 1px solid #a0a0a0; margin: 0px 174px 0px 180px;
          padding: 22px 24px 0px; }
  .results_wrapper { float: left; width: 540px; }
  .pagination_wrapper { clear: left; }
  #column_wrapper .one { margin-right: 0px; padding-bottom: 0px; }
  
  .pagination_wrapper { text-align: center; }
  .pagination { display: -moz-inline-block; display: inline-block; font-size: 1.2em; }
  .pagination { display: inline; }
  .pagination { margin: 100px auto 0px; text-align: center; padding-bottom: 24px; display: table; }
  .images .pagination { position: relative; top: 84px; padding-bottom: 84px; }
  .pagination li { float: left; line-height: 16px; height: 16px; border: 1px solid #9fae86; text-align: center; 
          margin-right: 5px; padding: 0px; margin-bottom: 8px; }
  .pagination li.dots { border: 1px solid #ffffff; }
  .pagination li a { display: block; height: 16px; padding:0px 4px; text-decoration: none; color: #000000; }
  .pagination li.dots a:hover, .pagination li.dots a:active, .pagination li.previous a:hover, .pagination li.next a:hover { background: none; }
  .pagination li.previous, .pagination li.next { border: none; width: auto; }
  .pagination li.next a { padding: 0px 16px 0px 8px; margin: 0px; width: auto; }
  .pagination li.previous a { padding: 0px 8px 0px 16px; margin: 0px; width: auto; }	
  .pagination li.previous a.inactive { background: url('/images/hosted/pagination_previous_inactive.gif') left 50% no-repeat; color: #333333; }
  .pagination li.next a.inactive { background: url('/images/hosted/pagination_next_inactive.gif') right 50% no-repeat; color: #333333; }
  .pagination li a:hover, .pagination li.active a { background: #4e571b; color: #ffffff; }
  .pagination li.active { border: 1px solid #4e571b; }
  .pagination li.next a, .pagination li.next a:hover { color: #4e571b;
    background: transparent url(/images/hosted/matapihi/pagination_next.gif) no-repeat scroll right 50%; }
  .pagination li.previous a, .pagination li.previous a:hover { color: #4e571b;
    background: transparent url(/images/hosted/matapihi/pagination_previous.gif) no-repeat scroll left 50%; }

  * html #result_column { padding: 22px 17px 0px; }
  * html #column_wrapper .one { margin-right: 0px; padding-bottom: 100px; }

  #footer { height: 115px; }
    #footer_ribbon { height: 32px; background: #333333; margin-bottom: 24px; margin-left: -1px; padding-left: 18px; }
    #footer_ribbon li { float: left; height: 32px; line-height: 30px; color: #ffffff; }
    #footer_ribbon li a { line-height: normal; vertical-align: middle; color: #ffffff; text-decoration: none;
      padding: 0px 6px; font-size: 1.083em; }
    #footer_ribbon li.last a { border-right: none; }
    #footer_ribbon li a:hover { text-decoration: underline; }
    #footer p { float: left; width: 350px; margin-left: 18px; }
    #footer img { float: right; margin: 0px 12px 0px 14px; }

  
  /* IE fixes */
  *:first-child+html #search_box { padding-left: 0px; }
  *:first-child+html #search { margin: 0px; padding-bottom: 5px; position: relative; top: -3px; }
  
  *:first-child+html #filter_column { position: relative; left: 25px; }

  *:first-child+html .images #facet_column { margin-left: -181px; }
  *:first-child+html #image_results li { margin-left: 12px; width: 118px; }
  *:first-child+html .images #result_column { padding: 14px 10px 0px 0px; }
  *:first-child+html #image_results li  div { left: 0px; }
  
  * html #search_box { padding-left: 0px; }
  * html #search { margin: 0px; padding-bottom: 5px; position: relative; top: -3px; }
  * html #header h1 { margin-left: 10px; }
  
  * html #facet_column { position: relative; margin-left: -181px; }
  * html #facet_column a { height: 40px; }
  * html #filter_column { position: relative; left: 1px; }
  * html #image_results { width: 594px; margin-left: -80px; }
  * html .images .pagination { position: relative; top: 0px; }
  * html .pagination li a { float: left; }
  
