/**
Theme Name: O Meu Baú da Justiça Child
Author: O Meu Baú da Justiça
Description: Website O Meu Baú da Justiça
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/



/********** Custom CSS START **********/



/***** Header CSS *****/



/* Header Menu Hover Effect */
.uael-nav-menu.uael-pointer__underline .menu-item.parent a.uael-menu-item:after,
.uael-nav-menu.uael-pointer__underline .menu-item.parent a.uael-menu-item:before {
	height: 2px;
}


/* Header Off Canvas Content Title */
.custom_account_menu .uael-offcanvas-content .uael-offcanvas-action-wrap:before {
	content: 'Minha Conta';
	position: absolute;
	top: 18px;
	left: 25px;
	right: auto;
	display: inline-block;
	font-size: 18px;
	font-weight: 700;
    font-family: 'Libre Caslon Text', serif;
}


/* Header Off Canvas Menu Container */
.custom_account_menu .uael-offcanvas-content .uael-offcanvas-text {
	margin-top: 10px;
}


/* Header Off Canvas Menu Item Containers */
.uael-offcanvas-menu .menu-item:not(:last-child) {
	border-bottom: 1px solid rgba(56,65,79,0.4);
}


/* Header Off Canvas Menu Item Links */
.uael-offcanvas-menu .menu-item a:not([href]) {
	pointer-events: none;
}


/* Header Off Canvas Submenu List Container */
.uael-offcanvas-content .uael-offcanvas-menu ul.sub-menu {
	margin-left: 1em;
}


/* Header Off Canvas Toggle Container */
#masthead .uael-offcanvas-action-wrap {
	line-height: 1;
}


/* Header Off Canvas Close Button Icon */
.uael-offcanvas-close-icon-wrapper .uael-offcanvas-close-icon:before {
	content: "\e5cd";
	font-size: 26px;
    font-family: Astra;
}

.uael-offcanvas-close-icon-wrapper .uael-offcanvas-close:hover .uael-offcanvas-close-icon:before {
	color: var(--ast-global-color-1);
}

.uael-offcanvas-close-icon-wrapper .uael-offcanvas-close-icon svg {
	display: none;
}


/* Mobile Menu Toggle Button */
[data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-minimal:focus,
.ast-mobile-popup-drawer.active .menu-toggle-close:focus {
	border-style: none!important;
}


/* Mobile Menu Toggle Button Icon */
.custom_header_menu .uael-offcanvas-action-wrap .uael-offcanvas-action .uael-offcanvas-icon:before {
	content: "\e5d2";
	color: #ffffff;
	font-size: 32px;
    font-family: Astra;
	position: absolute;
}

.custom_header_menu .uael-offcanvas-action-wrap .uael-offcanvas-action .uael-offcanvas-icon svg {
	opacity: 0;
}


/* Mobile Menu Content Logo */
.custom_header_menu .uael-offcanvas-content:before {
	content: '';
	position: absolute;
    top: 12px;
    left: 18px;
    background: url(/wp-content/uploads/2024/11/mobile_menu_logo_v2.svg);
    background-repeat: no-repeat;
    width: 190px;
    height: 55px;
    display: block;
}



/***** Home CSS *****/



/* Home Document Page Loop Item Content Containers */
.home_doc_page_loop .elementor-loop-container .e-loop-item .e-con {
	padding-left: 0;
	padding-right: 0;
}



/***** Content CSS *****/



/* Page Content Containers */
@media (max-width: 921px) {
    body.ast-left-sidebar #primary,
	body.ast-right-sidebar #primary,
	body.ast-separate-container.ast-right-sidebar #primary,
	body.ast-separate-container.ast-left-sidebar #primary,
	body.ast-separate-container #primary,
	body.ast-narrow-container #primary,
	body.ast-separate-container.ast-right-sidebar #secondary {
        padding-left: 1em;
		padding-right: 1em;
    }
}


/* Page Content Links */
a:focus {
	outline: none!important;
}


/* Page Content Buttons */
.elementor-button-wrapper .elementor-button .elementor-button-content-wrapper {
	align-items: center;
}


/* Page Content Button Icons */
.elementor-button-wrapper .elementor-button .elementor-button-icon svg.e-font-icon-svg {
	width: 1.15em;
    height: 1.15em;
}


/* Page Content Inputs */
.site-content input[type="text"]:focus,
.site-content input[type="email"]:focus,
.site-content input[type="url"]:focus,
.site-content input[type="password"]:focus,
.site-content input[type="reset"]:focus,
.site-content input[type="search"]:focus,
.site-content input[type="number"]:focus,
.site-content textarea:focus,
.site-content .wp-block-search__input:focus {
	border-style: solid;
}


/* Page Content Input Placeholders */
input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="url"]::placeholder,
input[type="password"]::placeholder,
input[type="reset"]::placeholder,
input[type="search"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder {
	color: inherit;
}


/* DearFlip Control Buttons (Unused) */
.df-ui .df-ui-btn.df-ui-fullscreen {
	border-radius: 0 5px 5px 0;
}

.df-ui .df-ui-btn.df-ui-share,
.df-ui .df-ui-btn.df-ui-more {
	display: none!important;
}


/* Elementor Swiper Navigation Buttons */
@media (min-width: 768px) {
	.elementor-widget-loop-grid .elementor-swiper-button.swiper-button-disabled {
		opacity: 0!important;
        visibility: hidden;
	}
}


/* Elementor Loop Grid Container */
@media (max-width: 991px) {
	.elementor-widget-loop-grid .elementor-loop-container.elementor-grid {
		display: flex;
    	flex-direction: column;
	}
}


/* Elementor Pagination Buttons */
.elementor-pagination * {
	text-decoration: none!important;
}

.elementor-pagination .page-numbers:not(.dots) {
	display: inline-block;
    color: #ffffff;
    width: 35px;
    height: 35px;
	font-weight: 500;
    line-height: 35px;
    background-color: var(--ast-global-color-0);
	vertical-align: middle;
	margin-bottom: 5px;
}

.elementor-pagination .page-numbers.current,
.elementor-pagination .page-numbers:not(.dots):hover {
    color: #ffffff;
    background-color: var(--ast-global-color-1);
}

@media (max-width: 767px) {
	.elementor-pagination .page-numbers:not(.dots) {
    	width: 32px;
    	height: 32px;
		line-height: 32px;
	}
}


/* Elementor Pagination Button Icons */
.elementor-pagination .page-numbers.prev:before,
.elementor-pagination .page-numbers.next:before {
    content: '';
    display: block;
	width: 100%;
	height: 100%;
	background-size: auto 15px;
	background-position: center;
	background-repeat: no-repeat;
}

.elementor-pagination .page-numbers.prev:before {
    background-image: url(/wp-content/themes/astra-child/icons/nav_icon_white_left.svg);
}

.elementor-pagination .page-numbers.next:before {
    background-image: url(/wp-content/themes/astra-child/icons/nav_icon_white_right.svg);
}



/***** Content Custom Classes CSS *****/



.elementor-widget-heading.custom_remove_margins .elementor-heading-title {
	margin: 0!important;
}



/***** Blog Page CSS *****/



/* Blog Item Containers */
@media (max-width: 544px) {
    .ast-separate-container .ast-grid-sm-1 article.ast-article-post.ast-separate-posts {
        padding: 1em;
    }
}


/* Blog Item Image Container */
.entry-header+div.ast-blog-featured-section {
	margin-bottom: 0.5em;
}

.ast-article-post.remove-featured-img-padding .blog-layout-4 .post-content .ast-blog-featured-section div.post-thumb-img-content {
	margin-left: 0;
    margin-right: 0;
}


/* Blog Pagination Buttons */
.ast-pagination-square .ast-pagination .page-numbers:not(.dots) {
	color: #ffffff;
	background-color: var(--ast-global-color-0);
	border-color: var(--ast-global-color-0);
}

.ast-pagination-square .ast-pagination .page-numbers:not(.dots):not(.prev):not(.next) {
	margin-left: 2px;
    margin-right: 2px;
}

.ast-pagination-square .ast-pagination .page-numbers.current,
.ast-pagination-square .ast-pagination .page-numbers:not(.dots):focus,
.ast-pagination-square .ast-pagination .page-numbers:not(.dots):hover {
	color: #ffffff;
	background-color: var(--ast-global-color-1);
	border-color: var(--ast-global-color-1);
}

.ast-pagination-square .ast-pagination .prev.page-numbers,
.ast-pagination-square .ast-pagination .next.page-numbers {
	padding-left: 1em;
    padding-right: 1em;
}

.ast-pagination-square .ast-pagination .page-numbers.dots {
	color: var(--ast-global-color-0);
    width: auto;
    background-color: transparent;
    border: none;
}

@media (max-width: 767px) {
	.ast-pagination-square .ast-pagination {
		padding-top: 1em;
        padding-bottom: 1em;
	}
	.ast-pagination-square .ast-pagination .page-numbers:not(.dots) {
		margin-left: 2px;
    	margin-right: 2px;
	}
	.ast-pagination-square .ast-pagination .page-numbers {
		width: 32px;
		height: 32px;
		line-height: 32px;
		vertical-align: middle;
	}
	.ast-pagination-square .ast-pagination .prev.page-numbers,
	.ast-pagination-square .ast-pagination .next.page-numbers {
		font-size: 0;
        width: 32px;
		float: none;
        margin-top: 0;
        margin-bottom: 0;
	}
}


/* Blog Pagination Button Icons */
.ast-pagination-square .ast-pagination .ast-left-arrow,
.ast-pagination-square .ast-pagination .ast-right-arrow {
    display: inline-block;
    font-size: 0;
    line-height: 0;
    width: 12px;
    height: 100%;
    vertical-align: top;
}

.ast-pagination-square .ast-pagination .ast-left-arrow:before,
.ast-pagination-square .ast-pagination .ast-right-arrow:before {
    content: '';
    display: block;
	width: 100%;
	height: 100%;
	background-size: auto 15px;
	background-position: center;
	background-repeat: no-repeat;
}

.ast-pagination-square .ast-pagination .ast-left-arrow:before,
.ast-pagination-square .ast-pagination .ast-right-arrow:before {
    content: '';
    display: block;
	width: 100%;
	height: 100%;
	background-size: auto 15px;
	background-position: center;
	background-repeat: no-repeat;
}

.ast-pagination-square .ast-pagination .ast-left-arrow:before {
    background-image: url(/wp-content/themes/astra-child/icons/nav_icon_white_left.svg);
}

.ast-pagination-square .ast-pagination .ast-right-arrow:before {
    background-image: url(/wp-content/themes/astra-child/icons/nav_icon_white_right.svg);
}



/***** Blog Single Page CSS *****/



/* Blog Single Page Share Title */
@media (max-width: 767px) {
	div.ast-post-social-sharing .ast-social-sharing-heading {
		margin-bottom: 0;
	}
}


/* Blog Single Page Share Links */
div.ast-post-social-sharing .ast-social-inner-wrap a.ast-social-icon-a,
div.ast-author-box-sharing .ast-social-inner-wrap a.ast-social-icon-a {
	margin-left: 5px;
	margin-right: 5px;
}

div.ast-post-social-sharing .ast-social-inner-wrap a.ast-social-icon-a:first-child,
div.ast-author-box-sharing .ast-social-inner-wrap a.ast-social-icon-a:first-child {
	margin-left: 0;
}

div.ast-post-social-sharing .ast-social-inner-wrap a.ast-social-icon-a:last-child,
div.ast-author-box-sharing .ast-social-inner-wrap a.ast-social-icon-a:last-child {
	margin-right: 0;
}


/* Blog Single Page Share Icons */
div.ast-post-social-sharing .ast-social-element svg,
div.ast-author-box-sharing .ast-social-element svg {
	fill: var(--ast-global-color-0);
}

div.ast-post-social-sharing .ast-social-icon-a:hover .ast-social-element svg,
div.ast-author-box-sharing .ast-social-icon-a:hover .ast-social-element svg {
	fill: var(--ast-global-color-1);
}


/* Blog Single Page Return Button Container */
.single .custom_return_button_container {
	margin-top: 30px;
}



/***** Comment Form CSS *****/



/* Comment Form Title */
.comments-area .comments-title {
	margin-bottom: 0;
}


/* Comment Form User Container */
div.ast-comment-cite-wrap {
	margin-left: 0!important;
}


/* Comment Form Text Content Container */
.comments-area section.ast-comment-content.comment {
	padding-left: 0;
}


/* Comment Form Input Containers */
div.comments-area .comment-form-comment,
div.comments-area .comment-notes,
div.comments-area .comment-textarea,
div.comments-area .form-allowed-tags {
	margin-bottom: 1em;
}


/* Comment Form Input Labels */
.comments-area .comment-form-comment label,
.comments-area .comment-form-file-upload label {
	display: block;
	margin-bottom: 5px;
}


/* Comment Form File Input */
.comments-area .comment-form-file-upload input[type="file"] {
	font-size: 13px;
    line-height: 1;
	margin: 5px 0;
}


/* Comment Form File Input Text Container */
.comments-area .comment-form-file-upload:after {
	content: 'Ficheiros permitidos: jpeg, jpg, png, pdf (Limite: 3 MB)';
    display: block;
    font-size: 80%;
}


/* Comment Item Containers */
.comments-area .ast-comment {
	padding-top: 1.5em;
    padding-bottom: 1.5em;
}


/* Comment Item Meta Container */
.ast-comment-meta.ast-row {
	padding-left: 0;
    padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}


/* Comment Item Timedate Container */
.ast-comment .ast-comment-time a {
	color: var(--ast-global-color-1);
	font-weight: 600;
}


/* Comment Item File Button Container */
.ast-comment .custom_comment_file_meta {
	margin-bottom: 1em;
}


/* Comment Item File Buttons */
.ast-comment .custom_comment_file_meta .custom_comment_file_button {
	display: inline-block;
	font-size: 14px;
    color: #ffffff;
    background-color: var(--ast-global-color-0);
	line-height: 1;
    padding: 8px;
}

.ast-comment .custom_comment_file_meta .custom_comment_file_button:hover {
	background-color: var(--ast-global-color-1);
}


/* Comment Form Buttons */
.ast-comment a.comment-edit-link,
.ast-comment a.comment-reply-link {
	color: var(--ast-global-color-1);
	background-color: transparent!important;
	text-decoration: none!important;
	padding: 0;
}

.ast-comment a.comment-reply-login {
	color: var(--ast-global-color-1);
	font-size: 13px;
}

.ast-comment a.comment-edit-link:hover,
.ast-comment a.comment-reply-link:hover,
.ast-comment a.comment-reply-login:hover {
	color: var(--ast-global-color-1);
	text-decoration: underline!important;
}

.logged-in .ast-comment span.ast-reply-link {
	margin-right: 20px;
}


/* Comment Form Cancel Reply Button */
.comment .comment-reply-title #cancel-comment-reply-link {
	font-weight: 500;
	font-family: 'Montserrat', sans-serif;
}


/* Comment Form Login Text Container */
.must-log-in:last-child {
	margin-bottom: 0;
}


/* Comment Form Login Link */
.must-log-in a {
	color: var(--ast-global-color-1);
}

.must-log-in a:hover {
	text-decoration: underline;
}


/* Comment Navigation Container */
.comment-navigation .nav-links {
	padding-left: 2.5em;
	padding-right: 2.5em;
}

@media (max-width: 921px) {
	.comment-navigation .nav-links {
		padding-left: 2.14em;
		padding-right: 2.14em;
	}
}

@media (min-width: 350px) {
	.comment-navigation .nav-links {
		display: flex;
        justify-content: space-between;
		gap: 20px;
	}
}

@media (max-width: 544px) {
	.comment-navigation .nav-links {
		padding-left: 1em;
		padding-right: 1em;
	}
}


/* Comment Navigation Button Containers */
@media (max-width: 544px) {
	.comment-navigation .nav-links .nav-previous,
	.post-navigation .nav-links .nav-previous,
	.posts-navigation .nav-links .nav-previous,
	.comment-navigation .nav-links .nav-next,
	.post-navigation .nav-links .nav-next,
	.posts-navigation .nav-links .nav-next {
		text-align: center;
	}
	.comment-navigation .nav-links .nav-previous:not(:last-child),
	.post-navigation .nav-links .nav-previous:not(:last-child),
	.posts-navigation .nav-links .nav-previous:not(:last-child),
	.comment-navigation .nav-links .nav-next:not(:last-child),
	.post-navigation .nav-links .nav-next:not(:last-child),
	.posts-navigation .nav-links .nav-next:not(:last-child) {
		margin-bottom: 15px;
	}
}


/* Comment Navigation Buttons */
.comment-navigation .nav-links .nav-previous a,
.post-navigation .nav-links .nav-previous a,
.posts-navigation .nav-links .nav-previous a,
.comment-navigation .nav-links .nav-next a,
.post-navigation .nav-links .nav-next a,
.posts-navigation .nav-links .nav-next a {
	display: inline-block;
    color: #ffffff;
	font-size: 15px;
    line-height: 1;
    background-color: var(--ast-global-color-1);
    padding: 12px;
}

.comment-navigation .nav-links .nav-previous a:hover,
.post-navigation .nav-links .nav-previous a:hover,
.posts-navigation .nav-links .nav-previous a:hover,
.comment-navigation .nav-links .nav-next a:hover,
.post-navigation .nav-links .nav-next a:hover,
.posts-navigation .nav-links .nav-next a:hover {
	color: #ffffff;
	background-color: var(--ast-global-color-0);
}

@media (max-width: 544px) {
	.comment-navigation .nav-links .nav-previous a,
	.post-navigation .nav-links .nav-previous a,
	.posts-navigation .nav-links .nav-previous a,
	.comment-navigation .nav-links .nav-next a,
	.post-navigation .nav-links .nav-next a,
	.posts-navigation .nav-links .nav-next a {
		font-size: 14px;
	}
}


/* Comment Navigation Button Icons */
.comment-navigation .nav-links .nav-previous:after,
.post-navigation .nav-links .nav-previous:after,
.posts-navigation .nav-links .nav-previous:after,
.comment-navigation .nav-links .nav-next:after,
.post-navigation .nav-links .nav-next:after,
.posts-navigation .nav-links .nav-next:after {
	display: none;
}



/***** Login Form and Register Form CSS *****/



/* Login Form Footer Container */
.uael-login-form .uael-login-form-footer {
	margin-top: 10px!important;
}


/* Login Form Footer Link */
.uael-login-form .uael-login-form-footer .uael-login-form-footer-link {
	font-size: 13px;
}


/* Login Form Submit Button Container */
.uael-login-form .elementor-field-type-submit {
	order: +1;
}


/* Register Form Submit Button Container */
div.uael-registration-form .elementor-field-group.elementor-field-type-submit {
	margin-left: auto!important;
    margin-right: auto!important;
}


/* Form Captcha Container */
.elementor-field-group.elementor-field-type-recaptcha_v3 {
	padding: 0!important;
}



/***** Recover Password Form CSS *****/



/* Recover Password Form Container */
#resetpasswordform {
	max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}


/* Recover Password Form Input Container */
#lostpasswordform fieldset,
#resetpasswordform fieldset {
    border: 0;
    padding: 0;
}


/* Recover Password Form Title */
#lostpasswordform fieldset legend,
#resetpasswordform fieldset legend {
	display: none;
}


/* Recover Password Form Inputs */
#lostpasswordform input[type=email],
#lostpasswordform input[type=number],
#lostpasswordform input[type=password],
#lostpasswordform input[type=search],
#lostpasswordform input[type=tel],
#lostpasswordform input[type=text],
#lostpasswordform input[type=url],
#lostpasswordform textarea,
#resetpasswordform input[type=email],
#resetpasswordform input[type=number],
#resetpasswordform input[type=password],
#resetpasswordform input[type=search],
#resetpasswordform input[type=tel],
#resetpasswordform input[type=text],
#resetpasswordform input[type=url],
#resetpasswordform textarea {
	font-weight: 500;
	border: none;
	border-bottom: 1px solid rgba(56,65,79,0.4);
	border-radius: 0;
	box-shadow: none;
	padding-left: 12px;
	padding-right: 12px;
}


/* Recover Password Form Submit Button Container */
#lostpasswordform .lostpassword-submit,
#resetpasswordform .lostpassword-submit {
	text-align: center;
	margin-top: 30px;
    margin-bottom: 0;
}



/***** Search Page CSS *****/



/* Search Page Title Section Container */
.search section.ast-archive-description {
	padding: 1.5em;
}



/***** Sidebar CSS *****/



/* Sidebar Widget Containers */
.sidebar-main .widget {
	background-color: #ffffff;
	padding: 25px;
}


/* Sidebar Widget Background Container */
.sidebar-main .widget.custom_background_color {
	background-color: var(--ast-global-color-0);
}


/* Sidebar Widget Titles */
.sidebar-main .widget.custom_background_color .widget-title {
	color: #ffffff;
	text-align: center;
}

.sidebar-main .widget.sidebar_cta_widget .widget-title {
	text-align: center;
}


/* Sidebar Search Input */
.widget.widget_search .search-form .search-field {
	font-weight: 500;
	border: none;
	border-bottom: 1px solid rgba(56,65,79,0.4);
    background: transparent;
    box-shadow: none;
	padding: 10px 40px 10px 10px;
}


/* Sidebar Search Submit Button */
.widget.widget_search .search-form input[type=submit],
.widget.widget_search .search-form input[type=submit]:focus,
.widget.widget_search .search-form input[type=submit]:hover {
	max-width: 40px;
	padding: 12px 15px;
}

.widget.widget_search .search-form input[type=submit],
.widget_search .search-form button {
	box-shadow: none;
}


/* Sidebar Search Submit Button Icon */
.widget.widget_search .search-form button {
	right: 10px;
}

.widget.widget_search .search-form i,
.widget.widget_search .search-form:after {
	color: var(--ast-global-color-1);
}


/* Recent Posts Widget Image Containers */
.widget[id*='recent-posts-widget-with-thumbnails'] ul li img{
	height: auto!important;
	max-width: 90px!important;
}


/* Recent Posts Widget Titles */
.recent-posts-widget-with-thumbnails .rpwwt-post-title {
	display: -webkit-box;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4em;
	max-height: 4.2em;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


/* Recent Posts Widget Date Containers */
.recent-posts-widget-with-thumbnails .rpwwt-post-date {
	font-size: 13px;
	font-weight: 600;
	color: var(--ast-global-color-1);
}



/***** Blog Single Page CSS *****/



/* Blog Single Page Featured Image */
.single-post .ast-article-single img {
	box-shadow: none;
}



/***** Contact Page CSS *****/



/* Contact Form Inputs */
.wpcf7 input[type="text"],
.wpcf7 input[type="number"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="password"],
.wpcf7 input[type="search"],
.wpcf7 input[type=tel],
.wpcf7 input[type=date],
.wpcf7 textarea {
	box-shadow: none;
}


/* Contact Form Checkbox Container */
.wpcf7 .contact_form_checkbox_container {
	margin-bottom: 10px;
}

.uael-cf7-style .wpcf7 span.wpcf7-list-item {
	margin-right: 0;
}


/* Contact Form Label Container */
.wpcf7 .wpcf7-list-item-label {
	color: var(--ast-global-color-3);
}


/* Contact Form Label Links */
.wpcf7 .wpcf7-list-item-label a:not(:hover),
.contact_form_recaptcha_text a:not(:hover) {
	color: inherit;
}


/* Contact Form Checkbox Input */
.uael-cf7-style .wpcf7-form-control.wpcf7-acceptance input[type=checkbox]+span:before {
	margin-bottom: 2px;
}


/* Contact Form Submit Loader */
.wpcf7 .wpcf7-spinner {
	display: none;
}


/* Contact Form Message Container */
.wpcf7 .wpcf7-response-output {
    background: #8bc34a!important;
    border: 2px solid #8bc34a!important;
    font-weight: 500!important;
    color: #ffffff!important;
    text-align: center;
    padding: 0.5em 1em!important;
    margin-top: 0!important;
    margin-left: 0!important;
    margin-right: 0!important;
}



/***** USP Form CSS *****/



/* USP Form Input Containers */
div.usp-pro .usp-fieldset:not(:last-of-type),
div.usp-pro fieldset:not(:last-of-type) {
	margin-bottom: 16px;
}

div.usp-pro .usp-fieldset:last-of-type,
div.usp-pro fieldset:last-of-type {
	margin-bottom: 0;
}

div.usp-pro .usp-files {
	margin-bottom: 0;
}


/* USP Form Inputs */
div.usp-pro .usp-input:not(.usp-input-files),
div.usp-pro .usp-textarea,
div.usp-pro textarea {
	border: none;
    border-bottom: 1px solid rgba(56,65,79,0.4);
    border-radius: 0;
    box-shadow: none;
	padding-left: 12px;
    padding-right: 12px;
}


/* USP Form Input Labels */
.usp-pro .usp-label:not([for="usp-file-single"]):not([for="usp-agree"]) {
	display: none;
}


/* USP Form File Input Label */
.usp-pro .usp-files .usp-label {
	margin-bottom: 10px;
}


/* USP Form File Input Text Container */
.usp-pro .usp-files:after {
	content: 'Ficheiros permitidos: jpeg, jpg, png (Limite: 3 MB)';
	display: block;
	font-size: 80%;
}


/* USP Form Terms Toggle Container */
.usp-pro .usp-agree-toggle,
.usp-pro .usp-agree-terms {
	display: none;
}


/* USP Form Checkbox Input Container */
div.usp-pro .usp-agree {
	margin: 0;
}


/* USP Form Checkbox Input */
.usp-pro .usp-input-agree {
	margin-right: 3px;
}


/* USP Form Checkbox Label Container */
.usp-pro .usp-label-agree {
	color: var(--ast-global-color-3);
	font-weight: 500;
}


/* USP Form Submit Button */
div.usp-pro .usp-submit {
	margin-bottom: 0;
}


/* USP Form Message Container */
.usp-pro-form .usp-success {
	background: #8bc34a!important;
    border: 2px solid #8bc34a!important;
    font-weight: 500!important;
    color: #ffffff!important;
    text-align: center;
    padding: 0.5em 1em!important;
    margin-top: 0!important;
    margin-left: 0!important;
    margin-right: 0!important;
}



/***** Popup CSS *****/



/* Popup Title */
.pum-title {
	font-family: 'Libre Caslon Text', serif!important;
    padding-bottom: 20px;
	padding-right: 40px;
}

@media (max-width: 767px) and (min-width:480px) {
  	.pum-title {
    	font-size: 28px!important;
	}
}

@media (max-width: 479px) {
  	.pum-title {
    	font-size: 21px!important;
		line-height: 28px!important;
		padding-right: 30px;
	}
}


/* Top Popup Close Button */
.top_popup_close_button {
    position: absolute;
	top: 0;
	right: 0;
	margin-top: -85px;
	margin-right: -12px;
	font-weight: 300;
	font-family: "Raleway", Sans-serif;
	color: #777777!important;
    background: none!important;
	box-shadow: none!important;
    font-size: 26px;
	line-height: normal;
    padding: 6px 12px;
	border: none;
	transition: all 0.3s ease-in;
	outline: none!important;
}

.top_popup_close_button:hover {
	color: var(--ast-global-color-1)!important;
}

@media (max-width: 480px) {
  .top_popup_close_button {
		padding: 8px;
		margin-top: -68px;
		margin-right: -8px;
		font-size: 22px;
	}
}


/* Popup Close Button */
.pum-theme-enterprise-blue .pum-container .pum-content+.pum-close {
	width: auto;
    padding: 0 15px;
	transition: all 0.3s ease-in;
}

.pum-theme-enterprise-blue .pum-container .pum-content+.pum-close:hover {
    background: var(--ast-global-color-1);
	color: #ffffff;
	border-color: var(--ast-global-color-1);
}


/* Popup Content */
.pum-theme-enterprise-blue .pum-container .pum-content {
	padding-bottom: 70px;
	text-align: justify;
}

.pum-content:focus {
	outline: none;
}


/* Popup Content Paragraphs */
.pum-container .pum-content p:not(:last-child) {
	margin-bottom: 15px;
}


/* Popup Content Extra Paragraph */
.pum-container .wpcf7 + p {
    display: none;
}


/* Popup HTML Body Padding Fix */
html.pum-open.pum-open-overlay.pum-open-scrollable body>[aria-hidden] {
    padding-right: 0;
}



/**** Bootstrap Animation CSS ****/



/* FadeInDown Animation */
@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translate3d(0,-100%,0);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translate3d(0,-100%,0);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

.fadeInDown {
    animation-name: fadeInDown;
}


/* FadeOutUp Animation */
@-webkit-keyframes fadeOutUp {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }
}

@keyframes fadeOutUp {
    0% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
        -ms-transform: translateY(-20px);
        transform: translateY(-20px);
    }
}

.fadeOutUp {
    -webkit-animation-name: fadeOutUp;
    animation-name: fadeOutUp;
}



/***** 404 Page CSS *****/



/* 404 Page Container */
.error404 .site-content {
	display: flex;
    align-items: center;
}


/* 404 Page Content Container */
.ast-separate-container section.error-404 {
	background-color: transparent;
}

.ast-separate-container div.ast-404-layout-1 {
	padding-left: 0;
    padding-right: 0;
}


/* 404 Page Subtitle */
.error-404 .page-sub-title {
	font-size: 16px;
    font-weight: 500;
	font-family: 'Montserrat', sans-serif;
}


/* 404 Page Button Container */
.error-404 .custom_404_button_container {
	margin-top: 30px;
}



/***** Cookie Notification CSS *****/



/* Cookie Notification Visuals */
#cookie-law-info-bar {
    box-shadow: none;
    width: 100%;
    position: fixed;
    left: 0;
    font-size: 13px;
	font-weight: 500;
    line-height: 20px;
    padding: 6px 20px;
    color: #fff!important;
    background-color: rgba(47,51,50,.8)!important;
    text-transform: uppercase;
}

@media (max-width: 839px) {
    #cookie-law-info-bar {
        padding-top: 20px!important;
    }
}


/* Cookie Notification Buttons */
.cli-switch input:checked+.cli-slider,
.cli-tab-footer .wt-cli-privacy-accept-btn {
    background-color: #38414f!important;
}

#cookie-law-info-bar a {
    transition: all 0.5s ease;
    text-decoration: none;
    font-weight: 600;
    text-transform: none;
}

#cookie-law-info-bar #cookie_action_close_header:hover,
#cookie-law-info-bar #wt-cli-accept-all-btn:hover {
    background-color: #b0a47c!important;
    color: #ffffff!important;
}

#cookie-law-info-bar #CONSTANT_OPEN_URL:hover,
#cookie-law-info-bar a.cli_settings_button:hover,
#cookie-law-info-bar #cookie_action_close_header_reject:hover {
	background-color: #38414f!important;
    color: #ffffff!important;
}

@media (max-width: 839px) {
    #cookie-law-info-bar a {
        margin-top: 20px!important;
    }
}

@media (max-width: 479px) {
    #cookie-law-info-bar a {
        display: block;
        margin-top: 10px!important;
        margin-left: 0!important;
        margin-right: 0!important;
    }
    #cookie-law-info-bar a:first-of-type {
        margin-top: 20px!important;
    }
    #cookie-law-info-bar a:last-child {
        margin-bottom: 15px!important;
    }
}


/* Cookie Notification OK Button */
#cookie-law-info-bar #cookie_action_close_header:hover {
    background-color: #b0a47c!important;
    color: #ffffff!important;
}


/* Cookie Notification SAIBA MAIS Button */
#cookie-law-info-bar #CONSTANT_OPEN_URL:hover {
    background-color: #38414f!important;
    color: #ffffff!important;
}


/* Cookie Notification Responsive */
.cookie_action_close_header {
    margin: 2px 2px 2px 15%!important;
}

@media (max-width: 1095px) and (min-width: 900px) {
    .cookie_action_close_header {
        margin: 2px 2px 2px 10%!important;
    }
}

@media (max-width: 899px) and (min-width: 840px) {
    .cookie_action_close_header {
        margin: 2px 2px 2px 5%!important;
    }
}

@media (max-width: 839px) {
    .cookie_action_close_header {
        margin: 2px!important;
    }
}


/* Cookie Notification Responsive Break */
.cookie_break_hide {
    display: block;
}

@media (min-width: 839px) {
    .cookie_break_hide {
        display: none;
    }
}



/***** Recaptcha CSS *****/



/* Recaptcha Element */
.grecaptcha-badge {
	visibility: hidden;
}



/********** Custom CSS END **********/
