/*
Theme Name: APPACDM Lisboa 2024
Theme URI: http://empower.pt/
Description: Actualização APPACDM Lisboa, dezembro de 2023
Author: Álvaro Góis
Author URI: https: //alvarogois.ovni.org/
Template: generatepress
Version: 3.3.1
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* ÚTIL */
.no-margin-bottom {
	margin-bottom: 0px !important;
}
.no-padding-bottom {
	padding-bottom: 0px !important;
}
.no-margin-top {
	margin-top: 0px !important;
}
.no-margin {
	margin: 0px !important;
}

body,
button,
input,
select,
textarea {
	font-size: 18px;
	line-height: 1.5;
	font-weight: 500 !important;
}

html, body {
    overflow-x: hidden;
}
.home #content {
	padding-top: 0 !important;
}
/*.qubely-column {
    box-sizing: border-box;
}*/
*, *:before, *:after {
    box-sizing: border-box;
}

.home #content,
.page-id-6967 #content,
.page-id-7192 #content,
.page-id-7297 #content,
.page-id-9530 #content,
.page-id-7420 #content {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

body.has-no-title #content {
	padding-top: 0;
}

.qubely-section.qubely-block-d899c4 {
	margin-bottom: 0 !important;
}

/* NAV */
.main-navigation ul ul {
    width: 240px;
}

ul#menu-social-topo a, .secondary-navigation .main-nav ul li a {
	font-size: 24px;
}

@media (max-width: 767px) {
	.main-navigation .main-nav ul li a, .menu-toggle, .main-navigation .mobile-bar-items a {
    	line-height: 50px;
	}
}

.navigation-branding,
.site-logo.mobile-header-logo {
	margin-right: 20px;
	margin-left: 10px;
}

@media (min-width: 815px) and (max-width: 889px) {
	.main-navigation .main-nav ul li a {
		padding-left: 10px;
		padding-right: 10px;
	}
}

/* Remove secondary navigation in mobile */
.secondary-navigation .menu-toggle {
      display: none;
}

@media(max-width: 768px) {
    .secondary-navigation {
        text-align: center !important;
    }
    .secondary-navigation ul {
        display: block;
    }
    .secondary-navigation .sf-menu>li {
        float: none;
        display: inline-block !important;
    }
}

/* Frontpage */
.wp-block-qubely-row.alignfull.qubely-section.qubely-block-db1abb {
    margin-bottom: 0em;
}

/* Sidebar widgets */
aside#text-4 {
    padding-bottom: 80px !important;
}

.widget-title {
    margin-bottom: 20px;
}

.shortcodes-ultimate .widget-title, #shortcodes-ultimate-3 > .widget-title, #shortcodes-ultimate-4 > .widget-title, #text-27 > .widget-title, #text-27 > .widget-title, #text-22 > .widget-title, .swifty-img-widget-class .widget-title {
	border-top: 1px solid rgba(0,0,0,.1);
	padding-top: 10px;
}

.su-carousel.transparent.no-border .su-carousel-slide img {
    background: none;
    border: none;
}

.su-carousel.transparent.no-border .su-carousel-slide a {
    padding: 0 25px;
}

/* Smart Recent Posts */
.srpw-thumbnail{
	width: 60px;
	height: 60px;
}
.srpw-summary {
    font-size: 13px;
    padding-bottom: 20px;
    padding-left: 80px;
}

/* Tipografia */
h3.lead, span.caixa {
	color: #5799ce;
	font-style: italic;
	line-height: 1.4em;
}

.su-spoiler-title {
    font-size: 0.9em !important;
    color: #1e73be;
}

/* DLM */
ul.dlm_download_list {
	list-style-type: none;
	margin-left: 0;
	font-size: 0.9em;
}

ul.dlm_download_list > li {
	margin-bottom: 0.5em;
}

/* .gb-container .gb-container-5dbb2d08 ul.dlm-downloads {
    padding:0;
    margin:0;
    display: flex;
    list-style: none;
    justify-content: center;
} */

.capas-boletim ul.dlm-downloads {
  display: flex;
  flex-wrap: wrap;
  list-style: none; /* Remove default list styles */
  padding: 0; /* Remove default padding */
	justify-content: space-between;
	margin: 0;
}

.capas-boletim-home ul.dlm-downloads {
	width: 100%; /* Adjust the maximum width of the container */
  margin: auto; /* Center the container on the page */
}
.capas-boletim ul.dlm-downloads li {
	/* margin-right: 10px; */
	width: 23%;
	text-align: center;
}

.capas-boletim-home ul.dlm-downloads li {
	width: 23%;
	text-align: center;
}

@media (min-width: 768px) and (max-width: 889px) {
	.capas-boletim ul.dlm-downloads li {
		/* margin-right: 10px; */
		width: 48%;
	}

	.capas-boletim-home ul.dlm-downloads li {
		width: 48%;
	}
}

@media (max-width: 767px) {
	.capas-boletim ul.dlm-downloads li {
		/* margin-right: 10px; */
		width: 100%;
		text-align: center;
	}

	.capas-boletim-home ul.dlm-downloads li {
		width: 100%;
		text-align: center;
	}
}

/* .capas-boletim ul.dlm-downloads li img {
    width: 100%;
} */

img.dlm-xhr-loading-gif,
.capas-boletim > ul > li > a > img.dlm-xhr-loading-gif {
    height: 20px !important;
    width: 20px !important;
}

/* ul.dlm-downloads > li > a > img {
  aspect-ratio: 3/4;
} */

/* work-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  src: url('https://appacdm-lisboa.pt/site/wp-content/themes/appacdm2024/fonts/work-sans-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* work-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Work Sans';
  font-style: italic;
  font-weight: 400;
  src: url('https://appacdm-lisboa.pt/site/wp-content/themes/appacdm2024/fonts/work-sans-v19-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* work-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 500;
  src: url('https://appacdm-lisboa.pt/site/wp-content/themes/appacdm2024/fonts/work-sans-v19-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* work-sans-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Work Sans';
  font-style: italic;
  font-weight: 500;
  src: url('https://appacdm-lisboa.pt/site/wp-content/themes/appacdm2024/fonts/work-sans-v19-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* work-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 600;
  src: url('https://appacdm-lisboa.pt/site/wp-content/themes/appacdm2024/fonts/work-sans-v19-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* work-sans-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Work Sans';
  font-style: italic;
  font-weight: 600;
  src: url('https://appacdm-lisboa.pt/site/wp-content/themes/appacdm2024/fonts/work-sans-v19-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* work-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 700;
  src: url('https://appacdm-lisboa.pt/site/wp-content/themes/appacdm2024/fonts/work-sans-v19-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* work-sans-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Work Sans';
  font-style: italic;
  font-weight: 700;
  src: url('https://appacdm-lisboa.pt/site/wp-content/themes/appacdm2024/fonts/work-sans-v19-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* work-sans-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 800;
  src: url('https://appacdm-lisboa.pt/site/wp-content/themes/appacdm2024/fonts/work-sans-v19-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* work-sans-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Work Sans';
  font-style: italic;
  font-weight: 800;
  src: url('https://appacdm-lisboa.pt/site/wp-content/themes/appacdm2024/fonts/work-sans-v19-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* archivo-narrow-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Archivo Narrow';
  font-style: normal;
  font-weight: 400;
  src: url('https://appacdm-lisboa.pt/site/wp-content/themes/appacdm2024/fonts/archivo-narrow-v30-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* archivo-narrow-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Archivo Narrow';
  font-style: normal;
  font-weight: 500;
  src: url('https://appacdm-lisboa.pt/site/wp-content/themes/appacdm2024/fonts/archivo-narrow-v30-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

.capas-boletim p,
.capas-boletim ul.dlm-downloads > li > p {
		font-family: 'Archivo Narrow', sans-serif;
		text-align: center;
    line-height: 1.2em;
    font-size: 0.75em;
		margin-top: 15px;
}

/* Utilidades */
.no-margin-bottom {
    margin-bottom: 0 !important;
}
.margin-top {
    margin-top: 20px;
}
.margin-bottom {
    margin-bottom: 10px;
}
.center-text {
	text-align: center;
}
.logout {
	background-color: #bfd4e2;
	margin-top: 20px;
}

.button.logout:hover {
	background-color: #b4c9d6;
}

li.button.logout {
    border-radius: 5px;
}

/* Footer */

.certifica {
	padding: 0 0 20px;
}

.credit-widget-left {
	text-align: left;
}

.credit-widget-right {
	text-align: left;
}

@media (max-width: 767px) {

	.credit-widget-right {
		text-align: center;
		margin-top: 40px;
	}
	.credit-widget-left {
	text-align: center;
	}
}

/* widget BNS Featured Category */

.bnsfc_destaque	{
	background-color: #d2f0f3;
	background-color: #cef;
	background-color: #d3deed;
	padding: 15px 15px 0;
}

#bnsfc_destaque_titulo	{
	color: #006699;
/*	text-transform: uppercase; */
	font-weight: bold;
	margin-bottom: 8px;
}

#bnsfc_destaque_titulo a	{
	color: #006699;
	text-decoration: none;
}

@media (max-width: 767px) {

	#frontpage-widgets .footer-widget-1, #frontpage-widgets .footer-widget-2, #frontpage-widgets .footer-widget-3 { text-align: center; }
}

/* Forms */

input.referer-page {
    display: none;
}

select {
  font-family: inherit;
}

span.wpcf7-list-item {
	display: block;
}

[data-class="wpcf7cf_group"] {
	margin-bottom: 1.5em;
}

#responsive-form {
	max-width:800px /*-- change this to get your desired form width --*/;
	margin:0 auto;
	width:100%;
}

.form-row {
	width: 100%;
}

.form-row > .grid-50.tablet-100.mobile-100, .form-row > .grid-100 {
	padding: 0.65rem;

}

#responsive-form > span > input, .wpcf7-text::placeholder, select.wpcf7-select > option {
	font-family: Lato;
}

#responsive-form p {
	margin-bottom: 1em;
}

#responsive-form {
	line-height: 2.5em;
}

#responsive-form span.wpcf7-list-item {
	line-height: 1.5em;
}

#responsive-form > div:nth-child(5) > div > span > span > span > input[type="checkbox"] {
	margin-right: 0.5em;
}

#responsive-form > div:nth-child(5) > div > div > input {
	margin-left:20px;
}

.column-half, .column-full {
	float: left;
	position: relative;
	padding: 0.65rem;
	width:100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box
}

input.wpcf7-submit {
    border-radius: 4px;
    font-weight: 400;
}

span.wpcf7-list-item {
	margin-left: 0;
	font-size: 0.85em;
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], textarea, select {
    border-radius: 4px;
}

/*-----------------------------
Making WordPress Contact Form 7 Plugin form responsive and full width with CSS customization
Add this code snippet to your WordPress theme's style.css file.
http://www.zeeronsolutions.com/how-to-make-contact-form-7-plugin-fields-responsive-full-width/
-------------------------------*/
div.wpcf7 .wpcf7-form-control {
	max-width: 100%;
}


/* Make Contact Form 7 Select Dropdown field responsive & full width */
.wpcf7 select {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin: 0;
    padding: 4px;
    text-indent: 0px;
    width: 100%;
    z-index: 100;
}
/* Make Contact Form 7 text field full width & responsive */
.wpcf7-text {
	width: 100%;
}

/* Badge */

.appacdm-badge,.appacdm-tag {
	background-color: #000;
	color: #fff;
	display: inline-block;
	padding-left: 4px;
	padding-right: 4px;
	text-align: center;
	font-size: 12px;
	line-height: 1.25em;
	vertical-align: super;
}

.appacdm-badge {
	border-radius: 5px;
}

.appacdm-light-green,.appacdm-hover-light-green:hover {
	color: #000!important;
	background-color: #8bc34a!important;
}

/* Parceiros */
img.logos-parceiros,
.logos-parceiros {
	aspect-ratio: 4/3;
}

/* Scriptless Social Sharing */
.scriptlesssocialsharing {
    margin: 40px auto;
}
