/*---------------------------------
Responsive Grid Media Queries - 1280, 1024, 768, 480
-----------------------------------*/
/* 1280-1024 	- desktop (default grid) */
@media all and (min-width: 1024px) and (max-width: 1800px) {}

@media all and (min-width: 1024px) and (max-width: 1280px) {}

@media all and (min-width: 1025px){
	.menu-item-has-children:hover .sub-menu {
	     display: block; 
	}

	.menu-item-has-children:after{
    	position: absolute;
	    content: '\f0d7';
	    top: 55%;
	    font-family: 'FontAwesome';
	    right: -13px;
	    font-size: 14px;
	    line-height: 24px;
	    color: #000;
	    transform: translate(-50%, -50%);
  	}
}

@media all and (max-width: 1024px){

	.main{
		display: block;
	}

  	.menu-item-has-children:after{
    	position: absolute;
	    content: '\f0d7';
	    top: 50%;
	    font-family: 'FontAwesome';
	    right: 10px;
	    font-size: 12px;
	    line-height: 12px;
	    color: #000;
	    transform: translate(-50%, -50%);
	    text-align: center;
  	}

  	.sub-menu {
    	position: absolute !important;
    	top: 50px !important;
    	transform: unset !important;
  	}

  	.sub-menu li a{
    	padding: 10px !important;
    	line-height: 22px !important;
    	font-size: 12px !important;
  	}

  .sub-menu li{
    	margin: 5px !important;
  	}

}

/* 1024-768 	- tablet landscape */
@media all and (min-width: 769px) and (max-width: 1024px) {
	
	.navbar{
		display: none !important;
	}

	#nav-trigger{
		display: block !important; 
	}

	h1{
		font-size: 24px !important;
		line-height: 34px !important;
	}

	h2{
		font-size: 22px !important;
		line-height: 32px !important;
	}

	h3{
		font-size: 18px !important;
		line-height: 28px !important;
	}

	h4,
	h5{
		font-size: 14px !important;
		line-height: 24px !important;
	}

	

}
/* 768-480 	- tablet  */
@media all and (min-width: 480px) and (max-width: 768px) {


	.ebg-hero-banner,
	.ebg-testimonials-section,
	.ebg-tools-section,
	.ebg-about-section,
	.ebg-newsletter-client-section,
	.ebg-services-section,
	.ebg-about-us-section,
	.ebg-about-section ul,
	footer{
		padding: 55px 0px !important;
	}
    
    .ebg-email-side{
    	padding:35px 0px !important;
    }

    .ebg-email-side .ebg-contact-details ul li a span{
    	font-size: 12px !important;
		line-height: 22px !important;
    }

    .ebg-service-banner{
    	height: auto !important;
    	padding:100px 0px !important;
    }
	
     .ebg-dev-row li {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
	.navbar ul li {
		margin:0 5px;
	}
	.navbar ul li a {
		font-size: 14px;
		line-height: 24px;
	}
	.menu-item-has-children:after{
		right:-6px;
	}
	.ebg-about-section ul li:nth-child(1){
		    top: 53px;
	}
	.ebg-about-section ul li:nth-child(2){
		top: -6px;
	}
	.ebg-about-section ul li:nth-child(3){
		top: 64px;
	}
	.ebg-about-section ul li:nth-child(4){
		top: -12px;
	}
	.ebg-hexagon-bg svg {
		width: 91%;
		height: 275px;
		left: 9px;
	}
	.ebg-plan-content {
		padding: 45% 20px;
	}
	.ebg-plan-content h3 {
        font-size: 15px !important;
		line-height: 9px !important;align-content
	}
	.ebg-plan-box span{
		font-size:74px;
		top:-32px;
	}

}


/* 768-less 	- phone landscape , Tablet & smaller */
@media all and (max-width: 768px) {


	h1{
		font-size: 24px !important;
		line-height: 34px !important;
	}

	h2{
		font-size: 22px !important;
		line-height: 32px !important;
	}

	h3{
		font-size: 18px !important;
		line-height: 28px !important;
	}

	h4,
	h5{
		font-size: 14px !important;
		line-height: 24px !important;
	}

	p,
	h6,
	.ebg-newsletter-form .ebg-started-btn,
	.wpcf7 form .wpcf7-response-output,
	.wpcf7-not-valid-tip,
	.ebg-services-section-six ul li,
	.ebg-jobs-details ul li{
		font-size: 12px !important;
		line-height: 22px !important;
	}

	footer label{
		width: 100% !important;
		font-size: 14px !important;
		line-height: 24px !important;
	}
    
    .ebg-snd-cv {
	    display: none;
	}

	.ebg-services-section-three-content ul li {
	    width: 30%;
	     padding: 10px 7px;
	    margin: 10px 2px;
	    font-size: 12px;
	    line-height: 22px;
	    height: 105px;
	}

	.ebg-services-section-five-box {
	    padding: 30px 10px 0px;
	    margin: 25px 0px;
	    min-height: 245px;
	}

	.ebg-service-box p, 
	.ebg-why-box p{
		font-size: 12px !important;
		line-height: 22px !important;
	}

	#why_us ul,
	.ebg-services-section-six ul{
		width: 100% !important;
	}
    

}


/* 480-less 	- phone landscape & smaller */
@media all and (max-width: 480px) {



	#nav-trigger,
	.ebg-mobile-view{
		display: block !important;
	}

	.navbar,
	.ebg-desktop-view{
		display: none !important;
	}

	.ebg-service-banner{
		height: auto;
		padding:50px 0px;
	}

	.ebg-hero-banner,
	.ebg-testimonials-section,
	.ebg-tools-section,
	.ebg-about-section,
	.ebg-newsletter-client-section,
	.ebg-services-section,
	.ebg-about-us-section,
	.ebg-about-section ul,
	footer{
		padding: 35px 0px !important;
	}

	.ebg-newsletter-form p{
		margin: 0 !important;
	}

	header,
	.ebg-services-section-three-content{
		padding: 0 !important;
	}

	.ebg-about-section ul li{
		margin:0px auto 65px !important;
	}

	.ebg-hero-banner .ebg-hero-banner-img img,
	.ebg-services-section-three-img img, 
	.ebg-services-section-four-img img{
		width: 80%;
		margin: 20px auto
	}

	.ebg-tools-content-img img{
		width: 75%;
		float: none;
		margin: 20px auto
	}

	.ebg-hero-banner .ebg-hero-banner-content{
		text-align: center;
		padding: 45px 0px !important;
	}

	.ebg-about-section ul li:nth-child(1),
	.ebg-about-section ul li:nth-child(2),
	.ebg-about-section ul li:nth-child(3),
	.ebg-about-section ul li:nth-child(4){
		top: unset !important;
	}

	.ebg-plan-content{
		padding: 20% 25px !important;
	}

	.ebg-newsletter-form .ebg-email-fld {
	    width: 100%;
	    font-size: 12px;
	    line-height: 22px;
	}

	.ebg-plan-box span {
	    font-size: 64px;
	    top: -15px;
	    right: -10px;
	}

	.ebg-about-section ul li{
		display: block;
		width: 75%;
		margin:0 auto;
	}

	.ebg-footer-one,
	.ebg-about-us-section p{
		margin: 20px 0px;
	}

	.ebg-tools-content-box ul li{
		padding:20px 10px 10px;
	}
	
	.ebg-copyright-section,
    .ebg-copyright-section p,
    .ebg-copyright-section .menu-bottom-footer-menu-container{
		text-align: center !important;
	}

	.ebg-services-section-six-end-box p,
	.ebg-services-section-six span p{
		width: 100%;
	}

	.ebg-services-section-five-box {
	    padding: 25px 20px;
	    margin: 15px 25px;
	    min-height: auto; 
	}

	.ebg-rqt-modal-left-box,
	.ebg-rqt-form{
		display: block !important;
		width: 100% !important;
	}

	.ebg-rqt-modal-left-box-content{
		height: auto !important;
	}

	.ebg-rqt-modal-left-box-content ul{
		position: relative !important;
		top: unset !important;
		left: unset !important;
	}
    
    .ebg-dev-row li {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .ebg-affiliation-box ul li, 
    .ebg-affiliation-item{
    	margin: 40px 10px !important;
    }
	
	.ebg-home_tabs li a {
		padding: 10px 15px !important;
		display:inline-block;
		font-size: 12px !important;
		line-height: 22px !important;
	}

	.ebg-testimonials-slider .slick-prev:before, 
	.ebg-testimonials-slider .slick-next:before, 
	.sp-testimonial-free-wrapper .slick-next:before, 
	.sp-testimonial-free-wrapper .slick-prev:before {
	    font-size: 20px !important;
	    width: 25px !important;
	    height: 25px !important;
	    padding: 3px 9px !important;
	}

	#sp-testimonial-free-wrapper-625 .sp-testimonial-free-section{
		padding: 0px !important;
	}

	.sp-testimonial-free-section .slick-next{
		right: -27px !important;
	}

	.sp-testimonial-free-section .slick-prev{
		left: -27px !important;
	}

	#why_us ul{
		columns: 1 !important;
    	-webkit-columns: 1 !important;
    	margin: 0px !important;
	}
	.ebg-services-section-three-content ul li{
		    padding: 10px 7px;
	}
}