:root {
  --brand-color: #dc3545;
}

.md-page h2 {
  font-size: 38px;
}

.br2 {
  border-bottom: 2px solid #ff6217;
  width: 80%;
}

p {
  color: #000;
}

.c-b {
  color: #000;
}
.navbar-brand {
  margin: 0px 0px;
  padding: 0;
  width: 150px;
  position: relative;
  margin-top: 20px;
}
.fixedmenu a.navbar-brand {
  margin-top: 0px;
}
.companies .item,
.companies .item2 {
  padding: 70px 30px;
  display: block;
  text-align: center;
  color: #fff;
  margin-top: -80px;
}
.companies .item {
  background: #1f2e38;
}
.companies .item2 {
  background: #ca0007;
}
.companies .col-md-3 {
  padding: 0px;
}
.companies .item a,
.companies .item2 a {
  font-size: 14px;
  font-weight: 700;
  margin-top: 10px !important;
  display: block;
}
.companies .item,
.companies .item2 {
  height: 225px;
}

.gradient-btn {
  -webkit-background-size: 200% auto;
  background-size: 200% auto;
  background-image: -webkit-gradient(
    linear,
    left top,
    right top,
    from(#ffab02),
    color-stop(51%, #1f2e38),
    to(#ffab02)
  );
  background-image: -webkit-linear-gradient(
    left,
    #ffab02 0%,
    #1f2e38 51%,
    #ffab02 100%
  );
  background-image: -moz-linear-gradient(
    left,
    #ffab02 0%,
    #ffda00 51%,
    #ffab02 100%
  );
  background-image: -o-linear-gradient(
    left,
    #ffab02 0%,
    #ffda00 51%,
    #ffab02 100%
  );
  background-image: linear-gradient(
    to right,
    #ca0007 0%,
    #1f2e38 51%,
    #ca0007 100%
  );
  color: #fff;
}

.product-content h4 {
  color: #ca0007;
}
.product-content a.p-link {
  color: #000;
  font-weight: 500;
  font-size: 13px;
  border-bottom: 1px solid var(--brand-color);
  padding-bottom: 3px;
}
.m-block h3 {
  font-size: 36px;
}
.fixedmenu a.navbar-brand::after {
  content: "Nexus Group";
  display: inline;
  font-size: 22px;
  padding-left: 10px;
  font-weight: 700;

  color: #000;
}

a.navbar-brand::after {
  content: "Nexus Group";
  display: inline;
  font-size: 25px;
  font-weight: 700;
  margin-left: -15px;
  color: #fff;
}

.page-bg-padding {
  padding: 9rem 0rem;
}
@media only screen and (min-width: 1200px) {
  a#sidemenu_toggle {
    display: none !important;
  }
}

.hover-effect:hover::after,
.hover-effect:hover::before {
  height: 100%;
  opacity: 0;
  width: 100%;
}
.hover-effect::before {
  right: 0;
  opacity: 1;
  top: 0;
}
.hover-effect::before,
.hover-effect::after {
  content: "";
  background: #fff;
  height: 0;
  width: 0;
  z-index: 1;
  position: absolute;
  -webkit-transition-duration: 1.3s !important;
  -o-transition-duration: 1.3s;
  transition-duration: 1.3s !important;
}
a,
*::before,
*::after,
img,
span,
input,
button,
.navbar,
.fixedmenu,
.tp-bullet,
.owl-dot,
.owl-prev,
.owl-next {
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
*,
::after,
::before {
  box-sizing: border-box;
}
.hover-effect:hover::after,
.hover-effect:hover::before {
  height: 100%;
  opacity: 0;
  width: 100%;
}
.hover-effect::after {
  bottom: 0;
  opacity: 0.7;
  left: 0;
}
.hover-effect::before,
.hover-effect::after {
  content: "";
  background: #fff;
  height: 0;
  width: 0;
  z-index: 1;
  position: absolute;
  -webkit-transition-duration: 1s !important;
  -o-transition-duration: 1s;
  transition-duration: 1s !important;
  margin-top: -80px;
}

.bgred {
  background: var(--brand-color);
}
.footer-contact-info {
  padding: 40px;
}

/*.nav-link {*/
/*    display: inline-block;*/
/*    color: #000;*/
/*    text-decoration: none;*/
/*}*/

/*.nav-link::after {*/
/*    content: '';*/
/*    display: block;*/
/*    width: 0;*/
/*    height: 2px;*/
/*    border-radius: 15px;*/
/*    background: #fff;*/
/*    transition: width .3s;*/
/*}*/

/*.nav-link:hover::after {*/
/*    width: 100%;*/
/*    transition: width .3s;*/
/*}*/

/*.active::after {*/
/*    content: '';*/
/*    display: block;*/
/*    width: 0;*/
/*    height: 2px;*/
/*    border-radius: 15px;*/
/*    background: #fff;*/
/*    transition: width .3s;*/
/*}*/

/*.active:hover::after {*/
/*    width: 100%;*/
/*    transition: width .3s;*/
/*}*/

/*a.nav-link.active {*/
/*    border-bottom: 2px solid #fff;*/
/*}*/
/*a.nav-link:hover{*/
/*    border-bottom: 2px solid #fff;*/
/*}*/
.navbar-nav .nav-link {
  position: relative;
  display: inline-block;
  padding-bottom: 10px; /* Adjust as needed */
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px; /* Height of the animated border */
  background-color: #fff; /* Color of the animated border */
  transition: width 0.3s ease; /* Animation duration and easing */
}

.navbar-nav .nav-link:hover::after {
  width: 100%; /* Expand the width of the border on hover */
}
.navbar-nav .nav-link.active::after {
  width: 100%; /* Expand the width of the border for active link */
}
.footer-contact-info h5 {
  color: #ca0007;
}
.process-block p {
  margin-bottom: 0;
  background: #ca0007;
  color: #fff;
  text-align: center;
  padding: 2px;
  font-size: 16px;
  font-weight: 600;
}
.process-block:hover {
  /* box-shadow: 0px 0px; */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  -moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
  transition: 0.5s;
}
.achive-block {
  box-shadow: 0px 0px 4px 0px #ccc;
}
.achive-block:hover {
  /* box-shadow: 0px 0px; */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  -moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
  transition: 0.5s;
}

/*Career*/

.card-body {
  padding-top: 1.85rem;
  padding-bottom: 1.35rem;
  background: #fff;
  border-radius: 10px;
}
.news-section h3 {
  font-weight: 700;
  font-size: 22px;
}
.dropdown-menu .dropdown-item:hover {
  color: #fff !important;
  background: rgb(46, 49, 146);
  background: linear-gradient(90deg, #ca0007 0%, #ffda00 100%);
}
.dropdown-menu .dropdown-item {
  background: transparent;
  font-weight: normal;
  font-size: 14px;
  padding: 5px 20px 5px 20px;
  line-height: 25px;
}
.div-block .title {
  color: #ca0007;
  font-size: 28px;
  font-weight: 600;
}
.div-block .title2 {
  color: #000;
  font-size: 24px;
  font-weight: 600;
}
#machine-list {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

#machine-list td,
#machine-list th {
  border: 1px solid #ddd;
  padding: 8px;
  color: #000;
}

#machine-list tr:nth-child(even) {
  background-color: #f2f2f2;
}

#machine-list tr:hover {
  background-color: #ddd;
}

#machine-list th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #ca0007;
  color: white;
}
.buyer-item img {
  border: 1px solid #ccc;
}
.buyer-item img {
  border: 1px solid #e3e3e3;
  transition: 0.5s;
}
.buyer-item img:hover {
  transition: 0.5s;
  margin-top: -5px;
  box-shadow: 0px 0px 5px 6px #e9e9e9;
  cursor: pointer;
}
.bg-light2 {
  background: #fbfaf8;
}
.message-content {
  padding: 100px 0px 70px 0px;
}
.c-bl {
  color: #003963;
}
.text-6 {
  font-size: 20px;
}
.bg-red {
  background: #5e0000 !important;
}
.name-section {
  padding: 0px 0px 0px 120px;
}
.name-section p {
  color: #c1c1c1;
  margin-top: -10px;
}
.name-section h2 {
  margin: 0px 200px 0px 0px;
}

h2.text-capitalize.font-bold.whitecolor.text-center {
  text-shadow: rgb(0, 0, 0) 3px 5px 2px;
  font-size: 45px !important;
  font-weight: 800 !important;
  line-height: 70px !important;
}
/*h2.text-capitalize.font-bold.whitecolor.text-center {*/
/*    text-shadow: rgb(0, 0, 0) 1px 4px 5px;*/
/*    font-size: 45px !important;*/
/*    font-weight: 800 !important;*/
/*        line-height: 70px !important;*/
/*}*/

/*h2.heading-title-small {*/
/*    font-size: 2.45rem ! IMPORTANT;*/
/*    text-shadow: rgb(0, 0, 0) 1px 4px 5px;*/
/*    font-weight: 900 !important;*/
/*    padding: 20px ! IMPORTANT;*/
/*        line-height: 70px !important;*/
/*}*/
h2.heading-title-small {
  font-size: 2.45rem !important;
  text-shadow: rgb(0, 0, 0) 3px 5px 2px;
  font-weight: 900 !important;
  padding: 20px !important;
  line-height: 10px !important;
}

.gy-3 {
  margin-top: -0.75rem;
}
.gy-3 > * {
  margin-top: 0.75rem;
}
.gy-4 {
  margin-top: -1rem;
}
.gy-4 > * {
  margin-top: 1rem;
}

.container-xl {
  width: 100%;
  padding-right: 155px;
  padding-left: 155px;
  margin-right: auto;
  margin-left: auto;
}

.portfolio {
  display: flex;
  flex-wrap: wrap;
  min-width: 320px;
}

.portfolio h2 {
  flex-basis: 100%;
  text-align: center;
  margin: 50px auto 30px;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 2px;
  color: #111;
}
.card-box {
  width: 33.3%;
  overflow: hidden;
  position: relative;
  padding: 10px;
}
.card-box .content {
  z-index: 2;
  width: 90%;
  position: absolute;
  bottom: -100px;
  transition: all 0.7s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  padding: 16px 0px 2px 0px;
  background: #a31a1a;
  margin-left: 9px !important;
}
.card-box .image {
  z-index: 1;
  height: 100%;
}
.card-box img {
  height: 100%;
  width: 100%;
  transition: all 0.5s ease;
  transform: scale(1.2);
}

.card-box:hover .content {
  bottom: 0px;
  color: #fff;
}

.card-box:hover .image img {
  transform: scale(1);
}

.card-box .content span {
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  color: #fff;
  font-size: 11px;
}

@media screen and (max-width: 768px) {
  .card-box {
    width: 50%;
  }
  .card-box .content {
    bottom: 0;
  }
}

@media screen and (max-width: 480px) {
  .card-box {
    width: 100%;
  }
}

.br {
  border-bottom: 2px solid #ff6217;
}

@media screen and (max-width: 1310px) {
  .navbar-brand {
    width: 80px !important;
  }
  .navbar-nav .nav-link {
    font-size: 14px;
    margin: 16px 12px;
  }
  a.navbar-brand::after {
    content: "Nexus Group";
    display: inline;
    font-size: 18px;
    font-weight: 700;
    margin-left: -15px;
    color: #fff;
  }
}
@media screen and (max-width: 1380px) {
  .navbar-brand {
    width: 80px !important;
  }
  .navbar-nav .nav-link {
    font-size: 14px;
    margin: 16px 12px;
  }
  a.navbar-brand::after {
    content: "Nexus Group";
    display: inline;
    font-size: 18px;
    font-weight: 700;
    margin-left: -15px;
    color: #fff;
  }
}
@media screen and (max-width: 600px) {
  .companies .item,
  .companies .item2 {
    margin-top: 0px !important;
  }
  .heading-title h2 {
    text-align: center;
  }

  .message-content p.bottom35 {
    text-align: center;
    margin-top: -23px;
    margin-bottom: 30px;
  }

  .name-section {
    text-align: center !important;
    order: 2 !important;
    position: relative;
    background-color: #333;
    color: #fff;
    align-items: center;
    /* justify-content: center; */
    animation: revealName 2s forwards;
    padding-top: 10px !important;
    /* display: block; */
  }
  .img-sec {
    order: 1;
    padding: 0px 50px;
  }
  .name-section h2 {
    margin: 0px !important;
  }
  .name-section {
    padding: 13px;
  }
  .name-section p {
    margin-top: -10px;
    text-align: center !important;
  }
  .process-block {
    text-align: center;
    margin-bottom: 20px;
  }

  .process-block img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .process-title {
    text-align: center;
    font-size: 1.2em; /* Adjust the font size as needed */
    color: #333; /* Adjust the color as needed */
  }
}

/*.overlay-c{*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*  background: rgb(0,0,0);*/
/*background: linear-gradient(180deg, rgb(0 0 0 / 19%) 100%, rgb(255 255 255 / 0%) 100%) !important;*/
/*z-index: 1; /* Ensure the overlay is above the background image 
/*    transition: .9s !important;*/
/*}*/

.pagination li > a,
.pagination li > .page-link,
.pagination li:first-child a,
.pagination li:last-child a,
ul.rounded li::before,
.webcats li a::before,
.eny_profile .profile_photo > img,
.single_post .post > img {
  border-radius: 50% !important;
}

.page-item.active .page-link {
  background-color: var(--brand-color);
  border-color: var(--brand-color);
}
