/* --- ESTILOS DEL HEADER Y EL FOOTER */
@import url("../../../GlobalElements/HeaderFooter/css/stylesHeaderFooter.css");
@import url("../../../GlobalElements/Sponsors/css/styles_sponsors.css");
/* ---------------------------------------------------------------- */

/* Agrego otros estilos necesarios para el header */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', 'Roboto', sans-serif;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #000;
}

.line {
    border-bottom: 2px solid #5e5803; 
}

.wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; 
    background-color: #F4F4F4;
}

.statute_title {
    font-size: 3rem;
    margin-top: 2rem;
}
  
.container-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-direction: row;
}
  
main {
    width: 80%;
    height: 100%;
    margin-bottom: 6rem;
}
  
main .main-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}

.steering-committees {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

.steering-committees .container {
    width: 90%;
}

.committie {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.committie table {
    margin-bottom: 4rem;
    border-collapse: collapse;
    width: 100%;
}

.committie h5 {
    margin-top: 1rem;
    margin-bottom: 2.5rem;
    font-size: 2.5rem;
}

.committie-title {
    text-align: center;
    font-weight: 500;
    margin-top: 6rem;
}

.committie-title h3 {
    font-size: 3rem;
}

.committie tr {
    text-align: left;
    padding-left: 5px;
    font-size: 1.2rem;
    width: 100%;
}

.committie td {
    border-bottom: 1px solid #736B028F;
    padding: 8px 0;
    font-size: 1rem;
    width: 50%;
}

/* RESPONSIVE */
@media screen and (max-width: 1140px) {
    /* Estilos para que los sponsors se adapten como columna */
    .wrapper .container-wrapper {
        flex-direction: column;
    }

    .wrapper .statute_title {
        margin: 2rem 0;
    }
    
      .wrapper .container-wrapper main {
        width: 100%;
    }
}

@media screen and (max-width: 900px) {
    .committie-title {
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 650px) {
    .committie-title {
        margin-top: 2rem;
    }

    .committie-title h3 {
        font-size: 2.4rem;
        text-align: center;
        text-wrap: wrap;
    }

    .committie h5 {
        font-size: 1.8rem;
        margin-top: 1rem;
        margin-bottom: 1.2rem;
    }

    .committie .tr-cargo-nombre{
        display: flex;
        background-color: unset;
        box-shadow: none;
        border-radius: unset;
        width: 100%;
    }

    .committie table {
        margin-bottom: 1rem;
    }

    .committie .tr-cargo-nombre th{
        width: 100%;
    }

    .committie tr {
        display: flex;
        margin-bottom: 30px;
        width: 100%;
        background-color: #F3F3F3;
        box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.15);
        border-radius: 30px;
    }

    .committie td {
        border-collapse: collapse;
        border: none;
        padding: 15px;
    }
} 

@media screen and (max-width: 420px) {
    .committie-title h3 {
        font-size: 2rem;
    }

    .committie h5 {
        font-size: 1.4rem;
    }

    .committie th {
        font-size: 1rem;
    }

    .committie td {
        font-size: .8rem;
    }
} 

@media screen and (max-width: 330px) {
    .committie-title h3 {
        font-size: 1.8rem;
    }

    .committie tr {
        margin-bottom: 20px;
    }
}

/* Estilos y mediaqueries del buscador */
.modal-searchbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }
  
  .modal-search {
    background: none;
    border: none;
    width: 100%;
    margin-left: 10px;
  }
  
  .results-container,
  .modal-results-container {
    width: 100%;
    max-width: 1265px;
  }
  
  .results-container .section-title,
  .modal-results-container .section-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.8rem;
  }
  
  .modal-content .container {
    max-width: 1265px;
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.56rem;
  }
  
  .search-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
  
    border-radius: 15px;
    background: #F1F1F1;
    box-shadow: 0px 2px 10px 1px rgba(0, 0, 0, 0.25);
    border: none;
    width: 100%;
    padding: .44rem .63rem;
  }
  
  .modal-content {
    background: rgba(241, 241, 241, 0.95);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 1536px;
    max-height: 80%;
    width: 100%;
    overflow: auto;
    position: relative;
    display: flex;
    justify-content: flex-start;;
    align-items: center;
    flex-direction: column;
    margin: 2rem;
    gap: 3.75rem;
    position: relative;
  }
  
  .modal-content .modal-list {
    padding: 0;
    margin: 0;
    margin-left: 1rem;
  }
  
  .modal-content .modal-list .modal-link {
    color: #000;
    text-decoration: none;
    transition: .2s all ease-in-out;
  }
  
  .modal-content .modal-list .modal-link:hover {
    color: #736b02;
    transition: .2s all ease-in-out;
  }
  
  .modal-content .modal-list li {
    margin-bottom: 5px;
    color: #000;
    font-family: 'Nunito', sans-serif;
  }
  
  .item-title {
    text-decoration: underline;
  }
  
  .modal-content button.close-button {
    padding: 5px 10px;
    cursor: pointer;
    background-color: none;
    border: none;
    border-radius: 4px;
    font-size: 25px;
    color: #FF0000;
    background: none;
    margin-left: 2.5rem;
    transition: .2s all ease-in-out;
  }
  
  .modal-content button.close-button:hover {
    transition: .2s all ease-in-out;
    color: #d30303;
  }
  
  .scroll-to-top {
    position: fixed;
    bottom: 120px;
    /* right: 30px; */
    z-index: 1000;
    padding: 10px 15px;
    background-color: #736b02;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 25px;
    transition: .2s all ease-in-out;
    border-radius: 100%;
    box-shadow: 10px 10px 39px -2px rgba(0,0,0,0.25);
    -webkit-box-shadow: 10px 10px 39px -2px rgba(0,0,0,0.25);
    -moz-box-shadow: 10px 10px 39px -2px rgba(0,0,0,0.25);
    width: 50px;
    height: 50px;
  }
  
  .scroll-to-top:hover {
    background-color: #554f02;
    transition: .2s all ease-in-out;
  }
  
  /* RESPONSIVE */
  @media screen and (max-width: 1412px) {
    .results-container, .modal-results-container {
        max-width: 1240px;
        margin-left: 1rem;
    }
  }
  @media screen and (max-width: 800px) {
    .modal-content {
        gap: 1.8rem;
    }
  
    .modal-content .container {
        margin-top: 1.2rem;
    }
  }
  
  @media screen and (max-width: 380px) {
    .modal-content button.close-button {
        margin-left: .5rem;
        font-size: 20px;
    }
  
    .results-container .section-title,
    .modal-results-container .section-title  {
        font-size: 1.4rem;
    }
}

.modal-searchbox {
    display: none;
}