/*
Theme Name: DNV Cheques
Author: Hemant Aggarwal
Description: A custom WordPress website developed by Hemant Aggarwal
*/

:root {
	--brand-orange: #F47211;
}

@media only screen and (max-width: 1399px) {
	
}
@media only screen and (max-width: 1199px) {
	html, body{
		font-size: 16px;
		line-height: 24px;
	}
	h1 {
		font-size: 36px;
		line-height: 44px;
	}
	h2 {
		font-size: 32px;
		line-height: 40px;
	}
	.how-can-we-help-section i {
		display: inline-block;
		margin-top: 20px;
	}
	.home-banner-content {
		width: 50%;
	}
	a.home-call-to-action {
		position: static;
		max-width: 100%;
		width: 100%;
		border-top-left-radius: 0;
		border-bottom-left-radius: 0;
		padding-right: 25px;
	}
	.home-check-cashing-section img {
		margin-bottom: 20px;
	}
	.service-page-banner-section:after {
		display: none;
	}
	.service-banner-image, .service-banner-content {
		padding-left: 0;
		padding-right: 0;
	}
	.service-banner-content {
		margin-top: 25px;
	}
	.pl-100, .pr-100 {
		padding-right: 0;
		padding-left: 0;
	}
	.single-location-card {
		flex: 1 1 calc(33% - 15px);
	}
	.single-location-map {
		margin: 25px 0;
	}
	.single-location-map .wpsl-map {
		height: 350px !important;
	}
	.single-location-page-content {
		margin: 25px 0;
	}
	.single-location-page-content.pl-25 {
		padding-left: 0;
	}
	.single-location-page-content.pr-25 {
		padding-right: 0;
	}
	.career-form {
		padding-left: 0;
	}
	.simple-locator-section .simple-locator-form .submit button[type="submit"] {
		margin-top: 24px !important;
	}
	.simple-locator-section .wpsl-map {
		width: 60% !important;
	}
	.simple-locator-section .wpsl-results {
		width: 40%;
		padding: 15px;
	}
}

@media only screen and (max-width: 991px) {
	
	img.custom-logo {
		max-width: 190px;
		position: relative;
		top: 8px;
	}
	.header-phone {
		margin-top: 10px;
	}
	.header-phone a {
		color: #fff;
	}
	.nav-menu {
		display: inline-block;
		position: relative;
		z-index: 99;
	}
	.hidden-on-desktop {
		display: inline-block !important;
	}
	button.navbar-toggler {
		position: absolute;
		right: 0;
		top: -25px;
		border-color: #f37021;
	}
	.navbar-toggler-icon {
	  display: block;
	  width: 25px;
	  height: 3px;
	  background: #f37021;
	  margin: 5px 0;
	  transition: all 0.3s ease-in-out;
	}

	.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
		position: relative;
		top: 2px;
	}

	.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:nth-child(2) {
		opacity: 0;
	}

	.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:nth-child(3) {
	  transform: rotate(-45deg) translate(5px, -5px);
	}
	ul.navbar-nav {
		float: none;
		padding: 15px;
	}
	ul.navbar-nav li {
		margin: 0;
	}
	ul.navbar-nav li > a:hover, ul.navbar-nav li.menu-item-has-children:hover:before, ul.navbar-nav .current-page-item > a, ul.navbar-nav .current-page-ancestor > a, ul.navbar-nav .current_page_item > a, ul.navbar-nav .current_page_ancestor > a, ul.navbar-nav .current-menu-item > a, ul.navbar-nav .current-menu-ancestor > a {
		color: #fff !important;
	}
	ul.navbar-nav li a {
		color: #fff !important;
		padding: 0;
		margin: 0;
	}
	ul.navbar-nav li ul.sub-menu,
	ul.navbar-nav > li.menu-item-has-children > ul.sub-menu > li.menu-item-has-children > ul.sub-menu {
		position: static;
		width: auto;
		visibility: visible;
		opacity: 1;
		-webkit-transform: translateY(0px);
		-moz-transform: translateY(0px);
		-ms-transform: translateY(0px);
		transform: translateY(0px);
		padding-top: 0;
	}
	ul.navbar-nav li ul.sub-menu li {
		margin: 0;
	}
	ul.navbar-nav li ul.sub-menu li a {
		color: #fff;
		width: auto;
		background-color: transparent;
		padding: 5px 15px;
		position: relative;
		border: 0;
	}
	ul.navbar-nav li ul.sub-menu li.menu-item-has-children a {
		padding-bottom: 0;
	}
	ul.navbar-nav li ul.sub-menu .sub-menu a {
		font-size: 12px;
		line-height: 14px;
		padding-left: 30px;
	}
	ul.navbar-nav > li.menu-item-has-children > a:after {
		display: none;
	}
	ul.navbar-nav > li > ul.sub-menu > li.menu-item-has-children > a:after {
		display: none;
	}
	ul.navbar-nav li ul.sub-menu li .sub-menu li a {
		padding-top: 0;
	}
	ul.navbar-nav li ul.sub-menu li .sub-menu li:not(:last-child) a {
		padding-bottom: 0;
	}
	ul.navbar-nav li ul.sub-menu ul.sub-menu a:before {
        content: '\f101';
		left: 15px;
	}
	ul.navbar-nav li ul.sub-menu li a:before {
		content: '\f105';
		position: absolute;
		left: 0;
		font-family: 'FontAwesome';
	}
	.navbar-collapse {
		position: relative;
		top: -25px;
		background: #f37021;
		z-index: 1;
	}
	.accordion-btn-wrap {
		width: auto !important;
	}
	ul li.has-subnav .accordion-btn {
		background: transparent;
	}
	
	.footer ul.navbar-nav {
		flex-direction: column;
		text-align: center;
	}
	.home-banner-content {
		width: 70%;
	}
	.orange-ad-image-container img {
		position: static;
	}
	.how-can-we-help-section--home .front-image {
		opacity: 30%;
	}
	.single-page-hero-section h1 {
		padding: 75px 0;
	}
	.locations-card-container {
		gap: 0;
		margin: 25px 0;
	}
	.single-location-card {
		flex: 1 1 calc(50% - 15px);
	}
	.location-page-services-list-container a {
		flex: 1 1 calc(33% - 15px);
	}
	.orange-ad-section, .how-can-we-help-section {
		text-align: center;
	}
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
	.alignright,
	.alignleft {
		text-align: center;
		margin: 20px;
		display: inline-block;
	}
	.single-location-map .wpsl-map {
		height: 300px !important;
	}
}

/*		Mobile Layout: 320px.    */

@media only screen and (max-width: 767px) {
	.bottom-footer > .custom-html-widget {
		flex-direction: column-reverse;
		text-align: center;
	}
	.home-banner-image-container ,
	.home-service-section,
	.orange-ad-section,
	.how-can-we-help-section--home {
		border-top-right-radius: 50px;
	}
	.orange-ad-section {
		padding: 20px;
	}
	.home-service-section,
	.how-can-we-help-section {
		padding: 25px;
	}
	.home-banner-content {
		width: 100%;
		background: rgba(244, 114, 17, 0.5);
		border-top-right-radius: 50px;
	}
	a.home-call-to-action > h3 {
		font-size: 24px;
	}
	.home-service-section {
		background-image: url('');
		background-color: var(--brand-orange);
	}
	.single-service-card {
		margin: 0 20px;
	}
	.single-service-card > .service-provider-logo {
		right: 45px;
		height: 25px;
	}
	.home-check-cashing-section, .testimonial-section, .home-service-section {
		padding: 25px 0;
	}
	.orange-ad-section,
	.how-can-we-help-section,
	.home-ad-container,
	.location-page-banner-section,
	.career-job-details-section,
	.career-form{
		margin: 25px 0;
	}
	.orange-ad-section {
		margin-top: 50px;
	}
	.how-can-we-help-section--home img {
		left 0;
	}
	.single-page-hero-section {
		margin-bottom: 25px;
	}
	.single-page-hero-section h1 {
		padding: 50px 0;
	}
	.single-service-detail-content {
		padding-top: 0;
	}
	.locations-card-container {
		gap: 0;
		margin: 25px 0;
	}
	.single-location-card {
		flex: 1 1 100%;
		margin: 7.5px 0;
	}
	.location-page-services-list-container a {
		flex: 1 1 calc(50% - 15px);
	}
	.single-post-content-section,
	.blog-post-thumbnail img {
		margin: 25px 0;
	}
	.single-location-map .wpsl-map {
		height: 250px !important;
	}
	.simple-locator-section .simple-locator-form .address-input {
		width: calc(100% - 65px) !important;
	}
	.simple-locator-section .wpsl-map {
		width: 100% !important;
		height: 250px !important;
		order: 2;
	}
	.simple-locator-section .wpsl-results {
		width: 100%;
		height: auto;
		order: 3;
	}
}