#headerText {
  font-size: 18px;
  font-family: Solutioneer;
  font-weight: 700;
}

.view-grid table {
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  min-width: 400px;
  /* border-radius: 5px 5px 0 0; */
  /* overflow: hidden; */
  /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.15); */
}

.entity-grid .view-grid {
  overflow-x: unset !important;
  position: unset !important;
}

.table-responsive {
  overflow-x: unset !important;
}

.view-grid table thead tr {
  background-color: #F9F9F9;
  color: #000;
  text-align: left;
  font-weight: bold;
}

/* .table tbody tr:nth-child(even) {
  background-color:#ffffff ;
}

.table tbody tr:nth-child(odd) {
  background-color: #FFFFFF;
} */

.view-grid table th a,
.table th {
  color: #000 !important;
  font-size: 12px !important;
}

.view-grid table td a,
.table td,
.table td a {

  font-size: 10px !important;
}

.view-grid table th {
  font-size: 12px !important;
}

.view-grid table td {
  background-color: #fff !important;
  font-size: 10px !important;
}

.view-grid table th,
.view-grid table td {
  padding: 12px 15px;
}

.view-grid table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
  --bs-table-accent-bg: unset;

}

.view-grid table tbody tr:nth-of-type(even) {
  background-color: #fff;
}

.view-grid table tbody tr:last-of-type {
  /* border-bottom: 2px solid #0E5A9D; */
}

.view-grid table tbody tr.active-row {
  font-weight: bold;
  color: #0E5A9D;
}



.fa-chevron-circle-down:before {
  content: "\22EE" !important;
  /* Unicode for vertical ellipsis */
  font-size: 14px;
}

.fa-vertical-dots::before {
  content: "\22EE";
  /* Unicode for vertical ellipsis */
}

.action button {
  padding: 0px !important;
  border: none !important;
}

.action button:hover,
.action button:focus {
  background-color: transparent !important;
  color: #0E5A9D !important;
}

.toolbar-actions .input-group-btn button {
  border-top-right-radius: 15px !important;
  border-bottom-right-radius: 15px !important;
  background-color: transparent;
  border: 1px solid #9d9d9d !important;
  color: #000;
  height: 35px;
  border-left: none;
}

.toolbar-actions input {
  height: 35px !important;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border-right: none;
}

.actions input {
  font-size: 12px !important;
}

form input[type="radio"] {
  display: none;
}

form .button {
  height: 45px;
  margin: 45px 0;
}

form .button input {
  height: 100%;
  width: 100%;
  outline: none;
  color: #fff;
  border: none;
  font-size: 18px;
  font-weight: 500;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--main-blue), var(--main-purple));
  transition: all 0.3s ease;
}

form .button input:hover {
  background: linear-gradient(-135deg, var(--main-blue), var(--main-purple));
}



.form-control {
  padding: 3px 6px !important;
}


form input:focus,
form input:valid,
form select:focus,
form select:valid {
  border-color: #0E5A9D !important;
}

form select,
form input {
  height: 32px !important;
  border-color: #0E5A9D !important;
}

.input-group-addon {
  height: 32px !important;
}

.modal .modal-body {
  height: 75vh;
  overflow-y: auto;
}

.modal-form .modal-body iframe {
  height: 65vh;
}

html[dir=ltr] .crmEntityFormView .actions .btn:first-child {
  right: 0;
  position: absolute;
}

.field-label {
  font-size: 12px !important;
}

input[type=button] {
  width: 100px !important;
}

.wrapper-body {
  padding: 0px !important;
}

#modalTitle {
  font-size: 14px;
  margin-left: 30px;
  font-weight: 700;
}






/* Replace down arrow icon (Font Awesome) with vertical three dots */
.fa-chevron-down:before {
  content: "\f142";
  /* Unicode for fa-ellipsis-v */
  font-family: "Font Awesome 5 Free";
  /* or "Font Awesome 6 Free" if you're using v6 */
  font-weight: 900;
}

/* Ensure dropdown is visible above the table */
.dropdown-menu {
  position: absolute !important;
  z-index: 9999 !important;
  transform: translateY(5px);
}

/* Optional: better spacing around the button */
.dropdown.action .btn {
  background: transparent;
  border: none;
  padding: 4px 6px;
}

/* Hover effect */
.dropdown.action .btn:hover {
  background-color: #f3f3f3;
  border-radius: 50%;
}







.entitylist-search input {
  border: 1px solid #9d9d9d !important;
  height: 35px !important;
  padding-left: 5px !important;
  border-radius: 0px !important;
  border-top-left-radius: 15px !important;
  border-bottom-left-radius: 15px !important;
  border-right: none !important;
}

.searchTerm {
  width: 100% !important;
  border: 1px solid #0E5A9D;
  border-right: none;
  padding: 5px;
  height: 30px !important;
  border-radius: 5px 0 0 5px !important;
  outline: none;
  color: #9d9d9d;
  font-size: 12px;
}

select,
input {
  font-size: 14px !important;
}

.btn-primary {
  text-decoration: none !important;
}

.card {
  border-radius: 5px !important;
}

.siteTitle {
  font-size: 20px !important;
}

.crmEntityFormView,
.entitylist {
  border: none !important;
}

.crmEntityFormView,
.entitylist,
.modal-content,
.popover-content {
  border: none !important;
}

form tr {
  border: none !important;
}

.query {
  font-size: 12px !important;
}

.modal-header h4 {
  font-size: 18px !important;
}

.fa-edit:before,
.fa-pencil-square-o:before {
  font-size: 18px !important;
}

.create-action {
  padding-top: 10px !important;
}

.input-group a,
.create-related-record-link {
  border-radius: 17px !important;
  background-color: #A9E0FF !important;
  border: 1px solid #A9E0FF !important;
  color: #081E32 !important;
  font-family: "Helvetica Now Text" !important;
  font-size: 10px !important;
  font-style: normal;
  font-weight: 700 !important;
  /* line-height: 15px;  */
  text-transform: uppercase;
}

#EntityFormPanel {
  position: relative;
}

.form-custom-actions {
  position: absolute;
  top: 0;
  right: 0px;
}

.create-related-record-link,
.input-group a {
  min-width: 130px !important;
  height: 35px !important;
}

.create-related-record-link {
  margin-right: 15px;
}

.subgrid .entitylist-search {
  margin-right: 150px !important;
  margin-top: -12px !important;
}




/* Card Design css */

.ag-format-container {
  width: 1142px;
  margin: 0 auto;
}


/* body {
  background-color: #000;
} */
.ag-courses_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;

  padding: 50px 0;
}

.ag-courses_item {
  -ms-flex-preferred-size: calc(33.33333% - 30px);
  flex-basis: calc(33.33333% - 30px);
  margin: 0 15px 30px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 20px 20px 50px #c8eafc;
}

.ag-courses-item_link {
  display: block;
  padding: 30px 20px;
  background-color: #265a88;

  overflow: hidden;

  position: relative;
}

.ag-courses-item_link:hover,
.ag-courses-item_link:hover .ag-courses-item_date {
  text-decoration: none;
  color: #FFF;
}

.ag-courses-item_link:hover .ag-courses-item_bg {
  -webkit-transform: scale(10);
  -ms-transform: scale(10);
  transform: scale(10);
}

.ag-courses-item_title {
  min-height: 87px;
  margin: 0 0 25px;

  overflow: hidden;

  font-weight: bold;
  font-size: 20px;
  color: wheat;

  z-index: 2;
  position: relative;
}

.ag-courses-item_date-box {
  font-size: 14px;
  /* font-weight: bold; */
  color: wheat;
  text-align: left;
  z-index: 2;
  position: relative;
}

.ag-courses-item_date {
  color: wheat;
  -webkit-transition: color .5s ease;
  -o-transition: color .5s ease;
  transition: color .5s ease
}

.ag-courses-item_bg {
  height: 128px;
  width: 128px;
  background-color: #f9b234;

  z-index: 1;
  position: absolute;
  top: -75px;
  right: -75px;

  border-radius: 50%;

  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.ag-courses_item:nth-child(2n) .ag-courses-item_bg {
  background-color: #3ecd5e;
}

.ag-courses_item:nth-child(3n) .ag-courses-item_bg {
  background-color: #5bc6e8;
}

.ag-courses_item:nth-child(4n) .ag-courses-item_bg {
  background-color: #952aff;
}

.ag-courses_item:nth-child(5n) .ag-courses-item_bg {
  background-color: #cd3e94;
}

.ag-courses_item:nth-child(6n) .ag-courses-item_bg {
  background-color: #4c49ea;
}

.form-subgrid-heading {
  display: none !important;
}

.toolbar-actions {
  margin-top: 12px !important;
}

.subgrid-cell {
  background-color: #fff !important;
}

.crmEntityFormView .cell {
  padding: 5px 5px !important;
}

.form-control-cell,
.picklist-cell {
  background-color: #fff !important;
}

label {
  font-size: 12px !important;
}

#InsertButton,
#UpdateButton {
  background-color: #081E32;
  border-radius: 15px;
  border: 1px solid #081E32;
}

/* .EntityFormControl td {
  padding: 5px;
} */

/* .query  {
  height: 35px;
  border-radius: 0px;
} */


@media only screen and (max-width: 979px) {
  .ag-courses_item {
    -ms-flex-preferred-size: calc(50% - 30px);
    flex-basis: calc(50% - 30px);
  }

  .ag-courses-item_title {
    font-size: 24px;
  }
}

@media only screen and (max-width: 767px) {
  .ag-format-container {
    width: 96%;
  }

}

@media only screen and (max-width: 639px) {
  .ag-courses_item {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }

  .ag-courses-item_title {
    min-height: 72px;
    line-height: 1;

    font-size: 24px;
  }

  .ag-courses-item_link {
    padding: 22px 40px;
  }

  .ag-courses-item_date-box {
    font-size: 16px;
  }
}