#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* Ensure the video is behind other content */
}
.form-control, .close {
  font-family: "Apex New" !important;
}
.block-custom-block {
  position: relative;
  width: 100vw;
  height: 100vh; /* Full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1; /* Ensure the block content is above the video */
}

.video-overlay-content {
  color: white;
  text-align: left; /* Changed to center the text */
  padding: 1em;
  box-sizing: border-box;
  padding-left: 20%;
  padding-right: 45%;
  z-index: 3;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* This adds the #000 color with 50% opacity */
  z-index: 2;
}

.video-title {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  color: white;
  font-weight: 600;
}

.video-subtitle {
  font-size: 1.5em;
  margin-bottom: 0.5em;
  color: white;
}

.video-text {
  font-size: 1em;
  margin-bottom: 1em;
  color: white;
  padding-bottom: 24px;
}

.video-button {
  background-color: #5CFFCD;
  color: black;
  padding: 0.5em 1em;
  text-decoration: none;
  border-radius: 0.3em;
  font-weight: 500;
  border-color: #5CFFCD;
  border: 2px solid transparent;
  margin-top: 20px;
  transition: 0.3s ease;
}

.video-button:hover {
  background-color: #fff;
  border: 2px solid #fff;
  color: #000;
}
.c-layout-breadcrumbs-1{
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.c-layout-breadcrumbs-1 .c-page-breadcrumbs > li:hover a{
 text-decoration: underline !important;
 color: #006EAB !important;
}
.c-page-title.c-pull-left h3.c-font-uppercase.c-font-sbold{
  display: none;
}
.c-breadcrumbs-wrapper .container{
  display: flex !important;
  justify-content: left;
}

/* Acertar as breadcrumbs com o container do body */
.c-breadcrumbs-wrapper .container{
  width: 1170px !important;
  padding-left: 24px !important;
}

/* Pagina da legislacao */

#legislation-page-title {
  color: #000;
  font-size: 24px;
  font-weight: 550;
  margin-bottom: 48px;
  margin-top: 56px;
}
.legislation-table-title{
  color: #000 !important;
}
.legislation-card {
  display: flex;
  flex-direction: column;
  margin-bottom: 36px;
  border: 1px solid #B9CAD4;
  border-radius: 10px;
  padding: 32px;
  width: 65%;
}
.legislation-section-title {
  font-size: 18px;
  margin-bottom: 28px;
  color: #000;
  font-weight: 550;
}
.legislation-section-title a {
  color: black
}
.legislation-section-title a:hover{
  color: #006EAB !important;
  text-decoration: underline;
}
.legislation-section-div {
  padding-left: 12px;
  color: #000;
  font-weight: 500;
  font-size: 16px;
}
.legislation-section-div li {
  margin-bottom: 16px;
}
.table-hover > tbody > tr:hover{
  background-color: inherit !important
}
.legislation-page-table table th, .legislation-page-table table td { 
  width: 50%;
 }
.legislation-table-page table { 
  border-collapse: collapse !important; 
  border: none !important;
  margin-bottom: 0px !important;
  table-layout: fixed !important;
  width: 100% !important;
} 
.legislation-table-page table th, .legislation-table-page table td {
  border-left: none !important;
  border-right: none !important;
  color: #000;
}
.legislation-table-page header { 
  color: #000 !important;
  font-size: 24px !important;
  font-weight: 550 !important;
}
.legislation-table-page table > thead > tr > th {
  color:black !important;
}
.legislation-table-page a[href] {
  color: #006EAB !important;
  background-color: transparent !important;
  font-size: 16px !important;
  font-weight: 550 !important;
  text-decoration: underline;
}
.external-icon{
  color: #006EAB !important;
  text-decoration: none !important;
}
.legislation-table-page td p{ 
  color : black !important; 
  background-color: transparent !important;
}
.legislation-table-page table tbody tr:nth-child(odd) {
  background-color: #F6F8F9 !important;
}
.legislation-section-div li a {
  color: black !important;
  font-weight: 500;
  font-size: 16px !important;
  
}
.legislation-section-div li a:hover {
  color: #006EAB !important;
  text-decoration: underline;
}
#block-breadcrumbswhite{
  margin-top: 0 !important;
  padding-top: 72px;
}

.legislation-table-separator-div{
  padding-bottom: 100px
}
/* Final da pag Legislacao */


/* Formulario de contacto */

#webform-submission-contact-add-form .field-prefix{
  color: #D4404A !important;
}

#webform-submission-contact-add-form .submit-btn{
  color: white !important;
  background-color: #006EAB !important;
  padding: 10px !important;
  font-size: 16px !important;
  font-weight: 550 !important;
  border: 2px solid #006EAB !important;
  border-radius: 5px !important;
  transition: 0.3s ease !important;
}
#webform-submission-contact-add-form .submit-btn:hover {
  background-color: #00365C !important;
  border-color: #00365C !important;
}
#webform-submission-contact-add-form #edit-name,
#webform-submission-contact-add-form #edit-email,
#webform-submission-contact-add-form #edit-subject,
#webform-submission-contact-add-form #edit-message{
  border-radius: 5px !important;
  color: #000 !important;
  font-size: 16px !important;
  border: 1px solid #B9CAD4 !important;
  font-weight: 500 !important;
}
#webform-submission-contact-add-form #edit-name:focus,
#webform-submission-contact-add-form #edit-email:focus,
#webform-submission-contact-add-form #edit-subject:focus,
#webform-submission-contact-add-form #edit-message:focus{
  border:1px solid #006EAB !important;
}
#webform-submission-contact-add-form #edit-message{
  max-height: 150px;
  max-width: 100%;
  min-height: 100px;
  min-width: 100%;
}
#webform-submission-contact-add-form label[for="edit-name"],
#webform-submission-contact-add-form label[for="edit-email"],
#webform-submission-contact-add-form label[for="edit-subject"],
#webform-submission-contact-add-form label[for="edit-message"] {
    font-weight: 550;
    font-size: 16px;
    color: #000;
}
.contact-title{
  color: #000;
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 24px;
}
#edit-captcha-response--description{
  display: none !important;
}
.captcha-type-challenge--image .captcha__element>.form-item>label{
  margin-top: 20px !important;
}
.reload-captcha-wrapper{
  display: none;
}

/* Termos de servico e politica de privacidade */
.terms-of-service-page,
.privacy-policy-page{
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 70%;
}
.terms-of-service-page header,
.privacy-policy-page header{
  margin-top: 56px;
}
.terms-of-service-page h1,
.privacy-policy-page h1{
  font-size: 24px;
  font-weight: 550;
  color: black;
}
.terms-of-service-page h3,
.privacy-policy-page h3{
  font-size: 18px;
  font-weight: 500;
  color: black;
}
.terms-of-service-page p,
.privacy-policy-page p,
.terms-of-service-page ul li,
.privacy-policy-page ul li,
.terms-of-service-page ol li,
.privacy-policy-page ol li{
  font-size: 16px;
  font-weight: 400;
  color: black;
}
.terms-of-service-page p strong,
.privacy-policy-page p strong{
  font-weight: 500;
}
.terms-of-service-page footer,
.privacy-policy-page footer{
  font-weight: 500;
  font-size: 16px;
  color: black;
}
@media (max-width: 1200px) {
  .c-breadcrumbs-wrapper .container{
      width: 970px !important;
  }
  .terms-of-service-page,
  .privacy-policy-page{
    width: 100%;
  }    
}
@media (max-width: 991px) {
  .c-breadcrumbs-wrapper .container{
      width: 750px !important;
  }
}
@media (max-width: 768px) {
  .c-breadcrumbs-wrapper .container{
    width: auto !important;
  }
  
}


@media (max-width: 768px) {
  #background-video {
    height: 80dvh;
  }
  .video-overlay-content {
    padding-left: 10dvw;
    padding-right: 30dvw;
  } 
  .video-overlay-content a{
    width: 90%;
    justify-self: center;
  }
  .block-custom-block {
    height: 80dvh;
  }
  .video-title {
    font-size: 1.8em;
    margin-bottom: 0.3em;
  }

  .video-subtitle {
    font-size: 1.2em;
    margin-bottom: 0.3em;
  }

  .video-text {
    font-size: 0.9em;
    margin-bottom: 0.8em;
  }

  .video-button {
    padding: 0.4em 0.8em;
    font-size: 0.9em;
  }
  .legislation-card {
    width: 100%;
  }

}

@media (max-width: 480px) {
  #background-video {
    height: 80dvh; /* Adjust height for smaller screens */
  }
  .video-overlay-content {
    padding-left: 0;
    padding-right: 0;
    width: 90dvw;
}

  .block-custom-block {
    height: 80dvh;
  }

  .video-title {
    font-size: 30px;
  }

  .video-subtitle {
    font-size: 24px;
  }

  .video-text {
    font-size: 16px;
  }

  .video-button {
    display: flex;
    padding: 14px 14px 14px 14px;
    font-size: 16px;
    margin-top: 24px;
    width: 100dvw;
    justify-content: center;
    font-weight: 550;
  }
}

.c-counter-bg-1{
  background: #87CEB8 !important;
  width: 30px;
  height: 3px;
  margin: 0 auto 30px auto;
}

.c-border-counter-1 {
    border-color: #5CFFCD !important;
}

.c-btn-1.btn {
    color: #ffffff;
    background: #006EAB;
    border-color: #006EAB;
    border-radius: 0px 5px 5px 5px;
}

.c-line-left-1{
  background: #87CEB8 !important;
  width: 30px;
  height: 3px;
  margin: 0 0 30px 0;
}

.c-btn-2{
    color: white !important;
    background: #006EAB !important;
    border-color: #006EAB !important;
    border-radius: 5px!important
}

.c-btn-2:hover{
    color: #006EAB !important;
    background: #FFFFFF !important;
}

.c-bg-color-1{
   background-color: #006FAC !important;
}

.c-content-accordion-1 .panel > .panel-heading > .panel-title > a.collapsed:hover, .c-content-accordion-1 .panel > .panel-heading > .panel-title > a.collapsed:focus {
    color: #000;
    transition: all 0.2s;
}

.c-content-accordion-1.c-accordion-green .panel > .panel-heading > .panel-title > a.collapsed:hover, .c-content-accordion-1.c-accordion-green .panel > .panel-heading > .panel-title > a.collapsed:focus {
    color: #000;
    background-color: white;
}

.c-content-accordion-1.c-accordion-green .panel > .panel-collapse > .panel-body {
    background-color: white;
}

.c-content-accordion-1 .panel > .panel-collapse > .panel-body {
    border-top: none;
    padding: 0px 30px 35px 30px;
    color: #000;
}

.c-content-accordion-1.c-accordion-green .panel > .panel-heading > .panel-title > a {
    background-color: white;
    color: #000
}

.panel-title a {
  display: block;
  position: relative;
  padding-left: 20px; /* Espaço para o ícone */
}


.panel-collapse.in {
  display: block;
}


.custom-theme-open-page.btn {
    color: #ffffff !important;
    background: #006EAB !important;
    border-color: #006EAB !important;
    border-radius: 0px 5px 5px 5px !important;
    border: 2px solid transparent;
}

.custom-theme-open-page.btn:hover {
    background: #00365C !important;
    border-color: #00365C !important;
}

.style_alternative > .panel-heading > .panel-title > a {
  background-color: #006EAB !important;
}

.style_alternative > .panel-heading > .panel-title > a.collapsed {
  background-color: #fff !important;
}

.style_alternative > .panel-heading > .panel-title > a.collapsed:hover {
  color: #fff !important;
}

.style_alternative > .panel-heading > .panel-title > a:hover {
  background-color: #006EAB !important;
  color: #fff !important;
}

.style_alternative > .panel-collapse > .panel-body {
  background-color: #006EAB !important;
}






