body {
  /*margin: 0 5px 20px 5px;*/
  /*border-left: 10px solid #dbf5f3;
  border-right: 10px solid #dbf5f3;*/
  background-color: #ffffff;;
  /*margin-bottom: 20px;
  font-size: 13px;*/
  font-family: Ubuntu, sans-serif;
  color: #3C4448;
}

table#main_table {
  background-color: #ffffff;
}


table#main_table, div#top-section, footer#footer, div#sbsac-wrapper {
  max-width: 1600px;
}

footer#footer {
  /*max-width:1570px;*/
  width: 100%;
  margin-top: 3px;
}

div#sbsac-wrapper {
  /*display: inline-block;*/
  margin: -20px auto 20px auto;
}

div#sbsac-join-wrapper {
  /*display: inline-block;*/
  margin: 0px auto 0px auto;
}

#sbsac-header
{
  background-color: #23398B;
  max-width: 1600px;
  border-bottom: 5px solid #23398B;
}

#sbsac-header-container > div
{
  margin-top: 12px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 12px;
}

#sbsac-branding
{
  display: block;
  float: left;
  clear: both;
  height: 130px;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  position: relative;
  overflow-x: hidden;
  overflow-y: hidden;
  width: 100%;
}

#sbsac-header-container
{
  display: block;
  float: none;
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
}

#sbsac-header h1#sbsac-site-title
{
  font-size: 20px;
  font-weight: normal;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 12px;
  font-family: Ubuntu, sans-serif;
  color: #ffffff;
  line-height: 1.2;
  clear: both;
  font-weight: bold;
}

#sbsac-header h1#sbsac-site-title a
{
  color: #ffffff !important;
}

/*
 * ### Supress tabs and links in related records 
 */

#arden-logo img {
  max-height: 105px;
  display: inline-block;
}

td#dataface-sections-left-column {
  display: none;
}

div.record-view-wrapper td#dataface-sections-left-column {
  display: table-cell;
}

li#open_record_in_table {
  display: none;
}

div.role-admin li#open_record_in_table {
  display: block; 
}

div.subrecord-tabs > ul li {
  display: none;
}

div.subrecord-tabs > ul li:first-child {
  display: block;
}


/* ### End Supress tabs and links in related records */

div.view-tab-content.ui-tabs-panel {
  padding-left: 2.5em;
}

.ui-widget {
  font-family: Ubuntu, sans-serif;
  font-size: 13px;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { 
  font-weight: normal;
}

ul.ui-widget-header {
  background-color: #edf3fe;
  background-image: none;
  border-color: #adbbeb;
}

.ui-widget-content {
  background-color: #ffffff;
}

.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
  color: #555555;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
 border-color: #adbbeb;
}

.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
  color: #23398B;
}

.movable {
  border-color: #adbbeb;
}


#footer {
  background-color: #23398B;
  color: #ffffff;
  margin-bottom: 0px;
  padding: 15px;
}

#footer a {
  color: #ffffff;
  text-decoration: none;
}

#footer a:hover {
  text-decoration: underline;
}

.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
  clear: both
} 

#bsaclogo {
  display: block;
  height: 65px;
}

#site-copyright, #powered-by {
  font-style: italic;
  font-size: 9pt;
  font-family: Ubuntu, sans-serif;
}

#top-menu-bar {
 background-image: none;
 background-color: #ffffff;
 border-bottom: none;
 padding-bottom: 6px;
}

#table_selection_tabs > div > ul > li, #top-menu-bar > div > ul > li {
 margin-left: 0px;
 margin-right: 0px;
}

#table_selection_tabs li.selected a, #top-menu-bar ul li.selected a {
  border-top: none;
}

#table_selection_tabs > div > ul > li > a, #top-menu-bar > div > ul > li > a {
  border-bottom-width: 4px;
  border-bottom-style: solid;
  border-bottom-color: transparent;
  border-right-width: 1px;
  border-right-style: solid;
  border-right-color: #e1e1e1;
  padding-left: 12px;
  padding-right: 12px;
  margin-left: 0px;
  color: #3C4448;
  font-size: 14px;
  font-family: Ubuntu, sans-serif;
  font-weight: bold;
}

#table_selection_tabs > div#top-right-menu-bar > ul > li > a, #top-menu-bar > div#top-right-menu-bar > ul > li > a {
  border-left-width: 1px;
  border-left-style: solid;
  border-left-color: #e1e1e1;
  border-right: none;
}

#table_selection_tabs > div > ul > li.selected a, #top-menu-bar > div > ul > li.selected > a
{
  border-top-color: transparent;
  color: #E30613; 
}

#table_selection_tabs > div > ul > li:hover > a, #top-menu-bar > div > ul > li:hover > a
{
  background-color: #ffffff;
  border-bottom-color: #E30613;
}

div.mainArea {
  border-color: #23398B;
}

#table_quicklinks {
  margin-right: 0;
}

#table_quicklinks li a {
  color: #3C4448;
}

#table_quicklinks li.selected a {
  background-color: #23398B;
  color: #ffffff;
}

#table_quicklinks li:hover a{
  background-color: #E1E2E0;
  color: #3C4448;
}

a {
  color: #23398B;
}

a.xf-show-advanced-find {
  color: #23398B;
}

a:hover {
  color: #E30613;
}
/*
a[href^="mailto"] {
  background-image: url("/xataface/images/mail_icon.gif"); 
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 17px;
  min-height: 16px;
  display: block;
}
*/
a[href^="mailto:"]:before {
  content: "\1f4e7";
  margin-right: 0.3em;
}

a[href^="tel"]:link,
a[href^="tel"]:visited, 
a[href^="tel"]:hover,
.ui-widget-content .record-view-table a[href^="tel"]{
    color: #3C4448;
    cursor: default;
    text-decoration: none;
}

.xf-button-bar {
  background-color: #23398B;
}

input {
  line-height: normal;
}

h3.Dataface_collapsible_sidebar,
div.dataface-sections-main h3.Dataface_collapsible_sidebar, 
.dataface-sections-left h3.Dataface_collapsible_sidebar{
  background-color: #ebeefa !important;
}

.dataface-sections-top h3 {
  font-family: Ubuntu, sans-serif;
  color: #23398B;
  font-size: 24px;
  font-weight: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Ubuntu, sans-serif;
  font-weight: normal;
  color: #23398B;
}

#xf-logo {
  background-image: none;
}

.login-prompt-wrapper{
  background-color: #ffffff;
  border-color: #23398B;
}

.login-prompt-wrapper h1 {
  background-color:  #23398B;
}

.login-prompt-wrapper li a {
  font-size: 12pt; 
}

.login-prompt-wrapper ul {
    list-style-type: none;
    list-style-image: none;
}

#Login-Username label, #Login-Password label {
  color: #23398B;
}

#change-password-form {
  padding-left: 3em;
}

#change-password-form table {
  margin: 1.2em 0em;
}

#change-password-form th {
  font-weight: normal;
  text-align: right;
  font-size: 13px;
}

#change-password-form table tr {
  height: 36px;
}

.sbsac_resultlist_tip {
  font-size: 10pt;
  font-weight: bold;
  margin-left: -23px;
  padding-top: 14px;
}

.sbsac_resultlist_tip.normal{
  font-weight: normal; 
}

.sbsac-record-description {
  font-size: 12pt;
  font-family: Ubuntu, sans-serif;
  
}

fieldset legend {
  background-color: #E1E2E0;
  color: #23398B;
}

fieldset {
  background-color: #E1E2E0;
}

#ignore_blacklist_form_row {
  display: none;
}

.listing td, .stx table td {
  padding: 0.5em 1em 
}

.listing td input[type=checkbox]  {
  height: 1em;
}

.listing .even
{
  background-color: #f2f3f2;
}

.even.nonmember, .even.gcfees {
  background-color: #D6FFAD;
}

.odd.nonmember, .odd.gcfees {
  background-color: #EBFFD6;
}

.even.nonmember.hideme, .even.member.hideme, .even.qfsource{
  background-color: #FFFFC2;
}

.odd.nonmember.hideme, .odd.member.hideme, .odd.qfsource {
  background-color: #FFFFD4;
}

.ui-widget-content .record-view-table a {
  color: #23398B;
}

a.memberfilelink {
  background-image: url(fileicons/24px/_page.png);
  background-repeat: no-repeat;
  background-position: left top;
  padding-left: 26px;
  min-height: 26px;
  display: block;
}

a.memberfilelink.filetype-jpg,
a.memberfilelink.filetype-jpeg {
  background-image: url(fileicons/24px/jpg.png);
}

a.memberfilelink.filetype-pdf {
  background-image: url(fileicons/24px/pdf.png);
}

a.memberfilelink.filetype-png {
  background-image: url(fileicons/24px/png.png);
}

a.memberfilelink.filetype-gif {
  background-image: url(fileicons/24px/gif.png);
}

a.memberfilelink.filetype-zip {
  background-image: url(fileicons/24px/zip.png);
}

a.memberfilelink.filetype-txt {
  background-image: url(fileicons/24px/txt.png);
}

a.memberfilelink.filetype-doc {
  background-image: url(fileicons/24px/doc.png);
}

a.memberfilelink.filetype-docx {
  background-image: url(fileicons/24px/docx.png);
}

a.memberfilelink.filetype-xls {
  background-image: url(fileicons/24px/xls.png);
}

a.memberfilelink.filetype-xlsx {
  background-image: url(fileicons/24px/xlsx.png);
}

a.memberfilelink.filetype-odt {
  background-image: url(fileicons/24px/odt.png);
}

a.memberfilelink.filetype-ods {
  background-image: url(fileicons/24px/ods.png);
}

/* supress some stuff from the new mobile theme */
div.mobile.mobile-listing {
  display: none;
}

div.no-results-found {
  display:  none;
}


/* Mobile view stuff */

.left_column_mobile_move {
  float: left;
}

/*Large buttons which appear at the top on mobile*/
.left_column_mobile_move ul li a {
  /*font-weight: bolder;*/
  font-size: 1.2em;
  height: 1.8em;
  line-height: 1.2em;
  min-width: 100px;
  background-size: cover;
  border-style: solid;
  border-width: 0.015em;
  background-color: #ECecec;
  margin-left: 0px;
}

#xf-mobile-table-actions ul li a {
    display: block;
    color: #3C4448;
    border: 1px solid #ccc;
    text-decoration: none;
    text-align: center;
    background-image: url(images/button-bg.png);
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 5px 10px 5px 10px;
}

#xf-mobile-table-actions ul li {
    list-style-type: none;
    list-style-image: none;
    padding: 3px 0 3px 0;
}

#xf-mobile-table-actions ul li a img {
    display: none;
}

#bottom-menu-bar ul li ul li {
    float: none;
}

#bottom-menu-bar ul li {
    color: #23398B;
    margin-left: 3px;
    margin-right: 3px;
    padding: 0;
}

#gcdd-logo {
  max-width: 14em;
}

#gcdd-advice, #medicaldeclaration, #archive-advice {
  margin: 60px;
  max-width: 800px;
  font-size: 14px;
}

#gcdd-advice input:not([type="submit"]) {

    font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
    visibility: visible;
    border: 1px solid #8cacbb;
    color: Black;
    background-color: white;
    vertical-align: middle;
    font-size: 120%;
    height: 2.5em;

}

#gcdd-advice .bg-warning {
    font-weight: bold;
    padding: 30px;
    margin: 10px 0;
    border: 2px solid #ecd046;
    
}

a.gccdd-button:link, a.gccdd-button:visited,
button.gccdd-button:link, button.gccdd-button:visited, button.gccdd-button
{
  background-color: #23398B;
  color: white;
  padding: 14px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin-top: 16px;
}

a.gccdd-button:hover, a.gccdd-button:active {
  background-color: #E30613;
}

div.medicalstatus, span.medicalstatus {

}

div.medicalstatus.warn, span.medicalstatus.warn {
    color: #ff9900;
}

div.medicalstatus.good, span.medicalstatus.good {
    color: #009900
}

div.medicalstatus.bad, span.medicalstatus.bad {
    color: #b30000;
}

.form-check {
  position: relative;
  display: block;
  margin-bottom: 2.0rem;
}

.form-check-input {
    position: absolute;
    margin-top: .3rem;
    margin-left: -1.25rem;
}

.form-check-label {
    margin-bottom: 0;
    margin-left: 3.0rem;
}

#reset-password-submit-button {
    font-size: 18px;
    height: 34px;
}

.forgot-password-form-fields p {
    font-size: 16px;   
}

.forgot-password-form h1 {
    font-size: 24px;   
}

.password-reset-div p {
    font-size: 16px;    
}

table.listing td.resultListCell.resultListCell--MemberID.int {
    text-align: left;
}

/* tidy up printed output a bit */
@media print {
 .record-subtabs, 
 .resultlist-filters,
 .sbsac_resultlist_tip
 {
  display:none;
 }
 
 a[href]::after {
   content: "";
 }
}

@media (max-width: 698px){
  #top-section {
    display: block!important;
  }


  .listing.resultList > tbody > tr >  td.resultListCell--record_name,
  .listing.resultList > thead > tr > th[data-column="record_name"],
  .listing.relatedList > tbody > tr >  td.resultListCell--ContactName,
  .listing.relatedList > thead > tr >  th[data-column="ContactName"],
  .listing.relatedList > tbody > tr >  td.resultListCell--SkillName,
  .listing.relatedList > thead > tr >  th[data-column="SkillName"],
  .listing.relatedList > tbody > tr >  td.resultListCell--FileTitle,
  .listing.relatedList > thead > tr >  th[data-column="FileTitle"]
  {
    display: table-cell!important;
  }

  #bottom-section #sbsac-header,
  .resultlist-filters,
  .result-list-header,
  .xf-related-list-top,
  #top-section #control_panel,
  #bottom-section #top-left-menu-bar,
  #mobile-table-actions-returnall-link,
  #bottom-section #bottom-section-personal_menu {
      display: none!important;
  }
  
  #bsaclogo {
    margin: 0 auto 8px auto;
  }
  
  #footer3 {
    text-align: center;
  }

  tr.listing,
  table.record-view-table {
      font-size: 130%;
  }
  
  table.record-view-table td, 
  table.record-view-table th, 
  table.record-view-table td, 
  table.record-view-table th {
    padding: 5px 1em 5px 0;
  }
  
  .movable > div {
    padding: 0;
  }
  
  div.view-tab-content.ui-tabs-panel {
    padding-left: 0;
  }
  
  td#dataface-sections-main-column {
    padding-left: 0;
  }
  
  div.view-related-record-wrapper {
    margin-left: -20px;
    margin-right: -20px;
  }
  
  div.view-tab-content {
    margin-right: -30px;
  }
  
  #result_list, #relatedList {
    width: 100%;
  }
  a[href^="tel"]:link,
  a[href^="tel"]:visited, 
  a[href^="tel"]:hover,
  .ui-widget-content .record-view-table a[href^="tel"]{
      color: #23398B;
      cursor: pointer;
  }
  a[href^="tel"]:hover,
  .ui-widget-content .record-view-table a[href^="tel"]:hover{
    text-decoration: underline;
    color: #E30613;
  }
  a[href^="tel:"]:before {
    content: "\260e";
    margin-right: 0.3em;
  }
  
  #sbsac-header h1#sbsac-site-title {
    font-size: 14px;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-bottom: 0px;
  }
  
  #sbsac-branding,
  #sbsac-branding-clear {
    display: none;
  }
  
  #top-menu-bar ul li a {
    padding: 5px 3px 4px 5px;
  }
  
  #top-menu-bar > div > ul > li > a {
    font-size: 16px;
    font-weight: bold;
  }
  

}

/*Desktop view*/
@media (min-width: 699px){
  #bsaclogo {
    float: right;
  }
  
}

