/********** Template CSS **********/
:root {
  --primary: #ca0f0fff;
  --secondary: #191c24;
  --light: #cccccc;
  --dark: rgb(0, 0, 0);
  --blue:#303291
}
.bg-blue{
  background-color: var(--blue);
}
.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  transition: 0.5s;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}

/*** Layout ***/
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 250px;
  height: 100vh;
  overflow-y: auto;
  background: var(--secondary);
  transition: 0.5s;
  z-index: 999;
}

.content {
  margin-left: 250px;
  min-height: 100vh;
  background: var(--dark);
  transition: 0.5s;
}
.owl-carousel .owl-item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
 }
@media (min-width: 992px) {
  .sidebar {
    margin-left: 0;
  }

  .sidebar.open {
    margin-left: -250px;
  }

  .content {
    width: calc(100% - 250px);
  }

  .content.open {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 991.98px) {
  .sidebar {
    margin-left: -250px;
  }

  .sidebar.open {
    margin-left: 0;
  }

  .content {
    width: 100%;
    margin-left: 0;
  }
}

/*** Navbar ***/
.sidebar .navbar .navbar-nav .nav-link {
  padding: 7px 20px;
  color: var(--light);
  font-weight: 500;
  border-left: 3px solid var(--secondary);
  border-radius: 0 30px 30px 0;
  outline: none;
}

.sidebar .navbar .navbar-nav .nav-link:hover,
.sidebar .navbar .navbar-nav .nav-link.active {
  color: var(--primary);
  background: var(--dark);
  border-color: var(--primary);
}

.sidebar .navbar .navbar-nav .nav-link i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  border-radius: 40px;
}

.sidebar .navbar .navbar-nav .nav-link:hover i,
.sidebar .navbar .navbar-nav .nav-link.active i {
  background: var(--secondary);
}

.sidebar .navbar .dropdown-toggle::after {
  position: absolute;
  top: 15px;
  right: 15px;
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  transition: 0.5s;
}

.sidebar .navbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}

.sidebar .navbar .dropdown-item {
  padding-left: 25px;
  border-radius: 0 30px 30px 0;
  color: var(--light);
}

.sidebar .navbar .dropdown-item:hover,
.sidebar .navbar .dropdown-item.active {
  background: var(--dark);
}

.content .navbar .navbar-nav .nav-link {
  margin-left: 25px;
  padding: 12px 0;
  color: var(--light);
  outline: none;
}

.content .navbar .navbar-nav .nav-link:hover,
.content .navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.content .navbar .sidebar-toggler,
.content .navbar .navbar-nav .nav-link i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  border-radius: 40px;
}

.content .navbar .dropdown-item {
  color: var(--light);
}

.content .navbar .dropdown-item:hover,
.content .navbar .dropdown-item.active {
  background: var(--dark);
}

.content .navbar .dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: middle;
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  transition: 0.5s;
}

.content .navbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}

@media (max-width: 575.98px) {
  .content .navbar .navbar-nav .nav-link {
    margin-left: 15px;
  }
}

/*** Date Picker ***/
.bootstrap-datetimepicker-widget.bottom {
  top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
  border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
  font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
  padding: 10px;
  border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
  background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
  border-bottom-color: var(--primary);
}

/*** Testimonial ***/
.progress .progress-bar {
  width: 0px;
  transition: 2s;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand-header {
  position: absolute !important; /* Positioning the brand absolutely */
  left: 45% !important; /* Center horizontally */
  transform: translateX(-40%) !important; /* Shift back to the center */
}
/*** Testimonial ***/
.testimonial-carousel .owl-dots {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  border: 5px solid var(--primary);
  border-radius: 15px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  background: var(--dark);
  border-color: var(--primary);
}
/* Hide the actual file input */
#profile_picture {
opacity: 0;
height: 0px;
/* visibility: hidden; */
}
.carousel-item{
 margin-right: 0px !important;
}
/* Style the label to act like a button and display the uploaded image */
.upload-label {
  cursor: pointer;
  position: relative;
  display: inline-block;
  width: 200px;
  height: 200px;
  background-color: #343a40; /* dark background */
  border-radius: 5px;
  overflow: hidden; /* Hide overflow for image */
}

/* The image container inside the label */
.upload-label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* The button overlay */
.upload-label .upload-button {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
  color: rgb(255, 255, 255);
  padding: 10px;
  text-align: center;
  font-size:14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Hover effect for the upload button */
.upload-label:hover .upload-button {
  background-color: rgba(0, 0, 0, 0.7);
}
.testimonial-carousel{
  width: 100%;
  padding: 0px !important;
  /* overflow: hidden; */
  margin: 0px;
  /* background-color: red; */
}
/* /////v card things */
.vCard-bg{
    /* background-color: rgb(236, 236, 236); */
    /* min-height: 727px; */
    /* overflow: hidden; */
}
.vCad-container{
   /* overflow-y: scroll;
   overflow-x: hidden; */
   width: 100%;
   max-width: 500px !important;
    /* position: relative; */
    
    /* border: 6px solid red;
    border-right-color: darkblue;
    border-top-color: darkblue; */
    /* max-height: calc(100vh - 70px);
    height: calc(100vh - 50px); */
    /* margin-top: 20px; */
    /* border-radius: 20px !important; */
    background-color: rgb(255, 255, 255) !important;
}
/* For Chrome, Safari, and other WebKit-based browsers */


/* For Firefox */


/* For Internet Explorer and Edge */

.vCard-header
{
    display: flex;
    flex-direction: row;
    justify-items: center;
    justify-content: space-between;
    align-items: center;

}
.vCard-header img{
  width: 80px !important;
}
.vCard-header h5{
 color: gray !important;
}
.vCard-personal-info img{
    width: 100px !important;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    background-color: red;
    text-align: center !important;
    margin-left: calc(50% - 50px);
}
.vCard-personal-info h3{
    color: #303291ff!important;
}
.vCard-personal-info-body ul{
    padding: 0px;
}
.vCard-personal-info-body ul li{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.sos-button {
  position: sticky;
  z-index: 3000;
  background-color: red;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  justify-content: center;
  align-items: center;
  display: flex;
  box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.514), -2px -2px 7px rgba(0, 0, 0, 0.514);
  pointer-events: auto; /* Ensures interactivity */
}

.sos-button i{
    color: whitesmoke ;
    font-size:16px;
    margin: 0px;
}
.sos-button p{
    color: whitesmoke ;
    font-size: 8px;
    margin: 0px;
}
.vCard-card-headers{
    /* background-color:#ca0f0fff; */
    border-bottom: 2px solid #ca0f0fff;
    /* border-radius: 5px; */
    padding: 5px;
    display: flex;
    justify-content:center;
    align-items: center;
    justify-items: center;
}
.vCard-card-headers h5{
    margin: 0px;
    font-size: 18px;
    color: #ca0f0fff;
}
.accordion-button{
    background-color: #303291ff !important;
    color: whitesmoke;
}
.accordion-button:not(.collapsed){
    color: whitesmoke;
}
.vh-70 {
  height: 70vh !important;
}
.name-avatar{
  width: 40px !important;
  height: 40px !important;
  background-color: #303291ff!important;
  border-radius: 50%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-weight: bolder;
  font-size: 15px;
  margin-right: 10px;
  pointer-events: none;
  color: whitesmoke;
}
.dropdown-toggle{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  /* gap: 10px; */
}

.password-toggle-field {
  position: relative;
}

.password-toggle-field .form-floating > .form-control {
  padding-right: 3rem;
}

.password-toggle-field .password-toggle-btn {
  position: absolute;
  top: 0;
  right: 0.65rem;
  width: 2.5rem;
  height: calc(3.5rem + 2px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.55);
  padding: 0;
  line-height: 1;
  z-index: 6;
  cursor: pointer;
}

.password-toggle-field .password-toggle-btn:hover,
.password-toggle-field .password-toggle-btn:focus {
  color: #fff;
  background: transparent !important;
  outline: none;
  box-shadow: none;
}

.password-toggle-field .password-toggle-btn i {
  font-size: 1.1rem;
  pointer-events: none;
}

