/*!
Theme Name: Macro Digital
Theme URI: https://macrodigitalmedia.com
Author: Azhar Khan (Macro Digital)
Author URI: https://macrodigitalmedia.com
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: md
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

md is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/


/*--- menu css ---*/


/*--- menu css ---*/
#header_main.sticky {
  z-index: 999;
	transition: all 0.3s ease;
}
#header_main.sticky {
  position: fixed;
  height: 90px;
  background: var(--light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#header_main.sticky #main-nav > ul > li {
    padding: 14px 3px 10px 4.3px;
}
#header_main.sticky #site-logo {
    height: 90px;
}
#header_main.sticky #site-header-inner{
    top: 13px;
}


.main-logo img,
.logo-footer img{
  width: auto;
  max-height: 60px;
}
.flat-count2 .counter-box .number.number-style::after{
	content: '+';
}
.slider .slider-item .content .sub-title{
  background: var(--secondary);
	color: #FFF;
}
.slider.home2 .slider-item .po-content-one{
  width: 57%;
}

.flat-service2 .inner .icon path{
	fill:  none;
	stroke: #fff;
}
.flat-service2 .inner:hover .icon path{
	fill:  none;
	stroke: var(--secondary);
}


.flat-news2 .box .images img {
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.svg_image svg{
	width: 100%;
	height: auto;
}
.flat-count .counter-box .icon{
	background: transparent;
}
.flat-service2 .inner .icon svg{
  width: auto;
  max-height: 45px;
}
.flat-service2.page {
    background: #f4f8fb;
}

.flat-brand .slogan-logo a{
	height: auto;
}
.flat-brand .slogan-logo a{
	padding: 10px 15px;
}
.flat-brand .slogan-logo a img{
	height: 74px;
	object-fit: cover;
	object-position: center;
}

.side-bar{
  position: sticky;
  top: 100px;
}


.services_banner .heading h2{
    font-size: 1.5rem;
    line-height: 33px;
    color: #00234b;
	font-weight: 600;
}
.services_banner .heading .h4{
	font-size: 1.2rem;
    line-height: 1.4;
    color: #00234b;
}
.heading-section p{
	font-size: 18px;
	line-height: 1.4;
}


.side-bar .widget-categories li{
	background-color: var(--secondary);
}
.side-bar .widget-categories li h6 a{
  color: #FFF;
}
.side-bar .widget-marketing{
	background-color: #FFF;
	box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}


/*-- Blog --*/

.flat-blog-detailst .entry-content h1,
.flat-blog-details .entry-content h2,
.flat-blog-details .entry-content h3,
.flat-blog-details .entry-content h4,
.flat-blog-details .entry-content h5,
.flat-blog-details .entry-content h6{
    margin-top: 2rem;
    margin-bottom: 1rem;
	font-family: "Outfit", sans-serif;
}

.flat-blog-details .entry-content p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.flat-blog-details .entry-content ul,
.flat-blog-details .entry-content ol {
    margin: 1.2rem 0 1.2rem 1.5rem;
    padding-left: 1.5rem;
}

.flat-blog-details .entry-content  li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}
	.flat-blog-details .entry-content  ul li{
		list-style-type: disc;
	}
.flat-blog-details .entry-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: #f9f9f9;
    border-left: 4px solid #09698D;
    font-style: italic;
    color: #333;
}

.flat-blog-details .entry-content a {
    color: #09698D;
    text-decoration: underline;
}

footer{
  border-top: 1px solid rgba(18, 10, 33, 0.1);
}

@media (max-width: 768px) {
    .flat-blog-details .entry-content h1,
    .flat-blog-details .entry-content h2{
        font-size: 1.6rem;
    }
	.flat-we-do .we-do-box .heading-section{
		padding-right: 0;
	}
}

.flat-title-page .page-title-heading{
  position: static;
}
.flat-blog-details .entry-content .box-info p{
	margin: 0;	
}
/*-- Blog --*/

@media screen and (max-width: 767px){
  .slider.home2 .slider-item .content{
    text-align: center;
  }
  .slider.home2 .slider-item .po-content-one {
    width: 100%;
  }
  .swiper-slide-active .flat-slider .flat-bt-slider{
    justify-content: center;
  }
  .flat-count2 .counter-box {
    width: calc(50% - 30px);
  }
	.slider.home2 .slider-item{
		padding-bottom: 10px;
	}
	.slider.home2 .slider-item .svg_image{
	  margin-top: 30px;
	}
	.flat-count2 {
        padding: 50px 0 20px;
    }
	.flat-about2 .heading-section{
		text-align: center;
	}
	.why_us .mark-img{
		display: none;
	}
	.flat-brand{
		margin: 0;
	}
	.heading-section{
		text-align: center;
	}
    .heading-section h2 {
        font-size: 36px;
        line-height: 1.3;
    }
	.sc-btn-button{
		text-align: center;
	}
	.flat-step .wrap-step{
		text-align: center;
	}
	.flat-step .wrap-step .number {
      margin: 0 auto 20px !important;
	}
	
	.flat-contact-us .info-box .info{
		display: flex;
	}
	.flat-contact-us  .info-box .info .content .sub-title{
		font-size: 16px;
	}
	.flat-contact-us  .info-box .info .content .title-30{
		font-size: 18px;
		line-height: 1.4;
	}
	
	#footer .widget-logo{
		text-align: center;
	}
	.sc-btn-top{
	    text-align: center;
	}
}

@media screen and (max-width: 600px){
  .flat-service2 .inner {
      min-height: 100px !important;
  }
	.flat-about2 .mark-img .mark-1{
		top: 50px;
	}
	.flat-about2 .mark-img .mark-2{
		top: 40px;
	}
}

@media screen and (max-width: 420px){
  .flat-count2 .counter-box {
    width: calc(100% - 30px);
  }
}



