/* For dropdown menu */
@media only screen and (min-width: 992px) {
	.sub-menu {
		position: absolute;
		list-style: none;
		z-index: 10;
		opacity: 0;
		visibility: hidden;
		padding: 8px 0 10px 0;
		left: 18px;
		width: max-content;
		background-color: #fff;
		border-top: 1px solid red;
		box-shadow: 0px 8px 20px 1px rgb(0 0 0 / 10%);
	}
	.sub-menu li {
		padding: 6px 20px;
    	/*border-bottom: 1px solid rgba(0, 0, 0, 0.3);*/
	}
	.sub-menu li a {
		text-decoration: none;
		color: #000;
		display: block;
		font-weight: 500;
    	font-size: 16px;
	}
	.sub-menu li:hover a {
		color: #ef3f23!important;
	}
	.nav-item:hover .sub-menu {
		perspective: 1000px;
		opacity: 1;
		visibility: visible;
	}
	.nav-item:hover .sub-menu li {
		opacity: 1;
		visibility: visible;
		animation: viewMenu 0.8s ease-in-out forwards;
	}
	.sub-menu li:hover {
		background-color: #fff;
	}
	.sub-menu li:hover a {
		color: #151515;
	}

	@keyframes viewMenu {
		0% {
			opacity: 0;
			transform: rotateX(-90deg);
			transform-origin: top;
		}
		100% {
			opacity: 1;
			transform: rotateX(0deg);
		}
	}
	.hidden-menu, .hidden-menu2 {
		display: none;
	}
}


@media only screen and (max-width: 991px) {
	.dropdown-nav {
		position: relative;
	}
	.hidden-menu, .hidden-menu2 {
		position: absolute;
	    top: 2px;
	    right: 15px;
	    color: #ffffff;
	    height: 30px;
	    width: 30px;
	    background-color: #0a3456;
	    text-align: center;
	    line-height: 30px;
	}
	.sub-drop, .sub-menu {
		position: absolute;
		opacity: 0;
		visibility: hidden;
	}
	.sub-menu-small {
		position: static;
		list-style: none;
		z-index: 10;
		opacity: 1;
		visibility: visible;
		padding: 0;
		width: 100%;
	}
	.sub-menu-small li {
		padding: 0.5rem 1rem 0.5rem 2rem;
		background-color: #fff;
    	border-bottom: 1px solid rgba(0, 0, 0, 0.3);
	}
	.sub-menu-small li a {
		text-decoration: none;
		color: #000;
		display: block;
	}
	.sub-menu-small li:hover {
		background-color: #fff;
	}
	.sub-menu-small li:hover a {
		color: #151515;
	}
	@keyframes viewMenu {
		0% {
			opacity: 0;
			transform: rotateX(-90deg) ;
			transform-origin: top;
		}
		100% {
			opacity: 1;
			transform: rotateX(0);
		}
	}
	

	
}
@media only screen and (max-width: 767px) {
	.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff !important;
    background-color: #e31e24;
    line-height: 30px;
    font-weight: 600;
    margin-bottom: 17px;
}
.nav-pills .nav-link {
    border-radius: 0.25rem;
    border: solid 2px #e31e24;
    color: #424242 !important;
    font-weight: 600;
    line-height: 30px;
    margin-right: 16px;
    margin-bottom: 17px;
}

	.logo-img {
		width: 58px;
		position: absolute;
		z-index: 999;
		margin-top: -28px;
		background-color: #ffffff;
	}

	.hm-mrg-tp {
		margin-top: 60px;
	}

	.why-us-heading {
		padding: 10px;
	}
    
	.why-us-heading h2 {
		color: #093252;
		font-size: 33px;
		background-color: white;
		border-radius: 0 45px;
		padding: 2px 18px;
		margin-top: 18px;
	}
	.service-box {
		margin-bottom: 4rem;
	}
	.commit-txt-box {
		margin-top: 5rem;
	}
	.hm-about-box {
		margin-top: 4rem;
	}

	.commitment-wrapper {
		margin-top: -73px;
	}

	.testimonials-wrapper {
		background-image: url(../img/testimonials-background.jpg);
		background-size: cover;
		background-position: left;
		background-repeat: no-repeat;
	}

	.navbar-nav {
		margin-top: 34px;
	}

	.navbar-light .navbar-toggler {
		color: rgba(0, 0, 0, .5);
		border-color: transparent;
	}

	button:focus {outline:0;}
	.nav-link i {
		display: none;
	}
}

@media only screen and (max-width: 1200px) { 
	.nav-link i {
		display: none;
	}

	button:focus {outline:0;}
	.navbar-nav {
		margin-top: 4rem;
	}
	
	.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff !important;
    background-color: #e31e24;
    line-height: 30px;
    font-weight: 600;
    margin-bottom: 17px;
}
.nav-pills .nav-link {
    border-radius: 0.25rem;
    border: solid 2px #e31e24;
    color: #424242 !important;
    font-weight: 600;
    line-height: 30px;
    margin-right: 16px;
    margin-bottom: 17px;
}
.job-listing {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    border-bottom: solid 1px #1254a0;
    background-color: #0000000d;
    padding: 20px 30px;
    flex-direction: column;
}
}

@media only screen and (max-width: 575px) {
    .digi-modal {
        width: 90vw;
        padding: 4rem 2rem;
    }
    .btn-close-modal {
        font-size: 3rem;
    }
}