/* Add this CSS to your existing styles.css or in a separate file */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 5px;
  width: 50%;
  max-width: 500px;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
}

form {
  text-align: left;
}

label {
  display: block;
  margin-bottom: 10px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button[type="submit"] {
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #0056b3;
}



/* contact ul addon */
.contactulll li {
  list-style-type: none;
}






.flexcontainermain {
    background-color: #235781;
    padding: 50px 0px;
}

.containerall {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    text-align: center;
}


.containernum1 {
    min-width: 160px;
    background-color: #ffffff;
    padding: 39px;
    border-radius: 50%;
    transition: all 0.3s ease;
    }

.containernum1:hover {
  background-color: rgb(187, 199, 223);
  transform: scale(1.1);
  /* Increase size on hover */
  box-shadow: 0 0 20px rgba(145, 145, 145, 0.2);
  /* Add shadow on hover */
}

.containernum1 img {
  width: 50px;
  display: block;
  margin: 0 auto;
  /* Center the image */
}

.containernum1 p a {
  text-align: center;
  color: #235781;
  /* Change text color to contrast with the background */
  font-size: 15px;
  font-weight: 600;
  line-height: normal;
}

.containernum1 p {
    margin-bottom: 0px;
    text-align: center;
}



/* Adjust the submenu background width */
.navbar-nav .submenu {
  z-index: 1;
  display: none;
  position: absolute;
  background-color: #fff;
  
  border: 1px solid #ccc;
  
  padding: 10px;
  
  box-sizing: border-box;
   
  left: 0;
  
}

/* Adjust positioning of the submenu */
.navbar-nav .submenu {
  width: 300px;
  top: 100%;
  /* Position the submenu below the parent item */
}


@media only screen and (max-width: 760px) {

  /* Adjust positioning of the submenu */
  .navbar-nav .submenu {
    width: 100%;
    top: 100%;
    /* Position the submenu below the parent item */
  }
}

/* Show submenu on hover */
.navbar-nav li:hover .submenu {
  text-align: justify;
  margin: 0;
  padding: 0;
  display: block;
}

.submenu li {
  padding: 15px 0 15px 20px;
  list-style-type: none;
}

.submenu li:hover {
  background-color: #0056b3;
}

.submenu li a:hover {
  color: #ffffff;
}















.allinonedepartment {
  margin: 0;
}




.commonsccnow {
  padding: 50px;
  /* margin-top: -20px; */
}

.commonsccnow p, h3, li, a {
  color: black;
}

.depart-gen-medicine {
  background-color: rgb(15 117 188 / 15%);
}

.depart-sur-medicine {
  background-color: rgb(255, 255, 255);
}





/* new common page all container and sub */

.hard-container {
  box-sizing: border-box;
  margin: 0;
  padding: 50px 0;
}


.doctor-profileserv {
  margin-bottom: 25px;
  background-color: #d0e4f4;
}

.doct-container {
  display: flex;
  align-items: center;

}

.doct-container img {
  /* border-radius: 20%; */
  border: 1px solid rgb(159, 9, 9);
  width: 220px;
}

.doct-container h3 {
  text-align: center;
  /* margin: 5px 0; */
}

.dptxt h3 {
  text-align: center;
  margin-bottom: 20px;
}



.leftrightcontaine {
  display: flex;
  justify-content: space-between;
}


.hard-container {
  width: 67%;
}



.doctor-lit li {
  margin-top: 7px;
}








/* After doctore list section */

.belowdcrcnt {
  margin-top: 10px;
}











/* sidebar start from here */
.sidebar-container {
  box-sizing: border-box;
  margin: 0;
  padding: 50px 0;
  width: 30%;
}

.departments {
  background-color: #f1f5f8;
  border-radius: 25px;
}

.departments h3 {
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  text-align: center;
  color: white;
  background-color: #0057b8;
  padding: 20px 0;
}

.listofaside {
  padding-top: 10px;
  padding-bottom: 20px;
}

.listofaside li {
  list-style-type: none;
  margin: 15px 0;
  font-size: 15px;
  font-weight: 300;
}

.listofaside li a i {
  color: black;
  float: right;
}













.doc-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: row;
}



.doctors-profile-list {
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px;
  background-color: #f1faff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.doctors-profile-list:hover {
  background-color: #eaf6fd;
  cursor: pointer;
}

.d-container {
  margin-bottom: 20px;
}

.d-container img {
  width: 100px;
  height: auto;
  border-radius: 50%;
}

.dctrmnm {
  text-align: center;
}

.dctrmnm h3 {
  margin: 0 0 10px 0;
  font-size: 20px;
}

.doctor-lit-lists {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.doctor-lit-lists li {
  margin-bottom: 5px;
  color: #555;
}





/* -----------------------OPD CSS STRAT FROM HERE---------------------------- */
.modal-container-monu {
  display: none;
  /* Hide the modal by default */
  position: fixed;
  /* Stay in place */
  z-index: 1000;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scrolling if needed */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black background with opacity */
  padding-top: 60px;
  /* Location of the modal header */
}

/* Style for the modal content */
.modal-content-monu {
  color: #15344d;
  background-color: #e2f3ff;
  margin: 5% auto;
  /* 5% from the top, centered horizontally */
  border: 1px solid #15344d;
  width: 80%;
  /* 80% width */
  max-width: 600px;
  /* Maximum width */
  border-radius: 10px;
}

.modal-title-cont {
  color: #fff;
  padding: 5px 20px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  text-align: center;
  background-color: #0056b3;
}

.modal-title-cont-2 {
  padding: 20px;
}

.modal-title-mm {
  padding: 10px;
}

/* Style for the close button */
.close-monu {
  color: #fff;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-monu:hover,
.close-monu:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


@media only screen and (max-width: 900px) {
  .containernum1 {
    background-color: #ffffff;
    padding: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
  }
}

.doctorssection {
  margin: 100px 0;
}

/* Doctors details start from here */

.doctorprofilecontainer5 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.doctorsimmg {
  width: 50%;
}

.doctordetails {
  width: 50%;
}

.doctorsimmg img {
  width: 86%;
}

.doctordetails h3 {
  text-align: center;
}


/* table start from here */

.tablecontainer {
  margin: 20px 0;
}


.tablemains {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #000;
}

.tablemains th, td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #161515;
}

.tablemains th {
  background-color: #f2f2f2;
}

.tablemains tr:nth-child(even) {
  background-color: #f2f2f2;
}

.tablemains tr:hover {
  background-color: #ddd;
}

@media screen and (max-width: 600px) {
  .tablemains, tr, th, td {
    display: block;
  }

  .tablemains th, td {
    border: none;
  }
}




/* Approval page start */

.topcontainer {
  margin-top: -50px;
  padding: 0 150px;
  text-align: center;
}

.topcontainer img {
  width: 250px;
}

.bottomcontainer {
  margin-top: 50px;
  text-align: center;
}

.bottomcontainer img {
  cursor: pointer;
  width: 500px;
}













@media only screen and (max-width: 1000px) {
  .leftrightcontaine {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .hard-container {
    padding: 50px 10px;
    width: 100%;
  }

  .hard-container h1 {
    text-align: center;
    color: #0057b8;
    text-transform: uppercase;

  }


  .sidebar-container {
    box-sizing: border-box;
    margin: 0;
    padding: 50px 0;
    width: 100%;
  }
}

 

@media only screen and (max-width: 750px) {

  .doctorsimmg {
    text-align: center;
    width: 95%;
  }

  .doctordetails {
    padding-top: 30px;
    width: 95%;
  }

  .topcontainer {
    margin-top: -50px;
    padding: 0 30px;
    text-align: center;
}

}


@media (min-width: 850px) {
    .largescreenhide {
        display: none !important;
    }
}


/*This is Code By SSDIGIMARK 2*/