/*
Theme Name: critec
Theme URI: https://critec.pt/
Author: critec
Author URI: https://critec.pt/
Description: critec
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: critec
*/

/*
Theme Name: critec
Theme URI: https://critec.pt/
Author: critec
Author URI: https://critec.pt/
Description: critec
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: critec
*/

html {
	background-color: #f0f0f0;
}

h2, h3, h4, h5, h6 {    
    text-align: left !important;
}

h1 {
    text-align: center !important;
}

.about-page h1 {
    text-align: left !important;
}

.image img {
	object-fit:cover;
}

.news_desc .text-capitalize.font-normal.darkcolor a {
    white-space: normal;
}


/* FOOTER */
.navbar-nav.ml-auto.mr-auto.footer-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.slick-img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

#sidemenu_toggle {
    display: none;
}

.cbp-caption-zoom .cbp-caption:hover .cbp-caption-activeWrap {
    background-color: #abcc6d;
}

@media screen and (max-width:756px) {
    #sidemenu_toggle {
        display: block;
    }
}

section.bg-dark-gray-2 {
    padding-top: 140px !important;
    padding-bottom: 40px !important;
    background-color: #aaaaaa !important;
}

.bg-dark-gray-2 .page-title-extra-large h1 {
    font-size: 3.3rem;
    line-height: 3.7rem;
    padding-bottom: 40px !important;
}


.bg-dark-gray-2 .small-screen {
    height: unset !important;
}

.banner-all {
    position: relative;
}

.bg-other-pages .small-screen {
    height: 200px !important;
}

.bg-other-pages .page-title-extra-large h1 {
    font-size: 2.8rem;
    line-height: 3.238rem;
    padding-bottom: 0px !important;
}

.bg-other-pages .breadcrumb {
    margin-top: 40px !important;
}

.banner-img {
    position: relative;
}


.banner-content {
    position: absolute;
    bottom: 50px; 
    left: 30px; 
    color: #fff; 
    padding: 50px; 
    width: calc(100% - 40px); 
    box-sizing: border-box;
}

.banner-title {
    font-size: 100px; 
    margin: 0; 
    font-weight: bold;
}

.banner-subtitle {
    font-size: 100px; 
    color: #849D46;
    font-weight: bold; 
    margin: 40px 0 0 0; 
}

#about  .heading-title.mb-4  .darkcolor.font-normal.bottom30 p {
    font-size: 45px;
    line-height: 1em;
}

#blog .col-lg-4, .col-md-6 {
    display: flex;
    flex-direction: column;
}

#blog .news_item {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-bottom: 20px; /* Ajuste conforme necessário */
}



#blog .news_desc {
    flex: 1; /* Faz com que a descrição ocupe o restante do espaço */
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
}

#blog .news_item .blog-img {
    margin: unset !important;
}

#stayconnect {
    display:none;
}

.full-map {
    margin-bottom: unset !important;
}

.title-privacy h1 {
    padding: 20px;
    color: #384141;
    text-align: center;
}

.description-legal {
    padding-bottom: 50px;
    padding-top: 20px;
}

.navbar-brand {
    width: 190px !important;
}
.navbar-brand img{
    max-height: 120px;
    object-fit: contain;
}

.pagina-legal h1,
.pagina-legal h2,
.pagina-legal h3,
.pagina-legal h4,
.pagina-legal h5,
.pagina-legal h6 {
    color: #232323;
}


.shadow-in .separator-animation {
    display: none;
}

 /* Estilos do tema aplicados ao FluentForm */
 .contact-form-style-03 #fluentform_1,
 .contact-form-style-03 .frm-fluent-form {
     margin: 0;
     padding: 0;
 }
 
 .contact-form-style-03 #fluentform_1 fieldset {
     border: none !important;
     margin: 0 !important;
     padding: 0 !important;
     background-color: transparent !important;
     box-shadow: none !important;
     outline: none !important;
 }
 
 /* Estilizar campos de input e textarea do FluentForm */
 .contact-form-style-03 #fluentform_1 input[type="text"],
 .contact-form-style-03 #fluentform_1 input[type="email"],
 .contact-form-style-03 #fluentform_1 textarea,
 .contact-form-style-03 #fluentform_1 .ff-el-form-control {
     outline: none !important;
     border: none !important;
     border-bottom: 1px solid #e4e4e4 !important;
     background: transparent !important;
     padding: 12px 0 !important;
     width: 100% !important;
     font-size: 18px !important;
     color: var(--medium-gray, #666) !important;
     transition: 0.3s !important;
     border-radius: 0 !important;
     margin-bottom: 0 !important;
 }
 
 .contact-form-style-03 #fluentform_1 input:focus,
 .contact-form-style-03 #fluentform_1 textarea:focus,
 .contact-form-style-03 #fluentform_1 .ff-el-form-control:focus {
     border: 0 !important;
     border-bottom: 1px solid #c2c2c2 !important;
     box-shadow: none !important;
     outline: none !important;
 }
 
 .contact-form-style-03 #fluentform_1 textarea {
     resize: none !important;
 }
 
 /* Estilizar grupos de campos - normalizar margens */
 .contact-form-style-03 #fluentform_1 .ff-el-group,
 .contact-form-style-03 #fluentform_1 .ff-field_container {
     position: relative !important;
     margin-bottom: 20px !important;
     margin-top: 0 !important;
 }
 
 /* Garantir que o container do campo nome não adicione margens extras */
 .contact-form-style-03 #fluentform_1 .ff-name-field-wrapper,
 .contact-form-style-03 #fluentform_1 .ff-name-field-wrapper .ff-t-container,
 .contact-form-style-03 #fluentform_1 .ff-name-field-wrapper .ff-t-cell {
     margin: 0 !important;
     padding: 0 !important;
 }
 
 .contact-form-style-03 #fluentform_1 .ff-name-field-wrapper .ff-el-group {
     margin-bottom: 20px !important;
 }
 
 .contact-form-style-03 #fluentform_1 .ff-el-group.form-textarea,
 .contact-form-style-03 #fluentform_1 .ff-field_container:has(textarea) {
     margin-top: 0 !important;
     margin-bottom: 20px !important;
 }
 
 /* Ocultar labels se necessário */
 .contact-form-style-03 #fluentform_1 .ff-el-form-hide_label .ff-el-input--label {
     display: none !important;
 }
 
 /* Mensagens de erro com posição absoluta */
 .contact-form-style-03 #fluentform_1 .ff-el-input--content {
     position: relative !important;
     padding-bottom: 25px !important;
 }
 
 .contact-form-style-03 #fluentform_1 .ff-el-input--content .error {
     position: absolute !important;
     bottom: 0 !important;
     left: 0 !important;
     margin: 0 !important;
     padding: 0 !important;
     font-size: 12px !important;
     color: #dc3545 !important;
     line-height: 1.2 !important;
 }
 
 /* Wrapper do botão */
 .contact-form-style-03 #fluentform_1 .ff_submit_btn_wrapper {
     margin-top: 0 !important;
     margin-bottom: 0 !important;
 }
 
 /* Estilizar botão de submit */
 .contact-form-style-03 #fluentform_1 .ff-btn-submit,
 .contact-form-style-03 #fluentform_1 button[type="submit"] {
     margin-top: 30px !important;
     width: 100% !important;
     padding: 15px 30px !important;
     font-size: 16px !important;
     font-weight: 600 !important;
     text-transform: uppercase !important;
     letter-spacing: 1px !important;
     border-radius: 6px !important;
     border: none !important;
     background-color: var(--base-color, #2946f3) !important;
     color: #fff !important;
     cursor: pointer !important;
     transition: all 0.3s ease !important;
     box-shadow: 0 5px 15px rgba(41, 70, 243, 0.3) !important;
 }
 
 .contact-form-style-03 #fluentform_1 .ff-btn-submit:hover,
 .contact-form-style-03 #fluentform_1 button[type="submit"]:hover {
     transform: translateY(-2px) !important;
     box-shadow: 0 8px 20px rgba(41, 70, 243, 0.4) !important;
 }
 
 /* Placeholder styling */
 .contact-form-style-03 #fluentform_1 input::placeholder,
 .contact-form-style-03 #fluentform_1 textarea::placeholder {
     color: var(--medium-gray, #999) !important;
     opacity: 1 !important;
 }
 
 /* Remover estilos padrão do FluentForm */
 .contact-form-style-03 #fluentform_1 .ff-t-container {
     margin: 0 !important;
     padding: 0 !important;
 }
 
 .contact-form-style-03 #fluentform_1 .ff-t-cell {
     padding: 0 !important;
     margin: 0 !important;
 }
 
 /* Garantir que todos os grupos de campos têm a mesma estrutura */
 .contact-form-style-03 #fluentform_1 .ff-el-group > .ff-el-input--content {
     margin: 0 !important;
     padding: 0 !important;
     padding-bottom: 25px !important;
 }
 
 /* Reduzir margem do elemento de termos e condições */
 .contact-form-style-03 #fluentform_1 .removeMargin {
     margin-bottom: 0 !important;
     padding-bottom: 0 !important;
 }
 
 .contact-form-style-03 #fluentform_1 .removeMargin > .ff-el-input--content {
     padding-bottom: 0 !important;
     margin-bottom: 0 !important;
 }
 
 .contact-form-style-03 #fluentform_1 .removeMargin .ff-el-tc {
     margin-bottom: 0 !important;
 }
 
 .contact-form-style-03 #fluentform_1 .removeMargin .ff-el-tc .ff_t_c {
     margin-bottom: 0 !important;
     padding-bottom: 0 !important;
 }
 
 .contact-form-style-03 #fluentform_1 .removeMargin .ff-el-tc .ff_t_c p {
     margin-bottom: 0 !important;
     padding-bottom: 0 !important;
 }
 
 .contact-form-style-03 #fluentform_1 .removeMargin .ff-el-tc label {
     margin-bottom: 0 !important;
 }
 .iframe-mapa iframe{
     width: 100% !important;
     height: 400px !important;
     border: none !important;
 }

 .title-banner {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
 }

@media (max-width: 991px) {
    .navbar-brand img {
        filter: unset;
    }
    header{
        height: 130px;
    }
}

@media (max-width: 768px) {
    .banner-title {
        font-size: 60px;
    }

    .banner-subtitle {
        font-size: 60px;
        line-height: normal;
    }

    .banner-content {
        padding: 20px;
        bottom: 30px;
        left: 15px;
        width: calc(100% - 30px);
    }
}

.pagina-legal ul li {
    list-style: disc;
}

.planeamento-logos {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.planeamento-logos__item {
    aspect-ratio: 10/8;
    padding: 10px;
    border: 1px solid #e7e7e7;
    border-radius: 6px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.planeamento-logos__item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 991px) {
    .planeamento-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .planeamento-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}