/*!
Theme Name: Medsark
Theme URI: https://altoidtech.co.ke/
Author: Joseph Mwaka Wambua for Altoid Technologies
Author URI: https://altoidtech.co.ke/
Description: Wordrpress Theme developed by Altoid Technologies For Medsark, Nairobi Kenya.
Version: 3.6.0
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: neopack-altoid
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css"
 * Blue1: #073e86
 * Green: #228b38
 *  */


/* From http://codex.wordpress.org/CSS */
html,body{
	overflow-x:hidden !important;
}
html,body, div,p,section,h4,h5,h6,a{
	font-family: "Open Sans", sans-serif  !important;
	color: #252424;
}

h1,h2,h3,.card_h{
font-family: "Playfair", serif !important;	
}
.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/*BY SPIDER*/
.top_bar {
    background: #e0e1e2;
      color: #264283;
    font-weight: bold;
}
.top_bara {
 	text-align: left;
}
.top_bar a
{
margin-right: 15px;
           color: #7a1020;
    font-weight: 600;
    font-size: 16px;
}

.top_whatsapp {
    background: #0dd00d;
    padding: 10px;
}
.altoid_padding, .section_padding{
	padding-bottom:50px !important;
	padding-top:60px !important;
}
#main {
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin-top: 0px !important;
}
.altold_pdts_inner  h3 {
          font-size: 19px;
    font-weight: bold !important;
    text-transform: uppercase;
    }
.icon_1{
	
    font-size: 74px;
	
}
.text_right{
	text-align:right;
}
.div_td a{

    color: #302e2e;
   
    margin-bottom: 6px;
}
.div_td a:hover{
	text-decoration:none;
	    color: #2b57a3 !important;
	
}
.card_upper_footer {
  

}
.futa_1  a,.futa_3 a{
    
}
.futa_2, .futa_4 {
  
    font-size: 17px;
} .card_h{
   color: #7a1020 !important;
    text-transform: uppercase;
    font-size: 21px !important;
        font-weight: 600;
}

.footer_bottom{
    padding-bottom: 40px;
    padding-top: 40px;
  
    font-weight: bold;
    font-size: 34px;
    color: gray;
}
.footer_bottom p{
    font-size: 19px;
    color: black;
    margin-top: 15px;
}
.footer_bottom i{
	 
    font-size: 40px;
    color: gray;
    margin-right: 7px;

}
.futa_pri {
    padding-bottom: 10px;
    padding-top: 10px;
}
.home_cards .elementor-widget-image img {
    vertical-align: middle;
    display: inline-block;
      	cursor:pointer;
	transition: all 0.5s;
    transform: scale(0.9);
	
}
.nf-form-content {
    padding: 0px !important;
}
.home_cards .elementor-widget-image img:hover{
 transform: scale(1);
}
.upper_footer .logo {
height: 70px;
    max-width: 100%;
}
 .upper_footer ul {
        padding-left: 6px;
}

   .upper_footer ul li {
    list-style-type: none !important;
    font-size: 16px;
    margin-bottom: 12px;
}

.footer_bottom {
       background-color: #7a1020;
    position: relative;
    padding: 1px 0px;
    font-size: 15px;
    color: white;
    font-weight: 300;
    text-align: center;
}
.footerLast ul {
        padding-left: 5px;
	
}
.footerLast li {
    display: inline-block;
    vertical-align: middle;
    padding: 0 15px;
    position: relative;
}
.footerLast li a {
      color: #2b57a3;
    font-size: 12px;
    text-transform: uppercase;
	
}
.footerlastCircle:before {
     content: '';
    width: 5px;
    height: 5px;
    background-color: #0fa759;
    position: absolute;
    bottom: 17px;
    left: 0;
    border-radius: 50%;
}
.footerLastBottom{background-color: #22305c;
    font-size: 11px;
    color: #fff;
    padding: 3px 20px;}
.footerLastBottom p{font-size:11px;margin-bottom: 0px !important;}
.footerLastBottomUl {
    color: #ffffff;
    float: right;margin-bottom: 0px !important;
}
.footerLastBottomUl li {
    display: inline-block;
    vertical-align: middle;
    padding: 0 5px;
    font-size: 11px;
}
.footerLastBottomUl li a {

    font-size: 11px;
}
 .footer_soc  i {
    font-size: 18px;
    color: gray;
    margin-left: 7px;
}
.banner_padding{
	   padding-bottom: 100px  !important;
    padding-top: 80px  !important;
}

.masthead_inner_page {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 14rem;
    padding: 7rem 0rem 5rem;
    background-position: center  center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
    margin-bottom: 0px;
	 background-image: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .65)), url(https://medsarksystems.com/wp-content/uploads/2026/10/banners.jpg)   !important;
	color:white !important;
}

@media (min-width: 992px){
    .navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
        color: #7a1020;
        text-decoration: none;
        background-color: transparent;
        border-color: #7a1020;
    }
.navbar-expand-lg .navbar-nav .nav-link { 
font-weight: 400;
    font-style: normal;
    text-transform: uppercase  !important;
    color: black;
    text-decoration: none;
    background-color: transparent;
    border-color: transparent;
    padding: 8px 26px ;
    transition: .3s;
    line-height: 35px !important;
    font-size: 18px;
}

	.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
           color: #2b57a3;
   
}
	.navbar-light .nav-item {
    margin-left: 10px;
}
}
.nav-link {
        font-weight: bold   !important;
    text-transform: uppercase   !important;
}
@media (max-width: 767px) {
      .navbar-brand img {
        height: 52px !important;
    }
    .navbar-toggler {
    background-color: #1f59a7   !important;
    }
	.top_bar{
		display:none !important;
	}
}
@media (min-width: 768px) {
	.top_barb {
 	text-align: right  !important;
}

	    .navbar-brand img {
        height: 78px !important;
    }

	.navbar-expand-md
 {
             padding-bottom: 1px !important;
        padding-top: 2px;
    }
}

.footer_bottom p {
    font-size: 15px;
    color: black;
    margin-top: 15px;
    text-align: left;
	font-weight:normal;
}
.dropdown-item {
    background-color: transparent;
    border: 0;
    border-radius: var(--bs-dropdown-item-border-radius, 0);
    clear: both;
    color: var(--bs-dropdown-link-color);
    display: block;
    font-weight: 400;
    padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
    text-align: inherit;
    white-space: nowrap;
    width: 100%;
    font-size: 16px !important;
    padding: 2px 8px !important;
    transition: .3s;
    line-height: 28px !important;
}
#footer {
    background-color: #010d1a40 !important;
}

/* Show dropdown on hover for large screens */
@media (min-width: 768px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
	  border-radius:0px !important;
	  border: 0px;
  }
}

.main_tit h2{
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 25px;
    font-size: 26px !important;
    line-height: 1.1 !important;
    letter-spacing: 0px;
}
    


.quote_form .wpcf7-form-control {
    line-height: 1;
    outline: 0 !important;
    padding: 0.45rem !important;
    color: #282828;
    width: 100%;
       margin-bottom: 6px !important;
    padding: 10px 5px !important;
}
.floating-labels .wpcf7-form textarea {
 
	   
}
.quote_form textarea{
	    border: solid 1px;
    height: 100px !important;
    background: white;
}
.quote_form [type=submit] {
-webkit-appearance: button;
    background: black;
    color: white !important;
    border: 0px;
    width: 100% !important;
    cursor: pointer;
    padding: 9px 9px !important;
    font-size: 25px;
    text-transform: uppercase;
    font-weight: bold;
}
.quote_form{
    margin-bottom: 12px;
}
.btn-subscribe {
    background: linear-gradient(135deg, #06b6d4 0%, #2761ae 50%, #02b367 100%);
    color: white;
    padding: .7rem 1.25rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(124, 58, 237, .18), inset 0 -2px 6px rgba(0, 0, 0, .08);
    border: none;
    transition: transform .15s 
ease, box-shadow .15s 
ease;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
}

    .btn-subscribe:hover,
    .btn-subscribe:focus {
      transform: translateY(-3px);
      box-shadow: 0 12px 30px rgba(124, 58, 237, .22), inset 0 -2px 6px rgba(0,0,0,.08);
      text-decoration: none;
      outline: none;
    }
    .btn-subscribe .icon {
      width: 1.3rem;
      height: 1.3rem;
      display: grid;
      place-items: center;
      background: rgba(255,255,255,.2);
      border-radius: 6px;
      font-size: 0.95rem;
    }
   .modal-header.fancy {
    background: linear-gradient(90deg, #133057, #2b5791);
    color: #fff;
    border-bottom: none;
}
    .modal .form-control:focus {
      box-shadow: 0 0 0 .2rem rgba(124,58,237,.15);
      border-color: #7c3aed;
    }


	
.footer_pdts ul li{
	
}
#footer p, #footer  a,#footer  {
     font-size: 15px;
}

.contact_col span,.contact_col a{
	display:inline !important;
}

.altold_pdts_inner  .elementor-widget-icon-box .elementor-icon-box-title,.altold_pdts_inner  .elementor-widget-icon-box .elementor-icon-box-title a {
   color: inherit;
    font-size: 15px;
    text-align: center;
    font-weight: 600;
}

.altold_pdts_inner .elementor-widget-icon-box .elementor-icon-box-title a::after {
  content: " \2192"; /* Unicode arrow → */
  margin-left: 5px;  /* space between text and arrow */
  font-size: 14px;   /* adjust size if needed */
  color: inherit;    /* same color as link text */
}
/* Base state */
.elementor-widget-image a img {
  transition: transform 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
  transform: scale(1);
  filter: grayscale(0%);
	  box-shadow: 0 12px 25px rgba(0,0,0,0.25); /* soft shadow */
}

/* Hover effect */
.elementor-widget-image a:hover img {
  transform: scale(1.02);       /* smooth zoom */
  filter: grayscale(100%);      /* turn grayscale */
  box-shadow: 0 12px 25px rgba(0,0,0,0.25); /* soft shadow */
  border-radius: 0px;          /* optional rounded corners */
}

.footer_spec_links {
text-align:right !important;	
	
}

.parent-pageid-37  .main_tit h2 {
    font-weight: bold !important;
    text-transform: uppercase !important;
    font-size: 29px;
    color: #099559;
}

/* Target only dropdown menu items inside Products */
.has_sub  .dropdown-menu .dropdown-item::before {
  content: "\2714"; /* Unicode ✔ */
  margin-right: 8px; /* spacing from text */
  font-size: 14px;
  color: #07f940; /* green check, change if needed */
  display: inline-block;
  vertical-align: middle;
}

.elementor-column-gap-default>.elementor-column>.elementor-element-populated {
    padding: 0px  !important;
}
.home_cta .elementor-button-content-wrapper {
        font-size: 20px  !important;
}
.altold_pdts_inner   .elementor-column  {
	margin-bottom:20px !important;
}

.dark_bg {
      background: #228b3830;
}
.footer_bottom_copy {
	color:white !important;
}

.soc_top a{
color: #7a1020;
      font-size: 20px   
}
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: absolute;
        background: #ffffff;
        color: #727377;
        border-radius: 0px;
        font-size: 16px;
        width: 300px;
        text-align: left !important;
    }
	  
	.dropdown-item {
  
        padding: 7px 8px !important;
        transition: .3s;
        line-height: 26px !important;
        text-transform: capitalize;
        font-size: 16px !important;
}
}

@media (min-width: 768px) {
    .navbar-expand-md .navbar-nav .nav-link {
        font-weight: 400;
        font-style: normal;
        text-transform: uppercase;
        color: black;
        text-decoration: none;
        background-color: transparent;
        border-color: transparent;
        padding: 8px 26px;
        transition: .3s;
        line-height: 35px !important;
                font-size: 16px;
    }
}

.contact_col a{
 
       font-size: 20px !important;
    color: #264485;
}

.contact_col a:hover{
    color:#000 !important;
}
.dropdown-item {
    background-color: #2b4171 !important;
    color: white !important;
    padding-bottom: 0px !important;
}

 .wpcf7-form-control {
    line-height: 1;
    outline: 0 !important;
    padding: 0.45rem !important;
    color: #282828;
    width: 100%;
       margin-bottom: 3px !important;
   padding: 2px 5px !important;
}

textarea{
	    border: solid 1px;
    height: 100px !important;
    background: white;
}
 [type=submit] {
-webkit-appearance: button;
    background: #077344;
    color: white !important;
    border: 0px;
    width: 100% !important;
    cursor: pointer;
    padding: 9px 9px !important;
    font-size: 25px;
    text-transform: uppercase;
    font-weight: bold;
}
label {
    display: inline-block;
    width: 100% !important;
}
.dropdown-menu {
   
    --bs-dropdown-padding-y: 0px !important;
}

.contact_menu {
    background: #7a1020 !important;
}
 .contact_menu a{
    font-weight: bold !important;
    color: white !important;
}
.bg_cta{
    color: #2761ae;
}
.contact_menu:hover{
	background:pink  !important;
}

.footer_spider{
   
    margin-top: -25px;
}
.home #footer
 {
    margin-top: -25px   !important;
}
.card_h {
      color: #7a1020 !important;
}
.service_html  {
        text-align: center;
    color: white;
    font-size: 18px !important;
}
.service_html h4  {
       font-size: 16px !important;
	   padding-top: 10px;
    padding-bottom: 5px;
}
.service_html1{
	background:#063f89 !important;
}
.service_html2{
	background:#5d5858 !important;
}
.service_html3{
	background:#1a6a2d !important;
}
.our_core_services .elementor-widget {
	    margin-bottom: 0px  !important;
}
.whychoose .elementor-icon-box-title{
	    font-size: 19px;
}

.industry_html  {
        text-align: center;
    color: white;
  
	background:#063f89 !important;
}

.industry_html h4 {
    font-size: 16px !important;
    padding-top: 10px;
    padding-bottom: 5px;
}
/*new*/
.main_tit2 h2 {
    text-align: center;
    position: relative;
    font-weight: 600;
    color: #2f5e9e; /* adjust color */
    padding: 0 20px;
    display: inline-block;
}

/* Left & Right Lines */
.main_tit2 h2::before,
.main_tit2 h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 120px; /* line length */
    height: 2px;
    background: #2f5e9e; /* line color */
}

.main_tit2 h2::before {
    right: 100%;
    margin-right: 15px;
}

.main_tit2 h2::after {
    left: 100%;
    margin-left: 15px;
}

/* Center align container */
.main_tit2 {
    text-align: center;
}
