
/*******************************************************************************
  style.css
  Date: 5th March 2024
*******************************************************************************/
  body { font-family:sans-serif; }

  /* buttons */
  .ICON { text-indent:28px; background-size:20px; background-repeat:no-repeat; background-position:left center; }
  header .ICON-SIGNUP { background-image:url(/images/icons/email.png); }
  header .ICON-SUPPORT { background-image:url(/images/icons/donation-orange.png); color:#f1582c; }
  header .ICON-SIGNUP:hover { background-image:url(/images/icons/email-grey.png); color:#999; }
  header .ICON-SUPPORT:hover { background-image:url(/images/icons/donation.png); color:#000; }
  
  nav .ICON-SIGNUP { background-image:url(/images/icons/email-white.png); background-position:10px center; }
  nav .ICON-SUPPORT { background-image:url(/images/icons/donation-white.png); background-position:10px center; }


/*******************************************************************************
  PANES
*******************************************************************************/   
  /* panes */  
  .PANE-2 .ANALYSIS-PREVIEW h2 a { font-size:1.125rem; line-height:1.25em; }
  .PANE-2 .ANALYSIS-PREVIEW .ANALYSIS-CATEGORY { display:none !important; }
  .PANE-2 .ANALYSIS-PREVIEW .ANALYSIS-PREVIEW { display:none !important; }
  .PANE-2 .ANALYSIS-PREVIEW .ANALYSIS-PHOTO { flex-basis:100%; }

  #page-analysis .ANALYSIS-PREVIEW:last-child { border-bottom:0; }

  /* headings */
  section h2 { font-family:'PT Sans','sans serif'; font-weight:bold; font-size:1.2em !important;  color:#1155cc;  }
  section h3 { margin-bottom:0.75rem; font-size:0.9em !important; }

/*******************************************************************************
  TABLE 
******************************************************************************/   
  table { width:100%; border:1px solid #ddd; border-right:0; font-size:0.85em; background-color:#fff; }                                  
  table th { font-weight:400; background-color:#000; color:#fff; padding:6px; border:1px solid #000; border-right:1px solid #ddd; text-align:left; }
  table tr th:last-child { border-right:1px solid #000; }
  table td { padding:8px; border-right:1px solid #ddd; }       
                          
  /* links */
  table td a { color:#1e88d2; }
  table td a:hover { text-decoration:underline; }   
  table th a { color:#fff !important; }

  /* odd/even rows */
  tr:nth-child(odd) { background-color:#f3f3f3; }
  tr:nth-child(even)  { background-color:#fff; }
  tr.odd { background-color:#f3f3f3; }
  tr.even { background-color:#fff; }
  
  #page-politicians table.MEMBERS .State { display:none; }
  
/*******************************************************************************
  MEMBERS
*******************************************************************************/  
  section.MEMBERS h2, section.MEMBERS h3 { display:none; }

  /* default */
  table.MEMBERS td.Division { width:300px; text-align:left; }
  
  table.MEMBERS .Photo { text-align:center; color:#000; display:none; }
  table.MEMBERS .Photo img { height:100px; max-width:none; }  
  table.MEMBERS th.Name { text-align:left; }
  table.MEMBERS .Name { min-width:200px; vertical-align:top; }
  table.MEMBERS .Name .role { display:none; margin-top:4px; }  
  table.MEMBERS td.Name a { display:block; font-size:1.1em; }
  table.MEMBERS .Representation { width:500px; }
  table.MEMBERS .Interests { width:90px; }
  table.MEMBERS .COL9 { width:110px; }

  table .Ministry, table .Party, table .Party, table .Chamber{ display:none; }
  table .Order { display:none; }

  /* active */
  section.ACTIVE table.MEMBERS .Photo { display:table-cell; }
  section.ACTIVE table.MEMBERS .Name a.name { display:none !important; } 
  section.ACTIVE table.MEMBERS .Name .role { display:block; } 
  section.ACTIVE table.MEMBERS .Representation { display:none; }

  /* party */
  table.MEMBERS td span.party { display:none !important; }
  section.SELECT-REPRESENTATION td span.party { display:block !important; }
  section.SELECT-CHAMBER td span.party { display:block !important; }

  /* sort arrows */
  th.SORT a { display:block; color:#fff; background-repeat:no-repeat; background-size:10px; background-position:center right; }
  th.SORT a { background-image:url(/images/arrows/sort-arrows-50.png); }
  th.SORT a:hover { color:#f1582c; background-image:url(/images/arrows/sort-arrows.png); }
  th.SORT-ASC a, th.SORT-ASC a:hover {  background-image:url(/images/arrows/sort-up.png); background-size:8px; }
  th.SORT-DESC a, th.SORT-DESC a:hover {  background-image:url(/images/arrows/caret-down.png); background-size:8px;  }  


  
  /* members interest */
  table.MEMBERS-INTERESTS { margin-bottom:20px; }
  table.MEMBERS-INTERESTS .Photo { width:110px; text-align:center; color:#000; }
  table.MEMBERS-INTERESTS .Photo img { height:100px; }  
  table.MEMBERS-INTERESTS .Name span.role { display:block; margin-top:4px; }  
  table.MEMBERS-INTERESTS .Name a { display:block; font-size:1.1em; }  

  /* count */
  td.Interests { text-align:center; width:100px; font-size:1.1em; }  
  td.Interests a:hover { text-decoration:underline; }

  
  div.fade-out { position:relative; }
  div.fade-out:after {
    content:"";
    height:50%;
    width:100%;
    position:absolute;
    bottom:0;
    left:0;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  }

/*******************************************************************************
  SEARCH REGISTER
******************************************************************************/  

  section table { max-width:100%; overflow-x:auto; }

  /* rep */  
  table td.Rep { width:180px; }
  table td.Person { width:150px !important; } 
  table td.Date { width:94px; text-align:center; }    
  /* table tr.NEW { color:#000; } */

  /* #page-politicians-member table td.Person{ text-indent:-9999px; } */
  /* #page-politicians-member table tr.ROW1 td.Person { text-indent:0; } */
  #page-politicians-member table .Rep { display:none; }
  #page-politicians-member span.ROWCOUNT { display:none; }

  /* ammendments */
  span.DEL-NOTE { display:block; color:#1155cc; padding-top:2px; margin-left:12px; text-indent:-11px; }
  span.AMEND-NOTE { display:block; color:#1155cc; padding-top:2px; margin-left:12px !important; text-indent:-11px; }


  /* trusts2 */
  div.trusts h2 { margin-bottom:0; }
  div.trusts h3 { display:block; }  
  div.trusts2 h2 { display:none; }

  /* interests */
  section.TRUSTS td.COL3 { width:250px; }
  section.TRUSTS td.COL4 { width:250px; }
  section.TRUSTS-2 td.COL3 { width:250px; }
  section.TRUSTS-2 td.COL4 { width:250px; }  
  section.REAL-ESTATE td.COL3 { width:400px; }
  section.DIRECTORSHIPS td.COL3 { width:400px; }
  section.PARTNERSHIPS td.COL3 { width:200px; }
  section.PARTNERSHIPS td.COL4 { width:200px; }  
  section.LIABILITIES td.COL3 { width:400px; }
  section.BONDS td.COL3 { width:400px; }
  section.SAVINGS td.COL3 { width:400px; }

  /* register */
  #page-register-preview section h2 { margin-bottom:0.25em; }
  #page-register-preview section h2 span.number { display:none; }
  #page-register-preview section h3 { display:none; }
  #page-register-preview section > table { display:none; }
  #page-register-preview h2 p.TITLE { display:none; } 

  #page-register-search section h2 { margin-bottom:0.25em; }
  #page-register-search section h2 span.number { display:none; }
  #page-register-search section h3 { display:none; }
  #page-register-search section > table { display:none; }
  #page-register-search h2 p.TITLE { display:none; } 

  #page-politicians-member h2 a.TOGGLE { display:none; }
  
/*******************************************************************************
  Search
******************************************************************************/  
  div.NEWS section.REAL-ESTATE .Person { display:none; }
  div.NEWS section.REAL-ESTATE .Rep { width:200px; }

  div.more-info { display:none; }
  a#more-info:hover { text-decoration:none !important; }
  
  a.arrow { padding-right:22px; background-size:14px; background-position:center right; background-repeat:no-repeat; }
  a.arrow-down { background-image:url(/images/icons/arrow-down.svg); }
  a.arrow-up { background-image:url(/images/icons/arrow-up.svg); }

  /* interest tabs */
  div.INTEREST-TABS .active { background-color:#fff; font-weight:bold;  }
  div.INTEREST-TABS a { border-bottom:1px solid #fff; }

  #page-politicians-member div.SUMMARY { display:none; }
  #page-politicians-member div.SUMMARY-ACTIVE { display:block !important; }

  #page-politicians-member div#summary-spouse-partner { display:none; }
  #page-politicians-member div#summary-dependent-children { display:none; }

  /* article */
  div.ARTICLE > center { display:flex; gap:1rem; }
  div.ARTICLE h2 { font-weight:bold; margin-bottom:0.5rem; }
  div.ARTICLE h3 { font-weight:bold; margin-bottom:0.5rem; }
  div.ARTICLE p { margin-bottom:0.5rem; }
  div.ARTICLE li { list-style:disc; margin-left:1.5rem; }
  div.ARTICLE a { color:#1155cc; }
  div.ARTICLE a:hover { text-decoration:underline; }  
  
  #page-consulting .container li { list-style:disc; margin-left:1.5rem; }

  #page-index .PANE-2 .PROFILE  { display:block !important; }
  #page-index .PANE-1 .PROFILE  { display:none !important; }
  #page-index .PROFILE h2 a span { display:none; }
  #page-index .profile-state { display:none; }
  
  div.PROFILE h2 a span { font-weight:normal !important; }
  
  p.problems a { color:#1447e6; }
  p.problems a:hover { text-decoration:underline; }

/*******************************************************************************
  MOBILE
*******************************************************************************/  
  
  @media screen and (max-width:768px) {
    .PANE-1 .ANALYSIS-PREVIEW:first-child div { display:block; }
    .PANE-1 .ANALYSIS-PREVIEW:first-child div h2 { margin-bottom:10px; }
    .PANE-1 .ANALYSIS-PREVIEW:first-child div a { line-height:1.25em; font-size:1.5em; }
    .PANE-1 .ANALYSIS-PREVIEW:first-child div img { width:100%; height:192px; }

    #page-index .PROFILE { margin-top:3px; }
    .PANE-2 .ANALYSIS-PREVIEW div h2 a { font-size:1em; line-height:1.25em; }

    #page-index .ANALYSIS-PREVIEW .ANALYSIS-CATEGORY { display:none !important; }
    #page-index .SUMMARY { display:none !important; }
    #page-index .PANE-1 .PROFILE  { display:block !important; }
    #page-index .PANE-2 .PROFILE  { display:none !important; }
    
  }

  @media screen and (min-width:768px) {
    .PANE-1 .ANALYSIS-PREVIEW:last-child { border-bottom:0; }
    .PANE-2 .ANALYSIS-PREVIEW:last-child { border-bottom:0; }
  }
/* Hide Pelcro floating dashboard button*/
#pelcro-app .plc-fixed.pelcro-open-dashboard-btn {
  display: none !important;
}
