h1 {
 font-family: 'Cabin', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 48px;
  color: #00303F;
  margin: 0 0 16px 0;
}

h2 {
  font-family: 'Cabin', sans-serif;
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
  color: #E3BE40;
    margin: 12px 0;
}

h3 {
 font-family: 'Cabin Condensed';
  font-size: 24px;
  line-height: 34px;
  font-weight: 500;
  color: #7a9d96;
  margin: 10px 0;
}

h4 {
font-family: 'Cabin Condensed', sans-serif;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  color: #f7882f;
  margin: 8px 0;
}


h5 {
font-family: 'Cabin Condensed', sans-serif;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  color: #00303f;
  margin: 6px 0;
}

.h7 {
    font-family: Trebuchet MS;
}

.h8 {
    font-family: Trebuchet MS;
}

p {
  font-family: 'Cabin', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #335965;
  margin: 0 0 7px 0;
}

blockquote {
  font-family: 'Cabin', sans-serif;
  //text-transform: uppercase;
  font-size: 18 px;
  font-weight: 500;
  color: #54595c;
  margin: 9px 0;
}

a {
  color: #f7882f;
}

a:hover {
  color: #C9E3DB;
  text-decoration: none;
}

.faq-detail li {
    color: #335965 !important; 
    font-size: 18px !important;
}

/* This controls the width of the text overlay on the Accent 1 & 2 images on the homepage */
#D1630188 h1, #E1630189 h1 {width: 55% !important;} 

/*This controls the link colors in the faq-list area of the homepage */
.faq-list a {color: #00303F; font-weight: lighter;}
.faq-list a:hover {color: #7A9D96;}

#clientFormStyle h4 {  font-family: 'Cabin', sans-serif;
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
  color: #E3BE40;
    margin: 12px 0;}

/* This hides legal aid and the lawyer's fund from the donation form dropdown */
/* #fund_type > option:nth-child(2), #fund_type > option:nth-child(3){display: none;} */

/*This formats the sponsor logo area at the bottom of the homepage */
#spcontainer {
  text-align: center;
  line-height: 0;
min-height: 110px;
}

#spcontainer img {
  display: inline-block;
  vertical-align:middle;
  margin: 10px 25px 10px 25px;
}

#spcontainer:after {
  content: "";
  width: 100%;
  display: inline-block;
  vertical-align: bottom;
}


/* This hides rates on the join form add-ons */
#sub10226_addonID1652 .selectedRate, #sub10226_addonID1651 .selectedRate {display: none;}

/* The code below is for the two-column email blast table class "twocolumn" */
.twocolumn { width: 800px !important; border-spacing: 0.5rem; } 
.twoolumn td { display:block !important; width: 100% !important; padding: 0.5rem; } 
.twocolumn img { height:auto !important; max-width: 100px !important; width:100% !important; display: block;} 
.twocolumn td:nth-child(1) {background: #faf4d3; max-width: 350px; vertical-align: top;} 
.twocolumn td:nth-child(2) {background: #b6cad1; max-width: 400px; vertical-align: top;}
.twocolumn hr  {border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));}

/* This makes an anchor tag with this class on it, link to a spot above the actual anchor so it doesn't get hidden under the sticky header */

.belowHeader:before {
  content:"";
  display:block;
  width: 0;
  height:140px; /* fixed header height*/
  margin:-140px 0 0; /* negative fixed header height */
}


/* The code below makes the background images in the homepage header and footer not blurry */

@media only screen and (max-width: 767px) {
  #footer, #Banner {
    background-position: center center !important;
    background-attachment: scroll !important;
  }
}

/* deletes the vertical divider line that appears in detail view of member directory */
div.memDetailContainer {
  background-image: none !important;
}

/*These keep the paragraph text under the homepage icons from being to wide */ 
@media (max-width: 767px) {
#zoneF .event-inner { padding: 0 170px;}}

@media (max-width: 650px) {
#zoneF .event-inner { padding: 0 150px;}}

@media (max-width: 550px) {
#zoneF .event-inner { padding: 0 100px;}}

@media (max-width: 500px) {
#zoneF .event-inner { padding: 0 75px;}}

@media (max-width: 450px) {
#zoneF .event-inner { padding: 0 50px;}}

@media (max-width: 350px) {
#zoneF .event-inner { padding: 0 25px;}}

@media (max-width: 300px) {
#zoneF .event-inner { padding: 0;}}


/* borders on board directory images and staff images */
#Main1632700 .tsAppDirPhoto,  #Main1642000 .tsAppDirPhoto, #Main1617704  img {
    border: 3px solid #00303F; border-bottom-style: ridge; margin-bottom: 15px;}
#Main1632700 .tsAppDirPhoto,  #Main1642000 .tsAppDirPhoto {
    max-width: 120px; }

/* Correct issue with visited links appearing white */

a:vistited { color: #f7882f !important;}

/* Decrease vertical padding on homepage icon area */
@media (min-width: 996px) {.event-section {
    padding: 45px 0px 15px 0px;
}}
.banner { padding: 40px 0;}

.homepageWarningPopupBgColor {background-color: #FFFFFF; }
.homepageWarningOverlayColor {background-color: #808080; }
.homepageWarningOverlayOpacity {opacity: 0.5; }

/* Change Top Banner Color for MemberCentral Standard Template v1 */
.top-nav {
    background: #00303F;
}

}

/* Increase Website Settings Pop-up Size */
#homepageWarningBlock.modal {
    width: 640px;
}
