/*
 Theme Name:     PT Space
 Theme URI:      https://ptspace.pt/
 Description:    PT Space Website
 Author:         Delta Soluções
 Author URI:     https://deltasolucoes.com/
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
@import url("https://use.typekit.net/scc1bdf.css");
/*** Take out the divider line between content and sidebar ***/
#main-content .container:before {background: none;}
 
/*** Hide Sidebar ***/
#sidebar {display:none;}
 
/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
#left-area {
    width: 100%;
    padding: 23px 0px 0px !important;
    float: none !important;
}
}

/*FLEX CONTAINERS*/
.flex-container {
    display: flex;
       flex-direction: row;
       flex-wrap: wrap;
       width: 100%;
   }
   
   .flex-container>div {
       width: 30.333%;
       background-color: #fff;
       border: none;
       overflow: hidden;
       -webkit-box-shadow: 0px 0px 5px rgba(115,95,89,0.2);
       box-shadow: 0px 0px 5px rgba(115,95,89,0.2);
       margin: 1.5%;
   }

/*CHANGE FIXED HEADER LOGO*/
.et-fixed-header #logo {
    content: url(/wp-content/uploads/2020/06/logo-pt-space2.svg);
    }
    
    /*MENU*/


    /*.hamburger-menu {
        font-size: 30px;
        line-height: 15px;
    }*/
    
    /*FOOTER*/
    div#footer-bottom {
        display: none;
    }
    
    div#mc4wp_form_widget-2 {
        width: 100%;
    }
    
    .logo-footer {
        width: 57%;
    }
    
    span.mail-name-footer {
        font-weight: bolder;
        letter-spacing: 0.05rem;
    }
    
    .et_pb_module.et_pb_text.et_pb_text_0_tb_footer.et_pb_text_align_left.et_pb_bg_layout_light a {
        color: white;
        font-weight: bolder;
        letter-spacing: 0.05rem;
    }
    
    .textwidget.custom-html-widget {
        line-height: 1.3rem;
        font-size: .9rem;
    }
    
    span.number-list-footer {
        color: #428bc3;
        font-size: .7rem;
        font-weight: bolder;
    }
    
    .footer-widget h4 {
        color: white;
        text-transform: uppercase;
        font-size: 25px;
          margin-bottom: 5%;
    }
    
    span.copyright-footer {
        font-size: .8rem;
        color: white;
    }
    
    span.copyright-footer a {
        color: white;
    }
    
    div#footer-widgets {
        letter-spacing: 0.02rem;
    }
    
    input[type="email"] {
        width: 100%;
        background: transparent;
        color: white;
        padding: 2%;
    }
    
    input[type="submit"] {
        border: 1px solid white;
        background: transparent;
        color: white;
        padding: 2% 5%;
          cursor: pointer;
          transition: .7s;
    }
    
    input[type="submit"]:hover {
        background: white;
        color: #333;
          border: 1px solid #333;
    }
    
    ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
      color: white;
      opacity: 1; /* Firefox */
    }
    
    :-ms-input-placeholder { /* Internet Explorer 10-11 */
      color: white;
    }
    
    ::-ms-input-placeholder { /* Microsoft Edge */
      color: white;
    }

    /*TEAM PAGE*/
    .team-element-photo {
        background-size: cover; 
        background-position: center; 
        height: 20rem;  
    }

    .team-element-info {
        padding: 6% 5% 2%;
    }

    h2.team-element-name {
        font-size: 30px;
    }

    h2.team-element-bio {
        color: white;
    }

    .team-element-bio-container {
        display:none;
        height: 20rem;
        background: rgba(0, 0, 0, 0.7);
    }
    .team-element-photo:hover .team-element-bio-container {
        display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
    }

    h4.team-element-function {
        font-size: 19px;
        padding-bottom: 1%;
    }

    .team-element-photo-single {
        background-size: cover; 
        background-position: center; 
        height: 22rem;  
    }

    .teammate-element-photo-single {
        background-size: cover; 
        background-position: center; 
        height: 10rem;  
        opacity: 0.5;
     
    }

    .teammate-element-photo-single:hover { 
        opacity: 1;
    }

    .team-element-info-single {
        padding-bottom: 3%;
    }

    h2.team-element-name-single {
        font-size: 45px;
    }

    h4.team-element-function-single {
        font-size: 26px;
        padding-bottom: 1%;
    }

    h2.teammate-element-name {
        font-size: 23px;
    }

    h4.teammate-element-function {
        font-size: 17px;
        padding-bottom: 1%;
    }

    .flex-container-teammates {
        display: flex;
           flex-direction: row;
           flex-wrap: wrap;
           width: 100%;
       }
       
       .flex-container-teammates>div {
           width: 17%;
           background-color: #fff;
           border: none;
           overflow: hidden;
           -webkit-box-shadow: 0px 0px 5px rgba(115,95,89,0.2);
           box-shadow: 0px 0px 5px rgba(115,95,89,0.2);
           margin: 1.5%;
       }

       .subtitle-comites{
        font-size: 25px;
        line-height: 0.7em;
        text-align: center; 
        color: #000;
        }
        .subtitle-comites-white{
        font-size: 25px;
        line-height: 0.7em;
        text-align: center; 
        color: #fff;
        }
        .title-comites{
            font-family: bebas-neue-pro,sans-serif!important;
            text-transform: uppercase;
            line-height: 1em;
        font-size: 64px;
        text-align: center; 
        color: #000;
        }
        .title-comites-white{
            font-family: bebas-neue-pro,sans-serif!important;
            text-transform: uppercase;
            line-height: 1em;
        font-size: 64px;
        text-align: center; 
        color: #fff;  
        }
        .div-space{
            margin-top: 100px;
            margin-bottom: 100px;
        }
        
        
        
        .div-container-docs{
            width: 940px;
            margin:0 auto;
            padding: 10px;
        }
        
        .credit-esa{
            position: absolute;
            color: white;
            z-index: 2000;
            margin-top: -29px;
            font-size: 11px;
        }
        .error_section{
            height: 100vh;
    background-image: url('https://ptspace.pt/wp-content/uploads/2019/12/ClearSpace-1_with_captured_Vespa-2.jpg');
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
        }

        .link-back{
            margin-left: 50px;
            margin-top: 25px;
        }

        .link-search{
            margin-right: 80px;
            margin-top: 25px;
            text-align: right;
        }

        .link-search a{
            color: black!important;
            font-weight: bold;
        }
@media only screen and (max-width: 1024px) and (min-width: 980px) {
   .team-element-photo-single {
        height: 16rem;  
    }
} 
@media only screen and (max-width: 1280px) and (min-width: 1025px) {
   .team-element-photo-single {
        height: 18rem;  
    }
} 

/*SSP22*/
.page-id-71287 header#main-header, .page-id-71287 footer.et-l.et-l--footer {
    display: none;
}

/*PASSWORD PROTECTED PAGE*/
.w3eden .btn-primary, .w3eden .btn-primary:hover {
    background-color: #2ea3f2;
    border-color: #2ea3f2;
    color: #FFFFFF;
    font-family: bebas-neue-pro,sans-serif!important;
    font-size: 1.2rem;
    letter-spacing: .1rem;
}

h3.package-title a {
	font-size: 1rem;
}

.w3eden .text-muted, h3.package-title a {
    color: #000!important;
	font-family: 'Avenir Book',Helvetica,Arial,Lucida,sans-serif;
}

.w3eden .card {
	border: none;
	background-color: #ffffff;
    border-radius: 10px 10px 10px 10px;
	box-shadow: 0px 2px 18px 0px rgb(71 74 182 / 12%);
	padding: 1% 0;
}

/*FORMS*/
textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    resize: none;
}

.form-autor textarea.wpcf7-form-control.wpcf7-textarea {
    height: 50px;
}

.form-apresentacao textarea.wpcf7-form-control.wpcf7-textarea {
    height: 180px;
}

.et_password_protected_form {
    padding: 12%;
}

.cf7-smart-grid.has-grid .field>label em {
    color: black !important;
    font-style: inherit !important;
}

body:not(.et-tb) #main-content .container, body:not(.et-tb-has-header) #main-content .container {
    padding-top: 15px !important;
}

form#wpcf7-cf7sg-form-workshop-de-preparacao-do-conselho-ministerial-da-esa-cmin-2022 label {
    padding-bottom: 5px;
}

div#cf7sg-form-workshop-de-preparacao-do-conselho-ministerial-da-esa-cmin-2022 .cf7sg-response-output {
    display: none;
}

span.wpcf7-not-valid-tip {
    background: transparent !important;
}

.cf7-smart-grid.has-grid div.field span.wpcf7-not-valid-tip {
    left: 0 !important;
	padding-bottom: 5px;
}

.cf7-smart-grid.has-grid .ui-button {
    border-radius: 10px !important;
}

/*PÁGINA CONTRATOS*/
.pag-projetos h1, h2, h3, h4, h5, h6 {
    font-family: 'Avenir Book', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: bold;
}

/*.pag-projetos p, span, a, label {
    font-family: 'Avenir Book', Helvetica, Arial, Lucida, sans-serif !important;
}*/

form#search-filter-form-78727 ul {
    padding: 0;
}

li.sf-field-search {
    background: #0560a9;
}

li.sf-field-search h4:after {
    content: '🡢';
    padding-left: 15px;
}

select.sf-input-select {
    height: 35px;
}

input.sf-input-range-number.sf-range-min.sf-input-number,
input.sf-input-range-number.sf-range-max.sf-input-number,
input.sf-input-range-number.sf-range-min.sf-input-number,
input.sf-input-range-number.sf-range-max.sf-input-number {
    height: 35px;
    min-width: 95%;
    padding: 0 15px;
    border: none;
}

.sf-meta-range.sf-meta-range-number {
    display: flex;
}

span.sf-range-values-seperator {
    color: white;
    font-weight: bolder;
    padding: 0px 12px 0 5px;
}

form#search-filter-form-78727 {
    background: #868686;
}

li.sf-field-post-meta-funding_entity,
li.sf-field-post-meta-programme,
li.sf-field-post-meta-funding,
li.sf-field-post-meta-year,
li.sf-field-post-meta-entity_final_name,
li.sf-field-post-meta-ip_program_name,
li.sf-field-post-meta-program_element_name,
li.sf-field-post-meta-mission {
    padding-left: 40px !important;
    padding-right: 40px !important;
}

li.sf-field-search {
    padding-left: 40px !important;
    padding-right: 40px !important;
}

li.sf-field-search h4, li.sf-field-search label {
    display: inline-flex;
}

li.sf-field-search h4 {
    background: #002470;
    padding: 5px 15px;
    color: white;
    border-radius: 100px;
    height: 35px;
    line-height: 23px;
    font-family: 'Avenir Book', Helvetica, Arial, Lucida, sans-serif !important;
}

li.sf-field-post-meta-funding_entity h4,
li.sf-field-post-meta-programme h4,
li.sf-field-post-meta-funding h4,
li.sf-field-post-meta-year h4,
li.sf-field-post-meta-entity_final_name h4,
li.sf-field-post-meta-ip_program_name h4,
li.sf-field-post-meta-program_element_name h4,
li.sf-field-post-meta-mission h4 {
    color: white;
    text-transform: capitalize;
    font-size: 15px;
    font-family: 'Avenir Book', Helvetica, Arial, Lucida, sans-serif !important;
}

.pag-projetos h2 {
    font-family: 'Avenir Book', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: bold;
    font-size: 40px !important;
}

.pag-projetos h3 {
    font-size: 19px !important;
    color: #ffffff !important;
    font-family: 'Avenir Book', Helvetica, Arial, Lucida, sans-serif !important;
    line-height: 25px !important;
}

input.sf-input-text {
    border-radius: 100px;
    height: 35px;
    color: #002470 !important;
    font-size: 16px;
    padding-left: 15px;
}

input.sf-input-text {
    border-radius: 100px;
    width: 838px;
    border: none;
    color: #002470 !important;
    font-size: 16px;
    padding-left: 15px;
    font-weight: 600;
}

.searchandfilter select.sf-input-select,
input.sf-input-range-number.sf-range-min.sf-input-number,
input.sf-input-range-number.sf-range-max.sf-input-number {
    border-radius: 100px;
    border: none;
    color: #002470 !important;
    font-size: 15px;
    padding-left: 15px;
    font-weight: 600;
}

.searchandfilter label,
select.sf-input-select {
    width: 100%;
}

li.sf-field-search label {
    width: initial !important;
}

.sf-meta-range.sf-meta-range-slider label {
    width: initial;
}

.meta-slider.noUi-target.noUi-ltr.noUi-horizontal {
    display: none;
}

li.sf-field-post-meta-program_element_name,
li.sf-field-post-meta-mission {
    padding-bottom: 50px !important;
}

li.sf-field-post-meta-funding_entity,
li.sf-field-post-meta-programme {
    padding-top: 30px !important;
}

  form#search-filter-form-78727 ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Cria duas colunas com a mesma largura */
    grid-gap: 20px; /* Espaçamento entre os itens */
    padding: 0;
    margin: 0;
  }
  
  form#search-filter-form-78727 li {
    list-style-type: none; /* Remove os marcadores da lista */
  }
  
  li.sf-field-search {
    grid-column: span 2; /* Faz com que este item ocupe as duas colunas */
  }

  .no-results {
    padding: 10px 40px;
    color: white;
    font-weight: bold;
}

/* Estilo para a tabela específica com o ID #custom-table */
#custom-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ececec;
    /* Fundo cinza claro */
    margin-bottom: 20px;
}

/* Estilo para o cabeçalho da tabela */
#custom-table thead th {
    text-align: left;
    background-color: #F0F0F0;
    /* Mesma cor de fundo que a tabela */
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    color: #6A6A6A;
    /* Cor do texto do cabeçalho */
    border-bottom: 2px solid #DADADA;
    /* Linha inferior como separação */
    text-transform: none;
    /* Removendo maiúsculas */
    white-space: nowrap;
    /* Evita quebra de linha */
}

/* Estilo para as células da tabela */
#custom-table tbody td {
    padding: 15px 15px;
    border-bottom: 1px solid #DADADA;
    /* Linha inferior para separar os dados */
    font-size: 16px;
    color: #1e1d3f;
    font-weight: 500;
}

#custom-table tbody td {
    font-weight: 700;
}

/* Estilo para o botão de expandir */
#custom-table .expand-btn {
    background-color: #7c7c7c;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

#custom-table .expand-btn:hover {
    background-color: #B0B0B0;
}

/* Estilo para as linhas de informação expandida */
#custom-table .extra-info {
    background-color: #F1F1F1;
    display: none;
    /* Escondido inicialmente */
    padding: 10px 15px;
}

#custom-table .extra-info td {
    font-size: 16px;
    color: #1e1d3f;
    padding-top: 10px;
}

span.titulo-expandido {
    color: #6A6A6A;
    font-size: 14px;
}

.page-id-78698 .pagination a {
    font-weight: bold !important;
    color: #1e1d3f !important;
}

/* Ajuste responsivo */
@media (max-width: 768px) {

form#search-filter-form-78727 ul {
display: block;
}

li.sf-field-search label {
width: 100% !important;
margin-top: 10px;
}

li.sf-field-search {
background: #0560a9;
}

li.sf-field-post-meta-funding_entity, li.sf-field-post-meta-programme, li.sf-field-post-meta-funding, li.sf-field-post-meta-year, li.sf-field-post-meta-entity_final_name, li.sf-field-post-meta-ip_program_name, li.sf-field-post-meta-program_element_name, li.sf-field-post-meta-mission, li.sf-field-search {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Estilos atualizados para a tabela */
#custom-table {
display: block;
overflow-x: auto;
white-space: nowrap;
}

#custom-table thead {
display: table-header-group;
}

#custom-table tbody tr {
display: table-row;
}

#custom-table tbody td, #custom-table thead th {
white-space: nowrap;
}

#custom-table .expand-btn {
margin: 10px 0;
}

#noticias-projetos .et_pb_ajax_pagination_container {
display: block !important;
}

div#noticias-projetos article:last-child {
margin-top: 80px;
}

.custom-wrapper h2.entry-title {
font-size: 20px;
}

.pag-projetos h1 {
    font-size: 34px !important;
    line-height: 38px !important;
}

.pag-projetos h2 {
    font-size: 28px !important;
    line-height: 32px !important;
}

.pag-projetos h3 {
    font-size: 15px !important;
    line-height: 24px !important;
}
}


/*NOTÍCIAS PROJETOS*/
#noticias-projetos .et_pb_post img {
    height: 300px;
    object-fit: cover;
    max-width: 100%;
    width: 90%;
}

#noticias-projetos .et_pb_ajax_pagination_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#noticias-projetos .et_pb_post {
    flex: 0 1 calc(50% - 10px);
    margin-bottom: 20px;
}

.custom-wrapper {
    position: absolute;
    z-index: 999999;
    background: rgb(5 96 169 / 80%);
    width: 60%;
    right: 0;
    top: 55%;
    border-bottom-right-radius: 50px;
    min-height: 55%;
    padding: 40px;
}

.custom-wrapper a.more-link {
    text-transform: capitalize;
    border: 1px solid;
    width: max-content;
    padding: 2px 5px;
    position: absolute;
    bottom: 8%;
    font-family: 'Avenir Book', Helvetica, Arial, Lucida, sans-serif !important;
}

.custom-wrapper a {
    color: white;
    font-family: 'Avenir Book', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: 18px;
    line-height: 22px;
}

@media (max-width: 768px) {
    .custom-wrapper {
        padding: 20px !important;
    }

    .custom-wrapper a {
        font-size: 14px !important;
        line-height: 16px !important;
    }
}

/*TIMER FORMULÁRIOS*/
.inscricoes-encerradas {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

/*TERRA EM FOCO 2025*/
.titulo-terra-em-foco h1 {
    font-family: 'Manrope', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: clamp(2rem, 5.2vw, 13rem) !important;
    text-transform: inherit;
}

.subtitulo-terra-em-foco h2 {
    font-family: 'Manrope', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: clamp(1rem, 2.4vw, 6rem) !important;
    text-transform: inherit;
}

.data-terra-em-foco p {
    font-family: 'Manrope', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: clamp(1rem, 2.4vw, 5rem) !important;
	font-weight: 100;
}

.local-terra-em-foco p {
    font-family: 'Manrope', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: clamp(1rem, 2.4vw, 5rem) !important;
    margin-top: 4%;
}

div#footer-terra-em-foco img {
    max-height: 35px;
}

.mais-info-brevemente {
    font-family: 'Manrope', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: clamp(.8rem, 1.4vw, 5rem) !important;
}

.page-id-77126 .one_fourth {
	width: 21%;
}

.page-id-77126 textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required {
    border-radius: 50px 50px 50px 50px;
    overflow: hidden;
    border-width: 2px;
    border-color: #ffffff;
    background-color: rgba(0, 0, 0, 0);
}

/*SINGLE NOTÍCIAS SIDEBAR*/
.text-sidebar {
	line-height: 1.2rem !important;
}