:root {
  scroll-behavior: smooth;
  --primary-color: #012970;
  --secondary-color: #4154f1;
  --hover-color: #717ff5;
  --black: #000000;
  --white: #ffffff;
  --gray-EEE: #eeeeee;
  --gray-CCC: #cccccc;
  --gray-DDD: #dddddd;
  --gray-444: #444444;
  --gray-999: #999999;
  --transparent: transparent;
  --box-color: #ecf3ff;
  --call-button: #05d0a8;
  --call-button-hover: #00b894;
  --linkedin-button: #0e76a8;
  --google-button: #DF4B3B;
  --microsoft-button: #0073c6;
  --red-C00: #cc0000;
  --border-card-header: #e8edf5;
  --card-border-bottom: #2db6fa;
  --card-header-background: #fbfdff;
  --texto-destacado-background: #f2f5fc;
  --navbar-mobile-color: rgba(1, 22, 61, 0.9);
  --header-shadow: rgba(1, 41, 112, 0.1);
  --navbar-dropdown-shadow: rgba(127, 137, 161, 0.25);
  --shadow-1: rgba(1, 41, 112, 0.08);
  --progressbar-bg-color: #e9ecef;
  --progressbar-warning-color: #fae539;
  --fecha-eventos-background: #edf1fc;
  --webinar-bg-color: #343a40;
  --badge-eventos-background: #ffc107;
  --info-box-background: #f2f5fc;
  --price-list-border: #dfdfdf;
  --price-list-background: #f7f7f7;
  --statistics-background: #f2f5fc;
  --statistics-color: #0d6efd;
  --common-font: Open Sans;
  --header-font: Nunito;
  --navbar-font: Nunito, sans-serif;
  --gray-200: #EAECF0;
  --gray-600: #475467;
  --gray-300: #D0D5DD;
  --ellipse-image: url('../Images/Ellipse 328.png');
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #FAFAFA !important;
  font-family: Roboto;
}

header {
  background-color: #F9F9FA;
}

footer, .rounded-container, #advancedSearchContainer {
  background-color: var(--white);
}

a {
  width: fit-content;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.background-vector {
  background: url('../Images/Vector 6.png') top no-repeat;
  background-position-x: left;
  background-size: 600px 300px;
}

.background-ellipse {
  position: relative;
  background: url('../Images/Group 3.png') no-repeat;
  background-position-x: 55%;
  background-position-y: -8%;
  background-size: 1400px 400px;
}

.gap-7{
    gap:7rem;
}

.main-content {
  flex: 1;
}

.footer {
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

.proyect-header, .proyect-header-table, .proyect-header-title {
  color: var(--primary-color);
  font-weight: 600;
  white-space: nowrap;
  margin: 0;
}

.proyect-header-table {
  font-size: 24px;
  line-height: 40px;
}

.proyect-header {
  font-size: 20px;
  line-height: 24px;
}

.header-grid {
  padding: 10px;
}

.filter-selectpicker {
  background-color: #fff;
  background-clip: padding-box;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: 1px solid #ced4da !important;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  height: 38px;
  padding: 0.375rem 2.25rem 0.375rem 0.75rem !important;
  max-height: 38px;
  width: 100%;
}

  .filter-selectpicker.dropdown-toggle::after {
    display: none;
  }

  .filter-selectpicker.dropdown-toggle .filter-option-inner-inner {
    color: var(--bs-dark);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-overflow: ellipsis;
    text-transform: initial;
    white-space: nowrap;
  }

  .filter-selectpicker.dropdown-toggle:focus {
    border-color: #86b7fe;
    outline: none !important;
  }

  .filter-selectpicker + .dropdown-menu .dropdown-menu.inner .dropdown-item {
    align-items: center;
    display: flex;
    gap: 0.5rem;
  }

    .filter-selectpicker + .dropdown-menu .dropdown-menu.inner .dropdown-item .check-mark {
      align-items: center;
      background-color: var(--box-color);
      border-radius: 0.25rem;
      display: flex;
      font-size: 1.25rem;
      height: 20px;
      justify-content: center;
      position: initial;
      width: 20px;
    }

      .filter-selectpicker + .dropdown-menu .dropdown-menu.inner .dropdown-item .check-mark::before {
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        font-family: bootstrap-icons;
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        display: inline-block;
        line-height: 1;
        margin-left: -0.1rem;
        text-transform: none;
      }

    .filter-selectpicker + .dropdown-menu .dropdown-menu.inner .dropdown-item.selected .check-mark {
      background-color: var(--secondary-color);
      color: var(--white);
    }

      .filter-selectpicker + .dropdown-menu .dropdown-menu.inner .dropdown-item.selected .check-mark::before {
        content: "\f26e";
      }

    .filter-selectpicker + .dropdown-menu .dropdown-menu.inner .dropdown-item .check-mark::after {
      display: none;
    }

    .filter-selectpicker + .dropdown-menu .dropdown-menu.inner .dropdown-item:hover .check-mark {
      background-color: var(--hover-color);
    }

    .filter-selectpicker + .dropdown-menu .dropdown-menu.inner .dropdown-item .text {
      flex: 1 1 auto;
      margin: 0;
    }

  .filter-selectpicker + .dropdown-menu .bs-actionsbox .btn-group {
    width: 100%;
  }

.proyect-filters {
  display: flex;
  width: 100%;
  justify-content: end;
  gap: 1rem;
}

.input-header, .button-header {
  height: 40px;
}

.button-show-filter {
  background-color: var(--white);
  padding: 6px 12px;
  border: 1px solid var(--gray-CCC);
  border-radius: 4px;
}

.body-container {
  margin: 3rem 6rem;
  font-family: Roboto;
}

.input-header {
  width: 70%;
  padding: 10px 14px;
  border: 1px solid var(--gray-CCC);
  border-radius: 4px;
  outline: none;
}

.rounded-container {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 1rem;
  margin-bottom: 2rem;
  box-shadow: revert;
}
.tableProyects th ,
.tableProyects td {
  max-width: 500px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media(min-width: 600px){
  .tableProyects th:first-child, .tableProyects td:first-child {
    position: sticky;
    left: 0;
    background-color: var(--white);
    z-index: 1;
  }
}
  


.rounded-container nav {
  padding: 10px 14px;
  margin-right: 2rem;
  width: 25%;
  gap: 2rem;
  color: #344054;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.tableProyects {
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}

.tableProyects tr th {
  padding: 10px 14px;
  height: 40px;
  vertical-align: middle;
}

.custom-padding {
  padding: 10px;
}

.link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  color: var(--secondary-color) !important;
}

.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.tableProyects th {
  color: var(--gray-600);
  font-size: 12px;
  line-height: 12px;
  font-weight: 500;
  background-color: #F9FAFB !important;
  border-bottom-color: var(--gray-200) !important;
}

.tableProyects td {
  padding: 10px 14px;
  vertical-align: middle;
  color: var(--gray-600);
}

.tableProyects td, .tableProyects th {
  white-space: nowrap;
}

.tableProyects tr:first-child th:first-child {
  border-top-left-radius: 12px;
}

.tableProyects tr:first-child th:last-child {
  border-top-right-radius: 12px;
}

.tableProyects tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

.tableProyects tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}



.tableProyects .link {
  line-height: 20px;
}

.btn-header {
  background: transparent;
  border: 1px solid transparent;
  padding: 0;
}


.pagination-selector, .nav-button-beneficiary {
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  background: transparent;
}
.pagination-selector {
  padding: 10px 14px;
}

.nav-button-beneficiary {
  padding: 8px;
}

.container {
  padding: 10px 14px;
  font-family: Roboto;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 6rem;
  margin-right: 6rem;
}

.proyect-logo {
  max-width: 100%;
  height: auto;
  max-height: 24px;
  object-fit: contain;
}

.nav-pagination-link {
  color: #344054;
}

.btn-proyect, .btn-proyect-disabled {
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid #1B2DBBB2;
  font-family: Roboto;
}

.btn-proyect {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-proyect-disabled {
  background-color: var(--white);
  color: var(--secondary-color);
}


.nav-link{
    color:black !important;
    font-family: Roboto;
}

.nav-link.active {
  color: var(--secondary-color) !important;
}

.expandedFilter {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid #EEEEEE;
  border-radius: 4px;
  gap: 1rem;
}

.expandedFilter select {
  height: 40px;
  border-color: var(--gray-CCC);
}


.beneficiary-container {
  border: 1px solid var(--gray-EEE);
  border-radius: 4px;
}

.grey-background, .green-background {
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  padding: 8px 24px;
  color: var(--white);
}

.green-background {
  background-color: #3CCB7F;
}

.grey-background{
    background-color: darkgray;
}

.log-form {
  width: 412px;
  margin: 10vh auto;
  background-color: var(--white);
  box-shadow: 0px 0 30px var(--shadow-1);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  padding: 24px 20px;
}

.p-r-24{
  padding-right:24px;
}
.p-l-24 {
  padding-left: 24px;
}

.first-row, .third-row {
  display: flex;
  flex-direction: column;
}

.second-row, .third-row {
  padding: 24px;
}

.second-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.first-row {
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.proyect-font-color{
    color: var(--primary-color)
}

.beneficiary-container {
  box-sizing: border-box;
  border: 1px solid var(--gray-EEE);
  border-radius: 4px;
  padding: 12px;
}

  .beneficiary-container img {
    max-width: 100%;
    height: auto;
  }

  .beneficiary-container #barChart {
      height: 342px !important;
  }

  .fit-content {
    width: fit-content;
  }

.font-size-24 {
  font-size: 24px;
}

.font-size-48 {
  font-size: 48px;
}

@media(max-width: 1000px) {
  .body-container {
    margin: 1rem 2rem;
  }

  .header-container {
    margin-left: 2rem;
    margin-right: 2rem;
  }

  .tableProyects th:first-child,
  .tableProyects td:first-child {
    max-width: 300px;
  }
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.font-size-12{
    font-size: 12px;
}

tbody{
    font-size: 14px;
}

.modal-content {
  background-color: #FAFAFA !important;
}

.truncate-row{
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


@media (max-width: 1024px) {
  .second-row {
    flex-direction: column;
    gap: 12px;
  }

    .second-row .col {
      width: 100%;
    }
  .truncate-row{
      max-width: 780px;
  }
}

.text-revert {
  text-wrap: revert;
}


@media (max-width: 574px) {
  .input-header {
    width: 100%;
  }

  .log-form {
    width: 100%;
  }
}

.button-padding {
  padding: 6.5px 14px !important;
  line-height: 1;
}

.td-padding {
  padding: 10px 14px !important;
}

.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050;
}
