/* responsive css */
.mobile-only {
  display: inline;
}

/* Hide on viewport larger than tablet (min-width: 40.0625rem) */
@media (min-width: 40.0625rem) {
  .mobile-only {
    display: none;
  }
}

.tablet-only {
  display: none;
}

/* Show only on viewport within tablet range (min-width: 20rem and max-width: 40.0625rem) */
@media (min-width: 20rem) and (max-width: 40.0625rem) {
  .tablet-only {
    display: inline-flex;
  }
}

.desktop-only {
  display: none;
}

/* Show on viewport larger than desktop (min-width: 64rem) */
@media (min-width: 64rem) {
  .desktop-only {
    display: inline-flex;
  }
}



@media screen and (max-width: 459px) {


	.govuk-header__logotype > img {
		width: 170px;
	}

	.ncc-header-container > * {
		margin-left: .4rem;
	}
	.btn{
		 padding: .5rem .6rem;
		gap: .2rem;

	}
	.btn > span.btn_icon {
		font-size: .8rem;
	  }
	  .btn > span {
		font-weight: 600;
		font-size: .8rem;
	  }

      .ncc-select-width-l{
        width: 100% !important;
    }


  }
  @media screen and (min-width: 459px) {
    .ncc-select-width-l{
        width: 20rem !important;
    }

  }

  @media (min-width: 557px)  {
	.image-container{
		min-width: 10rem;
	  }
	  .card-image-news-content{
		flex-direction: row;
		}
        .ncc-select-width-l{
            width: 20rem !important;
        }

  }

  @media screen and (max-width: 931px) {
    .ncc-header-mobile__border{
      border-bottom: 6px solid var(--primary-color) !important;
      border-top: 6px solid var(--primary-color) !important;
      }
    .ncc-header__border{
      border-bottom: 0px solid var(--primary-color) !important;
      }

      .mega-menu-container{
        margin-right: 0;
        margin-left: 0;
        }

	.govuk-header__logotype > img {
		width: 180px;
	}

	  .btn > span.btn_icon {
		font-size: 1rem;
	  }
	  .btn > span {
		font-weight: 600;
		font-size: .9rem;
	  }
	  .ncc-header-container > * {
		margin-left: .8rem;
	}
}
  @media (min-width: 769px) {

	/* .mobile-only {
	  display: none;
	}
	.desktop-only {
		display: flex !important;
	  } */
	.govuk-accordion__section-footer{
	  padding: 22px;
	}

	/* .search_input_container {
		max-width: auto;
		padding:.6rem;
	  } */

	  .alert_image_container {
		  height: auto;
	  }
	  .carousel-all-updates-link{
		  padding-bottom: 0;
		}

	  .ncc-heading-h1 {
		  font-size: 3rem;
		  line-height: 3rem;
		  margin-bottom: 28px;
		  word-wrap: break-word;
	  }
	  .ncc_header_caption{
		  font-size: 1.5rem;
		  line-height: 2.3613rem;
	  }
	  .ncc-heading-h3{
		font-weight: 900;
		font-size: 1.8rem;
		line-height: 2.5rem;
		word-wrap: break-word;
	  }
	  .ncc-heading-h6_heavy{
		font-weight: 800 !important;
		font-size: 1.125rem !important;
		line-height: 1.537rem !important;
		margin-bottom: .8rem;

	  }

	  .ncc-heading-h5_medium{
		font-weight: 500;
		font-size: 1rem;
		line-height: 1.366rem;
		margin-bottom: .8rem;

	}
	  .ncc-heading-h4{
		font-weight: 900;
		font-size: 1.5rem;
		line-height: 2.049rem;
		word-wrap: break-word;
	  }
	  .ncc-heading-h2{
		font-weight: 900;
		font-size: 2.5rem;
		line-height: 3.415rem;
		word-wrap: break-word;
	  }
	  .ncc-body-lead {
		  font-size: 1.125rem;
		  line-height: 1.75rem;
		  margin-bottom: 20px;
	  }
	  .ncc-link {
		  font-size: 1.125rem;
		  line-height: 1.5rem;
	  }
	  .ncc-link-l {
		font-size: 1.5rem;
		line-height: 2.049rem;
	}
	  .ncc-list{
		list-style: none;
		margin: 2rem 0;
	  }
	  .btn-body{
		  padding: 1rem 1.5rem;
		  border-radius: 8px;
		  cursor: pointer;
		  background-color: #ffffff;
	  }
	  .btn-small{
		padding: 1rem 1.5rem !important;
	  }
	  .ncc-row{
		  flex-direction: row;

	  }
	  .ncc-row-hero > .alert_content_container {
		  width: 60%;
	  }
	  .ncc-row-hero > .alert_image_container {
		  width: 40%;
	  }
	  .ncc-row-fit-content > a{
		  width: fit-content;
	  }
	  .ncc-body{
		  font-weight: 400;
		  font-size: 1.1875rem;
		  line-height: 1.75rem;
		  margin: .8rem 0;
		  color: black !important;
	  }

	.alert_content_container{
	  padding: 1rem 1.5rem 1.5rem 1.5rem;
  }

  .carousel-all-updates-link{
	width: fit-content;
  }

  .hero_banner_padding{
	  padding-bottom: 5rem;
  }

  .ncc-row > * {
	  width: 43%;
  }
  .card{
	  margin-right: 1rem;
	  margin-bottom: .5rem;
  }
  .alert-msgs-continer{
	  flex-wrap: nowrap;

	}
	.carousel-container {
	  flex-basis: 65%;
  }
  .btn-carousel{
	/*padding: 8px;*/
  }
  .card-width-s{
	  width:calc(33.333333% - 22px) !important;
	min-height: 12rem;
  }
  .card-width-l{
	  width: calc(50% - 20px) !important;
  }
  .full-width-mobile{
	  width: fit-content !important;
  }

	.image-container {
	  max-width: 10rem;
	  height: 100%;
  }
  .card-item-link-heading{
	  font-weight: 500;
	  font-size: 1.25rem;
	  line-height: 1.708rem;
	color: black;
  }
  .card-heading{
	  color: var(--primary-color) !important;
	  font-size: 1.5rem;
	  line-height: 2.049rem;
	  font-weight: 900;
  }
  .card-news > a.card-item-link {

	gap: 1.5rem;
  }

  .footer-icons_style{
	  font-size: 1.8rem;
	  color: black;
  }
  .footer_image_container > img{
	  width:160px
  }
  .footer-icons{
	  display: flex;
	  gap:2rem;
	  justify-content: flex-end;
  }


   /* catogery pages css */
   .catagory_banner_container{
	min-height: 18.625rem;
  }
  .catagory_banner_content{
	padding: 4rem 0;
  }

  .service-list-container{
	margin: 2rem 0;
  }

  .services-heading{
	font-size: 2rem;
	line-height: 2.5rem;
	margin-bottom: 1.3rem
  }
  .feedback-card-heading{
	margin-bottom: 1.5rem;
  }
  .feedback-card-button{

  }
  .contact-card-item > p.ncc-heading-h6_heavy {
	flex-basis: 48%;
  }
  .contact-card{
	padding: 1.25rem;
	margin: 1.5rem 0;
  }
  .contact-card-item{
	margin: 1rem 0;
  }

  .ncc-select-width-l{
	width: 20rem !important;
}
.contact-info-card{
	flex-direction: row;
	padding: 1rem 1rem .5rem .5rem;
  }

.contact-info-card > .contact-info-heading{
	width: 45%;
	padding-right: 1rem;
}
.contact-info-card > .contact-info-content{
	width: 50%;
}

  /* ends here */

  }

  @media (min-width: 836px){
	.menu-tablet-only{
	  display: none !important;
	}
	.menu-desktop-only{
	  display: flex;
	}
  }

  @media (min-width: 1135px) {
	.menu-tablet-only{
		display: none;
	  }
	.ncc-row-hero > .alert_content_container {
		width: 50%;
	}
	.ncc-row-hero > .alert_image_container {
		width: 50%;
	}
	.alert_content_container{
		padding: 1rem 2.5rem 2.5rem 2.5rem;
	}
	.ncc-heading-h1 {
		font-size: 3.5rem;
		line-height: 4.5rem;
		margin-bottom: 30px;
	}
	.ncc-row > * {
		width: 46%;
	}
	.govuk-width-container{
		 max-width: 1100px;
	}
	.news-heading{
	  font-weight: 600;
	  font-size: 20px;
	  line-height: 27.32px;
	  color: var(--primary-color);
	}

  .width-container {
    max-width: 1100px;
    margin: 0 auto;
  }




  .slider{
	 display: flex;
	align-items: left;
	justify-content: center;
	transition: all 0.3s;
	gap:1rem;
  }
  .slider .carousel-item{
	flex-basis: 100%;
	text-align: left;

	justify-content: center;
    overflow: hidden; /* Hide overflow */
    white-space: nowrap; /* Prevent text wrapping */
    text-overflow: ellipsis; /* Show ellipsis for overflow */
  }
  .carousel-item > p{
	margin: 0 3rem;
  }
  .btn-carousel{
	/*padding: 10px;*/
  }
  .govuk-accordion{
	width: 98%;
	margin: 1.5rem 0;
	word-wrap: break-word;
  }
  .ncc-arrow-link{
	display:inline-block;
	color: var(--primary-color);
	padding-right: .7rem;
	font-size: 1.4rem;
	font-weight: 700;
  }
  .btn-body{
	padding: 1.25rem 1.5rem;
	border-radius: 8px;
	cursor: pointer;
	background-color: #ffffff;
}
  a.btn-body{
	padding: 1.25rem 1.5rem;
  }
  .card-news{
	padding: 3rem;
	gap:2rem;
  }
  .card-image-news-content{
	gap:2rem;
	}
    .ncc-select-width-l{
        width: 25rem !important;
    }
}


  /* ends here */
