/*--------------------------------------------------------------
Southbrook Accountants Ltd - https://demo.energizethemes.com/brisk/
--------------------------------------------------------------*/
:root {
  --Primary: #1F335C;
  --Secondary: #D6AA3F;
  --Tertiary: #333333;
  --Quaternary: #3b68b0;
}
#top {
    height: 110px;
}
#top-long h2 > strong {
  color: var(--Primary) !important;
}
.menu-nav ul li a, .selectric-items li, .orderlist a {
  color: var(--Primary) !important;
}
#st-navigation {
  padding-top: 30px !important;
}
body {
  color: var(--Tertiary) !important;
}
@media (min-width: 1200px) {
  #site-name-handler {
    width: 340px !important;
  }
}
@media (min-width: 1200px) {
  #st-navigation {
    width: 830px !important;
  }
}
.menu-nav > li > a {
  color: var(--Primary) !important;
}
.menu-nav > li.active > a, .menu-nav > li > a:hover, .menu-nav > li.sfHover > a, .menupanel ul.selectnav li a:hover, a.menupanel:hover, a.menupanel, .open-social-links:hover {
  color: var(--Primary) !important;
  z-index: 3 !important;
}
.menu-nav ul li > a:hover, .menu-nav ul li.sfHover > a, .selectric-items li:hover, .orderlist a:hover {
  background-color: var(--Primary) !important;
}
#top-handler {
  background-color: rgba(255, 255, 255, 1) !important;
}
#top-handler.tiny {
  background-color: rgba(255, 255, 255, 1) !important;
}
.menu-nav ul li a, .selectric-items li, .orderlist a {
  color: var(--Primary);
}
.page-header > h2 {
  color: var(--Secondary) !important;
  font-size: 40px !important;
  font-weight: bold !important;
}
.page-header > h1 {
  color: var(--Secondary) !important;
  font-size: 40px !important;
  font-weight: bold !important;
}
.tmp-content-area > h2 {
  color: var(--Secondary) !important;
  font-size: 40px !important;
  font-weight: bold !important;
}
#main-content-handler .row-fluid .span12 .tmp-content-area .span6 > h1 {
  font-size: 32px !important;
}
#sn-position .h1 {
  top: 10px !important;
}
.moduletable_banner .con_style1 {
  background-color: rgba(59, 104, 176, 0.8);
}
.moduletable_banner.white .con_style1 {
  background-color: rgba(214, 170, 63, 0.8);
}
.moduletable_banner a {
  color: #ffffff !important;
}
.moduletable_style2:hover {
  background-color: var(--Quaternary) !important;
}
#searchOpenButton {
  color: var(--Primary) !important;
}
.menu-nav li li a {
  font-size: 15px !important;
}
#breadcrumb-line a {
  color: #ffffff !important;
}
#main-content-handler .row-fluid .span10 p strong {
  color: var(--Primary) !important;
}
#foo-left-right a {
  color: var(--Primary) !important;
}
#footer {
  color: var(--Primary) !important;
  text-align: center !important;
}
.menu-nav ul li a .sf-sub-indicator {
  border-left-color: var(--Primary) !important;
}
#main-content-handler a, a:hover, .moduletable_menu ul.menu li ul li a:hover {
  color: var(--Primary) !important;
}
#main-content-handler a.btn {
  color: #ffffff !important;
}
.button, .btn, .cf-btn {
  color: #ffffff !important;
  background-color: var(--Primary) !important;
}
.button:hover, .btn:hover, .cf-btn:hover {
  color: #ffffff !important;
  background-color: var(--Secondary) !important;
}
.membership_logos {
  margin-bottom: 10px !important;
}
#searchOpenButton:hover, .log-panel li a:hover {
  color: var(--Secondary) !important;
}
#top-long-2 {
  background-color: var(--Primary) !important;
}
#bottom-bg {
  background: var(--Primary) !important;
  color: #ffffff !important;
}
/* GRID - Start */
#infoZoneComponent .span12 {
  margin-left: 0px !important;
}
#menuWrap .mod-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0px 20px;
  list-style: none;
  background-color: rgba(214, 73, 82, 0);
  padding: 10px 10px 0px 10px;
  margin-left: 0px;
}
#menuWrap .mod-list ul li {
  flex: 1 1 280px;
  margin: 10px 0;
  max-width: calc(100% - 0px);

}
#menuWrap .mod-list ul li {
  padding: 20px 10px;
  text-align: center;
  background-color: var(--Quaternary) !important;
}
#menuWrap .mod-list ul li:hover {
  background-color: var(--Primary) !important;
}
#menuWrap .mod-list li {
  text-align: center;
  background-color: #f7f7f7 !important;
  list-style: none;
  margin: 5px 0 5px 0;
  padding: 20px 10px;
}
#infoZoneComponent .item-page ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0px 20px;
  list-style: none;
  background-color: #ffffff !important;
  padding: 10px 0px !important;
  margin-left: 0px;
}
#infoZoneComponent .item-page ul li {
  flex: 1 1 280px;
  margin: 10px 0;
  max-width: calc(100% - 0px);
  box-sizing: border-box;
}
#infoZoneComponent .item-page li {
  list-style: none;
  background: #fafafa;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 10px 12px;
    border-radius: 0px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: transform .12s  ease, box-shadow .12s  ease, border-color .12s  ease;
    min-height: 48px;
  text-align: center !important;
}
#menuWrap .mod-list {
  margin-left: 0px !important;
}
#menuWrap .mod-list {
  font-weight: bold !important;
  text-transform: uppercase !important;
}
#menuWrap .mod-list a {
  color: var(--Primary) !important;
}
#menuWrap .mod-list a:hover {
  color: var(--Quaternary) !important;
  text-decoration: none !important;
}
#infoZoneComponent .item-page a:hover {
  color: var(--Quaternary) !important;
}
#infoZoneComponent .item-page a {
  color: var(--Primary) !important;
  text-decoration: none !important;
  font-weight: bold !important;
}
#menuWrap .mod-list .small li a {
  color: #ffffff !important;
  font-size: 16px !important;
  text-transform: capitalize !important;
}
#menuWrap .mod-list .small li a:hover {
  color: #f2f2f2 !important;
}
/* GRID - End */
.im_article_container {
  display: inline-block;
  /* max-width: 300px; */
  width: 31%;
  padding: 0 2% 0 0%;
  margin-bottom: 20px;
  vertical-align: top;
}
@media (max-width: 767px) {
  .im_article_container {
    width: 100%;
    padding: 0;
  }
  #top-handler {
    padding-bottom: 0px !important;
  }
  #megamenu-handler {
    padding: 0px;
    float: left;
  }
  #breadcrumb-line {
    padding: 6px 10px 10px 10px !important;
  }
  .social-icons {
    margin-bottom: 0px !important;
  }
}
@media (max-width: 979px) {
  #top-handler {
    background-color: rgba(255, 255, 255, 0.9);
  }
  #menu #nav, #mega-menu, #megamenu-handler > ul.menu-nav {
    background-color: #ffffff !important;
  }
  #menu .menu-nav ul li a, ul#mega-menu > li > a, #menu .menu-nav > li > a {
    color: var(--Primary) !important
  }
  #menu .menu-nav ul li a:hover, #menu .menu-nav ul li.sfHover > a, ul#mega-menu > li.active > a, ul#mega-menu > li > a:hover, ul#mega-menu > li.sfHover > a, #menu .menu-nav > li > a:hover {
    color: var(--Primary) !important;
  }
}
textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus {
  border-color: rgba(66, 50, 30, 0.8);
}
.im_title, .im_title_h {
  color: var(--Primary) !important;
  font-size: 21.12px !important;
    font-weight: 400 !important;
}
.newsarticle_title > strong {
  color: var(--Primary) !important;
  font-weight: 400 !important;
  font-size: 21.12px;
}
#bottom-content-modules .row-fluid .span12 .moduletable h3 .h-cl {
  color: var(--Primary) !important;
  font-size: 36px !important;
  text-transform: capitalize;
}
#top-modules .moduletable_style1 i.fa, #top-modules .moduletable_style2 i.fa {
  margin: 20px auto !important;
}
.item-page .page-header {
  margin-bottom: 10px !important;
}
.item-104 {
  display: none;
}
#searchpanel .btn {
  position: relative !important;
  top: -67px !important;
  width: auto !important;
  display: block !important;
  float: right !important;
  left: -6px !important;
  margin: 2px !important;
  padding: 10px 15px 10px 15px !important;
}
#searchpanel input[type="text"] {
  height: 30px !important;
  top: -27px !important;
  position: relative !important;
  left: 14px;
}
.ckr_member {
  margin-bottom: 6px !important;
}
#bottom-bg a:hover {
  color: #ffffff !important;
}
#top-long-2 .backstretch .moduletable_style1 a:hover, .moduletable_style2 a:hover {
  color: #ffffff !important;
  opacity: 1 !important;
}
#top-long-2 .moduletable_style1 a:hover {
  color: #ffffff !important;
  opacity: 1 !important;
}
#top-content-modules .row-fluid .span12 .moduletable h3 .h-cl {
  color: var(--Primary) !important;
}
#top-long-2 .container {
  padding: 90px 0px 90px 0px !important;
}
@media (max-width: 767px) {
  #site-name-handler {
    width: 100% !important;
  }
  .sl-disabled #top-handler {
    background: #ffffff !important;
  }
  #menu {
    width: 240px !important;
  }
  #sn-position {
    text-align: center !important;
  }
}
#top-handler p {
  margin-bottom: 0px !important;
}

.span4 .moduletable_banner .module-content .custom_banner .con_style1 p a span strong {
  color: #ffffff !important;
  font-size: 80% !important;
}
#c-bns button {
  color: #ffffff !important;
  background-color: var(--Secondary) !important;
}
.im_img_container img {
  height: 190px;
  width: 100% !important;
  object-fit: cover !important;
}
.im_title_h {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 8px !important;
  font-weight: 400 !important;
}
.moduletable > h3 {
  border-bottom: 0px solid #ffffff !important;
}
@media (min-width: 980px) and (max-width: 1199px) {
  .page-header > h1 {
    margin-top: 40px !important;
  }
  #top-handler {
    padding-bottom: 10px !important;
}
  .tmp-content-area > h2 {
    margin-top: 36px !important;
}
}
.social-icons {
  margin-bottom: 4px !important;
}
#testimonials {
  background-color: var(--Primary) !important;
}
.owl-theme .owl-controls .owl-page.active span, .owl-theme .owl-controls.clickable .owl-page:hover span {
  background-color: #bf778a !important;
}
#bottom-bg h3 {
  color: var(--Secondary) !important;
}
#bottom-bg a {
  color: #ffffff !important;
}
#bottom-bg a:hover {
  color: var(--Secondary) !important;
}
.moduletable_style1
{
  background-color: var(--Secondary) !important;
}
.moduletable_style2 .fa-bar-chart, .moduletable_style2 .fa-phone, .moduletable_style2 .fa-book
{
  color: var(--Primary) !important;
}
.moduletable_style2 h3, .moduletable_style2 h3 a
{
  color: var(--Primary) !important;
}
.moduletable_style2 p
{
  color: var(--Secondary) !important;
}
.featured-title:after, .testi-title:after
{
  display: none !important;
}
#bottom-bg h3 {
    padding-bottom: 10px !important;
}
.moduletable_style2 * {
    color: var(--Primary) !important;
}
#main-content-handler .accordion {
    color: var(--Primary) !important;
    background-color: #f7f7f7 !important;
    width: 100% !important;
    text-align: left !important;
    line-height: 30px !important;
  font-weight: bold !important;
  font-size: 16px !important;
}
.panel {
    padding: 0 18px;
    display: none;
    background-color: white;
    overflow: hidden;
}
.accordion {
    margin-bottom: 10px !important;
}
#story-content li {
    line-height: 26px !important;
}
#slideshow-handler-bg {
    padding-top: 110px !important;
}
@media (max-width: 480px) {
    #slideshow-handler-bg {
        padding: 0px !important;
    }
}
.apm_member
{
  margin-bottom: 6px !important;
}
.cstm-boxes
{
  background: #f7f7f7 !important;
}
.cstm-boxes h3
{
  color: var(--Primary) !important;
  font-weight: 500 !important;
  margin-bottom: 10px !important;
  margin-top: 20px !important;
}
.cstm-boxes p
{
  padding: 10px !important;
  color: var(--Primary) !important;
}
.cstm-boxes img
{
    height: 170px;
    width: 100% !important;
    object-fit: cover !important;
}
#top-long ul li
{
  line-height: 26px !important;
}
.cstm-box
{
  background: #e9ebef;
  padding: 20px 20px 10px 20px;
  text-align: center;
}
.cstm-box p
{
margin-bottom: 0px !important;
}
.cstm-box h3
{
font-weight: 600 !important;
  margin-bottom: 10px !important;
  color: var(--Primary) !important;
}
.cstm-box .fa-thumbs-up, .cstm-box .fa-heart, .cstm-box .fa-folder-open
{
  color: var(--Primary) !important;
}
@media (max-width: 767px) {
.cstm-box
{
  margin-bottom: 20px !important;
}}
.service-box
{
  background: #e9ebef;
  padding: 20px 20px 10px 20px;
  text-align: center;
}
.service-box h3
{
  font-weight: 600 !important;
}



/* Improved responsive grid for the existing HTML — no HTML changes required */

/* Container grid */
#calculators {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 14px;            /* row-gap column-gap */
  padding: 0;
  margin: 0;
  list-style: none;
  align-items: stretch;
  max-width: 100%;
  box-sizing: border-box;
}

/* Individual items */
#calculators li {
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 10px 12px;
  border-radius: 0px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  display: flex;             /* make inner content stretch vertically */
  align-items: center;
  min-height: 48px;
}

/* Hover / focus affordance */
#calculators li:hover,
#calculators li:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  border-color: rgba(26,115,232,0.12);
}

/* Make the anchor fill the item and be keyboard accessible */
#calculators li a {
  display: inline-block;
  width: 100%;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.25;
  color: #0b5ed7;
  word-break: break-word;
  outline: none;
}

/* Underline on hover/focus for clarity */
#calculators li a:hover,
#calculators li a:focus {
  text-decoration: underline;
}

/* Add a small chevron to the left of each link for visual guidance */
#calculators li a::before {
  content: "›";
  display: inline-block;
  margin-right: 10px;
  font-weight: 700;
  vertical-align: text-top;
  transform: translateY(-1px);
  opacity: .85;
}

/* Smaller screens: more compact layout */
@media (max-width: 520px) {
  #calculators {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
  }

  #calculators li {
    padding: 9px 10px;
    border-radius: 0px;
    min-height: 44px;
  }

  #calculators li a {
    font-size: 14px;
  }

  #calculators li a::before {
    margin-right: 8px;
  }
}

/* Very small screens: single column */
@media (max-width: 360px) {
  #calculators {
    grid-template-columns: 1fr;
  }
}









/* Main UL reset + layout */
#menuWrap .mod-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

/* Each menu item box */
#menuWrap .mod-list > li {
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.07);
  padding: 20px 10px !important
  border-radius: 0px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: all .15s ease;
  position: relative;
}

/* Hover effect */
#menuWrap .mod-list > li:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  border-color: rgba(26,115,232,0.14);
}

/* Menu links */
#menuWrap .mod-list a {
  text-decoration: none;
  font-size: 15px;
  color: #0b5ed7;
  display: block;
  line-height: 1.35;
  word-break: break-word;
}

/* Add chevron */
#menuWrap .mod-list > li > a::before {
  content: "›";
  margin-right: 8px;
  font-weight: bold;
  opacity: 0.9;
}

/* ---------- CHILD MENU (Dropdown style) ---------- */

/* Child menu container */
#menuWrap .nav-child {
  list-style: none;
  margin: 12px 0 0;
  padding-left: 12px;
  display: grid;
  gap: 8px;
}

/* Child items */
#menuWrap .nav-child li {
  background: #fff;
  padding: 8px 10px;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 0px;
  transition: all .15s ease;
}

/* Hover effect for child links */
#menuWrap .nav-child li:hover {
  transform: translateX(3px);
  border-color: rgba(26,115,232,0.18);
}

/* Child links */
#menuWrap .nav-child li a {
  font-size: 14px;
  color: #0d6efd;
}

/* Child chevron */
#menuWrap .nav-child li a::before {
  content: "›";
  margin-right: 8px;
  font-weight: bold;
  opacity: 0.7;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 600px) {
  #menuWrap {
    max-width: 100%;
  }

  #menuWrap .mod-list {
    gap: 10px;
  }

  #menuWrap .mod-list > li {
    padding: 10px 12px;
  }

  #menuWrap .nav-child li {
    padding: 7px 9px;
  }
}
