:root {
  /* --primary-color: #0C356A; */
  --primary-color: #B85042;
  /* --secondary-color: #FFF0CE; */
  --secondary-color: #E7E8D1;
  /* --hover-color: #F6F4EB; */
  /* --tertiary-color: #028391; */
  --tertiary-color: #A7BEAE;
  --background-color: #ffffff;
  --text-color: #333333;
}

input,
select {
  border: none !important;
  /* Remove all borders */
  border-bottom: 1px solid #000 !important;
  /* Add a bottom border */
  text-transform: uppercase;
  /* Convert all characters to uppercase */

}

input::-webkit-input-placeholder {
  text-transform: none;
}

input::-moz-placeholder {
  text-transform: none;
}

input:-ms-input-placeholder {
  text-transform: none;
}

input::-ms-input-placeholder {
  text-transform: none;
}

input::placeholder {
  text-transform: none;
}

/* [data-theme="dark"] {
    --primary-color: #1abc9c;
    --secondary-color: #e74c3c;
    --background-color: #2c3e50;
    --text-color: #ecf0f1;
  } */

/* body {
    background-color: var(--background-color);
    color: var(--text-color);
  }
  
  button {
    background-color: var(--primary-color);
    color: var(--text-color);
  }
  
  button.secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
  } */
/* =========================MAIN COLOR===================================   */



body {
  margin-bottom: 60px;
  /* Space for the footer */
}

.header {
  position: static;
  top: 0px;
  left: 0px;
  right: 0px;
  width: 100%;
  /* background-color: #2E6DA4; */
  /* background-color: #5BBCFF; */
  background-color: var(--primary-color) !important;
  /* border-bottom: 2px solid black; */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 5px 15px 10px 0px;
  z-index: 1;
}

.header img {
  max-height: 80px;
  /* width: 80%; */
  margin-left: 20px;
  max-width: 100%;
  height: auto;
}

.header .title {
  text-align: right;
  color: white;
  font-size: 1.7em;
  font-family: initial;
  font-weight: 500;
  flex: 1;
  width: 100%;
}

.fixed-footer {
  overflow: none;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #333;
  /* background-color: var(--tertiary-color) !important; */
  color: #DCDCDC;
  /* text-align: center; */
  padding: 10px 0;
  font-family: 'Roboto', sans-serif;
  /* position: absolute; */
  z-index: 100;

}

.footer-right {
  float: right;
  text-align: right;
}

/* Responsive styles for tablets and larger screens */
@media (min-width: 350px) {
  .header .title {
    font-size: 0.5em;
  }

  .fixed-footer {
    font-size: x-small;
    bottom: 0px;
    z-index: 100;
    position: fixed;
  }

  .footer-right {
    float: none;
  }

  .welcome-image {
    width: 100%;
  }
}

/* Responsive styles for laptops and larger screens */
/* @media (min-width: 992px) {
    .header .title {
        font-size: 0.8em;
    }
}  */

/* Responsive styles for desktops and larger screens */
@media (max-width: 1980px) {
  .header .title {
    font-size: 1.7em;
  }
}

/* Responsive styles for mobile devices */
/* @media (max-width: 767px) {
    .header .title {
        font-size: 1.2em;
    }  
 } */
.top-nav-bar {
  /* overflow: hidden; */
  width: 100%;
  min-height: 55px;
  z-index: 2;
  /* position: absolute; */
  position: unset;
}

/* Hamburger toggle button (visible on mobile only) */
.top-nav-bar .navbar-toggler {
  border: 1px solid var(--primary-color);
  border-radius: 0.25rem;
  margin: 5px 10px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--tertiary-color);
}

.top-nav-bar .navbar-toggler .menu-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #000;
}

.top-nav-bar .navbar-toggler-icon {
  width: 1.3em;
  height: 1.3em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.top-nav-bar .navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.nav-pills .nav-link {
  background-color: var(--tertiary-color) !important;
  border-radius: 0rem !important;
  margin: 3px 2px 5px 2px;
}

.top-nav-bar a {
  color: black !important;
  border: 1px solid black !important;
}

.nav-pills .nav-link.active {
  background-color: var(--secondary-color) !important;
  color: var(--background-color) !important;
}

.top-nav-bar a:hover {
  background-color: var(--secondary-color) !important;
  /* color: white !important; */
}

.alegreya-italic {
  font-family: "Alegreya", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: italic;
}

.welcome-image {
  z-index: -100;
  width: 100%;
  /* position: absolute; */
}

.card {
  background-color: var(--secondary-color) !important;
  text-align: justify;
}

.advt-list {
  padding-left: 150px;
  padding-right: 50px;
}

.card-text {
  text-align: justify;
}

.btn-danger {
  color: #fff;
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.nav-tabs .nav-link.active {
  /* background: var(--tertiary-color) !important; */
  background-color: var(--primary-color) !important;
  /* color: var(--primary-color) !important; */
  color: #fff;
}

.latest-news {
  border-left: 1.5px dotted var(--primary-color) !important;
  border-right: 1.5px dotted var(--primary-color) !important;
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
  border-collapse: unset;
}

.latest-news td {
  border-bottom: 1.5px dotted var(--primary-color) !important;
  line-height: 2.5em;
}

.nav-tabs {
  border-bottom: 1px dotted var(--primary-color);
}

.pdf-container {
  width: 100%;
  height: 100vh;
  border: none;
}

.instruction {
  background-color: var(--secondary-color);
  padding: 50px 50px 50px 50px;
  text-align: justify;
}

.bd-example {
  padding: 1.5rem;
  margin-right: 0;
  margin-left: 0;
  border-width: 1px;
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem;
  border: double var(--primary-color);
  margin: 1rem -.75rem 0;
  position: relative;
}

.content {
  padding: 0px 10px 10px 10px;
}

.list-group-item.active {
  z-index: 2;
  color: var(--background-color);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.list-group-item {
  text-align: justify;
}

.reg-inst li {
  padding-bottom: 10px;
}

.registration-image {
  width: inherit;
}

.registrationForm .row {
  padding: 5px 0px 5px 15px;
}

.registrationForm {
  width: -webkit-fill-available;
  width: -moz-available;
}

.password input {
  text-transform: none;
}

.primary-color {
  color: var(--primary-color);
}

.li-details {
  font-size: small;
  padding-left: 22px;
  color: gray;
}

.left-sidebar-acctive {
  background-color: var(--secondary-color);
}

.left-sidebar .step-nav-item {
  padding: 0;
}

.left-sidebar .step-nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: inherit;
  text-decoration: none;
}

.left-sidebar .step-nav-link:hover {
  color: inherit;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.04);
}

.left-sidebar .step-nav-item.left-sidebar-acctive .step-nav-link:hover {
  background-color: transparent;
}

.left-sidebar .step-nav-item-disabled {
  opacity: 0.65;
}

.left-sidebar .step-nav-link.disabled,
.left-sidebar .step-nav-link.disabled:hover {
  display: block;
  padding: 0.5rem 1rem;
  color: #999;
  cursor: not-allowed;
  background-color: transparent;
}

.heading-title {
  background-color: var(--primary-color);
  color: var(--background-color);
  /* color: black; */
  vertical-align: center;
  padding: 10px 0px 15px 25px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  margin-right: -15px;
  margin-left: -15px;
}

.mand {
  color: red;
}

.error-msg {
  color: red;
  font-size: .75rem;
  /* padding-left: 20px; */
  padding-top: 20px;
}

.bottom-right {
  float: right;
  padding-right: 50px;
}

.back-button {
  float: right;
  padding-right: 50px;
}

.table {
  font-size: smaller !important;
  border: 1px grey solid;
  width: 100%;
}

table select {
  background-color: #fff;
  width: 100%;
  height: 100%;
  border-bottom: none !important;
}

table input {
  width: 100%;
  height: 100%;
  border-bottom: none !important;
}

.table thead tr {
  vertical-align: middle;
  background-color: var(--tertiary-color);
  /* color: #fff; */
  text-align: center;
}

.slno {
  text-align: center;
}

.experience-container {
  display: flex;
  align-items: center;
}

.experience-input {
  width: 60px;
  margin-right: 5px;
  text-align: center;
}

.output-input {
  margin-left: 10px;
  width: 200px;
  padding: 4px;
  text-align: center;
}

.label-title {
  background: var(--primary-color);
  padding: 5px 0px 9px 10px;
  color: var(--background-color);
}

.doc-upload i {
  font-size: large !important;
  color: var(--background-color) !important;
  background: var(--primary-color);
  width: 30px;
  display: inline-block;
  border-radius: .25rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.vl {
  border-left: 1px solid rgb(177, 177, 177);
  height: 285px;
}

/* ==========================================================================
   Mobile / tablet responsive fixes (header, toggle menu, welcome cards)
   ========================================================================== */

/* Collapsible top nav (below the navbar-expand-lg breakpoint) */
@media (max-width: 991.98px) {
  .top-nav-bar {
    padding: 0;
    display: block;
    position: relative;
    z-index: 1050;
  }

  /* Expanded menu becomes a solid dropdown overlay above page content */
  .top-nav-bar .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1050;
    background-color: var(--secondary-color);
    border: 1px solid var(--primary-color);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    max-height: 80vh;
    overflow-y: auto;
  }

  .top-nav-bar .nav.nav-pills {
    width: 100%;
    padding: 6px 8px 8px 8px;
  }

  .top-nav-bar .nav-link {
    text-align: left;
    margin: 2px 0 !important;
    width: 100%;
    background-color: var(--tertiary-color) !important;
  }
}

/* Show hamburger label + button only when collapsed */
@media (min-width: 992px) {
  .top-nav-bar .navbar-toggler {
    display: none;
  }
}

/* Header: stack logo and title on small screens */
@media (max-width: 767.98px) {
  .header {
    padding: 8px 10px;
    justify-content: center;
    text-align: center;
  }

  .header img {
    max-height: 60px;
    margin-left: 0;
  }

  .header .title {
    text-align: center;
    font-size: 1.05rem !important;
    line-height: 1.3;
    width: 100%;
    margin-top: 6px;
  }

  /* Welcome page adjustments */
  .advt-list {
    padding-left: 12px;
    padding-right: 12px;
  }

  .advt-list .card {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 16px;
  }

  .alegreya-italic h1,
  h1.alegreya-italic {
    font-size: 1.5rem;
  }

  .latest-news td {
    line-height: 1.6em;
    font-size: 0.9rem;
  }

  /* Footer flows at the end of content instead of covering it */
  body {
    margin-bottom: 0;
  }

  .fixed-footer {
    position: static !important;
    bottom: auto;
    text-align: center;
  }

  .footer-right {
    float: none;
    text-align: center;
  }
}

/* Extra-small phones */
@media (max-width: 400px) {
  .header .title {
    font-size: 0.92rem !important;
  }

  .header img {
    max-height: 50px;
  }
}