/*
Theme Name: Astra Child
Theme URI: https://mva.org.in/
Description: Child theme for Astra
Author: MVA
Author URI: https://mva.org.in/
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/* Custom styles go here */

.desktopSidebarMenuLi {
  border-bottom: 1px solid #ccc !important; /* Separator line */
}

.desktopSidebarMenuLi:last-child {
  border-bottom: none;
}
.desktopSidebarMenuLi:last-child {
  border-bottom: none !important;
}

/* Global Styles */

/* Section Headings */
.custom-content-formatting {
  color: #000;
}
.custom-content-formatting h3 {
  color: #333;
  border-bottom: 2px solid #1a237e;
  padding-bottom: 5px;
  margin-top: 25px;
  margin-bottom: 25px;
}

/* Lists */
.custom-content-formatting ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0px;
}

.custom-content-formatting ul li {
  padding: 8px 0;
  /* font-size: 16px; */
}

.custom-content-formatting .sub-list li,
.custom-content-formatting .membership-list li,
.custom-content-formatting .executive-list li,
.custom-content-formatting .functions-list li,
.custom-content-formatting .election-list li,
.custom-content-formatting .aims-list li,
.custom-content-formatting .tenure-list li {
  padding-left: 20px;
  position: relative;
}

.custom-content-formatting .sub-list li::before,
.custom-content-formatting .membership-list li::before,
.custom-content-formatting .executive-list li::before,
.custom-content-formatting .functions-list li::before,
.custom-content-formatting .election-list li::before,
.custom-content-formatting .aims-list li::before,
.custom-content-formatting .tenure-list li::before {
  content: "✔";
  color: #1a237e;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Termination Section */
.custom-content-formatting .termination-list li {
  background: #ffeeee;
  padding: 10px;
  border-left: 4px solid #d32f2f;
  margin: 5px 0;
}

/* Notice Text */
.custom-content-formatting .notice {
  font-style: italic;
  color: #d32f2f;
}

/* Responsive Design */
@media (max-width: 600px) {
  .custom-content-formatting h3 {
    font-size: 20px;
  }

  .custom-content-formatting ul li {
    font-size: 14px;
  }
}

.edit-profile-page .um-profile-body {
  max-width: 100% !important;
}

/* Center content and ensure proper width */
.acf-form {
  width: 100%;
  margin: 20px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Style the table */
.acf-repeater .acf-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.acf-repeater .acf-table th,
.acf-repeater .acf-table td {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: left;
}

/* Style the "Add Row" button */
.acf-button {
  background: #f4c842; /* Match theme color */
  color: #333;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.acf-button:hover {
  background: #e0b835;
  color: #000;
}

/* Fix Save Button */
.acf-form-submit .button {
  background: #f4c842;
  color: #333;
  font-size: 18px;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.acf-form-submit .button:hover {
  background: #e0b835;
}

/* Improve mobile responsiveness */
@media screen and (max-width: 768px) {
  .user-qualification-form {
    padding: 15px;
  }

  .acf-repeater .acf-table th,
  .acf-repeater .acf-table td {
    padding: 8px;
    font-size: 14px;
  }
}

.elementor-8 .elementor-element.elementor-element-cdc742b img {
  width: auto;
}
.um-account-side ul li:last-child {
  display: none !important;
}
.um-account-side ul li:first-child {
  display: none !important;
}
div#user-submitted-posts {
  max-width: 100% !important;
}

/* Apply Bootstrap styling */

/* Label Styling */
#usp_form label {
  font-weight: bold;
  margin-bottom: 5px !important;
  display: block;
}
#user-submitted-posts .chosen-container-multi .chosen-choices {
  background-image: none !important;
  border: none !important;
}
/* Input fields */
#usp_form input[type="text"],
#usp_form input[type="email"],
#usp_form input[type="password"],
#usp_form input[type="file"],
#usp_form select,
#usp_form textarea {
  width: 100% !important;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 5px;
  font-size: 14px;
}
#usp_form #user_submitted_tags_chosen {
  width: 100% !important;
  padding: 10px 0px;
  border: 1px solid #ced4da;
  border-radius: 5px;
  font-size: 14px;
}

/* Textarea */
#usp_form textarea {
  height: 120px;
  resize: vertical;
}

/* Multiple Select */
#usp_form select[multiple] {
  height: auto;
}

/* Submit Button */
#usp-submit {
  text-align: center;
}
#usp_form input[type="submit"] {
  padding: 10px;
  background: #070f08;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#usp_form button:hover,
#usp_form input[type="submit"]:hover {
  background: #6e0b0b;
}

/* Error Message */
#usp-error-message {
  color: #dc3545;
  background: #f8d7da;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  display: none;
}

/* Form fields container */
#usp_form fieldset {
  margin-bottom: 15px;
  border: none;
  padding: 0;
}

/* Responsive Styling */
@media (max-width: 768px) {
  #usp_form {
    padding: 15px;
  }
  .customLoginButtons .um-half{
    width: 100%;
    margin-bottom: 15px;
  }
}

.customButton {
  background-color: #FFE00C !important;
  border: none !important;
  color: #000 !important;
  font-weight: 500 !important;
}
.customButton:hover {
  background: #1E3C72 !important;
  color: #fff!important;
}


@media (min-width: 1024px) {
  /* Desktop-specific styles here */

  .um-380.um {
    max-width: 50% !important;
  }
  .marginLeftOnDesktop30{
    margin-left: 30px !important;
  }
  .marginLeftOnDesktop10{
    margin-left: 10px !important;
  }
  .floatRight{
    float: right !important;
  }
}