html {
    font-size: 16px;  
}
body {
  font-family: 'Habibi', serif;

  overflow-x: hidden !important;
}
.card-title {
    font-size: 1.3rem;
}
h4{
 font-size: 1.2rem;   
}
.card-text,.media,.card-body,h5 {
    font-size: 1rem;
} 

a {
  text-decoration: none;
  color: #929c00;
}
/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100; 
  padding: 0 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
/*  overflow-y:auto*/
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

/* Separators */

.sidebar-separator-title {
  background-color: #333;
  height: 35px;
}

.sidebar-separator {
  background-color: #333;
  height: 25px;
}

.logo-separator {
  background-color: #333;
  height: 60px;
}

#menua.navbar-nav,
#menub.navbar-nav {
  flex-direction: row;
}

#menu1,
ul#tips li.list-group-item {
  background-color: #D4AF37!important;
}

#menu2 {
  margin-top: 0px;
  background-color:#d9b749!important /*#d4af37c7*/;
}

.logo-wrapper {
  border-bottom: 1px solid rgba(153, 153, 153, .3);
  /*    height: 3rem;*/
  background-color: #D4AF37;
}

.logo-wrapper a {
  border: none;
}

.social {
  border-bottom: 1px solid rgba(255, 255, 255, .65)
}

.social li {
  display: inline-block
}

.social li {
  padding-top: .7rem;
  padding-bottom: .7rem;
  margin: 0
}

.social a {
  margin: 0;
  padding: 0
}

.social .fa {
  font-size: 1rem;
  padding-right: 1.6rem;
  padding-left: 1.6rem;
  color: #dbe4e7;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
  height: 2.7rem;
}

.social .fa:hover {
  color: #AFC4CB;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s
}

li.nav-item.pe-3 a:hover {
  transition: .5s;
  /* this is grow duration */
  transform: scale(1.3);
  /* this is grow amount */
  color: black;
}

.logo-wrapper a {
  height: 5.1rem;
  width: 100%;
  padding: 0
}

.logo-wrapper img {
  height: auto;
  /*    padding: 2%;*/
  background-color: #D4AF37;
}
.sn-img {
  background-image: url(../images/sidebar_bg.jpg);
}
.sn-img1 {
  background-image: url(../images/sidebar_bg_Ipswich.jpg);
}
.sn-img,.sn-img1 {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.footer {
  position: fixed;
  bottom: 0
}

.footer p {
  color: white/*rgba(255, 255, 255, 0.5)*/;
  font-size: small;
  text-shadow: 4px -4px 4px rgba(0, 0, 0, 0.8);
}

#sidebarMenu ul.components {
  padding: 0;
}

.mb-5,
.my-5 {
  margin-bottom: 3rem !important;
}

#sidebarMenu .h6 {
  color: #fff;
}

#sidebarMenu.active {
  margin-left: -270px;
}

#sidebarMenu h1 {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 2rem;
}

#sidebarMenu h1 .logo {
  color: #fff;
}

#sidebarMenu h1 .logo span {
  font-size: 0.8rem;
  color: #fff;
  display: block;
}

#sidebarMenu ul li,
#sidebarMenu .nav-link {
  text-shadow: 6px -6px 6px rgba(0, 0, 0, 0.8);
  font-size: 1.5rem;
  font-weight: bold;
}

#sidebarMenu ul li>ul {
  margin-left: 10px;
}


/*         #sidebarMenu ul li > ul li {
         font-size: 0.8rem; }*/
    #sidebarMenu ul.about-us-area {
        overflow-y: auto;
    }
#sidebarMenu ul.about-us-area li a {
  padding: 5px 5px;
  display: block;
  color: rgba(255, 255, 255, 0.8);
}

#sidebarMenu ul.about-us-area li {
  padding-top: .7rem;
  padding-bottom: .5rem;
}


/*         #sidebarMenu .social ul li a {
            padding: 0px 0px;
        }*/

#sidebarMenu ul li a span {
  color: #fff;
}

#sidebarMenu ul li a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
#branchAccordian a {
    border-bottom: none !important;
}
#sidebarMenu ul li a:hover {
  color: #fff;
}

#sidebarMenu ul li.active>a {
  background: transparent;
  color: #fff;
}

#sidebarMenu a {
  text-decoration: none;
  background-color: transparent;
}

#sidebarMenu a.mx-3:hover {
  transition: .5s;
  /* this is grow duration */
  transform: scale(0.9);
  translateX(20)/* this is grow amount */
  transform: scale(20) skew(-20deg);
}
    
.mr-3,
.mx-3 {
  margin-right: 1rem !important;
}

.readmore_area a {
  color: #fff;
  display: inline-block;
  /*  font-size: 0.5rem;*/
  font-weight: 400;
  letter-spacing: 1px;
  margin: 15px 25px;
  outline: medium none;
  position: relative;
  text-decoration: none;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
}

.readmore_area {
  float: left;
  margin-top: 5px;
  position: relative;
  z-index: 1;
}

.readmore_area a {
  overflow: hidden;
  margin: 0 15px;
}

.readmore_area a span {
  display: block;
  padding: 10px 20px;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}

.readmore_area a::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  padding: 10px 20px;
  width: 100%;
  height: 100%;
  background: #fff;
  content: attr(data-hover);
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
  -webkit-transform: translateX(-25%);
}

.readmore_area a span {
  background-color: #929c00;
}

.readmore_area a:hover span,
.readmore_area a:focus span {
  -webkit-transform: translateX(100%);
  -moz-transform: translateX(100%);
  transform: translateX(100%);
}

.readmore_area a:hover::before,
.readmore_area a:focus::before {
  -webkit-transform: translateX(0%);
  -moz-transform: translateX(0%);
  transform: translateX(0%);
  color: #929c00;
}

.card-footer {
  background-color: transparent;
  font-size: 1rem;
}

.img-fluid {
  max-width: 100%;
  height: auto
}

.flex-center {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%
}

.py-3 {
  padding-top: 1.75rem!important;
  padding-bottom: 1.75rem!important;
}

.logo-wrapper a {
  border: none;
}

#hotTips {
  font-size: 1rem;
}
.accordion-body {
 padding: 0.25rem 0.25rem;
}
.accordion-button,
.accordion-button:not(.collapsed) {
  color: rgb(146, 156, 0);
}

.accordion-button {
  font-size: inherit;
}

.accordion-button:focus {
  border-color: rgb(146, 156, 0);
  box-shadow: 0 0 0 0.25rem rgba(146, 156, 0, 0.25);
}

.accordion-button:not(.collapsed)::after {
  /* changes up arrow ro grey color*/
  /* background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23YOUR_HEX_CODE'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");*/
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

 :target::before {
  /* allow for fixed header when moving to target locationss on page */
  content: "";
  display: block;
  height: 5rem;
  /* fixed header height*/
  margin-top: -5rem;
  /* negative fixed header height */
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .dropdown-menu {
    position: absolute;
  }
  .py-lg-3 {
    font-size: 1.2rem !important;
  }
    #menua,
    #menub {
        font-size: 1.5rem;
    } 
       
}

.navbar .dropdown-menu {
  position: absolute!important;
  margin-top: 0
}

.navbar .dropdown-menu a {
  padding: 10px;
  font-size: .9375rem;
  font-weight: 300;
  color: #000;
  border: none;
}
@media (min-width: 576px){
    #menua,
    #menub {
        font-size: 1rem;
    }
}
@media (max-width: 600px) {
  .navbar .dropdown-menu form {
    width: 17rem;
  }
    .sidebar {
    top: 3rem;
  }
    #menua,
    #menub {
        font-size: 1rem;
    }  
  #sidebarMenu ul li,
  #sidebarMenu li.dropdown {
    font-size: 1rem;
  }
  .social {
    padding: 5px;
  }
  .popover {
        max-width: 10em !important;
}
  #branchMap.row {
    padding-right: 8%;
    /*adjust the branch dots on smallest screen   */
  }
 :target::before {
  /* allow for fized header when moving to target locations on page */
  content: "";
  display: block;
  height: 15rem;
  /* fixed header height*/
  margin-top: -15rem;
  /* negative fixed header height */
} 

}

@media (min-width: 600px) {
  .navbar .dropdown-menu form {
    width: 22rem
  }
  font-size: 1rem;

 :target::before {
  /* allow for fized header when moving to target locations on page */
  content: "";
  display: block;
  height: 15rem;
  /* fixed header height*/
  margin-top: -15rem;
  /* negative fixed header height */
}          
}

.navbar .dropdown-menu {
  position: absolute!important;
  margin-top: 0;
}



.list-group-item a {
  color: #929c00;
  text-decoration: none;
}


/*         #links .list-group-item{
          color: #929c00;  
         }*/

#special a:hover,
#news a:hover,
#join a:hover
/*,#links .list-group-item:hover,#links .list-group-item a:hover*/

{
  color: white;
  background-color: #929c00;
}

#officers a:hover,
#documents a:hover,
#minutes a:hover {
  color: white;
  background-color: #929c00;
}

.morepost {
  border-bottom: 3px solid #b99827;
  display: inline-block;
  color: black;
  font-style: italic;
}

.morepost:hover,
.morepost:focus {
  border-bottom: 1px solid #929c00;
  color: #929c00;
  text-decoration: none;
}

.section-header {
  position: relative;
  padding: none;
  font-weight: 800;
  font-size: 1.75rem;
  color: rgb(146, 156, 0);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.8);
  /*z-index: 100;*/
}

#officers ul {
  list-style: none;
}
.navbar .navbar-toggler {
  top: 0.75rem;
  right: 1rem;
}
.custom-toggler .navbar-toggler-icon {
  background-image: none;
  width: 1em;
  /* background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(218,165,32, 0.4)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
*/
}

li.nav-item.pe-3.active a {
  border-bottom: solid;
}
.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}
a.navbar-brand {
  position: relative;
  z-index: 1;
}

.hidden {
  display: none!important;
  visibility: hidden!important;
}


/* fix for IE when margin-left:auto and offset-2 does not work (https://medium.com/codeart-mk/internet-explorer-hacks-796200e5741c)) */


/*.row {
    -webkit-box-flex: 1;         
            -ms-flex: 1 0 100%;        
                flex: 1 0 100%;
}*/
@media (max-width: 767.98px) {
  .sidebar {
/*    top: 3rem;*/
  }
    .py-lg-3 {
    font-size: 1rem !important;
  }
  .section-header {
  font-size: 1.25rem;
  }
#sidebarMenu ul.about-us-area li {
  padding-top: 0;
  padding-bottom: 0;
  
}  
}
@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
  .row {
    padding-right: 6%;
    /*adjust the branch dots on smallest screen   */
  }
  
  #sidebarMenu ul.about-us-area li,
  #menu1,
  #menu2,
  #sidebarMenu .nav-link {
    font-size: 0.8rem;
  }

  .social .fa {
    font-size: 1.5rem;
    padding-right: 1.2rem;
    padding-left: 1.2rem;
  }
  #menu1,
  #menu2 {
    /*height: 4rem; */
    /*            z-index: 100;*/
  }
  .logo-wrapper {
    /*                z-index: 50;*/
  }
  .logo-wrapper a {
    height: 9rem;
    padding-top: 2.75rem!important
  }
}