.btn-primary{
  background-color:#16347F !important ;
}
.bg-primary{
  background-color:#16347F !important ;
}
.btn-outline-primary{
  color:#16347F !important ;
  border-color:#16347F !important ;
}

.btn-outline-primary:hover{
  color:#fff !important ;
  background-color:#16347F !important ;
  border-color:#16347F !important ;
}

.bg{
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}
.logo-size{
  padding-left: 1rem;
  max-width: 600px;
  max-height: 80px;
}
.shadow{
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5) !important;
}
@media (max-width: 768px) {
  .logo-size {
    max-width: 100%; 
    height: auto; 
  }
}


/* testing animation on cards */


.wrapper {
  height: 200px;
  width: 100%;
  
  display: flex;
  flex-direction: row;
  
  transition: all 200ms ease-in-out;
}

.image-wrapper {
  height: 200px;
  width: 400px;
  overflow: hidden;
  border-radius: 5px;
  cursor: pointer;

  transition: all 200ms ease-in-out;
}

.image-wrapper img {
  height: 200px;
  width: 400px;
  object-fit: cover;
  object-position:center;
  
  transition: all 200ms ease-in-out;
}

.image-wrapper {
  position: relative;
}

.image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.2); /* Black overlay with 50% opacity */
}
.image-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.3); /* Black overlay with 50% opacity */
}

.book-design-image {
  object-position:center;
}

.header-wrapper {
  display: flex;
  flex-direction: column;
  position: absolute;
  height: 200px;
  width: 400px;
  transition: all 200ms ease-in-out;
  overflow: hidden;
  
}

.header-wrapper h1 {
  position: relative;
  bottom: -150px;
  height: 300px;
  color: #fff;
  font-size: 20px;
  text-transform: uppercase;
  
  transition: all 200ms ease-in-out;
}

.wrapper:hover img {
  transform: scale(2);
  
}

.wrapper:hover h1 {
  bottom: 180px;
  transform: scale(0.8);
}
@media only screen and (max-width: 600px) {
  .wrapper {
    height: 100px;
    width: 100%;
  }

  .image-wrapper {
    height: 100px;
    width: 200px;
  }

  .image-wrapper img {
    height: 100px;
    width: 200px;
  }

  .header-wrapper {
    height: 100px;
    width: 200px;
  }

  .header-wrapper h1 {
    font-size: 15px;
  }
}
@media only screen and (max-width: 600px) {
  .wrapper:hover img {
    transform: none;
  }

  .wrapper:hover h1 {
    bottom: -150px;
    transform: none;
  }
}
/* Desktop card */
.card-desktop {
  display: block;
}

/* Mobile card */
.card-mobile {
  display: none;
}

/* When the screen size is 600px or less, hide the desktop card and show the mobile card */
@media only screen and (max-width: 600px) {
  .card-desktop {
    display: none;
  }

  .card-mobile {
    display: block;
  }
}
/* End Test animation */


/* Mobile Form Cards */
.wrapper-mobile{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.image-wrapper-mobile{
  position: relative;
  height: 20vh;
  width: 60vw;
  overflow: hidden;
  border-radius: 5px;
  cursor: pointer;
}

.image-wrapper-mobile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.2); /* Black overlay with 50% opacity */
}
.image-wrapper-mobile::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.3); /* Black overlay with 50% opacity */
}

.header-wrapper-mobile{
  display: flex;
  flex-direction: column;
  position: absolute;
  height: 20vh;
  width: 60vw;
  overflow: hidden;
}

.header-wrapper-mobile h1{
  position: relative;
  /* bottom: -1vw; */
  height: 100px;
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
}

.image-wrapper-mobile img{
  height: 20vh;
  width: 60vw;
  object-fit: cover;
  object-position:center;
}


/* End Mobile Form Card Design */

.card.hover-up {
  transition: transform 0.3s ease;
}

.card.hover-up:hover {
  transform: translateY(-10px); /* Adjust the distance to your liking */
}

body{
  font-family: 'Titillium Web', Arial, Helvetica, sans-serif
}
.formCard {
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    height: max-content !important;
    /* max-width: 500px !important; */
}

.minusPadding{
  position: relative;
  top: -10px;
}


.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select~label {
  opacity: .65;
  transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}

.noUnderline{
    text-decoration: None;
}

@media (max-width: 576px) {
  .offcanvas-start {
      /* Overriding offcanvas-start to behave like offcanvas-top */
      top: 0 !important;
      left: auto !important;
      right: auto !important;
      bottom: auto !important;
      transform: translateX(0%) translateY(-100%) !important;
      
      /* Additional styles to ensure full width */
      /* width: 100% !important;
      height: auto !important;
      max-height: 100vh !important; */
      
  }

  .offcanvas.show{
      transform: translateX(0%) translateY(0%) !important;  
  }

}

.customBtn {
  background-color: transparent;    /* Set a transparent background by default */
  border: none;                     /* Remove all borders */
  border-top: 1px solid #cccccc;    /* Add top border */
  border-bottom: 1px solid #cccccc; /* Add bottom border */
  color: inherit;                   /* Use the default color for text and svg */
  cursor: pointer;                  /* Make it obvious it's clickable */
  padding: 0.5rem 1rem;             /* Adjust padding as needed */
  transition: all 0.1s ease;        /* Smooth transition for visual feedback */
  border-radius: 0;
}

/* Handle appearance when the button is clicked or focused */
 .customBtn:hover {
  border-top: 1px solid var(--bs-primary) !important;    /* Add top border */
  border-bottom: 1px solid var(--bs-primary) !important; /* Add bottom border */
  background-color: var(--bs-primary) !important; /* Use Bootstrap's primary color */
  color: #ffffff !important;                      /* White text and svg color */
  outline: none !important;                       /* Remove the default focus outline */
  border-color: var(--bs-primary) !important;     /* Adjust the border color to match */
}
.customBtn:active, .customBtn:focus   {
  border-top: 1px solid #0056b3 !important;    /* Darker blue for top border */
  border-bottom: 1px solid #0056b3 !important; /* Darker blue for bottom border */
  background-color: #0056b3 !important; /* Darker blue background */
  color: #ffffff !important;
  outline: none !important;
  border-color: #0056b3 !important; 
}

/* Ensure SVG inherits the current color */
.customBtn svg {
  color: inherit !important;
  vertical-align: middle !important; /* To align svg with the text */
}

/* Add this style to your existing styles or in a new style tag */
.offcanvas-footer {
  position: absolute;
  bottom: 0;
  left:5%;
  width: 100%;
  text-align: center;
  padding: 10px;
}

.circle-button {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}


.profile-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background-color: #ffffff !important;
}

.marginBelow{
  margin-bottom: 1.5rem !important;
}

#dynamic-content {
  transition: opacity 0.5s ease-in-out;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

.dataTables_filter input {
  border-radius: 15px !important; /* Add border-radius for rounded corners */
  
  /* box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1) !important; Add a subtle box shadow */
}

/* Change the background color of the search input on focus */
.dataTables_filter input:focus {
  /* background-color: #fff !important; Change to your desired background color */
  border-color: #ffffff  !important;
}

/* Center the header text */
.dataTables thead th {
  text-align: center  !important;
}

/* Center the content text */
.dataTables tbody td {
  text-align: center  !important;
}

/* If you also want to center the pagination controls */
.dataTables_paginate {
  text-align: center  !important;
}

/* Hidden class to initially hide the alert */
.hidden {
  display: none;
}

@keyframes slideDown {
  0% {
      transform: translateY(-100%);
      opacity: 0;
  }
  50%, 100% {
      transform: translateY(0);
      opacity: 1;
  }
}

@keyframes slideUp {
  0%, 50% {
      transform: translateY(0);
      opacity: 1;
  }
  100% {
      transform: translateY(-100%);
      opacity: 0;
  }
}

.alert {
  position: absolute;
  top: 60px; /* Adjust this value to match the height of your navbar */
  width: 100%; /* This will make the alert span the full width of the page */
  animation: slideDown 1.5s ease-out, slideUp 1.5s 2s ease-in forwards;
}