/*
Theme Name: bscanada-sonitekconsulting-com child
Theme URI: https://underscores.me/
Author: Your Name
Author URI: https://yourwebsite.com
Description: bscanada-sonitekconsulting-com child 
Template: bscanada-sonitekconsulting-com
Version: 1.0.0
Text Domain: bscanada-sonitekconsulting-com child 
*/


/* old css 25-04-2026 */
.navigation .navbar ul li{
	margin:0px 13px!important
/* 	    margin: 0px 0px 0px 38px; */
/* 		padding: 5px auto; */
}
/* .navigation .navbar ul li {
    font-size: 15px!important;
    margin: 17px!important;
    position: relative;
    letter-spacing: 0.5px;
    position: relative;
    font-weight: 700;
} */

.navigation .navbar li:hover > ul.dropdown-menu :nth-child(2){
	        margin-left: 100%;
/* 	    margin-top: -35px; */
}
/* .navigation .navbar li:hover > ul.dropdown-menu li :nth-child(2) {
    margin-left: 100%;
    margin-top: -34px;
} */
/* new code 25-04-2026 */
 .navigation .navbar li:hover > ul.dropdown-menu li :nth-child(2) {
    margin-left: 0;
	 top: 0;
/*     margin-top: -34px; */
} 
/* new code 25-04-2026 */


.navigation .navbar ul li:nth-child(1) {
    margin-left: 0 !important;
	margin-right: 0 !important;
/* 	border-top: 2px solid #000; */
}


.navigation .navbar ul .dropdown-menu li:nth-child(2) {
    margin-left: 0 !important;
	margin-right: 0 !important;
}
.navigation .navbar ul .dropdown-menu li:nth-child(3)  {
    margin-left: 0 !important;
	margin-right: 0 !important;
}
.navigation .navbar ul .dropdown-menu li:nth-child(4)  {
    margin-left: 0 !important;
	margin-right: 0 !important;
}
.navigation .navbar ul .dropdown-menu li:nth-child(5)  {
    margin-left: 0 !important;
	margin-right: 0 !important;
}
.navigation .navbar ul .dropdown-menu li:nth-child(6)  {
    margin-left: 0 !important;
	margin-right: 0 !important;
}
.navigation .navbar ul .dropdown-menu li:nth-child(7)  {
    margin-left: 0 !important;
	margin-right: 0 !important;
}
.navigation .navbar ul .dropdown-menu li:nth-child(8)  {
    margin-left: 0 !important;
	margin-right: 0 !important;
}
.navigation .navbar ul .dropdown-menu li:nth-child(9)  {
    margin-left: 0 !important;
	margin-right: 0 !important;
}
.navigation .navbar ul .dropdown-menu li:nth-child(10)  {
    margin-left: 0 !important;
	margin-right: 0 !important;
}
.navigation .navbar ul .dropdown-menu li:nth-child(11)  {
    margin-left: 0 !important;
	margin-right: 0 !important;
}
.navigation .navbar ul .dropdown-menu li:nth-child(12)  {
    margin-left: 0 !important;
	margin-right: 0 !important;
}
.navigation .navbar ul .dropdown-menu li:nth-child(13)  {
    margin-left: 0 !important;
	margin-right: 0 !important;
}
.navigation .navbar ul .dropdown-menu li:nth-child(14)  {
    margin-left: 0 !important;
	margin-right: 0 !important;
}
.navigation .navbar ul .dropdown-menu li:nth-child(15)  {
    margin-left: 0 !important;
	margin-right: 0 !important;
}
.navigation .navbar ul .dropdown-menu li:nth-child(16)  {
    margin-left: 0 !important;
	margin-right: 0 !important;
}
/* icon hide */
    .navigation .navbar ul li.menu-item-has-children::after {
        content: "\f107";
        font-family: "FontAwesome";
        float: right;
        vertical-align: middle;
        border-width: 0px;
        margin: 3px 0 0 10px;
/* 			visibility:hidden; */
			display:none;
    }

/* .navigation .navbar ul.dropdown-menu li:hover {
    background: #166492;
	color:#000;
} */
@media (min-width: 992px) {
    .navigation .navbar .dropdown-menu li a {
        padding: 11px 15px;
        font-size: 14px;
        font-weight: 400;
        /* line-height: 150%; */
        display: inline-block!important;
        text-transform: none;
        color: #fff;
			  width: 290px;
    }
}

/* country dropdown */
.gt_container--fmt1bm .gt_switcher .gt_selected {
  position: absolute!important;
  top: 8px;
}
.gt_container--4calmq .gt_switcher {
  position: absolute!important;
	    display: none!important;
}
/* top header country 04/12/2024 */
.gt_switcher.notranslate {
    display: none!important;
}
/* Mobile view */
@media (max-width: 992px) {
	.navigation .navbar ul li{
	margin:0px 0px!important
/* 		padding: 5px auto; */
}
}
@media (max-width: 991px) {
    .navigation .navbar ul li ul li a {
        background: #166492!important;
    }
}
@media (min-width: 992px) {
    .navigation .navbar ul li a:hover, .navigation .navbar ul li.current_page_item {
        color: #003778;
    }
}
@media (max-width: 768px) {
	.header_btm{
		width:100%;
		padding-left:0px;
		padding-right:0px;
	}
	.site-footer .widget-container h3 {
    color: #ffffff;
    font-size: 12px;
    text-transform: capitalize;
    margin-bottom: 12px;
}
	.site-footer .widget-container p {
    color: #fff;
    margin-bottom: 10px;
    font-size: 11px;
}
}

@media (max-width: 567px) {
		.site-footer .widget-container h3 {
    color: #ffffff;
    font-size: 16px;
    /* line-height: 32px; */
    /* font-weight: 700; */
    text-transform: capitalize;
    margin-bottom: 12px;
}
	.site-footer .widget-container p {
    color: #fff;
    margin-bottom: 10px;
    font-size: 16px;
}
	.site-footer {
    background: #1b1b1b;
    padding-top: 24px;
}
}
.navigation .navbar ul li a:hover:before, .navigation .navbar ul li:hover > a:before {
/*     background: #003778; */
	background: #fff;
    bottom: -14px;
}

/* hover menu blink  fixed  */
/* Parent menu item */
.menu-item-has-children {
  position: relative;
}

/* Hide dropdown initially */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
  background: #fff;
}

/* Show on hover */
.menu-item-has-children:hover > .dropdown-menu {
  display: block;
}

/* Prevent overlap issues */
.dropdown-menu li {
  position: relative;
}

/* If you have nested dropdowns (right side ones) */
.dropdown-menu .dropdown-menu {
  top: 0;
  left: 100%;
}
.nav-menu > li {
  position: relative;
}
/* 25_04_2025 */

@media only screen and (max-width: 1024px) and (min-width: 992px) {
  .navigation .navbar ul li a {
    color: #131313;
    position: relative;
    font-size: 14px!important; 
}
.navigation .navbar ul li{
    margin: 0px 7px 0px 0px!important;
    font-size: 14px!important;
    font-family: sans-serif;
    font-weight: 500;
 }
.navigation .navbar ul li:nth-child(1) {
    margin-right: 9px!important;
  
 }
}

.navigation {
    text-align: right!important;
    margin-top: 0px;
    padding: 0;
}
/* 29/04/2025 */
.navigation .navbar ul li a {
    color: #ffe8e8!important;
}
.site-header {
/*   background: #013453!important; */
background: #000 !important;
}
    .navigation .navbar ul.dropdown-menu li {
        background: #166492!important;
        color: #000 !important;
    }
    .navigation .navbar .dropdown-menu li a:hover {
        background: #ffb636!important;
        color: #000;
			width:282px;
    }
@media (max-width: 991px) {
    .navigation .navbar .dropdown-menu li a:hover {
        background: #ffb636 !important;
        color: #000;
        width: auto;      /* mobile me responsive */
    }
}
/* .navigation .navbar {
    margin-top: 7px!important;
} */
.logo {
    padding-top: 0.6rem;
}
.logo-main {
	padding: 12px 6px!important;
}
/* footer */
.site-footer {
    background: #1b1b1b;
    padding-top: 19px!important;
}

/* Mobile styles 06/05*/

@media (max-width: 991px) {
    .navbar-nav .dropdown-menu {
        background-color: #166492!important;
/* background-color: #151c20 !important;  */
border-radius: 0px;
        margin: 0;
/*         padding: 0.5rem 1.5rem!important; */
/* 			padding-left:1.2rem!important; */
/*         width: 100%; */
    }
	    .navbar-toggler .icon-bar {
        color: #000;
        background-color: #ffc107!important;
	}
}
@media (max-width: 991px) {
 .navigation .navbar li:hover > ul.dropdown-menu li :nth-child(2) {
    margin-left: 100%;
    margin-top: 4px;
 }	
}
.top_header {
    background-color: #000!important;   
}
/* top right btn */
.btn-getstarted {
    color: #ffffff!important;
    background: #ffb636;
    font-size: 15px;
    padding: 8px 25px;
    border-radius: 0.3rem;
    transition: 0.3s;
	font-weight:700;
}
/* .top_header {
    background-color: #000!important;   
} */
/* .navbar-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #333;
    width: 200px;
  }

  .navbar-nav.active {
    display: flex;
  }

  .dropdown {
    position: relative;
    top: 0;
  }

  .navbar-nav li:hover .dropdown {
    display: none;
  }

  .navbar-nav li.show-dropdown .dropdown {
    display: block;
  }
} */
/* old css 25-04-2026 */


.blog-layout {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 30px;
  padding: 40px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.blog-card {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.blog-card img {
  width: 100%;
}
/* BLOG PAGE ONLY */
.blog .blog-card h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

/* Paragraph (excerpt) */
.blog .blog-excerpt {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
}
.sidebar {
  background: #f5f5f5;
  padding: 20px;
}

#load-more {
  padding: 10px 20px;
  margin-top: 20px;
}

@media(max-width:768px){
  .blog-layout { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* add css  */
.blog-card h2 a {
  text-decoration: none;
  color: #222;
}

.read-more-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: #0b3a75;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.post-thumbnail {
  display: none !important;
}
#blogtxtcolor a {
    color: #000 !important;
    font-size: 15px;
}
#blogtxtcolor {
    color: #0b3c6f;
	background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
}
#content_area {
    background: #fff;
    border: 1px solid #e5e5e5;   /* light border */
    border-radius: 10px;         /* smooth corners */
    padding: 20px;
    
    /* soft shadow */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
/* Remove bullets */
#blogtxtcolor ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

/* Spacing */
#blogtxtcolor li {
    margin-bottom: 10px;
}
.blog-date {
    font-size: 13px;
    color: #888;
    margin: 6px 0 8px;
}

.blog-excerpt {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}
/* .sidebar {
    display: none;
} */
/* Sidebar Box */
.sidebar {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
}

/* Headings */
.sidebar h3 {
    font-size: 18px;
    margin: 15px 0 10px;
}

/* List */
.sidebar ul {
    list-style: none;
    padding-left: 0;
}

.sidebar li {
    margin-bottom: 10px;
}

/* Links FIX */
.sidebar a {
    color: #0b3c6f!important;
    text-decoration: none;
    opacity: 1 !important;
}

.sidebar a:hover {
    color: #000;
}
/* Hide sidebar everywhere */
.sidebar {
    display: none;
}

/* Show only blog page */
.blog .sidebar {
    display: block;
}
/* Wrapper */
.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Input */
.search-form input[type="search"] {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

/* Button */
.search-form input[type="submit"] {
    width: auto !important;
    padding: 12px 22px;
    background: #0b3c6f;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
	margin-top: -9px;
    margin-left: 0px;
}

/* Hover effect */
.search-form input[type="submit"]:hover {
    background: #06294d;
}
.search-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
}
/* Wrapper */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0;
}

/* Pagination links */
.pagination .page-numbers {
  padding: 8px 14px;
  border-radius: 6px;
  background: #f2f2f2;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.25s ease;
}

/* Hover */
.pagination .page-numbers:hover {
  background: #003778;
  color: #fff;
}

/* Active page */
.pagination .current {
  background: #003778;
  color: #fff;
  font-weight: 600;
}

/* Prev / Next */
.pagination .prev,
.pagination .next {
  font-weight: 500;
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 768px) {
  .pagination {
    gap: 6px;
  }

  .pagination .page-numbers {
    padding: 6px 10px;
    font-size: 13px;
  }

  /* Hide extra numbers for cleaner mobile UI */
  .pagination .page-numbers:not(.prev):not(.next):not(.current) {
    display: none;
  }
}

/* ---------------- EXTRA SMALL ---------------- */
@media (max-width: 480px) {
  .pagination {
    justify-content: space-between;
  }

  .pagination .prev,
  .pagination .next {
    flex: 1;
    text-align: center;
  }

  .pagination .current {
    display: none; /* optional cleaner look */
  }
}
.blog .blog-card h2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}