@media (max-width: 991px) {
    
    body .uwy.userway_p1 .userway_buttons_wrapper {
        top:9px !important;
        width: 40px;
        height: 40px;
        left: auto;!i;!;
        right: 0;
    }
    .uwy .uai img:not(.userway_check_on), .uwy .ulsti img:not(.userway_check_on), body .uwy .uai img:not(.userway_check_on), body .uwy .ulsti img:not(.userway_check_on), body .uwy .uai, body .uwy .ulsti {
        width: 32px !important;
        height: 32px !important;
    }
    #userwayAccessibilityIcon.uai userway_dark {
    background-color: red !important;
}
  /* header */

  header .navbar .navbar-brand {
    padding-top: 0;
  }

  header .navbar .navbar-brand img {
    position: relative;
    max-width: 230px;
    width: 100%;
    padding-top: 3.5rem;
  }

  .header-wrap::after {
    content: "";
    position: absolute;
    top: 48px;
    width: 100%;
    height: 1px;
    background-color: #dee2e6;
  }

  .navbar-toggler {
    position: absolute;
    left: 0px;
    top: 4px;
    padding-left: 0;
  }

  header.fixed {
    padding-bottom: 12px;
  }

  header .top-bar {
    position: absolute;
    top: 3px;
    right: 0;
    display: none;
  }

  header .navbar-light .navbar-nav .nav-item {
    width: 100%;
    margin: 5px 0;
  }

  header .menu-wrap .top-nav .nav-link {
    border-right: 0;
  }
  header .navbar {
    padding: 0.5rem 0 !important;
  }

  .navbar-nav {
    flex-direction: column;
    display: flex;
    flex-wrap: nowrap;
    height: 100vh;
    justify-content: flex-start;
    padding-top: 3rem;
  }

  /* header wrap expanded */

  .header-wrap-expanded {
    background-color: rgba(var(--primary-color), 1) !important;
  }

  header .lang-sel,
  header .contact {
    display: block;
  }
  header .search {
    /* display: none; */
  }

  .header-wrap-expanded .lang-sel,
  .header-wrap-expanded .contact {
  width: 100%;
  display: flex;
  flex-direction: column;
  }

  .header-wrap-expanded .search {
    /* display: none; */
    width: 100%;
  }

  .header-wrap-expanded .menu-wrap .top-nav {
    /* display: none; */
  }

  .header-wrap-expanded .top-bar {
    top: auto;
    bottom: 144px;
    width: 100%;
    display: block;
    position: absolute;
    /* bottom: 0; */
    z-index: 9999999;!i;!;
    left: 0;!I;!;
    right: auto;
  }

  .header-wrap-expanded .menu-wrap .top-nav .nav-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 0;
  }
  header .navbar-light .navbar-nav .nav-item::before {
    background-color: rgb(255, 255, 255, 30%);
  }

  .header-wrap-expanded .nav.top-nav .nav-item:last-child:last-child .nav-link {
    border-bottom: none;
  }

  .header-wrap-expanded .search .search-btn {
    padding-left: 0;
  }

  header .search .search-input-elm {
    max-width: 250px;
    top: 4px;
    right: 0;
  }

  .header-wrap-expanded .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0.5rem 0rem;
  }

  .header-wrap-expanded .menu-wrap .top-nav .nav-link {
    padding: 0.7rem 0rem;
  }

  .header-wrap-expanded .navbar-light .dropdown-menu {
    left: 0 !important;
  }

  .header-wrap-expanded .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0.8rem 0rem;
    padding-bottom: 0.2rem;
  }

  .header-wrap-expanded .navbar-light .navbar-nav .nav-item {
    margin-bottom: 0;
  }

  .header-wrap-expanded .navbar-nav {
    padding-top: 2rem;
  }

  .header-wrap-expanded .navbar-nav .nav-item .dropdown-menu li::before {
    content: "\f30b";
    font-family: "Line Awesome Free";
    font-weight: 900;
    position: absolute;
    left: 4px;
    font-size: 1rem;
    opacity: 0.4;
    color: #fff;
    margin-top: 0.35rem;
  }

  .header-wrap-expanded .navbar-light .dropdown-menu {
    padding-right: 0;
    margin-top: 0;
    padding-top: 0.4rem;
  }

  .header-wrap-expanded .navbar-light .dropdown-item .la-angle-right {
    right: 0;
  }

  .header-wrap-expanded .navbar-toggler {
    position: absolute;
    right: -10px;
    top: 3px;
    right: auto;
  }

  .header-wrap-expanded .navbar-toggler .la-bars::before {
    content: "\f00d";
  }

  /* page banner */
  .page-banner .page-banner-content .bannner-title {
    font-size: 2rem;
  }

  .page-banner .page-banner-content .bannner-description {
    font-size: 1.5rem;
  }
}

@media (max-width: 767px) {
  /* general */

  .section-spacer {
    padding: 4rem 0;
  }

  /* page banner */

  .page-content .wrapper:first-child {
    margin-top: -7.5rem;
    position: relative;
  }

  .page-banner-content {
    padding-bottom: 6.25rem !important;
  }

  .page-banner .page-banner-content .bannner-title {
    font-size: 1.75rem;
  }

  .page-banner .page-banner-content .bannner-description {
    font-size: 1.25rem;
  }

  /* Footer */
  footer .footer-top .footer-logo {
    width: 300px;
    margin-bottom: 1.25rem;
  }

  footer .footer-top {
    padding-bottom: 0;
  }

  footer .footer-top .footer-logo img {
    display: block;
  }

  .footer-top .footer-top-right .follow-us .social-media {
    gap: 0.5em;
    font-size: 1.25rem;
  }

  .footer-top-right {
    width: 100%;
  }

  footer .footer-middle ul {
    flex-direction: column;
  }

  footer .footer-middle ul li a,
  footer .footer-bottom ul li a {
    border-right: none;
    display: block;
    padding-bottom: 1rem;
  }

  footer .footer-middle {
    border-bottom: none;
  }

  footer .footer-middle ul li a {
    border-bottom: 1px solid #fff;
  }

  footer .footer-middle ul:first-of-type li:first-child a,
  footer .footer-middle ul:nth-of-type(2) li:nth-child(2) a,
  footer .footer-middle ul:nth-of-type(3) li:nth-child(3) a,
  footer .footer-middle ul:nth-of-type(3) li:last-child a {
    border-bottom: none;
    display: inline;
  }

  footer .footer-bottom ul li a {
    border-bottom: 1px solid #fff;
  }

  footer .footer-bottom ul li:last-child a {
    border-bottom: none;
  }

  footer .footer-bottom {
    flex-direction: column;
    align-items: baseline !important;
  }

  footer .footer-bottom ul {
    flex-direction: column;
    width: 100%;
  }

  footer .footer-bottom {
    padding-top: 3.5rem;
  }

  /************* Home - Banner ***************/
  .home .landing .landing-caption h3 {
    font-size: 2rem;
    margin-bottom: 30%;
  }

  .home .landing .landing-caption {
    margin-bottom: 15%;
  }

  /************* Home - About ***************/
  .home .about .about-content {
    padding: 3rem 0;
  }

  .home .about .about-content .about-info h4 {
    font-size: 2.5rem;
  }

  .home .about-service {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  .home .about .about-service .about-img {
    height: 64px;
    width: auto;
  }

  /************* Home - Product ***************/
  .home .product .section-header h6 {
    margin-bottom: 0.5rem !important;
  }

  /************* Home - Services ***************/
  .home .services .services-wrap {
    flex-direction: column-reverse;
  }

  .home .services .services-content h5 {
    font-size: 2.5rem;
  }

  .home .services .services-wrap .services-content {
    margin-bottom: 1.5rem;
  }

  .home .services .service-image img {
    width: 100%;
  }

  /************* Home - Our Partners ***************/
  .home .our-partners.section-spacer {
    padding: 4rem 0rem 7rem 0rem;
  }

  .partners .owl-nav,
  .latest-news .owl-nav {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.2rem;
  }

  .home .our-partners .btn-wrap {
    position: absolute;
    bottom: 3rem;
  }

  /************* Home - sustainability ***************/
  .home .sustainability h5 {
    font-size: 2.5rem;
    margin-bottom: 0.625rem;
  }

  .home .sustainability p {
    margin-bottom: 1.5rem;
  }

  .home .sustainability::before {
    background: url(../images/cloud-2.png) left center / 130px no-repeat;
    bottom: -25px;
    width: 130px;
    height: 130px;
  }

  .home .sustainability {
    height: auto;
  }

  .home .sustainability-box .sustainability-desc {
    font-size: 0.875rem;
  }

  /*************  sustainability ***************/
  .sustainability .sustainability-content .sustainability-left {
    margin-bottom: 2rem;
  }

  /*************  contact ***************/

  .contact .contact-left {
    margin-bottom: 1.5rem;
  }

  /*************  News ***************/

  .news .news-listing .news-listing-content h5 {
    margin: 1rem 0rem 0.5rem 0rem;
    font-size: 1.1rem;
  }

  .news .news-listing .news-listing-content img {
    width: 100%;
  }

  /*************  Gallery ***************/

  .gallery .row .card {
    border-bottom: 1px solid rgba(211, 208, 243, 1);
  }

  .gallery .gllery-listing .card .card-body .card-desc {
    max-width: 80%;
  }

  .gallery .gllery-listing .card .card-body .icon {
    max-width: 20%;
  }

  .gallery .gllery-listing .card h5 {
    font-size: 1.1rem;
  }

  .gallery .youtube .youtube-content {
    padding: 0 1rem !important;
  }

  /*************  Gallery-Detail ***************/

  .gallery-detail .gallery-detail-content .share-wrap {
    right: 1rem;
  }

  .gallery-detail .gallery-detail-content .owl-number-counter {
    top: -80px;
    left: 20px;
  }

  .gallery-detail .gallery-detail-content .owl-nav {
    top: -80px;
    right: 20px;
  }

  .gallery-detail .gallery-detail-content .shareon {
    /* display: flex;
    right: -19px;
    position: absolute;
    gap: 16px; */
  }

  /*************  Governance  ***************/

  .governance .governance-content .governance-img {
    margin-bottom: 1.5rem;
  }

  /*************  Al Masaood Group  ***************/

  .almasood-group .almasood-group-content .group-img {
  }

  /* media-detail */

  .media-detail .media-detail-content .media-description {
    margin-bottom: 4.5rem;
  }

  .media-detail
    .media-detail-content
    .related-news
    .card
    .card-body
    .card-title {
    margin: 0.75rem 0;
  }

  /************* Our divsion ***************/

  .our-division .our-partners.section-spacer {
    padding: 6rem 0;
  }

  .our-division .our-disvision-content .division-banner {
    margin-bottom: 1.5rem;
  }

  .our-division .our-partners .section-heading {
    margin-bottom: 1.5rem !important;
  }

  .our-division .our-partners .section-heading h5 {
    margin-bottom: 0;
  }

  .our-division .our-partners .btn-white {
    position: absolute;
    bottom: 2.5rem;
    left: 1rem;
  }

  /************* Our management ***************/

  .our-management .our-management-content .card .card-title {
    margin: 1rem 0;
  }

  /************* Our partners ***************/

  .our-partners .our-partners-content .partner-item:last-child {
    margin-bottom: 0;
  }

  /************* Products ***************/

  .products .equipments {
    padding-bottom: 2rem;
  }

  .products .equipments .equipment-content h5 {
    margin: 1rem 0;
  }

  .products .equipments .equipment-content .btn-primary {
    margin-bottom: 1rem;
  }

  .products .equipments .equipment-content {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .rotational-equipment-banner::after {
    width: 600px;
  }

  .process-equipment-banner::after {
    right: -80px;
    bottom: -90px;
  }

  .valves-actuators-banner::after {
    width: 450px;
  }

  .static-equipment-banner::after {
    width: 450px;
    right: 0;
  }

  /************* Group History ***************/

  .group-history .our-timeline .timeline-heading {
    font-size: 2rem !important;
  }

  .group-history .group-history-content .history-img {
    margin-bottom: 1.5rem;
  }

  .horizontal-timeline .events-content li .card .card-title {
    margin-top: 1rem;
  }

  .horizontal-timeline .events-content li .card img {
    margin-bottom: 1rem;
  }
}
