/*
Theme Name: Managed Business Solutions
Author: Atanas
Description: Managed Business Solutions Theme
Version: 1.0
*/
       

/* Only on page ID 1577
.page-id-1577 header.fso-header .navbar-brand img.fso-logo-img{
  content: url("https://greaternewark.org/wp-content/uploads/2026/01/image.png");
  max-width: 200px !important;
}
*/

/* Only on page 1577 */
.page-id-1577 header.fso-header .navbar-brand{
  display: flex;
  align-items: center;
  gap: 16px;
}


.black-text {
	color: #000000 !important;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}


.main-section .row {
  margin-right: 0px !important;
  margin-left: 0px !important;
}

.main-section .col-md-12 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.collapse .fso-navbar .dropdown {
	z-index: 100000;
}

.z-index-changing {
	z-index: 10 !important;
}

body {
  margin: 0;
  font-family: 'Albert Sans', sans-serif !important;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.5;
  color: #333;
  background-color: #F6F6F6 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  font-family: 'Poltawski Nowy', sans-serif !important;
}

a {
  font-family: 'Albert Sans', sans-serif !important;
}

div {
  font-family: 'Poltawski Nowy', sans-serif !important;
}

h1, h2,h6 {
  font-family: 'Albert Sans', sans-serif !important;
  font-style: normal;
}

h3, h4, h5 {
  font-family: 'Poltawski Nowy', sans-serif !important;
  font-style: normal;
}

.btn, button {
  font-family: 'Poltawski Nowy', sans-serif !important;
  font-weight: 400;
  font-style: normal;
  text-decoration: none; 
}

.z-index-m1 {
  z-index: -1 !important;
}

.z-index-1 {
  z-index: 1 !important;
}

.z-index-10 {
  z-index: 10 !important;
}

.z-index-100 {
  z-index: 100 !important;
}

.wppb-builder-container .wppb-column-parent-view {
  padding-left: 25px !important;
  padding-right: 25px !important;
}

/*
 .wppb-builder-container#wppb-builder-container .wppb-row-parent > .wppb-container, .wppb-carousel-content-wrap .wppb-container {
    max-width: 1250px !important;
}
*/

.fix-negative-margin .wppb-container .wppb-row {
	margin-right: 0px !important;
	margin-left: 0px !important;
}

.carousel-left .wppb-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Force full width behavior on screens below 1400px */
@media (min-width: 1920px) {
  .wppb-builder-container#wppb-builder-container .full-width-div.wppb-row-parent > .wppb-container,
  .wppb-carousel-content-wrap .full-width-div .wppb-container {
	max-width: 1920px !important;
  }
}

/* Force full width behavior on screens below 1400px */
@media (max-width: 1920px) {
  .wppb-builder-container#wppb-builder-container .full-width-div.wppb-row-parent > .wppb-container,
  .wppb-carousel-content-wrap .full-width-div .wppb-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


/* ------------------------------------------------------------------------------------------------------------------- */

.fso-header {
    background-color: #ffffff;
	position: relative;
	z-index: 9;

}

.navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
	z-index: 99999;
}

.fso-navbar .dropdown-menu {
    position: absolute;      
    top: 120px;           
    left: 0;
    width: 100%;
    background: #fff;
	border-radius: 0px !important;
}

.dropdown-menu li {
	text-align: center !important;
}

.dropdown-menu li .dropdown-item {
	font-weight: 800;
    font-size: 20px;
}

.dropdown-item:active {
	background-color: #0d6efd00 !important;
	color: #212529 !important;
}


.fso-logo-container {
    background: #E1E1E1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.fso-logo-img {
    max-width: 150px;
    height: auto;
}

.fso-menu-container {
    display: flex;
    align-items: stretch;
    min-height: 120px;
}

.fso-navbar {
    display: flex;
    width: 100%;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    height: 100%;
}

.fso-navbar > li {
    flex: 1 1 0;

    min-height: 120px;
}

.fso-navbar > li:nth-child(1) {
    background-color: #D4D4D4; 
}

.fso-navbar > li:nth-child(2) {
    background-color: #CFD7C6; 
}

.fso-navbar > li:nth-child(3) {
    background-color: #CBDAB9; 
}

.fso-navbar > li:nth-child(4) {
    background-color: #C6DCAB; 
}

.fso-navbar > li:nth-child(5) {
    background-color: #C1DF9D; 
}

.fso-navbar > li > a:hover {
	text-decoration: underline;
}

.dropdown-menu .menu-item .dropdown-item:hover{
	text-decoration: underline;
}

.ham-bg {
	background-color: #E1E1E1;
}

.fso-navbar > li > a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 1rem 1rem;
    font-weight: 800;
	font-size: 20px;
    color: #000;
    text-decoration: none;
    text-align: center;
    line-height: normal;
}

.fso-navbar > li:hover {
    filter: brightness(95%);
}

.nav-link{
	display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}


/* Responsive adjustment for logo */
@media (max-width: 991.98px) {
    .fso-logo-container {
        justify-content: flex-start;
        padding-left: 1rem;
    }
	
}

/* Mobile (collapsed navbar) */
@media (max-width: 991.98px) {
  .fso-navbar { display: block; }
  .fso-navbar > li { 
    flex: none;             /* stop stretching */
    min-height: auto;       /* <-- critical: no tall blocks */
  }
  .fso-navbar .dropdown-menu {
    position: static;       /* let it flow under the toggle */
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
  .navbar-nav .dropdown-menu.show { display: block; }
}

/* --- MOBILE ONLY FIX (no JS needed) --- */
@media (max-width: 991.98px) {
  /* Let submenus live in normal flow so they aren't clipped */
  .fso-navbar .dropdown-menu {
    position: static;
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    z-index: 1000;
  }

  /* Remove the tall blocks that were covering the submenu */
  .fso-navbar > li {
    flex: none;
    min-height: auto;
  }

  /* First tap opens (focus), second tap navigates */
  .menu-item-has-children:focus-within > .dropdown-menu,
  .dropdown:focus-within > .dropdown-menu {
    display: block;
  }

  /* If you also have a hover rule, disable it on touch to avoid flicker */
  .navbar-nav li:hover > .dropdown-menu {
    /* no effect on mobile, but in case hover is emulated */
  }
}


/* ------------------------------------------------------------------------------------------------------------------- */

/* Footer */
.footer-bg {
	/* 
  background-color: #E3655B;
  padding: 30px 0;
	*/
}

footer .row {
  align-items: center;
  padding: 15px;
}

.footer-logo {
  max-width: 220px;
}

.quick-links-menu,
.contact-list {
  list-style-type: none;
}

.quick-links-menu {
  display: flex;
  flex-wrap: wrap;
}

.contact-list {
  display: flex;
	flex-wrap: wrap;
	padding-left: 0px !important;
	justify-content: center;
	padding-top: 15px;
	margin-bottom: 0px;
}

.contact-list li {
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 10px;
}

.social-icons-custom {
  color: #e3655b;
  background-color: white;
  font-size: 20px;
  padding: 5px;
  border-radius: 20px;
}

footer li .fas {
  color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
  padding-right: 10px;
  padding-bottom: 10px;
}

/* Target all social media icons in the footer */
.footer-bg .social-icons-custom i,
.footer-bg .fab {
    font-size: 2em;
    color: #000000;
	padding-right: 0px;
}

.footer-bg .social-icons-custom i:hover,
.footer-bg .fab:hover {
    color: #000000;
}

.footer-bg .social-icons-custom i,
.footer-bg .fa-brands {
    font-size: 3em;
    color: #000000;
}

.footer-bg .social-icons-custom i:hover,
.footer-bg .fa-brands:hover {
    color: #000000;
}

.list-inline-item:not(:last-child) {
    margin-right: 1rem !important;
}

/* ------------------------------------------------------------------------------------------------------------------- */
